00:00:05 -!- tgwizard has quit (Remote closed the connection). 00:00:15 making disparate namespaces unnecessary 00:00:25 Well, it's a performance hit. 00:00:54 Given that the compiler takes under a second on the largest known BFM program, that's a moot point. 00:01:28 _not_ optimizing would be trading cheap compiler performance for expensive programmer performance 00:01:34 Well, I like listening to Bran Cohen, who tells me to make sure that no part of your application is dependant on ``sane input defaults''. 00:01:52 Well, IMO, it's more in the BF philosophy, but that's just me. 00:02:30 which would mean always using clean macros which cleared before and after use, as today 00:02:58 One last thing to mention: the optimizing pass removes loops that won't ever run. 00:03:37 right, very easy with cleared cell handling 00:03:48 That works right. . . 00:04:28 I *was* going to do it when I first had cleared cell handling, but because it wasn't working well at all, I opted not to. 00:32:32 * SimonRC goes to bed 00:42:57 "loops that won't ever run"? 00:43:51 if the loop variable happens to be zero 00:44:56 Unless cleaning those up is occuring during runtime or something, how do you determine whether or not it will be zero at that point? 00:44:58 or rather: can be statically determined to be zero at this point of the program 00:45:16 that's the point of the cleared cell stack 00:45:53 oh 00:46:03 Sgeo: We can determine that some cells, at some points, are guaranteed to be 0. . . 00:46:13 At other points, the codeer can tell the compiler the same thing. 01:26:32 -!- Arrogant has quit ("Leaving"). 01:34:01 -!- oerjan has quit ("Later"). 03:11:11 -!- jix_ has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 03:42:36 I hate this stuff 03:42:39 http://www.kidsprogramminglanguage.com/ 03:44:54 hm 04:37:32 that looks harder than python 04:37:53 Teaching kids to program is broken by defualt 04:38:01 why? 04:38:07 they should take the initiative? 04:38:35 Yeah 04:38:46 not everyone is destined to be a coder, but starting early is a huge advantage. 04:38:56 that was easier when everything was monochrome and only ran BASIC and asm 04:39:21 today kids fulfill their computer torture quota fixing windows 04:39:45 That looks just wrong. 04:40:51 All one should do is give a kid the opportunity to become a programmer. . . Not. . . That. Eeeew. 04:41:11 Yeah 04:41:18 I think BASIC remains a *great* way to introduce kids to programming. QBASIC is freeware now, I think... 04:41:31 Why? 04:41:36 python > QBASIC 04:41:41 don't braindamage any more innocent kids 04:41:48 I first coded on QBASIC 04:41:49 Python, IMO, is a decent language for introducing programming. 04:42:09 Basic's decent, but a kid who gets serious can't move on further. 04:42:18 We certainly don't need to engineer special languages for kids 04:42:27 tell that to the coders who made the qbasic flight sim 04:42:47 too bad it couldn't double buffer 04:43:13 QBASIC is powerful for most things a kid could code on their own. DarkBASIC is a bit slow, but I think it's a pretty fantastic language. 04:43:16 ivan`: That's comparable to a chess program in Brainfuck. . . Just because it can be done doesn't mean it *should*. 04:43:57 RodgerTheGreat: I'd be much more skillful if I had started with a 'serious' language in the first place, I feel. . . 04:44:13 I remember longing for arrays when I coded in qbasic 04:44:23 (even though I didn't know what an array was back then) 04:44:39 I remember longing for *functions* when I did Apple Basic (although I didn't know what it was then). 04:44:44 i remember trying to do some parallel port communication without any debugging 04:44:56 I barely could understand GOSUB 04:45:01 i never figured out GOSUB 04:45:11 just calling a subroutine 04:45:18 There was no "GOSUB". 04:45:24 GOTO was it. 04:45:29 I was like "why would someone want to do this?" 04:45:37 there's gosub in qbasic 04:46:10 BASIC taught me to build constructs by myself- I *invented* stacks and other data structures to build games. I designed my own GUI library because Basic didn't have any facilities for it apart from graphics primitives. If I had started with a language like Python, all I would have learned was how to use existing versions of these things. 04:46:30 So teach kids asm or c 04:46:43 s/teach/introduce to/ 04:47:50 I remember learning VB5. I hold that that forever crippled any ability to make GUIs by hand 04:48:06 owch 04:48:36 I remember being forced to learn VB6 so that my *dad* could pass the damned class. 04:48:57 (I've since rm -rf'd it) 04:49:11 I never really liked VB, mainly because the GUI portions always seemed to get in my way when I wanted to get actual work done. I'd have preferred trusty DarkBASIC any day. 04:49:40 I hated it with a passion, even then. 04:50:04 then you probably never understood it. 04:50:27 No, that's what *caused* me to hate it with a passion. . . 04:51:05 Wasn't my first programming language. . . 04:57:55 my favorite aspect of BASIC was that you could "escape" from the language- you could start loading and calling assembly or using pointers if you wanted to. It became as powerful a language as you wanted it to be. 04:59:21 You could (in theory) do psuedo-machine code. . . 04:59:41 Large amounts of POKEs could do it. :p 05:00:19 I've never used another interpreted language that gave you so much power over the machine. 05:01:15 *echm* C interpreter. 05:07:04 python + embedded C 05:07:07 `$=`;$_=\%!;($_)=/(.)/;$==++$|;($.,$/,$,,$\,$",$;,$^,$#,$~,$*,$:,@%)=( 05:07:07 $!=~/(.)(.).(.)(.)(.)(.)..(.)(.)(.)..(.)......(.)/,$"),$=++;$.++;$.++; 05:07:07 $_++;$_++;($_,$\,$,)=($~.$"."$;$/$%[$?]$_$\$,$:$%[$?]",$"&$~,$#,);$,++ 05:07:08 ;$,++;$^|=$";`$_$\$,$/$:$;$~$*$%[$?]$.$~$*${#}$%[$?]$;$\$"$^$~$*.>&$=` 05:07:21 And people say Perl isn't an esoteric programming language. 05:07:33 that's the worst case example 05:08:30 RodgerTheGreat: Forth 05:08:45 pikhq: wtf is that 05:09:12 ivan`: How do you embed C in python? 05:09:21 I wouldn't call FORTH a good language for beginners, bsmntbombdood 05:09:22 bsmntbombdood: It outputs "Just another Perl hacker". 05:09:37 RodgerTheGreat: Why not? 05:11:23 bsmntbombdood, http://72.14.253.104/search?q=cache:LcJmrOj-b1sJ:old.scipy.org/documentation/weave+python+weave&hl=en&gl=us&ct=clnk&cd=1 05:11:53 part of http://www.scipy.org/ 05:12:08 hmm 05:12:20 How does it do it? 05:12:30 Dunno. 05:13:19 weave.inline() compiles and executes 05:13:32 their idiotic webpage is broken 05:13:32 http://72.14.253.104/search?q=cache:8tUB6cC5RsUJ:old.scipy.org/documentation/weave/weaveusersguide.html+python+weave&hl=en&gl=us&ct=clnk&cd=2 05:14:00 oh you're asking about the perl monstrosity 05:14:30 No I was asking about the python+c 05:16:43 * bsmntbombdood tries weave 05:18:00 ...and it doesn't work 05:18:10 lol 05:18:33 reminds me of trying DarWine this morning, 05:18:49 it couldn't even run the copy of notepad.exe it came with. 05:30:53 -!- pikhq has quit ("leaving"). 05:32:09 http://i19.photobucket.com/albums/b190/MissMaryMack/pics/Cool_Shit/Kitties/KittyHate.jpg 05:32:20 * RodgerTheGreat laughs heartily 06:05:02 g'night everyone. 06:14:32 -!- cmeme has quit (Excess Flood). 06:16:44 -!- cmeme has joined. 06:21:22 -!- cmeme has quit (Excess Flood). 06:23:49 -!- cmeme has joined. 07:43:52 -!- calamari has quit ("Leaving"). 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:20:49 -!- ivan` has quit (" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"). 08:43:46 -!- Sgeo has quit (Read error: 104 (Connection reset by peer)). 10:11:23 -!- sebbu has joined. 12:15:57 -!- Eidolos has quit (Read error: 110 (Connection timed out)). 13:13:12 -!- Aardwolf has quit ("Ik zen der is mee weg"). 13:59:52 -!- jix has joined. 14:12:58 -!- jix_ has joined. 14:29:58 -!- jix has quit (Read error: 110 (Connection timed out)). 16:04:22 -!- CakeProphet has quit ("haaaaaaaaaa"). 16:14:07 -!- oerjan has joined. 16:53:17 -!- CakeProphet_ has joined. 16:53:19 -!- CakeProphet_ has changed nick to CakeProphet. 17:04:58 * Razor-X imagines RodgerTheGreat as Santa Claus. 17:06:19 lol 17:07:15 er, I mean "Ho Ho Ho" 17:07:23 Yes! There you go! 17:15:48 *sigh* i used to think of myself as a linux fan. but now that i'm accidentally using windows and IE i am starting to get so annoyed at certain anti-IE webpages that i want to stay with IE just out of stubborness. 17:16:11 * Razor-X shudders. 17:16:22 I was never anti-IE, but that's no reason to stick with an anathema. 17:18:18 Gah! My intuitive asymptotic ordering on a set of asymptotically strictly-increasing functions is not transitive! 17:18:54 Gah indeed 17:18:58 Haha. Order it better. 17:19:07 Although why it needs to be transitive is anyone's guess. 17:19:27 well, otherwise it is not an ordering. 17:19:39 Doh. 17:19:49 You know? I feel sorta bad when someone in #scheme says they've been wrangling with a homework problem for 5 hours and I can think up a solution in a few minutes. 17:20:06 Now, maybe the guy is just very stupid, but whatever. 17:20:54 I feel the same when I go to a lecture and it turns out to be a 1-hour explanation of the obvious. 17:21:02 well, you know, half of everybody is more stupid than average :) 17:21:11 Well, this guy's in a college CS class. 17:21:19 I mean.... that's what the real scary part is to me. 17:21:45 One of my formally assessed questions consists of ordering 25 functions by their asymptotic behaviour. :-( 17:21:50 I thought it would be easy 17:22:52 And now that I'm seeing, the differences between CL and Scheme are very very pedagogic in certain places. 17:23:03 I know several people in CS that honestly have no business programming 17:23:11 well, if the functions are arbitrary it is probably impossible to do nicely. 17:24:16 but if they are all o(...) each other in some direction then that should give you an ordering. 17:24:47 they are all strictly-increasing after some point 17:24:57 that won't help. 17:25:25 they could still be dipping above and below each other indefinitely. 17:25:30 AFAICT, they in fact have an ordering 17:26:52 of course if they eventually don't cross each other then you can use the eventual order 17:27:49 I think the problem with CS is that the average starting salary for that field is extremely high, so some people choose the major for the money. Hopefully, those people will switch majors after the first year or two. 17:31:01 I'll tell you, it's pretty frustrating trying to help someone whose only coding experience is a one-semester class in VB code in Java. Some people just don't get it, and probably never will. 17:31:58 -!- tgwizard has joined. 17:35:25 Heh. 17:40:20 * SimonRC is suprised that a certain function turns out to be constant 18:19:09 Programming classes just make stupid people who can't code think that they can 18:20:51 yeah, true. 18:21:27 it takes more than a class to learn to be a programmer. If you aren't devoting a fair amount of your free time to coding, you'll never be good at it. 18:21:47 indeed 18:25:39 s/coding/anything 18:30:07 I should do some of those coding contests 18:31:18 I've done a few 18:32:17 What's a good one? 19:18:19 -!- Sgeo has joined. 19:44:59 -!- Eidolos has joined. 19:58:03 -!- oerjan has quit ("Good night"). 20:17:29 -!- pikhq has joined. 20:53:11 -!- sebbu2 has joined. 21:12:31 -!- sebbu has quit (Read error: 110 (Connection timed out)). 21:32:52 * SimonRC goes for pizza. 21:33:35 fun 21:34:13 * pikhq yells at bitlbee 21:35:16 14:30 [localhost] -!- *** glibc detected *** double free or corruption (!prev): 0x080d3f18 *** 21:35:21 Bastard. 21:37:44 Haha. Garbage collection bug. 21:40:40 fun, garbage collection 21:41:16 Has anyone here heard of jMemorize? 21:42:13 The magic words are "identify password" 21:42:29 identify password 21:42:38 That kills bitlbee. 21:42:44 Oh, really? 21:42:58 Lemme try it. 21:43:33 Well, it does that for me. . . 21:43:45 s/password/your_password_here/, BTW. 21:43:55 Oh. 21:44:22 Nope. 21:45:37 ha, bitlbee 21:45:55 Also, does anyone here use rcirc and want to compare it to erc? 21:46:10 ha, erc 21:46:35 What do you use? 21:46:46 You either use irssi or XChat if you are on *Nix. I assure you. 21:47:52 -!- jix_ has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 21:48:04 Yep, xchat 21:48:17 and irssi sometimes 21:57:41 whoa, http://www.emacswiki.org/cgi-bin/wiki/ErcChess 22:01:20 -!- sebbu2 has quit (Connection timed out). 22:09:24 lol 22:37:25 -!- tgwizard has quit ("Leaving"). 23:28:12 -!- dibic0 has joined. 23:29:27 -!- dibic0 has left (?). 23:57:49 -!- ihope has joined.