« first day (2502 days earlier)      last day (2461 days later) » 

3:00 PM
@KendallFrey what do you mean?
 
1 min ago, by Kamil Solecki
now this boils down to the disc covering problem
That seems wrong
 
Because a solution for a disk can't be mapped to a sphere
 
let me present you my assumptions to make this problem simpler:
 
in particular, it can't just be applied 4 times
 
3:02 PM
will a snowglobe burn up on re-entry?
 
@BenjaminGruenbaum minute*
 
if a promise is never resolved, it will be pending forever?
 
@KendallFrey i cant see the reason why we couldnt boil this down to a surface coverage thing
 
Because the surface of a sphere isn't euclidean
 
!!> new Promise(x=>x)
 
3:04 PM
@rlemon "SyntaxError: expected expression, got '*='"
 
Unless you're assuming the earth is flat...
 
danm you cap
 
wat is that error
 
@rlemon Maximum execution time exceeded
 
damn you cap
@Niing yes
 
3:04 PM
@rlemon oh yeah wow
that's pretty big
 
@rlemon That's intentional
Cap evaluates promises
 
8PNB a moment is big
 
@BenjaminGruenbaum and thats just pornhub
I'd like to know how much smut Canada serves per day
between pornhub, youporn, and redtube
 
Anonymous
jsfiddle.net/t7tfk9ak why isn't this 37.02?
 
do they keep all their servers in CA?
 
3:06 PM
There's a bunch of other smaller sites included in th pornhub network, right?
 
I assume they're using a cloud and distribute things
 
@KendallFrey but since we want to find how many circles of snow(approximately) we need to cover the surface area of the sphere, then what is stopping us from 'unfolding' the sphere?
 
@ssube no, ofc not. but yea
still wanna know
 
@KamilSolecki who says an exploding snowglobe will form a circle?
 
@KamilSolecki geometry, if you want to use a disk-covering algorithm
 
3:06 PM
> MindGeek owns and operates many popular[6] pornographic websites, including video sharing services Pornhub, RedTube, and YouPorn, as well as adult film producers Brazzers, Digital Playground, Men.com, Reality Kings, and Sean Cody, among others.[3]
 
the velocity will matter
 
@ssube my assumptions, to make the problem bearable
 
Canada is running this porn game yo
 
@JayIsTooCommon welcome to the world of floating-point arithmetic
 
@rlemon There's even bear erotica
 
3:08 PM
!!s/a$/eh/
 
@rlemon @rlemon There's even bear eroticeh (source)
 
> We took away their right to bear arms, and now we have to contend with their bear dongs.
> coming early (and often) 2017
 
@rlemon This is what I have for now, it's messy but it works
 
it's a machine head day today
 
Anonymous
3:09 PM
@KarelG thank you (Y)
 
@BenFortune cool, i'll peek at it tonight
i wanna make a node-bot that evals in node context
 
@rlemon Just need to add commands and stuff
 
like caps eval, but with node
 
@rlemon That was the idea I had for this
 
oic
nvm then
maybe a lemon-bot and hook up my house
 
lemon! turn on lights
 
Try and get it to work like this, so you can use packages.
 
you know :P
 
thank you @BenFortune
 
@Niing ?
 
3:14 PM
the link
 
What link
 
runkit
 
Machine head is not all that great
 
/kickbanmodflag
not all of their stuff is good
 
3:20 PM
@KendallFrey after a few minutes of visualizing this in my head, you are right
 
I was being sarcastic, I don't really care for metal or whatever genre you want to call that. But I recognize musical tastes are different so I choose not to judge and hope they don't judge me for who I like
Nickelback
 
/hangme
 
consider yourself judged
 
I liked their debut album
 
lol I'm just kidding, though I do listen to mostly rap
Which is probably gonna get just about as much love lol
 
3:22 PM
@Vap0r why have you not said that before
I would have spammed you with links
of stuff you should hear but have not heard
 
rap is a hell of a lot better than nickelback
 
@ssube also this
 
@KamilSolecki lol spam away, just not in this channel
 
everybody listens to some trap now and then
 
@ssube fair
 
3:23 PM
@ssube you're objectively wrong.
 
everything they've done is gold.
 
@rlemon The Burning Red
was not
it was bad
 
EVERYTHING
 
I had that after Taco Bell one night
 
3:24 PM
@rlemon you're subjectively objective :P
 
I like the vast majority of their stuff but they had a few bad albums
 
@KamilSolecki it's a fact
look it up
 
Supercharger, Burning Red, and Through the Ashes I don't like
 
gold/
 
for different reasons, the first two are too much like old arena rock, the latter is too much of the korn-style radio sludge
 
3:25 PM
at least they didn't sell out like a lot of other metal bands
 
@KendallFrey do you have a valid approach idea?
 
they totally sold out
 
I don't know much about disc covering
 
@ssube yea, I don't mind the korn style.
@ssube not really. they're not making hip-hop-alternative-rap shit
 
oh, see, that's an instant deal breaker for me. Like the low voice thing in rap.
 
3:26 PM
In the flat case it's easy, just use hexagonal tiling
 
korn is more like.. grunge metal.
 
Korn is the definition of Nu Metal
 
@rlemon I would argue that for Through the Ashes they damn near were (it might as well be a Drowning Pool album)
they veered away from that again and went back towards metal
 
idk, I like through the ashes.
 
but they dabbled hard in nu metal with that album
 
3:27 PM
clearly I like it all
 
regardless, when this song is over, I'm switching to them for the rest of the day :D
 
\o/
 
The Blackening was enough to make up for those 3 albums I dun like
 
!!afk vroom vroom a mi casa
 
in fact, through the ashes of empires has two of my fav songs by them
imperium and vim
 
3:29 PM
clearly we enjoy the band for different reasons
 
:P
 
but they're still dope, so there's that
 
@towc It's going to get worse regardless.
Did you fix it?
 
@KendallFrey I found this if you are interested geometrie.tugraz.at/wallner/packing.pdf
 
Chances are it'll be back in a day or two.
Your hard disk's failing.
 
3:30 PM
keep it in the freezer
 
@KamilSolecki those are some pretty renders
 
innit
I love em too
 
I want a game in that style
superhot is close
 
as in low-poly?
 
@BenFortune i need to find out a way to get fkey without parsing the page
then no cheerio
 
3:32 PM
@KamilSolecki the monochromatic surfaces that take most of their depth and definition from GI (scattered light).
 
@rlemon Don't think you can, it's not in any headers or requests
Also
 
Superhot and Mirror's Edge both use that aesthetic
 
@littlepootis I wasn't online when you sent that because I was rebooting after saving a file in vscode triggered that same behaviour
 
yea auth is always the issue
 
@towc you need a new hard drive
 
3:32 PM
websockets are easy peasy
 
I really hope it's just vscode, but it's probably not, I get it
going to do the vim thing for a while, see what happens
 
@ssube there is some counter-strike maps with textures like that
 
@rlemon Can always just regex it
But you literally only use it once so it's not like it's heavy on the app
 
I know, I just wish there was a data endpoint to collect it
 
3:34 PM
@BenFortune what are you working on?
 
Got all the auth and ws endpoint working, just need to add commands and stuff
It's a server-side cap
 
cool
 
End goal is to be able to run nodejs in !!>
 
import {etc: {passwd}} from 'bens-file-system';
 
@ssube In a sandbox dummy
 
3:36 PM
!!afk vroom vroom a mi casa (for real this time)
 
@BenFortune why would you need a dummy in a sandbox?
💩
 
@NathanJones To stop the crying
 
if you're doing a whole new bot that can run scripts, and presumably scripted commands, why not represent commands with an AST (where nodes can reference a pre-loaded script)?
 
@ssube I like that idea, but I've never worked on AST before
 
@ssube Hmm, example?
 
3:37 PM
You just need a parser that produces a basic JSON AST
I usually use peg.js
 
And store it as JSON in pg or something?
 
@BenFortune I actually never got past auth
Good job
 
set up a grammar for individual commands and chains, peg turns it into json, the bot interprets that
 
@ssube So... lisp.
You want lisp.
 
@BenFortune pegjs spits out a JS file that will parse and compile your grammar
 
3:38 PM
@towc not at all, I think it's easier for us to meet in Bratislava or something close later
 
@MadaraUchiha fuck, I always end up inventing lisp
I'm Butters and Lisp is the Simpsons
 
cc @FlorianMargaine
 
maybe I should just learn lisp :\
 
I confirm
 
@ssube can you give me an example how that would look like?
 
3:40 PM
@GNi33 yeah, one sec
 
@ssube simpsons did it
 
@GNi33 @BenFortune ok, for example, paste gist.github.com/ssube/8edcfcc359d00532f4196f6bbc5317e2 into pegjs.org/online
 
0
Q: Converting color hex numbers with leading zeros to string

Julián BonillaI'm using a canvas library that requires the colors to be declared in hex number format (e.g. 0x0000FF) but I'm using a JQuery plugin for color inputs that receives the colors in string format ("#0000FF"). I'm using color.toString(16) to get the color number as a string - don't worry about the ...

oy vey
 
@BadgerCat if there is going to be a planned Bratislava meetup on a weekend, count me in
 
@ssube Oh I get it now, you define your own grammar standards?
 
3:50 PM
@BenFortune yeah, it builds a compiler for you.
 
Is that output AST?
 
yep
you can use real classes if you want
 
hmm, interesting
 
then each rule just ends with new FooExpression(options)
 
@KamilSolecki We could do that, but in around a month
 
3:51 PM
that's essentially what all the JS tools do, and the JSON tree you see in output gets passed to the Babel plugins (f.ex)
 
Seems overcomplicated
 
@ssube is that reinventing BNF?
 
it is, but you wouldn't have to hard code anything for commands
@FlorianMargaine PEG and BNF are slightly different in a few ways, mostly around recursion (iirc?)
 
so would this actually help out when implementing something like chaining and piping commands?
 
similar syntax
 
3:53 PM
yeah, syntax certainly looks similar
I've only seen BNF used in standards though, didn't know this peg thing
 
So I could have a command that looks something like request (url) then output image;
 
@GNi33 @BenFortune exactly, then could be the delimiter, and you could put any two commands on either side
request(url) then ping(rlemon)
 
nice, I'll look into that. Thanks!
 
make every command return a promise and the bot will become sentient
 
Did google stop working for you? — Shard 2 mins ago
lol
 
3:55 PM
@ssube interesting, thanks
 
@ssube If you don't have to write code, how could you turn request(url) into a working code example?
Is that all done in grammar?
 
@BenFortune this pegjs thing translates the grammar into working code to parse
 
@BenFortune the grammar breaks down the noun, verb, args, whatever parts of speech you use to build commands and turns them into an abstract machine-readable JSON list you can just use a deferred reduce on.
Essentially, you Promise.reduce(ast) with a Map of command functions
The commands might be cached functions or snippets from memory that are compiled in the sandbox and executed with the options from the AST, then the promise is passed to the next command.
 
you can even try to go with eval(ast)... not sure if it can work...
 
I'm still not sure I follow. I'll have a look when I get home
 
I'll try to put together a more complete example.
 

« first day (2502 days earlier)      last day (2461 days later) »