code logs -> 2011 -> Fri, 29 Apr 2011< code.20110428.log - code.20110430.log >
--- Log opened Fri Apr 29 00:00:42 2011
00:15 Vornicus-Latens is now known as Vornicus
00:28 Kindamoody is now known as Kindamoody[zZz]
00:44 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
00:45 Rikushadow5 [DSD@Nightstar-57019f84.int.bellsouth.net] has joined #code
00:49 You're now known as TheWatcher[T-2]
00:51 You're now known as TheWatcher[zZzZ]
01:26 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
01:46 gnolam [lenin@9D46A2.F4E9D7.E4B4CF.2072AD] has quit [[NS] Quit: Z?]
02:07
< Rikushadow5>
So, today, some moron asked me if I could write a program to be placed on a cellphone.
02:07
< Rikushadow5>
That's not the moronic part.
02:07
< Rikushadow5>
He asked if I could write it to summon demons.
02:07
< Tamber>
Buh.
02:07
< Rikushadow5>
Like, Real Demons.
02:07 Attilla [Some.Dude@37647E.0E7447.22C7B1.567421] has quit [Ping timeout: 121 seconds]
02:08
< Rikushadow5>
My response was "Why would you want to summon Rachel Ray from your cellphone?"
02:08
< Tamber>
Riku: Because she won't answer his calls.
02:08
< Rikushadow5>
And then I told him he was being an idiot, and there's no way an amateur programmer like me could pull that shit off, even if it was possible.
02:08
< Rikushadow5>
That's probably why.
02:22 shade_of_cpux [chatzilla@510B1D.8D602E.9FE2BE.9FAE21] has joined #code
02:23 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
02:23 shade_of_cpux is now known as cpux
02:27 cpux [chatzilla@510B1D.8D602E.9FE2BE.9FAE21] has quit [Ping timeout: 121 seconds]
02:43 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code
02:48 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
03:21 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
03:27
< kwsn>
The answer to 6 / 2 (1+2) depends on what compiler you use (recent FB question)
03:28
< Tamber>
This is why I like to use lots of parens. ...that and I like playing with LISP.
03:29
< kwsn>
lots of silly parens eh?
03:29
< Tamber>
:)
03:29 * kwsn botched that, but the point is made
03:57 shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code
03:57 shade_of_cpux is now known as cpux
04:03 cpux is now known as shade_of_cpux
04:04 shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [Connection closed]
04:04 shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code
04:13 shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
04:17 shade_of_cpux [chatzilla@510B1D.8D602E.9FE2BE.9FAE21] has joined #code
04:31 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Ping timeout: 121 seconds]
04:33 Phox [Tertius_Vul@Nightstar-99ad95c5.abhsia.telus.net] has joined #code
04:36 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code
04:53
< Reiver>
HEY TOXICFROG
04:53
< Reiver>
Your boardgame setup demands a dice rolling function
05:01 Rikushadow5 [DSD@Nightstar-57019f84.int.bellsouth.net] has quit [[NS] Quit: Sleepy-time]
05:11
< ToxicFrog>
Dude
05:11
< ToxicFrog>
Dice were the first test object I implemented
05:32
< Reiver>
woo!
06:18 kwsn is now known as kwsn`
06:37 kwsn` is now known as kwsn\t-2
06:43 kwsn\t-2 [kwsn@Nightstar-9d744862.dyn.centurytel.net] has quit [[NS] Quit: moo]
07:53 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:58 AnnoDomini [annodomini@D553D1.9D4909.D8029A.05FB09] has joined #code
08:40 Omega [omegaboot@Nightstar-413db781.emhril.sbcglobal.net] has joined #code
08:40 SmithKurosaki [smith@Nightstar-1e66ccde.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds]
08:41 Alek [omegaboot@Nightstar-b2ed67d5.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
08:48 AnnoDomini [annodomini@D553D1.9D4909.D8029A.05FB09] has quit [Ping timeout: 121 seconds]
08:50 AnnoDomini [annodomini@D553D1.41311B.8F206F.901FB8] has joined #code
08:54 Kindamoody[zZz] is now known as Kindamoody
09:01 Vornicus is now known as Vornicus-Latens
09:24 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
09:27 * TheWatcher[zZzZ] readsup
09:28 You're now known as TheWatcher
09:28
< TheWatcher>
Of course it's possible to summon demons via a program on a mobile phone; you just need to find a phone that can run a perl 'terp first...
09:30 * Tamber wonders if there's a perl interpreter written for J2ME yet.
09:30
< Tamber>
I have a feeling it's a silly question, but hey ho.
09:31
< TheWatcher>
If there is, all you'd need is Thaumaturgy::Evocation from CPAN, and then a handful of code!
09:32
< Tamber>
Perfect!
09:34
< TheWatcher>
(well, that or you can borrow some of my course processor code. The results will be the same. Yet again, TMTOWTDI...)
09:35
< Tamber>
Naturally.
10:43 Kindamoody is now known as Kindamoody|out
10:55 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
11:53 Attilla [Some.Dude@Nightstar-92c9199f.cable.virginmedia.com] has joined #code
12:55 Rhamphoryncus [rhamph@C06FE3.F5723C.BE3FEB.9D4666] has quit [Client exited]
13:12 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
13:27 * TheWatcher shouldn't have mentioned anything about diminished spam levels ;.;
13:57
< Reiver>
TMTOWTDI?
14:12 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
14:16
< TheWatcher>
Reiver: There's More Than One Way To Do It
14:17
< Reiver>
haha
14:17
< TheWatcher>
(the official motto of perl~)
14:23
< Reiver>
Small print, of course, being BNWTRI
14:24
< TheWatcher>
Bah
14:24
< TheWatcher>
Have you ever seen any of my perl code?
14:25 * Reiver figures you'd get the acronym without expansion. Afterall, you actually write perl~
14:55 celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has joined #code
17:34 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Connection reset by peer]
17:34 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code
17:57 Tarinaky is now known as Caeldir
18:02 AnnoDomini is now known as Zon
18:19 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Connection reset by peer]
18:19 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code
19:05 Derakon [chriswei@8E7DA3.11EB2E.8356BF.B82ACB] has joined #code
19:06 * Derakon hands Microsoft the Collapsed Flan of Unachievement.
19:06
< Derakon>
For two things.
19:06
< Derakon>
First, I wanted to install their free version of Visual Studio, so I downloaded the .iso with the installer on it, mounted it as a virtual CD, and ran the installer.
19:07
< Derakon>
The installer failed, because, as part of the installation process, it tries to write to where the installer is located, which is of course impossible...but it does this silently, and only complains when it discovers that the file it tried to write isn't there (which happens after a reboot).
19:07
< TheWatcher>
...
19:07
< Derakon>
Secondly, I installed Python 2.7 alongside Python 2.5. This installation re-did the file associations, but for now I need to keep using 2.5, so I tried to change them back.
19:08
< Derakon>
This is, in fact, impossible because Windows thinks that since the interpreter executables have the same filename (but different paths!) they are the same program.
19:08
< Derakon>
So I had to rename the interpreter in the 2.7 install just to fix the file associations.
19:10 * TheWatcher makes a note to self to copy everything off the VS2008 cd when he downloads it at work~
19:10
< Derakon>
Yeah, that's the recommended workaround.
19:14 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Connection reset by peer]
19:14 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code
19:14
< gnolam>
Weird. Visual Studio Pro doesn't do that.
19:17 * TheWatcher vaguely stabs VBox's clipboard handling
19:33 SmithKurosaki [smith@Nightstar-1e66ccde.dsl.teksavvy.com] has joined #code
19:37 Kindamoody|out is now known as Kindamoody
19:47 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Connection reset by peer]
19:47 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code
20:08 kwsn [kwsn@BAD19E.B5A83A.180240.E5184B] has joined #code
21:25 Rhamphoryncus [rhamph@C06FE3.F5723C.BE3FEB.9D4666] has joined #code
21:36 * Derakon improves the runtime of his code by a factor of 25 or so in certain edge cases.
21:40
< jerith>
\o/
21:48
< Derakon>
I don't know how often those edge cases will happen, but I could do it, so I did.
21:49
< Derakon>
Basically we have a 4D array of data that we're taking various 2D views of.
21:49
< Derakon>
As long as we're looking at the data perpendicularly, extracting the 2D view is very cheap, but as soon as we change our viewpoint, calculating the view becomes significantly more expensive.
21:50
< Derakon>
The program is, naturally, intended to help you find the right viewpoint, so I assume most people won't spend much time in the perpendicular one.
21:59 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
22:13 Zon is now known as AnnoDomini
22:14 Caeldir is now known as Tarinaky
22:19
< AnnoDomini>
http://www.itu.dk/courses/BPRD/E2010/religion.txt
22:23 * Derakon eyes this old (read: not written by him) code.
22:23
< Derakon>
It spends 1169 lines in a single module for viewing a file.
22:24
< Derakon>
The program I've written is 446+476+185 = 1107 lines for that particular functionality and it's more capable and the code makes sense.
22:25
< Derakon>
Sooooo maybe I should just split that out into a library and use it in more than one place~
22:25
< jerith>
:-)
22:25
< Derakon>
Only problem is I've yet to figure out how to set up my repo so that code I use in more than one place is still easy to deploy.
22:26
< Derakon>
(Where by "deploy" I mean "copy onto a thumb drive" or "upload a tarball to a server", depending)
22:44 AnnoDomini [annodomini@D553D1.41311B.8F206F.901FB8] has quit [Ping timeout: 121 seconds]
22:56 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
23:29
< TheWatcher>
dera: git commit -a/git pull~
23:30
< Derakon>
I'm using Mercurial; what does -a do?
23:30
< Derakon>
I think really the answer here is "have build scripts to copy things in from the right places".
23:31
< TheWatcher>
automatically stages modified files (essentially it's a shortcut for git add <files> && git commit)
23:31
< Derakon>
Ah.
23:31
< Derakon>
Sooo...you're suggesting I use version control then. Thanks. :p
23:32
< TheWatcher>
I was being fairly facetious
23:34
< TheWatcher>
You could use a make script though.
23:34
< Derakon>
Ewwww, makefiles.
23:34
< TheWatcher>
Ah, hm.
23:36 Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Connection closed]
23:37 kwsn is now known as kwsn\t-2
23:37
< Derakon>
(In general I find makefiles for non-C-compilation purposes to be needlessly terse ways of moving things around)
23:37 Kindamoody [Kindamoody@35E323.4A5F05.9893B9.A684A3] has joined #code
23:38 kwsn\t-2 is now known as kws-not-here
23:40
< TheWatcher>
Fair enough :)
23:40 * TheWatcher pokes at virtualbox's clipboard handling some more, can't work out wtf
23:45
< McMartin>
IIRC, the only things that stick are text
23:45
< McMartin>
But I haven't tried 4.x yet
23:45 * Derakon vanishes. Ta-ta, gents.
23:45 Derakon [chriswei@8E7DA3.11EB2E.8356BF.B82ACB] has quit [[NS] Quit: leaving]
23:48 Netsplit *.net <-> *.split quits: Tamber, Omega, Phox, celticminstrel, PinkFreud, Attilla, Kazriko, McMartin, jerith, Vornicus-Latens, (+8 more, use /NETSPLIT to show all of them)
23:49 Netsplit over, joins: Attilla, Omega, EvilDarkLord, jerith, Vornicus-Latens, PinkFreud, Kindamoody, McMartin, kws-not-here, Kazriko (+8 more)
--- Log closed Sat Apr 30 00:00:04 2011
code logs -> 2011 -> Fri, 29 Apr 2011< code.20110428.log - code.20110430.log >