00:17:41 -!- Sgeo has joined. 00:26:42 oh i love youtube commenters, somehow ended up watching videos of bush fucking up in his speeches, i love how the comments are rated based on amount of hate for bush 00:26:44 the conspiracy is that bush is destroying our country that is our lives dumb ass thats cuz you are too ignorant to realize bush had everything to do with 911 theres too much proof and dumb asses like you are why he is in office again 00:26:52 this has a few thousands ups 00:27:02 honestly, who the hell cares? he was telling a story for dramatic effect. the point of the story is that he found out a plane hit the tower and thought it was an accident at first. 00:27:07 this has a few hundred downs 00:27:41 hmm. 00:28:02 i should probably try sleeping or something 00:28:16 or read sicp and rwh *at the same time* 00:30:16 oklopol: oklopolokok 00:30:25 t) 00:30:25 00:25 .msg NickServ identify inaktive/00 00:30:27 00:26 holmak has left () 00:33:51 oklopol: oklopol: oklopol: oklopol: oklopol: oklopol: oklopol: oklopol: oklopol: oklopol: 00:34:56 did he FAIL? 00:37:17 oklopol: 00:37:32 ehird: ehird: ehird: 00:37:35 oklopol: 00:37:41 ooooooooooooooooooooooooooo 00:37:51 oklopol: öööö 00:38:32 oerjan: please use real characters. 00:38:37 SLEEP. 00:38:37 -> 00:39:02 oklopol: NO 00:39:08 * oerjan did not expect that from a finn 00:39:58 IF I HAD A GOOD COUNTER-RESPONSE TO WHATEVER YOU JUST SAID I'D PROBABLY SAY IT RIGHT ABOUT NOW 00:40:15 ^ applies to both of you 00:40:21 oklopol: 00:40:23 stay back 00:40:27 BACK? 00:40:36 ehird has a trout 00:40:43 oklopol: yes 00:40:51 he's armed and crazy 00:50:04 ehird, that is. no idea about the trout. 01:34:52 -!- Sgeo has quit (Remote closed the connection). 01:42:28 -!- mbishop has joined. 01:42:54 Does anyone know if Ian Osgood comes in this channel? 01:43:55 -!- Sgeo has joined. 01:55:51 hm who was that 01:56:51 hm hasn't been on the wiki for nearly a year 01:59:25 -!- Sgeo has quit (Remote closed the connection). 02:08:46 -!- psygnisfive has joined. 02:19:09 oooooooooooooooooooooooo 02:19:29 oerjan: who was who? 02:22:12 Ian Osgood 02:23:21 "was" sounded weird 02:23:57 so i thought you might've somehow thought sgeo's joining aws mbishop's parting. in which case i could've punned you 02:24:05 *saw 02:24:29 You cannot pun if you cannot spell, oklopol. 02:24:33 of course, not really punned, more like joked, but it doesn't fit as well. 02:24:41 jokerized 02:24:58 should probably go to sleep 02:25:08 i really went to sleep when i told i was gonna 02:25:15 sleep is good, if you can afford it 02:25:26 but then i realized i'd been somewhat depressed over the last few days 02:25:29 which is for noobs 02:25:33 so i decided to stop it 02:25:41 and, well, couldn't really not code my project after that. 02:25:56 but it's finished now, because i'm awesome 02:26:02 and god i'm tired 02:26:04 you know 02:26:06 so tired 02:26:27 there aren't enough o's in the world for the elongated "so" to represent it. 02:27:26 being tired is hard to noob-filter out, because i'm usually too tired to do that, for some reason 02:27:34 heh 02:27:56 well. enough random flumber-spatter, sleepy time, really 02:28:05 sweet dreams 02:28:08 i mean polarization-exists really 02:28:17 yes. 02:28:25 sweet of so sweet mmm 02:28:25 -> 02:28:35 we did experiments in high school, it existed then at least. 02:44:15 -!- jix has quit ("Computer has gone to sleep"). 02:52:15 i wasn't born yet when you went to high school, therefore nothing can have existed. 02:52:40 wait. i was like 10 when you went to highschool. 02:52:45 *high school 02:52:51 how's that possible 02:53:01 * oklopol calculates 02:53:08 * oklopol tries to sleep again -> 02:53:45 off by 10 error, i presume 02:54:33 in any case, that was 20 years ago 03:36:10 -!- moozilla has joined. 04:10:50 -!- moozilla has quit (Connection timed out). 04:14:11 I was like 10 when I went to high school. 04:14:14 Or something like that, anyway. 05:32:08 -!- oerjan has quit ("Good nigth"). 06:09:25 Why does the wiki has that weird 24 years ban? 06:23:34 urgh 06:23:57 so i know there's a way to calculate floor(log_2(x)) of an int 06:24:09 with bitwise functions in constant time 06:37:00 -!- seveninchbread has joined. 06:37:23 -!- CakeProphet has quit (Nick collision from services.). 06:37:43 -!- seveninchbread has changed nick to CakeProphet. 06:46:35 -!- mbishop has left (?). 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:42:50 oerjan: then i guess i was just about to be born when you did that experiment 08:43:09 thus may well be possible polarization was actually created in that experiment. 08:45:29 bsmntbombdood: there is, if you know the amount of bits :P 08:45:57 even logtime one, can't see a constant time solution 08:48:41 o.o 08:48:57 What is unfun is that even though there's a ffs(x) function in POSIX to find the index of the least-significant set bit -- which GCC has a built-in-usually-compiled-to-the-single-native-opcode-if-there-is-one for -- the corresponding "find the index of the most-significant set bit" is missing. 08:51:51 ffs? 08:51:56 oh. 08:52:37 Probably from the words "Find First Set" instead of the more common FFS meaning. 08:53:02 well it's not like anyone gives a shit about stuff like that, i mean, you know, you could just make a bitarray object and loop. 08:53:11 i mean 08:53:57 i don't 08:54:25 It's still unsymmetric to only have a "ffs" without a "fls". 08:54:41 well yes, naturally 08:55:03 http://www.freebsd.org/cgi/query-pr.cgi?pr=61405 has a rather magical ffs implementation, also. 08:55:05 but there's no rot in most isas, so it's nontrivial to get one out of the other 08:55:35 thus it might be possible, maybe, possibly, for ffs to be more common in isas, and thus existant in that standardum 08:56:54 hmm. i don't get that, can't you get constant time anyway if you allow an array? 08:58:09 wait. 08:58:11 lol. 08:58:19 that's exactly the way to do that 08:58:32 yay for my fast brain \o/ 08:59:57 i mean i don't really get that exact multiplication, but seems like it'd look like that multiplying by *something* might do the trick 09:00:08 should probably read that, fairly magical, yes 09:00:30 not read, more like try to run it on paper 09:04:09 It does the "x & -x" to convert xxxx1000 -> 00001000, I guess. Then the multiplication will mean bit-shifting that suitably magical constant. 09:04:57 It's disappointingly simple, actually, but at least it has enough very magick-looking numbers. 09:05:30 yeah 09:08:11 -!- GreaseMonkey has quit ("You only need one wheel. Bikers are just greedy."). 09:08:31 hmm 09:08:33 i don't get it 09:08:44 that multiplication essentially just shifts the magical number right? 09:09:13 well yeah 09:09:14 you said that 09:09:50 but i just don't get it, it's shifted left, then right, i don't really see where it converts into a small enough number. 09:10:28 Since it's a 32-bit number, the >>27 makes it small enough, by taking the first five bits. 09:10:48 yeah seems like it would, was probably just artifact of notation 09:11:28 i missed the whole anding part first, so i was more worried about trying out the multiplication 09:11:33 assumed it was some serious magic 09:12:12 but it's a slim chance really any 32 bit number has the required property 09:12:44 (to do that kinda conversion for any number directly, given a suitable amount of shiftings and andings afterwards) 09:13:15 x & -x is pretty clever, although negation is not really a binary operation 09:13:40 ah 09:14:01 the magic number is just a number where all 5 bitsub sequences are different 09:14:05 *bit subsequences 09:14:14 that should've been kinda obvious 09:14:26 Yes. 0x0450FBAF seems to also be used elsewhere for that purpose. 09:14:38 err 09:14:42 for what length? 09:14:50 for five, i don't think it does it 09:14:54 0F = 00001111 09:15:02 AF = 10101111 09:15:05 01111 twice 09:15:16 for size four, doesn't do it either, for an even more trivial reason 09:15:59 for six, i can't see a problem instantly 09:16:52 Yes, I think it was checking the six top bits; it was for checking which interrupt needs to be processed in an interrupt handler. 09:17:46 err elaborate 09:17:54 liek checking how 09:18:26 Well, those things tend to have a register or something which has bits set for all the pending interrupts. 09:18:49 So the "find first set" thing can be used to select the lowest-numbered one for processing. 09:18:58 oh interrupts. 09:19:03 well, you see 09:19:22 you say interrupts, i read "this thing called X you don't need to translate to an object" 09:19:41 yeah, seems like it would do that 09:33:55 Eh, it took me something like ten minutes to remember the name ("de Bruijn sequence") for that sort of thing. (Although I guess that's not exactly it, since it's not doing the cyclic thing.) 09:36:00 it's doing it alright. 09:36:16 but names are nice, let's try to remember that one 09:38:28 i don't get all the human names for concepts, why not like "carnivorous sequence" or something. 09:38:58 It wasn't long ago a blog post about this (in the context of those four-digit decimal-number door-codes, and getting in with less than 4*10^4 keypresses since they only care about the four last ones) was going around them IRCs. 09:39:14 yes 09:39:21 well not yes, i didn't know that 09:39:31 but yeah i've invented the sequence in that context 09:40:37 usually, in turku, you can just get by knowing the firefighters' code 09:41:37 is that hard to create? 09:42:08 They've got non-human names for many number classes, though; there are at least friendly numbers, sociable numbers, weird numbers and frugal numbers. 09:42:30 i just know frendlies, and i don't even know what they are 09:42:49 but yes, also real numbers................................ 09:43:12 i should start getting to the lib before it closes prolly 09:43:47 Oh, and apocalyptic numbers. 09:43:52 :D 09:43:54 perfects 09:44:01 surreals 09:44:13 ("A number of the form 2^n that contains the digits 666", according to mathworld.) 09:44:18 (That's a bit boring.) 09:44:40 well that's clearly just a stupid joke 09:45:18 unless they have an uneven distribution, in which case it's probably a message from satan himself 09:45:21 "it"? 09:45:24 i'm not sure what it is 09:46:28 oh mathworld? 09:46:31 hmm. 09:46:57 well, not sure that changes anything. 09:49:30 A happy number is one where the iterated sum-of-squares-of-digits ("123 -> 1+4+9 = 14 -> 1+16 = 17 -> 1+49 = 50 -> 25 -> 29 -> 85 -> 89 -> 145 -> 42 -> 20 -> 4 -> 16 -> 37 -> 58 -> 89 -> 145"; now it's in a cycle) is 1 at some point. 09:49:48 I'm really not sure what makes it especially happy. 09:49:50 well, digits -> ugly 09:50:01 oh 09:50:11 ah sum of squares of digits right 09:50:25 "base doesn't matter!" 09:51:11 "An odious number is a nonnegative number that has an odd number of 1s in its binary expansion. -- Numbers that are not odious are said to be evil numbers." 09:51:27 Really, it's like they've been picking adjectives from a dictionary or something. 09:51:56 At least "odious" sort-of sounds like "odd", but the evil part is even less justified. 09:52:51 Oh, right, "even". Duh. 09:52:53 Still. 09:53:42 It sounds a bit harsh to say that any nonnegative number is either odious ("unequivocally detestable") or just plain evil. 09:56:43 umm. 09:57:11 well that's at least a somewhat useful class 09:58:42 But think of the numbers! 09:59:10 :D 09:59:28 well integers have always been such snobs 10:00:01 Yes, all holier-than-thou "god made us, unlike you other *invented* numbers" pomp. 10:00:03 yeah they have a few more interesting properties than general complexes, seriously, who gives a shit? 10:00:18 yeah 10:00:21 exactly 10:02:07 i mean a real, you can sqrt, and it'll work fine, try to do that to an integer, and noooo, "nah i don't feel like it, try to guy next to me" 10:08:12 -!- Corun has joined. 10:16:38 fizzie, hi 10:16:46 fizzie, progress on jitfunge? 10:21:38 Nope. I have a habit of extended hiatuses. Hopefully I'll get back to it some day. Probably a bit busy with work and such the next couple of weeks, though. 10:55:23 -!- Corun has quit ("This computer has gone to sleep"). 12:02:14 -!- Corun has joined. 12:04:01 -!- bsmntbombdood has quit (Read error: 145 (Connection timed out)). 12:14:43 -!- bsmntbombdood has joined. 12:40:28 fizzie, heh ok 12:42:36 -!- AnMaster has quit (Connection reset by peer). 13:58:25 -!- comex has quit (Read error: 131 (Connection reset by peer)). 13:58:50 -!- comex has joined. 14:00:47 -!- Judofyr has joined. 14:35:39 -!- olsner has joined. 14:51:32 -!- bsmntbombdood has quit (Read error: 110 (Connection timed out)). 14:58:35 -!- KingOfKarlsruhe has joined. 14:58:58 -!- bsmntbombdood has joined. 14:59:59 hi 15:01:14 Hey 15:04:30 -!- AnMaster has joined. 15:07:55 In which programming.reddit becomes a shithole:"For those of you who don't know: many of the best developers in the world hang out on irc.freenode.net. It's an amazing resource." 15:08:58 Are we the world's best deeloppers? 15:12:48 Yes. 15:13:54 I'm going to join ##c and ask about C#. 15:23:34 Yeah, go do a real language loser! 15:27:02 :D 15:34:01 ehird: ask why the characters are the wrong way around 15:34:11 yes 15:34:25 i think i had a dream where i was speaking in finnish in here. 15:34:49 um you are 15:35:34 well, the reason i remembered was that just after saying character thing, i had a short moment of panic thinking it was in finnish 15:35:46 because i talked to a finnish guy in english today, not realizing it at first 15:35:51 hahahaah 15:36:00 oklopol: make a polyglot sentence 15:36:14 i don't wanna tehdä niin 15:36:22 wat 15:36:28 ohh 15:36:31 polyglot sentence right. 15:37:22 i guess i could've answered "no", which would be sensible in both finnish and english 15:38:54 oklopol: i mean 15:38:56 what did that sentence say 15:39:22 the first one? 15:39:25 en halua do that 15:39:32 ah 15:39:32 :D 15:39:35 i like it 15:45:41 -!- jix has joined. 15:56:36 it's because the kernel uses ffs right? 15:57:19 that's seems like a very probable reason 15:57:26 *that's mats 16:10:17 -!- oerjan has joined. 16:52:44 oerjan: DID YOU KNOW "TACO CAT" IS A PAL IN DROME 16:53:36 what's a drome 16:53:37 No it's not. 16:53:46 It's TAC OCAT backward. 16:54:06 Slereah2: i don't get it 16:54:31 oklopol: Slereah2 wants equal representation for whitespace 16:54:55 oerjan: well yes i know 16:55:05 I'M JUST MAKING A STATEMENT. 16:56:28 WELL CAN I BE MAKING A QUESTION? 16:57:11 :O 16:57:15 no :< 16:57:57 i mean 16:57:59 well 16:58:00 THEN I'LL MAKE AN EXCLAMATION! 16:58:14 i'm still not satisfied 16:58:30 so how come we have so many courses at the uni i can't take them all at once 16:58:52 Only 24 hours per day, oklopol. 16:59:07 Slereah2: err. 16:59:12 oklopol: it's to give students incentive to invent time machines 16:59:15 in all unis? 16:59:39 it's a big worldwide plot 16:59:47 :| 16:59:52 god i hate the world 17:00:47 * oklopol takes some more courses, naturally laughing like a maniac while doing that 17:02:09 Destroy the world, oerjan 17:02:10 oklopol* 17:03:27 and have even less time for courses? funk no 17:05:29 But once the world is destroyed 17:05:38 You won't need to know anythinfg 17:05:56 and you'll have all the time in the world! 17:07:12 And then, bam! 17:07:15 Your glasses break 17:07:22 IT'S NOT FAIR! 17:08:27 now that's not a problem, since there'll be nothing to see 17:08:59 except Cthulhu. but don't mind him. 17:09:30 or you'll have no mind left 17:11:49 Only if you trust Lovecraft. 17:11:54 Sure, he's huge and slimy. 17:11:58 But is he maddening? 17:12:47 my eyesight is perfect 17:13:03 only noobs have imperfect senses 17:13:13 Like DAREDEVIL? 17:13:22 well okay he's the exception 17:13:29 he's so cool, oh my god he's cool. 17:16:34 heh, got naked, realized to curtains were open, looked out with my mouth open, quickly closed them 17:16:39 must have looked comical 17:17:42 Was anyone outside? 17:17:54 well this isn't bottom flooe 17:17:59 *floomy 17:18:04 floomy 17:18:14 -!- Slereah2 has set topic: http://tunes.org/~nef/logs/esoteric/ floomy. 17:18:15 but there are menny houses darr. 17:18:41 who wants to write c for me 17:18:53 c 17:18:53 i think c has already been written. 17:18:57 xDDDDDDDDDDDDDDDDDDDDDDD 17:19:04 lol 17:19:11 who wants to write c code for me 17:19:23 "c code" 17:19:25 xDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 17:19:33 oklopol, WITHOUT THE QUOTES! 17:19:46 don't hurt your jaw oklopol 17:19:47 WITHOUT THE... okay. 17:19:57 who wants to write a piece of c code for me 17:19:57 oklopol, ARGH! 17:20:01 a piece of c code for me 17:20:03 done 17:20:09 ehird: what piece 17:20:15 a piece 17:20:27 ehird, hey I wrote it ^ 17:20:34 go away 17:20:37 :D 17:20:49 ehird, error: label away not found 17:20:53 int main() {printf("Hello, world!\n");} 17:21:10 oerjan, forgot to include stdio.h 17:21:14 and forgot to return 17:21:19 AnMaster: "a piece" 17:21:19 #include 17:21:29 int main(void) {printf("Hello, world!\n"); return 0; } 17:21:35 oerjan, ah truye 17:21:37 true* 17:21:38 In which the RnRS editor is a successful troll: http://groups.google.com/group/comp.lang.scheme/browse_thread/thread/06f0588e1e4c999d/89120d79e5650d94?#89120d79e5650d94 17:22:13 LOL, then erik naggum replies without realising who it is 17:22:16 and insults his mental capacity 17:23:43 ehird, hm? 17:23:50 RnRS = scheme standards 17:23:59 the post linked is a joke putdown of scheme 17:24:05 and everyone replies seriously 17:24:06 hehe 17:24:46 1995 trolls were so much better. 17:24:52 USE REAL LANGUAGE FAGGOTS BRAINFUCK IS NOT WHAT EVERYONE WANT 17:27:18 fun thread 17:27:25 sadly don't have time to read it all atm 17:27:32 where can i find some real language faggots? 17:27:51 oh right, psygnisfive 17:28:13 groan 17:35:22 * ehird considers reinventing the wheel then doesn't because that's stupid 17:36:29 of course 17:37:10 reinvent the time machine instead. maybe _this_ time it won't be accidentally uninvented. 17:38:34 :D 17:42:32 Straw poll: Should I reinvent the wheel? 17:44:12 Oi. Vote. 17:44:21 You need to destroy the wheel, first. 17:44:26 Done. 17:44:32 ehird: of course :D 17:44:37 Aight. oerjan? 17:45:11 YES and quickly WHY did you destroy the wheel now i'll have to WALK to town HURRY UP 17:45:24 oerjan: here, have a wheel temporarily. 17:45:27 until I make my awesome one. 17:45:30 * ehird givse 17:45:33 gives 17:45:57 givse? is that related to goatse? no thanks. 17:46:10 * ehird gives 17:46:22 * oerjan snatches 17:49:45 A temporary wheel? 17:49:50 Is it octogonal? 17:50:12 * oerjan looks at it 17:50:33 not much 17:51:15 * ehird calls wheel-reinventing code "wheel" 17:51:25 ... this means I have to write c code ;_; 17:52:49 $ ls -l /bin/sh 17:52:50 -r-xr-xr-x 1 root wheel 106348 Dec 25 11:54 /bin/sh 17:52:51 hm? 17:52:54 just set the group 17:52:56 that should fix it 17:53:29 * AnMaster looks at ehird 17:53:30 -!- olsner_ has joined. 17:53:36 olsner_, hi 17:53:37 ... 17:53:38 AnMaster: 17:53:41 stop talking. 17:53:44 ehird, why? 17:53:46 you're making a fool of yourself. 17:53:55 ehird, no I was playing along with the joke 17:54:06 -!- olsner has quit (Read error: 104 (Connection reset by peer)). 17:54:07 no sentient organism could consider that a joke 17:54:18 and I don't talk to chatterbots :D 17:54:50 ehird, you mentioned you wanted to reinvent a wheel before? How does that make you feel? 17:54:54 ;P 17:54:55 AAAAAAAAAAAAAAAAAAAAAAA 17:55:11 now if that wasn't funny... 17:55:13 AnMaster: ¨ª•¶å¥•ÊÁ*‡§¶å§¢Åfi‹#€€€€€€€€€€€€€€€#¢Å‡fi‡¥å˙•ªå¶§¶∞Åfifl‡fl\0\0\0exit(1); 17:55:18 ehird, thanks 17:55:22 I take that as a laugh 17:55:31 AnMaster: dammit, you didn't buffer overflo¶••••••¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶exit(1); 17:55:41 the _universe_ is a joke (and a bad one, too). AnMaster is merely a part of it. 17:55:49 oerjan, oh yes it is 17:56:41 _someone_ should have realized that a joke that takes billions of years to tell isn't very good 17:56:51 who knows scons(1)? 18:02:55 ehird, I think fizzie does 18:03:41 Why didn't the chicken cross the road? 18:03:42 AnMaster: what build tool do you use, then. 18:04:25 ehird, I'll answer that once you answer my question 18:04:35 no. 18:04:43 well I use cmake mostly 18:04:47 ew 18:05:10 anyway the answer was: because there was no crossing at that place 18:05:12 ;P 18:05:25 zebra crossing* 18:05:50 k. 18:10:28 specifically I'm trying to get scons to vomit all the .os and binaries into build/ 18:10:33 same with its .sconsign.dblite thang. 18:11:02 ehird, I would assume you could just do something like: 18:11:04 mkdir build 18:11:06 cd build 18:11:09 scons --source .. 18:11:10 or whatever 18:11:28 such systems work for cmake and autotools 18:11:29 I'm not in the mood for assumptions. 18:11:39 (cmake .., ../configure) 18:14:46 By the way, I'm now taking guesses as to what the project is. 18:16:48 No? 18:19:43 Hmph. oerjan? AnMaster? 18:20:19 ehird, why would I want to guess? there are lots of projects using scons 18:20:26 though I much prefer scones 18:20:27 :P 18:20:28 I wasn't talking about scons. 18:20:53 ehird, what on earth then were you talking about? 18:21:03 The project. Of reinventing the wheel. 18:21:06 I am now taking guesses as to what it is. 18:21:25 a project reinventing something in a better way 18:21:27 Yes. 18:21:29 But what is it. 18:21:29 maybe that linter? 18:21:36 could be that linter... 18:21:43 Nah. 18:22:17 ehird, also I suggest not reinventing the round wheel, nor the square wheel 18:22:22 I have a better shape I believe 18:22:27 hexagonal 18:22:28 :( 18:22:30 :)* 18:22:40 it will be a four dimensional shape. 18:22:42 now make another guess :| 18:22:47 ehird, wow 18:22:52 hypercube wheel?! 18:22:59 reinventing the hypercube wheel 18:23:02 that sounds cool 18:23:02 yes. 18:23:19 ehird, what lang are you coding it in you said? 18:23:20 C? 18:23:23 C 18:23:41 ehird, why are you using C and not python? Low level OS stuff needed, or due to performance? 18:23:45 or something else? 18:23:50 Performance, pretty much. 18:23:54 It's not a job for Python. 18:24:01 (It's not OS-level, either, though.) 18:24:02 (or ruby or such) 18:24:05 hm 18:24:13 ehird, graph database? 18:24:25 Nah, a graph database could be done in Ruby/Python/etc. 18:24:33 wouldn't scale to huge datasets then 18:24:38 hm 18:24:49 ehird, have you mentioned this project before in the channel? 18:24:58 I think I've mentioned doing something like it. 18:25:03 hm 18:25:10 ehird, no I can't guess without some hints 18:25:11 I've yelled about the wheel I'm reinventing before in here almost certainly 18:25:20 AnMaster: it's very much to do with IO. 18:25:31 ehird, also you yelled about reinventing the wheel a lot of times 18:25:44 for many different things 18:25:47 AnMaster: it's very much to do with IO. :P 18:25:50 ehird, some server? 18:25:57 Getting hotter. 18:26:06 cool, err I mean hot! 18:26:15 hm 18:26:31 ehird, you always complained about bad web servers 18:26:37 OUCH IT BURNS 18:26:39 apache, lighttpd, nginx, and so on 18:26:40 Yah 18:26:47 so I guess you are writing your own 18:26:50 I am crazy enough to attempt to write my own web server. :D 18:27:03 This will either go brilliantly or terribly. 18:27:05 ehird, I was trying to be tactful... 18:27:09 remember it was you who said it 18:27:20 Yeah but you got it :P 18:29:08 Basically, this webserver will have mod_kitten. 18:29:11 Everything else comes from that. 18:29:14 -!- Judofyr_ has joined. 18:29:17 Well, by mod_kitten I mean modules/kitten.c. 18:37:49 I dunno what it'll do. 18:37:53 Give you an ASCII art kitten? 18:40:38 -!- Judofyr has quit (Read error: 110 (Connection timed out)). 18:41:40 that's thinking small. 18:42:13 it should enclose every page in a speech bubble so that a kitten's saying it. 18:44:19 so 18:44:22 any programmers in here? 18:44:37 nope 18:44:38 no 18:44:47 i'm thinking maybe i should look into that 18:44:52 i hear it can be pretty fun 18:44:59 think that's true? 18:45:12 yes 18:45:15 Administrivia 18:45:16 err 18:45:18 10:41:40 that's thinking small. 18:45:19 10:42:13 it should enclose every page in a speech bubble so that a kitten's saying it. 18:45:21 fuck _yes_ 18:45:54 i understand some people here have trouble understanding humor. 18:46:03 this page may help: http://www.insaneabode.com/roboterotica/jokesexplained/jokes.html 18:46:31 oerjan: but how can i open that when it's old? 18:46:41 :< 18:46:49 * oklopol is sad 18:47:12 in that case, _this_ page may help: http://www.mezzacotta.net/singles/jokes_explained_explained.php 18:47:47 and if you still aren't getting, it, try: http://www.mezzacotta.net/singles/jokes_explained_explained_explained.php 18:47:52 oh 18:47:54 that one is new! 18:48:03 from today 18:48:24 I WONDER WHAT THEY COME UP WITH NEXT 18:52:03 -!- atrapado has joined. 18:56:18 -!- oerjan has quit ("Gotta get the wheel to the bus"). 18:56:52 plausible explanation 18:59:03 -!- MizardX has quit ("Blue squares floting about..."). 18:59:30 -!- MizardX has joined. 19:10:03 -!- KingOfKarlsruhe has quit (Remote closed the connection). 19:12:33 hey. uhh, who knows c here and is alive. AnMaster: what hash table lib do you use 19:12:55 libghthash, but there are many others 19:13:01 -!- Vendan has quit (Read error: 60 (Operation timed out)). 19:13:11 this is for storing http headers fwiw 19:13:17 one called sunrisedd (iirc) looked good but had possibly bad license 19:13:24 so short string -> medium-length string 19:13:31 also, needs to be MIT-compatible 19:13:31 ehird, I suggest testing different ones and finding out which one works best for you 19:13:38 mm, but that's work 19:13:40 maybe I should roll my own 19:13:43 ehird, libghthash is lgpl 19:13:56 also rolling your own hash library is kind of hard 19:14:09 i wrote a hash table in my sleep once, but it sucked :P 19:14:14 hrm 19:14:18 does lgpl mesh with mit? 19:14:22 ehird, IANAL 19:15:31 ehird, hm, the current main performance bottle neck in cfunge is pushing strings on the stack it seems 19:15:50 I guess I could make the stack grow down instead and then simply memcpy() them 19:15:56 no need to reverse the data then 19:16:27 and it could make use of SSE ;P 19:16:32 ehird, what do you think? 19:16:39 go for it. 19:16:48 AnMaster: did you do that static fungespace thing? 19:16:56 yes I did 19:17:24 it is using libghthash if outside the static area 19:17:35 works fine for most common programs since they usually only use a small area around 0,0 19:19:00 how much does fungot stray from it? 19:19:01 ehird: this is fnord to see their fnord pomorski only needs to be used to support the views herein. given that other prominent sources ( including britannica) follow the medical discharge story, perhaps we should all be moved down to near the end of the second 19:19:06 ^style 19:19:07 Available: agora alice darwin discworld europarl ff7 fisher ic irc lovecraft pa speeches ss wp* 19:19:10 heh 19:19:22 ehird, not much excelt when running underload 19:19:26 then it can go way off 19:19:35 ah 19:19:59 by using a 128 MB static array I managed to fit the underload area nicely into the static area, but that sucked for other reasons obviously 19:20:08 * ehird decides to make static file serving a module because he is crazy. 19:20:11 I bet you can imagine 19:20:23 ehird, heh 19:20:28 AnMaster: hey, my VPS could run two whole funge programs with that. 19:20:30 assuming no OS. 19:20:32 ehird, going to use sendfile()? 19:20:37 yes. 19:20:51 * ehird has to support both kqueue and epoll because he devs on os x and deploys on linux :''''''''''''( 19:20:59 ehird, hah, well normal size of the static array is 1024*1024*4 bytes in a 32-bit build 19:21:04 so around 4 MB 19:21:39 the main issue with fungot is that it uses a lot of cells left and right 19:21:40 AnMaster: quoting the article: ' ' adding 3 meas. of 5/ 8, though i tried to find a q&a that is no longer the inevitable number 1 in both categories. small—preceding wikipedia:signaturesunsigned comment added by special:contributions/ fnord) 19:21:43 for underload stack things 19:22:09 ehird, bbl 19:22:20 Hmm. You can't stuff sockets into a FILE * can you? 19:22:22 Dammit. 19:22:51 -!- Corun has quit ("This computer has gone to sleep"). 19:25:29 -!- Judofyr has joined. 19:28:07 -!- Judofyr has quit (Client Quit). 19:33:23 -!- Judofyr_ has quit (Read error: 113 (No route to host)). 19:36:11 ehird, afaik: no 19:36:20 ehird, why would you want to? 19:36:30 also use writev() if you have more than one thing to write 19:36:33 not write() 19:36:41 AnMaster: Trying to represent "socket or file", although I guess it's more "socket or file or just about anything else, like a string" 19:36:49 So I guess I should write my own abstract-io layer for that. 19:36:58 ehird, std:basic_stream ;P 19:36:59 * AnMaster ducks 19:37:04 die 19:37:05 ::* 19:37:14 what 19:37:25 s/:/::/ == ::* 19:37:48 o 19:37:48 ehird, anyway C has string-as-stream iirc 19:37:50 the * comes first :P 19:37:50 oh 19:37:52 also, does it? 19:37:54 glibc does too 19:37:56 wat 19:38:00 err 19:38:03 C++ does 19:38:06 and so does glibc 19:38:31 for C++: 19:38:32 std::stringstream 19:38:49 for glibc, I'm currently trying to remember the function name 19:40:46 ehird, man fmemopen 19:40:50 on a system with glibc 19:40:54 it is a glibc extension 19:41:00 totally crazy one 19:41:14 right, I'm not making myself gnu-specific 19:41:20 ehird, agreed 19:41:24 I wouldn't use it either 19:41:26 because i gdon't like it :D 19:41:33 ehird, except iirc it is in POSIX.1-2008 19:41:45 w/e :P 19:41:48 i'll write my own layer 19:42:02 ah yes it is 19:45:36 -!- Corun has joined. 20:28:20 i AM a real language faggot :o 20:28:34 btw have i mentioned how delicious cocks are? 20:28:53 and by that i mean like 20:29:03 oh muh gawwwd cocks <3<3<# 20:29:43 ... 20:29:44 hi,. 20:29:50 hey. 20:29:54 hello psygnisfive 20:30:01 hey oklopol. 20:30:04 nice to see you back to normal 20:30:14 back to normal? 20:30:21 yes 20:30:30 as in not oklo[^d]ol 20:30:30 i guess it's all the c++ i've been reading. 20:30:34 ah! 20:30:39 er 20:30:41 [^p] 20:30:48 damn rotational lysdexia 20:31:19 rotational dyslexia? i am skeptical 20:31:31 :) 20:31:35 so whats up kiddos 20:31:52 * oklopol goes back to reading, just had to help making that highly sophisticated group joke, which failed 20:32:00 *try to help 20:32:18 psygnisfive: same as usual. you know, stuff. 20:32:22 rd -> 20:32:27 wait wait wait 20:32:28 STUFF? 20:32:35 when the fuck did THIS happen? 20:32:49 oklopol is 20:32:50 pregnant 20:32:57 well yes, he would be 20:36:55 my farina was too sweet :( 21:10:26 rotational dyslexia? i am skeptical <-- googling shows the term exist, 120 hits, all seems to be forums or similar, no verifiable source 21:10:54 that was with quotes 21:31:57 psygnisfive: well depends on the definition of "stuff" 21:32:20 i've been reading quite a lot for about half a year now 21:32:28 but that's really it. 21:34:27 well. not really a lot. maybe 40 page average a day. 21:34:41 more like steady. 21:35:16 ive been reading jared diamonds "collapse" 21:35:57 i've been reading all kinds of shit. 21:37:14 wtf. i just keep getting more and more money no matter how much i spend. 21:37:27 oklopol, hm give some to me? 21:37:34 ;P 21:37:51 AnMaster: the more money i have the less i want to share it. except if i had enough, that would probably change. 21:37:52 yeah give me some too 21:38:10 oh oklopol but obviously if you spend it frivolously you have even MORE money! 21:38:14 oklopol, you said you read "all kinds of shit", what did you see in it? I assume it is like reading the future in innards, except using excrement instead. 21:38:14 so spend it on us :D 21:38:20 i mean one of my dreams has always been to pick a random bum and give them a million dollars. 21:38:29 pick me pick me! :D 21:38:44 AnMaster: excrement books 21:38:45 i see a market 21:38:55 AnMaster: what ehird said, only faster. 21:38:57 i mean 21:39:00 *only slower 21:39:09 ehird, hm... "don't scratch and sniff" 21:39:13 since that fucker types faster than i think 21:39:59 wait... i'm just about to pay a 400 dollar bill, that's why i saw how much i have :DD 21:40:05 way to use my brain. 21:40:16 so yeah, k, i haven't really gotten much richer if you take that to account. 21:40:26 or rather take that from my account 21:40:31 (zing) 21:40:42 badum tish 21:55:48 oh. it's because my demented grandma's munnies are being transferred to me. 21:55:59 i guess i should do a shopping spree or something 21:56:11 ...what do ppl buy except food? 21:56:21 umm 21:56:22 things 21:56:24 computers? 21:56:32 hmm 21:56:46 yeah another computer would be nice 21:56:56 oklopol: ummm houses? 21:56:58 i don't know 21:56:58 i used to use three of them, that was so nerdly 22:00:25 okay, sleep and sp -> 22:21:13 ehird, there? 22:21:17 that web server thing 22:21:19 yes 22:21:22 mmhm 22:21:31 still working on it? 22:21:40 i don't give up on projects that easily :-) 22:21:41 yes 22:21:46 what about using publicfile?~ 22:21:46 but not actually coding it atm 22:21:49 wat? 22:22:06 http://cr.yp.to/publicfile.html 22:22:23 AnMaster: you mean using it for an http server? 22:22:30 ehird, yes~ 22:22:36 oh, sarcasm marks :P 22:22:49 i was about to reply why it's useless for anything but serving static files if you're djb :P 22:22:53 ehird, no not at all~ 22:23:21 Some versions of fhttpd allowed remote users to take over the entire machine. ``I don't think bugs of this kind are left in it,'' the author says. How much is he willing to bet? 22:23:27 ^ jeez, djb, and how do you know you have no bugs? 22:23:48 more likely nobody's told you of any because nobody uses your server. 22:23:54 "# publicfile avoids bug-prone libraries such as stdio. " 22:24:00 I'd like to see his replacement 22:24:01 well i agree there, stdio sux 22:24:04 AnMaster: he has it on his site 22:24:44 AnMaster: http://www.fefe.de/djb/ is an extracted version of djb libs including his io lib 22:24:54 hm ok 22:25:02 * AnMaster was reading http://cr.yp.to/lib/io.html atm 22:26:35 libio, is that next to libya? 22:27:05 i still want to writ libibido 22:28:31 hm how much of music can midi describe? I mean stuff like on a violin you can play pizzicato (plucking strings with finger) as well as lots of other variations 22:28:52 -!- GreaseMonkey has joined. 22:29:37 ooooooooooooo 22:29:55 pizzicato is just a female staccato 22:30:21 and staccato is just a gay [short note followed by a pause] 22:30:27 * psygnisfive plucks anmaster's guitar strings 22:31:03 anmaster, i suspect that midi can describe it in arbitrary detail to some extent 22:31:21 i think he's point is whether it has that actual concept. 22:31:24 i mean, Kurzweil synths do midi out, and also can basically synth any music 22:31:38 well can't you somehow add instruments to midi? 22:31:43 i don't actually know much about it 22:31:54 midi i think is just a standard for music representation 22:32:03 i think its instrument independent, to some extent 22:32:11 hmm, yes that's very probably 22:32:19 i don't really know its ideology 22:32:21 hey 22:32:27 i was gonna sleep. 22:32:28 -> 22:32:34 so whether or not something is plucked vs bowed i think depends on how you read off the midi to audio 22:34:07 AnMaster: will you use my server? i would feel bad if nobody did ;'( 22:34:14 whats your server do, ehird 22:34:19 serve thigs 22:34:19 things 22:34:24 yes but what for? 22:34:30 for whatever 22:34:39 can i host porn on there? 22:34:59 what? 22:35:05 it's a server. 22:35:06 a program. 22:35:13 code. 22:35:15 you know. 22:35:17 in a programming language. 22:35:27 yes 22:35:56 how can you host porn on a program 22:37:05 same way you host anything on a server. 22:37:35 psygnisfive: if I told you I had just written an IRC server 22:37:44 would you say "can i host porn on your irc server?" 22:37:48 no because that makes no fucking sense 22:37:49 it's just a program 22:37:57 no, but you just said "server" 22:38:01 so i asked what kind 22:38:05 what does it do 22:38:08 and you said it serves things 22:38:17 so i asked if it could serve porn 22:38:21 none of this is contradictory 22:39:00 yes, you can use the program to host porn. but "there" is incorrect 22:39:06 "can i host porn with it?" would be more valid 22:39:18 it's just a web server 22:40:27 yes, well 22:40:32 you host things on web servers. 22:41:30 ooooooooooooo. 22:41:35 klopol. 22:41:42 o. klo. pol. 22:41:50 ok. lop. ol. 22:42:03 okl. opo. l . 22:42:13 my thoughts exactly 22:42:21 ugain ~> 22:42:22 oklo. pol. . 22:51:37 -!- Sgeo has joined. 23:06:24 -!- oerjan has joined. 23:45:51 who is alive 23:46:26 the doctor? 23:49:46 meeeeeeeeeeeeeeee 23:50:01 mooooooooooooooo 23:50:09 who else 23:51:05 guys I'm going to set my computer to the year 9999 23:51:07 and see what breaks 23:51:10 wish me luck 23:51:38 in the year ninety-nine, ninety-nine 23:51:45 ok im in 2038 23:51:50 whoa 23:51:52 -!- seveninchbread has joined. 23:51:57 23:59:59 1 jan 2038 23:51:58 goes to 23:52:01 00:00:00 1 jan 2038 23:52:04 i have found groundhog day 23:52:06 duuuuuuuuuuuuuuuuuuuude 23:52:19 duuuuuuuuuuuuuuuuuuuuude 23:52:38 lol i wondr how much is broke 23:52:50 WHAT SHOULD I DO IN THE FUTURE OERJAN 23:52:51 would have expected that to be in 2012, me thinks 23:53:01 everything lagggggggggg 23:53:03 something doesn't like this 23:53:04 -!- Corun has quit ("This computer has gone to sleep"). 23:53:08 LOL 23:53:11 The server error encountered was: Mail was unable to verify the identity of this server, which has a certificate issued to "imap.googlemail.com". The error was: 23:53:12 The certificate for this server has expired. 23:53:12 time dilation 23:53:16 it thinks it expired like yeaaaaaars ago 23:53:16 XD 23:53:47 this is so lulzy 23:53:50 YM millennia 23:53:55 naw 23:53:58 2009 -- 2038 23:54:04 it didn't set further than that 23:54:06 oh you're not at 9999 yet 23:54:09 i can't 23:54:17 01/01/2038 is the last unix representable date 23:54:22 in 32-bit 23:54:23 oh 23:54:31 ooooooooooooooo 23:54:32 that's why 23:59:59 rolled to 00:00:00 on the _same day_ 23:54:34 01/01? that's a bit of coincidence... 23:54:36 this day repeats itself, FOREVER 23:54:37 oerjan: not rly 23:54:40 epoch is 01/01/1970 23:54:46 i.e., that's time 0 23:54:53 oerjan: it's basically multiplication to figure that out 23:54:58 how come you didn't see it 23:55:03 yes but why would it be a whole number of years 23:55:25 this is all logging to 2038 ^.^ 23:56:45 ok im back in 2008 23:57:02 -!- rodgort has quit ("Coyote finally caught me"). 23:57:16 -!- rodgort has joined. 23:59:17 "The minimum representable time is 1901-12-13, and the maximum representable time is 2038-01-18" 23:59:31 not 01-01