code logs -> 2011 -> Sat, 16 Jul 2011< code.20110715.log - code.20110717.log >
--- Log opened Sat Jul 16 00:00:30 2011
--- Day changed Sat Jul 16 2011
00:00
< McMartin>
Domain-Specific Language
00:13 kwsn [t1gg@31356A.5FD175.47BC3A.7D9E06] has joined #code
00:13 * kwsn waves
00:15
< kwsn>
WARNING: INCOMING ALLCAPS RANT
00:15
< kwsn>
WHY THE FUCK, DO YOU 1 BASE ONE PART OF A COMMAND AND MAKE EVERYTHING ELSE 0 BASE... SENSE IT MAKES NOT
00:28 You're now known as TheWatcher[T-2]
00:35 You're now known as TheWatcher[zZzZ]
00:36
<@froztbyte>
kwsn: we must be able to logically separate them, of course!
00:37
< kwsn>
froztbyte: this was in a partitioning utility
00:37
< kwsn>
if you wanted to delete a partition on an mbr disk, it was 1 based
00:37
< kwsn>
gpt?
00:37
< kwsn>
0 based
00:37
< kwsn>
everything else?
00:37
< kwsn>
0 based
00:37
<@froztbyte>
hehe
00:38
< McMartin>
Maybe the MBR is on a GPT and thus is secretly #0?
00:38
<@froztbyte>
it's ~02h00 here, so my mind can rationalise that into "it's obviously like error codes. 0 means properly usable, 1 means no partition!"
00:38
<@froztbyte>
but that's pretty insane
00:39
< kwsn>
heh
00:39
< kwsn>
the comment even said he was 0 basing it
00:39
< kwsn>
*1 basing
00:39
< kwsn>
i'm like
00:39
< kwsn>
wtf
00:40
< McMartin>
More seriously
00:40
< McMartin>
MBRs are *old*
00:40
< McMartin>
Old enough that 1-based indexing might still have been The Way.
00:40
< McMartin>
Since GPTs and MBRs are partition tables, it's possible their specs are what indicate the indexing.
00:41
< kwsn>
mbr is 0 based from what i can tell, all the other mbr code treats it as 0
00:41
< kwsn>
fuck
00:41
< kwsn>
the call to delete the partition in the table? num - 1
00:41
< kwsn>
i'm like .... WHAT
00:46
< Derakon>
...how sad is this? I just realized that casting objects to types in programming is a pun on typecasting in acting.
00:46
< Derakon>
Well, not pun, but play.
00:57
< ToxicFrog>
...I never realized that
00:59
< Derakon>
Oh, TF, I meant to show you this: https://gitorious.org/nethack-tas-tools/mainline/blobs/master/turnbyturn.txt
00:59
< Derakon>
It's a turn-by-turn description of a TAS of NetHack (incomplete, sadly).
00:59
< Derakon>
Including many amusing strategies.
01:00
< Derakon>
For example, did you know that negative gold has negative weight?
01:02
< ToxicFrog>
This is a glitch TAS, then~
01:02
< Derakon>
Just a bit, yes.
01:02
< Derakon>
There's apparently a glitch involving cream pies that they're explicitly not using since it breaks the game wide open.
01:03 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
01:15 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has quit [[NS] Quit: Lost terminal]
01:16 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code
01:19 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has quit [[NS] Quit: leaving]
01:20 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code
01:48 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has quit [[NS] Quit: Lost terminal]
01:53 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code
01:53 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has quit [[NS] Quit: Lost terminal]
01:55 Kindamoody is now known as Kindamoody[zZz]
02:02 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code
02:06 Derakon is now known as Derakon[AFK]
02:07 * McMartin gets around to actually reading through this JavaScript book.
02:07
< McMartin>
This is JS with an extremely strong Scheme accent.
02:07
< McMartin>
It is beautiful and terrifying, and it speaks to the darkest corners of my soul.
02:07 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has quit [[NS] Quit: Lost terminal]
02:09
< McMartin>
... and now he's doing currying
02:09 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code
02:09
< McMartin>
"JavaScript does not have a curry method, but we can fix that by augmenting Function.prototype..."
02:34
< ToxicFrog>
o.O
02:37 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has quit [[NS] Quit: Lost terminal]
02:37 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code
02:41
< McMartin>
JS does assignable closures "right", by which I mean "like Scheme", and he spends a full chapter implementing a prototype-based system of full inheritance with private data hidden within constructor closures.
02:41
< McMartin>
This book needs to be read aloud with tesla coils sparking in the background
02:41
< McMartin>
I was kind of hoping this book would give me a decent discipline for writing JS in. Given my functional bent, however, it is instead a dark grimoire full of awesome things I should never let myself touch.
02:42
< McMartin>
Except for Object.create(), which is what JS should have done in the first place~
02:47
< ToxicFrog>
Heeee.
02:47
< ToxicFrog>
How does Scheme do it? Or rather, how does the way it does it differ from other closure semantics?
02:56 Attilla [Some.Dude@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
03:12
< McMartin>
In Python, upvalues are read-only.
03:12
< McMartin>
In Scheme, assigning to an upvalue modifies the upvalue in the upvalue's scope, instead of making a local shadow copy.
03:12
< McMartin>
JS tracks this.
03:12
< McMartin>
Anyway, for the record
03:13
< McMartin>
var createFrom = function (o) { var F = function () {}; F.prototype = o; return new F(); };
03:13
< McMartin>
This is The One True OO Function for JS.
03:13
< McMartin>
y = createFrom(x) makes y be a new object with x as its prototype object.
03:14
< McMartin>
Which is to say, what obviously should have been the primitive in the first place, and which tracks Game Maker~
03:15
< McMartin>
Of course, since the author here is barking mad he shoves this into Object's namespace instead of making it a utility function like a remotely sane person
03:16
< McMartin>
(To finish the earlier answer, it is not uncommon for upvalues to be read-only and attempted modifications to make a shadow copy. Python errors out if you try and bitches at you for not using objects)
04:31 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
05:36 shade_of_cpux [chatzilla@Nightstar-c5874a39.dyn.optonline.net] has joined #code
05: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!]
05:37 cpux [chatzilla@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
05:37 shade_of_cpux is now known as cpux
--- Log closed Sat Jul 16 06:11:53 2011
--- Log opened Sat Jul 16 06:13:36 2011
06:13 TheWatcher[zZzZ] [chris@Nightstar-3762b576.co.uk] has joined #code
06:13 Irssi: #code: Total of 19 nicks [0 ops, 0 halfops, 0 voices, 19 normal]
06:13 McMartin [mcmartin@Nightstar-11664913.pltn13.sbcglobal.net] has joined #code
06:13 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
06:14 Irssi: Join to #code was synced in 46 secs
06:14 Vash [Vash@Nightstar-f03c5637.sd.cox.net] has joined #code
06:14 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
06:15 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
06:16 Syloq is now known as Syloqs-AFH
06:49 Stalker [Z@5E691D.FC7C16.F8708C.6CED0A] has joined #code
07:01 Derakon[AFK] is now known as Derakon
07:08 Stalker [Z@5E691D.FC7C16.F8708C.6CED0A] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
07:24 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
07:37 kwsn [t1gg@31356A.5FD175.47BC3A.7D9E06] has quit [[NS] Quit: moo]
07:43 AnnoDomini [annodomini@Nightstar-8c477fce.adsl.tpnet.pl] has joined #code
07:47 Derakon is now known as Derakon[AFK]
--- Log closed Sat Jul 16 08:06:04 2011
--- Log opened Sat Jul 16 08:06:08 2011
08:06 TheWatcher[zZzZ] [chris@Nightstar-3762b576.co.uk] has joined #code
08:06 Irssi: #code: Total of 23 nicks [0 ops, 0 halfops, 0 voices, 23 normal]
08:06 Irssi: Join to #code was synced in 46 secs
08:28 Kindamoody[zZz] is now known as Kindamoody
08:32 AnnoDomini [annodomini@Nightstar-8c477fce.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
08:34 AnnoDomini [annodomini@Nightstar-3e5857ce.adsl.tpnet.pl] has joined #code
10:03 Rhamphoryncus [rhamph@C06FE3.F5723C.BE3FEB.9D4666] has quit [Client exited]
10:28 Vash [Vash@Nightstar-f03c5637.sd.cox.net] has quit [[NS] Quit: Sleep of Space!]
10:31 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
10:44 You're now known as TheWatcher
11:30 AnnoDomini [annodomini@Nightstar-3e5857ce.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
11:32 AnnoDomini [annodomini@Nightstar-f85c75bc.adsl.tpnet.pl] has joined #code
12:02 Attilla [Some.Dude@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
12:43 Kindamoody is now known as KiMo|packing
12:57 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
14:26 KiMo|packing [Kindamoody@Nightstar-1cf96749.tbcn.telia.com] has quit [[NS] Quit: See you when I find somewhere to connect from.]
15:01 kwsn [t1gg@31356A.5FD175.47BC3A.7D9E06] has joined #code
15:14 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
15:46 * TheWatcher stabs html and css
15:47
< TheWatcher>
It should not be this sodding difficult to vertically centre a table, damnit
15:48 * kwsn is glad she doesn't do webdev
16:04
< TheWatcher>
Fuck this shit
16:04 * TheWatcher drops in some javascript to do the job
16:05
< kwsn>
:P
16:10 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
16:35 kwsn is now known as kws-not_here
16:54 kws-not_here is now known as kwsn
17:04 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Client closed the connection]
17:04 Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code
17:12 Rhamphoryncus [rhamph@C06FE3.F5723C.BE3FEB.9D4666] has joined #code
18:26 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
18:38 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
18:48 Derakon[AFK] is now known as Derakon
19:42 Phox [Phox@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
19:48 kwsn [t1gg@31356A.5FD175.47BC3A.7D9E06] has quit [Ping timeout: 121 seconds]
20:04 kwsn [t1gg@31356A.5FD175.47BC3A.7D9E06] has joined #code
20:04 * kwsn grumbles about random BSODs
20:25 * gnolam eyes Google+.
20:25
< gnolam>
Spamming? Really?
20:30
< kwsn>
spamming what?
20:31
< gnolam>
They send out unsolicited e-mails.
20:31
< kwsn>
heh
20:32
< gnolam>
And that's low. Even for New Google.
20:32 * kwsn checks her inbox
20:33
< kwsn>
new google?
20:33
< kwsn>
no email here
20:35
< Namegduf>
gnolam: What'd you get sent?
20:35
< gnolam>
New Google. The "On second thought, /Do/ Be Evil" Google.
20:35
< Namegduf>
You're the first I've heard to mention it.
20:35
< Namegduf>
Hmm. I assume you have something particular in mind?
20:35
< Namegduf>
Normally I write it off as the kind of "It's hip to hate Google" thing that's going around
20:36
< gnolam>
They apparently do that annoying-as-fuck "harvest e-mail contacts and then send out '$USER has shared $X with you'" thing.
20:36 * kwsn hated google before it was hip to >_>
20:36
< kwsn>
actually i don't hate google, i just don't care for it
20:38
< Namegduf>
Ah.
20:38
< kwsn>
yeah
20:38
< Namegduf>
That is uncharacteristically obnoxious.
20:38
< kwsn>
heh
20:39
< Namegduf>
Well, obnoxious isn't that unusual recently, but it's normally isolated to their UI design people
20:58 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
20:59 Syloq is now known as Syloqs-AFH
21:04 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
21:23 Stalker [Z@5E691D.FC7C16.7074BE.6D1B26] has joined #code
21:40
< Rhamphoryncus>
gnolam: I've seen complaints about that before. It's intended to help bridge to people that aren't signed up, but... obviously does it in the completely wrong w ay
21:41
< Rhamphoryncus>
And it requires the user select people that aren't on google+
21:43 Stalker [Z@5E691D.FC7C16.7074BE.6D1B26] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
21:52 cpux [chatzilla@Nightstar-c5874a39.dyn.optonline.net] has quit [Client closed the connection]
21:52 cpux [chatzilla@Nightstar-c5874a39.dyn.optonline.net] has joined #code
22:28 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
22:53
< gnolam>
... and in related "make a bad service even worse" news, Steam has now apparently removed the ability to view just patch notes instead of all the other crap completely.
23:41 Kindamoody|out [Kindamoody@Nightstar-320fbfcd.cust.tele2.se] has joined #code
23:42 Kindamoody|out is now known as Kindamoody
23:45 Rhamphoryncus [rhamph@C06FE3.F5723C.BE3FEB.9D4666] has quit [Client exited]
--- Log closed Sun Jul 17 00:00:46 2011
code logs -> 2011 -> Sat, 16 Jul 2011< code.20110715.log - code.20110717.log >

[ Latest log file ]