code logs -> 2013 -> Fri, 28 Jun 2013< code.20130627.log - code.20130629.log >
--- Log opened Fri Jun 28 00:00:05 2013
00:02 You're now known as TheWatcher[T-2]
00:05 You're now known as TheWatcher[zZzZ]
00:16 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
00:21 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
00:29 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
00:29 Derakon is now known as Derakon[AFK]
00:34 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
00:34 mode/#code [+o himi] by ChanServ
00:40 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
00:40 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
00:40 mode/#code [+o himi] by ChanServ
01:10 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
01:14 Orthia [orthianz@3CF3A5.E1CD01.B089B9.1E14D1] has quit [Ping timeout: 121 seconds]
01:24 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
01:24 mode/#code [+o himi] by ChanServ
01:30 Derakon[AFK] is now known as Derakon
02:09 * Derakon sighs at the Angband forums.
02:10
<&Derakon>
Guy's trying to compile the game, gets an error in the bit where the game creates a list of valid front-ends based on defined symbols (e.g. if USE_X11 is available then the X11 frontend is available for use).
02:10
<&Derakon>
None of the USE_* symbols are defined, so the compiler barfs because it refuses to create an empty list.
02:11
<&Derakon>
So he sticks a number into the list to force it to compile, and then wonders why he gets a segfault.
02:11 Turaiel[Offline] is now known as Turaiel
02:14 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has quit [[NS] Quit: Gone.]
02:17 Orthia [orthianz@3CF3A5.E1CD01.B089B9.1E14D1] has joined #code
02:17 mode/#code [+o Orthia] by ChanServ
02:17 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has joined #code
02:20 Turaiel is now known as Turaiel[Offline]
02:20 Turaiel[Offline] is now known as Turaiel
02:30
< [R]>
lol
02:45 Turaiel is now known as Turaiel[Offline]
02:57 Turaiel[Offline] is now known as Turaiel
04:09 ktemkin is now known as ktemkin[afk]
04:26 Kindamoody[zZz] is now known as Kindamoody
04:48 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
05:06 McMartin [mcmartin@Nightstar-7130bbf8.pltn13.sbcglobal.net] has joined #code
05:06 mode/#code [+ao McMartin McMartin] by ChanServ
05:37 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
05:37 Derakon is now known as Derakon[AFK]
05:40
< AnnoDomini>
http://fatpita.net/?i=12330
05:50 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
05:50 mode/#code [+o himi] by ChanServ
05:50 * Alek eyes
05:50
<@Alek>
"1 petabyte = 74 terabytes"
05:50
<@Alek>
wat
06:07 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has quit [Operation timed out]
06:11 Typh|offline [Typherix@Nightstar-7dc8031d.mi.comcast.net] has joined #code
06:31 Turaiel is now known as Turaiel[Offline]
06:34 Turaiel[Offline] is now known as Turaiel
06:36 Turaiel is now known as Turaiel[Offline]
07:02 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code
07:11 You're now known as TheWatcher
07:35 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
07:35 mode/#code [+qo Vornicus Vornicus] by ChanServ
07:46 Kindamoody is now known as Kindamoody|out
08:08 * sshine is looking at how to allocate heap memory for algebraic data structures in reversible machines.
08:11 You're now known as TheWatcher[afk]
08:12 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [[NS] Quit: Leaving]
08:46 celticminstrel is now known as celticsleep
09:15 Vornicus is now known as Vash
09:43 Vorntastic [Vorn@Nightstar-221158c7.sd.cox.net] has joined #code
09:48 You're now known as TheWatcher
10:16
< Vorntastic>
Okay. Frontier simplifier has to work on an iterator-oid, and return a map of the appropriate type.
10:18
< Vorntastic>
I'll have to invent the iterator-oids in question; they're... uh...
10:20
< Vorntastic>
Coming out of priority queues of iterators themselves.
10:47 Vornlicious [Vorn@Nightstar-34c9c91f.sub-70-211-0.myvzw.com] has joined #code
10:47 Vorntastic [Vorn@Nightstar-221158c7.sd.cox.net] has quit [Connection reset by peer]
10:47 Vorntastic [Vorn@Nightstar-221158c7.sd.cox.net] has joined #code
10:51 Vornlicious [Vorn@Nightstar-34c9c91f.sub-70-211-0.myvzw.com] has quit [Ping timeout: 121 seconds]
11:17 Vornlicious [Vorn@Nightstar-2e993216.sub-70-211-1.myvzw.com] has joined #code
11:17 Vornlicious [Vorn@Nightstar-2e993216.sub-70-211-1.myvzw.com] has quit [Connection reset by peer]
11:17 Vornlicious [Vorn@Nightstar-221158c7.sd.cox.net] has joined #code
11:17 Vorntastic [Vorn@Nightstar-221158c7.sd.cox.net] has quit [Connection reset by peer]
11:44 Vash is now known as Vornicus
12:48 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
12:50 Vornlicious [Vorn@Nightstar-221158c7.sd.cox.net] has quit [[NS] Quit: Bye]
14:39 You're now known as TheWatcher[afk]
15:28 celticsleep is now known as celticminstrel
16:14
<@Azash>
06:50 <@Alek> "1 petabyte = 74 terabytes" < what happened here?
16:15
<@Azash>
Even if going from peta to tebi, that's still 900
16:22 Derakon[AFK] is now known as Derakon
16:39
<@Alek>
I know!
16:39
<@Alek>
that was in response to Anno's link just minutes before
16:39
<@Alek>
[23:40] <AnnoDomini> http://fatpita.net/?i=12330
17:44
<@iospace>
... you know, i see why you're supposed to put one action per line when writing out instructions
17:45
<@Alek>
ah?
17:46
<@iospace>
yes
17:46
<@iospace>
because it helps reduce confusion over what happens first
17:54 ktemkin[afk] is now known as ktemkin[work]
18:41 * iospace is starting to get this driver figured out :3
18:42
< Syka>
i am parsing smartctl data
18:42 * Syka cries
18:43
<@iospace>
and?
18:43
<@iospace>
you have no sympathy from me
18:43
< Syka>
iospace: at least its in a fixed width format
18:43
< Syka>
theres a bug on the smartmontools tracker for a machine readable format
18:43
< Syka>
its closed as WONTFIX
18:43
< Syka>
;v;
18:45
<@iospace>
Syka: again, no sympathy
18:46 * Syka cries on iospace
18:56
<&ToxicFrog>
while I have been working on this CL, someone has upgraded one of the libraries I use under me.
18:56
<&ToxicFrog>
Awesome.
18:57
< Syka>
is it a good upgrade
18:57
< Syka>
or a 'oh crap everything is broken' with a side of 'i have never seen so much blood'
18:57
<@Azash>
Syka: Here's a movie quote
18:57
<@Azash>
"Never have I seen so many men wasted so badly"
18:58
< Syka>
what is this referring to
18:58
<&ToxicFrog>
Syka: it's a good upgrade, but an API-incompatible one
18:58
<@Azash>
Syka: The WONTFIX
18:59
< Syka>
heh
19:46
<@iospace>
annnnnnnnd brain fried for a moment
19:46
<@iospace>
hey all
19:46 * Tamber balances a muffin on iospace.
19:46 * iospace hands it back to Tamber, all warm
19:47
<@Tamber>
mmm, toasty
20:14
<@iospace>
ok, so i think i have this driver down :D
20:14
<@iospace>
just need to figure otu a few more things :3
20:17 Shift [NSwebIRC@Nightstar-33c44af7.orl.bc.ca] has joined #code
20:18 Kindamoody|out is now known as Kindamoody
20:21 Turaiel[Offline] is now known as Turaiel
20:26
<@froztbyte>
like what mistakes you made to get to that point in life?
20:37 You're now known as TheWatcher
20:41 * iospace is using a goto in C o:
20:43
< [R]>
bfd. So does Linus
20:44 Shift is now known as monster
20:44 monster is now known as monsterenergy
21:09 Kindamoody is now known as Kindamoody[zZz]
21:19
<@iospace>
time to see how bad this thing burns
21:19
<@iospace>
oh hey, it builds
21:19
<@iospace>
that's step one :V
21:24
< monsterenergy>
Does anyone here know if deleting system32 is good or bad?
21:24
<@froztbyte>
...wat
21:24
<@froztbyte>
why would you want to do that?
21:25
<@Tamber>
Ooh goodie, it's troll time~
21:26
< monsterenergy>
What does it do?
21:27
<@froztbyte>
plenty of things
21:27
<@froztbyte>
because very little windows software is actually 64 bit
21:27
<@froztbyte>
good rule of thumb: don't touch it if you don't know what it's for
21:28
< monsterenergy>
K thanks.
21:28
< monsterenergy>
Good idea man.
21:28
<@iospace>
and derp!
21:30 monsterenergy [NSwebIRC@Nightstar-33c44af7.orl.bc.ca] has left #code [""]
21:56
<@Alek>
http://imgur.com/gallery/HvX8z/comment/78310242
21:57
<@Alek>
scroll to the bottom
21:58 * ErikMesoy understands those. >_>
21:58 * froztbyte giggles at a couple of them
22:00
<@gnolam>
The third one should be why he /likes/ Earl Grey.~
22:00 * iospace giggles
22:12 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
22:14
<@Alek>
for Vorn, mainly:
22:14
<@Alek>
http://i.imgur.com/Utrq0su.png
22:17
< RichyB>
Okay, I have been nerd-sniped. What's the most efficient DEFLATE compression of a stream of zeroes of a given length?
22:18
< RichyB>
zlib with compression factor 9 seems to give me 87kB for a 30MB string of nulls.
22:18
<@Tamber>
/dev/nul
22:18 * Tamber smack'd.
22:20
< RichyB>
Yes, good job on the Kolmorogov complexity there, Tamber. I happen to need DEFLATE compatibility though, not any arbitrary Turing machine.
22:21
<@froztbyte>
haha
22:21
<@froztbyte>
I have no idea, though
22:21
<@froztbyte>
right now is the first time I'm running dedicated application servers in a long time
22:33
<&Derakon>
Run-length encoding should be your best bet for a string of zeros.
22:34
<&McMartin>
Except, again, that wasn't the question. =P
22:35
<&Derakon>
I'm doing the standard CS response of "Why are you trying to do that? You should do this other thing instead."
22:36
<&Derakon>
(Note I don't claim this is a good thing)
22:36 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
22:36 mode/#code [+qo Vornicus Vornicus] by ChanServ
22:36
<&McMartin>
It's not even that other thing you should do, though; what you should do is stick to a widely used and highly compatible compression format universally, like, oh, zlib
22:36
<&McMartin>
And then try it out to see how good a compression factor you get.
22:43
<@Alek>
"0E100000"?
22:43
<@Alek>
or some such
22:45
< RichyB>
The problem with cute answers like "dd if=/dev/zero bs=LENGTH count=1" is that I don't have any control over the decompression.
22:45
< RichyB>
The decompression algorithm has already been specified (by the PNG specification) to be DEFLATE.
22:46
< RichyB>
All I can do is pick the best-possible compression.
22:55 Turaiel is now known as Turaiel[Offline]
23:06
<&Derakon>
For PNG, aren't there programs that try to find the optimal compression for you?
23:06
<&Derakon>
Yeah, http://optipng.sourceforge.net/
23:07
<~Vornicus>
there's also pngcrush
23:11
<@gnolam>
And pngout. And others.
23:32
< RichyB>
For starters, the non-optimal PNG image that I'd have to generate in order to feed it into optipng is 270GB.
23:32
<@TheWatcher>
...
23:32
<@TheWatcher>
what the crap
23:33
< RichyB>
I'm making a 10-megapixel by 10-megapixel image.
23:33
<@TheWatcher>
O.o
23:34
<&McMartin>
And most of it is blank?
23:34
<&McMartin>
OK, I'm going to side with Derakon now: Are You Sure This Is Actually The Right Problem To Be Solving
23:35
< RichyB>
Indeed, all but the first byte of each row is nulls.
23:35
<&McMartin>
And not, say, some kind of HTML page with fixed pixel widths and placements of subimage components.
23:35
< RichyB>
What makes you think I'm trying to solve a problem?
23:35
<@TheWatcher>
That's, like, 273TB of data assuming R8G8B8
23:35
< RichyB>
This is pure nerd sniping.
23:35
< RichyB>
TheWatcher: yesss, you get the idea.
23:35
< RichyB>
I am trying to create a problem. :D
23:36
<&McMartin>
I suspect that huffman encoding will eventually hit some kind of limit
23:36
< RichyB>
That would be why I am reading RFC 1951 (the DEFLATE specification) right now.
23:37
<&McMartin>
But that if you find a workable answer with a smaller image, say, 10 kilopixel by 10 kilopixel, the answer will not change when scaled up by a factor of 10^6.
23:37
< RichyB>
I'm not trying to solve a problem here, I'm trying to create a problem.
23:37
<&McMartin>
Is the problem "You there, figure out how to encode this image", or "lol, have a deceptively small image and have it blow out your entire SAN as swap"
23:38
< RichyB>
It's the latter, obviously.
23:38
<&McMartin>
This wasn't obvious~
23:38
< RichyB>
What else am I going to want with ten squared megapixels?
23:38
<&McMartin>
In which case, my answer is "do science, not engineering"
23:38
< RichyB>
Yyyes, which is why I am reading RFC 1951 carefully to try and work out what my best possible compression ratio with one pass of DEFLATE is.
23:39
<&McMartin>
That's engineering~
23:39
<&McMartin>
ISTR the PNG spec has an enumeration of configurations of zlib.
23:44
< RichyB>
PNG spec says that pixels are stored in a sequence of IDAT blocks. The contents of the IDAT blocks are concatenated and parsed as a zlib stream.
23:45
< RichyB>
Actually, thank you for making me double-check that because I thought it was a DEFLATE stream.
23:45 * RichyB switches from RFC 1951 to RFC 1950.
23:48
<&McMartin>
The two are IIRC quite similar
23:48
<&McMartin>
(I'm using zlib to inflate stuff in monocle)
23:49
< RichyB>
Oh, I wasn't too far off the mark. 1950 (zlib) sets up a byte stream containing a 1951 (DEFLATE) stream.
23:49 * McMartin nods
23:49
<&McMartin>
zlib has its own header stuff independent of DEFLATE though.
23:49
<&McMartin>
(Which *did* burn me in Monocole; zip files do not have zlib headers)
23:52
< RichyB>
I'm effectively limited by the mathematics of DEFLATE.
23:53
<&McMartin>
Isn't DEFLATE a huffman variant?
23:54
< RichyB>
DEFLATE is lz77 followed by Huffman.
23:55
< RichyB>
I mean the operations on the data go [bytes -> lz77 -> tokens] then [tokens -> Huffman -> bits]
23:55 * McMartin nods
23:55
<&McMartin>
Are you hoping to be able to get better than machine performance through knowing in advance what the data looks like?
23:56
< RichyB>
I know for a fact that I'm producing a flat single-colour image.
23:57
< RichyB>
The PNG image that I'm kicking out looks like:
23:58
< RichyB>
row 0, filter mode None, 10 million repetitions of the R,G,B triple that encodes British Racing Green.
23:58
< RichyB>
rows 1,n: filter mode "UP", 10 million repetitions of the three null bytes.
--- Log closed Sat Jun 29 00:00:20 2013
code logs -> 2013 -> Fri, 28 Jun 2013< code.20130627.log - code.20130629.log >

[ Latest log file ]