« first day (2067 days earlier)      last day (2882 days later) » 

3:00 PM
oooh that's why I cant cc @kendall
 
Sorry... Xe?
 
> the 1998 ice storms in Quebec
why do we Canada again?
 
That sounds like someone's testing Poe's law
fuck yeah canada
 
having Canada seems like tempting fate
 
@ssube bear with me, my phone doesn't get good SMS signal at my office
 
3:03 PM
@SterlingArcher until I hear otherwise, I'm assuming you mean hotdog and a hallway situations
 
Canada is the best ada
 
So my brothers office (Amazon) is starting a "bring your dogs to work everyday" policy, that requires dogs to get their own emails and badges for doors. So he's going to bring his chihuahua to the office xD
 
"requires dogs to get their own emails" this world is officially fucking insane
 
This is the same man who has a baller C63 AMG with the license place "Chuwawa"
 
@SterlingArcher aw man, I forgot to tell you about my random saturday race
dropped my gf at work cause we went to a show the night before and was getting on the highway
pulled up at a light two blocks from the ramp and some dude in a debadged hatchback audi was blasting shitty edm next to me
 
3:06 PM
Hatchback audi? That thing must have been old, they stopped making those years ago
 
so I turned up my good edm and passed him when the light changed, assuming it was an A3 or some shit
 
Probably an old A3, yeah
 
my rear mirror quickly confirmed it was not an A series
 
Really?
 
I didn't launch well or keep accelerating, but he caught up. It was not an A.
 
3:08 PM
Oh wow, I just googled, they're bringing the hatchback back. There's '16 A3 sportback coming out
 
> hatchback back
baby got back
 
omg was is an RS3 sportback? Those things are sick
 
@SterlingArcher maybe? same shape
so that was the ramp we took
I was briefly in a four wheel slide
hit the freeway at over 100 and then lost him
I got a small lead around the turn, that's the only reason it wasn't neck and neck on the freeway
 
Damn lol I was playing with an S4 on the way to work today, until I realized it was a stage 2 and it blew me away
 
I'm still not sure if this was an A3 with a stage 2 or an older S4
it was pretty curvy, which suggests older, and arrest-me-red
 
3:17 PM
They changed the grills after 2008, check out an 08 S4 vs a 2010
@VeronicaDeane
@ssube text finally sent
 
I didn't get a good look at the grill. My only rear mirror glance was just before half-sliding around the corner
 
@SterlingArcher Don't mind if I do
 
I would own that username so hard if I had it lol
 
@SterlingArcher yeah that's what I thought
 
What's your email? Fingerme.
!!afk walkies
 
3:22 PM
React question: if you make a third party library that needs to access componentDidMount or componentWillUnmount on a component that it's used with, how do you access it correctly?
 
@corvid just define (de)init methods for the component to call?
 
I am not sure what you mean by that. So if I have a function that is passed the component, it can just call componentDidMount? What happens if the user calls that in their component?
 
@corvid when some instance needs deferred initialization or early destruction, I like to make those public (or friend) methods and let the parent worry about calling them.
it means, among other things, that you can test the init code later
-1
A: What order should I learn programming languages?

Nique JoeSince you have basics on html and css Next step could be: Php for connections and database and backend work, javascript for front end and you can even do jQuery after.

 
!!afk going to see a man about a horse shaped potato
 
3:33 PM
Oh okay. I have a class which needs to add an event listener to window resize, and remove that event listener after the dom element was destroyed
 
Why remove event listeners from non-existent elements?
 
... the window will still exist.
 
Because then the event will still be on the window, not the element
 
if the class has dependencies for initialization, you should have methods to start/stop it
 
Oh. I was confused by "the dom element". Surely you meant "a certain dom element"?
 
3:36 PM
lol, I forgot the licenses for our current CI server were expiring and almost didn't replace them
everybody would have come in tomorrow to find out builds wouldn't run
 
Well, here's the basic use case: I want to create a boiler plate class around Three.js that will just start up the scene and handle the events like visibility of the element being lost, window being resized, WebGL compatibility issues, etc.
 
cute
 
@SterlingArcher I mean, they're right.
it'd be fucking hard to do my job on a mac
 
I love mac, but my job would be harder on a mac as well
in my experience, windows runs VMs smoother
 
3:39 PM
a million times smoother, plus you can get a windows machine with 2-4x the hardware of a nice mbp
 
However, I have 3 windows machines, 2 macs and a linux at work so they're all good for something
 
@SterlingArcher These aren't real are they?
 
@VeronicaDeane lol doubt it
Macs are shockingly good at serial port connections. no driver installations like windows and ubuntu
Plug and play son
 
Using Mac for work is like using your prom dress to do shopping.
 
huh, MBPs still max out at 16GB of mem
 
3:40 PM
@SterlingArcher I want one of those
 
how do they expect anybody to do stuff on that?
 
@ssube works perfect with node and mongo inserting ~3000 records a minute persistantly
I'm up to 3.5 million records and growing... ugh. So much data
 
I can wash dishes in a prom dress, too. As long as nobody's recording and somebody pays the dress (and my salary)
 
@SterlingArcher bro
 
Hey for a 1000 line program/device it's pretty efficient
I want to use websockets though.. syncing a front end count down with a back-end interval is wonky
There's always a ~2 second offset
 
3:43 PM
fudge that :-D
 
Well, actually let's see if y'all know a better way
my function waterfall runs on a 2 minute interval, and posts to my node rest service. My front end pings the server every 5 seconds for change, and if it sees a change, it refreshes the timer
That yields about a 2 second delay in refresh
 
I was disputing the "so much data" part of that statement
 
If I move to WS, I can remove the 5 second ping and make it real time
 
3.5m records is what you seed a database with for integration tests
 
@ssube most data i've ever worked with lol
 
3:45 PM
tools_teamcity=# SELECT COUNT(*) FROM test_info;
  count
----------
  24765738
 
@VeronicaDeane omg the comments imgur.com/gallery/GI7y4
WELL GOOD ON YOU
 
that table used to be 60m until we cleaned up some jobs
postgres has yet to have any problems at all, which is cool
 
In my defense, there's about 10 mil of deleted test data I don't need anymore
 
sixty meter table? O_O
 
@SterlingArcher which you know mongo isn't cleaning up
@JanDvorak 60 million rows of test results
 
3:47 PM
> Was every high 5 you gave a lie?
 
we keep 2 weeks of test results from CI builds
 
@ssube well, I mean it's indexed.. manually atm..
@FlorianMargaine I love it haha
 
@SterlingArcher so many good ones
 
CSS issue! Can anyone explain this? Overflow-x:hidden is causing the y overflow to be hidden: jsfiddle.net/38m4u587
 
3:47 PM
@SterlingArcher ⁵
 
> I think I'd be more interested in your new gloves.
 
> Are you counting in octal numbers?
hahaha
 
So.. if you downvote an answer, and the answer gets deleted, you gain your rep back?
 
@littlepootis yes
 
@SterlingArcher ah, thanks
 
3:49 PM
no problemo
 
s/proble/ho/
 
!!afk WTF, just got what should be a five day task...and has to be done by COB. FUCK FUCK FUUUUUUUUUUUUUUUUUUUUUUUUU
 
dang that sucks
 
close of business
aka end of the day
 
3:51 PM
oh
fun
 
user1596138
 
I just realized that corn is nature's dildo
 
user1596138
lol such a awkward position
 
@Josiah Why is her foot near his crotch?
 
user1596138
3:55 PM
That's what I was thkning
 
user1596138
It stays there for a few minutes
 
elon musk says we're in a simulation
 
user1596138
Different video. And he never said that lol
 
user1596138
Her leg is there the entire time lol he looks so awkward about it
 
user1596138
3:57 PM
Every time he moves - "Shit my balls on her leg.."
 
xbox one is going to be 4k capable soon
 
so this was a convo we just had at work
4
 
[10:54]
"how to find daughters on tinder"
 
it's a nice free-form search history story of a very sad life
 
4:17 PM
howdy folks
i'm trying to get the value of a promise synchronously. I tried but I cannot seem to get the resolved value: codepaste.net/cknv3z
what's the correct way to save the value of a promise?
 
2082
Q: How do I return the response from an asynchronous call?

Felix KlingI have a function foo which makes an Ajax request. How can I return the response from foo? I tried to return the value from the success callback as well as assigning the response to a local variable inside the function and return that one, but none of those ways actually return the response. fu...

you can't switch from async code back to sync code
once you've started making promises, you're stuck resolving them
 
or rejecting them (oh the irony)
 
@ssube ah okay, thx for the info
 
@ton.yeung Having someone's password makes you, for all intents and purposes, that person. That's why no one ever gets my password.
 
4:28 PM
I'm terrible at password reuse
 
@VeronicaDeane make up a system
I like the prefix-product-suffix-number system
so like pwSTACKmagic01 for your first SO account
it's a high entropy mnemonic of sorts
 
My i-use-it-for-every-site-that-i-can't-be-arsed-to-remember-a-password-for got leaked, so I've gotten a bunch of emails from random websites saying someone else logged in.
@ssube I have a system for "important" accounts
 
I've been using one forever, but it's starting to fail (the next PW is too similar for sites that require you to rotate stuff), so I'm going to be moving to one with words instead of bits.
like what rundeck uses
 
correct horse battery staple?
 
they swap numbers for words, but for passwords, it would be a prefix-(site name swapped for mnemonic word)-suffix-(counter swapped for word) sort of deal
so you'd have a list of #2 and #4 words, then pick the one for S and the one for 1, slap it all together with some caps or punctuation
 
4:35 PM
/me uses LastPass
"What's your mother's maiden name?"
"3R*db^HDNXfDAtu31^qjJfDuN"
"uh, yes"
 
@SomeKittens which has been hacked and has fairly frequent bugs and outages
I paid for the permanent sub to them, but it's been so broken since they were bought out that I'm moving to keepass
 
4:49 PM
I use my own memory
 
Well thank you for not using mine
 
@SomeKittens My mom is Polish so her maiden name looks something like that
 
How do you know I'm not?
 
@Meredith haha, just use a Polish directory of last names for passwords
 
The new Forza looks awesome, per usual
FF15? pls
 
4:55 PM
Hi Guys
 
@TaimurAyaz 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.
 
Just a simple question
I have
What programming languages should a person know to develop backends
?
 
Erlang
 
FF15 looks like a japanese God of War
 
@VeronicaDeane it's baaaaaack
 
4:57 PM
:D
^ my actual face
 
@TaimurAyaz it's less about backends and more about backwards now.
 
Is nobody else watching E3?
 
@ssube oO?
 
no
 
@TaimurAyaz proctology.js
 
4:59 PM
@Meredith I wouldn't expect a yes from you
 
@TaimurAyaz You want a language that's horizontally isometric.
 
I used to play games once upon a time
 
I want to hire people for my project
 
I don't even play games, but I do still get hyped by them. It's been a long time since I've seriously played games.
 
you're an idea man?
 
5:00 PM
I want to hire projects for my people
 
@TaimurAyaz Find people who can write code that looks (and runs, of course) the same backward and forward.
 
Btw guys i have a great idea for an app
 
@Meredith no
 
oka
 
I want to people projects for my hire
 
5:00 PM
Sign this nda and I'll tell you
 
@Meredith are you offering profit sharing once the startup succeeds?
 
Yes
And $200 upfront
 
nice!
 
that's not a bad deal
I'd sign an NDA for $200
 
Is it $200 in coupons?
 
5:02 PM
Yeah $200 value
 
Whoo, Battlefield going to WWI
 
CAD
 
looks amazing
 
5:07 PM
Anyone know in jquery how to tell if the user came from your website internally? I have a loading animation that I only want shown when the person comes in only from external sites.
 
Ew, they're talking about minecraft
 
@Tarson you can check the referrer but that can be spoofed
 
document.referrer
It's odd to me for that to be stored on document
 
5:09 PM
@ndugger they didn't think about having a "request that caused this page to load" class back then
 
window.headers would make sense
or literally just window.request
 
ok, ill try it out
Also if anyone wants to give me feedback on the searchbar, please do tarsonpools.ryantarson.com
 
Oh great, a fake loading bar that wastes my time... awesome...
 
your loading animation, if not used to actually load anything, is too long
 
Search bar makes me think of bing... no thanks
 
5:12 PM
generally speaking pointless animations > 200ms are going to piss people off
 
It's not fake.
 
Sure it isn't
 
@rlemon I guess that sets a new time limit for auto-unboxing animated gifs
 
@Tarson that entire page could fit on one 1080 screen if you got rid of all the bullshit padding
 
@JanDvorak sure, it's called go away
 
5:14 PM
@ssube I don't follow
 
@JanDvorak You are the least fun person I have ever met.
 
@rlemon Sure. Just point me to the correct Javascript room.
 
@Tarson without the horrible giant image header and incredible amount of padding between tiles, that whole thing would fit on one (maybe two) screens
 
How do you do, fellow kids?
 
@VeronicaDeane did you just call me unfunny because I tried to make a joke?
 
5:16 PM
Jan there is never going to be a pissing contest, people don't like it when you constantly correct them, and you continue to do it. stop being a prick about it when you get called out. Please stop being butthurt and move on.
 
@ssube It's a design, also it's a lot easier to read
 
Some people actually like being corrected. Have you asked them?
 
@Tarson it's taking a decent design and going overboard
 
@JanDvorak That was supposed to be a joke?
 
Besides, whom have I corrected now?
 
5:17 PM
you haven't, you've been a little child lately because you think I have some vendetta against you. Just stop being annoying when asked.
 
you're*
 
@ndugger sweer to gawd m8
 
In my point of view you're the one annoyed at me for ... making a crappy joke that nobody realised was meant as such?
 
Flappy Bird coming to xbox one
 
5:19 PM
fuck
 
@ndugger in 4K?
 
5k
 
16k
 
MS leaked their new 4K capable xbone
 
!!wiki xbone
 
5:20 PM
The Xbox One is a home video game console developed by Microsoft. Announced on May 21, 2013, it is the successor to the Xbox 360 and the third console in the Xbox family, and was released on November 22, 2013 in North America, Europe (in some countries), Australia and Brazil, September 2, 2014 for other Europe countries, September 4, 2014 in Japan, and September 29, 2014 for China. It competes with Sony's PlayStation 4 and Nintendo's Wii U as part of the eighth generation of video game consoles. It is the first Xbox game console to be released in China, specifically in the Shanghai Free-Trade Zone...
 
Weird abbreviation...
 
xbox, xb360, ps3, ps4, xbone, etc
it fits the pattern and has "bone" in the name which makes it funny
 
inb4 xBox ox
 
@rlemon Just slim, not 4k. It says it can stream 4k video, but it doesn't do 4k gaming. That's a separate rumoured project.
 
flappy bird can't be that demanding
 
5:24 PM
you need real hardware to do 4k
and I have a better graphics card than either console
 
no amount of virtual hardware will suffice?
 
@VeronicaDeane what was hitler's favorite font?
Heilvetica
:D
 
(n)
 
@rlemon If I reload the page it doesn't seem to grab the last URL. for the document.referrer
 
Dead Rising 4... interesting
 
5:33 PM
@Tarson there are lots of questions on SO dealing with this
you cannot be 100% for sure where traffic is coming from, so don't make that critical. also your forced 650ms minimum animation is too long :P
 
@Tarson that's because there isn't one
 
renamed OSX to macOS.. meh.
 
Oh good lord...
> import React from '../../../../../../../dependencies/node_modules/react';
 
5:39 PM
> very... disappointing
 
> such... relative
 
that path is so relative it could marry itself in Alabama
 
microsoft bought linkedin... I can't find the "delete account" button on my linkedin dashboard :( only piles of notification from the time I signed up
 
it's cute that you think your data is ever actually deleted
 
@AwalGarg don't worry, nobody looks at your linkedin
 
5:42 PM
that's quite apparent, but I just don't even want to see all the "mandatory notifification" spam from them which ms forces on all their users of each and every product
 
document.referrer.toString().split(location.host) is giving me just http://,/single.html
 
anyone familiar with Stripe?
i have a knockoutjs viewmodel/partial view that i'm trying to bind stripe stuff to
 
@Tarson did you check on SO?
 
in my viewmodel initialize i have var cardNumber = $("#card-number"); cardNumber.payment('formatCardNumber'); but I'm not getting the auto formatting when typing
 
@rlemon Well for the referrer if a person is clicks and I make the animation an actual loading animation then I don't see if it's a problem, if they reload its not a big deal if that appears. I just don't want a user to see that every time they click a link on the nav bar... But no I didn't check SO for .toString().split(location.host)
 
5:50 PM
@Tarson then don't show a loading bar based on the referrer. Show it based on something that actually matters to loading.
like, whether you're loading resources or nah
 
^
currently you wait for .onload then force a almost 1 second long animation to complete
that is not great U X
if you're really concerned, pull in the video after the page has loaded and show a loading animation in place of the video, not the entire page
 
@ssube That bar is more of like a welcome bar. So a person only sees it when they first enter the site
 
I'm definitely not an RTS guy, but halo Wars 2 looks decent.
 
@Tarson which would be super annoying if I ever bounce off your site and back
loading bars when faked are super annoying
 
@Tarson what does the bar actually represent?
 
5:52 PM
@Tarson the toString() part is not required here, and document.referrer is mostly unreliable. what are you trying to do exactly?
 
if my cache has your content, don't make me wait any time
@ssube window.onload + 650ms to complete
I checked the code when he first asked about it
 
@Tarson set a localStorage key when the user visits. check if the key is present or not on further visits
 
I 100% agree that animations on the web should be limited to 200ms
 
@rlemon Yeah, I understand that, but if I make it so it does actually represent loading then prob wouldn't be bad.
 
React.render()
 
5:54 PM
@Tarson if you made it properly represent loading, then it would be useful and automatically not show up on local links
because the cache would be primed and no loading would happen
 
@Tarson like I said, I wouldn't block out the page.. load the page normally (i.e. don't block anything) then ajax in the video and show the loading animation as the video background
 
forcing the user to sit through a fake bar will just lead to them closing the tab before it completes
 
then it isn't intrusive, and if the one large file takes a bit to load, the users don't feel it because the site is already responsive
 
> React.render(): If the ReactElement was previously rendered into container, this will perform an update on it and only mutate the DOM as necessary to reflect the latest React component.
 
@rlemon They video uses YT.MB Player API which would require probably customization to the API
 
5:55 PM
not really, if the API doesn't tell you when canplaythrough is there, it is a crap api
and I know it does allow that
so yea
 
@rlemon I'm gonna make it an actually load animation, and if it's to fast I may resort to a logo load animation.
 
also, with that in mind, you shouldn't use youtube for a banner video like that :/ what if the video is taken down or changed
 
@Tarson how can your loading be "too fast?"
wait 50-100ms to show the loading animation, if the page loads before then, hooray everything is awesome and you don't need a fake loading bar
 
@ssube if its too fast the animation will look like shit or on slower computer may shit the bed
 
at this point, you just have a loading bar for the sake of having a loading bar
 
5:58 PM
MS just dropped the bombshell that is Project Scorpio -- 4k XBOX (Coming Holidays 2017)
 
@Tarson seriously, most users don't like watching loading animations, even if you do and have a fancy one in mind. a blurry fast animation or no animation is better user experience over a laggy or too long animation
if you do not want to take our word, head over to ux.stackexchange.com and ask them
or check the posts already on the subject
 

« first day (2067 days earlier)      last day (2882 days later) »