rurik has joined #elliottcable
rurik is now known as Guest49197
Guest98152 has quit [Ping timeout: 276 seconds]
cloudhead has quit [Ping timeout: 250 seconds]
rurik has joined #elliottcable
rurik is now known as Guest86777
Guest49197 has quit [Ping timeout: 258 seconds]
Guest86777 has quit [Read error: Connection reset by peer]
rurik has joined #elliottcable
rurik is now known as Guest88027
Coraline is now known as CoralineZzz
<
incomprehensibly>
hm
Guest88027 has quit [Ping timeout: 276 seconds]
cloudhead has joined #elliottcable
thealphanerd has quit [Quit: farewell for now]
thealphanerd has joined #elliottcable
rurik has joined #elliottcable
rurik is now known as Guest39119
Guest39119 has quit [Ping timeout: 276 seconds]
brr has quit [Remote host closed the connection]
brr has joined #elliottcable
embri0n has joined #elliottcable
_Pyrrh is now known as Pyrrh
meowrobot_ has joined #elliottcable
rurik has joined #elliottcable
rurik is now known as Guest84012
Guest84012 has quit [Client Quit]
meowrobot has quit [Ping timeout: 265 seconds]
cloudhead has quit [Ping timeout: 260 seconds]
embri0n has quit [Quit: Leaving...]
cloudhead has joined #elliottcable
_Pyrrh has joined #elliottcable
Pyrrh has quit [Ping timeout: 250 seconds]
danpalmer has quit [Quit: Connection closed for inactivity]
_Pyrrh has quit [Read error: Connection reset by peer]
_Pyrrh has joined #elliottcable
cloudhead has quit [Ping timeout: 258 seconds]
embri0n has joined #elliottcable
<
ELLIOTTCABLE>
herro
<
ELLIOTTCABLE>
i'm so sreepy
<
ELLIOTTCABLE>
incomprehensibly: lol channeling inimino much? :3
<
pikajude>
just had a code review comment where a coworker suggested str?.trim().length == 0 rather than str == ""
<
ELLIOTTCABLE>
well I guess spaces, idk, what's the context
<
pikajude>
when there are no NS records for a domain, the backing service returns an empty string rather than a hostname
<
pikajude>
it will never return something that isn't an empty string or a hostname
<
pikajude>
i thought about being a piece of shit and asking her whether she wanted me to instead test the string against /^[[:space:]]+$/ or not
<
pikajude>
or whether she wanted me to validate the return value as a hostname
<
pikajude>
not sure what i'm so annoyed about
<
jfhbrook>
I mean !str.trim().length maybe?
<
jfhbrook>
idk what ?. is
<
jfhbrook>
idk, I think accounting for whitespace is a decent sanity check ¯\_(ツ)_/¯
<
pikajude>
oh my goodness
<
pikajude>
a news site that automatically plays video
<
pikajude>
i haven't seen one of these in a minute
<
pikajude>
fortunately the shitty office network is preventing the video from streaming
wraithgar has joined #elliottcable
wraithgar has quit [Quit: Leaving]
ljharb has quit [Ping timeout: 244 seconds]
<
audy>
is ?. the new ruby syntax
krainboltgreene has quit [Ping timeout: 244 seconds]
<
pikajude>
no it's from coffeescript
ljharb has joined #elliottcable
krainboltgreene has joined #elliottcable
<
pikajude>
just found out the intern has been putting done() in his mocha tests outside all the async code
<
pikajude>
at the end
<
pikajude>
so every test inits the app, fires off a request to it and then returns immediately
<
jfhbrook>
ahahahaha
<
jfhbrook>
oh gross, coffeescript :6