« first day (2342 days earlier)      last day (2831 days later) » 

20:00
I don't want to have to define an id on the parent
@Loktar oh, you missed it, a company is very interested in my skillset. My brother called their CTO, pitched me, and said the woman sounded massively impressed with what I've done in such a short span out of college
Isn't that cool? The company does 4D crisis management software
wtf nice dude
bout to get dat 70% raise!
that's badass seriously, that's what a Bro should be doing
I hope LOL that'd be sweet
Yeah all this started as my brother using my resume minus my personal deets, and the feedback he recieved on it was shocking.
The top response was "This guy seriously only has 3 years experience?" (in a positive way)
What a spirit lifter. I've been so burnt out recently I needed to hear something like that
const sample = Array.from(Array(1000000), _ => Math.random().toString(16).substr(2));
const stripped = new Set(sample);
console.log(sample.length, stripped.size); // 1000000, 1000000
ran it like 20 times. I should probably be safe
??
you can't turn an issue into a PR in github, can you?
20:09
turn into, no
usually you just reference the issue in your PR description or commit messages
if you need to move it, copypasta
@rlemon Ah, can't edit the page
great, Ben fooled me into writing tests.
@copy I'll add it for you <3
20:19
@BenjaminGruenbaum hm.. i can't find any tests for coroutines in bluebird's code to copy off of..
20:30
Hmm
Anyone know if there's a way to get the 2nd sunday of the month in a given year using moment (or another library idc)?
@KendallFrey bzzzzt
I actually figured it out
which actually doesn't get the 2nd sunday of march
But it does get every selection sunday
@Meredith Set day of the month to 8, add (7 - day of the week)
const test = moment()
  .year(2014)
  .month(2)
  .day('sunday')
  .add(1, 'week')
  .format('MMMM Do')
Which I'm pretty sure gives me exactly what I need
I just gotta test it
20:40
@rlemon Ok, @BadgerCat did it somehow
@Meredith .day('sunday') might be BACK a month
moment('2014-01-01').day('sunday').format()
> "2013-12-29T00:00:00-05:00"
it doesn't give the first sunday of the month
it gives the sunday of that week
Yeah
That's actually what I need
posted on March 15, 2017 by Axel Rauschmayer

In this blog post, we explore how arbitrary ASCII text can be encoded as Unicode clock faces: > clocksToPlain('🕔🕘🕖🕕🕖🕜🕖🕜🕖🕟🕒🕑') 'Hello!' I’m explaining ideas by Maggie Pint and @FakeUnicode. Unicode clock faces The following times are available as clock faces in Unicode: Full hours: CLOCK FACE ONE OCLOCK (U+1F550): 🕐 CLOCK FACE TWO OCLOCK (U+1F551): 🕑 ··· CLOCK FA

3
20:52
clock encoding, huh
@Luggage spawn tests?
I'm afraid I don't know what that is.
spawn is like coroutine but starts it, maybe the tests are there?
ah.
ohh, test/mocha/generator.js
20:55
@SterlingArcher @Loktar i.imgur.com/ZQ1kBXG.mp4 hahahahahahahaha
ahhhh.... pita
about to drive home, but i'll get some more tests in. They were in test/mocha/generator.js and I don't know how i missed them before
polyfilling the new operator at the babel level, sort of
@Luggage thanks :)
LOL
she loves her pita
21:03
@ssube why wouldn't they just use a proxy? I guess for old browser support
you'd have to return a proxy and that will get expensive
proxies aren't really a general-purpose thing like that
Their version just reminds me of github.com/letsgetrandy/brototype
I wrote a lib for that with :: and it was pretty nice, but that's stuck in proposal hell
seems like babel could just do what coffeescript did
foo?.bar?.baz
=>
foo && foo.bar && foo.bar.baz
there's a proposal for that
it's a pretty easy thing to implement, unless you want defaults
21:09
yah
adding a function for that seems weird
but oh well
implementation detail, I imagine
@phenomnomnominal having to do stuff like that is a code smell
Just use a proxy :D
I mean, I do that too
but ideally speaking
It's always for configuration
21:12
immutable.from(jsyaml.safeload(fs.readsync(...))) :D
@BenjaminGruenbaum that's what I said :)
:P
we do this for tests
My code smells really good, like freshly mowed flowers
@Loktar why haven't I got my email yet?
sorry in sprint planning :(
@Loktar isn't it a bit early to jerk off?
21:22
@FlorianMargaine Never too early
^^
never too late either
@FlorianMargaine idk if i even have your email
/me checks GH
alright got it
It's not too late, it's never too late
I get to chill at work until 5:30 because I'm picking up my date at 6, and I don't want to do any more work today, so I'm just sitting here meming in my cubicle
21:38
unfiltered memes
did they fix SO?
@Loktar memes=good, programming=bad
@BenjaminGruenbaum dafuq is util.throttle??
read it @MadaraUchiha
It does the concurrency bit
@BenjaminGruenbaum It's not documented
It's not the most efficient implementation, but it was very easy.
@MadaraUchiha It's not a bluebird method, we just use it in map, it does what it says - throttles to a given concurrency.
21:47
@BenjaminGruenbaum util is a node API
But it doesn't have a method called .throttle()
util is not a node API
Also, I'm still hungry. 😢
It's const util = require("./util")
maybe I forgot to commit it? It's supposed to be ./util.js
21:50
@BenjaminGruenbaum I see
@BenjaminGruenbaum how come you're mixing var and let?
@SterlingArcher where?
@BenjaminGruenbaum Here
line 9, 10 and 12 and 15
@SterlingArcher huh?
21:51
@BenjaminGruenbaum utils.js
You have vars and lets in the same document
@MadaraUchiha I don't see it
Right, that's a let
:P
And the line below it is a var
haha
var promise = new Promise((res, rej) => {
    resolve = res;
    reject = rej;
});
21:52
even fails the ninja update
nope, it's a const?
        const promise = new Promise((res, rej) => {
            resolve = res;
            reject = rej;
        });
i must be going cray cray ;)
@MadaraUchiha :P
check the log
@SterlingArcher he's quick commiting the code
21:53
@BenjaminGruenbaum Yeah, seeing it for the raw version
OGM HE CAUGHT ME
:P
The sad part is I literally thought you had a reason and I was ready to learn
R2L MAN
@SterlingArcher Actual reason: var is legitimate in C# and Benji has grown too used to writing C#.
Well C# does have awesome promises from what I've seen. birth of asyncawait right?
21:55
it's a damn good language
@ssube something something high powered cannon attached to a donkey something something
Let is shitty in the REPL
And I hate wrapping all my code with {}s
So when I prototype something I use var and then switch to const or let usually.
@MadaraUchiha but now you can attach it to mules and alpacas and llamas and all kinds of other, slow, furry, largely useless animals
@BenjaminGruenbaum Huh? How so?
if I understand your analogy right
21:57
@ssube It still doesn't work quite right unless attached to the donkey.
None of us do.
// @MadaraUchiha
> let x = "Hello world"; // ok
> let x = "Hello world!"; // whoops, forgot the ! but this is an error.
Fair enough
@BenjaminGruenbaum where are you from again?
I should definitely know it...
@towc Israel, I used to work with @Mosho, I work with @MadaraUchiha ...
21:58
Imaginationland
@towc Given that you work with Mosho, you definitely should.
you better have sound by now

« first day (2342 days earlier)      last day (2831 days later) »