--- Log opened Wed Jun 15 00:00:26 2011 |
00:05 | | You're now known as TheWatcher[T-2] |
00:07 | | You're now known as TheWatcher[zZzZ] |
00:15 | < gnolam> | Argh |
00:15 | < gnolam> | Too tired to think straight. |
00:18 | < gnolam> | Given a rectangle of arbitrary width and height, how do you divide it into n = k*m rectangles so the chunks get as square as possible? |
00:28 | < Vornicus> | gnolam: so you have a rectangle and you wish to break it into a bunch of squares. |
00:29 | < Vornicus> | Or near-squares. |
00:30 | | Kindamoody is now known as Kindamoody[zZz] |
00:31 | < Vornicus> | If the rectangle has rational side lengths, you can make it perfect squares; multiply both side lengths by whatever it takes to get them both to integers; then find the common factor of thoes two numbers and divide them by that and you get the number of squares in each direction. |
00:32 | < Vornicus> | Alternatively you can use continued fractions to get increasingly accurate rational approximations, which you can use as the number of squares in each direction. |
00:33 | | shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code |
00:33 | | shade_of_cpux is now known as cpux |
00:34 | < gnolam> | Thanks |
01:14 | | Derakon[AFK] is now known as Derakon |
01:20 | < gnolam> | ... there should be a word for a bug that goes so far past wrong that it overflows and becomes almost correct. |
01:21 | < Vornicus> | "Voodoo" |
01:23 | < Vornicus> | Reiver: further perlin silliness I thought of: large-scale gamma on the cloud cover. |
01:24 | < Vornicus> | Or even better time-based gamma. |
01:25 | < gnolam> | (In this case, a partition calculation that routed all particles /completely wrong/... but wrong in such a way that no particle got lost, and every trend the simulation was to prove still worked) |
01:25 | < Vornicus> | wow. |
01:26 | < Vornicus> | I am impressed. |
01:28 | | Attilla [Some.Dude@Nightstar-febccc15.cable.virginmedia.com] has quit [Ping timeout: 121 seconds] |
01:36 | < Reiver> | Vornicus: You /what/ |
01:39 | < Vornicus> | What, the time-based gamma? |
01:40 | < Vornicus> | If you look at the clouds in minecraft you'll notice that the weather always seems to be "partly cloudy", right? |
01:40 | < Vornicus> | Add in a noise-over-time and then it can be "cloudy" or "clear" too. |
01:41 | < Vornicus> | Do it right and you can even get the rain to key to when it's particularly cloudy. |
01:42 | < gnolam> | Vornicus: Wasn't easy to find, in this sleep-deprived state. :P |
01:42 | < gnolam> | Then again, the sleep deprivation is the reason for the bug's existence in the first place. |
01:55 | < Reiver> | ... oh |
01:55 | < Reiver> | You mean to help make the ambient weather better |
01:55 | < Reiver> | As opposed to what I thought you were saying, which was to make my Fluffy Cloud react to the weather >_> |
01:57 | < Vornicus> | Hahaha, no |
02:49 | | kwsn [kwsn@Nightstar-91f4dc53.dyn.centurytel.net] has joined #code |
02:51 | | * kwsn is back to her old ways of using Vim and screen |
02:52 | < kwsn> | after i found out that the "highest up" on my team uses emacs |
02:52 | < kwsn> | i couldn't resist :P |
03:00 | < ToxicFrog> | Serious question: what makes vim attractive compared to, say, jedit? |
03:03 | <@Derakon> | I'd say the two things I like most about vim are position tags inside documents (so I can go to a place I've previously been with just two keystrokes) and regex-based actions (e.g. "from here to where I put marker "a", find all lines that contain the word "print" and replace them with "logger.debug(<contents of print>)"). |
03:07 | | * kwsn unleases Col. Panic onto the channel |
03:07 | < ToxicFrog> | Derakon: that marker feature is actually pretty cool. |
03:07 | < ToxicFrog> | Turns out jedit has it too~ |
03:07 | <@Derakon> | Heh. |
03:09 | < kwsn> | i use that in N++, which i normally use for quick edits and large pastes |
03:09 | <@Derakon> | Otherwise...does jedit run inside a console? |
03:10 | < ToxicFrog> | It does not. |
03:10 | <@Derakon> | So you have to tunnel X if you want to use it remotely, and can't screen it either. |
03:11 | <@Derakon> | (Not that I've gotten the hang of using screen) |
03:18 | < ToxicFrog> | The reason I stopped caring about running everything in the tty is that I discovered NX, which is basically screen for X programs. |
03:18 | < ToxicFrog> | So I no longer consider "has a tty interface" a desireable feature in an editor for day to day usage (although it's good in an emergency editor). |
03:19 | < ToxicFrog> | (also, you should get the hang of using screen, it's damn useful) |
03:21 | < ToxicFrog> | Anyways. It's become a bit of a personal curiosity of mine to find out why people use vi and/or emacs. |
03:22 | < ToxicFrog> | I grew up on nedit, and while I've learned enough of both to do basic tasks in them, I never really got the appeal. |
03:22 | < Vornicus> | gah, wtf program, don't add a brightness to things as you go up, that's just ridiculous! |
03:22 | < ToxicFrog> | (beyond "I need something more sophisticated than nano that still works in a tty", anyways) |
03:23 | <@Derakon> | I used emacs for awhile in college, switched to vim because I found it to be more streamlined, never really saw the need to switch away once I'd learned the interface. |
03:26 | < kwsn> | all emacs needs |
03:26 | < kwsn> | is a good text editor |
03:26 | < kwsn> | HEYO |
03:26 | < ToxicFrog> | Har har. |
03:27 | <@Derakon> | The proper form of that joke is "Emacs is an excellent operating system in desperate need of a decent text editor." |
03:27 | < ToxicFrog> | (I have used emacs more extensively than vi. It strikes me as extremely powerful but also kind of clunky and with lots of sharp edges - the kind of editor that would become a perfectly customized tool that matches my every habit after, oh, five to ten years of regular use and refinement) |
03:27 | <@Derakon> | (For amusement, try doing meta-X tetris and meta-X dunnet) |
03:41 | < Reiver> | ToxicFrog: My understanding is that is the intended use-case |
03:41 | < Reiver> | Generally you find someone with vaugely similar habits, nick their config file, then proceed to tweak and poke and prod until you grok what you're doing and what you want... |
03:42 | < Reiver> | ... then go to the Madness Place for a bit and come out with a well-chromed editor that just needs, oh, about a decade of final little tweaks as you grow with it to new places. |
03:43 | < Reiver> | vi users, for their part, seem to have the philisophical opinion that this is ridiculous, and favor a tool that does a very specific thing very neatly... and then just write a whole pile of plugin scripts in bash, and see bash-programming to be synonymous with actually text-editing. |
03:50 | | cpux is now known as shade_of_cpux |
03:51 | < McMartin> | I've used Emacs for 15 years and I've never had a .emacs file longer than about eight lines. |
03:54 | < gnolam> | Little cluster, little cluster, let me in! |
03:54 | | * gnolam starts huffing and puffing. |
03:54 | <@Derakon> | I copied my .vimrc from a college friend; it has 38 non-whitespace lines, most of which deal with editing GPG-encrypted files. |
03:54 | < McMartin> | Right. All eight of my lines of .emacs are to counteract Stallman's own madness when it comes to indentation. |
03:55 | <@Derakon> | (I have yet to edit a GPG-encrypted file) |
03:57 | < McMartin> | Aha. My current .emacs is actually three lines |
03:57 | < McMartin> | (setq c-default-style "bsd") |
03:57 | < McMartin> | (setq-default c-basic-offset 4 indent-tabs-mode nil) |
03:58 | < McMartin> | Or two after gnome-terminal gets through with it. |
04:04 | < gnolam> | Finally. |
04:05 | < gnolam> | While giant clusters are cool, it is a bit frustrating to have to wait for your task to be run. |
04:05 | < McMartin> | Partying like it's 1959 |
04:08 | | Derakon is now known as Derakon[fud] |
04:11 | < gnolam> | Well, at least this just feels like it. |
04:11 | < gnolam> | It's not like the job, where the software I'm developing for was actually conceived before that... |
04:13 | < gnolam> | All I have to do now is find a way to hook up my latest purchase to the computer as well, and I should be all set for retro: http://www.lysator.liu.se/~gnolam/temp/rheinmetall_portable.jpg |
04:17 | < gnolam> | (I am a bit proud of having repaired that one myself. Hooray for machines you actually can outsmart!) |
04:22 | | Derakon[fud] is now known as Derakon |
04:23 | < gnolam> | Take your newfangled this and your newfangled that, |
04:23 | < gnolam> | and you can line them up and throw them overboard! |
04:37 | | * Vornicus felt like a tiny god when he fixed a zipper. |
04:48 | < Alek> | one of the Hundred Little Gods? |
05:03 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
05:19 | | Rikushadow5 [DSD@Nightstar-5a4542a1.res.rr.com] has joined #code |
05:45 | | Vash[Working] is now known as Vash[BRAAAAAAAAAAAAAAINS] |
05:45 | | Vash[BRAAAAAAAAAAAAAAINS] is now known as Vash[FOOOOOOOOOOOOOD] |
05:48 | | * Reiver ponders Minecraft Aesthetics. |
05:48 | < Reiver> | So: For a floating castle apon a fluffy white cloud... |
05:48 | <@Derakon> | You need a beanstalk. |
05:48 | < Reiver> | Cobblestone, Sandstone, or Nakedstone? |
05:49 | < Reiver> | ... the beanstalk is genious, though, I'll keep it in mind |
05:49 | < Rikushadow5> | Are you guys talking about Minecraft? |
05:49 | | * Reiver points six lines up. |
05:49 | < Rikushadow5> | Ah |
05:50 | < Rikushadow5> | That somehow hid itself from my sight |
05:50 | < Rikushadow5> | Personally, for clouds, I'd suggest White Wool |
05:51 | < Reiver> | Oh, I know the cloud is made of wool. |
05:51 | < Rikushadow5> | I usually start with a pillar of sand from the ground up to where I want the base of the castle. |
05:51 | < Reiver> | I'm trying to decide on the castle on top of it |
05:51 | < Rikushadow5> | Ah |
05:51 | < Rikushadow5> | I usually go with Sand/Sandstone |
05:51 | < Reiver> | Do not assume me ignorant in the ways of Skycrafting. |
05:52 | < Reiver> | I'm after, as the initial line suggested, aesthetic advice. |
05:52 | < Rikushadow5> | It's a nice color against Blue |
05:52 | < Rikushadow5> | (Plus, if you're making a trap-filled lair like I tend to do, it makes one hell of a nice effect when you blow it out of the sky) |
05:52 | < Rikushadow5> | But yeah |
05:52 | < Rikushadow5> | I usually go with Sand and Sandstone |
05:53 | < Rikushadow5> | Easy to get, whether you're using mods or not. |
05:53 | < Rikushadow5> | And it goes nicely with the blue sky |
05:53 | < Reiver> | Duly noted. |
06:40 | | kwsn [kwsn@Nightstar-91f4dc53.dyn.centurytel.net] has quit [[NS] Quit: moo] |
06:40 | | Derakon is now known as Derakon[AFK] |
06:46 | | Kindamoody[zZz] is now known as Kindamoody |
06:49 | | cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code |
06:50 | | AnnoDomini [annodomini@Nightstar-985bfa43.adsl.tpnet.pl] has joined #code |
06:50 | | shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
06:50 | | cpux is now known as shade_of_cpux |
06:54 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
07:00 | | shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
07:01 | | shade_of_cpux [chatzilla@Nightstar-c5874a39.dyn.optonline.net] has joined #code |
07:08 | | FurryHelix is now known as Tamber |
07:41 | | You're now known as TheWatcher |
08:18 | | shade_of_cpux [chatzilla@Nightstar-c5874a39.dyn.optonline.net] has quit [Client closed the connection] |
08:30 | | Rikushadow5 [DSD@Nightstar-5a4542a1.res.rr.com] has quit [[NS] Quit: Sleep] |
09:15 | | Kindamoody is now known as Kindamoody|out |
09:22 | | * TheWatcher eyes this |
09:22 | < TheWatcher> | "This shouldn't happen at /usr/lib/perl5/5.12.3/Text/Wrap.pm line 76." |
09:23 | < TheWatcher> | Yeah, no shit it shouldn't, especially as I've wrapped the call to wrap() in an eval, so it shouldn't actually be able to kill the whole process anyway! |
09:23 | < TheWatcher> | What the fuck is happening here, damnit. |
09:51 | | Vash[FOOOOOOOOOOOOOD] is now known as Vash[Sleeping] |
10:00 | | Attilla [Some.Dude@Nightstar-febccc15.cable.virginmedia.com] has joined #code |
10:45 | | Rhamphoryncus [rhamph@C06FE3.F5723C.BE3FEB.9D4666] has quit [Client exited] |
12:50 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed] |
13:47 | | Serah [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code |
13:47 | | Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Connection reset by peer] |
16:37 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
17:31 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Connection reset by peer] |
17:31 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code |
18:23 | | Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection closed] |
18:24 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Client closed the connection] |
18:24 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code |
18:24 | | Rikushadow5 [DSD@Nightstar-5a4542a1.res.rr.com] has joined #code |
18:27 | < gnolam> | http://dis.4chan.org/read/prog/1295544154 |
18:38 | | Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
18:39 | | Syloqs_AFH is now known as Syloqs-AFH |
18:52 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Client closed the connection] |
18:52 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code |
19:03 | | Kindamoody|out is now known as Kindamoody |
19:03 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Client closed the connection] |
19:03 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code |
19:07 | | * gnolam takes screenshots... FOR SCIENCE! |
19:12 | < gnolam> | ... again. |
19:12 | < Rikushadow5> | http://darksunduelist.deviantart.com/#/d3iqhto |
19:20 | | Vash[Sleeping] is now known as Vash[Working] |
19:37 | < gnolam> | ? |
19:52 | | Kindamoody is now known as Kindamoody|out |
20:23 | | Rikushadow5 [DSD@Nightstar-5a4542a1.res.rr.com] has quit [[NS] Quit: *POOF*] |
--- Log closed Wed Jun 15 20:39:33 2011 |
--- Log opened Wed Jun 15 20:43:57 2011 |
20:43 | | TheWatcher [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code |
20:43 | | Irssi: #code: Total of 24 nicks [6 ops, 0 halfops, 0 voices, 18 normal] |
20:44 | | Irssi: Join to #code was synced in 51 secs |
21:13 | | Rhamphoryncus [rhamph@C06FE3.F5723C.BE3FEB.9D4666] has joined #code |
21:35 | | Kindamoody|out is now known as Kindamoody |
22:40 | | You're now known as TheWatcher[T-2] |
22:44 | | You're now known as TheWatcher[zZzZ] |
--- Log closed Thu Jun 16 00:00:48 2011 |