« first day (2054 days earlier)      last day (2893 days later) » 

10:00 PM
@Megaplex It's a codepen.. It's an example of MB.YT Player API lol I cant just change it to a static image cause then it wont be a MB.YT Player API Example
 
Another wordpress plugin, why do you need a wordpress plugin for that crap when you can already handle it natively with HTML and JS?
 
@Megaplex Who said anything about WP plugin. That's pure html and js
 
No, that's jQuery. That's almost worst.
 
uh, wurt
 
@Megaplex jQuery, JS, whatev.. No it's not
 
10:04 PM
@Megaplex you sound like someone with a lot of opinions but no experience to back 'em up
try coding instead of parroting
 
@SomeKittens Why would you want to use jq today? I can handle 90% of jquery in javascript without all that additional overhead with querySelectorAll for element manipulation.
 
whew.. almost out of that hell hole. Today was my last day, but I'm goin in Friday to help out.
 
@Luggage congrats!
 
ty.
 
@Luggage Awful nice of you.
 
10:06 PM
you're getting paid for Friday, right?
 
@Megaplex You do kno jquery is an api, it uses JS
 
I am getting paid through the end of the week, which might mean they call me a few times :(
 
@Luggage oh nice, so paid (almost) vacation
 
but also, I signed a contract to do the work I want to instead of the shit I am doing now, so I don't even care about the few days pay
 
My bros wedding is on the weekend. So I'm off Friday till Sunday doing that crap. I hate weddings.
 
10:07 PM
free food and drink ?
 
depends on the wedding
 
So far I've spent $1500
 
o.O
 
Sorry to jump in with my question, but does anyone know of any free software that is like codepen but supports files on your computer?
 
Not that I'm complaining about the money, just not like I'm banking in the food
 
10:08 PM
@Tarson Yes, it's an API that's built on JS. It came around thanks to the fact that manipulating the DOM with older JS was awful. Short of actually having to maintain projects in JQ, there's no real justifiable reason to continue to utilize jq today.
 
we only spend for the gifts. Usually the bride/groom and their parents does the finances
 
@Polygon chrome
 
@rlemon on what?
 
^^
 
what do you mean?
Does chrome have a text editor?
 
10:09 PM
@Megaplex Well, the fact that many people use JQ yes it will still be continue utilized...
 
@BadgerCat rooms, tuxes, the bachelor party, etc.
 
I know you can change the webpage on chrome, but it's temporary.
 
Ah, so like an online editor that can edit files on your computer? i doubt it,
 
I'm paying for his sons tux and stuff as well.
 
@Tarson he's just a guy on the internet who likes to shout parroted opinions. No need to pay attention to him.
 
10:10 PM
but maybe there is.
 
I don't think I'm going to be able to reason with a guy who justified $75 for a $15 swag item. I'm out.
 
@Polygon chrome + editor + live reload
 
@Polygon silly question: Why not spin up a simple HTTP server?
 
@SomeKittens And if I told you I was Trasiva?
 
Oh.
So like with Brackets
 
10:10 PM
I want all of you in my wedding, I hope it's not expensive
 
@SomeKittens I guess so, all he did was complain about my codepen that had a yt video background and the pen was MB.YT Player Example
 
@Megaplex my opinion of Travisa would drop
 
Meh, it's quitting time.
 
@Megaplex You like JS so much yet everyone here dislikes you
 
Let's not start this
 
10:12 PM
!!afk 1 bourbon, 1 scotch, 1 beer. Rinse and repeat until horizontal.
 
Don't be mean
 
@BadgerCat Since you're in germany, I wouldn't have problems to travel to there. Canada however ...
 
@rlemon lol
 
@Megaplex wouldn't be surprised
 
@KarelG banned from Canada? What'd you do, steal a Mountie's horse? Beat 'em at hockey?
 
10:16 PM
i'm not banned from there. But retrieving a visa isn't easy. Had problems when visiting USA before. The detachee at the embassy said that it's pretty common if you want to visit the continent America
 
Plus why would you voluntarily go to canada
 
Should i visit florida instead?
 
@KarelG LOL NOPE
 
@KarelG Can you make it to Mexico?
 
You should come to Fest in october
 
10:17 PM
@BadgerCat Should I really check that?
 
@Meredith yes
everyone come
 
@KarelG yeah
 
gotcha check the government site then. brb
 
in the "enter your phone number" category, this one was pretty good twitter.com/arrayjam/status/722839000373800961
 
lol, half of Mexico got advised as "not safe to visit"
 
10:21 PM
no surprise
 
@KarelG It will be in Cancun
 
Is tijuana considered safe?
 
Cancun is always safe to visit
 
yeah, the criminality is a problem there. And there is a warning about Zika virus
> No permission for: Baja California (Tijuana), Sonora, Chihuahua (Ciudad Juarez en Chihuahua-Stad), Coahuila, Nuevo León, Sinaloa, Michoacán (Morelia), Guerrero (Acapulco) en Durango; Tamaulipas en Veracruz (het noorden en noordwesten) also: Zacatecas en San Luis Potosi and the state Mexico (Mexico Stad).
 
So no cock fighting or donkey shows then
Bummer
 
10:23 PM
@KarelG No permission?
 
Cancun is in Yucatan which isn't in the list
 
there's a city called "chihuahua" in Mexico?
hehehe
 
yes.
 
Yeah, so you can come
 
10:24 PM
you didn't know that?
 
I did not
 
@FlorianMargaine that's where the dog got the name from
 
^--
 
@BadgerCat poor city
 
beverly hills chihuahua
 
10:24 PM
they could've chosen a better dog than the rats
 
I'm after beers and no water in the apartment
Tomorrow's gonna be fun, especially since I need to wake up early.
 
@MadaraUchiha what are you doing?
 
@MadaraUchiha isn't it like 2am?
 
hah, there's a place in france called 'burgundy'?! like the wine? :)
 
@FlorianMargaine 1:25 here
 
10:25 PM
ok
 
@BadgerCat Developing a feature we sold and haven't written yet, essentially.
 
have fun :)
 
@BadgerCat when does it happen ?
or is it something for the future?
 
@KarelG no idea, you have to ask copy
 
10:28 PM
cc @copy
;)
 
But if he doesn't propose in 2 years, I will propose
 
it's best to grade first imo
 
our families are meeting next week
for the first time
I'm so nervous/excited
 
which language will they speak?
 
JavaScript, duh
 
10:32 PM
@FlorianMargaine English, or they won't do it on SO chat!
 
@FlorianMargaine my parents can only speak Spanish
and his parents speak very little English
so... I will translate
At least I have some control over the situation
 
@BadgerCat wait, you're engaged?
 
o wait.
you're mexican?
 
yeah
 
10:39 PM
I finished the pen entirely, have a look if you want codepen.io/RTarson/full/VaoLBp
It's not just a loader icon you have to wait for the 4k video to load
 
I hope no one opens that on mobile
 
so much fun being told to rewrite your code to be "standards compliant" when you're deleting the code in a week anyways since it's a one-time job
 
@Meredith When in mobile it puts a static image
 
@BadgerCat exchange student in germany ?
 
Ok good
 
10:41 PM
@KarelG Hmm... exchange would be for one semester, wouldn't it?
 
you can do that for a year too
 
I'm doing my whole Masters here
 
Note to self, don't work at MS
 
so true
 
@BadgerCat do you know some german already?
Ich spreche eine bisschen Deutsch.
I hab keinen wiederholung
 
10:47 PM
flagged. j/k :)
 
@KarelG ja klar, eigentlich spreche ich mit copy nur Deutsch
 
you have at least practice
my german is rusty due lack of practice
 
yeah, but it took me very long to start speaking it
I was so scared to make mistakes
 
it has a very difficult pronouncing
 
and very difficult grammar
 
10:49 PM
For me not since there are plenty similarities with Dutch
still, it has lots of Die/der/das/...
i just give up and use "die"
 
Oh, I'm going to the Netherlands next Monday
 
going to meet @PeeHaa?
 
you need to poke PeeHaa or Cerbrus
 
I've already met him
But I'm going to pick my parents up from the airport, so I don't think I can meet them this time
 
and once was enough for a lifetime?
 
10:51 PM
And Cerberus isn't in Amsterdam anyway
 
I still plan to show up at Florian's house unannounced one day.
 
And he never wants to meet me
@Luggage me too
 
and ask to crash on his couch
 
Didn't he reject Raynos once?
 
@Luggage good luck, I couldn't find my house the first time I came to visit (the GPS didn't bring me to the right street)
 
10:52 PM
And there's a baby
 
@BadgerCat uh?
 
how is Robin doing?
 
pretty good
hasn't been sick in a couple of months, feels good
 
%s/baby/toddler
 
soon his first birthday
 
10:53 PM
nice :D
 
like, in 23 days
... the year went by really fast ._.
 
yeah, it doesn't feel like a year at all
I wonder who will have babies next
I vote @SomeKittens
or Benji
 
We get to vote? Is it binding?
 
We can bet
 
I bet @SterlingArcher is next, and it's a surprise.
 
10:57 PM
@BadgerCat a vote for me is a vote that bay area prices aren't that crazy
 
@Luggage with his new gf
 
@SomeKittens A more reasonable campaign than trump. I'll vote for you.
 
vote Mcafee
 
@BadgerCat or Loktar ? :P
he has a lot
 
I was thinking the same thing hahaha
 
11:01 PM
I think he has a kid.. ?
 
He has 4
 
sucker
 
I vote for @BadgerCat and The Poked Condomâ„¢
4
 
One of my life goal is to have children. Preferably 2.
 
/nocontext
 
11:02 PM
kids are awful
 
@phenomnomnominal +1
 
�`�`�`��`a����
�
 
or rlemon? does he want kids?
 
this is a chip8 game ^
 
I'd prefer to have potential kids over kinetic kids.
 
11:04 PM
Children are gross
 
I'm pretty careful about saying I don't want kids, cause I know the universe will fuck me if I do.
But I don't want kids.
 
@BadgerCat he has already childrens: his tools.
 
and his ducks
 
haha yes
and an aquarium if i recall it right
 
he has @SterlingArcher
 
11:05 PM
he talked a lot about that
 
@phenomnomnominal good decision
 
btw
are you not in an exam period?
 
Not me, I'm done with exams for life
I only have to write my thesis now
 
What's the subject ?
 
Machine Learning methods for predicting patient admission to the hospital
 
11:12 PM
ooooh, ML
/me is experimenting with NN
 
what are you using?
I'm doing sklearn and Tensor Flow
 
Artificial Intelligence :P
 
i didn't have studied in that domain
 
@KarelG what are you studying?
 
11:17 PM
*were
 
is there a way to make overflow hide the top?
or is there a javascript for "onoverflow" ?
 
@KarelG what did you study? :P
 
i did CS with specialization in secure software
@thepiercingarrow uhm what?
 
@KarelG so, a chat bar, but overflow would show the bottom and clip the top
 
but lots of people went to AI. Not much in my program :|
 
11:20 PM
@KarelG wait nvm i think I know how...
 
@phenomnomnominal allegedly
 
Hi!
 
@BadgerCat we are undecided. may adopt. few years away still.
 
though I ran into a hiccough in gathering data
 
11:30 PM
@phenomnomnominal he's like a teenager. always trying to run away and tells me he hates me
but deep down..
 
phrasing
 
@rlemon well you have ducks in the meantime
 
@SomeKittens So now that I've had a few minutes to drink a few beers, and think about what I said, I owe you an apology. I let my frustrations at some work stuff with jQuery get in the way of the logic of when and where jQuery actually has a place and time to be utilized. So this is me eating crow and apologizing, and as such if you're ever in my neck of the woods, I owe you a couple fingers of top shelf scotch.
 
@SomeKittens oh
 
@Megaplex um, wow. That's kind of impressive. I appreciate you coming back and I completely understand work pressures finding their valve in this room.
 
11:33 PM
@BadgerCat the ducks are my work buddies. apparently there have been ducks in my pond as well I just haven't seen them. at home I have my turtles, my newt, my froggo, still got one fish, and we have bunnies that live in our yard and my pond attracts an abnormal amount of birds.
 
@BadgerCat algo I'm using is something like n^n^2 and I unlocked the next level meaning n++
aaaand suddenly JS couldn't run it anymore (ran out of memory)
had to rewrite the whole thing in Rust
 
@SomeKittens haha
Oh I saw your tweet about Rust
@rlemon only one fish survived?
 
@SomeKittens Yea, usually I'm better about separating that mess. Unfortunately I thought I had a fantastic opportunity to start implementing ES6, took the time to do all of the work, only to be told that because the broken tools we were using were written in jQuery, they need to be re-implemented in jQuery since there was no information about the origins of the original code (therefore likely making it all pre-IE7 based when jQuery was needed for useful DOM manipulation).
 
@BadgerCat yeeeep. You can either have a function use vars from the parent scope or recurse. Not both.
 
"reimplemented in jQuery" makes no sense.
 
11:36 PM
@Megaplex welp. That's awful.
 
burn the place down
 
@BadgerCat I put ten in when I dug the pond, 6 died before the winter (expected, they were feeder fish. often already sick when you get them and the stress of the move kills them in a few days). 4 survived the winter, but because I had no plants the pond got full sun which turned the water green (which is mostly fine for the fish)... I bought this 'fish friendly' chemical treatment for the algae bloom and it killed three of them
however the last one is getting quite large. maybe 5" now
was <1" last year
 
@Luggage Basically we have a bunch of code that was written in jquery probably seven to ten years ago that has obfuscated in some way (looks like minified, but can't be unminified by any of the online tools I tried). Because it broke and can't be modified effectively....it has to be re-written.
 
Oh, you should snap me all of your animals
 
@SomeKittens Yea, I had already taken three days to write it in ES6. It was a real personal blow to be told that it needed to be nuked and re-written.
Anywho, that's enough about me, I'm going to deposit my check and take a drive to Gamestop and pick up Doom now that I'm calm.
!!afk Demons!
 
user4196492
11:40 PM
In Java, I can easily initialize a multidimensional array with a certain size like this:
Object[][] foo = new Object[100][100];

That creates 100*100 empty "slots" for me to work with. I tried looking it up, but this was the best I could do: http://paste.ofcode.org/bi9iMtjLxu3SfF648JMi6R

Is there an easier, shorthanded way to do this?
 
@Megaplex if they don't like es6, just use babel to turn it into es5..
 
@Luggage Megaplex is afk: Demons!
 
I know. shh.
 
@pebble225 Array(100).fill(Array(100).fill(0))
also new Array(100) doesn't give you empty 'slots' it just creates a new array object and sets its .length to 100
if you care
 
user4196492
@rlemon Yea, what I do after I initialize it is I "fill" those slots with objects. So in that case, what would it be better to use 'new' or not?
 
11:46 PM
@rlemon Doesn't new Array(100) allow the js engine to improve performance by reserving memory for 100 entries?
 
@pebble225 you almost never need to call Array constructor with new
@le_m no
you just set the .length property to 100
 
user4196492
@rlemon One other thing, is that second fill(0) call necessary? Seems kind of pointless.
 
hm, I thought it was faster to preallocate that way.
 
@pebble225 Array(100) does the same thing, just sets the .length. you need to populate the array with something if you truly want to preallocate it
so you can .fill({}) I suppose
.fill looks at .length and does what your for loop does, but cleaner.
 
var PromiseA = new Promise();
PromiseA
  .then(respA => {
	//typeof respA === 'array'
	//do stuff with respA
    return respA.map(item => new PromiseB(item.data))
  })
  .then(respB => {
	//do stuff with respA AND respB
  })

// How can I use respA AND respB without nesting .then() calls?
 
11:53 PM
Promise.join or Promise.all
 
user4196492
Thanks for the help, the code worked perfectly
 
hrm. .join looks to be bluebird
 
@rlemon i'm already using bluebird, but does that work with "derived" promises?
 
try it
ohhhhh I think I get it
you want to return the result of the inner promise and the first
 
correct
 
11:55 PM
  .then(respA => {
	//typeof respA === 'array'
	//do stuff with respA
    return [respA , respA.map(item => new PromiseB(item.data))]
  }).then( (a,b) => { ..
just return an array
with the first promise and second
 
ohhh i didn't know you could do that
 
er... you have to spread it
or accept it as an array.. sorry
my example is wrong
(the latter then won't accept two arguments)
 
from my example, I would do respB[0] to access respA, right?
 
one sec
.then(a => {
  return [a, makeB()];
}).spread( (a,b) => {

});
but you could just use an array and .then
but spread is cool
but also read the document it shows a lot of neat ways
i.e. destructuring
 

« first day (2054 days earlier)      last day (2893 days later) »