« first day (1943 days earlier)      last day (3004 days later) » 

@rlemon Saw that on /r/programming
 
@BenFortune same
just finished the article
laughable imo
 
@BenFortune :D
 
crl
jsfiddle.net/crl/rk6f74tw/7 I think I have all possiblilities
 
2:01 PM
You'd be surprised at how many flags we get like "please answer this is urgent"
 
@MadaraUchiha Seriously?
 
@ssube picked up a few more bottles; got a rye whiskey, another dark rum (sailor), fireball (because why the fuck not), and the creme de menthe schnapps. I need to pick up Triple Sec, though, so I can make long island iced teas
I'm at 12 bottles right now
 
buying furniture, stocking a bar, shit soon you'll be golfing!
Nick's all grown up... :tears:
 
I used to golf; I have my own clubs
I need a new bag, though
@BenFortune That's just silly and baseless
 
5 hours ago, by Ben Fortune
@halfzebra Just because you can, doesn't mean you should. Unless you're using webpack or a similar bundler then it just shouldn't be used on it's own.
 
2:06 PM
Ah... out of context... I apologise
 
Don't worry about it :p
Sailor Jerry, YES
 
lol, if you are calling something "baseless" you should probably.. you know... READ THE FUCKING CONTEXT! :P
srs dugger
 
I should probably get a backup bottle of vodka; that shit goes pretty fast
 
dugger pls
 
I'm not an alcoholic
I can stop any time
 
2:09 PM
that's what most alcoholics say
 
4 whiskeys, 3 rums, gin, tequila, schnapps, and a vodka
oh, and a sweet vermouth
 
I'm not an alcoholic. I stop drinking on a daily basis.
2
 
@GeoPhoenix no most alcoholics know they have a problem. Drunks are the ones who deny it
 
If I stop drinking, the cumulative hangover would kill me.
 
you are not @SterlingArcher
 
2:11 PM
 
omg, dat name : squirt.io
 
@KarelG From experience, those are great gimmicks that no one uses.
 
the description even does
> Speed read the web, one word at a time
>.>
 
Plot twist: developed by Brazzers
 
crl
@KarelG what is not safe?
 
2:13 PM
they work. but they also are so unnatural I end up getting a headache after about two pages of a blog post
 
crl
I think it's a great idea
 
io domains were cool until they weren't
 
user3119231
@KarelG at first I thought... Nevermind
 
this is the third time I've seen it rehashed in the last two years
 
@crl double negation ? really-not-not-safe-for-work
 
2:14 PM
!!youtube true friends bring me the horizon
 
@Loktar @BenFortune @GNi33
 
crl
@KarelG oh, ok, just go sfw
 
I actually like the one word per flash, quick reading things. I find them to be effective for me, personally, but I don't read much online anyways.
 
@SterlingArcher Holy shit, this literally just finished playing in the office
Spoopy
 
2:16 PM
It's not as heavy as normal, but I really like it
 
BMTH is for noobs
 
@ndugger it's ok, Mastodon is up next
 
real men listen to Cascada
 
@SterlingArcher Their new album is really light, I kinda like it
ABR scrubs
 
!!youtube cascada every time we touch
 
@Loktar another article to add to your list (I'm sure you have a list) bristol.ac.uk/alspac/news/2016/video-games.html
 
@BenFortune right? Compared to Pray for Plagues lol omg. But Happy Song is my fav of the album, closely followed by Throne
 
!!youtube abr marianas trench
 
!!youtube back streets back allright!
 
HRNRNNGNGGG
 
If you can ignore the fact that this is on CNN.com, you should give this a glance; A new documentary about the US's national parks
 
That's the band with Rob Flynn right? @rlemon
 
2:20 PM
yessir
excellent band
 
@rlemon then you'll love this youtube.com/watch?v=P5hImIVSIKM
 
I mean, they have a fucking song called VIM
you have to respect that
 
Rob Flynn shreds, and Randy Blythe is amazing
 
i just read an article about a male whom got accused for sexual crime. Even if there was only half second of contact ... It apparently ruined his life.
 
2:29 PM
@KarelG Depends on his position, even ending up not guilty can ruin your life
(e.g. you're a CEO of a public company, or a government official)
 
Even the accusation can ruin your life
 
@KarelG Welcome to equality, where female on male sex crimes gets you a significantly reduced sentence.
 
I was reading an article that back in the 1990s, they were forced to make laws to protect deployed troops from women who would get pregnant, steal their info, claim they were the father, and since they were deployed, they couldn't appear in court, and they would return to basically financial death
I think there's a law that protects troops from those court situations now
 
With async/await, can you wait on a chain of promises to be fulfilled?
 
@corvid not sure about a chain, but you can definitely await on multiple
 
2:32 PM
That's an interesting question; I'm leaning towards now. You mean like using async/await for Promise.all?
couldn't you do
 
can't be sure with all cases, but I know in Canada if you make a false/fake crime report and it is proven fake, you then face criminal charges
 
const foo = await Promise.all(arrayOfPromises)
That should work
theoretically
 
async function getOpenLobbies() {
	const games = await keysAsync("*game*");
	const players = await Promise.all(games.map(game => smembersAsync(game)));
	const metakey = await keysAsync("*metadata*");
	const data = await Promise.all(metakey.map(meta => hgetallAsync(meta)));
	const combined = games.map((game, i) => ({
		game,
		players: players[i],
		meta: data.filter(d => d.id === game.replace("game-",""))[0]
	}));
	return combined.filter(game => game.players.length);
}
getOpenLobbies().then(data => res.send(data));
@corvid like this?
 
Oh neat, yeah, jordan is already doing that
 
@MadaraUchiha gets credit for this genius function
 
2:33 PM
getOpenLobbies().then(data => res.send(data));
getOpenLobbies().then(res.send); // y not zoidberg?
 
jordan pls
 
I just added the meta data
@rlemon wat?
 
people forget you can just pass the function and are all up in the lambda soup
 
@rlemon res.send.bind(res)
 
@SterlingArcher is claiming that a person is the father so easy in USA ?
 
2:34 PM
@SterlingArcher Go all the way
 
@FlorianMargaine er, yea
 
which makes the lambda kinda easier...
 
@FlorianMargaine .then(::res.send)
:>
 
(async () => {
  const data = await getOpenLobbies();
  res.send(data);
})();
 
2:35 PM
what is this :: operator?
 
@BenFortune yeah, when we'll have it
 
res::res.send
 
@rlemon ::res.send == res.send.bind(res)
 
I know in PHP :: is a OO accessor.. but what is it in JS?
 
Does'nt omition of the "whatever"::foo mean that it binds to whatever "this" is in that scope?
 
2:35 PM
@SterlingArcher nothing yet
 
I DEMAND THE SAUCIEST OF SAUCES
 
@MadaraUchiha yes, I deduced what it does
 
So you would need to explicitly bind to res
 
what is it called
 
Starred the shit out of that. That's beautiful.
 
@BenFortune but.. they don't tell me the name of the operator
 
@rlemon bind operator
 
@SterlingArcher It wouldn't necessarily make it
Although @BenjaminGruenbaum is more versed in the process than me
 
I hope it does, even TS is getting it
I really like the syntax
 
2:37 PM
@FlorianMargaine ty
 
Much better than those shitty array comprehensions
 
I thought it was just the function bind operator
 
@SterlingArcher out of what?
@MadaraUchiha hi?
youtube.com/watch?v=T17kNkytm_c @SterlingArcher learn hebrew :P
 
@BenjaminGruenbaum What's the status of the ::bind operator?
 
sup nerds
 
2:43 PM
dammit @SterlingArcher THIS IS WHY I STOPPED LISTENING TO METAL AT WORK!
so hard to headbang and type
 
@MadaraUchiha stage 1
 
@SterlingArcher yeah that looks like it, I have something of a pretty weird use case, thank you for the help
 
@BenjaminGruenbaum oh cool
better than stage 0
 
2:55 PM
cool :)
 
@crl :O
 
@crl nice :)
 
3:08 PM
@ndugger long islands are my favorite drink. At my old house, we used to make staten islands, where you replace the vodka with everclear and then add vodka anyway.
 
AngularJS Question: This is part of a directive, the following console logs execute fine. The "= true" is also set fine. However my "= false" never gets registered to the parent controller. Do I have to do something different in my $destroy for the parent to get the value update? My guess is that maybe the $destroy function does not give the variable to update properly on the parent controller.
function activate() {
  console.log('setting true..'); //prints true
  $scope.$apply($scope.spSetIfExists = true); //sets true
}

$scope.$on('$destroy', function() {
  console.log('setting false..'); //prints false
  $scope.$apply($scope.spSetIfExists = false); //still set as true
});
 
if you've ever been to the kitty kat club, they have great long islands
 
@ssube I couldn't find any everclear at the haskells that I go to; I'm gonna have to find a proper liquor store.
 
@ndugger surdyks
 
That's not close to me
 
3:13 PM
@Austin I don't think $scope.$apply takes arguments like that. Only expressions.
 
crl
they should have put $scope.$spSetIfExists for more $
 
$scope.spSetIfExists = true;
$scope.$apply();
 
@BenFortune I have also tried without .apply and I have tried delete $scope.spSetIfExists
 
@Austin You still need them both, just in separate assignments and calls, like I posted above.
 
An official @ChromeDevTools Dark Theme landed! Try it out today: https://developers.google.com/web/updates/2016/02/devtools-digest-devtools-go-dark 🔥 https://t.co/YZfUJv3Bk8
 
3:15 PM
God damn canary
 
@BenFortune Just tried it, did not work :/
the inside expression works for = true though too.
 
Hm, that dark theme isn't available in chrome's latest release version?
 
> canary
 
Is there a chance the $destroy disconnects itself from the parent during that function?
 
3:16 PM
@Austin There's a good chance it's not doing what you think it's doing.
 
right
 
CANARY
 
the bird is the word
6
 
hoot hoot, motherfucker
 
@ndugger You're a hoot, nick.
 
3:17 PM
 
Yes I am
 
@rlemon imgur.com/gallery/JTdG0 despite it's done with plaster, it's a truly impressive handcrafting
 
Finally got a rental car. And its a camero :D
 
@SterlingArcher How do those drive?
always wanted to try one
 
Well, this one is a v6, but it's a smooth ride. My buddy has the SS V8, and it's a MONSTER
 
3:26 PM
@KarelG nice.
 
Bongo
 
when you said plaster my mind went straight to a forge
 
Faster than my Audi, but I hate the clutch. Halfway, it throws pressure out and the clutch wants to shoot out on you. I prefer a non-variable clutch
 
How rare are manuals over there?
 
Not very rare
 
3:28 PM
I always hear stories about people not knowing what stick shifting and clutches are.
 
woo 121 views :-|
 
My car is the first auto (technically.. it's paddleshift if I want) I've driven
But manual is dying out. Only people who like cars enjoy manual
 
crl
@Abhishrek let's a make a proxy bot to generate views
 
@crl dunno where views are from
I am kinda curious
 
crl
unique ip I guess
 
3:30 PM
IDK vOv
I sent an email to Auth0 guys with the article
 
crl
I may use jwt too
 
my car isn't a toy, it is a utility. automatic makes that utility easier to operate
 
@crl I ended up going further though
 
I'll take auto all day long
 
crl
!!sessions or jwt?
 
3:31 PM
@crl sessions
 
@crl how about jwt to issue sessions ?
 
crl
let's keep it simple, just need a simple auth thing, for API
 
@crl then you don't want sessions
or even JWT, necessarily
 
crl
and for server maybe (some isomorphic react)
 
just use an encrypted bearer token, it's about the simplest auth you can possibly do
the basis of JWT, without all the cruft JWT adds
 
crl
3:35 PM
yea, a simple access token, thanks, I just keep them in nodejs memory or store them?
 
> 600-pound pig escapes from NH farm, tries to go vote
These click baits are getting awful tempting
 
@SterlingArcher that's mean, I know Hilldogs gotten a bit bigger
 
We love you Hilldawg
 
but to call her a pig..
 
3:38 PM
can't unsee
 
wonderful.
gurr
 
@Abhishrek "SyntaxError: missing ; before statement"
 
google face similarity + relationship
Is there a way to use firebase for only getting json ? and not opening connection ?
(with the sdk)
 
user1596138
@SterlingArcher Strange this links to a page instead of to the full size image but it's oneboxed
 
That's weird
 
3:48 PM
hot
 
@Abhishrek Just add .json to the url?
 
No that's hot
 
@rlemon lol
I read the articles @rlemon
lol my list is in my head.. so I forget sometimes :p
 
Though I may be thinking of another service.
 
3:49 PM
lel, just scrolled imgur for 2h at work while not doing my work. Now off to home
 
I'm gonna have some people over at my apartment in a couple of weeks; give me recipes to cook!
 
@ndugger : charcoal. You only consume it. Don't adapt on others
 
@BenFortune well thats fun :D
 
wat
 
@ndugger see imgur link above
Twas delicious
 
3:51 PM
a steam train works well with charcoal
 
@SterlingArcher I'm thinking something slightly healthier... lol
 
What are you, a vegan?
 
I want projections in redis, any idea.
Feel free to move back if you feel strongly about this @ndugger.
 
@BenjaminGruenbaum projections?
 
@BenjaminGruenbaum I disagree, but I don't feel strongly at all about it.
 
3:53 PM
@ndugger Something simple that you like. ;)
 
I'll leave it up to your discretion
 
@ndugger it doesn't bother me much at all - I just hate potential drama :P
 
Anybody ever wrote a match making algorithm ? (And not for finding buddies on facebook)
 
@SterlingArcher I have stocks, each stock has a key in redis (AAPL for example) that holds the data cached. I need to fetch for example the data for 100 stocks.
 
lol, fair enough
 
3:54 PM
@Abhishrek ...was that it? lmao
 
@BenFortune Also i realized I can enable platform specific builds
 
In SQL, I can select, in redis that's a HGETALL, I need one field and each document is almost a megabyte.
 
I was looking for a way with the lib itself
 
@Abhishrek Just do what all online match making services do, match on rng().
 
Projections mean I can select all copies of a field from a collection.
 
3:54 PM
realized i can just use reqwest on client and the firebase lib on server
 
Hmm. I don't think redis uses LIMIT
 
@RoelvanUden rng(). ?
 
So the issue is the amount of stocks and the size?
 
Race Nationality Gender ?
 
Can you use a matching pattern on the keys to filter what you want?
 
3:55 PM
@Abhishrek Random Number Generator. Are you not a programmer? :P
 
@SterlingArcher yes. Each stock has a big 1mb json, I need 1 4 byte field from it, and I need it for 100 stocks.
 
@RoelvanUden :-( you never get my jokes
 
redis > KEYS *matchingPattern* -> HGETALL
 
well nobody does
 
Something like that may work
That's how I filter my keys
 
3:56 PM
@Abhishrek This might be more of a problem with your jokes than us :p
 
@SterlingArcher that'd still mean I fetch all the data from the server (100mb for 100 stocks) and filter on the client.
HGETALL being O(N) doesn't really help much either.
 
@Loktar I expected you to have a bookmarks folder :P
> "RESPONSES TO IDIOTS"
 
Is redis holding the documents as well?
You could use it simply as a key accessor
If you can store the files on in a directory, then grab the redis keys you want, and file_exists(key), that might drop the complexity
 
@RoelvanUden I know
 
Actually I'm not sure if that's slower or faster
 

« first day (1943 days earlier)      last day (3004 days later) »