« first day (2195 days earlier)      last day (2769 days later) » 

4:00 PM
@Luggage Good point. So does Scala. I guess that's the big difference.
 
@ndugger I remember using a style like that. It was fun for a while, then it just got kind of tedious.
 
@ssube I'm sure it will
 
@GregRos citation needed
 
That seems like it'd be hard to read if you're dyslexic
 
most or all whitespace in scala is not significant
 
4:00 PM
Too much whitespace to get lost in
 
My code is too superior for dyslexics
 
VIM + python = messed up whitespace :(
 
@MadaraUchiha let x = 5, y = 6
 
@Mosho Alright smartass
foo()
bar()
And if you say foo(), bar() Imma smack you when I get to the office./
 
@ssube It's not as significant as in python, but it is significant in some cases. You can search about it if you like. Or you can pretend I didn't say it.
 
4:02 PM
I can't stand grouping variable delcarations by comma delimited lists... just do a new declaration per line with a new let/const
 
set tabstop=4
set shiftwidth=4
set expandtab
 
@MadaraUchiha foo(), bar() Can't smack mkeeeeee!
 
@GregRos I have searched, because in our code it's not significant, and I can't find anything that says it is.
 
@Luggage set myfoot=inyourass
 
@Trasiva I can ban you though
 
4:03 PM
@MadaraUchiha Don't tempt me with a good time.
 
@MadaraUchiha they're*
 
@MadaraUchiha don't forget, you are assuming that those are syntax errors
 
> Trasiva: this user has been suspended for 45 minutes for being Jan.
 
@SterlingArcher :(
 
4:04 PM
@Mosho They aren't?
 
@MadaraUchiha no browser will tell you they are
 
@Mosho Sure, because they insert a semicolon
 
well, the second is most definitely not
 
Let me rephrase that
 
Shouldn't depend on the ASI
 
4:05 PM
If you replace the linebreak with a space, there would be a syntax error
 
without ASI, it's an error
 
!!s/(semi)/$1 in a /
 
@ndugger @Mosho Sure, because they insert a semi in a colon (source)
 
dank
 
Do you even minify
 
4:05 PM
ASI is like PHP automagically fixing things for you
 
If you had 'use no-asi', it would be a syntax error
 
it's literally the work of Satan: he sat down with the TC39 committee and added ASI.
 
@RoelvanUden Very nice! :) Here is mine: github.com/awalGarg/micro-require/blob/master/require.js (rest of the repo are just poor-man's tests which shouldn't be there). It emulates node's process object and does a couple other things too.
 
also eval()
 
eval is bad enough that it was probably Saddam, not Satan
> Hey Satan, why not add a way to run strings as code?
> But Saddam, that's just going to hurt people.
> Come on, buddy, it'll be fun! Evil is fun, call it `eval`!
2
and that's how eval came to be, according to the scripture as written by south park
 
4:08 PM
@MadaraUchiha space != linebreak
 
@Mosho When you "disable" ASI, it does, sure.
var x =
5;

console.log(x); // 5
 
Honestly if you're so concerned about asi performance, just set something up to add semicolons during your build
Like really
 
@Meredith You mean, a minifier, which is already there in 99% of builds
 
@Meredith why not add a dedicated button for them to all your developer's keyboards?
 
@MadaraUchiha Yeah that's exactly what I'm talking about
So what's the problem?
 
4:10 PM
a lack of discipline
 
^
ASI related bugs aren't that common, I'll give you that
 
@MadaraUchiha idk what that means
 
But when they happen, oh boy you're screwed.
 
it has been well established what the gotchas are with semicolons
 
@Mosho Stop trolling me, will you? Benji isn't here.
 
4:11 PM
as well as that a linter can solve 100% of them
 
@Mosho I'm not arguing.
The argument is that leaving the ASI to do its thing in production might result in performance overhead.
 
you don't know that
 
If you don't use a minifier
 
Which it might, because it's undeniably extra work, according to the specs.
 
> might result
 
4:12 PM
@MadaraUchiha wat
 
In which case, ASI is the least of your problems
 
I would bet a testicle that it's moot
 
@Meredith That's the "leaving the ASI to do its thing"
 
we do know, for a fact, that it could happen
 
@Mosho I would not bet a testicle on anything, really.
 
4:12 PM
usually ASI isn't a performance problem, it's just the developer being a lazy ass
 
because you're a pussy
 
@Mosho Just being real :D
 
@MadaraUchiha lefty is a slacker anyways. May as well free up room for the right.
 
In any case, even that claim is kinda pointless, given that you'll almost certainly have a minifier in production
 
@MadaraUchiha Just do it
 
4:13 PM
And the minifier normalizes your style
 
What do you have to lose?
 
@Meredith Well... a testicle.
 
@Meredith a ball
and you've only got two, so that's not a lot of fuckups
 
@MadaraUchiha Can you elaborate on that argument? I don't get it.
 
@MadaraUchiha nooooo baallllls
 
4:14 PM
Evolution gave us two for a reason
2
 
1 for each person
 
So we can ride motorcycles.
 
@AwalGarg ASI procedure is "parse normally, if there's a syntax error, backtrack, put a semicolon at the end of the last line, and try again"
 
@MadaraUchiha well, hang on. Most of the people who are too lazy to type semis and format their code well are also too lazy to have a build script and properly bundle their code.
 
That's objectively less efficient than "parse normally"
Even if it's negligible
 
4:15 PM
It's knowing adding unneeded overhead
 
(Hence the "might")
 
you're making the parse more complex for absolutely no reason
 
You gotta factor in the time it takes to hit the semicolon key
 
@ssube Well, it's a style decision
 
I can save so much time if I never type another semicolon again in my life
 
4:16 PM
I'd have to waste time backspacing out the semicolon I automatically insert myself.
 
If you have a linter and a minifier, anyway
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;
time
 
@MadaraUchiha I hate to inform you but you are theoretically correct :P
 
Hey, lets all stop using periods at the end of our sentences
 
guys can we do tabs vs. spaces next?
 
4:16 PM
I bet we could set up a test case to show the difference in parse time easily enough, if we get a long enough snippet to use.
 
i stopped using question marks a while ago
 
@Mosho stay in line
 
@Meredith did you
 
it won't be significant in real life, but if you've ever smashed a stack, you don't take chances with this shit
 
i shouldnt have to hit shift to use punctuation
what am i
a barbarian
 
4:17 PM
@Meredith amen
@Meredith yes
 
@Meredith what's your keyboard layout? :P
 
doesn't mean you have to be a shifty barbarian
 
@ssube did i ask you
 
you can be an honest, upfront, punctuation-without-the-shift-key type of barbarian
 
really/
 
4:18 PM
@Meredith technically you didn't ask anyone since you didn't use a ?
 
@ssube did i ask you
@towc american
 
@Meredith does america only join wars when we're asked
 
@Meredith where's your freedom now?
 
the answer is no, sometimes they have our oil and we have to go get it back, just like ASI
 
@ssube sometimes we like to wait a bit
sorry poland
 
4:19 PM
ASI supported invading Iraq
 
anybody know how to make the browser automatically select html text on click?
 
@ssube Canada joins wars because we're too polite to say no
 
I found setSelectionRange, but I think that's only for form elements?
 
anyway im going to go eat lunch now
 
Nahh works everything
@Shane
 
4:20 PM
see you later question mark losers
 
@rlemon ooh ya, we'll come join in a bit, eh
 
huh... ok
 
Tmk
 
I'll tinker some more in the debugger, wasn't seeing it for the paragraph tag
 
On mobile tho
@ssube shows up so who brought the all dressed?
 
4:21 PM
I still want to find some of those to try.
 
If you wanna spend $25 on some chips I can mail them.
 
tempting, honestly
I would just run up to Canada for a day, but it's getting cold and the passes will be blocked soon
 
Lol
It's like 21c out today
 
10c here. not quite the coldest it's been yet, but pretty close. Next week out to be the start of the cold proper.
 
Frost over night, but otherwise still T-shirt worthy
 
4:25 PM
17c here, still wore a polo shirt.
 
we've had a few frosts, I think, but mostly just leaves literally everywhere, miles high
 
I left my windows down when I ran home, my car's still got leaves coming out of places I didn't know they could go : /
 
81F here, because murica you celcicunts
 
@Trasiva there's one peaking out from under my hood, halfway down.
 
4:27 PM
How did it get that far and get under the hood?
 
@SterlingArcher I'll give you 5/7 for that.
 
Out my back window right now ^
 
@ssube Dude, I know. Leaves are like...worse than that aunt you just can't get to leave your place when she shows up unannounced.
 
Prepping for winter, pond looks like shit. But weather is nice.
 
@Loktar new Trump ad
 
4:28 PM
@rlemon Maters are about shot. Did you get an overall good haul from your garden this year?
 
nice bench @rlemon
assuming you made that
 
Yea. Those tomatoes I'm leaving. Frost killed the skins.
Let something eat them.
 
@SterlingArcher @rlemon can you gimp a combover on that?
 
I might have to steal that idea
 
@SterlingArcher She looks surprised, not sexually assaulted, lol.
 
4:29 PM
Peppers and beans were excellent crop as well as tomatoes. Potato crop sucked.
Cucumber as well.
 
Why are you not growing corn
 
@Shane yup. Single afternoon, $120 in lumber.
 
nice
 
@SterlingArcher because everybody else is
 
It's like 18 2*4s and some fence board.
 
4:30 PM
what did you use to join the slats?
 
@SterlingArcher I did.
@Shane screws, glue, and a nail gun
 
ah ok... yeah... I need to start using my nail gun
I have one, just never used it... which is pretty shameful
 
shaneful
 
The nail gun was for the seat boards and trim. Everything else was 3" deck screws and out door wood glue.
 
@KendallFrey thank you for reminding me of 4th grade
 
4:32 PM
lol
 
ah ok, cool
 
@rlemon Did you see that video of the japanese woodworkers shaving off 8 micron thick?
 
always wondered what the preferred approach was for layered fastening like that
I love that look, the slats...
wanted to do a hexagonal kinda thing like that
ugh... I need to work and shut the fuck up... back later
 
@Shane If you want to make it clean, get a pre-drill bit so you can counter sink the holes, then you can use wood putty to cover the screws.
 
cool yeah... I've used what do you call them... plugs?
that you sand down, but my drill press burnt out because it's crap and I couldn't do that anymore
don't buy a drill press from Harbor Freight
 
4:36 PM
@Trasiva I think, but it was a Russian dude doing Japanese style woodworking.
 
@Shane got a router
Cut small dados
Or just stack them like I did.
If you have a sled on your table saw you can use that too
 
Would anyone give me advice regarding Cordova on Windows UWP? When I put breakpoint on app.run injector everything loads correctly, when the breakpoint is missing i get unpr error.
.run(function ($ionicPlatform, $rootScope, $translate,
$timeout, $localstorage, $ionicHistory, $location, DatabaseService, ModeService) {
 
@SterlingArcher Pretty sure you could swap out street truck tacos with alcohol.
 
4:43 PM
Yeah, tbh, probs
 
@MadaraUchiha I read that earlier. What a clusterfuck.
 
what kind of monster has a red-and-tan theme on their phone?
 
Someone's who's colorblind?
 
4:47 PM
Moooooooooom, the internet is being weird again.
 
What a strange man
 
Sup peeps, I'm looking to make a simple application using webrtc, what libraries do you guys recommend using?
 
@RichardDunn Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@RichardDunn all of them
@KendallFrey what a beautiful man
 
Thanks, that sorts the sheep from the goats...
 
@Trasiva :O :D
 
@Trasiva have you seen the Evanescence one?
 
@ssube Not yet, no.
Watching it now.
Listening*
 
@RichardDunn no you want libraries not livestock
 
5:03 PM
@ssube God damn it, that ending.
 
@rlemon Quality books are bound in leather... :D
 
@ssube I wonder if he ever does smashmouth
@RichardDunn only when combined with rich mahogany furniture
 
I have leather-bound books on a cheap metal bookshelf.
 
@rlemon and the smell of pipe tobacco...
So nobody has any preference for a webrtc library? :S
 
I spent $300+ on brewing stuff yesterday, and that's not everything I need. ENough to get started on the mead and beer, though
 
5:07 PM
WebRTC isn't super big yet
 
@ndugger mostly the beer :D
I would brew beer if it wasn't so expensive to get started
kit beer is easy, I meant real beer ofc.
 
It wasn't bad. I just got a kit to make a stout, bought a large pot, and that's about it. Lady told me that for starting off, you don't need to get so intricate
 
@ssube aight, I start from the top shelf and read through 'em. D;
 
Yeah, if I really get into beer brewing, I'll go big
 
the kettle/chiller/seconadry pots add up
and if you need a burner and shit because you're one of those "gotta do it out doors" thats even more
mead/wine otoh, pot, carboy, filter?
done
 
5:10 PM
urgh, debian stable doesn't support either dmenu, rofi, or interrobang. Suggestions?
"use ubuntu" doesn't count
 
xubuntu
 
well played
 
@towc "doesn't support"? do you even debian, bro?
 
the packages are only available for unstable
and there must be a good reason for it
 
you won't use linux, but there isn't a good reason for that
 
5:13 PM
@towc kubuntu
 
not everything has a reason
 
@KendallFrey imgur.com/a/ZoWT4 god I love the KSP community
 
@ssube I am using linux
 
@ssube hoobastank does
 
@towc Do you actually assume that a good reason exists for everything in tech? You are in for a lot of surprises then :P
@towc just get the source, build tools and compile your own copy. I can give you a statically linked rofi ELF for Linux x64 Intel if you want and trust.
 
5:16 PM
if something hasn't been ported to stable, there likely is a reason
if there's still a good enough alternative, I prefer to look for that instead
 
@towc lazy
sure there is always a reason, whether or not it is a good reason or makes any difference is the point
 
Joyent's reasons were because they were retahdehd
 
Hypothesis: In a culture of AIs, "Eval!" would be a curse word https://twitter.com/sl2c/status/788759380476895234
 
Eval Christ
Eval Dammit
 
Eval KniEval
 
5:22 PM
Evailty evaled eval eval
 
Oh. My. Fucking. God.
This widget I'm integrating has the support system of fucking IE7
And no console tools.
 
sounds fun
 
@rlemon that doesn't mean it's never a good reason, and when it comes to what I understand and what they understand, they're going to have much better reasons than mine
 
@SterlingArcher welcome to what front end was in the early days.
@towc you're assuming WAY too much
if you really want to know, ask them.
 
I shall
where do I even start? The testers, the debian developers, or the dmenu ones?
I don't even really know the cycle
 
5:28 PM
@KendallFrey smh
parcel from China, two weeks early.
parcel from CANADA POST, late
China mail > Canada post
 
I've ordered from China twice, and it's always delivered early
 
my last order was 4 months
 
@rlemon Your welder?
 
no
that was from Canada
:P
got some leds
 
5:36 PM
guys :| I don't get how to do something
 
look it up
 
Is that a joke, @corvid?
 
can't find it anywhere. I think it should be really easy. Just lots of variables make it annoying
 
Jiggle the handle.
 
I hate all those variables in that thing. They're the worst.
 
5:41 PM
Jiggle the Juggalo
 
yissssss
soil moisture sensor works
 
@ndugger they do that on their own
 
juggalos jiggle on their own, haven't you ever seen one?
 
Juggalos jiggle their jugs while jiggering a jiggerable jiggle on juggalo jiggers
> jiggers
I think I just found a new slur for juggalos
 
Fortunately, we don't discuss juggalos very often.
 
5:44 PM
(awaits someone to change the room description to something about juggalos)
 
I hope there is a timeout on that promise.
 
Okay I figured out the thing, wasn't terribly hard
 
Congrats. You just did your job. :)
Job Description: Figure out things.
 
I almost wish you'd just go back to Meteor. At least that way your questions might actually have context.
 
what do you think I am, some kind of engineer? (checks contract)... oh...
Meteor was easy. Usually the answer was, "you can't, use a real framework"
 
5:47 PM
Yea, but at least you asked real questions.
 
11 mins ago, by corvid
guys :| I don't get how to do something
 
That's not a question, it has no context.
 
^^ That was kick-worthy, nearly.
 
if I didn't know corvid wasn't actually a vamp (mostly), I would've
 
how do you add two jquery variables?
 
5:48 PM
this problem was just horizontally aligning several absolutely positioned elements in the DOM relative to a specific point (eg, align all the text centered relative to each other)
 
but that's way too dumb to not be intentional :P
 
I..what?!
 
@corvid oh, that's ugly
 
Did...did Dugger just sarcastically evoke a jquery question from his pickle ticklers?
 
I prefer to call them juggalo jigglers
 
5:50 PM
yeah, it's super bad, there is almost certainly a much better way to do it than the way I did it
 
Probably, but at least with that one we coulda laughed and said it sucks to be you.
 
I had a codepen ready, but I figured it out before posting it to chat :| usually if it's a real problem it's super easy to make a reproducable example in React
 
I would just tell the design team to use a PDF if they want the damn text to line up
 
That's what I do.
 
@corvid flexbox
 
5:53 PM
@ndugger CSS devs were tired of being asked if they lift.
 
if they lift their boxes?
 
@ndugger Not sure how well that will work in this specific use case (and I actually know flexbox). I am using react-draggable, and need to update the position manually
 
Bro, do you even lift?
 
@corvid ah, that would be weird
 
manually centered?
 
5:54 PM
@rlemon hang is not working
is something wrong?
 
He means with @CapricaSix, @rlemon
 
it's really just about doing the math to find the correct "pivot point" for each element
 
user1596138
!!hang ColdFire
 
!!info hang
 
@MadaraUchiha Command hang, created by God
 
user1596138
5:55 PM
Wait that's not even how it works
 
!!refresh
!!hang
 
see its not working
 
and I still haven't found a great way to save references to nodes in React :\
 
odd, no errors.
 
then just stick with the right way
 
5:56 PM
@corvid A WeakMap, perhaps?
 
@corvid you shouldn't
they sometimes go away and get recreated
 
They shouldn't, if you use keys properly.
 
@Luggage can you explain what you mean by that? Might be useful
 
@ColdFire the service that returns the random words is down
 
key={"something unique for this component/element"}
 
5:58 PM
right now I pass a function to the child that is run on componentDidMount and componentWillUnmount
 
feel free to make an issue on github
 
@Luggage right, but then how do you access a component by that key?
 
@rlemon ohhh i see thanks
 
For better error reporting at least
 
@Luggage I thought there was no guarantee about that, that all lifecycle was handled by react.
 
5:59 PM
@ssube That works until your design team says that's a great idea, and make it work on the webpage, and then convert the webpage to a PDF on demand.
 
the lifecycle is handled by react, but it's consistent, and keys help react know your intentions
 

« first day (2195 days earlier)      last day (2769 days later) »