x[a]=(int if x[a].find(".")==-1 else float)(x[a])
Posted by s on Nov. 25, 2008, 11:16 p.m.
Luda said first class functions never seem necessary. Well, nothing's necessary once you have turing completeness and proper IO, so that just means first class functions do just as they should: Make life easier when you want them to
Today I remembered that when I was in French Immersion all …Backtracking
Posted by s on Nov. 24, 2008, 11:15 p.m.
Spent a day with beautiful Python. Breath of fresh air
[8, 0, 0, 0, 0, 0, 0, 0][1, 1, 0, 0, 8, 0, 0, 0][1, 0, 1, 1, 1, 1, 0, 8][1, 0, 1, 1, 1, 8, 1, 1][1, 1, 8, 0, 1, 1, 1, 1] …Reply received
Posted by s on Nov. 23, 2008, 2:45 p.m.
It started with "so im a cock of a big sister"
Now then, off to learn backtracking recursion and dynamic programming. I really need to figure those two out, they're pretty useful. Of course, they're both the same thing pretty much since DP is just BT+Memoization. Watching BT things run …Still no reply
Posted by s on Nov. 22, 2008, 8:27 a.m.
I was happy yester morning. Saw the glowing face, except it wasn't the same face
I have to get out of this place
Posted by s on Nov. 20, 2008, 7:15 p.m.
An experiment with a monkey and a human developing together caused the human to behave like a monkey
Now, what if they had stuck the human in a group of 2000 monkies?I worry that's what they've done with meICS isn't going as planned. People don't understand =
Posted by s on Nov. 19, 2008, 7:19 p.m.
Philosophy was boring today
French was boring too, but I made it like PhilosophyICS was boring because people decided to take a class they didn't care about. Maybe if ICS was actually a challenge people wouldn't take it as a free credit and we could do somethingPhysics we …Beat it down, sooner or later it'll be done
Posted by s on Nov. 18, 2008, 11:05 p.m.
macro power op1,op2{
push ecx mov eax,op1 mov ecx,op2 call POWER pop ecx}POWER: jcxz GTFOofpowerafterreturningone push ebx dec ecx mov ebx,eax @@: mul ebx loop @b pop ebx ret GTFOofpowerafterreturningone: mov eax,1 retSo I decided stdcall can screw itself and I'd implement POWER to use a macro …This isn[url=gettingreal.37signals.com/toc.php]'[/url]t happening
Posted by s on Nov. 17, 2008, 11:25 p.m.
Somewhere there's a fire, burning the insides with passion. Feels a bit cold though, so maybe not
Now then, to quote Luda inaccurately: If a rook pair happens, something is already terribly wrongSomething was wrong twice. When you offer someone a match of chess you should actually intend to …