« first day (1748 days earlier)      last day (3207 days later) » 

2:00 PM
@Zirak ping
 
@FlorianMargaine pong
 
!!ping
 
most bots/gaming servers respond with pong :(
 
like redis
 
2:01 PM
TIL
 
!!summon 78503
 
1 of lucky 10k? :P
 
@Zirak in pacman-fs, where's the fuse binding that makes sure reading a file returns what you want?
 
@rlemon that's a pity... tried adding a fertilizer? I've heard wine helps
 
@FlorianMargaine Not sure I understood, but do you mean ReadAll, like github.com/Zirak/pacman-fs/blob/… ?
 
2:03 PM
@towc You know why alcohol makes you seem smarter? Natural selection. It kills the slower, dumber brain cells first, leaving only the smart ones behind.
 
@ssube if only that were true...
 
@Zirak yes, but where's the fuse binding?
i.e. which fuse callback are you using?
"readAll" is not a fuse callback :/
 
oh, that's just a wrapper around read
@rlemon Read the comment, silly
 
@Zirak what do we use instead of deffered
 
@SuperUberDuper The promise constructor
 
2:06 PM
@Zirak hmm
 
@Zirak bitch
 
@rlemon Monkey magic
 
@Zirak I guess I need to read up on the fuse api...
 
cs.nmsu.edu/~pfeiffer/fuse-tutorial/html/callbacks.html and BBFS in general is a really good intro
 
returning a string from file_read doesn't do anything
 
2:07 PM
@towc shhh. Just believe.
 
Is there a way to return a de-structured array?
 
@FlorianMargaine It depends on your wrapper, really. In C you pass that into one of your arguments.
 
A shorter way of doing
let foo = () => {
  let arr = [0];
  let [result] = arr;
  return result;
}
 
return arr[0]
 
just return 0, noob
gosh, ben
 
2:09 PM
@Zirak I have that, just thought there might be a nicer way using destructuring
 
It feels very convoluted
 
let [result] = [0]
 
@Nick will ping @NickDugger ?
 
but why
 
@BenFortune Why would destructuring fit into this
How would a nicer way look, anyway
 
2:10 PM
Seems like an extra step just for the sake of it
 
Fuck knows, [return] arr; xD
 
how come if you create a symlink on a mac to folder a. then you delete folder a, then create it again, the symlink is broken.
 
If you think I'm being stupid, just say it
 
Maybe it's tied to more than just a path, I dunno
I've only just now been exposed to symlink
so It's still a mystery to me
 
@BenFortune You're being stupid
@SuperUberDuper That doesn't make a lot of sense indeed.
 
2:13 PM
well its because I used to check some /dist folder into github that is symlinked in from other folders
except now I don't check /dist into github
it comes from a webpack build
maybe I could just tell webpack to copy the dist folder to the relevant sub directories, or maybe I should create a script that creates the symlinks after the bulid processs makes the dist folder
 
@rlemon the best for smooth metaballs would actually be a sigmoidal, right?
 
you're way ahead of me
 
I think I'll go with a platform independant way to create symlinks in a node script..
 
but the ones I know are pretty resource expensive, any variant I might be able to use?
@rlemon 1/(1+e^x)
 
The w10 calculator is pretty pretty
Woaaah what the fuck
W10 comes with a 3D modeller
 
2:20 PM
so, the input is the current alpha, and the output is sigm?
that way you don't get those step lines
 
@towc you're so good... You're gonna go places, kid.
 
did you just call towc a strip club?
 
@rlemon not sure if you saw this already: codepen.io/towc/pen/oXQJRd
 
I have issues with words sometimes
I dunno why
 
2:23 PM
yup
 
Edge has built in auto correct!
 
user1596138
@rlemon recommend vape for under 200?
 
My thoughts come out of my fingers as fragments of the original thought sometimes.
 
@Nick you're old, I guess? Or you spent way too much time in the basement
 
2:24 PM
@Nick I get that. Ever write a sentence backwards? I have
 
@Jhawins eleaf istick 50w + a decent tank. there are a lot of good tanks.
 
@towc I'm only 23 pls
 
@rlemon you see how unnatural the edges are, right? How did you cope with that? There's probably some antialiasing involved, but how?
gaussian blur while manipulating imageData?
 
you're setting 1 or 0
don't
 
I feel like there should be something better
 
2:25 PM
/=val
 
user1596138
@rlemon One that supports plant matter tanks too plz. I want to vape tobacco leaves
 
user1596138
lmfao
 
@Jhawins the only good herb vapes are like $300+
 
user1596138
Lame
 
user1596138
I'll just put leafs in a hoohah
 
2:26 PM
you can get them for cheaper, but (from what everyone is telling me) you'll just shelf it after a few uses
 
Percentage wise, how much time do you spend company time just fucking around on your own thing? Ex. Something caught your mind, so you made a pen or something
 
user1596138
Hoohah = classic meth pipe lmfao I knew this guy who used to vape his weed out of one
 
@rlemon data[ i ] = data[ i ] < opts.alphaThreshold ? data[ i ] / 6 : 255; ?
I don't get it
wait...
data[ i ] = data[ i ] < opts.alphaThreshold ? data[ i ] / 6 : data[ i ];
 
		data[ i ] /= data[ i ] < opts.alphaThreshold ? 6 : 1;
 
looks more natural, but the edges are just blergh
 
2:28 PM
indent pls
 
@rlemon which is what I had above
 
woah, never would have thought to do /=
clever
 
mines cleaner
:D
 
the result is still everything but smooth
I was trying to get something like this: codepen.io/jackrugile/pen/OVaxLK
 
Is that an internet cow?
 
2:31 PM
@OctavianDamiean yup
 
It seems that you can use two methods to write the URI;
A) (.../TwoFoldersBack)
B) (../../TwoFoldersBack)
^ Is that correct? if so, which one is preferred?
 
@towc so much jizz
 
@towc he uses css blending
the engine does a lot of that 'cleanup' for you
 
@rlemon no way to do this in canvas without using proper antialiasing, right?
 
not to my knowledge
 
2:32 PM
:/
 
maybe with some canvas blend modes?
but those are slow
 
fair enough, thanks
 
@towc Wonder if you can integrate it with workers
 
I'm pretty sure the sigmoid function would fix it, but it would be soooo slow
 
@JohnSnow There's no such thing as ...
 
2:33 PM
@BenFortune ? what use would that be?
 
It's a common shell alias, nothing more
 
@Zirak Works in node O.o
 
How much deep is it okay to nests .then
 
Nest? O.o
 
@cswl don't nest thens
 
2:34 PM
@JohnSnow wat
 
you don't need to
 
@cswl Flat
 
@Zirak my thought too
 
return a promise from the first then, chain with another then
 
I love promises. Just everything about them. They're so intuitive and fun and great
 
2:35 PM
./ = this folder
../ = last folder
.../ = two folders back
 
@JohnSnow You lie, I just tested.
What exactly are you doing?
 
requiring stuff
 
user1596138
@Loktar Yeah dude I don't actually think it's weird at all haha iKid
 
@JohnSnow What platform are you on?
 
IntelliJ
 
2:36 PM
% node
> require('../../consolelog.js')
console.log
{}
> require('.../consolelog.js')
Error: Cannot find module '.../consolelog.js'
@JohnSnow That's not a platforn, OS? Shell?
 
oh. theres Promise.filter in bluebird .. i dont get it :\
 
@Zirak I identified that as the source of the wat
 
this explains so much!
 
@towc playing with metablobs?
 
@ssube yup
 
2:39 PM
@towc that's an internet LSD cow
 
metaballs
 
@towc you should look up Valve's whitepaper on them, from when they were developing Portal 2. It's pretty good stuff.
 
meatballs hmmm
 
Edge only uses 23.5MB of ram with 2 chats, facebook chat, web skype, and Spotify open
 
Valve's code is awful, their whitepapers are interesting.
@JoshLeBlanc claims to, but it also uses shared libs loaded by the OS, like all iterations of IE
 
2:40 PM
This is true
 
@towc Now confine that to a lavalamp shape
 
@JoshLeBlanc @towc and add perspective
 
I guess I should also make you a coffee
:P
ok no, I'll do that
 
no, got one
the shape should be easy, just add repulsive fields on an angle
if you have gravity/bouyancy and viscosity already, that shouldn't be hard
pretty simple physics, especially since you don't need to actually get them accurate
 
2:43 PM
@ssube don't you worry about my lavalamp, it's not yours and I'm not going to sell it to you >:(
 
@towc for the right price, you would
 
ok, yeah...
 
What's the current status of Win10 update servers, is it worth trying?
 
It downloaded in 15 minutes for me last night
not that thats actually helpful
 
does windows update not use azure servers with autoscaling?
it wouldn't be surprising
 
2:46 PM
now, is Win10 worth trying?
 
hey I don't need bluebird now, I can use native promises!!!!!!!!!!!!!!!!!!!!
 
@SuperUberDuper nope
 
@SuperUberDuper DENIED!
 
@JohnSnow TWSS
 
Wat?
 
2:48 PM
o.o
 
nice
 
@JohnSnow how??
 
cool lamp @towc
 
user406009
@SuperUberDuper Bluebird still has a ton of nice features that native promises don't have.
 
I wonder if perlin noise would be shinier
 
2:49 PM
@SuperUberDuper AFAIK Node doesn't have the native promises, but what do I know. After all, I know nothing
 
like what?
 
might be super slow...
 
@SuperUberDuper Look at the bluebird API docs. Pretty much everything there isn't available in native Promises
 
@ElliotBonneville perlin noise and metablobs aren't the same thing
 
@ssube yeah, I wonder if you could achieve a similar effect with them though
 
2:51 PM
you can fake metablobs with continuous noise, but it's not terribly convincing and more complicated than actually using blobs
 
String.prototype.includes isn't in Node :(
 
with 3d noise, you can slowly move through one dimension while rendering on the other two
 
user406009
@SuperUberDuper In addition, infinate promise chains are supported, which is a nice feature IMO (github.com/petkaantonov/bluebird/commit/…)
 
combine that with a threshold or sharply curving color gradient and you'll get something that kinda looks like blobs
 
yeah, that's what I was thinking.
 
2:52 PM
it still won't behave correctly along the edges
 
user406009
 
no?
edges of the blobs?
it might be a bit smoother than @towc's current approach
 
no, it loses the attractive force that makes blobs convincing
the blobs lose their character and stop looking like a fluid
 
Anyone know how to include the polyfill when using babel from the command line?
 
ah, yeah, that makes sense
yeah, no, that definitely wouldn't look good at all.
 
2:56 PM
I still don't know how to create a promise with bluebird
 
user406009
The api is mostly the same as A+. Except for the added stuff.
 
@SuperUberDuper new Promise(function(resolve, reject) {});
 
@FlorianMargaine Now I'm missing something. I was sure I could control what happened when a file was executed, but now...not so sure. Which sort of makes sense. So all my plans are reduced to naught.
 
user1596138
@BenFortune It's ES6
 
@Jhawins I know, there are some ES6 stuff in there already though. Such as template literals
iojs has it
 
user1596138
2:59 PM
Yeah, that's a syntax thing.
 
True
 
user1596138
Babel has a polyfills package
 
user1596138
You don't get the polyfills by default
 
5 mins ago, by Ben Fortune
Anyone know how to include the polyfill when using babel from the command line?
 

« first day (1748 days earlier)      last day (3207 days later) »