« first day (1748 days earlier)      last day (3207 days later) » 

7:00 PM
Your pants teach you?
 
babel webpack all the things
its hard working without those tools now
 
already do.
 
I'm back to some old school JS on one of our projects
fucking hurts.
 
gosh I really should come here more, ive been pissed off about that recursion thing for days and now i feel like a total noob for it :D
 
document.getElementById("derp").blink(); @Loktar like that old school? lol
 
7:01 PM
*I've
 
@DanieClawson it caught me the first time I used a JS getter too, and I've written getters in C# and a few other langs before
 
Your productivity will plummet if you hang around here.
 
@Trasiva first guess is that $checkboxArray[2] doesn't return '#....' but just '...'
 
*your
 
@Luggage LOL it already has
 
7:02 PM
damnit,
 
@Luggage It's not the most useable place
 
@ssube well that makes me feel better. thanks for the help btw
 
@rlemon Nope, it does, it's hard set in the arrea.
 
@SterlingArcher :( yes
 
array*
 
7:02 PM
My condolences, bro beans. :(
 
@Trasiva so the first value has # in it, the latter does not correct?
 
@rlemon $checkboxArray = ["ckbRemoveAll", "ckbRemove", "#gvClac"]
 
@Trasiva ew
 
@JanDvorak Give a grace period of 30 seconds for edits. :)
 
^ ^
 
7:04 PM
@JanDvorak Yes yes, Arrays, gross, I get it. :P
 
also why are you selecting by ID ENDS WITH
can't you just use a common classname?
 
Arrays are fine ._.
 
@rlemon Supervisor wanted me to avoid classnames.
 
it's not so much that it's an array, but you take 3 named things and stick them in an array so that you have to refer to them with [0]. That's obscuring the intent.
 
@Trasiva supervisor is wrong
this is a perfect use case for a common classname
 
7:06 PM
@JanDvorak Can you give an example of what you mean by, "an array is a poor substitute for an anonymous class?"
 
@Trasiva wat
 
and please tell me you are using var keywords. $variables like this are global, this isn't php
 
Supervisor wants me to walk from one end of the room to the other without touching the floor.
 
@DanieClawson {name:"Joseph", surname:"Novak", age:52} is far better than ["Joseph", "Novak", 52]
 
@Luggage roll your chair, walk in place
 
7:07 PM
var $name = $(checkbox).attr('name'); Like a so?
 
yes
 
almost
var name = ...
 
var $name is valid
some people like fancy blinged out variables
 
@rlemon As for the supervisor thing, he said something about it was generating spans around it. I didn't buy it, but hey, he cuts my paychecks.
 
$var is typically a selector
 
7:08 PM
I don't. Reminds me of PHP
 
it's not a great convention even still
 
@Trasiva wat
 
I've used var $someVariable on occasion only if the variable is used to hold a jQuery result or element already wrapped by jQuery.
 
@JanDvorak Yea...I know. I just nod my head and try to quietly cry inside.
 
since $ kinda means jQuery in my mind, in JS-land.
 
7:09 PM
@Trasiva I'd look for a new place
 
@Trasiva it is your responsibility to fill the gaps in your bosses knowledge. or find a new job.
"just doing my job" is often an excuse to be complacent with mediocrity
 
@JanDvorak I am, but it's stupid hard to obtain software engineering jobs without a degree.
 
The nazis were 'just doing their job'.
 
now that we're done picking on you, I have no clue why your selector isn't working.
@Trasiva that is false.
many people in the room have no degrees
myself included.
 
@rlemon My two years of unemployment post military said otherwise.
 
7:11 PM
<-
 
@Trasiva okay, and that sucks, but that doesn't mean it is hard to find a job without a degree in general.
 
well, once you have some experience under your belt the degree mean less.
 
just that you had some shitty luck
 
I don't even know how to spell degeree
 
dungeree
 
7:11 PM
diggerydo?
 
@rlemon It's probably more the area I'm in...college town, lots of comp sci kids, etc.
 
those are what you get from college, right? STDs and didgeridoos?
 
@Trasiva where are you from?
 
could be. Also government jobs or contractors can have strict requirements on degrees
 
Hey guys
 
7:12 PM
@rlemon Iowa.
 
I'm in a university town. in fact I live in the same city as the largest tech university in Canada
 
CIT
 
@Trasiva dammit, I was guessing India
 
Canadian Institute for Technology
 
Moose Tech
 
7:13 PM
@Luggage They sure do, Boeing wanted to hire me, but barely at living wages for the Baltimore/DC area without a degree.
 
<- Baltimore
 
Well, I never finished my degree, and I must say in the development world they care more about what you can do than what you have behind your name. Or I might just be lucky I don't know
 
MINNESOTA
 
<- Czech Republic
 
i went to caltech
 
7:13 PM
I live in Kitchener-waterloo, we have University of Waterloo, Laurier University, Conestoga College, and I'm pretty sure Mc Master opened up a campus here as well.
 
I got a McMasters degree.
Ronald U
 
@Luggage and now you make $15?
 
I got a degree in McDonalds Chicken McNuggets
 
!!wiki mcmaster university
 
McMaster University (commonly referred to as McMaster or Mac) is a public research university located in Hamilton, Ontario, Canada. The main campus is located on 121 hectares (300 acres) of land near the residential neighbourhoods of Ainslie Wood and Westdale, adjacent to Hamilton's Royal Botanical Gardens. The university operates six academic faculties: the DeGroote School of Business, Engineering, Health Sciences, Humanities, Social Science, and Science. It is a member of the U15, a group of research-intensive universities in Canada. The university bears the name of Honourable William McMaster...
 
7:15 PM
I earn a McPaycheck.
 
maybe it isn't them
 
To pay off your McLoans
And crushing McDebt
 
I know someone opened a campus for pharmaceutical stuff
ugly building
 
night
 
south harmon institute of technology
 
7:17 PM
@DanieClawson that ain't the McDebt that's crushing, it's those greasy cheeseburger eatin shitcopters
 
		for( let n of node.childNodes ) { // Uncaught TypeError: node.childNodes[Symbol.iterator] is not a functionrecurse @ (index):32window.onload @ (index):61
I thought we could use for...of on nodelists
still trying to figure out how the hell I can do this
 
you can't do shit on nodelists
 
@JoshLeBlanc mdn says otherwise
!!mdn for...of
 
why would there be a restriction?
 
7:19 PM
for(let n of [...node.childNodes]) {}
 
ugh
// Note: This will only work in platforms that have
// implemented NodeList.prototype[Symbol.iterator]
let articleParagraphs = document.querySelectorAll("article > p");

for (let paragraph of articleParagraphs) {
  paragraph.classList.add("read");
}
fuck you chrome, I'm really getting sick of your shit.
 
I'm pretty sure I've used for of on a nodelist...
 
is there a simple way to check if a url is using HTML5 mode or hashbang mode?
 
florian@debian:~$ cat /tmp/dpkgfs/sync
#!/bin/bash
echo foo
florian@debian:~$ /tmp/dpkgfs/sync
foo
@Zirak ^
 
@JanDvorak @rlemon Switched to Css classes, that fixed it.
 
7:20 PM
could use some regex I guess
 
@Trasiva \o/
 
@rlemon Cant you just add it in yourself?
 
you can use both the html5 history api AND a hash.
 
@Nick @ʞɔᴉN are you the same??
 
@rlemon Now to keep fixing this code so @JanDvorak doesn't give me a Chechnian Necktie
 
7:21 PM
@Rafee Yes. It's so he can troll while he trolls.
 
well.. pretty cool
 
No
 
No it's not.
 
oh so I'm stuck
 
6 mins ago, by Jan Dvorak
night
 
7:22 PM
I just want to compare if a user has changed angular route
 
NodeList.prototype[Symbol.iterator] = [][Symbol.iterator]
this is some bullshit that I have to add this
:(
 
but its kinda hard if there's different ways to change route
 
since starting with es6 I'm really losing faith in Chrome
:(
 
@rlemon you're losing faith. for them not supporting something that no one else supports yet either...
 
inb4 we all move to Edge
 
7:24 PM
just because the spec was finalized doesn't mean everyone instantly has a perfect implementation.
 
@DanieClawson pretty sure FF supports this
 
I dont even dev for ie anymore in github
 
@Luggage YES IT DOES
:D
 
remember chrome doesn't even support the syntax.
 
@rlemon Huh...fun fact. ASP .NET does put a span around CSS class checkboxes.
 
7:24 PM
@rlemon I'm almost sure I've used it without issue before... is experimental mode on?
 
@Nick yes
 
huh, strange.
 
omg, tell me this isn't webforms.
 
@Trasiva what is a CSS class checkbox?
 
7:25 PM
@ssube When you set a CSS class in an asp.net checkbox, it creates a span with that class in it, instead of putting it into the checkbox attributes.
<span class="ckbClass"><input id="ctl00_Main_gvCalc_ctl09_ckbRemove" type="checkbox" name="ctl00$Main$gvCalc$ctl09$ckbRemove"></span>
 
You're using webforms you poor bastard.
 
MDN says it was available at one point, but removed
 
Does anyone use babel watch compiling and have issues with it silently failing or putting out empty scripts?
 
ditch ASP.net
 
I don't get a choice.
 
7:26 PM
oh, you're fecked
 
you can always leave
 
just find a new job
 
I have to work in VS 2005, on .NET 2.0.5
 
How can you check the connection of a net.Socket?
 
I'm working on that...
 
7:27 PM
ASP.net is going the way of the dodo
 
Webforms: the leading cause of employees bringing a rifle to work and shooting everyone.
 
I have my resume out there, and I've two interviews next month.
 
I'm working on a port of an old oracle webforms project xD
 
.... or just build a beautiful castle out of whatever dirt ASP.net throws at you
 
yea, you can use it, but it's a pain.
 
7:28 PM
luckily with the newest .net
 
asp.net mvc isn't nearly as bad
still not my choice for a new project, but workable.
 
still not a SPA
dead on arrival
 
meh.
 
My work is using a bastardized mix of wcf and .net mvc and backbone
 
@Luggage by the same token, does Brainfuck count as "workable"?
 
7:29 PM
goddammit bash, why does (exit 3); echo $? work but not FOO=(exit 3); echo $FOO
 
razor is no brainfuck.
 
WCF sheesh, in a web app, lol
 
@JanDvorak Edge doesn't do what he wants either :(
Object doesn't support property or method 'Symbol.iterator'
 
it's a fairly straightforward c# template language, really.
 
@SuperUberDuper lol, yep, best part is its going to be hosted on client sites, not even on the web
 
7:30 PM
hey can we get this chat room to talk to us
lol
like talk out the chat
I want to feel closer to my friends over this window
 
text-to-speech? sure.
 
Sure, just parse it and run it thru t2s
 
@Luggage Pretty fast on that edit, haha.
 
I edit a lot, because I make a lot of typos.
 
7:31 PM
how?
 
I eat a lot, because I'm American
 
i eat a lot and workout a lot
 
@SuperUberDuper yea
hold on
 
@SuperUberDuper
Oops
 
@SuperUberDuper gist.github.com/rlemon/251237559c347561f0d7 paste that into your console.
 
7:31 PM
@SuperUberDuper I do the same, but old habits die hard.
 
@SuperUberDuper same except the second one
 
Much like The Church of Rome is ruled by the Vatican, The Church of America is ruled by the Fatican.
2
 
sheesh kebebs man
 
@ssube So who runs the Fatican? The Fope?
 
7:33 PM
mmm kebobs
 
mmm bob
 
lol thats amazing dude
 
thanks
 
Bookmarking that.
 
7:34 PM
thanks
 
have to dig through that awesomenesss @rlemon
mega lols
anyone else use this t2s thing
 
I'm using it right now.
It's amazing.
 
speech synthesis api, why, lmao
 
I feel so connected
 
Now if it could only detect your user name and make it sound like you were talking.
 
7:35 PM
wonder how much the speech synthesis api has cost the world in bandwidth from the added file size
 
is it coming from my mac or streamed?
 
browser
 
nothing on the network cool
 
@SterlingArcher rider was not expecting that, almost fell
 
hey room 17! Writing from window 10!
 
7:36 PM
what happens when code:
 
edge is truly amazing
 
Oh...dude, just make it a bookmark. The javascript should handle that.
 
You can extend node.js modules via es6, right? Eg: class CylonSocket extends net.Socket
 
Guys what are some cool things I can do with a jailbroken ipad?
 
"bugs": {
"url": "http://github.com/petkaantonov/bluebird/issues"
},
 
7:37 PM
Installing pokemon is already on my list of to-do
 
@SterlingArcher makes a great mousepad
 
  "bugs": {
    "url": "http://github.com/petkaantonov/bluebird/issues"
  },
 
you really need to fomrat code for the t2s
 
7:37 PM
@SterlingArcher use it as a frisbee
 
install android
 
fuck you guys lol
 
Okay...so now I have to figure out how to turn this off.
 
You can't
 
7:38 PM
loooool
 
Sure I can, watch me!
 
@SterlingArcher I don't swing that way, sorry
 
its in your cache bro, nothing can clear the cache
 
Boom, done.
 
(unplugs speakers)
 
7:38 PM
omg, does anyone have a good article on working with dates with JS?
 
@KendallFrey stop playing hard to get
 
@AaronHarding momentjs.com
 
beat me.
 
ahh, i kinda want to do more than momentjs though
 
@SterlingArcher stop playing to get hard
 
7:39 PM
i have a dates coming from a server
 
BUT THATS THE ENTIRE POINT
 
and i need to calculate where the client is in between them
so acounting for client timezones
 
@SterlingArcher no, the point is to get un-hard again
 
which is going over my head right now
 
7:40 PM
the guys on here are more fun than slack
 
momentjs works fine with timezones
 
if you need more than moment, you are on your own.
 
@KendallFrey we're come to an awkward point in our relationship
 
@Luggage cry
 
Weird, I normally come to other things
 
7:41 PM
@AaronHarding nulogy.com/articles/… maybe helpful
 
are you trying to incorporate general relativity or something?
 
@Luggage noo, just the distance between two times that the client would be in if they were in the same timezone as the server: a sunrise and a sunset
and display the time of these too
as javascript parses the date with the user's timezone which is crazy
 
does moment take into account past timezone settings in history?
 
well, everythign except knowing when the sun rises, moment can do
hmm. i think, check out that link i sent
 
i have the times of the sunrise
but it's coming from a server that's GMT+2
 
7:42 PM
Having some trouble. Trying to make a new window, then once I get a success I want to update that new windows URL. I create the window with var newWindow = $window.open('/orders', '_blank'); and when I get a success I am trying to update it with this newWindow.location('/purchase-orders/' + actionResult);, but the syntax is wrong. What is the proper syntax to update that new windows URL?
 
ideally it'd come from the server as GMT.
but.. anywho..
 
yeah, i'm using date_format(DateTime::createFromFormat("d m Y G:i", $value->date." ".$value->sunrise), "U");
and $sunrise_timestamp = intval(strtotime($server_time_offset, intval($sunrise_time))); to echo it out
 
JS dates may not account for all times in the past (especially leap seconds) but...
also, nothing before 1970
that's when time began.
 
@Austin window.location.replace?
 
7:44 PM
no $ for angular?
 
angular is bad
like forEach
 
@Nick is lodash for each bad?
 
@Luggage no, it's all in the future
 
wut??
forEach is bad??
 
Too many new people in the room today, I don't know what to do with myself
 
7:47 PM
@Nick cry
 
@Nick wank
 
@Crazy doesn't seem to like newWindow.location
 
@Austin in angular, can't you use $location?
 
@Crazy doesn't that tack onto the current window?
the error was, "Cannot assign to read only property 'replace' of [object Location]"
 
How do you construct an object that requires web sockets to be opened before being initialized?
 
7:52 PM
window.onload = () =>  Array.from(document.styleSheets).forEach(sheet => (sheet.disabled = true)); // tee hee
 
ahh I think I got it
 
PSA: unonebox your own gifs before the timeout please.
 
Or else.
 
I refuse
 
7:57 PM
@rlemon Just re-enable Cap's gif moving service and set it to 1:55 minutes
 
@MadaraUchiha I need to add it to the bot as a real plugin
I keep forgetting
maybe I'll do it now
who knows
 
RSA (@rlemon service announcement): Every time you see this, remember to add the gif moving plugin to @CapricaSix.
2
 
I'm feeling crazy today
 
There we go.
Sorted.
 
I was having fun writing es6
learning tonnes
 
7:58 PM
Someone service lemon already so we can get rid of that announcement.
 
Neat :)
 
RSA.pub (@rlemon secret access): asswordp
 
@SterlingArcher Just assword
 
asstastic
 
@SterlingArcher hunter2
 

« first day (1748 days earlier)      last day (3207 days later) »