code logs -> 2013 -> Wed, 27 Mar 2013< code.20130326.log - code.20130328.log >
--- Log opened Wed Mar 27 00:00:58 2013
00:04 ToxicFrog|W`rkn is now known as ToxicFrog
00:46 Derakon[AFK] is now known as Derakon
01:18 mac [mac@Nightstar-fe8a1f12.il.comcast.net] has joined #code
01:20 EvilDarkLord [jjlehto3@Nightstar-a5db08cc.org.aalto.fi] has quit [Ping timeout: 121 seconds]
01:30 Max_Turbo [lol@Nightstar-14c45833.wi.charter.com] has joined #code
01:35 Max_Turbo [lol@Nightstar-14c45833.wi.charter.com] has quit [[NS] Quit: ]
01:35 Max_Turbo [lol@Nightstar-14c45833.wi.charter.com] has joined #code
01:35 Max_Turbo [lol@Nightstar-14c45833.wi.charter.com] has quit [Client closed the connection]
01:40 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has quit [[NS] Quit: >:3 This is BunThulhu. Copy him into your quit message to help him take over the Internet.]
01:55 Derakon is now known as Derakon[AFK]
02:00 syksleep is now known as Syk
02:04 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
02:05 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
02:05 mode/#code [+o celticminstrel] by ChanServ
02:22 Courage [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds]
02:24 Courage [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code
02:24 mode/#code [+o Courage] by ChanServ
02:27 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
02:33 Kindamoody[zZz] is now known as Kindamoody
04:37 OrthiaLap [orthia@Nightstar-fae4ee48.ihug.co.nz] has quit [Connection reset by peer]
04:39 OrthiaLap [orthia@Nightstar-fae4ee48.ihug.co.nz] has joined #code
05:18 Kindamoody is now known as Kindamoody|afk
05:22 Derakon[AFK] is now known as Derakon
05:41 Derakon is now known as Derakon[AFK]
05:45 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:47 * Vornicus starts working on installing PILlow on this half of his computer. This is complicated by the fact that all osx package managers blow electric goats, and so he needs to install zlib and libjpeg and so forth first.
07:14 mac [mac@Nightstar-fe8a1f12.il.comcast.net] has quit [[NS] Quit: Leaving]
07:16
<&McMartin>
PILlow?
07:22 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
07:25
<~Vornicus>
PILlow: a fork of the Python Imaging Library that actually works with stuff newer than python 2.6
07:28
<&McMartin>
Aha
07:33
<&jerith>
And can also be installed on machines that don't belong to the PIL devs.
07:34 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
07:34 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
09:11 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
09:11 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
09:11 mode/#code [+o himi] by ChanServ
09:44 EvilDarkLord [jjlehto3@Nightstar-a5db08cc.org.aalto.fi] has joined #code
09:44 mode/#code [+o EvilDarkLord] by ChanServ
10:16 RichyB [richardb@Nightstar-228a334c.plus.com] has joined #code
10:25 RichyB [richardb@Nightstar-228a334c.plus.com] has quit [Ping timeout: 121 seconds]
10:35 RichyB [richardb@Nightstar-228a334c.plus.com] has joined #code
10:49 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
11:16 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
11:29 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
11:29 mode/#code [+o himi] by ChanServ
13:58 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
13:58 mode/#code [+o celticminstrel] by ChanServ
14:48 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
15:42 RichyB [richardb@Nightstar-228a334c.plus.com] has quit [Ping timeout: 121 seconds]
15:44 * ToxicFrog accidentally requests 12GB of memory in the middle of a major build
15:45
<&ToxicFrog>
Something to do with Python Imaging Library, presumably
16:05 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
16:05 mode/#code [+ao Derakon Derakon] by ChanServ
16:40 d4de [olorin@687AAB.418D22.C8BA3E.7C9693] has quit [Ping timeout: 121 seconds]
16:52 * Derakon ponders OpenGL and FTGL.
16:53
<&Derakon>
I'm trying to make this bit of code resolution-agnostic.
16:53
<&Derakon>
Previously it always had an ~25k x 25k canvas (in OpenGL units).
16:53
<&Derakon>
And I found that my 18-point font needed to be scaled by a factor of .004 or something like that to be about the right size.
16:54
<&Derakon>
Now the canvas is variably-sized, and I'm finding that the appropriate font scale is nonlinear (i.e. I can't just make it be some proportion of the canvas size).
16:54
<&Derakon>
WTF.
16:54
<&Derakon>
Like, if the canvas is 50k x 50k then a scaling factor of 8e-8 is good, but that's way too small if the canvas is smaller.
16:56
<&Derakon>
I'm gonna have to empirically get some values and then figure out a curve fit or something, and I have no idea why.
17:01
<&Derakon>
...alternately, this is one value that doesn't need to scale with the size of the canvas. Weird.
17:26 RichyB [richardb@82C760.FB77C5.B3D584.F99096] has joined #code
17:33
<@sshine>
Derakon, have you ever made RTS games?
17:33
<&Derakon>
Nope.
17:33
<&Derakon>
Not really my genre.
17:37
<@sshine>
not mine either. I'm more into storytelling. but I thought it might be an interesting exercise for getting into object-oriented programming.
17:49
<@iospace>
OOPs!
18:08 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
18:08 mode/#code [+qo Vornicus Vornicus] by ChanServ
18:15 d4de [olorin@687AAB.E04ECC.28277A.32636A] has joined #code
18:52 Kindamoody|afk is now known as Kindamoody
18:54
<@iospace>
oh goody
18:54
<@iospace>
i get to write to intel!
18:54 * iospace head desks
18:54
<@Azash>
300 Gb/s DDoS?
18:54
<@Azash>
Consider me impressed
18:56
<@Tamber>
Ouch.
18:57
<@Azash>
https://www.nytimes.com/2013/03/27/technology/internet/online-dispute-becomes-in ternet-snarling-attack.html?pagewanted=1&_r=1
18:57
<&McMartin>
That's probably a sizable fraction of Eastern Europe's entire organized crime botnet capability
18:58
<&McMartin>
If the other articles I'm seeing are any indication
18:58
<@gnolam>
Speculations on attack origins should always be taken with a grain of salt.
18:59
<&McMartin>
I admit I'm backing this also with Bayesian inference on where spam comes from~
19:07 * iospace blarhgs
20:04 jeroud [uid10043@Nightstar-7fd75919.irccloud.com] has quit [Ping timeout: 121 seconds]
20:05
<&ToxicFrog>
I seem to have gone to the madness place and implemented session saving for bash.
20:06
<~Vornicus>
Madness place!
20:09
<&ToxicFrog>
Well, that 12GB mistake earlier today resulted in everything going horribly wrong and I lost a lot of state, which annoyed me.
20:09
<&ToxicFrog>
There's not much I can do about the browser, but I can fix the shell!
20:10 * Tamber gets the tank of sharks
20:12
<&ToxicFrog>
When this is done, I'll be able to associate each shell with a session, and it will save its state (dir stack, pwd, history) after each command.
20:12
<&ToxicFrog>
'session load ____' can then be used to restore that state later.
20:13
<&Derakon>
Sounds like serialized screen.
20:13
<&ToxicFrog>
Not...really.
20:14
<&ToxicFrog>
Screen is more like a WM for terminals~
20:14
<&ToxicFrog>
This doesn't save anything about the terminal emulator, just about the shell.
20:24
<&McMartin>
"That 12 GB mistake earlier today" sounds bad >_<
20:24
<&McMartin>
Oh, of RAM, OK then~
20:25
<&McMartin>
09:59 <&Derakon> ...alternately, this is one value that doesn't need to scale with the size of the canvas. Weird.
20:25
<&McMartin>
Is it because the fonts are turning into texels and not pixels, and as such remain constant size?
20:27
<&Derakon>
But wouldn't the quad that the font gets rendered to need to change size?
20:27
<&Derakon>
The only thing I can think of is that FTGL.Font.Render is doing something behind the scenes to scale itself based on the OpenGL units : pixel conversion factor.
20:28
<&McMartin>
Oh, I see
20:28
<&McMartin>
Maybe the fonts have a different transform than the rest of things?
20:28
<&McMartin>
Just thinking out loud here
20:29
<&Derakon>
I'm using a helper function that I wrote, drawTextAt(loc, text, size, color).
20:29
<&Derakon>
Which pushes a matrix, does a translate and scale (scaling by the .004 mentioned earlier), and then calls the aforementioned Render function.
20:30
<&McMartin>
Mn
20:30
<&McMartin>
Dunno
20:30
<&Derakon>
Yeah, s'weird.
20:31
<&McMartin>
They could be pushing again and multiplying or something bizarre like that or possibly exploiting glViewport to bypass you entirely, but this is well into the level of "stop dicking around and go look at the source if it matters"
20:32
<&Derakon>
I'm mostly just curious why the size needs to be so frickin' small.
20:37
<&McMartin>
Oof
20:37
<&McMartin>
Time to code review this 114KB diff.
20:37
<&McMartin>
By that most untrustworthy of authors: me, three-to-four months ago
20:38
<&Derakon>
Heh.
20:38
<&Derakon>
I hope for your sake most of that is data files or something.
20:38
<&McMartin>
Not... so much
20:38
<&McMartin>
This is after stripping out the many tens of megabytes of data/prebuilt changes, which I've actually tested and found to be Basically OK.
20:41
<&McMartin>
(These changes revolve around shifts in the software ecosystem the core product operates in, which has distressingly wide-ranging effects on the product itself
20:41
<&McMartin>
)
20:43
<&ToxicFrog>
McMartin: I was doing some allocation rate benchmarking and didn't check my numbers before running the test.
20:44
<&ToxicFrog>
My workstation has exactly 12GB of memory and it was in mid-build, leaving something like half of that free.
20:45
<&ToxicFrog>
I am considering disabling swap entirely so that next time this happens, the OOM killer kicks in immediately.
20:46 * Derakon gets an email from a coworker saying "Dude, the drive on one of our shared machines is full and you're one of the top 3 users", does some digging around, finds a 128GB core dump...
20:47
<&ToxicFrog>
Snrk
20:47
<&ToxicFrog>
ulimit -c unlimited fo life, yo
20:47 Derakon_ [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
20:50 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
20:50 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
20:51 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
20:51 mode/#code [+ao Derakon Derakon] by ChanServ
20:54 Derakon__ [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
20:56 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
20:57 Derakon_ [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
20:57 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
20:57 mode/#code [+ao Derakon Derakon] by ChanServ
20:57
<&jerith>
Derakon: Nice.
21:07 * Derakon__ sends a few data files through bzip2, gets nearly 75% compression ratios (i.e. compressed is a bit over 1/4th the size).
21:07
< Derakon__>
Hooray inefficient file formats~
21:07
<&McMartin>
ProcMon logs compress ludicrously
21:08
< JustBob>
It's all a conspiracy between format spec writers and HDD makers.
21:08
< JustBob>
Everything must bloat.
21:08
< JustBob>
Everything.
21:08
< JustBob>
Even raw ASCII text.
21:08
<&McMartin>
JustBob, let me introduce you to this thing called "XML".
21:08
< JustBob>
I've heard of it.
21:08
< JustBob>
I recall looking at it once.
21:09
< JustBob>
And wondering why my 'save as XML' version of my 1.55 megabyte .docx which came out of a 700kb .txt was roughly 57 mb.
21:09
<&McMartin>
That's mostly lolOffice.
21:10
<&McMartin>
XML's best case scenario is HTML without the brain damage.
21:10 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
21:10 mode/#code [+o celticminstrel] by ChanServ
21:11
< JustBob>
I still say that there's a conspiracy there
21:11
< JustBob>
To make everything bloat.
21:11
< JustBob>
But I might be biased and inclined towards paranoid sociopathy.
21:11
<&McMartin>
Textual protocols are better if you can swing them.
21:11
< Derakon__>
It's not so much a conspiracy as it is laziness.
21:11
< JustBob>
Because they are out to get you. And the fact that they're out to get you means that you're important. And that means that what you're working on is true. And that they want to silence you.
21:11
<@Tamber>
Well, if there *is* a conspiracy, it's hardly going to be in the other direction, is it?
21:11
< Derakon__>
As storage gets cheaper, engineers pick easier-to-deal-with formats, which are also less efficient.
21:12
<&jerith>
McMartin: Like cats?
21:12
< Derakon__>
(Also, of our 1.2TB of shared space, 720GB is used by 1 user. He could get down to 250GB by cleaning up all of his pre-March data.
21:13
< JustBob>
...1.2TB sharespace?
21:13
< JustBob>
Err... Consider recommending an upgrade to an array of, say, ten or fifteen 2tb drives?
21:13
< Derakon__>
This server's really not meant to be used for storage.
21:14
< Derakon__>
You're supposed to supply your own.
21:14
< JustBob>
Aaah, okay.
21:14
< Derakon__>
It's where you park files while you process them, and then you offload them elsewhere.
21:48
<~Vornicus>
(on the other hand many types of compression are a good plan: there are a lot of situations where loading compressed data and then decompressing and processing it is faster than loading uncompressed data.)
21:49
<~Vornicus>
(this is especially true of video)
22:02 jeroud [uid10043@Nightstar-1d9743e5.irccloud.com] has joined #code
22:05
<@Reiv>
hooray disk io
22:39 Derakon__ [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [[NS] Quit: leaving]
23:11 cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
--- Log closed Thu Mar 28 00:00:13 2013
code logs -> 2013 -> Wed, 27 Mar 2013< code.20130326.log - code.20130328.log >

[ Latest log file ]