code logs -> 2012 -> Sun, 22 Jan 2012< code.20120121.log - code.20120123.log >
--- Log opened Sun Jan 22 00:00:35 2012
--- Day changed Sun Jan 22 2012
00:00 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
00:04 * Vornicus tries to remember the most insane indexing trick he ever did
00:06<~Vornicus> I mean just yesterday I wrote a test for my polynomial library that was literally f(g)(x), where g is also a function.
00:06<~Vornicus> (that's right, I called a function with another function, then called the function that that returned)
00:07
< maoranma>
i...wut?
00:07
< gnolam>
The most insane indexing trick Vornicus ever pulled was convincing the world he didn't exist.
00:07<~Vornicus> heh
00:08<~Vornicus> maoranma: I have a polynomial type; it has some basic tools in it like the ability to add and multiply polynomials. These polynomials, however, are callable.
00:08<~Vornicus> You pass an x value to it and it gives you the value of that polynomial at that x.
00:09
< maoranma>
What the fuck would you possibly do with that? Teach math?
00:09<~Vornicus> So it turns out that since I included multiplication and addition, I didn't need to write an explicit polynomial composition method.
00:09<~Vornicus> maoranma: polynomials are /fucking everywhere/
00:09<~Vornicus> In my case I wrote this code so I could draw curves.
00:09
< maoranma>
Are... are you... am I talking to a polynomial right now?
00:10<~Vornicus> So, simply passing a polynomial to another one gives me another polynomal, and that one I can call.
00:10
<@Vash>
... So is vorn a polynomial that doesnt' exist now?
00:11
< maoranma>
that's it
00:11
< maoranma>
class human(terminator):
00:11
< maoranma>
target = Vornicus
00:12 * Vash sighs. KNEW she didn't actually have a boyfriend. It was all imaginary
00:20 * Alek patpats Vash.
00:26 You're now known as TheWatcher[t-2]
00:28 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
00:29 You're now known as TheWatcher[zZzZ]
00:32
< gnolam>
Vash: nah, it just means you've been polyamorous this entire time.
00:35
<@Vash>
=O
00:36
< maoranma>
*bah-dum-miss*
00:37 Anna is now known as Ling
00:38 Aeron is now known as EvilDarkLord
00:40 mode/#code [+o Ling] by ChanServ
00:42 Jasever is now known as AnnoDomini
00:54 AnnoDomini [annodomini@Nightstar-f7eedefa.80-203-17.nextgentel.com] has quit [[NS] Quit: To sleep!]
01:08
< maoranma>
so I can use a joypad, but typing is hard with this stupid bandage around my wrist
01:08
< maoranma>
And no, I'm not emo. It's just hurting for some reason, I think I sprained it
01:09
<@Vash>
Heh.
01:09 * Vash patpat and gives cookies to maoranma
01:15 * maoranma noms and pulls up a GBA emulator
01:26 * Alek ponders whether Sonic will run fine on this computer, with a PS-style gamepad. >_>
01:26 * Alek decides to try. :P
01:34 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
01:57 Derakon is now known as Derakon[AFK]
02:13 Kindamoody[zZz] is now known as Kindamoody
02:16 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
02:28 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
03:26 Attilla [Obsolete@Nightstar-7b84d1fa.as43234.net] has quit [Ping timeout: 121 seconds]
03:53 Vash [Vash@Nightstar-8697fea9.wlfrct.sbcglobal.net] has quit [[NS] Quit: I <3craft Vorn!]
05:28 Kindamoody is now known as Kindamoody|afk
06:38 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:48 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
07:05 eckse [eckse@Nightstar-c5717e68.dsl.sentex.ca] has quit [Client closed the connection]
08:08 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
08:08 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
08:22 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
08:29 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
08:42 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Connection reset by peer]
08:43 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
09:28 Kindamoody|afk is now known as Kindamoody
09:48 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Client closed the connection]
09:48 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
10:00 Kindamoody is now known as Kindamoody|lunch
10:13
<@jerith>
Fellow emacsers! https://github.com/jerith/jerith-emacs
10:14
<@jerith>
I finally got around to doing some modular emacs config stuff.
10:20 You're now known as TheWatcher
10:23
<@TheWatcher>
That's far nicer an tidier than my single monolithic .emacs file, certainly
10:24
<@jerith>
TheWatcher: I wrote it and am sharing it because I couldn't find anything that did that.
10:25
<@jerith>
So if it's useful for more anyone else to look at, the effort of putting it on github is worthwhile. :-)
10:28 * TheWatcher yoinks it, will look into converting his config to use it later
10:30
<@TheWatcher>
(you know, after I've had at least one tea, and can type straight)
10:33
<@jerith>
Feel free to throw ideas or pull requests my way.
10:34
<@jerith>
It's somewhat suboptimal still, and is fairly specific to me.
10:46 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
11:02
<@jerith>
Yay for exciting new hacks to replace crusty old ones.
11:05
<@TheWatcher>
\o/
11:06
<@jerith>
Two things I really need to do.
11:06
<@jerith>
Some kind of prioritisation of the prefs scripts, so I can assume that certain things will happen before or after other things.
11:07
<@jerith>
Actually filter out the blacklisted prefs files, if any.
11:25 Kindamoody|lunch is now known as Kindamoody
11:29
< gnolam>
Huh. Glew is up to 1.7.0? Time to update.
11:30
<@TheWatcher>
jerith: Well, the former you could do with the old NN_ filename prefix, and sort the list in get-prefs-files-to-load
11:52
<@jerith>
TheWatcher: Yeah, but that's ugly.
11:52
<@jerith>
I think I'll just use "aaa-" and "zzz-" prefixes.
11:53
<@jerith>
That way most of the prefs files can keep their nice names.
11:54
<@TheWatcher>
*shrug* fairynuff
13:16 Attilla [Obsolete@Nightstar-d968f105.as43234.net] has joined #code
13:56<~Vornicus> Heh.
13:57<~Vornicus> So, I look at some other code I've written lately, that's not version controlled, and I go "where's my version control markers?"
13:58<~Vornicus> It's apparently grown on me~
14:05 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Client closed the connection]
14:05 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
14:40 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
15:15 Kindamoody is now known as Kindamoody|out
15:18 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
15:42 Vash [Vash@Nightstar-8697fea9.wlfrct.sbcglobal.net] has joined #code
15:42 mode/#code [+o Vash] by ChanServ
16:44 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
17:15 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
17:15 mode/#code [+ao Derakon Derakon] by ChanServ
17:24 Kindamoody|out is now known as Kindamoody
17:25 * Vornicus fiddles with an old mac 4x called "galactic frontiers", is again surprised at how many options this relatively minimal game has in it.
17:34
<@iospace>
that's... not a good sign
17:35
<@iospace>
my desktop booted into chkdsk
17:37
< Namegduf>
Vornicus: Older 4X games were badass that way.
17:39<~Vornicus> The core game is very simple: planet development is "spend ships to do things", you don't get ship designs or tech or diplomacy...
17:41
<@iospace>
seems to be minor errors
17:41
<@iospace>
thank god Dx
17:41
< Namegduf>
Check SMART
17:42
<@iospace>
i should
17:42
<@iospace>
but SMART is hit or miss
17:43
< maoranma>
the way that was phrased it sounded like chkdsk was your new OS, and I was about to point out you're not going to run much on that
17:43
< Namegduf>
I think most of the misses are cases where the drive didn't display any faultiness prior to total failure
17:44
<@iospace>
yeah
17:44
<@iospace>
this is a newish drive sadly
17:44
<@iospace>
(this computer is on its last legs anyway >_>)
17:45
< Namegduf>
Drives are mostly likely to crap themselves when new or old rather than in the middle, so it's not too implausible. :(
17:45
< Namegduf>
Do you keep regular backups?
17:48 mao42ranma [maoranma@490720.C448F4.AF3B2F.A82584] has joined #code
17:48
< mao42ranma>
Bah
17:49 maoranma [maoranma@Nightstar-5a567751.pools.spcsdns.net] has quit [Ping timeout: 121 seconds]
18:53 mao42ranma is now known as maoranma
18:53
< maoranma>
Phew, finally
18:53
< maoranma>
got all my comics moved into RSS feeds
19:08 eckse [eckse@Nightstar-26470112.dsl.sentex.ca] has joined #code
19:10 Kindamoody is now known as Kindamoody[zZz]
19:11 eckse_ [eckse@Nightstar-a44be1c1.dsl.sentex.ca] has joined #code
19:13 eckse [eckse@Nightstar-26470112.dsl.sentex.ca] has quit [Ping timeout: 121 seconds]
19:14<~Vornicus> woot
19:14
< maoranma>
can I have one mommy? http://wallbase.cc/wallpaper/565668
19:32
< maoranma>
Hmm, that could be a project. Setup a python script to regularly scrape wallbase for photos of a certain size...
19:32
<@ToxicFrog>
Augh, what the hell is going on here
19:33
<@ToxicFrog>
In the main program, I connect the triggered() signal on a QMenu to a debugging function
19:34
<@ToxicFrog>
When it actually fires, I get an error from QCoreApplication::processEvents (or QCoreApplication::exec, depending on how the mainloop is structured) saying that it's been called with the e wrong number and type of arguments.
19:34
<@ToxicFrog>
I cannot construct a minimal test case that replicates this.
19:51 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
20:05
< celticminstrel>
I wonder whether it's possible to reverse the order of lines using just CSS...
20:05<~Vornicus> If you're entirely insane.
20:06
< maoranma>
Check, what next?
20:06
< celticminstrel>
XD
20:06
< celticminstrel>
Insane? :P
20:07<~Vornicus> You could do it with fixed or something, or try some crazy thing with like negative margin values.
20:41 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
20:43
< maoranma>
Hmm, looking into it, this shouldn't actually be that hard. I just need to figure out how to load the right page from wallbase, find the link to the actual wallpaper's page, then save the jpg or png found there
20:44
< maoranma>
Is BeautifulSoup the best thing for that?
20:59
< celticminstrel>
Seems like you'd need to apply said negative margins with javascript for it to work.
20:59
< celticminstrel>
So not worth it.
21:00<~Vornicus> Why do you want to do that anyway?
21:00
< maoranma>
We established that he's insane.
21:37
< maoranma>
http://cdn-www.cracked.com/articleimages/ob/geekfilms2.jpg
21:37
< maoranma>
god, so true
21:40
< maoranma>
http://image.bayimg.com/namaeaadb.jpg HAHAHAHA
22:02
<@Vash>
...
22:30 eckse_ is now known as eckse
22:41 eckse is now known as eckce
22:48 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
22:52 * TheWatcher actually gets around to looking at jerith's emacs modular settings thing
22:57
<@TheWatcher>
Oh, directory-files returns the file list in alphabetical order anyway, so no sort is needed
23:05 * jerith nods.
23:06
<@TheWatcher>
(I'm so used to file lists being handed to me in directory order ¬¬)
23:39 Derakon is now known as Derakon[AFK]
23:53
< Reiver>
So Vornicus hey Vornicus
23:54
< Reiver>
I have an idea can you prod at it with me
23:57<~Vornicus> Certainly.
23:57
< Reiver>
Derakon[AFK] too, but he's gone so
23:57
< Reiver>
OK, premise for a 4X game. Possibly 3X haven't figured out Research, but
23:57<~Vornicus> perhaps #spacerpg would be a more appropriate place.
23:57
< Reiver>
hee, good idea
23:59 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
--- Log closed Mon Jan 23 00:00:03 2012
code logs -> 2012 -> Sun, 22 Jan 2012< code.20120121.log - code.20120123.log >

[ Latest log file ]