00:01:12 i described it few minutes ago 00:01:25 nooga, which lines 00:02:00 -!- poiuy_qwert has quit (Read error: Connection reset by peer). 00:02:01 oh up there 00:02:04 nooga, meh 00:02:15 http://tunes.org/~nef/logs/esoteric/10.07.04 15:18:09 00:02:27 nooga, two views how? 00:02:33 nooga, I don't get that 00:02:53 it would show how memory looks in two ways 00:03:10 one - 1d array of addressed cells 00:03:20 and second - boxes with arrows 00:03:23 uhu 00:03:32 nooga, and what if I pass you a void* ? 00:03:38 -!- poiuy_qwert has joined. 00:03:47 ah, details details ;f 00:03:59 maybe a dot? :D 00:04:04 nooga, or what if I pass you a intptr_t 00:04:24 that one can reasonably be expected to not be quite what it seems like 00:04:35 nooga, oh also function pointers should be fun 00:04:44 eh 00:04:57 this would be for basic education 00:05:08 they don't have a clue that function pointers exist :D 00:05:21 nooga, qsort() ? 00:05:31 meh 00:05:37 no qsort 00:05:42 not C then 00:05:54 that is what ISO says 00:06:06 i was talking about simple subset of C that has structures and pointers 00:06:11 I see 00:06:12 and functions 00:06:16 and some basic types 00:06:20 to explain the idea 00:06:35 nooga, *((float*)&myint) 00:07:10 (note: this is a bad idea in general, use unions and rely on a slightly more reliable non-standard conforming behaviour 00:07:19 ) 00:07:34 at least that way the alias analysis won't end up all confused 00:08:03 uh 00:08:12 right 00:09:17 nooga, C without all these kind of strange corners and hacks would be no fun at all 00:10:03 if they get the general idea they are able to understand these hacks in the real C 00:11:26 nooga, whiteboard. Try it. I think it worked on the other students 00:12:33 but i would like to give them a toy so that they would be able to experiment at home 00:13:10 nooga, wget gcc? 00:13:11 ;P 00:13:28 nooga, also if they are using windows shit: every university seems to have MSDNAA 00:13:29 -_- 00:13:58 heck I have MSDNAA through university 00:13:59 yeah 00:14:19 but neither gcc nor msvc EXPLAIN what happens during the execution 00:14:51 nooga, gdb! 00:14:57 well 00:15:03 gdb is extremely confusing for newbies 00:15:06 not explains as such 00:15:14 more like can be threatened to tell you 00:15:18 reluctantly 00:15:20 :D 00:15:43 nooga, iirc the msvc debugger was very graphical and such 00:15:55 it is 00:16:00 but it's not enough 00:16:01 :D 00:16:08 nooga, yeah MSVC doesn't do C99 00:16:19 so utter utter fail 00:17:31 * AnMaster ponders multiclassing in nwn 00:18:41 lvl 10 human true neutral fighter. Multiclassing with some class able to cast magic 00:18:42 which one 00:18:43 hm 00:20:37 nwn huh 00:20:42 yeah 00:20:50 nooga, neverwinter nights 00:21:41 yeah, i know 00:21:47 i played that few years ago 00:22:00 -!- poiuy_qwert has quit (Read error: Connection reset by peer). 00:22:25 nooga, any hints on multiclassing? 00:22:38 nooga, first time I played it 00:23:32 nah, i don't remember anything 00:23:36 -!- poiuy_qwert has joined. 00:32:37 -!- Guest45042 has joined. 00:32:52 Is there anybody in here? 00:33:21 -!- MizardX has quit (Ping timeout: 240 seconds). 00:33:52 -!- Guest45042 has quit (Client Quit). 00:58:11 http://pastie.org/1030623 00:58:17 this is awesome 00:58:19 happy parsing 00:59:11 lol 00:59:27 pus indeed 01:00:15 actually it was a first test 01:00:26 of my ultimate stupidness machine 01:02:10 indeed 01:05:00 no, actually it's fretty useful atm 01:05:05 pretty* 01:08:48 huge progress was made 01:11:41 you know, a large percentage of figures in books, games, movies and so on, can be nicely put into one of the classical D&D alignments 01:11:56 while very few "real-world" persons can 01:12:09 nooga, alise: ever noticed that? 01:12:29 lol 01:12:52 alise, this means we are rather bad at inventing realistic stories 01:12:55 or that reality is boring 01:13:02 -!- poiuy_qwert has quit (Read error: Operation timed out). 01:13:02 I suspect both 01:13:09 hah 01:13:21 I think stories are unrealistic for a reason, yeah 01:13:30 wow 01:13:51 but alise is _definitely_ some chaotic alignment 01:14:02 chaotic neutral I think 01:14:02 :D 01:14:35 nooga, you... I couldn't put an alignment on 01:15:18 :F 01:15:39 personally I always liked playing true neutral in games where you can select that. Though that doesn't mean I am true neutral myself 01:15:44 maybe he's ... not human? 01:15:46 whatever ... ;| 01:16:14 olsner, iirc non-sapient beings in D&D are true neutral? 01:16:50 non-human != non-sapient ... but of course D&D includes non-human species anyways, like elves and stuff (right?) 01:17:08 olsner, yes 01:17:15 olsner, and they can have alignment afaik 01:17:20 mmmm... bedtime 01:17:24 c'ya 01:17:47 cya 01:18:02 it is bedtime here too, but I refuse to sleep instead of watching doctor who 01:19:04 -!- nooga has quit (Read error: Connection reset by peer). 01:21:47 nooga is chaotic good 01:21:50 AnMaster is boring preist 01:22:04 *priest 01:22:59 i think most people here are chaotic 01:23:26 priest? 01:23:28 nah :P 01:23:42 ais523 is lawful good, but there's some chaotic in him too... 01:23:44 I am not familiar with these alignments - what am I? 01:23:49 alise, oh yes I agree on that 01:23:51 he's lawful good but not a goody-gooder 01:23:54 olsner: http://en.wikipedia.org/wiki/Alignment_%28Dungeons_&_Dragons%29 01:24:00 {lawful,neutral,chaotic} {good,neutral,evil} 01:24:10 lawful good = obvious 01:24:11 It must be said: lawful good != lawful stupid. 01:24:18 lawful neutral = gray hat 01:24:24 lawful evil = CEO 01:24:36 neutral good = um... this one doesn't make so much sense 01:24:39 neutral = booring 01:24:48 alise, so I'm true neutral then? 01:24:50 :P 01:24:50 neutral evil = legally grey, morally black 01:25:01 chaotic good = oklopol 01:25:12 chaotic neutral = barbarian :P 01:25:19 chaotic evil = the joker 01:25:30 good summary 01:25:35 alise, but you need examples for all 01:25:48 eh, good enough to explain :P 01:25:57 alise, yes but I want an example for neutral evil 01:26:04 it was fun :P 01:26:35 olsner, and I can't classify you, don't know you well enough 01:26:39 Lawful good = Superman, Chaotic good = Batman. 01:26:40 :P 01:26:43 neutral evil is, literally, someone who has a regular respect for the law... could steal if they had a really, really good reason to 01:26:49 but deep down they're evil 01:26:52 it's not a very realistic class 01:27:02 People who are neutral with respect to good and evil have compunctions against killing the innocent but lack the commitment to make sacrifices to protect or help others. Neutral people are committed to others by personal relationships. 01:27:03 pikhq, chaotic good = robin hood 01:27:04 neutral is basically "normal person" 01:27:09 pikhq, I think that one is even better 01:27:10 AnMaster: Another good example. 01:27:15 there aren't many actual altruists who would make sacrifices 01:27:18 I think I'm neutral/lawful good 01:27:19 chaotic is a bad name, really 01:27:28 olsner: you probably aren't good 01:27:35 Good implies altruism, respect for life, and a concern for the dignity of sentient beings. Good characters make personal sacrifices to help others. 01:27:35 alise, that was nasty ;P 01:27:35 Evil implies harming, oppressing, and killing others. Some evil creatures simply have no compassion for others and kill without qualms if doing so is convenient or if it can be set up. Others actively pursue evil, killing for sport or out of duty to some malevolent deity or master. 01:27:35 People who are neutral with respect to good and evil have compunctions against killing the innocent but lack the commitment to make sacrifices to protect or help others. Neutral people are committed to others by personal relationships. 01:27:47 no 01:27:51 it's just that good is almost never found outside of fiction 01:27:54 the good side of neutral, yes 01:27:54 true 01:27:59 good? ais523 is the only example i've seen 01:28:02 alise, I definitely feel like a true neutral a lot of the time 01:28:04 per those definitions 01:28:09 oh yes 01:28:24 I'm definitely chaotic, I don't really care about the law much at all 01:28:27 I agree ais is definitely lawful good 01:28:33 only what i consider moral 01:28:40 right, maybe rather neutral than good 01:28:40 alise, yes you are chaotic in every sense of the word 01:28:41 I'd like to be chaotic good, but I'm probably chaotic neutral 01:28:49 alise, chaotic neutral *definitely* 01:28:56 you said chaotic good before :P 01:28:59 er no wait 01:29:00 you said neutral 01:29:02 yeah i agree then 01:29:02 alise, yep 01:29:15 i dunno, batman may be closer to chaotic neutral 01:29:18 he can be pretty vicious 01:29:24 alise, or as tv tropes put it: totally unpredictable lunatic 01:29:31 chaotic neutral that is 01:29:35 I'd like to be Chaotic Good, hut I'm more Lawful Neutral 01:29:36 also the adam west batman was ... not chaotic 01:29:52 adam west? 01:29:53 Well, maybe "like to be" is the wrong phrase 01:29:55 AnMaster: I think I lean towards the good side, though 01:30:01 I don't ever try to hurt someone 01:30:04 http://en.wikipedia.org/wiki/Batman_%28TV_series%29 01:30:07 the thing that made batman famous 01:30:12 alise, maybe somewhat 01:30:17 http://www.thedarkknight.matthewclose.co.uk/AdamwestBatman.jpg 01:30:23 * 01:30:28 ADAM WEST 01:30:36 Slereah highlights 'adam west' 01:30:57 alise, XD 01:30:57 alise: Sadly, "ham" is not an alignment. 01:31:04 pikhq: wat. 01:31:04 I think about Batman all day long 01:31:04 pikhq, wut? 01:31:12 Slereah: What about the night???? 01:31:26 alise, so what is your alignment? 01:31:28 I dream of Batman. 01:31:29 err 01:31:30 Slereah, ^ 01:31:34 damn tab 01:31:34 wow, TeX syntax is very unsuited to keyword arguments 01:31:46 Slereah is ... hmm 01:31:55 I'M BATMAN 01:32:00 alise, oerjan is chaotic I think 01:32:00 Can't say for sure 01:32:06 Slereah doesn't seem chaotic, not really 01:32:13 he might be a dirty pirate but... 01:32:20 neutral, I guess 01:32:26 alise, true neutral? 01:32:31 oerjan isn't chaotic, when has oerjan ever broken the law? 01:32:37 he's cackly, yes, but that's just irc :P 01:32:40 alise, oh hm good point. 01:32:47 i'd call oerjan another true neutral 01:32:51 alise, like me? 01:32:54 "In the Complete Scoundrel sourcebook Batman, Dick Tracy and Indiana Jones are cited as examples of lawful good characters." 01:32:59 clearly an adam west watcher 01:33:03 http://i26.tinypic.com/t7iujq.jpg 01:33:12 alise, yet you said true neutral was boring. You never considered oerjan boring? 01:33:17 AnMaster: well no 01:33:22 but, edgecases 01:33:25 "Examples of Neutral Good characters include Zorro, and Spider-Man." 01:33:30 spider-man is less lawful than batman? 01:33:32 this page is an abomination 01:34:02 Batman is of every alignment 01:34:03 http://i26.tinypic.com/t7iujq.jpg <- hah 01:35:06 moriarty is badass 01:35:42 "Who else would kick a man for eating ice cream?" XD 01:36:00 heh 01:36:24 "Lara Croft, Lucy Westenra from Dracula and Han Solo in his early Star Wars appearance are neutral." 01:36:46 I agree about Han Solo in the first half of the first movie 01:36:51 (produced that is) 01:37:26 alise, he is a mercenary basically. They tend to be neutral, possibly even true neutral 01:37:39 maybe lawful neutral *shrug* 01:37:47 chaotic evil is awesome 01:38:02 alise, too destructive for my taste 01:38:09 chaotic good is a bit rubbish, it's just antihero 01:38:12 and antihero is way too overdone 01:38:12 alise, neutral evil however is awesome 01:38:13 by now 01:38:17 Here, have this handy map : http://membres.multimania.fr/bewulf/Divers9/The_Planescape_Multiverse_by_zen79.jpg 01:38:19 AnMaster: yeah, but chaotic evil is the Joker 01:38:22 chaotic evil destroys the universe 01:38:28 alise, chaotic good is hero as well. Robin Hood for example 01:38:44 well true 01:39:02 alise, I would say anti-hero is in some neutral 01:39:07 http://upload.wikimedia.org/wikipedia/en/7/7c/Detective-33-Bat.png "...Literally!" 01:41:47 oh god, I found "dungeons and lolcats" when googling -_- 01:42:01 http://upload.wikimedia.org/wikipedia/en/7/77/Batbed.png <-- not homoerotic whatsoever. Nope. 01:42:09 AnMaster : link 01:42:27 Slereah, it isn't even very good 01:42:31 Every adoptive parent sleep with their orphans, doncha know? 01:44:17 Slereah, IMO it is piss poor, but see http://splinteredportals.com/cat_alignment/ if you are really interested 01:44:56 Lolcats became pisspoor a long time ago. 01:45:04 yes 01:45:11 "LoLcats" 01:45:15 It's not a lolcat, it's a LoLcat 01:45:21 Laugh out loud cats 01:45:25 http://splinteredportals.com/cat_alignment/5_true_neutral.jpg How is that true neutral at all? 01:45:30 alise, exactly 01:45:34 I said it was piss poor 01:47:18 * alise wonders what to add to leaden. Actual UI, perhaps?!?! 01:47:28 Indentation? Oh, the possibilities. 01:48:18 indent.py gets its own file because indentation logic is pretty damn complex. 01:48:39 The question is, how many lines before of context do you need to determine the next line's indentation... 01:48:41 I guess just one. 01:49:20 -!- BeholdMyGlory has quit (Remote host closed the connection). 01:49:21 this image was good though (not lolcats but still awesome): http://vampjac.com/lj/humor/gygax/multiclassing.jpg 01:49:37 man, that would have made lotr like 50 times better. 01:49:39 alise: omg are you writing your editor in python? 01:49:44 alise, :D 01:50:26 olsner: is that a sin? I don't like Python, but I can't think of anything else that it'd be nice and easy to use gtk from and do stuff like this. 01:50:28 -!- BeholdMyGlory has joined. 01:50:52 AnMaster: "Fuck Mordor... I have a nuclear bomb and a large swath of open desert. You in?" 01:51:00 XD 01:51:48 -!- FireFly has quit (Quit: swatted to death). 01:51:49 AnMaster : Good guy, bad guy, I'm the one with a gun 01:52:46 XD 01:53:21 alise: if you don't like it, I would say that it is indeed might be a sin 01:53:53 olsner: Why did you say it? 01:54:22 because I don't like python either 01:55:51 olsner: how would you write a short little program that uses gtk? 01:57:04 good question... I have only used any substantial amounts of gtk from C 01:59:11 olsner: and, as you know, that is painful 01:59:42 but won't that part be exactly as painful from python, with the added pain of python itself? 01:59:48 alise, C as such is painful 02:00:11 alise, but python's GC is really wtf 02:00:56 alise, so wikipedia is down 02:01:04 AnMaster: gobject 02:01:07 makes c ten times more painful 02:01:12 olsner: no, because python actually has an object system 02:01:21 and pygtk hides gobject inside it 02:02:05 hmm, okay, maybe python is ... appropriate for this case 02:02:39 it's not all that painful as long as you don't try and do anything clever :P 02:06:00 olsner: i basically treat it as a cleaned up pascal that calls namespaces "classes" 02:06:24 and has weird structure initialisation syntax 02:06:39 aha! maybe that's just the problem... trying to be smart in python doesn't work, so you have to keep it down to python's level 02:06:48 Pretty danged weird initialisation syntax. 02:07:27 olsner: precisely 02:07:35 pikhq: yeah, every namespace contains one and only one structure 02:07:42 you initialise the structure by function-calling the namespace 02:07:43 go figure 02:07:55 hmm... very much time for bed now, work starts in <7h 02:08:00 and then functions in the namespace that take the structure can be called with the syntax: 02:08:02 foo.bar() 02:08:03 meaning 02:08:05 I really, really don't get why Python doesn't do TCO. 02:08:07 namespace.bar(foo) 02:08:17 olsner: basically you have to put yourself in guido's shoes 02:08:19 and it works perfectly 02:08:29 python is basically an ffi with control structures :P 02:08:54 in fact, i have only one if statement in my entire editor 02:08:58 and no loops 02:09:07 quite an achievement 02:09:13 Pretty danged weird initialisation syntax. <-- you mean the __init__ ? 02:09:21 AnMaster: ARGH ARGH ARGH 02:09:28 yeah, python code usually ends up quite loopy 02:09:31 I hate Python's use of underscores. 02:09:32 pikhq, or what do you mean? 02:09:41 pikhq, oh agreed 02:09:50 AnMaster: if you treat classes as namespaces with one structure in them 02:09:57 It makes the C code in me feel like there's a lot of almost-guaranteed-to-break magic going on. 02:09:58 then the initialisation syntax makes absolutely no sense whatsoever :P 02:10:01 pikhq, but fuck newlib headers then. I swear I saw a tripple-underscore somewhere there 02:10:05 I think it was in time.h 02:10:07 not sure 02:10:08 pikhq: You have C code in you? 02:10:14 Coder. 02:11:03 * alise writes a very simple python indentation function 02:11:32 * alise continues editing leaden in leaden 02:11:40 i love it already 02:12:01 ah, so it's already the editor equivalent of a self-hosting compiler 02:12:06 nice work 02:12:24 olsner: yeah, it has not a single ui element other than an editor window opened to a preset source file and a scrollbar 02:12:39 that editor (just a gtk sourceview) is set to auto-indent (dumbly; just repeating the last line's indentation), and syntax highlight 02:12:54 it automatically saves the file to disk on every keypress (this is a feature) and automatically reloads the file on any outside change 02:13:01 s/ $// 02:13:12 it has unlimited undo. 02:13:56 but not yet VCS:ed undo? 02:14:06 olsner: the plan is that Ctrl+S is a vcs commit 02:14:15 and saving is completely automatic 02:14:28 rationale: i can never make myself use vcses, but saving is easy, so just make a vcs the save functionality 02:14:31 tada, versioned filesystem 02:14:33 sounds cool :) 02:14:43 anyway, I shall finally go and sleep now 02:14:45 bye 02:20:04 -!- SgeoN1 has quit (Read error: Connection reset by peer). 02:23:33 then the initialisation syntax makes absolutely no sense whatsoever :P <-- you mean the __init__ right? 02:23:36 or which part? 02:23:45 if we treat "class Foo(object):" 02:23:48 as defining a namespace Foo 02:23:52 okay... 02:23:54 containing one unnamed structure 02:24:05 (which is how I code python because it lets you treat it as a strange, cleaned-up pascal with nice libraries) 02:24:09 (instead of a godawful language) 02:24:12 then Foo() is a really weird syntax 02:24:14 I'm not sure I agree a class is a namespace. I thought python did modules as namespaces 02:24:17 new Foo.struct, yes 02:24:18 Foo(), no 02:24:23 AnMaster: it's about how you think about it 02:24:29 if you treat python classes as /classes/, it's the worst OOP ever 02:24:40 alise, namespaces don't tend to have a self pointer 02:24:44 if you treat them as namespaces that are also the only way to define structures, and the structure definition is somehow implicit 02:24:46 it all makes more sense 02:24:48 AnMaster: they don't 02:24:55 __init__ is just a special namespace method, given a newly-created structure 02:24:58 (often called "self") 02:25:01 it then sets up this structure 02:25:05 all the rest are just functions taking that structure 02:25:14 usually you call the structure parameter "self" but that's not required 02:25:16 um 02:25:18 there's also some weird sugar 02:25:24 structure.foo() is namespace_of_structure.foo(structure) 02:25:26 how weird is that? 02:25:29 (note: all of this is actually true) 02:25:40 (apart from literally being namespaces) 02:25:42 alise, if you consider it, C++ actually do it something like that too 02:25:47 internally I mean 02:25:52 -!- zzo38 has joined. 02:25:53 well yes, but python has it explicit 02:26:02 which lets you just treat it as a really strange language where structures are implicit 02:26:02 alise, yes that is an important difference 02:26:10 haha 02:26:14 it actually works really well, using classes for namespaces 02:26:23 like, it's how you're supposed to do python, rather than actually separating concerns 02:28:00 i /think/ i just wrote a tab handler 02:28:06 File "leaden.py", line 66 02:28:07 if at start of line: 02:28:07 ^ 02:28:07 SyntaxError: invalid syntax 02:28:07 or not 02:28:32 alise, "at start of line" is only valid in "Plain English" I bet 02:28:36 ;P 02:29:29 bbl 02:31:06 Holy Fucking Shit, it WORKS! 02:31:13 what does? 02:32:59 I don't really like everything about Python, but I think the way that classes work is not too bad 02:34:00 the way they work on the C side... 02:34:02 is NASTY 02:34:04 Here is a PNG file of the example Icochash file that I posted before: http://zzo38computer.cjb.net/img_12/icochash.png 02:34:04 alise, agree? 02:34:13 alise, ever looked at python internals on the C side? 02:34:34 AnMaster: i know a bit about them 02:34:35 zzo38, make it render with tex. will look way nicer 02:34:35 horrid 02:34:36 AnMaster: I certainly didn't. I only programmed some card games in Python, that's about it 02:34:49 AnMaster: render a living form with TeX? 02:34:52 presumably it's computerised 02:34:54 it looks like a webpage to me 02:35:00 rendered in some textual browser or perhaps vonkeror 02:35:02 AnMaster: I might make it render with TeX some day later. It would be nicer for sure 02:35:04 oh 02:35:12 alise, but it looks like a bitmap font 02:35:18 all ugly 02:35:20 AnMaster: well i imagine zzo38 uses a bitmap font. 02:35:23 oh 02:35:24 right 02:35:26 good point 02:35:31 he does use windows after all, windowsers prior to vista tended to 02:35:34 at least at small sizes 02:35:43 alise, windows xp didn't 02:35:44 for me 02:35:45 ever 02:35:46 aww, i broke it 02:35:48 -!- cheater99 has joined. 02:35:54 alise, well, outside cmd.exe 02:35:56 The picture I have is rendered using icochash_img using the default settings. It does support TTF and PostScript fonts as well. 02:36:15 Although I have Windows, I will later have Linux instead 02:36:25 zzo38, tried colinux? 02:36:45 AnMaster: No, but that is irrelevant. When I get a new computer I will put Linux. 02:37:03 zzo38, you know about colinux though? 02:38:05 AnMaster: Yes I know some things about it 02:38:38 When I get new computer I will put Linux and write a Linux distribution. 02:38:51 you could dual boot 02:39:13 AnMaster: No I can't dual boot I have server programs running on my computer 02:39:44 hm 02:40:11 wtf @ this 02:40:47 alise: Yeah, the bitmap font thing was really, really bad with Japanese... 02:40:59 Japanese looks eye-clawingly bad with bitmap fonts. 02:41:25 wtff @ this 02:41:31 who wants to debug my editor, eh, eh! 02:41:37 What editor? 02:41:41 my text editor 02:41:56 Where is the codes? 02:42:01 http://www.wazu.jp/gallery/samples/MSMincho__Japanese.gif See that? 02:42:04 That is *ugly*. 02:43:25 icochash_img just renders the completed forms as .png file, it won't edit the forms. To edit the data on the forms you need to edit the .chs file with a text editor. 02:43:58 Icochash has a similarity to Icoruma in that they both use one file for common functions and then separate files to render and format in different ways. 02:44:15 pikhq: You, you want to debug my text editor! 02:44:52 ...Wait, what the FUCK/ 02:44:54 *FUCK? 02:45:25 ? 02:45:36 There. 02:45:51 There. 02:46:06 pikhq: Okay, I will employ you in happiness if you fix my indentation routines :P 02:46:14 They work, just... not very well. 02:46:45 pikhq, so what did the old 8-bit Japanese games use? 02:47:01 AnMaster: English or *just katakana*. 02:47:17 pikhq, katakana? 02:47:24 katakana is what japanese uses to romanise 02:47:25 like 02:47:29 ah 02:47:30 we romanise stuff and the like 02:47:34 and steal lonewords 02:47:35 Katakana is the syllabary used primarily for foreign words. 02:47:38 what pikhq said 02:47:39 i said it craply 02:48:14 It's also used for emphasis, to note that you're writing out the on'yomi (Chinese reading) of some character, or to sound robotic. 02:48:31 The last part comes because old computers and video game systems only used katakana. 02:49:08 The reason for *this* is because it's the easiest to render on limited graphics. 02:49:48 ...Say, there's no way to keep state in CPP, right? Like, at all? 02:49:49 コレ ハ カタカナ デス。 カンタンニ ヨメル、 ネ? 02:49:52 Just for example 02:49:55 Between macro invocations. Relying on C behaviour is accepted. 02:50:04 Specifically, I'm doing a coroutine/finite state machine thing. 02:50:09 So I need a duff's device thing. 02:50:11 alise: Absolutely none at all. 02:50:13 I want it so that you can write 02:50:15 yield(x) 02:50:16 and it does 02:50:22 state++; return x; case (LAST_CASE_WE_MADE)+1: 02:50:32 pikhq: Then how does that tiny little "threads" library do it? 02:50:40 There are programs that do somewhat similar things as Icochash, such as PCGEN, but other programs have bad designs in my opinion, also Icochash is not quite the same thing, it is a bit different 02:51:16 alise: http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html 02:51:16 pikhq: Can you say "case var:"? 02:51:21 pikhq: I know, but that has an extra param. 02:51:33 pikhq: You can say "case var:", can't you? But it'll be the value of var at the start of the switch, right? 02:51:55 No, it doesn't have an extra param. 02:52:00 #define crReturn(i,x) do { state=i; return x; case i:; } while (0) 02:52:02 Yah, so does. 02:52:08 Look further down. 02:52:14 It cheats by using the __LINE__ macro. 02:52:21 alise 02:52:25 are you good with computer games 02:52:28 pikhq: Ah. 02:52:35 What about that thing by the contiki guy? 02:52:39 alise 02:52:39 cheater99: Good as in playing them? 02:52:42 yea 02:52:49 cheater99: No, I'm shit. But I enjoy it. Why? 02:52:59 It works so long as you don't stick multiple crReturns on a line. 02:53:07 i dare you to complete this one: http://www.indiegames.com/features/index.php?c=ex&y=2009&gid=20 02:53:07 alise: Oh, that stuff? 02:53:09 Beats me. 02:53:13 pikhq: Isn't there a __CHAR__? 02:53:21 Maybe. 02:53:21 Also, can you find that thread impl? I've been unable to. 02:54:11 http://www.sics.se/~adam/pt/ 02:54:21 Protothreads, as used in Contiki 02:54:48 -!- AndChat- has joined. 02:56:12 no __CHAR__ :( 02:56:47 #define LC_SET(s) s = __LINE__; case __LINE__: 02:56:47 Sigh! 02:56:58 Oh, you can use labels as values for it too. 02:57:00 Interesting. 02:57:27 -!- AndChat- has quit (Read error: Connection reset by peer). 02:57:38 still uses __LINE__, though 02:58:13 http://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html 02:58:15 Nothing more fine-grained. 02:59:28 Anyway. 02:59:29 #define fsm static int _s=0;switch(s){case 0: 02:59:29 #define yield(x) do{state=__LINE__;return(x);case __LINE__:}while(0) 03:02:21 O, so that is how it works. 03:03:15 -!- FireFly has joined. 03:06:44 Now it means it doesn't work if you put yield(x) twice in one line 03:11:19 pikhq: So, I just implemented coroutine-threads in C. 03:11:20 That was... easy. 03:13:38 * Sgeo decides that IRCing on the go may not be that easy 03:14:07 Which was pretty much my main reason for disparaging iOS4. Oh, actually, let me ask someone with experience: alise, can you multitask an IRC client with iOS4? 03:14:34 I haven't used iOS; still on iPhone OS 3. I thought iOS could multitask anything? 03:14:46 What with its high-falutin' high-falutinness. 03:15:03 alise, I thought there were 7 multitask APIs or something? 03:15:15 God knows. 03:15:18 My answer: probably. 03:15:22 My other answer: don't buy an iPhone. 03:15:40 Whenever I mention AT&T, people ask why I didn't just get an iPhone 03:15:43 alise: Low-level tricks do help with that, yeah. 03:16:11 pikhq: Yeah -- low level tricks like static variables and switch. 03:16:21 Sgeo: Well, they're partially right, but not for the reason of an iPhone. 03:16:25 The reason is that AT&T is shit. 03:16:30 Also, stop fucking caring what other people think already. 03:16:52 Which is more likely: That, over time, Android gets an iPhone level of polish, or, that over time, Apple eases up on its nuttiness? 03:17:01 alise, I think I care what you think a bit too much 03:17:06 Apple have been getting more nutty, not less. 03:17:11 Sgeo: You care what others think, too. 03:17:20 At least I try and provide justification to believe what I say :P 03:21:19 http://www.acooke.org/lepl/ ~ from our favourite andrew cooke in the universe 03:21:43 * Sgeo fantasizes about Android with Apple-like polish 03:21:53 Sgeo: there are cracks in the polish. 03:21:58 believe me. i've used it since 2007. 03:22:05 that's three years of using it. 03:22:23 Hm. Such as? 03:22:26 there is a reason i've gone from a devoted apple user to an arch linux user 03:22:42 and it's that one, the polish is mostly superficial: sure, it's pretty and the animations glide, but the user interfaces do not fit together 03:22:57 apple used to do UI design; now they do graphic design, and just avoid even creating a UI 03:23:00 alise: C switch is a low-level trick. :) 03:23:07 yes, Sgeo, when pressing around it will all fade and slide 03:23:14 but it won't be smooth to use, it won't be polished to operate 03:24:04 That's pretty much how I feel about Android's BACK button 03:24:15 Sgeo: the iPhone doesn't have a back button. 03:24:18 feel lucky 03:24:32 No back button may be better than an inconsistant one 03:24:40 so don't press it. 03:25:00 Believe me, the iPhone may be prettier, but the user experience is NOT as polished as you think: and it certainly isn't good enough to support the tyranny. 03:25:19 Android is flawed, but so is the iPhone; Android wins by virtue of the iPhone being run by a megalomaniacal dictator. 03:26:24 It occurs to me that my reasons for using Windows may be similar to a reason to get the iPhone 03:26:39 Except that, in the case of Windows, there were already specific programs that I wanted to run, that put me over the edge 03:26:45 With the iPhone, no such thing 03:27:49 * Sgeo ponders py2exe 03:28:16 "If py2exe fixes a broken program, then that's probably a bug in py2exe that needs to be fixed!" 03:28:33 alise, you can't seriously have off tomorrow, can you? 03:28:48 Sgeo: No; why would you think that? 03:28:56 alise, you're still up. 03:29:00 Oh, shut up. 03:30:38 Ah, crud, py2exe wants to require users to have a dll 03:30:53 I'll go to bed soon, I swear. 03:38:08 http://piratedate.com 03:38:12 something for you alise 03:38:49 what the fuck is that. 03:39:59 pirate date. 03:40:03 you get to date pirates, arrrr! 03:40:09 what. 03:40:15 i need to go to bed, stop talking 03:41:05 yes 03:41:06 yes you do 03:41:09 let's stop talking. 03:41:23 let's let our bodies talk. 03:42:31 ... shut up. 03:44:22 dgfgf 03:47:31 g adfg adfg adfg a 03:47:36 i can't go to fucking sleep 03:47:38 it is impossible 03:59:41 alise: https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/451801 03:59:51 it seems glasgow isn't the only thing that canonic fucked up 03:59:57 SHUT THE FUCK UP I HAVE TO BE UP AT 9:30 04:02:57 why are you not in bed then, little thing? 04:03:21 or maybe you are in a bed? 04:03:28 are you in *my* bed? 04:03:36 * Sgeo slaps cheater99 04:04:46 * alise slaps cheater99. 04:04:50 Talk on Monday. 04:04:52 Bye! 04:04:56 Bye. 04:04:57 -!- alise has quit (Quit: Leaving). 04:05:12 -!- zzo38 has quit (Remote host closed the connection). 04:27:43 -!- BeholdMyGlory has quit (Remote host closed the connection). 04:33:46 -!- BeholdMyGlory has joined. 04:49:23 hm 04:52:32 -!- zzo38 has joined. 04:53:40 Why don't you play this game instead? http://zzo38computer.cjb.net/mzx1/ASCMZXTO/ASCMZXTO.ZIP 04:54:09 Hints: 04:54:35 * Don't just do everything without thinking about it at first, or else you will get stuck 04:55:07 zzo38, what does one play it with on x86_64 linux 04:55:26 zzo38, also did you know linux has a 91% market share? 04:55:31 for supercomputers 04:55:32 AnMaster: If you are willing to compile the source yourself: http://zzo38computer.cjb.net/mzx1/mzx_extended/megazeux_src.zip 04:55:51 zzo38, what genre is it 04:56:03 arcade and I skip 04:56:45 If you want compiled binaries: http://vault.digitalmzx.net/show.php?id=1675 (not recomended because of various bugs and missing features) 04:56:57 Genre is just multiple things. It is not a arcade-style game 04:57:07 zzo38, puzzle? that is out too 04:57:13 about all I could like is RPG atm 04:57:42 It does have some puzzles. But it does not consist entirely of puzzles 04:57:49 zzo38, RPG? 04:57:54 No. Sorry. 04:58:02 ah 04:58:05 might look tomorrow 04:58:52 Anyone else? 05:06:13 -!- wareya_ has joined. 05:08:17 -!- wareya has quit (Read error: Operation timed out). 05:45:40 You cannot win this game without *all* of these hints: 05:45:50 * Save the game state often, and in multiple files. 05:45:57 * Don't just do everything without thinking about it at first, or else you will get stuck 05:46:16 * Don't just shoot everything and everyone, or else you will run out of ammunition and you won't get a very good score 05:47:16 * Pay attention to the game, and perhaps look at the source code for MegaZeux for help about what some objects means? 05:47:53 * Use the money effectively. 05:47:59 -!- augur has quit (Remote host closed the connection). 05:48:29 * The goal is to find the purple keys 05:49:18 * Don't run into everything that you can get hurt, or else you will run out of health points 05:50:26 * Some of the puzzles are confusing so please make sure you know what something means! 05:51:14 * At the end of the game you will find BIG_MONSTER 05:51:53 And, then, there is also a sequel to this game but I am not finished making the sequel game yet. 06:09:22 Which game do you prefer, the first one, or the sequel game? 06:24:13 -!- zzo38 has quit (Remote host closed the connection). 06:29:05 -!- coppro has quit (Remote host closed the connection). 06:29:26 -!- Halph has joined. 06:29:32 -!- Halph has changed nick to coppro. 06:31:56 -!- augur has joined. 06:37:01 -!- coppro has quit (Remote host closed the connection). 06:44:37 -!- Oranjer has left (?). 06:46:30 -!- coppro has joined. 07:04:31 -!- relet has quit (Quit: Leaving.). 07:30:40 -!- Vegabondmx has joined. 07:30:41 -!- Vegabondmx has quit (Excess Flood). 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:19:24 -!- coppro has quit (Remote host closed the connection). 08:33:38 -!- nooga has joined. 08:35:55 -!- oerjan has joined. 09:19:10 -!- choochter has joined. 09:36:21 -!- tombom has joined. 09:41:49 -!- CakeProphet has quit (Ping timeout: 260 seconds). 09:46:21 -!- oerjan has quit (Quit: leaving). 11:17:40 -!- DH____ has joined. 11:28:31 -!- cheater99 has quit (*.net *.split). 11:28:47 gulp 11:32:16 -!- nooga has quit (Read error: Connection reset by peer). 11:35:02 -!- cheater99 has joined. 11:41:39 -!- nooga has joined. 11:42:24 -!- Gracenotes has quit (Ping timeout: 248 seconds). 11:44:45 nooga: plug 11:45:49 socket 11:46:45 tekcos 11:47:13 coteks 11:48:28 .. sketoc 11:52:27 skurnak! 11:56:34 ooh weird 11:56:41 i just had the taste of butane in my mouth 11:59:41 Butane? Isn't that gas in room temperature? 11:59:49 it wasnt real 12:00:00 it was a misinterpretation 12:05:19 -!- FireFly has quit (Ping timeout: 276 seconds). 12:07:17 -!- FireFly has joined. 12:19:35 -!- nooga has quit (Read error: Connection reset by peer). 12:39:16 -!- MizardX has joined. 13:15:22 -!- Slereah_ has joined. 13:16:42 -!- Slereah has quit (Ping timeout: 240 seconds). 13:33:53 -!- choochter has quit (Read error: Connection reset by peer). 13:34:34 -!- choochter has joined. 13:53:29 -!- Mathnerd314 has quit (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2.6/20100625231939]). 14:04:56 -!- BeholdMyGlory has quit (Ping timeout: 260 seconds). 14:07:37 -!- BeholdMyGlory has joined. 14:14:41 augur, how do you even know the taste of butane? 14:27:02 -!- CakeProphet has joined. 14:28:09 -!- choochter has quit (Read error: Connection reset by peer). 14:28:39 -!- choochter has joined. 14:30:56 -!- choochter has quit (Read error: Connection reset by peer). 14:31:02 -!- choochter has joined. 14:32:54 AnMaster: what most people call taste is really just smell. 14:33:54 -!- DH____ has quit (Read error: Connection reset by peer). 14:34:27 -!- DH____ has joined. 15:07:12 -!- teuchter has joined. 15:07:18 -!- choochter has quit (Read error: Connection reset by peer). 15:22:09 -!- DH____ has quit (Read error: Connection reset by peer). 15:27:29 -!- relet has joined. 15:35:34 smell doesn't affect taste in any way 15:35:40 for me at least 15:35:55 urban legend, says i 15:45:09 -!- nooga has joined. 16:14:24 -!- Mathnerd314 has joined. 16:28:11 -!- zzo38 has joined. 16:30:21 -!- nooga has quit (Read error: Connection reset by peer). 16:35:29 -!- nooga has joined. 16:46:31 -!- hiato has joined. 16:52:11 AnMaster: what most people call taste is really just smell. <-- oh so you meant smell then 16:56:12 so 16:56:20 looks like #irp been reddited 16:56:25 *shrug* 16:59:03 the world will never tire of ti 16:59:04 *it 17:02:33 Do you like my game? 17:10:29 -!- oerjan has joined. 17:10:56 -!- Mathnerd314 has quit (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2.6/20100625231939]). 17:25:23 -!- nooga has quit (Read error: Connection reset by peer). 17:33:45 Do you like my game? Did you try this game? (See previous log for hints) 17:38:36 have you played my games? 17:40:54 is alise holed up for the week again 17:44:30 -!- zzo38 has quit (Remote host closed the connection). 17:45:16 cheater99: yes, like the 16 billion previous times you asked 17:45:45 (he sometimes comes on in the evening as ehirdiphone, though) 17:45:55 -!- nooga has joined. 17:46:49 oerjan, what is your alignment? 17:47:00 oerjan, D&D that is 17:47:04 * oerjan notices he's grumpy and should eat something 17:47:56 You can't instantiate "something" with anything. :-> 17:47:57 i noticed y'all seemed to conjecture true neutral... 17:48:55 "something" just means "there is such thing as". Randomly chosen thing probably does not qualify. 17:49:01 i figure it's either that or neutral good. 17:49:20 oerjan, heh 17:50:44 oerjan: i need to be on the edge with that info 17:50:56 Ilari: you fail at grammar forever 17:50:58 oerjan: can you create an rss feed for that please. 17:51:28 oerjan: Yes, I do. :-) 17:52:10 cheater99, your nick? chaotic 17:52:15 chaotic evil* even 17:52:32 cheater99: what info 17:52:42 whether alise is in or out 17:52:59 nah i'm just playin'. you seem a bit uppity so i'm pulling your leg. 17:53:04 i don't know more about alise than anyone else here who's paying attention. 17:53:18 cheater99: i _said_ i was grumpy and needed to eat. 17:53:20 -> 17:53:21 i can't pay attention! 17:53:27 ok enjoy your eat 17:53:29 ttyl 17:57:13 There should be esolang with large collection of operators with seemingly no connection. Also lot of them used together should be required to reach TC. 17:57:40 *munch* 18:01:58 -!- Mathnerd314 has joined. 18:04:20 i've had that idea a million times 18:04:38 and there's still suffering in the world 18:06:27 well if that's what causes the suffering in the world, i suggest you stop. 18:08:14 i never looked at it that way 18:14:54 a computer-generated set of millions of different commands 18:17:24 well the hard part i would think is making all necessary for TC-ness without them being obviously connected 18:18:34 yes, if you want to do it well 18:18:58 i was more interested in the part where the spec is multiple gigabytes 18:19:05 -!- kar8nga has joined. 18:19:32 you know me, i don't care what's inside as long as it's really big 18:19:38 -!- DH____ has joined. 18:21:22 -!- nooga has quit (Read error: Connection reset by peer). 18:21:39 make it fractal 18:21:42 in some way 18:22:10 Good way would be to have multiple flags that affect instructions in odd ways (and have strange interactions). 18:22:12 in some say how exactly? 18:22:48 *way 18:23:18 --use-underlying-field "F_16" 18:23:37 What's F_16? 18:23:50 the finite field with 16 elements 18:24:26 That's trace 2 field... Too ordinary. :-) 18:24:42 trace? you mean characteristic? 18:25:02 Well, what was it called... :-/ 18:28:25 maybe it should be --use-underlying-ring instead. 18:33:27 Maybe field size of 3 486 784 401 would be better? 18:36:56 !haskell logBase 3 3486784401 18:37:05 19.999999999999996 18:38:08 -!- MizardX- has joined. 18:41:01 what's the trace of a field? 18:41:12 -!- MizardX has quit (Ping timeout: 260 seconds). 18:41:13 sic 18:41:20 Probably means characteristic... 18:41:33 doubt that, maybe i'll check 18:41:37 -!- MizardX- has changed nick to MizardX. 18:42:51 the trace of something is the sum of its conjugates 18:43:54 (i actually did remember it was that but minds are not to be trusted) 18:44:16 * oerjan is familiar with a completely different meaning of the term 18:44:42 (the trace of a square matrix is the sum of its diagonal entries) 18:46:40 (a major property of this trace is that tr(AB) = tr(BA)) 18:48:26 also the sum of conjugates in F_16 would not be called 2 given that 2 = 0 in that field 18:50:53 3 because 2 is too ordinary and 5 (or greater) is too simple. 18:54:47 -!- teuchter has quit (Ping timeout: 265 seconds). 18:57:03 oerjan, I first went "airfield?" at that. Since F-16 = aircraft to me. 18:57:05 XD 19:01:31 lol shouldn't have mentioned my games, i'm hooked on bounca again 19:02:12 oerjan: i thought the trace of an element of a finite field is actually the trace of some matrix 19:02:38 or umm are these traces 0 19:02:56 maybe the guy who told me this was confusing the meanings 19:06:05 anyone wanna add other kinds of polygons to bounca? i hate programming as you know. 19:07:21 not the right irc network if that's the case... 19:09:41 nono i hate programming but i love programmers 19:12:51 hehe, the ball randomly jumps like 10cm from the finish in 16.9 sec, takes like 40 seconds if you actually try to manouver there 19:12:56 i should probably make a new level 19:36:33 my games are so awesome i wish someone else had made them so i wouldn't feel so bad for advertising them. 19:38:11 -!- kar8nga has quit (Ping timeout: 276 seconds). 19:48:49 -!- Gracenotes has joined. 19:54:23 -!- Mathnerd314 has quit (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2.6/20100625231939]). 22:15:18 -!- clog has joined. 22:15:18 -!- clog has joined. 22:16:32 -!- hiato has quit (Quit: underflow). 22:16:46 -!- Gracenotes has joined. 22:18:12 -!- choochter has joined. 22:29:21 -!- CakeProphet has quit (Ping timeout: 240 seconds). 22:31:13 gtg cya 22:31:14 -!- DH____ has left (?). 22:41:36 sup 22:43:25 -!- relet has quit (Quit: Leaving.). 22:43:49 inf 22:44:13 * oerjan cackles obscurely 22:50:29 really old though 22:50:36 but 22:50:50 at least i finally found a substitution greeting 22:50:58 been trying to find one since our conversation 22:51:02 every time you've joined 22:51:06 so 22:51:06 food, again -> 22:52:08 urgh 22:52:28 hard to do this well, because somehow a function has to become a question 22:57:12 * oerjan wonders what oklopol is babbling about. also, *munch* 22:57:40 * pikhq has been trying to write a cksum program for kicks. 22:57:43 hard to do this well, because somehow a function has to become a question <-- to do what well? 22:57:51 Minor problem: it seems to be borken in ways I cannot tell. 22:57:59 pikhq, no need. the heirloom one compiles for me on microcosm 22:58:05 http://sprunge.us/CaHQ 22:58:11 -!- ehirdiphone has joined. 22:58:15 crc_table.h generated with http://sprunge.us/AZXC 22:58:18 ehirdiphone, hi 22:58:19 !swedish This program does not work. 22:58:20 AnMaster: Don't care. 22:58:20 Thees prugrem dues nut vurk. Bork Bork Bork! 22:58:21 Spectral Spectra. 22:58:25 ehirdiphone, #irp was slashdotted 22:58:26 err 22:58:28 reddited 22:58:31 same shit anyway 22:58:35 pikhq: Dont care about what? 22:58:37 " really old though" <<< inf as a response to sup is really old 22:58:41 AnMaster: Indeed. 22:58:44 oh that 22:58:46 I want to write a reasonable cksum program; I don't care that Heirloom has one. 22:58:51 ehirdiphone, as in the end results are about the same 22:58:59 good thing we have a separate channel for it 22:59:00 " at least i finally found a substitution greeting" <<< since we talked about... or was that the only unclear thing? 22:59:35 today i was told i talk too fast 22:59:44 * oerjan has forgotten what we talked about 22:59:48 AnMaster: I had to go into ultra-asshole mode when #esoteric IRP was redditted 22:59:56 *reddited 23:00:05 Hmm. My crc_table appears to differ from what's in the Heirloom cksum binary. 23:00:06 well i would've changed about into something else 23:00:12 if i'd finished the sentence 23:00:13 ehirdiphone, like, worse than usual? 23:00:16 prolly 23:00:24 pikhq: IMO heirloom's flaw is caring way too much about history. 23:00:25 anyway night :) 23:00:34 pikhq, different function? 23:00:36 cheater99: THIS IS AN RSS MESSAGE: ehirdiphone HAS BEEN OBSERVED 23:00:48 *ASS 23:00:48 ehirdiphone: Yes. 23:00:51 hahahaha 23:00:54 AnMaster: I said "ultra". Anyway, I've mellowed. 23:01:03 ehirdiphone, :P 23:01:03 oerjan: just notify the pedo... 23:01:20 AnMaster: I've also been comparing against Busybox's cksum. It *appears* to be the same generating function. 23:01:27 :-D 23:01:27 Give or take stylistic differences. 23:01:44 AnMaster: I even expressed the opinion that everyone edits differently and you just have to find the editor that works for you, yesterday. 23:01:45 ehirdiphone: um you're trying to avoid him? 23:01:58 (Busybox doesn't have a statically-created crc_table) 23:02:01 oerjan: No, it's just that he's a pedo :P 23:02:12 who isn't a pedo these days 23:02:28 Anyways: thoughts? 23:02:33 ehirdiphone: it's just i was joking about how he keeps asking about you, earlier 23:03:07 ehirdiphone: this is so cool, now we can have a double-date with our gay lovers 23:03:14 (and he requested an rss feed :D) 23:03:17 assuming augur still has a thing for me 23:03:28 oerjan: he's concerned my beautiful prepubescent body of spotlessness, hairlessness and innocence will be damaged 23:03:58 damaged by age? 23:04:05 or oh 23:04:16 wait was i gone 23:04:18 oklopol: we could just both date augur, that would be vastly preferable to being in a 1,000 km^2 radius of cheater99 23:04:27 :D 23:04:40 and polyamory is ~all the rage~ 23:04:53 is cheater polyamorous? 23:04:59 or what 23:05:15 hope not, then I have an easy excuse 23:05:28 oklopol: I meant if we both dated augur XD 23:05:33 oh umm oh 23:05:43 i guess i don't know the expression 23:06:17 ugh soon i shall retry 23:06:56 now -> 23:07:55 ... Wait a sec that table's kinda constant. 23:08:02 Screw it I can just copy the damned thing. 23:08:58 alise is angry because she knows she wants me subconsciously 23:10:06 I really don't. 23:10:58 ehirdiphone: nick? 23:11:16 well if you did you wouldn't know it, it's subconscious duh 23:11:18 coppro: Lazy! But okay. 23:11:22 -!- ehirdiphone has changed nick to aliseiphone. 23:11:37 Pronounced: Alih-say-phone 23:11:46 aliseiphone: Sometimes you change it, sometimes you didn't. I just didn't know if you'd noticed 23:12:04 -!- aliseiphone has quit (Quit: Get Colloquy for iPhone! http://mobile.colloquy.info). 23:12:26 -!- aliseiphone has joined. 23:12:29 * aliseiphone vaginas 23:12:47 v. the act of gaining a vagina through metaphysical IRC 23:12:55 *IRC magic. 23:13:13 Metaphysical, I tell you. 23:13:24 It's magic because it's meta. 23:13:27 Metaphysical: Even more meta than physical 23:13:27 "ehird" isn't a particularly /male/ name 23:13:34 aliseiphone: and what did the physical say? 23:13:46 (*cough* I never met a physical I didn't like.) 23:13:53 ais523: True. 23:14:10 "alise" is unambiguously female, however. 23:14:51 coppro: Also, *don't. 23:15:03 good catch 23:15:20 Someone offer to try leaden out when it's ready or I'll die. Of shame. 23:16:11 What's leaden? 23:16:18 Also, are you turning into me? 23:16:25 Now to make the cksum mostly-POSIX. 23:16:39 This consists of: adding support for command line arguments. 23:18:05 Sgeo: An awesome editor I'm writing; and no. 23:18:17 pikhq: Who needs 'em. 23:18:45 Who even uses cksum, anyway? 23:19:01 aliseiphone: Few people. 23:19:30 And now I'm going "wait a sec, the code for every other implementation of this I could find sucks". 23:19:32 Someone should totally ask me to explain leaden's design. Cough. :P 23:19:54 Okay, so maybe I *am* turning into Sgeo. 23:20:13 -!- Slereah_ has quit (Ping timeout: 245 seconds). 23:21:36 -!- aliseiphone has quit (Quit: Get Colloquy for iPhone! http://mobile.colloquy.info). 23:22:17 -!- aliseiphone has joined. 23:22:20 Oops. 23:24:29 aliseiphone, does your on-screen keyboard ever freeze up? 23:25:25 Sometimes I get a ghost one on top rendering the UI useless. 23:25:37 And stop using me to justify buying an iPhone. 23:25:49 No more obvious questions of such a nature. 23:26:06 I never bought an iPhone 23:28:12 -!- Slereah has joined. 23:29:35 strange news: they found an armed handgrenade at a recycling station in Stockholm this evening 23:29:37 ais523, ^ 23:29:46 that seems pretty random 23:30:02 random violence 23:30:06 ais523, you mean, placing a hand grenade there being random or me mentioning it? 23:30:11 ais523, the sprint was still in 23:30:15 well, both 23:30:18 -!- nooga has joined. 23:30:46 http://sprunge.us/JMgb 23:30:48 Opinions? 23:30:57 "Anyway, all these computers and digital gadgets are no good. They just fill your head with numbers, and that can't be good for you." -- The "artist" formerly known as "the artist formerly known as Prince" 23:31:57 oerjan, http://www.dn.se/sthlm/handgranat-hittad-gator-avsparrade-1.1133422 23:31:57 ... GAH WHY IS INDENT=2? 23:32:02 you can probably read it 23:32:04 There's mine. 23:32:17 346126 23:32:19 they messed up the date there ye 23:32:21 yes* 23:35:32 http://sprunge.us/SVRa 23:35:34 There. Better. 23:35:50 pikhq, you want that table static const 23:36:00 AnMaster: Yes, yes I do. 23:36:04 pikhq, otherwise it can't be shared between different running instances 23:36:48 Gregor, is that what he is now known as? 23:37:52 Sure, why not 23:40:07 AnMaster: This is the only implementation of cksum I know of that uses stdio. 23:40:19 Erm. Uses stdio *sanely*. 23:40:25 -!- Mathnerd314 has joined. 23:40:35 Each and every other one goes through read or fread for not-much-good-reason. 23:41:02 Granted, they are absurdly faster, but eh. 23:41:26 pikhq, what does your one use? no browser open atm 23:41:38 pikhq, if it uses fgets() you fail at handling \0 23:41:43 pikhq: what about stdio_unlocked? or do you consider that insane? 23:41:48 AnMaster: fgetc 23:41:52 ais523: AAAGHNONONO 23:41:57 pikhq, okay I would use mmap 23:42:10 with fallback on stdio fread 23:42:12 AnMaster: Of course you would. 23:42:22 if you hit a char device or such 23:42:28 Are there any nice compiled imperative languages out there with standard libraries similar to Python's 23:42:29 ? 23:42:32 pikhq, what do you mean with that? ;P 23:43:06 -!- ais523 has quit (Remote host closed the connection). 23:43:15 mmap is pretty retarded on a single iteration through a file. 23:43:35 pikhq, depends. It does IO rather efficiently still 23:43:48 It ends up being comparable to, oh, *loading the entire file into memory*. 23:43:57 pikhq, it loads on the fly 23:43:58 Even though you don't need much more than a buffer. 23:44:17 pikhq, linux only loads a few pages ahead of you 23:44:21 and it unmaps old pages 23:44:28 if you mark it with posix_madvice 23:44:29 ;P 23:44:37 * cheater99 has just done 500 crunches 23:44:38 sorry 23:44:39 madvice 23:44:41 Yes... It unmaps old pages *when it would swap stuff out*. 23:44:59 err 23:45:04 I'm not in favor of using more memory for hardly any benefit. 23:45:06 posix_madvise even 23:45:38 posix_madvise() with POSIX_MADV_SEQUENTIAL 23:46:20 pikhq, anyway I would probably use fread() 23:47:39 AnMaster: It's fast enough as is, and I, personally, am in favor of clarity over speed. 23:48:43 * AnMaster inserts a poisx_fadvise in pikhq's code 23:48:44 madvise sounds like something you shouldn't listen to. 23:48:48 MWHAHAHAHA 23:48:58 it sounds like the kind of advice that homeless people always have for you. 23:49:02 You punk. 23:49:34 pikhq, me or cheater99? 23:50:13 AnMaster: You. 23:50:18 of course 23:50:22 What benefit does posix_fadvise get you? 23:51:43 pikhq, see the man page 23:51:54 AnMaster: *MEASUREMENTS*. 23:51:54 pikhq, it increases readahead window if you want it 23:52:08 pikhq, in cksum? probably not much :P 23:52:13 but it is fun to poke fun at you 23:52:41 Though I am tempted to check the benefits done by fread. 23:54:00 pikhq, good idea 23:54:22 pikhq, you could use non-blocking reads too, so you can compute stuff while waiting for the DMA buffer to fill 23:54:25 ;P 23:54:43 AnMaster: -_-' 23:54:48 That way leads to Coreutils. 23:55:46 pikhq, :D 23:55:57 pikhq, 23:55:58 POSIX_FADV_WILLNEED initiates a nonblocking read of the specified region into the page cache. The amount of data read may be decreased by the kernel depending 23:55:58 on virtual memory load. (A few megabytes will usually be fully satisfied, and more is rarely useful.) 23:56:02 pikhq, yay! :P 23:56:27 pikhq, of course just letting kernel do it's usual readahead is probably enough 23:57:29 pikhq, this is #esoteric. There is no reason whatsoever to _not_ contemplate this 23:57:41 pikhq: Your cksum sucks. 23:57:47 It's bloated. :| 23:57:55 aliseiphone, is it? 23:58:03 Yes' 23:58:08 *Yes! 23:58:25 aliseiphone, how would you write it 23:58:27 As far as coreutils go I'm a minimalism nazi. :P 23:58:42 AnMaster: Something much more like his original paste. 23:58:49 aliseiphone, link? 23:58:59 Find it yourself. 23:59:05 meh not worth it 23:59:12 Just after I came in. M 23:59:18 aliseiphone: Bloated? I presume you mean "it uses libc", right? 23:59:20 *in. 23:59:36 pikhq: No, it's just bloated. :P 23:59:37 I feel sinful. I gave money to M. Night Shyamalan. 23:59:41 how secure is login with physical unit to generate a response code? 23:59:48 aliseiphone: How so? 23:59:51 for bank