--- Log opened Fri Dec 07 00:00:25 2012 |
00:10 | < gnolam> | http://boingboing.net/2012/12/05/leaked-itus-secret-internet.html |
00:20 | | himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code |
00:20 | | mode/#code [+o himi] by ChanServ |
00:35 | | Derakon[AFK] is now known as Derakon |
00:39 | | * ToxicFrog stabs windows a few dozen times |
01:24 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
01:34 | | * Alek growls at ITU. |
01:34 | <@Alek> | happy birthday, Syk. :) |
01:41 | < gnolam> | Alek: just the way they handle standards has made me equate "ITU" with "a bunch of dicks", so... :P |
01:47 | <@Alek> | ?_? |
02:14 | < Reiv> | Vorn! (And other Excel gurus) |
02:14 | < Reiv> | A puzzle: |
02:14 | < Reiv> | I have people that have been screwing with the data they enter. Yes, yes, I'll grab the pitchforks later. |
02:15 | < Reiv> | They've gone and 'helpfully' put letter codes in the front of some of the asset numbers I'm trying to use as keys. |
02:15 | < Reiv> | As part of this, they may have also removed leading zeros; it is not clear at this point. |
02:16 | < Reiv> | How in the hell do I run a VLOOKUP on two columns when one has been screwed thusly? Is there a string manip function that clever in here somewhere? |
02:17 | < Reiv> | I need to strip alpha but not numerics, then compare it to numerics with leading zeros I may not be able to rely on, so I probably want to just strip those suckers everywhere. |
02:19 | | * Reiv weeps tears of pitch and bile. |
02:19 | < Reiv> | Vornicus isn't here ;_; |
03:26 | <&Derakon> | Export to CSV, use a real programming language, reimport? |
03:29 | <&ToxicFrog> | I thought that Excel numeric fields didn't retain leading zeroes in any case? |
03:33 | <@Alek> | numeric don't. but if they've got letters, they're not numeric fields. |
03:33 | <@Alek> | but just plain data fields. |
03:33 | <@Alek> | which WOULD retain leading 0s. |
03:41 | | Kindamoody[zZz] is now known as Kindamoody |
04:30 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:30 | | mac [mac@Nightstar-fe8a1f12.il.comcast.net] has joined #code |
04:59 | | Vornicus [Vorn@Nightstar-35eb62f8.sd.cox.net] has joined #code |
04:59 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
05:08 | | mac [mac@Nightstar-fe8a1f12.il.comcast.net] has quit [Connection closed] |
05:33 | <&ToxicFrog> | ...I'm trying to figure out what underlying mental model could lead someone to conclude that these two fragments are eqv: |
05:33 | <&ToxicFrog> | open(name).read() |
05:33 | <&ToxicFrog> | open(name, "rb") |
05:33 | <&McMartin> | It's got "r" right there! |
05:34 | < celticminstrel> | ... |
05:34 | <&Derakon> | Clearly the open() function is "smart" and has options to let you directly call functions on what it would ordinarily return~ |
05:35 | < celticminstrel> | Ehehe. |
05:35 | <&Derakon> | (I don't think Sebastian ever did that but I wouldn't put it past him) |
05:35 | < celticminstrel> | You mean you don't think he did smart functions? |
05:35 | <&Derakon> | No, I mean I don't think he had a function that would return wildly different things depending on the value of a string passed as an argument. |
05:35 | < celticminstrel> | Ah. |
05:35 | <&Derakon> | (Slightly different things? Sure, did that all the time) |
05:36 | < celticminstrel> | Just like POSIX and SDL! |
05:36 | < celticminstrel> | Query and set with the same function? Check! Distinguish the two with an enum/boolean type argument? Check! |
05:37 | < celticminstrel> | STL also does query and set with the same function, but there they're distinguished by overloading (presence or absence of argument). |
05:43 | <~Vornicus> | IRC does that too: "/topic #code" tells you the topic of #code; "/topic #code blarg" changes the topic of #code |
05:43 | <~Vornicus> | C++'s operator overloads for prefix and postfix increment are distinguished by the presence of an argument |
05:53 | | Attilla [Obsolete@Nightstar-48049dbb.as43234.net] has quit [Ping timeout: 121 seconds] |
05:56 | <&McMartin> | Which is then ignored |
05:56 | | Attilla [Obsolete@Nightstar-bd3c2226.as43234.net] has joined #code |
05:57 | < syksleep> | wheeee C: |
05:57 | | syksleep is now known as Syk |
06:05 | <~Vornicus> | Fun, isn't it |
06:09 | | * McMartin blinks, realizes he has just reinvented floodfill |
06:12 | < celticminstrel> | That's true... IRC's /away command is another example... |
06:13 | < celticminstrel> | Though I suppose that's a little different... |
06:13 | <&ToxicFrog> | Er |
06:13 | <&ToxicFrog> | There's /away <reason> and /back |
06:17 | <~Vornicus> | McM: yeah, floodfill is kind of useful |
06:18 | < Namegduf> | ToxicFrog: That's client-side, I think. |
06:18 | < Namegduf> | Yeah, AWAY with no parameters is the client-to-server way of un-awaying. |
06:18 | | Vornicus [Vorn@Nightstar-35eb62f8.sd.cox.net] has quit [[NS] Quit: Leaving] |
06:18 | < Namegduf> | Some clients might not expose that. |
06:19 | <&ToxicFrog> | Oh so it is |
06:28 | | thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has joined #code |
06:34 | | Derakon is now known as Derakon[AFK] |
06:35 | | thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has quit [[NS] Quit: wheeeeeee] |
06:37 | | himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Operation timed out] |
06:52 | < Syk> | gonna go see my maybe new shop soon... |
07:08 | | shawn-p1 [Shawn@Nightstar-4db8c1df.mo.charter.com] has quit [Client closed the connection] |
07:11 | | thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has joined #code |
07:51 | | thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has quit [Client closed the connection] |
07:52 | | thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has joined #code |
07:53 | | 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!] |
08:40 | | Attilla [Obsolete@Nightstar-bd3c2226.as43234.net] has quit [Ping timeout: 121 seconds] |
08:43 | | Attilla [Obsolete@Nightstar-2234cbfb.as43234.net] has joined #code |
08:47 | < Syk> | :> went and saw it |
08:47 | < Syk> | maybe not as big as I'd have hoped, but, oh well :P |
08:47 | < Syk> | gonna move in Jan~ |
09:08 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
09:08 | | mode/#code [+o himi] by ChanServ |
09:22 | | Attilla_ [Obsolete@Nightstar-5c0fce37.range109-151.btcentralplus.com] has joined #code |
09:22 | | Attilla [Obsolete@Nightstar-2234cbfb.as43234.net] has quit [NickServ (GHOST command used by Attilla_)] |
09:22 | | Attilla_ is now known as Attilla |
09:48 | | Kindamoody is now known as Kindamoody|out |
10:02 | < Azash> | Syk: Nice |
10:02 | < Azash> | What kind of startup are you doing? |
10:04 | < Syk> | i'd /love/ to do software but that's eventually |
10:04 | < Syk> | right now is computer repair & business support/services |
10:04 | <&McMartin> | Sweet! So you're off the ground? |
10:05 | < Syk> | sort of kind of |
10:05 | < Syk> | I've had 3 or so clients so far |
10:05 | < Syk> | haven't advertised much |
10:05 | <&McMartin> | I guess what I should ask is: "Have the checks cleared"~ |
10:05 | < Syk> | lemme check :P |
10:06 | <&McMartin> | Heh |
10:06 | < Syk> | currently two of them haven't |
10:06 | <&McMartin> | Well, sounds like things are moving along, which is good |
10:06 | < Syk> | but they were like... yesterday |
10:06 | <&McMartin> | Aha |
10:06 | < Syk> | ...and ex-work has said my termination pay is on Monday |
10:06 | <&McMartin> | Well, tentative woohoo |
10:07 | < Syk> | which will give me about $7K or so of capital to work with |
10:08 | <&McMartin> | nod |
10:08 | <&McMartin> | Not a ton, but a start |
10:08 | <&McMartin> | If nothing else, a buffer |
10:09 | < Azash> | Syk: Well, as long as you have a baseline income, you can expand later |
10:10 | < Syk> | I have $45,000 as my buffer |
10:10 | < Syk> | but since I get ~$180 in interest from that account a month, I |
10:10 | < Syk> | d like to not dip into it |
10:10 | < Azash> | Mm |
10:11 | <&McMartin> | Holy crap that's one hell of a return |
10:11 | < Azash> | 0.4% each month |
10:11 | < Syk> | 4.9% pa |
10:12 | <&McMartin> | yeah |
10:12 | <&McMartin> | can you let that compound? |
10:13 | < Syk> | McMartin: it's paid out monthly |
10:13 | < Syk> | and it goes into itself |
10:13 | < Syk> | so i suppose it's compound? |
10:13 | < Syk> | just a very slow compound |
10:14 | <&McMartin> | Yeah |
10:14 | | * McMartin does some math |
10:15 | < Syk> | by the heat death of the universe i will probably have the world GDP of 2012 |
10:15 | < Azash> | If you didn't touch it for three years you'd be making uh.. |
10:15 | <&McMartin> | It would have grown by a bit over 15% |
10:15 | < Syk> | someone I know has a million or so in an account |
10:15 | < Syk> | that has 7% interest |
10:15 | < Azash> | 207 bucks a month |
10:15 | <&McMartin> | Man |
10:15 | < thalass> | crikey |
10:15 | < Azash> | Oh wow |
10:15 | | thalass is now known as Thalass|TF2 |
10:16 | | * McMartin is seriously impressed if he can find 1.5% around here >_< |
10:16 | < Syk> | Australia... you'd be hard pressed to find under 3.25% |
10:16 | < Syk> | I have an account that has bonus interest if you don't take money out and add $200 a month minimum |
10:16 | < Syk> | but its like... 0.01% base interest and then 4.89% bonus interest |
10:16 | < Thalass|TF2> | My mortgage is ~6.5% |
10:16 | < Thalass|TF2> | Damned ANZ |
10:16 | | * Azash ponders |
10:16 | < Syk> | it's possible to get 5.25% pa with NAB |
10:17 | < Syk> | as just a standard account, iirc |
10:17 | < Syk> | Thalass|TF2: oh dear ANZ |
10:17 | < Azash> | If you had like 500k in an account like Syk's then you could already live off the interest |
10:17 | < Thalass|TF2> | Yeah. We looked into going elsewhere, but the costs invovled and our lack of equity meant it wasn't worth it in the short to medium term |
10:17 | < Syk> | Azash: yeah |
10:18 | < Syk> | however banks stop making the % that high when you pass a million or so |
10:18 | < Syk> | i think my 4.9% only works til 250,000 or so |
10:18 | < Syk> | i forget |
10:18 | < Azash> | Oh |
10:18 | < Azash> | Well that sucks |
10:18 | < Syk> | but then you just open an account with another bank |
10:19 | < Syk> | we have plenty |
10:19 | <&McMartin> | Though that's still 12k a year |
10:19 | < Azash> | Hee hee, I went to look at r/investing |
10:19 | < Azash> | Their title is "Lose money with friends!" |
10:19 | < Syk> | there's Commonwealth (who I use), NAB, Westpac, and then there are a BUNCH that are 'backed' by NAB or the others |
10:19 | < Syk> | then there's the ones like Citi and uh |
10:19 | < Syk> | Rabobank |
10:19 | < Syk> | Rabobank is for farmers and such, IIRC |
10:20 | <&McMartin> | If at all possible, fuck Citi |
10:20 | < Syk> | no i dont want to fuck citi |
10:20 | < Thalass|TF2> | heh |
10:20 | | Thalass|TF2 is now known as thalass |
10:20 | < Syk> | their Perth offices would not be comfortable at all |
10:20 | < Azash> | That was a short match, thalass |
10:20 | | * thalass mutters something about nvidia drivers and stupidness |
10:20 | <&McMartin> | Sadface |
10:20 | < Syk> | heh |
10:20 | | RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has joined #code |
10:21 | <&McMartin> | RichyB, Bane Of Shamblers! |
10:21 | < Syk> | ok i am ripping TONS of DVDs |
10:21 | < Syk> | i wish i had some sort of machine that would switch them for me |
10:21 | < RichyB> | McMartin: juggling is good :) |
10:21 | < Syk> | wait fuck |
10:21 | < Syk> | i went to switch them |
10:21 | <&McMartin> | But not as viscerally satisfying as punting dudes into buzzsaws |
10:21 | < Syk> | when they werent done |
10:21 | < Syk> | fuck |
10:22 | < Syk> | well isnt syka an idiot |
10:22 | <@Tamber> | ; no comment. |
10:23 | < Syk> | tamber I know your real feelings for me~ |
10:23 | < Syk> | that of immeasurable rage and contempt :) |
10:23 | < thalass> | heh |
10:24 | <@Tamber> | =) |
10:28 | < RichyB> | McMartin: I love the Exploding Palm Technique thing. |
10:28 | < RichyB> | I find it rather difficult at the moment, I don't yet have muscle memory for all of the neat tricks in the game. |
10:28 | <&McMartin> | Is that the air juggle that ends with the blasting them three screens sideways? |
10:30 | | * McMartin cleared the game back in September, doesn't remember much about the fine details anymore. |
10:31 | < RichyB> | Kick them up into the air, stand under them, hold up and tap attack. |
10:31 | < Azash> | What are you playing? |
10:31 | < RichyB> | The troubled young lady swings both arms and punts the shambler into midair. |
10:31 | < RichyB> | They Bleed Pixels. |
10:32 | <&McMartin> | Oh, that |
10:32 | < RichyB> | It's a Lovecraftian platformer with some interesting mechanics, such as the fact that you can choose where to place your own save checkpoints. |
10:32 | <&McMartin> | Yes, that's very handy for rankups, and for harvesting much blood for your checkpoints |
10:32 | <&McMartin> | And the more murderous you are, the faster you earn new checkpoints! |
10:32 | <&McMartin> | Mmm, delicious murder |
10:32 | < Azash> | Looks interesting |
10:32 | < Azash> | Anyone here play Chivalry? |
10:33 | <&McMartin> | Also, the music is by DJ FINISH HIM, which may be the best VGM composer name of all time |
10:33 | < RichyB> | I remember one reviewer describing it as "Super Meat Portal", and then instructing the reader to not think too hard about that. |
10:33 | <&McMartin> | Yeah. TBP is hard. Like, Super Meat Boy hard. Except that now the buzzsaws cut both ways. :D |
10:33 | <&McMartin> | I'm not sure where he's getting Portal from. |
10:33 | <&McMartin> | It's *clearly* Devil May Meat. |
10:34 | <&McMartin> | (Fetus May Cry?) |
10:34 | < Syk> | if that happens you may want to see a doctor |
10:35 | <&McMartin> | 47-HIT AN-AN-AN-AN-AN-ANTEDILUVIAN COMBO |
10:35 | <&McMartin> | YOUR RANKING IS: A |
10:35 | <&McMartin> | AWESOME AZATHOTH |
10:35 | <&McMartin> | (S is SQUIDTASTIC SHOGGOTH) |
10:37 | < Syk> | fucking game killed me for NO REASON |
10:37 | < Syk> | full health and fell off a 5 ft drop |
10:37 | <&McMartin> | ? |
10:37 | < Syk> | I BASICALLY ABSORB BULLETS. |
10:37 | < Syk> | HOW DOES A 5FT DROP KILL ME |
10:37 | <&McMartin> | Bullets are made of candy! |
10:37 | < Syk> | i can jump from a 5ft drop /in real life/ |
10:37 | <&McMartin> | The ground is the most vicious of foes |
10:37 | <&McMartin> | It's a bullet the size of the PLANET EARTH |
10:37 | < Syk> | :< |
10:38 | <&McMartin> | Azash: Haven't played Chivalry, but I have heard of it for some reason |
10:38 | < Syk> | AND AGAIN |
10:38 | < Syk> | THE HEK |
10:38 | <&McMartin> | Syk: Which game is this? |
10:38 | < Syk> | far cry FUCKING 4 |
10:38 | < Syk> | 3* |
10:38 | <&McMartin> | Are you falling off the map? |
10:38 | < Syk> | YAY |
10:38 | < Syk> | LANDED |
10:39 | < Syk> | only lost 75% of me health |
10:40 | < Azash> | McMartin: Shame, it's glorious |
10:42 | | * McMartin has a Very Sizable Backlog. :D |
10:43 | < Syk> | heh |
10:43 | < Syk> | my steam is basically Syka's Backlong |
10:43 | < Syk> | log* |
10:45 | | * Azash nudges McMartin and Syk with http://steamcommunity.com/id/haeroe |
10:46 | | * Syk noms it |
10:46 | < Syk> | i'm /id/reddrgn |
10:46 | < Syk> | add me |
10:46 | < Syk> | :D |
10:48 | <&McMartin> | /id/mbromide |
10:49 | <&McMartin> | Oh hey, Broken Sword. |
10:49 | <&McMartin> | How is that? |
10:49 | <&McMartin> | Syk: Can you try sending an invite? |
10:49 | <&McMartin> | If I'm going to be in the Beta group, I might as well try to use as much of the interface as possible :D |
10:50 | < Syk> | well this is my linux box |
10:50 | < Syk> | so uh owo |
10:50 | <&McMartin> | So is this >_> |
10:50 | | * Syk is playing on her Windows box tho :P |
10:50 | <&McMartin> | Ah, OK |
10:50 | < Syk> | did you get the beta invite this mornin too? |
10:50 | <&McMartin> | I did! |
10:50 | < Syk> | i was like :D |
10:50 | <&McMartin> | So I'm putting it through its paces |
10:50 | < Azash> | Broken Sword is by itself one of my favourite games ever along with the sequel (never tried the later ones though) |
10:50 | <&McMartin> | It's in better shape than I expected it to be |
10:51 | < Azash> | The director's cut adds a bunch of backstory and is, for better and worse, made for touch devices |
10:51 | <&McMartin> | Nod |
10:51 | <&McMartin> | I think that's the one I have |
10:51 | < Azash> | Meaning several die-if-you-don't-act-fast places are removed but it does add more puzzles which is nice |
10:51 | <&McMartin> | (I got it free from GOG for their 1,000,000th account party or something) |
10:51 | < Azash> | Ah nice |
10:51 | <&McMartin> | That sounds like a plus to me on both counts |
10:52 | < Syk> | ok so |
10:52 | < Syk> | in far cry 3, i have a deagle |
10:52 | < Syk> | it is HILARIOUS when hunting |
10:52 | < Syk> | deer runs away from my bow, so i pull out the deagle and BAM .50 to the back |
10:52 | < Azash> | A deer? A female deer? |
10:53 | < Syk> | what bothers me is that it says "deer" |
10:53 | < Syk> | and the icon has antlers? |
10:53 | < Azash> | Deer can have antlers |
10:53 | < Syk> | and all the models in the game have no antlers |
10:53 | < Azash> | Oh |
10:53 | < Azash> | I guess they were doomed to extinction anyway then |
10:53 | < Azash> | So no need to feel bad about hunting |
10:53 | < Azash> | :p |
10:57 | < Syk> | heh |
11:10 | < Tarinaky> | Trying to use Wikipedia to look up Maths is the worst thing ever :/ |
11:13 | < Syk> | Far Cry 3 |
11:13 | < Syk> | also known as CRASHING SIMULATOR 2012 |
11:13 | < Syk> | AND THEN ITS FINE |
11:13 | < Syk> | wtf |
11:15 | < Syk> | WHAT I DIED AGAIN |
11:15 | < Syk> | ok this is buggy |
11:31 | < Tarinaky> | I thought Crashing Simulator 2012 was KSP? |
11:32 | < RichyB> | Azash: Syk said "deer", not "doe". You were totally planning to yell about Bambi's mum, weren't you? |
11:33 | < Tarinaky> | 'Doh' |
11:35 | < Attilla> | crashing simulator 2012 noscope 360 |
11:39 | < Azash> | RichyB: I wasn't |
11:39 | < Azash> | I have to admit you got me there doe |
11:50 | | * EvilDarkLord reads backlog. Happy birthday, Syk! |
11:53 | < EvilDarkLord> | Tarinaky: I suggest using Wolfram mathworld or something to look up math. |
11:54 | < Tarinaky> | I'm trying to figure out what ||.|| means. |
11:54 | < Tarinaky> | As opposed to |.| and |.|_2 |
11:54 | < EvilDarkLord> | Context? |
11:55 | < Tarinaky> | The similarity between two images. |
11:55 | < Tarinaky> | I don;t have the paper in front of me because I'm wolfing lunch before an exam |
12:00 | < Tarinaky> | And now I',m looking for it I can't find it :/ |
12:01 | < Tarinaky> | I'll have to get back to you. |
12:02 | < Tarinaky> | Later. |
12:02 | < EvilDarkLord> | Well, I'm seeing it with euclidean distance. |
12:06 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
12:23 | | Orthia [orthianz@Nightstar-6ca59a6f.callplus.net.nz] has quit [Ping timeout: 121 seconds] |
12:53 | | thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has quit [[NS] Quit: g'night!] |
13:14 | < Syk> | EvilDarkLord: danke |
13:14 | | * Syk returns from dinner |
13:14 | < Syk> | hopefully my stepfather doesn't decide to set off fireworks like last year >v> |
13:15 | <@Alek> | ?_? |
13:15 | <@Alek> | most people might be flattered to get fireworks for their birthday. :P |
13:17 | <@TheWatcher> | Maybe Syk feels it's nothing to bang on about... |
13:18 | < Syk> | ...it's also very illegal here |
13:18 | < Syk> | so :P |
13:18 | < Syk> | since it's legal in NT |
13:18 | < Syk> | and we're a border town |
13:18 | < Azash> | How about emptying some AK clips in the air? |
13:19 | < Syk> | that's quadruple illegal |
13:19 | < Azash> | Aw |
13:19 | < Syk> | a) weapons without a permit, b) automatic weapons, c) noise, d) unlawful discharging of a weapon |
13:26 | < RichyB> | e) shooting blindly into the sky is pretty dangerous, you don't know whom the bullets will come down upon. Reckless endangerment or manslaughter, depending on how unlucky you are? |
13:26 | < RichyB> | f) pursuant to e), possible accidental suicide. |
13:30 | < froztbyte> | well |
13:30 | < froztbyte> | hopefully the bullets come down on some stupid people |
13:30 | < froztbyte> | so I'm all for trying |
13:30 | <@TheWatcher> | See also, f) ¬¬ |
13:30 | | * froztbyte is filled with looooooooooots of shitty-people-hate today |
13:30 | < froztbyte> | TheWatcher: that's reasonably easily preventable by correct application of clue |
13:31 | <@TheWatcher> | Indeed |
13:31 | < Azash> | (shitty people) hate or shitty (people hate)? |
13:31 | < froztbyte> | the former |
13:31 | < froztbyte> | I suppose the latter is true as well, given that it's a dumb thing to have occupy my time |
13:32 | < Azash> | #occupytime |
13:44 | < Syk> | hee |
13:44 | < Syk> | ok so |
13:44 | | * Syk is having bad thoughts |
13:45 | < Azash> | TMI |
13:45 | < Syk> | nono |
13:45 | < Syk> | bad computer thoughts |
13:45 | < Syk> | considering making a website |
13:45 | < froztbyte> | a *porn* website? |
13:45 | < froztbyte> | that's probably illegal in .au, Syk |
13:45 | < Syk> | nope, already made one of those |
13:47 | < Syk> | it was great, too |
13:47 | < Syk> | until it started ' |
13:47 | < Syk> | 'losing' images |
13:47 | < Syk> | oh and froztbyte want to guess what it was built on |
13:47 | < froztbyte> | "losing" images? did they leak into people's browsers? |
13:49 | < Syk> | froztbyte: i would feed it 10 images, 4 would register |
13:51 | < Syk> | froztbyte: but guess what was its infrastructure c: |
13:53 | < Syk> | hint: it was PHP calling bash which called a C++ executable that used SQLite for the db |
13:53 | < Syk> | c: it was very fast |
13:53 | < Syk> | I tested it with 45,000 images |
13:54 | < Syk> | Firefox crashed, Chrome went fritzy and IE committed soduku |
13:57 | <@TheWatcher> | ... you realise that each of those stages involves significant overheads, right? |
13:59 | | RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has quit [Ping timeout: 121 seconds] |
14:00 | < Syk> | TheWatcher: yes |
14:00 | < Syk> | TheWatcher: note: i wrote this literal years ago and I am secretly ashamed of it |
14:00 | < Syk> | but it's better than the previous one, which used files in folders as a DB :P |
14:12 | < froztbyte> | Syk: your ability to hack scary things up rivals mine |
14:15 | < Syk> | froztbyte: 'hack scary things' is what i'm good at |
14:15 | < Syk> | V1 of work's helpdesk system used flat files in a shared directory |
14:15 | < Syk> | it got to 1,300 tickets before I properly learned SQL |
14:16 | < Syk> | (to be fair, I was 16 at the time, and had no formal training on how 2 coedz) |
14:25 | | * Syk hums about |
14:25 | < Syk> | anyway, my bad idea was making a sort of town site, because everything to do with this town is on friggin FB |
14:28 | <@TheWatcher> | Much as I applaud the idea of not doing things through facebook, you're going to have to produce something pretty damned astounding to make people not use facebook, unfortunately. There is a huge amount of inertia involved in such things. |
14:29 | < Syk> | well, who says I can't use FB as a login vector? :P |
14:29 | < Syk> | uh |
14:29 | < Syk> | ...vector isn't the right word |
14:29 | < Syk> | ...you know what I mean |
14:30 | < Syk> | it's probably not that good of an idea |
14:30 | < Syk> | maybe as a hobby something |
14:32 | <@TheWatcher> | Logins aren't the issue. People use facebook because it is convenient for them (y'know, when it works, isn't hiding shit from them, etc); they don't need to remember to go to another site to see things, it's just there. |
14:32 | <@TheWatcher> | In order to overcome that you need to provide things that facebook doesn't, in a way that's easy for them to use. |
14:33 | < Syk> | yeah |
14:37 | <@TheWatcher> | (not attempting to discourage, I note - but emphasising that serious thought, careful planning, and useful features that facebook doesn't/can't provide would be needed to make it stand a chance of success) |
15:01 | | RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
15:02 | | * Syk establishes a pile of hacky code on top of froztbyte |
15:03 | < Syk> | oh shit i accidentally invented ad |
15:03 | < Syk> | it makes me sleep better at night if I think that Active Directory was just a few coders, drunk on a Saturday, going 'lets see what shit we can get hairy ballsner to ship!' |
15:04 | < RichyB> | "Commuted soduku" should actually be a thing. |
15:05 | < Syk> | "Guys, guys" "Yeah, what?" "Lets make the Domain and the Forest able to have /different functional levels/" "holy shit yes lets do that" |
15:05 | < RichyB> | *Commited |
15:05 | < Syk> | RichyB: it's like a less messy way of seppuku |
15:05 | < RichyB> | I think that "committing soduku", like "committing seppuku", is a good term to describe a program that accidentally attempts to solve an NP-hard problem. |
15:05 | < Syk> | instead of leaving a mess for someone to clean up, you just complete all the soduku books they got for christmas, and then choke yourself with them |
15:06 | < Syk> | everyone has like, 2 soduku books that people got them |
15:06 | < Syk> | that people then never use |
15:06 | < RichyB> | e.g. "If you feed a pattern with loads of backreferences on the left side into pcre, and a few kilobytes of text as input, it'll commit soduku." |
15:07 | < Syk> | RichyB: theres one really easy way to make soduku NP-easy |
15:07 | < Syk> | np-complete, whatever |
15:07 | < RichyB> | ? |
15:07 | < Syk> | and that is to lie and not check the processed board |
15:07 | < Syk> | :D |
15:07 | < Syk> | if_algorithms_were_in_the_australian_government_aXXorip.avi |
15:09 | < Syk> | fuck, is there a way to config irssi to not alert me for lag above like 3s |
15:09 | < Syk> | as I have 1.55s lag to one server, reliably |
15:10 | < Syk> | but irssi seems to have been programmed by first-world city dwellers who shit themselves at 1s lag |
15:10 | < RichyB> | o_O |
15:10 | < RichyB> | It's IRC. Why would anyone care about anything less than 30 seconds. |
15:10 | < Syk> | well 30 seconds lag is a bit rough |
15:11 | < Syk> | ever used irssi with 15 seconds lag? shit's fun |
15:11 | < Syk> | also known as me, whenever I have to do irc over 2G |
15:11 | < Syk> | EDGE was not designed for IRC. |
15:12 | < Syk> | it wasn't designed for anything ;v; |
15:13 | < RichyB> | 15 seconds lag between irssi and the server or between you and irssi? Between you can the running irssi is unacceptable, between irssi and the ircd just makes conversations slower. |
15:13 | < RichyB> | GPRS does just fine for loading qdb.us ;) |
15:13 | < Syk> | RichyB: it's more that i frequent a high-volume channel |
15:14 | < Syk> | and it tended to be like DATADATAnodatanodatanodataDATATATATATA |
15:14 | < Syk> | so i would get 15s of messages at once |
15:14 | < Syk> | ok i might make myself an 11pm coffee |
15:14 | < Syk> | gonna work til sunup bitchez |
15:15 | < RichyB> | Good luck with that, you maniac. |
15:41 | < Syk> | RichyB: c: |
15:41 | < RichyB> | CEASE THAT WITCHCRAFT FORTHWITH |
15:42 | < RichyB> | Bloody upside-down smilies. |
15:42 | < RichyB> | WITCHCRAFT, I say! |
15:43 | < Azash> | RichyB: Syk is just a fan of the Windows command line |
15:43 | < Azash> | Please don't judge |
15:44 | < RichyB> | eugh |
15:44 | < auREAX> | anyone here worked with bibtex before? |
15:44 | < auREAX> | I'm having a bit of trouble trying to figure it out |
15:44 | < RichyB> | I'm going to go back to thinking of it as witchcraft, that's less scary. |
15:45 | < Syk> | oooh xbmc lets you make a grid of images as a backdrop |
15:49 | | celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code |
15:50 | < Azash> | TheWatcher, McMartin, any experience with bibtex? |
16:17 | < Syk> | ok so |
16:17 | < Syk> | i just wrote the hackiest script ever |
16:34 | < Syk> | ok guys |
16:34 | < Syk> | do i bother attempting to embed Mozilla |
16:34 | < Syk> | or do I go 'to hell with it' and just embed webkit |
17:05 | < Syk> | ...well that was easy |
17:10 | < celticminstrel> | Yay easy? |
17:14 | < Syk> | whoo |
17:15 | < Syk> | celticminstrel: yeah |
17:16 | < celticminstrel> | Did you embed Mozilla or webkit? :P |
17:19 | < Syk> | celticminstrel: qtwebkit |
17:19 | < celticminstrel> | Bah, qt. |
17:21 | < Syk> | celticminstrel: i know :( |
17:21 | < Syk> | but it works, and I'm fine with that |
17:22 | < Syk> | if anyone cares enough to want it, I can up the source |
17:48 | | * celticminstrel has not idea what it is... |
17:51 | < Syk> | celticminstrel: basically, it's a QT executable that loads a webpage and makes it fullscreen |
17:51 | < Syk> | and that's it |
17:51 | < Syk> | no chrome, no controls, nothing |
17:52 | < celticminstrel> | Oh. How boring. >_> |
17:57 | < Syk> | celticminstrel: yes, it's very boring |
17:57 | < Syk> | which is the point |
17:57 | < Syk> | for like... display boards and the like |
17:58 | < celticminstrel> | Ah. |
17:58 | < Syk> | RasPi + this = a webapp can now be a visual appliance |
17:58 | < celticminstrel> | RasPi? |
17:58 | < Syk> | Raspberry Pi |
17:58 | < celticminstrel> | ? |
17:58 | < Syk> | the ~$50 mini Linux PC |
17:59 | < Syk> | http://www.raspberrypi.org/ |
18:01 | < simon`> | on the structure of my compiler: I've got an AST and I want to annotate it in a later compilation phase. I don't want to keep several versions of my AST in case I make small changes to it and have to do that in many places. so do I leave empty spots in the AST to be filled out later? |
18:02 | < simon`> | (I'd ask in #compilers@freenode, but the channel is simply dead in spite of its nickname count, which is a real pity.) |
18:08 | <&ToxicFrog> | What do you mean by "leave empty spots"? |
18:14 | < celticminstrel> | Why does my USB hub keep failing randomly... |
18:21 | < auREAX> | >finish hard algorithm assignment |
18:21 | < auREAX> | >it compiles in go |
18:21 | < auREAX> | >it runs perfectly in one go, and efficient as well |
18:21 | < auREAX> | this must be my lucky day |
18:22 | < celticminstrel> | Heh, nice. |
18:24 | < auREAX> | well I have 4.5 hours to hand in the report |
18:24 | < auREAX> | so I'm coding at sanic speeds here |
18:25 | < Syk> | gottagofast |
18:26 | < froztbyte> | Syk: lulz |
18:27 | < simon`> | ToxicFrog, as in have fields in my AST that are left empty by the parser. |
18:27 | | * Syk applies fast to auREAX |
18:27 | < Syk> | NO TIME FOR CORRECTNESS |
18:27 | < Syk> | make like Astaro and just hide everything useful |
18:29 | < Azash> | simon`: Making a compiler? Neat |
18:29 | < froztbyte> | Syk: ROFL |
18:29 | < froztbyte> | man, Astaro |
18:29 | < Syk> | Sophos bought them |
18:29 | < Syk> | I tried to set up an Astaro on my last day |
18:29 | < Syk> | the documentation is NONEXISTANT |
18:29 | < Azash> | simon`: If your AST is build using pointers or references (which I dearly hope it is), just insert new elements or expand existing ones as needed? |
18:29 | < Syk> | ...then my supervisor tells me that it's ON the device |
18:29 | < Syk> | and i was like wtf |
18:30 | < Syk> | what if your problem is getting to the device |
18:30 | < Syk> | then you're fucked |
18:30 | < froztbyte> | factory reeeeeeseeeeeeeeet |
18:30 | < Syk> | also one of the astaros had a hardware failure (lol) and the other didn't get sent with the license keys (lol^2) |
18:30 | < Syk> | so he has two inoperable astaros |
18:31 | < auREAX> | also |
18:31 | < auREAX> | did I mentuon I love and hate LaTeX at the very same time |
18:31 | < Azash> | There are clubs for that, auREAX |
18:31 | < Syk> | LaTeX is great |
18:31 | < Syk> | it is also very complex |
18:31 | < Syk> | and i have never used it in a serious capacity yet |
18:32 | < auREAX> | I'm having trouble getting bibtex to work :( |
18:32 | < Azash> | Is it like vim in the "great after two years" way? |
18:35 | <&ToxicFrog> | simon`: I don't see a problem with that. How would the alternatives you were considering work? |
18:35 | <&ToxicFrog> | (and what languages are you using?) |
18:35 | <&ToxicFrog> | <3 LaTeX |
18:35 | <&ToxicFrog> | auREAX: IME, the secret to getting BibTeX to work is to use an IDE that handles it for you. |
18:35 | < Syk> | olawd Far Cry 3 |
18:35 | < auREAX> | I use texstudio and it doesn't do it well |
18:35 | < auREAX> | :v |
18:36 | < Syk> | accidentally shoot a Red Barrel(TM) and the entire camp is on fire :( |
18:37 | < Syk> | it wouldnt be so bad if it wasnt a friendly camp |
18:37 | <&ToxicFrog> | I use Kile, which is working out pretty well forme |
18:37 | < Syk> | the AI is stupid, anyway, so it's not like it'll remember |
18:48 | < simon`> | ToxicFrog, either to have the information in separate structures and pass them along with the AST, or creating a new type for the annotated AST (which I don't want to). |
18:51 | < froztbyte> | Syk: I wanted to play Crysis again recently, can't find my disks |
18:51 | <&ToxicFrog> | Yeah, my preference (if using static typing for this) is either have the AST intrinsically able to have annotations and just leave them blank when it's initially constructed, or attach a separate annotation structure to it later. |
18:51 | < froztbyte> | I suspect they're with many of my other games...at my parents' place... :( |
18:52 | <&ToxicFrog> | There's no reason to have separate types for annotated and non-annotated AST nodes. |
18:52 | <&ToxicFrog> | froztbyte: don't have it on any DD services? |
18:52 | < froztbyte> | nein, unfortunately |
18:53 | < froztbyte> | I was eyeing just repurchasing it, but then just fired up DX instead :) |
18:53 | < Syk> | froztbyte: :< |
18:54 | < froztbyte> | also one day my poor old computron needs to be replaced |
18:54 | < Syk> | froztbyte: you should get an AMD |
18:54 | | * Syk snrk |
18:54 | < froztbyte> | hageshii% grep 'model name' /proc/cpuinfo; free -m | grep Mem |
18:54 | < froztbyte> | model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6400+ |
18:54 | < froztbyte> | model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6400+ |
18:54 | < froztbyte> | Mem: 5970 4848 1121 0 468 1956 |
18:56 | <&ToxicFrog> | DX is a better game anyways, so` |
18:56 | < froztbyte> | hehe |
19:14 | < Syk> | also something i saw on G+ |
19:15 | < Syk> | 12/12/12 will be the last repetitive dd/mm/yy date in our lifetimes |
19:15 | < Syk> | D: |
19:15 | < Syk> | quick someone invent immortality so i can prove the internet wrong |
19:21 | < celticminstrel> | XD |
19:22 | < celticminstrel> | Next one would be 01/01/01, where the year is 2101. |
19:22 | | Vornicus [Vorn@Nightstar-35eb62f8.sd.cox.net] has joined #code |
19:22 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
19:23 | < celticminstrel> | That's only 89 years away. Someone alive today will still be alive then. :P |
19:27 | | Courage [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code |
19:30 | | Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds] |
19:32 | < Azash> | It's not unlikely that Syk is still alive then either |
19:33 | <@Tamber> | I think it's unlikely; she'll just get too angry, one day, and ignite. |
19:33 | < froztbyte> | rofl |
19:34 | < Syk> | lul |
19:34 | < Azash> | Hee hee |
19:34 | < Syk> | "god damn it this code is crashing GOD DAMN IT" *flames* |
19:37 | <@Tamber> | London, UK: "...did anybody else just see that bright light?" |
19:41 | < froztbyte> | no |
19:41 | < froztbyte> | but that's a) because I'm in .za, b) because I think the stumps I'm trying to use to make fire are wet :/ |
19:41 | | * froztbyte had hoped it might've just been splash water |
19:41 | | * Syk sets fire to froztbyte |
19:41 | < Syk> | fixed c: |
19:42 | < froztbyte> | meh 's okay |
19:42 | < froztbyte> | I'll just burn the water out of it with MORE FIRE :D:D:D |
19:42 | | * froztbyte has a stash of methylated spirits around here somewhere |
19:42 | < Syk> | fire fixes every problem |
19:42 | < Syk> | if the problem is too much fire, just keep adding fire, and soon you won't have to worry about it |
19:43 | < froztbyte> | yup |
19:43 | < froztbyte> | you can also smother fire by using another /flash/fire |
19:43 | < froztbyte> | so, you know, there is that |
19:49 | <~Vornicus> | you can also use fire to create firebreaks. |
19:49 | <~Vornicus> | Which keeps a meaner fire from crossing into areas you need to protect. |
19:52 | < Syk> | i love when the FESA do firebreaks |
19:53 | < Syk> | that then get out of control |
19:53 | < froztbyte> | haha |
19:55 | < Syk> | http://reddrgn.net/xbmc.jpg < i love xbmc and its skins |
19:56 | < Syk> | it has given me a compulsive need to rip every single tv show and movie i have so i have it c: |
19:56 | < froztbyte> | haha |
19:57 | < froztbyte> | also, incubus is not a bad idea right now |
19:57 | < Syk> | i currently have 40 movies ripped |
19:57 | | * froztbyte loadsup grooveshark |
19:57 | < Syk> | and a bunch of tv shows |
19:57 | < froztbyte> | hmm |
19:58 | | * froztbyte ponders |
19:58 | < Syk> | 12 tv series |
19:58 | < Syk> | although i have lost a lot of dvds :C |
19:59 | < froztbyte> | haha |
19:59 | < simon`> | so apparently for a monadic type checker, if I want to collect errors and read/write a bunch of other stuff, I would either use a State monad with a record in it, or some complex stack of monad transformers. is it very un-idiomatic if I KISS? |
19:59 | < froztbyte> | see pm |
19:59 | < froztbyte> | not that I'm experienced at writing haskell code, but I'd expect that keeping it simple might be a good thing for now |
19:59 | < froztbyte> | best way to avoid Type Spiders |
20:00 | < simon`> | Type Spiders? |
20:00 | < simon`> | I imagine they're a metaphor for prematurely over-complicated datastructures? |
20:01 | < froztbyte> | yup :) |
20:01 | < simon`> | I already feel that I'm complicating this unnecessarily by introducing monads, but the alternative is horrible. |
20:04 | < simon`> | (I think you're officially crazy when not using monads is complicated.) |
20:05 | < froztbyte> | haha |
20:12 | < froztbyte> | Syk: thanks for the accidental reminder of Light Grenades |
20:12 | < froztbyte> | it's been quite some time since I last listened to it :) |
20:12 | | * Syk rocks out |
20:12 | < Syk> | also go get paniqs albums |
20:13 | < Syk> | http://paniq.cc/ iirc |
20:13 | < Syk> | its great :3 |
20:13 | < froztbyte> | in a similar vein, are you familiar with Finger Eleven - One Thing ? |
20:15 | < Syk> | noep |
20:15 | < froztbyte> | you wish to be. |
20:21 | | Syk is now known as syksleep |
20:27 | | Rhamphoryncus [rhamph@Nightstar-cc6253d6.abhsia.telus.net] has joined #code |
20:54 | | iospace [Alexandria@Nightstar-e67f9d08.com] has quit [[NS] Quit: restarting irssi] |
20:56 | | iospace [Alexandria@Nightstar-e67f9d08.com] has joined #code |
21:36 | | iospace [Alexandria@Nightstar-e67f9d08.com] has quit [[NS] Quit: ok, lets try this again] |
21:41 | | iospace [Alexandria@Nightstar-e67f9d08.com] has joined #code |
21:57 | | Kindamoody|out is now known as Kindamoody |
22:16 | | gnolam [lenin@Nightstar-bb103c17.cust.bredbandsbolaget.se] has quit [Client closed the connection] |
22:16 | | gnolam [lenin@Nightstar-bb103c17.cust.bredbandsbolaget.se] has joined #code |
22:20 | | Kindamoody is now known as Kindamoody[zZz] |
22:28 | | Vornicus [Vorn@Nightstar-35eb62f8.sd.cox.net] has quit [Client closed the connection] |
23:02 | | Orthia [orthianz@Nightstar-6ca59a6f.callplus.net.nz] has joined #code |
23:06 | < iospace> | when i rule the world |
23:06 | < iospace> | the first thing i'll do is outlaw Tcl |
23:18 | < simon`> | haha |
23:19 | < simon`> | I just wrote some TCL code on a blackboard today. it was the first time in something like 10 years. |
23:41 | < simon`> | I wrote imperative and iterative versions of fib. |
23:43 | <&ToxicFrog> | ...how is the iterative version not imperative? |
23:43 | < simon`> | it was recursive. |
23:44 | <&ToxicFrog> | So you mean you did iterative and recursive versions? |
23:44 | < simon`> | I think iterative is what you call a recursive function that uses its arguments as storage...? |
23:44 | <&ToxicFrog> | Er |
23:44 | <&ToxicFrog> | Ok, strictly speaking, iteration and tail recursion are equivalent |
23:45 | <&ToxicFrog> | However, in common use, "iterative" uses loops, "recursive" uses self-calls |
23:45 | < simon`> | right. |
23:45 | < simon`> | so what I meant was imperative and linear-recursive :) |
23:45 | <&ToxicFrog> | In particular, when discussing fib (or similar) as a tool for teaching recursion, the distinction is recursive vs. iterative |
23:46 | <&ToxicFrog> | (which is orthogonal to imperative/OO/functional/etc) |
23:50 | <&ToxicFrog> | You can totally have an imperative recursive function! |
23:50 | < simon`> | without monads? ;) |
23:51 | <&McMartin> | Sure. |
23:51 | <&McMartin> | I mean, write it in Pascal |
23:52 | < simon`> | proc fib {n} {set a 0; set b 1; while {$n > 0} {set c [expr {$a + $b}]; set a $b; set b $c; incr n -1}; return $b} |
23:52 | < simon`> | proc fib2 {n} {if {$n == 0} {return 0} elseif {$n == 1} {return 1} else {return [expr {[fib2 [expr {$n-1}]] + [fib2 [expr {$n-2}]]}]}} |
23:52 | < simon`> | TCL wasn't meant for arithmetic. |
23:53 | < simon`> | also, doing [lindex $list n] all the time makes even car/cdr look attractive. |
23:53 | <&McMartin> | cdadr! |
23:54 | < simon`> | I wish people wrote more lisp at my dept... one could write a revue sketch about pronouncing lisp code. |
23:57 | <&ToxicFrog> | simon`: where do monads come into it? "imperative" just means "sequential execution, mutable state, not object oriented". |
23:57 | <&McMartin> | I don't think it requires non-OO |
23:58 | < simon`> | ToxicFrog, right, I hadn't thought about simply using an imperative language. ;-) |
23:58 | < simon`> | McMartin, I like excluding OO. |
23:58 | <&ToxicFrog> | McMartin: I often see "imperative" and "OO" used in contrast; eg, "C is imperative, C++ is object-oriented" |
23:58 | <&McMartin> | Yeah, that seems foolish to me |
23:58 | <&ToxicFrog> | It's probably more useful to make OO a modifier, though, because you can totally write (e.g.) functional object-oriented code |
23:59 | < simon`> | ToxicFrog, or write object-oriented in imperative language with no native OO primitives. |
--- Log closed Sat Dec 08 00:00:40 2012 |