00:07.18 | jonpry | no i don't use android because of poor battery life :( |
00:09.22 | jonpry | is it good? |
00:35.13 | *** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring) |
00:39.24 | jonpry | need to figure out what you did to pm.c :p |
00:39.57 | jonpry | detule, did you read what i found out about [wcdma]? |
00:48.08 | detule | sorry must've missed it |
00:48.51 | detule | i made pm.c better :) |
00:49.26 | detule | 3.3 is good just put staging/android back in there |
00:52.07 | jonpry | so i disassembled rilphone.dll |
00:52.30 | jonpry | and it looks like [WCDMA] is normal and just some kind of radio verbosity |
00:52.53 | jonpry | whatever comes after [WCDMA] is just written to the log file |
00:53.32 | jonpry | so if you turn on the winmo radio logging deal. it should show WAKEUP PDA with similar frequency to fandroid |
00:53.54 | detule | yeah the frequency i would be inerested in |
00:54.10 | detule | anything baout those non-bracketed "WCDMA" crap that's causing the issues |
00:54.32 | jonpry | not that i could tell |
00:54.50 | jonpry | but i wasn't really able to locate the +CLCC response parser |
01:02.39 | detule | the response parser....don't think it's anything wrong with it...it just doesn't reseive a +CLCC prefixed response and timeouts (5 sec) |
01:06.42 | detule | our parser is in xdandroid-ril/atchannel.c readline() |
01:10.38 | jonpry | no the one in rilphone |
01:11.11 | jonpry | we are supposed to ack [WCDMA] though with \r |
01:12.17 | detule | oh, perhaps not ack'ing is making it spew it out over and over again |
01:12.39 | jonpry | could be |
01:12.45 | detule | gotta go inlaws in town |
01:18.06 | *** join/#htc-linux ahigerd (~ahigerd@173.218.156.102) |
01:18.06 | *** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd) |
01:23.15 | *** join/#htc-linux DuperMan (~Duper@109-186-34-60.bb.netvision.net.il) |
02:02.55 | *** join/#htc-linux DuperMan (~Duper@109-186-34-60.bb.netvision.net.il) |
02:04.42 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
02:13.30 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
02:20.56 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
02:28.20 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
02:36.03 | *** join/#htc-linux DuperMan (~Duper@109-186-34-60.bb.netvision.net.il) |
02:48.55 | *** join/#htc-linux detule (~detule@unaffiliated/d3tul3) |
03:30.51 | *** join/#htc-linux polyrhythmic (~polyrhyth@c-71-197-239-27.hsd1.wa.comcast.net) |
03:32.08 | detule | we can get the at channel reader to dump raw intake into the radio log pretty easily |
03:33.12 | detule | jonpry, you have an example from your winmo radio log of a rx/tx pair with [wcdma] perhaps we should code it in |
03:33.51 | ahigerd | checks ongoing logcat | grep WCDMA log |
03:33.58 | detule | not logcat |
03:34.01 | ahigerd | I know |
03:34.09 | ahigerd | But you saying that reminded me to check the logs I was already running |
03:34.16 | jonpry | raw intake can't be trusted |
03:34.18 | ahigerd | I'm on FRX, trying to reproduce the issue |
03:34.35 | ahigerd | And so far so good, the only hits in the log are [WCDMA] WAKEUP lines |
03:34.45 | jonpry | rilphone.dll just sends \r after [WCDMA] |
03:35.07 | detule | k i can put that in |
03:35.38 | jonpry | anyone try that dd of smem? |
03:38.50 | jonpry | i can't find the commit log where i reverted wistilt2's pm.c |
03:41.30 | detule | hm the commit log where i reverted to CA pm.c is in 3.2 |
03:41.31 | detule | 3.1 |
03:41.44 | detule | oh you're looking for wistilt2 |
03:42.33 | jonpry | well he sold me on this new thing that killed my battery |
03:42.43 | jonpry | but before that battery was awesome |
03:42.56 | jonpry | why the move to CA? |
03:43.35 | detule | because i was having issues after we introduced idle....these sequences where using led sleep debugging i would see it wake up from suspend and stay orange for a few minutes |
03:44.09 | detule | nothing useful in dmesg just stood still for more than a minute |
03:44.38 | jonpry | idle was a bad idea |
03:44.52 | jonpry | need to go way back |
03:45.25 | detule | my winmo log is [WCDMA] free |
03:46.06 | detule | why oh why do i get these stupid wcdma prefixed messages |
03:46.26 | jonpry | the winmo log should just show whats after [WCDMA] |
03:49.01 | jonpry | how many of these [WCDMA]'s do you get? |
03:50.28 | detule | sporadic but just now booting android i got 5 in the same minute |
03:50.39 | detule | but in the winmo log none |
03:51.13 | jonpry | with \r? |
03:52.26 | detule | i just greped for WCDMA and saw nothing |
03:53.28 | jonpry | does the ril you just booted android with have the ack for [WCDMA]? |
03:54.11 | detule | no |
03:54.21 | jonpry | and while grepping the winmo log. it won't have [WCDMA]. only WAKEUP PDA or whatever |
03:54.44 | detule | yeah that neither |
03:56.15 | jonpry | hrm |
03:57.07 | jonpry | we're probably going to have to upgrade to this ics android usb |
03:57.28 | jonpry | at some point .39 usb core isn't going to work anymore |
03:58.47 | detule | jonpry, there's some CONFIG_USB_SUSPEND thing we're not setting htat depends on CONFIG_PM_RUNTIME...think we could benefit form that? |
03:59.17 | detule | though it might only be for host mode |
04:01.48 | jonpry | looks like hostmode |
04:31.37 | jonpry | you see the NR_CPU patch on lkml? |
04:36.06 | jonpry | turns all existing bugs into must have features, lol |
04:38.18 | CptAJ | I'm mapping the whitestone keys now and got haret to dump some stuff for the gpios. The other whitestone dev (just as lost as I am XD) told me he found this and to paste it into haret console: http://paste2.org/p/1963464 |
04:38.28 | CptAJ | the output gives something like this: http://paste2.org/p/1963651 |
04:39.28 | CptAJ | those last 4 movements happened when I pressed the back button |
04:39.56 | *** join/#htc-linux hogger (~hogger@cpe-66-27-88-170.san.res.rr.com) |
04:40.01 | CptAJ | Each button seems to cause a reaction on that address (92e00c20) and a different number in parentheses |
04:40.21 | CptAJ | are those the gpio values in parentheses? |
04:42.03 | CptAJ | I'm not even sure where the values came from tbh XD |
04:43.07 | detule | this HTC_DM command we are sending doesn't match up with what's in my winmo log |
04:45.09 | jonpry | 203 sounds plausible |
04:48.04 | CptAJ | I'm getting back,win,media=203, volup=216, voldown=215, send=217, end=194 |
04:49.32 | jonpry | there you go |
04:49.43 | CptAJ | I added it to the board header file and msm-gpio-keys.c (made a struct and added it to the init function too) but they don't work. Did I miss adding them someplace else? |
04:50.31 | jonpry | msm-gpio-keys? iirc this is done in the board file |
04:50.57 | jonpry | maybe that is only in the newer kernels |
04:51.12 | jonpry | your working on .27? |
04:52.33 | CptAJ | yeah |
04:53.29 | CptAJ | I don't know, I saw the constants defined in the TOPAZ boardfile's header being used there and went to add mine there too |
04:53.35 | *** join/#htc-linux ray|yar (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net) |
04:54.12 | jonpry | that kernel might be older than you |
04:55.23 | CptAJ | its the one from xdandroid http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm |
04:55.24 | jonpry | you put in the if(machine_is_whitestone) or whatever? |
04:55.29 | CptAJ | yeah |
04:56.27 | jonpry | it's strange that you have so many gpio keys |
04:57.05 | jonpry | cat /proc/interrupts should list your keys |
04:57.28 | jonpry | somewhere. and hitting the button should increment the number |
04:57.55 | jonpry | or maybe posting the code |
04:58.18 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
04:58.27 | CptAJ | let me check that |
05:02.52 | CptAJ | that gives me this http://paste2.org/p/1963671 |
05:03.24 | CptAJ | what am I looking at there? |
05:04.27 | jonpry | only gpio registered interrupts are sdcc and vsync |
05:04.35 | jonpry | so something not right |
05:06.12 | CptAJ | I grepped the whole source and the constants are not used anywhere else |
05:06.29 | CptAJ | does it just ignore it if its wrong? |
05:06.31 | jonpry | maybe you did it wrong |
05:06.51 | jonpry | how am i to know |
05:10.21 | CptAJ | how am I to know you don't know if I don't ask? =P |
05:11.11 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
05:11.14 | jonpry | if you would put up the code i might have a better idea |
05:14.17 | CptAJ | http://paste2.org/p/1963683 |
05:14.28 | CptAJ | http://paste2.org/p/1963684 and the header |
05:15.44 | jonpry | so you only added power? |
05:17.03 | CptAJ | yeah |
05:17.15 | CptAJ | babysteps, man |
05:18.14 | jonpry | anything in dmesg about registration of the input driver? |
05:18.32 | jonpry | and you built with CONFIG whatever gpio input is? |
05:19.47 | CptAJ | no on that second one. elaborate, please |
05:20.40 | jonpry | CONFIG_INPUT_GPIO=y |
05:25.57 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
05:26.31 | CptAJ | no, thats not it. its set |
05:29.18 | CptAJ | [ 2.070159] gpio-keys: failed to request GPIO 194, error -22 |
05:29.18 | CptAJ | [ 2.083190] gpio-keys: probe of gpio-keys failed with error -22 |
05:29.20 | CptAJ | there we go |
05:29.39 | CptAJ | its wrong |
05:29.42 | CptAJ | damnit |
05:30.05 | jonpry | it might be irq 194 |
05:30.28 | CptAJ | how do I translate that to the proper gpio number? |
05:31.42 | jonpry | subtract 64? |
05:32.15 | jonpry | er 128 |
05:32.23 | jonpry | should only be 122 gpio |
05:33.23 | CptAJ | so 66 then |
05:33.34 | CptAJ | might as well try that |
05:40.40 | *** join/#htc-linux rpierce99_ (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
05:41.57 | CptAJ | well that caused trouble |
05:42.08 | CptAJ | its trying to suspend at seemingly random intervals |
05:42.14 | CptAJ | no relation to the key |
05:42.36 | jonpry | :p |
05:43.05 | CptAJ | driver loaded though |
05:43.13 | CptAJ | [ 2.073944] input: gpio-keys as /devices/platform/gpio-keys/input/input0 |
05:43.13 | CptAJ | [ 2.093536] msm_gpio_set_function(6f, 4) |
05:43.13 | CptAJ | [ 2.100891] msm_gpio_set_function(70, 4) |
05:43.13 | CptAJ | [ 2.108062] msm_gpio_set_function(71, 4) |
05:43.14 | CptAJ | [ 2.115142] msm_gpio_set_function(72, 4) |
05:43.15 | CptAJ | [ 2.122161] msm_gpio_set_function(73, 4) |
05:43.17 | CptAJ | [ 2.129302] msm_gpio_set_function(74, 4) |
05:43.19 | CptAJ | [ 2.136260] msm_gpio_set_function(75, 4) |
05:43.21 | CptAJ | [ 2.143188] msm_gpio_set_function(76, 4) |
05:43.23 | CptAJ | [ 2.149963] msm_gpio_set_function(77, 4) |
05:43.25 | CptAJ | [ 2.156799] msm_gpio_set_function(78, 4) |
05:43.27 | CptAJ | [ 2.163543] msm_gpio_set_function(79, 4) |
05:43.29 | CptAJ | oops, thats too long for channel. sorry |
05:43.54 | jonpry | well |
05:45.22 | jonpry | it's on gpio chip2 |
05:46.59 | CptAJ | whats that? |
05:48.08 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
05:48.52 | jonpry | gpio 42-16 |
05:49.39 | jonpry | how about 27 |
05:51.00 | CptAJ | lets see |
05:51.04 | CptAJ | compiling |
05:51.33 | CptAJ | care to explain your train of thought here? you kinda lost me at gpio chip 2. where did you get that and what does it mean? |
05:52.13 | jonpry | well the 92e00c20 |
05:52.35 | jonpry | up above you can see that it is physical address a9300c20 |
05:52.47 | jonpry | and in msm_iomap-7x00.h |
05:53.01 | jonpry | that belongs to GPIO2 |
05:53.12 | CptAJ | ah, there you go |
05:53.16 | jonpry | in gpio_hw.h |
05:53.38 | jonpry | can see that gpio2 is only for 42-16 |
05:53.54 | jonpry | and 0x20 is the input register |
05:54.16 | CptAJ | now we're getting somewhere |
05:54.24 | jonpry | and in your haret the value changes between 7941034 and 7941834 |
05:54.27 | CptAJ | best to explain than have me asking again for the 4 other buttons XD |
05:54.32 | jonpry | which is the 11th bit |
05:54.43 | jonpry | so 16+11=27 |
05:55.02 | CptAJ | but thats the back button |
05:55.14 | jonpry | well |
05:55.17 | CptAJ | I think... lemme check |
05:55.23 | jonpry | its the power button now |
05:55.33 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
05:56.26 | *** join/#htc-linux DuperMan (~Duper@46-116-16-172.bb.netvision.net.il) |
05:56.28 | CptAJ | but the 203 one happens with media, windows AND the back button |
05:57.12 | jonpry | is the same 7941034/7941834? |
05:57.56 | jonpry | probably the microp interrupt if so |
05:59.38 | CptAJ | yup, same |
06:00.22 | jonpry | yeah so that microp |
06:00.34 | jonpry | i gotta sleep. good luck |
06:00.42 | CptAJ | thanks! |
06:00.45 | CptAJ | cya |
06:12.18 | *** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de) |
06:29.11 | *** join/#htc-linux jumoit (~samuel@61.171.253.63) |
06:29.47 | *** part/#htc-linux jumoit (~samuel@61.171.253.63) |
06:34.12 | CptAJ | found it ^_^ |
06:46.00 | *** join/#htc-linux balans2 (~user@82-170-217-205.ip.telfort.nl) |
07:06.00 | *** part/#htc-linux hogger (~hogger@cpe-66-27-88-170.san.res.rr.com) |
07:08.28 | *** join/#htc-linux zmc (~zmc@lurian.net) |
08:36.56 | *** join/#htc-linux balans2 (~user@82-170-217-205.ip.telfort.nl) |
08:41.07 | *** join/#htc-linux gauner1986 (~Miranda@ip-109-91-241-106.unitymediagroup.de) |
08:43.10 | *** join/#htc-linux ychavan (ychavan@nat/redhat/x-nuevvftrbvpelnfa) |
08:57.30 | *** join/#htc-linux DuperMa (~Duper@46-116-47-25.bb.netvision.net.il) |
09:21.12 | *** join/#htc-linux DuperMan (~Duper@46-116-47-25.bb.netvision.net.il) |
09:59.48 | *** join/#htc-linux DuperMa (~Duper@89.139.97.255) |
10:00.39 | *** join/#htc-linux DuperMan (~Duper@89.139.97.255) |
10:17.12 | *** join/#htc-linux MacDrunk (~marper@201.165.119.167) |
10:50.00 | *** join/#htc-linux GNUtoo (~gnutoo@host149-73-dynamic.56-82-r.retail.telecomitalia.it) |
11:29.14 | *** join/#htc-linux yuuki (~yuuki@dsbg-d9bb0672.pool.mediaWays.net) |
11:58.27 | *** join/#htc-linux whitekidney (~wk@141.0.136.22) |
12:04.35 | *** join/#htc-linux leobaillard_ (~leobailla@2a01:e35:1398:2e00:1::20) |
12:17.28 | *** join/#htc-linux LordDeath (~LordDeath@cable-81-173-164-174.netcologne.de) |
12:37.55 | *** join/#htc-linux Alex[sp3dev] (~alexander@178.176.28.99) |
12:38.17 | *** join/#htc-linux ahigerd (~ahigerd@173.218.156.102) |
12:38.17 | *** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd) |
12:51.58 | ahigerd | Argh. My log script failed last night o.o It looks like logcat got wedged in the middle of an output |
12:51.58 | *** join/#htc-linux simpson (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
12:56.19 | *** join/#htc-linux bitrot (~rajkosto@2001:470:d76b:da7a:fd2f:5462:fff6:41c1) |
13:13.44 | *** join/#htc-linux Rajko (~rajkosto@2001:470:d76b:da7a:fd2f:5462:fff6:41c1) |
13:16.51 | *** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:fd2f:5462:fff6:41c1) |
13:32.55 | *** join/#htc-linux AstainHellbring (~AstainHel@c-67-172-255-225.hsd1.ut.comcast.net) |
13:32.57 | *** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring) |
14:01.04 | simpson | Do msm8255 and msm8250 share the same usb controllers ? or where can i find such specs ? |
14:02.42 | Alex[sp3dev] | probably the same. why would you care |
14:13.20 | *** join/#htc-linux bukington_ (~bukington@fac34-2-82-228-151-145.fbx.proxad.net) |
14:13.22 | *** join/#htc-linux Rajko (~rajkosto@2001:470:d76b:da7a:fd2f:5462:fff6:41c1) |
14:16.47 | *** join/#htc-linux GNUtoo (~gnutoo@host149-73-dynamic.56-82-r.retail.telecomitalia.it) |
14:29.01 | *** join/#htc-linux whitekidney (~wk@141.0.136.22) |
14:31.45 | *** join/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv) |
14:31.51 | simpson | thanks alex, i was trying to use some code from a 8255 usb controller on a 8250 device kernel |
14:32.02 | Cotulla | ðø |
14:32.03 | Cotulla | hi |
14:32.11 | simpson | hai dood |
14:32.23 | Cotulla | oh trolls still occupy this channel |
14:32.38 | simpson | lol, i am zeusk |
14:32.42 | Cotulla | I know |
14:32.46 | simpson | :| |
14:32.51 | Cotulla | yep . . . |
14:33.06 | Cotulla | I know that for a week u forgot? |
14:33.08 | Cotulla | how is it? |
14:33.08 | simpson | (troll) &zeusk; |
14:33.14 | Cotulla | lol |
14:33.20 | Cotulla | (troll*) &zeusk; |
14:33.26 | Cotulla | I rate ur C/C++ skills as 0/10 |
14:33.29 | Cotulla | :d |
14:33.36 | Cotulla | pointer to troll |
14:33.43 | Cotulla | it's not possible to convert pointer to object |
14:33.47 | simpson | but what if troll class itself is declared as a pointer ? |
14:34.00 | simpson | troll = pointer to another hidden class ? |
14:34.02 | Cotulla | who need pointer to troll? |
14:34.07 | Cotulla | who will troll in this case? |
14:34.18 | Cotulla | pointer to troll only provide information where to find troll . . . |
14:34.18 | simpson | lisa simpson ? |
14:34.24 | Cotulla | she can |
14:34.25 | Cotulla | t |
14:34.27 | Cotulla | can't |
14:35.02 | Cotulla | Alexx here? |
14:35.07 | *** join/#htc-linux detule (~detule@unaffiliated/d3tul3) |
14:36.21 | *** join/#htc-linux lamikr (lamikr@nat/nokia/x-sxoqlajzodpixhzk) |
14:37.05 | Alex[sp3dev] | static_cast<troll*>(&zeusk) |
14:37.14 | Cotulla | I hate that |
14:37.32 | Cotulla | cuz it's same as () and dynamic_cast needs a lot of shit inside |
14:37.33 | simpson | c++ is fail |
14:37.35 | Alex[sp3dev] | i hate c++ |
14:38.04 | Cotulla | static_cast is same like () right? |
14:38.13 | Cotulla | they just name it different |
14:38.15 | Cotulla | more long |
14:38.37 | Alex[sp3dev] | did i tell you i want a.. functional language with immutalbe objects, ml-style pattern matching and ruby syntax for writing os kernel? |
14:38.55 | Cotulla | nope |
14:39.06 | Cotulla | I just prefer easy code |
14:39.10 | Cotulla | which is easy to read |
14:39.12 | Cotulla | easy to code |
14:39.14 | Cotulla | easy to check |
14:39.16 | Cotulla | easy to debug |
14:39.25 | simpson | visual basic, cotulla ? xP |
14:39.29 | Cotulla | nope |
14:39.42 | Cotulla | I mean most of C++ extensions doesn't provide that |
14:40.05 | Cotulla | as well when u start to use a lot of C++ stuffs, compile time grow awful |
14:40.07 | simpson | but it is easy for everything except for it needs microsoft's .net and other common layer crap |
14:40.14 | Alex[sp3dev] | i basically think that manual memory management and mutable data structures coupled with the lack of type inference make c/c++ very unsafe |
14:40.23 | Cotulla | yep |
14:40.39 | Alex[sp3dev] | c++11 is nice though |
14:40.46 | Cotulla | but from other point of view |
14:40.51 | Cotulla | C# or Java program |
14:40.55 | Cotulla | just crash with fucking bodx |
14:40.58 | Cotulla | box |
14:41.06 | Cotulla | I hate that |
14:41.30 | Alex[sp3dev] | well, exceptions in java suck. i mean, they suck everywhere but in java there are checked and unchecked ones |
14:41.41 | Cotulla | lol they added &&& |
14:41.43 | Cotulla | *&& |
14:41.51 | Cotulla | soon we will have &* and etc |
14:42.00 | simpson | lol |
14:42.11 | Cotulla | but sounds good |
14:42.21 | Cotulla | cuz it will allow to escape temp copies on stack |
14:42.45 | simpson | qsd8250 has jazelle state ? |
14:43.19 | Cotulla | nobody will answer ur question :) |
14:43.31 | Cotulla | jazelle is closed source technology |
14:43.38 | Cotulla | as well documentation closed |
14:43.52 | Cotulla | in the internet almost nobody knows anything about it |
14:44.08 | Cotulla | but I don't like that |
14:44.11 | Cotulla | int some_value[GiveFive() + 7]; from C++11 |
14:44.31 | simpson | why ? what's wrong there ? |
14:44.51 | Cotulla | sounds too extra to have such kind of stuffs |
14:44.57 | Cotulla | constexpr |
14:45.27 | *** join/#htc-linux bitrot (~rajkosto@ds.wan.rajkonet.info) |
14:46.16 | Cotulla | extern template class std::vector<MyClass>; |
14:46.18 | Cotulla | that's good |
14:46.22 | Cotulla | but still u need do hand made work |
14:46.32 | Alex[sp3dev] | i bet it will never get implemented though |
14:46.49 | simpson | hmm, what's the advantage of having a constant function ? |
14:46.54 | Cotulla | cuz templates always irritated me by a lot of crap |
14:47.00 | Cotulla | inside binary code |
14:47.07 | Alex[sp3dev] | simpson: easier to write unit tests and do formal verification |
14:47.15 | Alex[sp3dev] | simpson: constexpr means no side effects |
14:47.50 | Cotulla | when templates are used, code is growing like yeast in the toilet |
14:48.44 | Cotulla | what about std::initializer_list? |
14:49.28 | Alex[sp3dev] | that's a nice feature |
14:49.52 | Cotulla | for lazy people who don't want to code? |
14:50.14 | Alex[sp3dev] | for people who want to initialize lists without creating an extra array |
14:50.23 | Alex[sp3dev] | and yes, why write extra code when the compiler can do it |
14:50.50 | Cotulla | why not include data to other array and inti? |
14:50.58 | *** join/#htc-linux jonpry (~jon@adsl-98-85-196-230.mco.bellsouth.net) |
14:51.50 | Cotulla | auto is cool |
14:52.27 | Alex[sp3dev] | well, mainly because it is easier to write func({1, 2, 3}) then auto v = std::vector<int> foo; foo.push_back(1); func(foo) |
14:52.54 | Cotulla | u can create array with 1 2 3 |
14:52.56 | Cotulla | and then init them |
14:53.00 | Cotulla | in loop |
14:54.02 | Alex[sp3dev] | well, i'm not a c++ expert but i think this feature is useful in some cases. but the fact that c++ standard is about 1.5K pages sucks hard |
14:54.09 | *** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:64b4:c7a1:d162:b440) |
14:54.18 | Cotulla | yep |
14:54.28 | Cotulla | auto also not really good |
14:54.37 | Cotulla | more esay to make errors without proper type |
14:54.48 | simpson | aren't most of the standards defined in verbose and long enough for no one to read completely, alex ? |
14:55.53 | Alex[sp3dev] | simpson: well, C standard seems lighter. or SML standard.. |
14:56.10 | Cotulla | yep |
14:56.18 | Cotulla | just compare size of C and C++ compilters |
14:56.19 | Cotulla | :D |
14:57.03 | Cotulla | pron |
14:57.04 | Cotulla | std::vector<int> someList; |
14:57.04 | Cotulla | int total = 0; |
14:57.04 | Cotulla | std::for_each(someList.begin(), someList.end(), [&total](int x) { |
14:57.04 | Cotulla | <PROTECTED> |
14:57.04 | Cotulla | }); |
14:57.04 | Cotulla | std::cout << total; |
14:57.05 | Cotulla | :D |
14:57.21 | Cotulla | separate function much more readable |
14:57.52 | Alex[sp3dev] | fffuuu |
14:57.53 | ahigerd | >.> static_cast is not the same as a C-style cast |
14:58.01 | Alex[sp3dev] | let total = sum [1, 2, 3] |
14:58.29 | Cotulla | lol |
14:59.10 | Alex[sp3dev] | ok, i have some work to do. troll you later |
14:59.16 | Cotulla | but static_cast still got to MOV Rx, Ry |
14:59.19 | Cotulla | :P |
14:59.28 | ahigerd | Sure, for pointer casts |
14:59.37 | detule | it took me a while to figure out if they were insane or what https://lkml.org/lkml/2012/3/31/131 |
15:00.03 | Cotulla | what they did? |
15:00.24 | ahigerd | XD |
15:00.27 | ahigerd | Wakka wakka |
15:00.28 | simpson | april fool i think |
15:00.32 | simpson | NR_CPU = 0 cotulla |
15:00.52 | simpson | to reduce complexity, number of cpu = 0 |
15:01.01 | Cotulla | lol |
15:01.03 | Cotulla | good idea |
15:01.03 | *** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:64b4:c7a1:d162:b440) |
15:01.24 | Cotulla | or -1 CPUs |
15:01.40 | Alex[sp3dev] | infinite cpus. intell will go bankrupt. everyone is jelly |
15:01.46 | simpson | but i think i still liked the 8bit google maps, atleast they made it exist |
15:02.16 | detule | some funny stuff "I didn't actually try to compile the patch below; it didn't look like |
15:02.16 | detule | C code so I wasn't sure what compiler to run it through.....Thus, please add my ack --" |
15:02.43 | Cotulla | but it's only config changes |
15:03.22 | detule | sounds like xdandroind-dev on a non-april-1-day |
15:04.31 | Cotulla | lol |
15:04.45 | Cotulla | so C++11 only extends complex level |
15:04.57 | Cotulla | and will add more differences to different compilers |
15:05.37 | jonpry | all existing bugs become must have features! |
15:05.40 | Cotulla | and GCC become more slow |
15:06.32 | jonpry | i'm switching to llvm |
15:06.36 | Alex[sp3dev] | clang ftw |
15:07.00 | ahigerd | I'm not switching to llvm just yet; I WANT to but it still has some catching up to do |
15:07.01 | Alex[sp3dev] | everyone will switch to llvm. FSF will go bankrupt |
15:07.22 | Cotulla | CL inside VS2011 will support those features already intersting |
15:07.33 | Cotulla | http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx |
15:07.35 | Cotulla | lol nope |
15:07.38 | ahigerd | Well sure, it's not like C++0x is NEW |
15:10.46 | jonpry | need to fork clang and make it gpl |
15:12.05 | Cotulla | why |
15:12.11 | Cotulla | what license of clang |
15:12.15 | Cotulla | actually? BSD? |
15:12.56 | jonpry | yeah BSD |
15:15.16 | Cotulla | cuz fruit |
15:15.17 | Cotulla | ? |
15:15.35 | Cotulla | which is half-eated already ;) |
15:15.49 | jonpry | i rate BSD 2/10 |
15:16.12 | Cotulla | I am not against it, I am for good things |
15:16.19 | jonpry | it turns must have features into bugs |
15:16.21 | simpson | not sure if this is fake http://www.google.com/fiber but i rate it 10000/10 |
15:17.16 | whitekidney | simpson: its real |
15:17.34 | whitekidney | simpson: google deliver up to 1gbit to your front door |
15:17.55 | jonpry | in kansas city of all places |
15:17.57 | Cotulla | most bugs are features |
15:18.00 | Cotulla | first of all |
15:18.04 | Cotulla | they allow us to fix them |
15:18.29 | Cotulla | and got some kind of pleasure |
15:18.54 | jonpry | hrm |
15:20.01 | Cotulla | :D |
15:20.08 | Cotulla | how is ur sub-boat? ready? |
15:20.24 | jonpry | i'm having issues with the fuel tank |
15:20.41 | jonpry | which may lead to early submersion |
15:21.16 | CptAJ | you're building a sub? |
15:22.03 | Cotulla | opens urbandictorinary with words "does he mean subversion?" |
15:22.49 | jonpry | need to install one of these first http://www.youtube.com/watch?v=u95E__3TSN0 |
15:23.10 | Cotulla | wants such one! |
15:23.15 | Cotulla | connect with LEO |
15:23.17 | Cotulla | and done |
15:23.38 | jonpry | lol |
15:23.39 | CptAJ | wish I had one for an alarm clock |
15:23.41 | Cotulla | all people are gone when somebody calls |
15:23.53 | Cotulla | CptAJ, u won't get up. at all. |
15:24.02 | jonpry | they are afraid of the ground sinking? |
15:24.11 | CptAJ | my phone just wont wake me up anymore. it doesnt even register |
15:24.33 | jonpry | CptAJ, you found the power button? |
15:24.38 | Cotulla | lol |
15:24.41 | CptAJ | yeah! |
15:24.42 | simpson | yes CptAJ, it would be awesome if it was available as an alarm clock |
15:25.01 | CptAJ | power, send and volume buttons are working now =) |
15:25.22 | CptAJ | looking into the other 3, I'm guessing something with the keypad driver |
15:25.48 | jonpry | microp-keypad |
15:25.53 | DuperMan | hallo |
15:26.05 | detule | good luck wading through the microp-s in .27 |
15:26.26 | CptAJ | did you hear about the guys from somethingawful that built a ww2 german sub? |
15:26.33 | jonpry | they didn't upgrade to microp-ng? |
15:26.41 | jonpry | no |
15:26.50 | detule | no .27 is all about klt ksc and the maze of interdependencies |
15:27.13 | Alex[sp3dev] | phh would call that stability. like putin |
15:27.14 | DuperMan | w000000 fun |
15:27.17 | CptAJ | they did. full size and fully functional. they're building a manned rocket now |
15:27.21 | ahigerd | Hey, is there any chance of being able to hook up the stylus holder switch? |
15:28.22 | Cotulla | lol Alex |
15:28.47 | jonpry | well my submarine is not one in the usual sense of the word |
15:28.55 | ahigerd | Is it a sandwich? |
15:29.10 | Cotulla | he gotta control it by mind |
15:29.18 | Cotulla | read history |
15:29.22 | detule | i haz the "AT\r" goodness |
15:29.23 | jonpry | more literally it would be something like a "soon to be sunken boat" |
15:29.33 | jonpry | or maybe a "rage sink" |
15:30.02 | jonpry | i don't think they send AT |
15:30.30 | detule | well thanks |
15:30.52 | jonpry | is it working? |
15:31.04 | detule | i just spent an hour or two trying to decipher why i can't send at commands from the reader thread and had to do some wodoo with ril_request_timed_callback |
15:31.06 | CptAJ | http://youtu.be/0HueHF9pECI?t=5m15s check these guys out. They used to tow the platform with the sub for the heck of it but they got bored after the first failure and made the platform autonomous |
15:31.53 | detule | not sure what working would mean -> it hasn't stifled the WAKEUP requests no |
15:32.10 | CptAJ | http://en.wikipedia.org/wiki/UC3_Nautilus this is the sub |
15:35.16 | simpson | lol CptAJ, i thought it was some branched version of the nautilus file manager... |
15:36.37 | jonpry | flashy |
15:37.43 | CptAJ | yeah. I think somethingawful is gonna be the first internet forum with submarine-launched tactical ballistic missile capabilities |
15:39.07 | whitekidney | lol |
15:39.32 | whitekidney | submarines with intercontinental ballistics.. |
15:39.34 | whitekidney | scary fuckers |
15:39.56 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
15:40.01 | Cotulla | he talks about silent place for developing |
15:40.32 | whitekidney | lol, his mom wouldnt leave him alone? |
15:40.50 | jonpry | detule, well you don't |
15:41.00 | jonpry | have \r yet right? |
15:48.00 | zeusk | ramdisk is at 0x12800000 for leo ? |
15:54.48 | *** join/#htc-linux detule (~detule@unaffiliated/d3tul3) |
15:58.43 | *** join/#htc-linux kiozen (~kiozen@ppp-93-104-76-68.dynamic.mnet-online.de) |
16:05.21 | *** part/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info) |
16:06.48 | *** join/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info) |
16:08.34 | *** join/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info) |
16:09.35 | *** join/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info) |
16:10.20 | *** join/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info) |
16:26.45 | *** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029) |
16:30.07 | fakker | Cotulla |
16:34.57 | *** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net) |
16:35.56 | Cotulla | privet |
16:39.45 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
16:41.03 | zeusk | oh hai fakker |
16:42.01 | *** join/#htc-linux kiozen (~kiozen@ppp-93-104-76-68.dynamic.mnet-online.de) |
16:46.18 | *** join/#htc-linux helicopter88 (~helicopte@host147-119-dynamic.47-79-r.retail.telecomitalia.it) |
17:04.21 | *** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno) |
17:05.30 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
17:16.01 | *** join/#htc-linux helicopter88_2 (~helicopte@host147-119-dynamic.47-79-r.retail.telecomitalia.it) |
17:44.04 | zeusk | windows cannot have a file and a folder with same name in the same dir :| |
17:45.44 | Alex[sp3dev] | you say that as if having two files with the same name is good |
17:46.31 | Alex[sp3dev] | also, it has been a good trolldition in russia to use cyrillic vowels instead of latin ones to make a lot of files that look indistinguishable |
17:46.48 | zeusk | but isn't the philosophy of everything being a file a thing of unix ? |
17:47.28 | Alex[sp3dev] | but directories are still files |
17:50.54 | *** join/#htc-linux jonpry (~jon@adsl-98-85-196-230.mco.bellsouth.net) |
17:53.05 | fakker | you tell the injan Alex[sp3dev] |
17:58.38 | zeusk | oh hai gain fakker |
18:01.35 | jonpry | is this return of the trolls? |
18:04.03 | zeusk | 68 00 9f e5 |
18:11.29 | *** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno) |
18:24.09 | *** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno) |
18:45.18 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
18:45.45 | *** part/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
18:45.47 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
18:54.17 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
19:15.58 | *** join/#htc-linux whitekidney (~wk@141.0.136.22) |
19:43.11 | *** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net) |
19:50.25 | *** join/#htc-linux furtardo (~mks@nat/yahoo/x-qufrscdltlulufeb) |
20:05.46 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
20:21.41 | *** join/#htc-linux rob_w (~bob@ppp-188-174-52-234.dynamic.mnet-online.de) |
20:21.41 | *** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029) |
20:23.27 | *** join/#htc-linux Rajko (~rajkosto@2001:470:d76b:da7a:64b4:c7a1:d162:b440) |
20:31.25 | *** join/#htc-linux hasi (hasi@mausi.hasicon.org) |
20:56.23 | *** join/#htc-linux CptAJ (AJ@190.74.22.95) |
21:16.11 | *** join/#htc-linux bitrot (~rajkosto@ds.wan.rajkonet.info) |
22:39.16 | *** part/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv) |
22:50.04 | *** join/#htc-linux ftoz (~root@cst-prg-180-25.cust.vodafone.cz) |
23:28.20 | *** join/#htc-linux furtardo (~mks@nat/yahoo/x-edbvcoinvrflrljc) |