--- Log opened Mon Jan 23 00:00:03 2012 |
00:15 | | You're now known as TheWatcher[T-2] |
00:17 | | You're now known as TheWatcher[zZzZ] |
00:30 | | Derakon[AFK] is now known as Derakon |
01:13 | | maoranma [maoranma@490720.C448F4.AF3B2F.A82584] has quit [Ping timeout: 121 seconds] |
01:47 | | maoranma [maoranma@490720.C448F4.AF3B2F.A82584] has joined #code |
01:58 | | gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
02:07 | | Derakon is now known as Derakon[AC2] |
02:29 | | Kindamoody[zZz] is now known as Kindamoody |
03:06 | | Attilla [Obsolete@Nightstar-d968f105.as43234.net] has quit [Ping timeout: 121 seconds] |
03:17 | | Derakon[AC2] is now known as Derakon |
03:19 | | iospace [Alexandria@Nightstar-635d16fc.org] has quit [Ping timeout: 121 seconds] |
03:20 | | iospace [Alexandria@Nightstar-635d16fc.org] has joined #code |
03:30 | | mode/#code [+o iospace] by ChanServ |
04:01 | | Vash [Vash@Nightstar-8697fea9.wlfrct.sbcglobal.net] has quit [[NS] Quit: I <3craft Vorn!] |
04:25 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited] |
04:38 | | * ToxicFrog decides it is time to punt Copas and roll his own |
04:40 | <@Ling> | Council of Petroleum Accountants Societies? |
04:42 | <@ToxicFrog> | coroutine portable asynchronous services |
04:42 | <@ToxicFrog> | A library for doing coroutine-based network applications in lua |
04:42 | <@ToxicFrog> | It is wonderfully convenient but also, sadly, completely impossible to debug |
04:45 | | Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code |
04:49 | <@Ling> | :/ |
05:05 | | Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
05:19 | | 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:43 | | Derakon is now known as Derakon[AFK |
06:43 | | Derakon[AFK is now known as Derakon[AFK] |
06:49 | | eckce [eckse@Nightstar-a44be1c1.dsl.sentex.ca] has quit [Client closed the connection] |
07:05 | | * ToxicFrog bounces |
07:06 | <@ToxicFrog> | It's aliiiiiive! |
07:06 | <@ToxicFrog> | It doesn |
07:06 | <@ToxicFrog> | 't do much yet, but the clients and server are synchronizing. |
07:06 | | * jerith attaches velcro to the ceiling. |
07:06 | | * jerith also restarts his fileserver after jiggling SATA cables. |
07:08 | <@jerith> | Meh. Looks like one of the disks is bad. |
07:09 | <@jerith> | And it seems to have failed in a "TAKE FOREVER TO TIMEOUT" mode. Which kind of sucks. |
07:09 | <@jerith> | Because I don't really know which one it is, so I can't just yank it. |
07:11 | | * jerith umplugs a random one to see if that's it. |
07:11 | <@Ling> | L2SMART |
07:11 | <@jerith> | Bugger. Wrong controller, even. |
07:12 | | * jerith tries another. |
07:13 | <@jerith> | Nope, it's the first one rather than the last one. |
07:14 | <@jerith> | Hopefully that means that unplugging the one on the other end of the row of connectors will do it. |
07:14 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
07:14 | | mode/#code [+o himi] by ChanServ |
07:24 | <@ToxicFrog> | Ling: that doesn't help if you don't know which cable corresponds to which logical controller. |
07:26 | <@Ling> | Which is why you plan that out before you start doing RAID, because you *will* need to swap eventually. |
07:27 | <@jerith> | Ling: This is an annoyance, not a problem. |
07:27 | <@jerith> | I just had to unplug two wrong drives before I found the right one. |
07:45 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
07:57 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
07:57 | | mode/#code [+o himi] by ChanServ |
08:49 | | Kindamoody is now known as Kindamoody|out |
08:51 | | You're now known as TheWatcher |
10:03 | | Attilla [Obsolete@Nightstar-d968f105.as43234.net] has joined #code |
10:37 | | Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds] |
10:39 | | Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code |
11:53 | | gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code |
12:41 | | Vash [Vash@Nightstar-8697fea9.wlfrct.sbcglobal.net] has joined #code |
12:41 | | mode/#code [+o Vash] by ChanServ |
13:36 | <@TheWatcher> | ... good gods, how I hate DST |
13:36 | <@froztbyte> | haha |
13:36 | <@froztbyte> | I don't even (generally) at the hands of it and I support its removal from existence |
13:37 | <@Ling> | You don't even what? |
13:37 | <@froztbyte> | err, suffer |
13:37 | <@Tamber> | Just doesn't even. |
13:37 | <@froztbyte> | I accidentally a language. |
13:37 | <@TheWatcher> | Oh, I detest it when experiencing it (half the year feeling an hour off? Blegh), but then add in the hilarious issues it can cause when writing software... |
13:38 | <@froztbyte> | sorry, reading http://en.wikipedia.org/wiki/Arabic_Afrikaans and having my mind blown at the previously unknown-to-me origins of my mother tongue |
13:38 | <@froztbyte> | (I'd known of the Dutch, French, German influences, but not that) |
13:39 | <@jerith> | froztbyte: Don't forget the Bantu languages. |
13:39 | <@froztbyte> | TheWatcher: I honestly don't see the value in it. People have been adjusting their business hours to fit the seasons for years now, there's no reason to shift the entire goddamned /day/ |
13:39 | <@jerith> | And DST must die in a conflagration. |
13:39 | <@TheWatcher> | froztbyte: exactly. |
13:40 | <@froztbyte> | jerith: I'm not aware of how much of them have an influence in modern Afrikaans |
13:40 | <@TheWatcher> | Worse, the raving muppets here are talking about double summer time, ffs. |
13:40 | <@jerith> | Especially when the people whose time changes expect *me* to notice this and rearrange *my* life to shift conference calls around. |
13:40 | <@froztbyte> | jerith: except for Cape Coloureds, perhaps? |
13:40 | <@froztbyte> | TheWatcher: double...summer...time? |
13:41 | <@froztbyte> | wow. |
13:41 | <@jerith> | Why? |
13:41 | <@jerith> | What's the justification for the massive expense? |
13:41 | <@froztbyte> | I guess DST will become one of those things that people just do, without really understanding it |
13:41 | <@froztbyte> | tech-oriented post, but related: http://blog.froztbyte.net/2012/01/on-clouds-and-wavey-hands/ |
13:42 | <@froztbyte> | the summary: "plz2b clue, kthnx" |
13:43 | <@froztbyte> | someone also made me realize the other day that on specific days at specific hours, the influence of DST can make one hour exist in one place and not in another |
13:43 | <@TheWatcher> | jerith: buffered if I know |
13:43 | <@TheWatcher> | buggered, too |
13:43 | <@TheWatcher> | handwaving about "more light in the evenings" or some bullshit |
13:43 | <@froztbyte> | which I hadn't considered before but does make sense, and should act as further support to travel back in time to stop the propagation of DST |
13:44 | <@TheWatcher> | I have actually heard, in all seriousness, people talking about it "making the day longer" |
13:45 | <@TheWatcher> | My brain just gave up at that point, there's no reasoning with that level of stupid. |
13:46 | <@TheWatcher> | (yes, in some places, at certain times, you can get more light in the evening if you pretend you are an hour ahead of where you really are. But you can do that by adjusting your own times, not fucking with everyone else's. And it only works at all between certain latitudes anyway.) |
13:47 | <@froztbyte> | TheWatcher: hmm, an idea strikes |
13:47 | <@froztbyte> | put all supporters of DST under constant sun-emulation until their internal bodyclocks give up |
15:27 | | celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code |
15:27 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code |
15:53 | | TheWolf [NSwebIRC@53D63E.856F87.9522CB.C95411] has joined #code |
16:04 | | Vash [Vash@Nightstar-8697fea9.wlfrct.sbcglobal.net] has quit [[NS] Quit: I <3craft Vorn!] |
16:11 | | TheWolf [NSwebIRC@53D63E.856F87.9522CB.C95411] has quit [Ping timeout: 121 seconds] |
16:12 | <&McMartin> It turns out that it is, in fact, easier to make the entire world change its clocks twice a year than it is to get all the businesses to change their hours as needed by the local farmers. |
16:24 | <@jerith> | McMartin: Farmers tend to hate DST more than most. |
16:33 | <&McMartin> They're the whole reason we have it, here. |
16:34 | < gnolam> | "There's too little evil in the woods nowadays, said Grandpa and impaled a reluctant squirrel on the skewer." |
16:36 | <@jerith> | McMartin: According to Wikipedia, farmers generally dislike it for some pretty good reasons. |
16:36 | <@jerith> | A minority of farmers support it, but that's due to technology reducing the downsides rather than any actual benefit to farming. |
16:36 | <@jerith> | However, many of the proponents *claim* it's good for farmers. |
16:37 | <@ToxicFrog> | McMartin: are they the reason you have it, or the reason people say you have it? |
16:37 | < celticminstrel> | XD |
16:37 | <@ToxicFrog> | Because here it's the latter, and yet (being married to a daughter of farmers and going to a university with a strong focus on agriculture) every farmer I know regards it with, at best, irritation. |
16:38 | <@jerith> | The energy saving excuse is demonstrably false. |
16:46 | | Kindamoody|out is now known as Kindamoody |
16:47 | < gnolam> | If Russia can do away with DST, anyone can. |
16:48 | <@jerith> | I don't see any benefits of DST that don't also apply to shifting timezone permanently. |
16:48 | < gnolam> | (Weirdly enough, though, they went for sticking on DST rather than normal time) |
17:00 | <&McMartin> TF: The resident midwesterners in the other channel swear repeatedly by it and get offended by implications of anything else |
17:16 | < celticminstrel> | So Russia's an hour ahead of anyone else in a given timezone? |
17:33 | <@Alek> | AND they cut down their time zones. |
17:33 | <@Alek> | they used to cover 11, they cut down to I think 4 or 5. |
17:33 | <@Alek> | maybe 3. |
17:46 | | jeroid [jerith@687AAB.5E3E50.5EC6FB.80FBC6] has joined #code |
17:47 | < jeroid> | o/ |
18:09 | < maoranma> | Doo da dee da dee da dee da doe doe, deeee bah do dee doe, detodoopdeuldoodadewbah da duh luda dooba do doooeweewewewen |
18:15 | < jeroid> | Is that because I'm at band at the moment? |
18:47 | | Kindamoody is now known as Kindamoody[zZz] |
19:16 | <@iospace> | "What is a computer" "One that computes?" |
19:19 | | jeroid [jerith@687AAB.5E3E50.5EC6FB.80FBC6] has quit [[NS] Quit: Bye] |
20:27 | | Vornucopia [NSwebIRC@C888DE.7F9621.DD23F2.D2DAFA] has joined #code |
21:23 | <@ToxicFrog> | <3 scala |
21:24 | < Vornucopia> | What did it do for you today? |
21:56 | | Vornucopia [NSwebIRC@C888DE.7F9621.DD23F2.D2DAFA] has quit [[NS] Quit: Page closed] |
22:05 | | Vash [Vash@Nightstar-8697fea9.wlfrct.sbcglobal.net] has joined #code |
22:05 | | mode/#code [+o Vash] by ChanServ |
22:27 | | eckse [eckse@Nightstar-6aa651f1.dsl.sentex.ca] has joined #code |
22:59 | | You're now known as TheWatcher[T-2] |
23:09 | | You're now known as TheWatcher[zZzZ] |
23:24 | | celticminstrel is now known as celmin|away |
23:30 | <@ToxicFrog> | Vornicus: I needed to know what all of the installed PLAFs Java knows about are |
23:30 | <@ToxicFrog> | Which is this in Scala: |
23:31 | <@ToxicFrog> | import javax.swing.UIManager; UIManager.getInstalledLookAndFeels map println |
23:31 | <&McMartin> That particular trick isn't too rough even in stock java |
23:32 | <&McMartin> Swing is pretty good about that; I used to have some code that was a drop-in menu widget that let you shift L&F at will and would pick a reasonable default in each case. |
23:32 | <@ToxicFrog> | the advantage here is that I can do it from the terminal rather than needing to write and compile a complete class that does this |
23:32 | <&McMartin> Ah, yes |
23:32 | <&McMartin> (As a UI thing though it was only like 20 lines including boilerplate) |
23:42 | < ShellNinja> | Is there any easy way to have animations in SDL? |
23:44 | <&McMartin> You'll have to define "easy", "animations", and "in SDL" here. |
23:45 | <&McMartin> I mean, SDL in double-buffered mode clears the screen each frame, so it's basically "draw a different picture each frame and now you have an animation" |
23:45 | <&McMartin> But since SDL *doesn't* have a native notion of sprites, you can't just say "draw an MNG or animated GIF here and do the right thing with timings" |
23:46 | <&McMartin> For that matter, SDL doesn't even have a native notion of frames, or time, or update rate |
23:46 | < ShellNinja> | Easy animations in SDL: For example loading a GIF/AVI/whatever into a layer, invoking SDL_PlayThisAnimation() and having it go. |
23:46 | < ShellNinja> | Sound optional. |
23:47 | < ShellNinja> | Is that a good enough definition? |
23:47 | <&McMartin> Then no. |
23:47 | <&McMartin> Because SDL doesn't have a native concept of a frame or an update or things on a screen. |
23:48 | <&McMartin> There is a way of setting up a YUV video playback layer that you might be able to tie a codec into for AVI or MP4 but that involves bringing in the codec libraries and I'm not sure how to do either of these things. |
23:49 | <&McMartin> SDL gives you a piece of paper to draw on, and then once you do, you tell it "display that piece of paper on the screen" at which point it displays that and gives you a new blank paper to draw on. |
23:50 | < ShellNinja> | Mhm. |
23:50 | <&McMartin> For that matter, SDL doesn't really have a concept of "layers", either. |
23:50 | <&McMartin> There's just the frame buffer. |
23:53 | <&McMartin> At the level of abstraction you're looking at, you should probably look at something like GameMaker. |
23:54 | < ShellNinja> | Nah, I'll figure something out. I can still display frames at a rapid clip. |
23:54 | <&McMartin> You'll want to add your own throttler or animation speed will depend on monitor refresh rate. |
23:56 | < ShellNinja> | You mean like an actual tick counter (as you have showed me in the snake game)? |
23:59 | <&McMartin> Yeah, because SDL_Flip() will generally wait until a VSync to do its work. |
--- Log closed Tue Jan 24 00:00:18 2012 |