code logs -> 2014 -> Wed, 31 Dec 2014< code.20141230.log - code.20150101.log >
--- Log opened Wed Dec 31 00:00:58 2014
00:05 gnoLAN [lenin@Nightstar-oru2ae.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
00:13 gnoLAN [lenin@Nightstar-oru2ae.priv.bahnhof.se] has joined #code
00:13 gnoLAN [lenin@Nightstar-oru2ae.priv.bahnhof.se] has quit [A TLS packet with unexpected length was received.]
00:28 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
00:52 Turaiel[Offline] is now known as Turaiel
00:57 Turaiel is now known as Turaiel[Offline]
01:05 Turaiel[Offline] is now known as Turaiel
01:22 himi [fow035@Nightstar-kmo.sbl.159.120.IP] has joined #code
01:22 mode/#code [+o himi] by ChanServ
01:39 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
01:39 mode/#code [+o PinkFreud] by ChanServ
02:05 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
02:14 PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has joined #code
02:14 mode/#code [+o PinkFreud] by ChanServ
03:00 Thalasleep is now known as Thalass
03:01 Thalass is now known as Thalass|WT
03:09 PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has quit [Ping timeout: 121 seconds]
03:11 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
03:11 mode/#code [+o PinkFreud] by ChanServ
03:27 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:36 Thalass|WT is now known as Thalass
03:38 * Thalass bows before himi's superior codefu-ery
03:39
<~Vornicus>
what'd himi do today?
03:40 Reivles is now known as Orthia
03:43
< RobinStamer>
<Azash> variable = {
03:43
< RobinStamer>
<Azash> # 32-line k/v block
03:43
< RobinStamer>
<Azash> }[index_var] || I18n.t('foo.bar.unknown')
03:43
< RobinStamer>
^ That's a JS design pattern. What would you have done differently?
03:47
<~Vornicus>
Is the k/v block all literals?
03:47
< RobinStamer>
Normally
03:47
< RobinStamer>
I don't know of any shortcutting that happens with that.
03:48
<~Vornicus>
I'd probably have made a function of it: function get(obj, key, default) {return obj[key] || default;}
03:48
<@Thalass>
He and Sandra have a "cricut" which seems to be a combination printer and electronic cutting thingy. But it's horribly locked down. Himi fixed up some code that unlocks the premium features so they can cut whatever they want with it.
03:49
<@Thalass>
Or something like that
03:49
< RobinStamer>
Uhh, why?
03:50
<@Alek>
uhh, trim letter paper down to photo size? trim off extraneous margins? *wag*
03:50
< RobinStamer>
Nice, congrats to himi for disabling intentional crippling
03:51
< RobinStamer>
(The "why" was @Vorn)
03:51
<~Vornicus>
RobinStamer: why? because the idiom suggests untowardly-huge variables in the middle of functions
03:52
< RobinStamer>
*shrugs*
03:52 * RobinStamer has only seen it, and done it as: function foo(key) { return { ... }[key] || default }
03:53
< RobinStamer>
Yours doesn't do much to aleviate the proplem you mentioned. You'd still have the massive object def where it was before.
03:53
<~Vornicus>
Sure, but now you can put it anywhere.
04:14 Thalass is now known as Thalafk
04:19
<@celticminstrel>
Bleh, still have some things to work on, but at least all three programs build and run without immediately crashing.
04:19
<@celticminstrel>
Though, the editors are kinda useless without working "open" dialogs. >_>
04:31 Orthia is now known as Reivles
04:34 himi [fow035@Nightstar-kmo.sbl.159.120.IP] has quit [Ping timeout: 121 seconds]
04:35
<@celticminstrel>
Drawing positions seem to be partially messed up by the presence of the menubar, but for some reason some stuff is drawn correctly and some isn't.
04:37 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
04:37 mode/#code [+ao McMartin McMartin] by ChanServ
04:45 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
04:51 Thalafk [thalass@Nightstar-9ai58o.bigpond.net.au] has quit [Connection closed]
05:26 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
05:58 Turaiel is now known as Turaiel[Offline]
05:58 celticminstrel [celticminst@Nightstar-jeiu0g.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
08:07 Kindamoody[zZz] [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
08:23 Kindamoody|autojoin [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code
08:23 mode/#code [+o Kindamoody|autojoin] by ChanServ
08:46 Kindamoody|autojoin [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
08:53 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
08:53 mode/#code [+o himi] by ChanServ
09:25
<@Azash>
RobinStamer: This is not JS and it's still ugly and terrible
09:34 AverageJoe [evil1@Nightstar-2ofrtr.ph.cox.net] has joined #code
09:46 Kindamoody|autojoin [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code
09:46 mode/#code [+o Kindamoody|autojoin] by ChanServ
09:46 Kindamoody|autojoin is now known as Kindamoody
10:08 AverageJoe [evil1@Nightstar-2ofrtr.ph.cox.net] has quit [[NS] Quit: Leaving]
10:11 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
10:11 mode/#code [+o Checkmate] by ChanServ
10:31 Kindamoody [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
10:56 Kindamoody|autojoin [Kindamoody@Nightstar-kgn9go.mobileonline.telia.com] has joined #code
10:56 mode/#code [+o Kindamoody|autojoin] by ChanServ
10:56 Kindamoody|autojoin is now known as Kindamoody
11:02 orth [orthianz@Nightstar-pe8.gl8.148.118.IP] has joined #code
11:24 * Tarinaky headdesks
11:24
< abudhabi>
You do that a lot.
11:24
<@Tarinaky>
So?
11:25
< abudhabi>
Your forehead must hurt.
11:25
<@Tarinaky>
Well, you may be surprised to learn that I didn't actually headdesk
11:26
<@Tarinaky>
And just to twist the knife: I don't actually laugh out loud every time I say lol
11:26
< abudhabi>
*le gaspe*
11:26
<@Tarinaky>
I just wanted to communicate undirected frustration without resorting to profanity.
11:28
<@ErikMesoy>
Your internet forehead must hurt from the internet headdesking.
11:29
<@Tarinaky>
My internet desk is soft and cuddly.
11:29
<@froztbyte>
sounds like it might be a facehugger in disguise
11:30
<@froztbyte>
and want to throttle you every time you headdesk it
11:31
<@Tarinaky>
abudhabi: Partner convinced me to buy bisongrass vodka for new years.
11:41
<@gnolam>
Żubrówka?
11:41
<@Tarinaky>
Yes.
11:58
< abudhabi>
Tarinaky: I don't drink.
12:04
<@Tarinaky>
I know.
12:18 Kindamoody is now known as Kindamoody|afk
12:21 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
12:36 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
12:38 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
12:57 Kindamoody|autojoin [Kindamoody@Nightstar-mbcm1t.mobileonline.telia.com] has joined #code
12:57 mode/#code [+o Kindamoody|autojoin] by ChanServ
12:57 Kindamoody|afk [Kindamoody@Nightstar-kgn9go.mobileonline.telia.com] has quit [Connection closed]
12:57 Kindamoody|autojoin is now known as Kindamoody|afk
13:03 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
13:04 orth_ [orthianz@Nightstar-n8uab4.callplus.net.nz] has joined #code
13:04 orth [orthianz@Nightstar-pe8.gl8.148.118.IP] has quit [Connection closed]
13:22 thalass [thalass@Nightstar-9ai58o.bigpond.net.au] has joined #code
13:22 mode/#code [+o thalass] by ChanServ
14:40 ErikMesoy [Erik@Nightstar-48q.uk2.203.80.IP] has left #code []
15:41 Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds]
16:17 * iospace looks at this script
16:17 * iospace looks at it again
16:17
<@Tamber>
Did it change between both lookings at?
16:17
<@iospace>
are... are we really checking the same variable /twice/?
16:18
<@Tamber>
You never know!
16:18
<@froztbyte>
only twice?
16:18
<@froztbyte>
could be worse
16:18
<@iospace>
could be tuesday
16:19
<@iospace>
ok, it's checking two different variables... but... they could easily be merged together...
16:19 * iospace sighs
16:22 thalass is now known as Thalasleep
17:13 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
17:14 mode/#code [+o PinkFreud] by ChanServ
17:14 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
17:18 Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code
17:18 mode/#code [+o Alek] by ChanServ
17:18
< RobinStamer>
Azash: you still haven't said what the alternative code would be
17:42
<&ToxicFrog>
I should publish mp3tree one of these days.
18:06
<@Azash>
RobinStamer: Alternative code?
18:06
<@Azash>
Oh
18:07
<@Azash>
I'd use a variable because a) the hash is a complex value that may be useful to modify and b) it improves readability
18:11
< RobinStamer>
Fair enough
18:41 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
19:04 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has left #code ["Channel droped by client"]
19:04 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
19:11 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
19:12 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
19:18 VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
19:23 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Leaving]
19:23 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
19:25 VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
20:12 Kindamoody|afk [Kindamoody@Nightstar-mbcm1t.mobileonline.telia.com] has quit [Connection closed]
20:58 * McMartin sleeps in, orders lunch, takes a shower, suddenly understands Haskell typeclasses
21:04 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
21:07 Syloq [Syloq@Nightstar-hco.fem.152.204.IP] has joined #code
21:07 mode/#code [+o Syloq] by ChanServ
21:16
<@Azash>
McMartin: Nice
21:16
<@Azash>
McMartin: Also I thought of you today
21:16
<@Azash>
In the most platonic sense
21:16
<@Azash>
I was waiting for a database dump to finish so I went to the bookcase and looked for something, and grabbed this tome on improving legacy software
21:16
<@Azash>
I had to do a double take when it was emblazoned with "THE RICHRD C. MARTIN SERIES"
21:16
<@Azash>
Er, RICHARD
21:24 PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has joined #code
21:24 mode/#code [+o PinkFreud] by ChanServ
21:28
<@Alek>
surely that's his dad? :P
21:28
<@Azash>
Alek: I laughed at the same idea
21:29 Azash [ap@Nightstar-28tp6p.plumbing] has quit [[NS] Quit: Reconnecting]
21:29 Azash [ap@Nightstar-28tp6p.plumbing] has joined #code
21:29 mode/#code [+o Azash] by ChanServ
21:29
<@Azash>
Bah, goddamnit
21:29
<@Azash>
Oh, right
21:29
<@Azash>
It helps to set up RDNS before trying to get your snowflake domain name
21:31
<@Tamber>
Also helps to remove the mode that hides your host.
21:31
<@Azash>
That's a minor concern
21:31
<@Azash>
In comparison
21:31
<@Tamber>
:)
21:31
<@Azash>
I really love my new domain though so
21:32
<@Azash>
Just waiting for it to propagate I guess!
21:32
<&McMartin>
Azash: Heh. No relation.
21:32
<&McMartin>
At least not until you start getting into like sixth cousins thrice removed or w/e
21:32
<@Azash>
I don't much get into cousins myself
21:33
<@Tamber>
That's generally illegal in most places anyway.
21:33
<&McMartin>
In the US, IIRC same-sex marriage and cousin marriage are now legal in similar numbers of states.
21:38
<@Azash>
Where do I set rdns on Linux again?
21:40
<@Alek>
o_o
21:41
<@Alek>
technically, in the Bible, up to first cousins (up to once, maybe twice removed) are forbidden. everything else? good to go. as long as you don't do gay male sex or bestiality.
21:41
<@Azash>
Oh right, looks like I need to log in to hetzner's admin panel
21:41
<@Alek>
or spill outside the vagina.
21:41
<@Azash>
Alek: :P
21:41
<@Alek>
on purpose.
21:42
<@Alek>
lesbian sex isn't mentioned. pegging could be a grey area. so could female anal.
21:43
<&McMartin>
I'm going here mainly on the "once you hit the second-cousins level of consanguinity, the level of genetic similarity is not much different from any random stranger's just by genes existing in multiple bloodlines"
21:43
<@Alek>
red wings are, if not forbidden, at least strongly discouraged. XD
21:43
<&McMartin>
aspect
21:50 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
21:51 mode/#code [+qo Vornicus Vornicus] by ChanServ
22:13 Azash [ap@Nightstar-28tp6p.plumbing] has quit [[NS] Quit: WHY QUIT ]
22:13 Azash [Azash@wizard.engineering] has joined #code
22:13 mode/#code [+o Azash] by ChanServ
22:13
<@Azash>
There we go
22:13
<@Azash>
Tamber: ^
22:13
<@Tamber>
:)
23:00 orth_ [orthianz@Nightstar-n8uab4.callplus.net.nz] has quit [[NS] Quit: Bye]
23:08 Thalasleep is now known as Thalass
23:31 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
23:31 mode/#code [+o Checkmate] by ChanServ
23:34 Reivles is now known as Orthia
--- Log closed Thu Jan 01 00:00:13 2015
code logs -> 2014 -> Wed, 31 Dec 2014< code.20141230.log - code.20150101.log >

[ Latest log file ]