←2014-08-12 2014-08-13 2014-08-14→ ↑2014 ↑all
00:03:10 -!- nooodl has quit (Client Quit).
00:03:44 -!- zzo38 has joined.
00:35:14 <shachaf> `pbflist
00:35:15 <HackEgo> pbflist: shachaf Sgeo quintopia ion
00:35:36 <shachaf> the deluxe subscribers have already been notified, naturally
00:40:20 <Phantom_Hoover> have they not done this joke like 3 times before
00:44:03 -!- yorick has quit (Remote host closed the connection).
00:50:41 -!- edwardk has quit (Quit: Computer has gone to sleep.).
01:13:44 <quintopia> why couldn't a whistle and a bassoon get along harmoniously?
01:15:37 <Bike> historical racial attitudes formerly encouraged by a colonial power for the sake of simplifying their hegemony
01:15:56 <quintopia> ah righto
01:17:03 <pikhq> Jesus christ this city's going insane.
01:21:37 <quintopia> insane! this city's going jesus christ
01:22:48 <pikhq> If only.
01:23:08 <elliott> do we get to hear why
01:23:32 <pikhq> Oh, sure. St Louis is on its third day of riots triggered by a police officer shooting a black kid in the back.
01:23:51 <elliott> oh. I had no idea where you lived.
01:23:54 <elliott> I thought you were in colorado.
01:23:59 <pikhq> I moved a year ago.
01:24:35 <pikhq> But yeah. I swear, did someone open a portal to 1965 or something?
01:24:44 <elliott> daresay the shooting is more the thing than the protests
01:24:56 <Phantom_Hoover> that doesn't sound terribly unusual
01:25:06 <pikhq> The police response to the protests is also quite 1965 though.
01:25:21 <pikhq> I was unaware that sniper rifles had a significant role in crowd control.
01:25:30 <pikhq> Nor that media blackouts or no fly zones did.
01:25:32 <Phantom_Hoover> sniper rifles with actual bullets?
01:25:47 <pikhq> Apparently. Non-lethal rounds are designed for shotguns.
01:26:19 <Bike> sheesh, i've only been hearing about ferguson, it's extended to saint louis?
01:26:34 <pikhq> Ferguson is essentially Saint Louis.
01:26:35 <elliott> you know that cops shooting black kids is nothing really new or particularly 60s, right
01:27:00 <pikhq> elliott: Particular details are most similar to that period though.
01:27:02 <Bike> elliott: the 1960s is the usual go-to for violent responses to protests, possibly most famously at kentucky U.
01:27:18 <Bike> in united states culture, i mean.
01:28:08 <Bike> anyway how do i pre declare types in C or something. i have typedef struct cons { ... obj *car, *cdr; } cons; and then later typedef union obj { ... cons cons; } essentially
01:28:43 <elliott> Bike: yeah I just mean, the US does not really seem to be massively outside the status quo in any way here, sad as that is
01:28:50 <elliott> Bike: struct cons;
01:28:59 <elliott> uh I think you can do
01:29:05 <elliott> typedef struct cons cons; ... struct cons { ... }
01:29:07 <Bike> the problem is with obj, gcc doesn't know what an obj is yet
01:29:17 <elliott> typedef union obj obj;
01:29:21 <elliott> typedef struct cons cons;
01:29:23 <elliott> struct cons { ... }
01:29:26 <elliott> union obj { ... }
01:29:32 <elliott> *; *; *fuck
01:29:39 <elliott> you get the idae
01:29:42 <elliott> *idea
01:29:45 <Bike> ok. this syntax seems weird
01:29:54 <Bike> also weird is i realized i haven't heard any comparisons to rodney king yet
01:29:55 <elliott> it's quite simple really, though it is weird
01:30:05 <elliott> (struct TAG) and (enum TAG) are types defined by struct TAG { ... } and enum TAG { ... }
01:30:15 <elliott> which are also types
01:30:17 <Bike> c is hard :(
01:30:24 <elliott> (they jsut specify what that type is)
01:30:32 <elliott> you can refer to them before they're defined
01:30:43 <elliott> "typedef type typename;" makes typename an alias for type
01:31:37 <elliott> so typedef struct { ... } foo; works because it's making foo an alias for the anonymous struct type (struct { ... }). typedef struct tag1 { ... } tag2; is the same except the type is now a named struct, and it defines (struct tag1) to be that struct
01:31:39 <pikhq> Ooooohhhh goody. We've got militia nuts walking in now.
01:32:00 <pikhq> Maybe now the police's "equipped for invading Iran" stance makes sense.
01:32:05 <Bike> guns will solve this problem
01:32:15 <Bike> elliott: i'd kind of guessed that, but it's just... i dunno. weird
01:32:18 <pikhq> Guns solve all problems!
01:32:21 <elliott> C is weird, yeah.
01:32:31 <elliott> it's a fairly orthogonal, weird part of the language. like most of C.
01:32:37 <Bike> in happier news, did you hear that the first woman to win a fields medal has been erased, as well as the first iranian
01:32:43 <Bike> er
01:32:44 <Bike> announced
01:32:44 <pikhq> (FWIW I'm actually quite a ways away from the neighborhood where this is all going on, I'm just going "oh fucks' sake" at it)
01:32:46 <Bike> wow
01:33:05 <Bike> as usual i don't understand a thing she does
01:33:12 <elliott> Bike: our shadowy agenda is doing well. have you edited her out of all the photos yet
01:33:36 <Bike> her name is "Mirzakhani" which is just incredible sounding
01:33:38 <Bike> Mirzakhani
01:33:40 <Bike> can't erase that
01:33:44 -!- Phantom_Hoover has quit (Read error: Connection reset by peer).
01:34:02 <elliott> I can erase my being awake. bye
01:34:12 <Bike> later
01:34:50 <quintopia> this is a bad year for violence eh
01:34:54 <quintopia> fuck
01:43:17 <Bike> now when i have "obj data[1];" in a struct i'm told that's incomplete
01:48:28 <zzo38> Incomplete?
01:49:35 <zzo38> The type does have to be defined before it is used in that way, so make sure "obj" is defined.
01:49:35 <shachaf> Bike: You need to define obj before actually using it like that, presumably.
01:49:53 <shachaf> A pointer to obj is fine, but if you have an actual obj you need to know much memory it'll take.
01:50:12 <zzo38> (That is, define the actual structure, so that the size is known.)
01:50:31 <Bike> but it's a union i define after this struct because it includes that struct! argh
01:50:52 <zzo38> Then it would take an infinite amount of memory and it won't work
01:51:03 <shachaf> ?
01:51:13 <Bike> what
01:51:15 <zzo38> Since that code allocates one "obj" cell.
01:51:31 <shachaf> union obj; struct cons { struct obj *car, *cdr }; union obj { cons cons; };
01:53:23 <zzo38> If obj then also allocates data of type of this structure, then how can you know the proper amount of memory? It doesn't work!
01:53:56 <shachaf> "struct cons cons;", rather
01:54:10 <Bike> pointers work, not an array though
01:55:31 <shachaf> yes, because for an array you need to know what size it is
01:55:34 <Bike> oh ok the code i'm going off of has an array of union*, not union
01:55:39 <shachaf> what are you trying to do here
01:55:40 <shachaf> oh
01:55:45 <Bike> that makes sense then
01:55:55 <shachaf> then there you go
01:55:57 <shachaf> http://spl.smugmug.com/Humor/Lambdacats/i-XwKHSBM/2/O/boxed%20cat%20has%20a%20uniform%20representation.jpg
01:56:04 <Bike> indeed, there i go.
01:56:35 <zzo38> An array allocates the memory for its contents; declaring a pointer does not, it allocates memory for the address instead.
02:07:43 <Bike> right, yeah, i get what you're saying but i thought the code (which i know works) was doing an array anyway, so i was confused.
02:21:51 -!- aloril_ has joined.
02:22:39 -!- aloril has quit (Ping timeout: 255 seconds).
03:27:00 <Bike> Can you declare multiple functions in one line? Like "void foo, bar(void);" say. that sounds amusing.
03:28:10 <shachaf> do you mean void foo(void), bar(void);
03:28:40 <shachaf> function declaration syntax is not different from variable declaration syntax
03:29:19 -!- BlueProtoman has joined.
03:29:23 <BlueProtoman> I know there's a whole community for esoteric programming languages...but is there one for esoteric file formats and/or protocols?
03:29:36 <BlueProtoman> Or operating systems?
03:30:57 <Bike> shachaf: boring
03:32:17 <shachaf> BlueProtoman: whoa is your nick a split infinity thing
03:32:24 <BlueProtoman> shachaf: ?
03:32:35 <shachaf> maybe not
03:32:37 <BlueProtoman> No, it's a Mega Man thing
03:32:46 <shachaf> oh
03:33:14 <shachaf> Bike: do you know the thing where you can call a function with (********f)(...)
03:33:41 <Bike> um, if you mean names referring to function pointers, yeah.
03:34:02 <shachaf> functions are distinct from function pointers
03:34:21 <shachaf> for example you can't take the sizeof a function
03:34:30 <Bike> hatred of C growing
03:34:38 <Bike> BlueProtoman: file formats have even more of a tendency to be undocumented crap than programming languages, so why bother
03:37:52 <BlueProtoman> Bike: It's not about being undocumented, it's about intentionally being weird
03:38:01 -!- not^v has quit (Quit: http://i.imgur.com/Akc6r.gif).
03:38:20 <Bike> "crap", i said
03:38:34 <Bike> like, i know, let me find an example i ran into a few weeks ago
03:39:33 <Bike> http://en.wikipedia.org/wiki/Health_Level_7 pretty much all of these
03:40:08 <Bike> http://en.wikipedia.org/wiki/Arden_syntax#Arden_Syntax_Example this MLM is an example for reading data and writing a message;;
03:41:05 <BlueProtoman> And what's so bad about it?
03:56:25 <quintopia> what UPS should i buy
04:07:02 <Bike> https://github.com/PCSX2/pcsx2/pull/212/files#diff-9222e0f7e94c703c713184a57132c5fbL1183 i'm afraid
04:15:54 -!- BlueProtoman has quit (Quit: Leaving).
04:30:30 -!- MoALTz_ has joined.
04:33:09 -!- MoALTz has quit (Ping timeout: 246 seconds).
04:45:39 -!- not^v has joined.
04:47:49 -!- ^v has quit (Remote host closed the connection).
04:50:26 -!- Tritonio has quit (Ping timeout: 250 seconds).
05:23:56 <fizzie> The (*********f)() thing works because "[except sizeof, _Alignof, unary &] a function designator [expression with function type] with type 'function returning /type/' is converted to an expression that has type 'pointer to function returning /type/'."
05:24:00 <fizzie> So "f" has function type, but it's not one of the exceptions so it's converted to a pointer; "*f" again has function type, but it's still not one of the exceptions so ...; and so on up to (********f) which is also converted to a pointer to function, and used in a function call.
05:27:49 -!- aloril_ has changed nick to aloril.
05:33:07 <fizzie> Referring back to backlog, you can't refer to an enum with "enum foo" before declaring its constants.
05:33:09 <fizzie> Except as a GCC extension.
05:33:10 <fizzie> The rule that allows "typedef struct s s; struct s { ... };" is specific to structs and unions.
05:52:33 -!- MoALTz__ has joined.
05:54:24 -!- edwardk has joined.
05:55:47 -!- MoALTz_ has quit (Ping timeout: 264 seconds).
06:43:01 -!- J_Arcane has joined.
07:23:12 -!- not^v has quit (Quit: http://i.imgur.com/Akc6r.gif).
07:33:21 <coppro> http://xkcd.com/1407/ I feel like there ought to be a bit with "no survivors" in it
07:49:58 <scoofy> there's always some survivors
07:50:57 <shachaf> presumably if there are no survivors from one hurricane then people in that area would remember a different one
07:51:27 -!- AnotherTest has joined.
07:52:29 -!- AnotherTest has quit (Client Quit).
07:54:27 -!- AnotherTest has joined.
08:01:28 <FireFly> Now I'm wondering what the sweet spot of survival rate is for a hurricane to be remembered as the worst one
08:14:44 -!- J_Arcane has quit (Quit: Konversation terminated!).
08:15:04 -!- J_Arcane has joined.
08:27:00 -!- oerjan has joined.
08:29:13 -!- Patashu has joined.
08:35:18 -!- boily has joined.
08:46:32 <oerjan> <quintopia> this is a bad year for violence eh <-- no it's a good year for violence. it's a bad year for the victims.
08:49:05 <boily> good moerjaning.
08:49:55 <oerjan> g'daily
08:54:35 -!- AnotherTest_ has joined.
08:54:35 -!- AnotherTest has quit (Read error: Connection reset by peer).
08:54:35 -!- AnotherTest_ has changed nick to AnotherTest.
08:55:36 -!- ChanServ has set channel mode: +o oerjan.
08:55:49 -!- oerjan has set channel mode: -b aretecode!*aretecode@69.163.36.90$##fixyourconnection.
08:55:54 -!- oerjan has set channel mode: -o oerjan.
09:15:21 -!- TieSoul has joined.
09:25:24 -!- MoALTz_ has joined.
09:28:10 -!- MoALTz__ has quit (Ping timeout: 260 seconds).
09:58:47 -!- AnotherTest has quit (Ping timeout: 244 seconds).
10:00:06 -!- Patashu has quit (*.net *.split).
10:00:14 -!- olsner has quit (*.net *.split).
10:07:24 -!- Patashu has joined.
10:07:24 -!- olsner has joined.
10:10:44 <fizzie> `olist (960)
10:10:44 <HackEgo> olist (960): shachaf oerjan Sgeo FireFly boily nortti
10:10:52 <shachaf> whoa
10:12:45 <boily> dun dun dun ♪
10:13:07 <shachaf> do you use rss or something fancy like that
10:13:22 <shachaf> you're not on olist yourself
10:13:45 <fizzie> I just do it as a public service; I'm using Feedly to feed myself.
10:14:10 <shachaf> isn't it annoying how you don't get the image embedded in the oots rss feed
10:14:55 <boily> that way you can't miss it.
10:15:06 <shachaf> someone told it was so i made an rss feed that has an image embedded
10:15:39 <fizzie> It's not *that* annoying. Though I do miss my previous RSS reader that you could configure (per feed) to "instead of showing the message, show the linked page".
10:16:04 <shachaf> i also made one for smbc-comics.com that shows the "votey" picture
10:16:18 <fizzie> There are a number of comics where the RSS feed is image-less, presumably due to ad reasons?
10:16:39 <shachaf> olist doesn't have ads on the comic page
10:16:48 <shachaf> i don't actually use rss myself, anyway
10:17:36 <fizzie> I used to have a Perl script that watched non-RSS-enabled webcomics, extracted the image (and possibly some metadata like titles or whatnot) and made a composite feed.
10:23:57 -!- Patashu has quit (*.net *.split).
10:24:04 -!- olsner has quit (*.net *.split).
10:30:45 -!- Patashu has joined.
10:30:45 -!- olsner has joined.
10:44:41 -!- yorick has joined.
11:01:10 -!- boily has quit (Quit: SQUIDDY CHICKEN).
11:45:44 -!- MoALTz__ has joined.
11:48:45 -!- MoALTz_ has quit (Ping timeout: 255 seconds).
12:05:30 -!- Sgeo has quit (Read error: Connection reset by peer).
12:24:08 -!- FreeFull has quit (Ping timeout: 272 seconds).
13:18:30 -!- Patashu has quit (Ping timeout: 246 seconds).
13:21:48 -!- J_Arcane has quit (Quit: Konversation terminated!).
13:23:29 -!- J_Arcane has joined.
13:25:00 -!- Phantom_Hoover has joined.
13:27:11 <fizzie> Fun perl fact: "1 + rand" is not the same at all as "rand + 1".
13:31:19 <Deewiant> Warning: Use of "rand" without parentheses is ambiguous
13:32:39 -!- nooodl has joined.
13:33:15 <fizzie> Oh, there's a warning. Handy.
13:33:33 <fizzie> (I didn't try this fact, I just picked it from #perl.)
13:34:36 <int-e> `` perl -e 'print rand+1," ",1+rand'
13:34:37 <HackEgo> Warning: Use of "rand" without parentheses is ambiguous at -e line 1. \ 0.504177718962641 1.73521801721969
13:35:17 <fizzie> It gets parsed as rand(+1).
13:39:27 -!- charm141 has joined.
13:40:34 -!- charm141 has quit (Client Quit).
13:49:47 -!- TieSoul_ has joined.
13:52:03 -!- TieSoul has quit (Ping timeout: 255 seconds).
14:02:46 -!- MoALTz_ has joined.
14:05:37 -!- MoALTz__ has quit (Ping timeout: 245 seconds).
14:08:09 -!- oerjan has quit (Quit: ayn rand + 1).
14:16:07 <elliott> fizzie: doesn't that apply to anything with a prototype or whatever?
14:22:22 -!- impomatic_ has left.
14:22:31 -!- impomatic_ has quit (Quit: impomatic_).
14:35:45 <elliott> fizzie: I meant union, not enum, yeah, sorry
14:35:51 <elliott> though I didn't know you can't actually do that
14:39:40 -!- scoofy has quit (Ping timeout: 250 seconds).
15:31:29 -!- edwardk has quit (Quit: Computer has gone to sleep.).
15:31:56 -!- FreeFull has joined.
15:46:58 -!- TieSoul_ has changed nick to TieSoul.
15:47:00 -!- mihow has joined.
15:53:13 -!- ^v has joined.
16:08:20 -!- scoofy has joined.
16:39:23 -!- nortti has changed nick to lawspeaker.
16:39:40 -!- lawspeaker has changed nick to nortti.
16:44:25 -!- nortti has changed nick to lawspeaker.
16:44:52 -!- lawspeaker has changed nick to nortti.
16:46:09 -!- nortti has changed nick to lawspeaker.
16:47:11 -!- lawspeaker has changed nick to nortti.
17:07:08 -!- edwardk has joined.
17:09:23 -!- mihow has quit (Quit: mihow).
17:16:28 -!- MoALTz_ has quit (Ping timeout: 260 seconds).
17:17:42 -!- AnotherTest has joined.
17:34:50 -!- mihow has joined.
17:49:11 -!- d45611 has joined.
17:50:20 -!- AnotherTest has quit (Ping timeout: 250 seconds).
17:51:18 -!- aliendough has joined.
17:51:48 -!- aliendough has left ("WeeChat 0.4.2").
17:52:46 -!- d45611 has quit (Quit: Goodbye....).
18:01:58 -!- shikhin has joined.
18:04:46 -!- TodPunk has quit (Ping timeout: 260 seconds).
18:06:54 -!- TodPunk has joined.
18:32:08 -!- Phantom__Hoover has joined.
18:33:33 -!- edwardk has quit (Ping timeout: 240 seconds).
18:36:26 -!- quintopi1 has joined.
18:37:55 -!- quintopia has quit (Disconnected by services).
18:38:32 -!- quintopi1 has changed nick to quintopia.
18:38:36 -!- quintopia has quit (Changing host).
18:38:36 -!- quintopia has joined.
18:41:40 -!- subleq has quit (*.net *.split).
18:41:46 -!- Phantom_Hoover has quit (*.net *.split).
18:44:23 -!- subleq has joined.
18:45:21 -!- J_Arcane has quit (Read error: No route to host).
18:46:09 -!- J_Arcane has joined.
18:54:47 -!- AnotherTest has joined.
19:06:36 -!- edwardk has joined.
19:23:26 -!- edwardk has quit (Quit: Computer has gone to sleep.).
19:33:24 -!- TieSoul has quit (Read error: Connection reset by peer).
19:35:03 -!- TieSoul has joined.
19:38:55 -!- edwardk has joined.
19:51:49 <quintopia> hi TieSoul what are you working on today
20:19:43 -!- mihow has quit (Quit: mihow).
20:30:44 -!- zzo38 has quit (Remote host closed the connection).
20:38:15 -!- AnotherTest has quit (Quit: ZNC - http://znc.in).
20:51:13 -!- oerjan has joined.
20:57:30 -!- TieSoul has quit (Read error: Connection reset by peer).
20:58:59 -!- TieSoul has joined.
21:00:03 -!- Patashu has joined.
21:01:20 -!- mihow has joined.
21:06:09 -!- nooodl has quit (Read error: Connection reset by peer).
21:06:35 -!- nooodl has joined.
21:12:52 -!- oerjan has quit (Ping timeout: 260 seconds).
21:12:58 -!- ggherdov has quit (Ping timeout: 260 seconds).
21:13:03 -!- oerjan_ has joined.
21:13:07 <oerjan_> what now
21:13:41 -!- oerjan_ has changed nick to oerjan.
21:15:08 <fizzie> Freenode's a-breaking.
21:17:19 <quintopia> helloerjan
21:26:28 -!- ggherdov has joined.
21:27:09 -!- Patashu has quit (Ping timeout: 240 seconds).
21:36:39 <oerjan> hintopia
21:41:58 -!- tromp has quit (Ping timeout: 255 seconds).
21:42:06 -!- MindlessDrone has quit (Quit: MindlessDrone).
21:58:34 -!- ^v has quit (Ping timeout: 272 seconds).
22:04:33 -!- zzo38 has joined.
22:24:14 -!- ^v has joined.
22:32:45 -!- boily has joined.
22:35:04 -!- mihow has quit (Quit: mihow).
22:41:49 -!- edwardk has quit (Ping timeout: 255 seconds).
22:45:11 -!- Sprocklem has quit (Quit: Holy crap! I'm on fire!).
22:45:33 -!- Sprocklem has joined.
22:46:07 -!- Sprocklem has changed nick to Guest68490.
22:46:08 -!- Sgeo has joined.
22:46:59 -!- Guest68490 has quit (Client Quit).
22:48:12 -!- Sprocklem_ has joined.
22:48:27 -!- Sprocklem_ has changed nick to Sprocklem.
22:49:48 <Sgeo> Why did HackEgo not ping me?
22:49:49 -!- tromp has joined.
22:50:08 <Sgeo> My name's there, Quassel just decided it wasn't a ping
22:50:12 <Sgeo> Unless it was before I left?
22:50:48 <boily> `botsnack
22:50:49 <HackEgo> ​>:-D
22:51:04 <boily> it's still alive, fsvo alive.
22:51:51 <oerjan> i assume he's referring to the `olist
22:52:13 <Sgeo> yes
22:52:29 <oerjan> does it ping you when i say Sgeo like this
22:52:35 <Sgeo> Yes
22:52:52 <boily> @metar CYUL
22:52:53 <lambdabot> CYUL 132200Z 13014KT 8SM -RA SCT006 OVC045 18/18 A2968 RMK SF3SC5 SLP052 DENSITY ALT 800FT
22:54:34 -!- not^v has joined.
22:59:27 -!- zalweasel has joined.
23:00:17 -!- zalweasel has left.
23:00:58 -!- oerjan has quit (Quit: Nite).
23:11:29 <fizzie> @metar EFHK
23:11:30 <lambdabot> EFHK 132250Z 24018KT 8000 TSRA SCT010 BKN030CB 13/11 Q1008 TEMPO 6000
23:11:42 <fizzie> It's all TSRA here.
23:30:27 -!- nooodl has quit (Read error: Connection reset by peer).
23:30:55 -!- nooodl has joined.
23:31:19 -!- not^v has quit (Ping timeout: 255 seconds).
23:48:06 -!- yorick has quit (Remote host closed the connection).
23:53:44 -!- edwardk has joined.
23:58:47 -!- shikhin has quit (Ping timeout: 264 seconds).
←2014-08-12 2014-08-13 2014-08-14→ ↑2014 ↑all