code logs -> 2011 -> Wed, 30 Nov 2011< code.20111129.log - code.20111201.log >
--- Log opened Wed Nov 30 00:00:33 2011
00:02 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
00:10 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
00:15 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
00:18
< gnolam>
The soldering station works fine. I, however, am a klutz.
00:18
< RichardBarrell>
I get that problem a lot.
00:20 You're now known as TheWatcher[T-2]
00:23 You're now known as TheWatcher[zZzZ]
00:27 RichardBarrell [mycatverbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: zzz]
00:31 Derakon[AFK] is now known as Derakon
00:52 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Leaving]
00:59 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
01:33 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
01:33 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
01:52 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Operation timed out]
01:56 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
01:59 Kindamoody[zZz] is now known as Kindamoody
02:06 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
02:15
< gnolam>
Ok, moment of truth...
02:32 Derakon is now known as Derakon[AFK]
02:59 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:05 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
03:17 Derakon[AFK] is now known as Derakon
03:18 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
03:58<~Vornicus> man. euler 43 practically invites r'lyehan solutions.
04:25<~Vornicus> also, fuckyeah, dictionary comprehensions
04:25<~Vornicus> {(k,): set(range(10)) - {k} for k in range(10)}
04:28
< Derakon>
The tuple of just k maps to the set containing every number from 0 to 9 inclusive except for k, for k in 0 to 9 inclusive.
04:28
< Derakon>
Okay.
04:28
< Alek>
wait. hm.
04:29
< Alek>
canvas does drawings. but can it draw and change them over time?
04:29
< Derakon>
...yes?
04:30
< Alek>
ok.
04:30
< Derakon>
Each paint cycle you clear the results of the last paint cycle before drawing your new stuff.
04:30<~Vornicus> Der: and then its sequel: (j,k): set(range(10)) - {j,k} for j in range(10) for k in range(10) if j != k
04:31<~Vornicus> (you don't have to clear the results, but it then looks like you're redoing the music video to OK Go's "WTF?"
04:31<~Vornicus> er, seem to have dropped the {} around it
04:31
< Derakon>
Each pair of non-equal numbers maps to the numbers in [0, 9] excepting them.
04:33
< Alek>
ok, how about WITHOUT clearing? can it draw, then keep modifying what's already drawn?
04:34
< Alek>
ah yes.
04:34
< Alek>
hrm. what I really want to test is transition code, so that's the key part. -_-
04:34<~Vornicus> Sure, but remember that any spriteoids will have to be cleared to background or you'll leave trails.
04:34
< Alek>
pixel-based, not sprite-based.
04:34<~Vornicus> (note: a common way to "clear" is to simply reprint the background)
04:35
< Alek>
mnh.
04:35
< Alek>
anywho, night.
04:36 * Vornicus abuses array slicing.
04:36 Derakon is now known as Derakon[AFK]
04:41<~Vornicus> (did you know that [][:-2] is []?)
04:58 Derakon[AFK] is now known as Derakon
04:59
< Derakon>
Not surprised.
04:59
< Derakon>
Python's pretty liberal about letting you do array slices off the ends of the array.
05:01 * McMartin has recently been abusing the Hell out of cons cells.
05:06<~Vornicus> gah. hate this code. so cryptic, and i can't see another way to do it.
05:13 kwsn is now known as kw-sleep-n
05:51<~Vornicus> Jesus.
06:06 ErikMesoy|sleep is now known as ErikMesoy
06:07<~Vornicus> Yeah, that's nearly as horrible as the nested loops.
06:15 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
06:16 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
06:27
< ErikMesoy>
[:-2] looks like a smiley gone wrong.
06:37 Derakon is now known as Derakon[AFK]
06:37
< celticminstrel>
I was thinking that too.
06:43<~Vornicus> It's a jauntily smiling, cigarette-smoking person getting crushed in a trash compactor.
07:07 Kindamoody is now known as Kindamoody|out
07:59 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
08:06 Kindamoody|out is now known as Kindamoody
08:46 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: Into the hole again, we hurried along our way, into a once-glorious garden now seeped in dark decay.]
09:10
< Rhamphoryncus>
screw monofilament. I want a neutrino blade. It'll go through anything!
09:11
< celticminstrel>
Ehehe.
09:28 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
09:34 Kindamoody is now known as Kindamoody|out
09:37 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
10:03 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has joined #code
10:05 AnnoDomini [annodomini@Nightstar-9645f0b3.90-149-143.nextgentel.com] has quit [[NS] Quit: leaving]
10:06 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
10:07 You're now known as TheWatcher
10:31 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
10:31 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
10:46 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
11:20 kw-sleep-n is now known as kwsn
13:06 kwsn [kwsn@Nightstar-635d16fc.org] has quit [Ping timeout: 121 seconds]
13:16 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Client closed the connection]
13:16 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
13:17 kwsn [kwsn@Nightstar-635d16fc.org] has joined #code
15:23 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
15:27 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
15:36 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!]
15:59
< kwsn>
endianness: why we can't have nice things
16:12
< TheWatcher>
Indeed.
16:57
<@jerith>
kwsn: Is middle-endian not nice enough for you?
16:58
< Tamber>
phase-of-the-moon-endian!
17:00
< kwsn>
jerith: nope :<
17:06<~Vornicus> what do you call it when you have to do two consecutive keychords to do a particular atomic action, like you often do in (say) emacs? (I ask because just now I did ctrl-e ctrl-k to comment a bunch of lines in jedit)
17:06
< kwsn>
ew emacs :<
17:06
< Tamber>
Vorn: An optimisation possibility.
17:07
< Tamber>
(Or opportunity, depending on how you look at it. :)
17:07
< Tamber>
(No, I don't really know~)
17:09
< kwsn>
yay loopback test done ^___^
17:09
< kwsn>
Vornicus: you know what they say about emacs?
17:10<~Vornicus> It's a wonderful operating system, but it really needs a decent text editor. :P
17:10
< kwsn>
:D
17:11 * kwsn is a shameless vimmer :P
17:11<~Vornicus> I only mentioned emacs because it is notorious for that behavior.
17:11
< kwsn>
what do you use anyway?
17:11<~Vornicus> jEdit
17:12
< gnolam>
Vornicus: sequence?
17:12
< Tamber>
Ah, but on the bright side; key chording is better than having your entire desk covered in buttons because each one is assigned its own function in Vi(m) [90% of which are "destroy your document in bizarre ways"]
17:12
< Tamber>
;)
17:12 * gnolam stabs this disassembly output.
17:12
< kwsn>
Tamber: only if you have capslock on
17:12
< kwsn>
then you run into issues :P
17:12
< Tamber>
But, despite us disagreeing on that, there is one thing that we can agree on.
17:12 * TheWatcher eyes this discussion, runs M-x barge-pole
17:12
< Tamber>
...thank ${DEITY} it's not /ed/.
17:13
< Tamber>
:)
17:13
< Tamber>
[Aaaand this is where the lone ed user speaks up... ;)]
17:13
< kwsn>
Tamber: or joe :P
17:13 * Vornicus patpats TW
17:14
< kwsn>
TheWatcher: M-x barge-pole?
17:14<~Vornicus> It applies a barge pole to the situation, of course.
17:14
< kwsn>
heh
17:14<~Vornicus> (iirc M-x is the chord to say "run the named command")
17:15
< Tamber>
Yup
17:15
< kwsn>
i was joking with a friend: if you can use emacs or vim, you can play dorf fortress and vice versa
17:15
< Tamber>
hehe
17:15<~Vornicus> No, to play dwarf fortress you must be fluent in both.
17:16
< kwsn>
:P
17:16
< kwsn>
fucken dorfs man
17:16
< Tamber>
kwsn, the difference between DF and Vim is that DF gives you feedback on what you're currently breaking, and when you lose DF, you only let a civilisation crumble to its end, not drop a grenade on your work. :p
17:16
< kwsn>
Tamber: that's what you think
17:16
< Tamber>
hehe
17:16
< kwsn>
obviously you've never read the story of boatmurdered have you
17:16
< Tamber>
Yes, I have.
17:17
< Tamber>
That's what got me into DF. :)
17:17
< kwsn>
that's what gets a lot of people into it
17:19 * TheWatcher will get into dwarf fortress at such point as it gets an actual user interface, not something that appears to have decided that blender wasn't anywhere near pathologically vindictive enough to the user~
17:19
< Tamber>
...so, never, then.
17:19
< Tamber>
:p
17:19<~Vornicus> http://df.magmawiki.com/images/4/40/FunComic.png and http://bc.tech.coop/blog/060302.html
17:19
< Tamber>
hehe
17:19<~Vornicus> (the latter was made by Pi, wherever the hell he ran off to.)
17:20
< Tamber>
I have someone called Pi in one of my channels. o.o
17:20
< Tamber>
(elsenet, anyway.)
17:20
< Tamber>
Currently telling everyone that the future is FreeBSD, and we should all drop Linux.
17:20<~Vornicus> yeah, that's not hte pi i know.
17:20<~Vornicus> (he still, iirc, works at MS)
17:20
< Tamber>
Aha.
17:21
< TheWatcher>
Tamber: load of bollocks, anyway, Any sane person knows the future is Minix!~
17:21
< Tamber>
hee
17:21
< Tamber>
Don't be silly.
17:21
< Tamber>
The Future(TM) is Hurd.
17:22
< kwsn>
http://mkv25.net/dfma/map-9808-winddream
17:22
< TheWatcher>
Gods, haven't heard that name in a while
17:22
< kwsn>
that would be my map
17:22
< kwsn>
haven't touched it in a whiel mind you
17:22
< kwsn>
*while
17:22
< kwsn>
(for epic lulz click on "the warning" link :P
17:24 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [[NS] Quit: ]
17:24
< Tamber>
<<Stallman said that he was "not very optimistic about the GNU Hurd">> And it only took him until 2010 to come to this.
17:26<~Vornicus> I have never even once heard of Hurd being used in real life.
17:26<~Vornicus> Or at that even as a toy.
17:27<~Vornicus> I mean hell, even plan 9 I've met someone who played with it.
17:30
< kwsn>
but yeah
17:31
< Tamber>
Could that be because folk expect RMS to appear after they finally figure out how to make it work, point laugh and say "gotcha!", Vorn? ;)
17:35<~Vornicus> ...apparently the day I wrote euler 44 I was on more drugs than on the day I wrote euler 43.
17:36
< Tamber>
I have my suspision that mind-altering substances are the only way of completing the Euler challenges. ??
17:39<~Vornicus> SOme of them are pretty hairy.
17:39<~Vornicus> euler #44 is "find two pentagonal numbers a and b s.t. a + b and a - b are both pentagonal numbers.
17:39
< Tamber>
I'm just bitter because I can't do them, don't mind me~
17:40<~Vornicus> I have a 50ish line thing that appears to be a binary search, but there's so much insanity in my conditions that I'm not sure!
17:40
<@EvilDarkLord>
Huh, there's been quite a few new ones since I stopped on them. Looks like I got 1-59 and some scattered ones.
17:41 * Vornicus has completed 137.
17:41 * Vornicus is now going through his old solutions and adding commentary.
17:41 * Tamber has completed 1,2 and 13. And that's /it/.
17:41<~Vornicus> And I get to 44 and it's a shrieking horror.
17:42<~Vornicus> What language, tamber?
17:42
< Tamber>
Thought I had a solution to #20, since it worked for a small test problem, but it turns out not to actually work for the value given in the question;
17:42
< Tamber>
Perl, for the ones I have done.
17:43
< Tamber>
s/problem/value/; *herp*
17:43<~Vornicus> I don't know if perl has automatic giant integers; in python that was literally "find the factorial function I wrote earlier, ask it for 100, and stringify"
17:43
< Tamber>
And yes, before you start pointing and laughing; I /know/ I suck at maths and am doomed to writing CRUD apps.
17:44 * Vornicus actually has trouble with crud apps.
17:44
< Tamber>
Vorn: When I tried it with 100!, it gave it in scientific notation; which promptly tripped me up.
17:44<~Vornicus> Ouch, yeah.
17:45
< Tamber>
It seems all I /can/ write is CRUD. (Or at least shite.)
17:45<~Vornicus> yeah, if you're getting scientific notation it means it's failed over to floating point, which means even if you /had/ seen all the digits they'd have been wrong.
17:46
<@EvilDarkLord>
Awwww, it has some "friends" function now.
17:46
< Tamber>
Because the world isn't complete without /everything/ aping some shite social network, right? ;)
17:47
<@EvilDarkLord>
Also aping RPGs, I seem to be level 4.
17:47
< Tamber>
hehe
17:47<~Vornicus> EDL: it's had levels for as long as I've dealt with it
17:47 * jerith too.
17:47<~Vornicus> THe thing I'm befuddled at is that it has achievements now
17:48
< Tamber>
...oh dear.
17:48
< Tamber>
"Opened the page: 5G", "Attempted the first problem: 10G" ...
17:48
<@EvilDarkLord>
Yeah, it's been a while since I touched it and I forgot. At least the achievements are somewhat flavorful.
17:49<~Vornicus> I don't like some of the achievements, they're kind of arbitrary.
17:50 Kindamoody|out is now known as Kindamoody
17:51
<@EvilDarkLord>
How is any achievement not arbitrary?
17:53<~Vornicus> EvilDarkLord: compare "Solve 3 problems involving pythagorean triples" to "Solve 50 problems with prime ID numbers"
17:55<~Vornicus> (and then compare both of those to "Be among hte first 100 people to solve a problem")
17:56 Noah [maoranma@Nightstar-3da9206b.pools.spcsdns.net] has left #code []
17:56 Noah [maoranma@Nightstar-3da9206b.pools.spcsdns.net] has joined #code
17:56 Noah [maoranma@Nightstar-3da9206b.pools.spcsdns.net] has left #code []
17:56 Noah [maoranma@Nightstar-3da9206b.pools.spcsdns.net] has joined #code
17:57
<@EvilDarkLord>
Vornicus: I see. Is it the usage of problem metadata that bothers you (i.e. problem numbers)?.
17:57<~Vornicus> Yeah, that sort of thing.
18:01 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
18:01 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
18:04 * Vornicus eyes the internet
18:04<~Vornicus> DAMN YOU HUMBLE
18:05
< TheWatcher>
?
18:05
< kwsn>
o_O
18:05 * kwsn eyse Vornicus
18:05
< kwsn>
*eyes
18:06<~Vornicus> Uplink source code.
18:07 * TheWatcher eyes the license, wouldn't touch it
18:08
< gnolam>
... Uplink source code?
18:08<~Vornicus> Uplink: "hollywood hacking" game by Introversion.
18:08
< TheWatcher>
actually, the source for uplink, defcon, darwinia, and multiwinia from th elooks of it
18:09
< Tamber>
o.O
18:09
< TheWatcher>
Not open source, though. So all sorts of fun to deal with
18:09
< Tamber>
Naturally.
18:11
< gnolam>
Yes, I know what Uplink is. I've recommended the Introversion bundle as "worth it just for Uplink".
18:11
< gnolam>
They've released the source?
18:12
< TheWatcher>
yep
18:13 Kindamoody is now known as Kindamoody[zZz]
18:21 * Tamber hoorays.
18:21 * Tamber goes to redo the previously done challenges in CL, just to see...
18:22 * TheWatcher eyes
18:22
< kwsn>
CL?
18:22
< Tamber>
CommonLisp.
18:23
< kwsn>
ah
18:24
< TheWatcher>
"By releasing the source code we hope that Uplink will be modified in a variety of different ways: ... To Different Platforms. To Different Languages". blablabla... 2.3) basically translates as "windows only without our written permission". 2.4) translates as "english only without our written permission"
18:25
< TheWatcher>
Looks like someone didn't read their own license >.>
18:25
< Tamber>
...hehehe
18:26 * TheWatcher blink
18:28
< TheWatcher>
Also, that license is quite horribly vague regarding taking code sections and reusing them elsewhere.
18:51
< gnolam>
And today's "Stop fucking with my search results, Google" is "register" => "record".
18:51
<@Namegduf>
Source code for DEFCON?
18:52 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
18:52
<@Namegduf>
Very nice.
18:53 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
18:53
< Noah>
And Uplink
18:53
< Noah>
sorely needs an update
18:54
< Noah>
it has an inbuilt irc client, but it's glitchy, heh
18:54
<@Namegduf>
3 is stupid
18:55
<@Namegduf>
That's just what copyright law provides
18:55
<@Namegduf>
4 is a more accurate statement of the matter.
18:56
<@Namegduf>
I note that 5 and 6 are heavily GPL-derived.
18:58
<@Namegduf>
TheWatcher: I believe doing such would constitute a derivative work, and thus have all the fairly crazy conditions applied to your "elsewhere".
18:58
<@Namegduf>
So isn't feasible.
18:58
<@Namegduf>
IANAL, but I think that's the case.
19:02
< TheWatcher>
Quite probably true.
19:04
< gnolam>
Dammit. My brain inserts a comma and a space into that acronym every time.
19:05
< gnolam>
Robert Graves and Isaac Asimov present: "I, ANAL"
19:12
< TheWatcher>
Useful for getting to the bottom of things, though...
19:13
< kwsn>
gnolam: so there was this one guy in the military, Lee Nall. Apparently he got promoted to Major and signed everything Major Lee A. Nall
19:16
< gnolam>
:D
19:35 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
19:43<~Vornicus> I thought the code I had for 43 was bad, this one was on the good drugs.
19:43<~Vornicus> I can't figure out what it's even /trying/ to do.
19:46
< kwsn>
Vornicus: ultimate spaghetti code? :P
19:48<~Vornicus> it is 45 lines long. Few comments... I thiiink it's trying to do a binary search on something, but I can't really tell what.
19:50 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
19:56<~Vornicus> No functions, lots of weird nested loops that I can't track down the meaning of the conditions for, etc etc etc
20:01 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
20:06 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
20:46 * ToxicFrog upreads
20:46
< ToxicFrog>
CRUD Apps?
20:55
< Tamber>
"Create, Read, Update, Delete" - Boring stuff that nobody other than the company who wants the app cares about.
21:03 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
21:12 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
21:36
< ErikMesoy>
What's the command to turn your screen upside down? I thought it was ctrl-alt-downarrow but evidently not.
21:36 celmin [celticminst@1AB00B.855209.68E340.9900A4] has joined #code
21:37
< celmin>
So a call to glLight seems to be causing my program to terminate without an error. :/
21:38
< McMartin>
ErikMesoy: I think your monitor needs to support it.
21:47
< Tamber>
Not the monitor, but the card and its drivers.
21:52 ErikMesoy is now known as ErikMesoy|sleep
21:55
< celmin>
Any idea why this could happen?
22:02 * TheWatcher readsup
22:02
< TheWatcher>
Tamber: I do not that such apps can actually get pretty damned big and complicated, though~
22:03
< Tamber>
Yes; but not in a /fun/ way :p
22:04
< Tamber>
Eh, academic really; no-one'll hire me to program anything. I don't have a degree, so I don't get anything back even if I try. :/
22:05
< TheWatcher>
Portfolio?
22:06
< Tamber>
That's mostly why I've been putting stuff on Github, recently.
22:06
< TheWatcher>
Username? (not, alas,because we're looking to recruit, but because I'm nosey~)
22:06
< Tamber>
TamberP
22:07
< Tamber>
Although some days I feel like it's more warning people /away/ from me :)
22:14 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
22:15 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
22:16 kwsn is now known as kws-not-here
23:00 celmin [celticminst@1AB00B.855209.68E340.9900A4] has quit [Client closed the connection]
23:00 celticmistral [celticminst@1AB00B.855209.68E340.9900A4] has joined #code
23:25 * gnolam arrghs
23:33 celticmistral [celticminst@1AB00B.855209.68E340.9900A4] has quit [[NS] Quit: And lo! The minstrel departs, to spread the music to the masses!]
23:33 * McMartin notices he's been quoteboarded re: Java.
23:33
< McMartin>
[java] McMartin says, "Now Sephiroth is going to come down from the sky and destroy your customers with improbably long attack animations."
23:33
< McMartin>
I have no idea what the topic was.
23:38 kws-not-here is now known as kwsn
23:45 You're now known as TheWatcher[T-2]
23:48 You're now known as TheWatcher[zZzZ]
--- Log closed Thu Dec 01 00:00:48 2011
code logs -> 2011 -> Wed, 30 Nov 2011< code.20111129.log - code.20111201.log >

[ Latest log file ]