« first day (1986 days earlier)      last day (2857 days later) » 

8:00 PM
It's its own bytecode and platform
 
oh, the twitch thing?
 
@aditsu yes
 
@Mego okay, now we're just going in a loop
 
Great, now JS will lock up. It doesn't like loops :(
 
@orlp why do people watch some guys playing tetris?
 
8:01 PM
@Geobits it'll exit cleanly with a Maximum call stack size exceeded error though rather than lock up your computer
 
@aditsu you'll see :)
 
@quartata I don't think you understand what asm.js is. It isn't a language that's compiled to JS.
 
these are not just 'some guys'
 
@Downgoat there's another caveat of JavaScript: you can't simply screw some guy's computer
 
@Downgoat If it's increasing the stack maybe. I can definitely write a loop that will lock up a browser, or at least I have accidentally in the past >_>
 
8:03 PM
@quartata @Downgoat that's what wasm is
 
> Q. Is asm.js a new language?
A. No, it's just (a subset of) JavaScript.
 
We all need to use Fortran for web
 
@Geobits yeah?
@Quill screw it just use punch cards
 
@Downgoat f f s
That isn't what I'm saying
You're saying that we can use any language we want just by compiling to asm.js
I'm explaining why that's not good enough
(and why that's not really true)
 
wait, are these guys playing and talking at the same time?
 
8:05 PM
@aditsu The couch commentators are talking, the speedrunner is just playing
 
no idea who's who :p
 
@quartata I'm saying the issues you've brought up have solutions but you're saying they're not good enough because of speed concerns and asm.js solves that. What else?
 
@orlp are they some of those guys who played tetris for 7 months non-stop instead of going out? :p
 
@quartata Because asm.js is a terrible hack and Mozilla can't be arsed to get together with the llvm and chromium devs to standardize PNaCl?
 
@mınxomaτ yesssss
PLS
 
8:06 PM
I think the true solution is to stop using the browser
 
@Downgoat asm.js is about 1.5x faster than JS
 
let's all go back to pure terminals
 
@mınxomaτ What's asm.js?
 
In exchange for this tiny boost you're given this incredibly difficult to transpile to target
 
8:08 PM
@quartata what giant scientific simulations are you doing that requires machine-code fast execution?
 
@quartata Not that difficult. LLVM does a good job, and asm.js is awesome. I recently managed to learn how to perf tune it correctly. But it is a hack. Like using a toaster to make coffee. PNaCl is awesome but where it's missing the standard and a decent documentation.
 
And what's PNaCl?
 
Anonymous
@aditsu The players are actually talking a fair amount. That will change with TGM2 and TGM3, which are much harder and require a whole lot more concentration
 
@Downgoat meh, if most "client side" rendering were 1.5 times faster, we could actually feel good about using said libraries
 
8:09 PM
Basically assembly for Chrome
 
@quartata What? No.
 
wasm guys, that's where it's at
 
It's a sandboxed environment for C/++ native code. Demos are here (if you have chrome): gonativeclient.appspot.com/demo
 
@mınxomaτ You use the pNaCl toolchain to compile C to a bytecode that chrome can run
 
@quartata But that is not Assembly.
 
8:10 PM
> Basically
 
Not even basically.
 
Sorry, I didn't realize we were being particularly precise about terminology here.
 
@Quill if you're talking about graphics WebGL and all work fine for most thingsl ike space toy. If you're trying to make a 3D game A) use game engine B) why are you making a 3d game in Javascript C) see B.
 
Assembly to me usually implies some form of machine code for a platform
Not sure how that fails here
 
g'bye guys. have fun
 
8:11 PM
Assembly is a readable language that compiles mnemonics to bytecode. AFAIK there is no assembler for NaCl.
 
There is
 
@Downgoat I meant like Angular and React
 
@aditsu that was the warm up :)
 
@quartata Where?
 
Well, not in that sense. it's llvm
 
8:12 PM
LLVM IL is not Assembly.
It's IL.
It posses concepts not present in Assembly, like Phi-nodes.
 
@Quill they are plenty of solutions for that though. You can even roll your own in 15 minutes
and they are like hundreds if not thousands of alternative, much more lightweight libraries
 
@Downgoat just because you can roll a solution fast doesn't mean it's a good solution
 
@Downgoat You seem to be focusing on the speed part of my argument even though that's not all there is to it
 
@quartata what else?
 
8:13 PM
The fact that asm.js is a massive hack that JS was not meant to do and that it involves significant effort?
 
Dangit, I missed the first half of the Tetris run
 
Imagine trying to compile JS to a subset of Python
 
Anonymous
@Sherlock9 TGM1 was fairly uneventful. 4/4 clears.
 
@quartata which is why you use another language which compiles to it?
 
It's like trying to coerce an apple to an orange so you can compare them
 
8:14 PM
@Mego Thanks
 
@Downgoat How does that change anything???
 
@quartata sounds like JavaScript's type system
 
Anonymous
@Quill Damnit you beat me to the joke
 
@Quill I actually realized that while I was typing it....
 
Anonymous
It doesn't start getting interesting until TGM2-3
 
8:14 PM
@Mego I'm sure you'll have another chance to make that joke
@quartata ;-) it has truly scarred us all
 
Anonymous
Oh no they're playing Clock Town Days 1-3
 
Anonymous
I can feel the stress level rising
 
@quartata this is still about speed? Why would you be using asm.js if you didn't care about speed?
 
So PNaCl isn't sodium chloride phosphate?
 
@Mego 2 should be starting soon
 
8:16 PM
@Downgoat Are you actually legitimately suggesting I try to transpile to regular JS
 
Anonymous
@LegionMammal978 That's Chrome's plugin API
 
Anonymous
PPAPI
 
@Mego That's Pepper
 
@Mego I know, jk
 
@Downgoat Watch some intro videos on PNaCl or read the docs. You are definitly missing huge chunks of technical information.
 
8:16 PM
@LegionMammal978 No, it's a dumb way to write pinochle.
 
Anonymous
@quartata Oh whoops, whatever
 
Anonymous
@Geobits pinochle is also a dumb way to write pinochle
 
True
 
@Geobits Dangit. Was thinking of a good way to frame that joke :D
 
@quartata what? are you trying to write your own transpiler? I have no idea where you're going with this.
 
8:17 PM
@Sherlock9 Let me know if you find one. I couldn't, obviously ;)
 
@Downgoat In order to not use JS I have to use a transpiler. I'm not saying I'm going to write it myself, I'm just pointing out how ridiculous the making and usage of one is
 
Downgoat your chatbot is broken
 
spooky
 
@Quill use the terminal. online REPL is borked
 
and why does it like to watch CSI so much
 
8:18 PM
@Quill That's not a chatbot.
Cool rant though.
 
@Quill I specifically left a comment in the source that this._csi is not crime scene investigation
2
 
@Downgoat hahahahahahaha
GH Link?
 
@quartata it's in C9 >_> you'll need to dig through history
 
@Downgoat Then what it is? Or where is the comment?
 
Anonymous
@Downgoat Is that because even the forensics team doesn't want to look at it?
 
8:19 PM
@Downgoat Yeah?
 
cheddar silly interpreter?
 
@Mego Oh man that was just cold why would you do that
 
@zʏᴀʙiɴ101 call stack index.
@Mego ;_; no
 
Mar 12 at 16:34, by mınxomaτ
user image
 
8:20 PM
@mınxomaτ ( ͡° ͜ʖ ͡°)
 
I pushed that right after the Paris attacks without even realizing.
2
 
go go gadget TError
 
@Downgoat What is the GUI? :3
 
zzzzz
so much setup time
 
@zʏᴀʙiɴ101 GUI?
 
8:22 PM
Editor?
 
C9
 
yay it continues
 
Your font size is set to damn high.
 
to prove you that homemade parsers are the best i am going to create a programming language
 
Anonymous
@quartata I saw the opportunity and I took it
 
8:22 PM
@mınxomaτ its default font size
 
Anonymous
@TùxCräftîñg Good luck with that
 
@Downgoat It's too damn high.
 
@TùxCräftîñg Been there. 1/80 chance it'll work.
 
Anonymous
Why is the table not symmetric?!?!?
 
8:23 PM
i have already created a parser for a mathematica-like programming language using a homemade parser
 
@aditsu @Mego now it gna be good
 
@TùxCräftîñg parser source?
 
@aditsu Sorry for late reply; here you go:
 
@Downgoat i am going to github it
 
Anonymous
TGM2 hype :D
 
8:25 PM
@Downgoat look at this demo: gonativeclient.appspot.com/demo/earth its literally leveraging multithreading in a browser. How the hell can you do things like that with asm.js?
 
HYYPE
 
@Maltysen Serious question: how do you sleep in JS?
 
@Maltysen I just posted that link.
 
That's up there on my list of things that drive me nuts
 
 let to_execute = this.body;
unfortunate naming is unfortunate
 
8:26 PM
shake(this.booty)
 
@quartata node has a sleep library, but browser js doesn't support it
@mınxomaτ let that = this
 
remember this
29
Q: Oneboxing OEIS entries

flawrIn math.SE as well as in codegolf.SE we quite often use OEIS (Online Encyclopedia of Integer Sequences), which the standard reference for sequences in combinatorics and number theory. I think - and apparently I am not the only one - this would be an excellent addition of sites that do get onebox...

 
@El'endiaStarman It's a private beta? D:
 
@orlp don't see anything interesting so far
 
@zʏᴀʙiɴ101 Sorta? Seems like they're rolling it out gradually to get feedback.
 
8:27 PM
@quartata setTimeout
 
@quartata Make your own scheduler and run it as a worker. Innit great ( ͡° ͜ʖ ͡°)?
 
@El'endiaStarman thanks, huh, no picture?
 
@Downgoat ehhhh ok
 
@Downgoat except that its inaccurate, of course
so people have to write third party libraries for it
 
Anonymous
8:28 PM
The GM challenge in TGM2 is interesting :P I remember it blowing my mind at AGDQ last year
 
Can you have multiple timeouts active at once?
 
@quartata yeah
 
@quartata yeah that's why they are async
 
That'll eventually block your browser if you're doing intensive calculations. Some browsers (e.g. Edge) will outright refuse to even load pages with bad/blocking *Timeout / interval functions.
 
@aditsu Oh there is. I just chose not to include it in the screenshot to maximize the number of new/different things included in my screen's area.
 
8:29 PM
@Downgoat Oh, OK. That's not terrible then
 
@aditsu it'll happen at the end
besides, this is already insane speed
 
@mınxomaτ oh ew
 
1 min ago, by Maltysen
@Downgoat except that its inaccurate, of course
1 min ago, by Maltysen
so people have to write third party libraries for it
 
@Maltysen yes, it sucks that the delay on my Hello, World alert is 1ms off. users are gonna hate my product
 
@Downgoat so homemade parsers sucks ?
 
8:30 PM
1ms is so long.
 
@TùxCräftîñg link to your parser?
 
@Downgoat A 1 MS delay is incredibly bad if you're doing something networking or graphics related
1 min ago, by quartata
@mınxomaτ oh ew
 
@Downgoat are you kidding, you get max like 50 ms prescision
 
Oh shit, Germany's loosing >.>
 
8:30 PM
@Maltysen Oh my.
 
@quartata in almost all cases in JS you don't need to use setTimeout
for graphics requestAnimationFrame exists
 
@quartata well in most cases is more accurate than that, but doesn't work for smaller intervals at all
 
@quartata 60 fps is 16 ms
 
@Maltysen no?
 
8:31 PM
@Downgoat srry
meant 50 fps, 20 ms
still terrible
 
2 mins ago, by TùxCräftîñg
@Downgoat so homemade parsers sucks ?
 
> var a = performance.now();
setTimeout(function() {
	console.log(performance.now() - a);
}, 50);
< 37244 = $1
> var a = performance.now();
setTimeout(function() {
	console.log(performance.now() - a);
}, 50);
< 37250 = $2
> var a = performance.now();
setTimeout(function() {
	console.log(performance.now() - a);
}, 50);
< 37256 = $3
 
Anonymous
TGM2 is getting intense :D
 
@aditsu you do realize they play with instant gravity, right?
they have to maintain a 'pyramid'
 
@TùxCräftîñg sorry, I meant lexer
 
8:32 PM
@TùxCräftîñg No they don't. Look, I've managed to get a homemade parser, linker and assembler all in one thing working.
 
because once a block is down, it can't go up
 
@orlp oh shit
 
it's a little bit exciting now
 
@aditsu and now it starts...
 
@Downgoat tokenizer is here
 
8:33 PM
but.. it's still tetris :p
 
Anonymous
Aww RIP
 
@Downgoat Clearly 0.006ms will break my app
 
Anonymous
They didn't get S9 :(
 
nvm.. :(
they weren't fast enough
 
> regexs = [
so are you using regex or your own im confused
 
8:34 PM
]
 
@Downgoat it works for things like that, but i tried writing an emulator for something inside js, and as soon as it starts geting a little intensive it sucks ass
 
I feel like part of the reason the apple website has so much "traffic" is because Safari uses it as a new tab page
 
@aditsu they play at super super fast speeds, with instant gravity, and in the final part the blocks literally become invisible
 
@Downgoat i use a regex-based tokenizer and a top-down parser
 
Anonymous
Grandmaster mode is so much more intense than master mode
 
8:34 PM
@Quill Same thing with calling IE "the most used browser".
 
@Mego what's the difference?
 
@Maltysen then you're probably not doing it right. They are APIs to solve 99% of the problems you'll have
 
@Maltysen blocks are invisible
 
@orlp what do you mean?
 
@Quill i think they've changed it to google?
 
8:35 PM
@Maltysen that you can't see the playing field
you have to play in your mind
 
Anonymous
@Maltysen In grandmaster mode, the drop speed stays as high as it is at the end, and eventually the entire board goes invisible
 
Anonymous
As opposed to the slower speed and just a few blocks going invisible in master mode
 
@orlp wait, only we're seeing it?
 
@Maltysen no, they didn't reach grandmaster mode :(
they weren't fast enough
the game deemed them not worthy
 
@TùxCräftîñg okay >_> I meant lexer not parser.
 
8:36 PM
@Downgoat why the fuck should I have to use a library for alarm which POSIX decreed to be one of the essential things that all UNIX platforms have
 
Anonymous
They didn't get S9 before 999
 
@orlp 999/999 would put them in grandmaster mode?
 
@Downgoat lexer != parser
 
Anonymous
They hit 999, but they were only S8
 
@Maltysen it has time requirements, score requirements, etc...
it's kinda complicated
 
8:36 PM
S8?
 
Anonymous
They each needed one more tetris (4x line clear) before hitting 999 to go grandmaster mode
 
@quartata because that's not applicable in the context of a web app?
 
@Mego ooh is sgdq on?
 
Anonymous
For S5-S8, to get to the next rank, you have to beat a score threshold and get a tetris within a time limit
 
Anonymous
@quartata Yep, tetris block :D
 
8:37 PM
will there be another round?
 
@quartata Yup. Been on since the 3rd :D
 
Anonymous
@Maltysen Not of TGM2 Grandmaster Challenge
 
Anonymous
They're gonna do true death mode or whatever it's called next
 
Anonymous
Which is even more insane
 
is it invisible from the beginning?
 
8:38 PM
@Downgoat About two mnths ago I set out to do something in JS (infinite scroll). The first thing I googled was how to do sleep and I had to do a shitty while loop compare date monster.
 
Anonymous
Watch and see :)
 
@Mego Rules of that mode?
 
@quartata I wonder if people just start using NaCl and just ignoring FF, whether or not they'll catch up
 
Anonymous
I find it entertaining that we're discussing SGDQ more than The Bridge
 
what is NaCl ?
 
8:39 PM
What if i want a button to do something networking related two seconds later? Do I just swallow the potentially late packets because of settimeouts inaccuracy? These are totally relevant to webapps
@Maltysen Possibly
 
also multithreading in a browser!
still can't wrap my head around that
 
Oh hey, Redux is really nice
 
@quartata I think you don't understand that some languages are different from others and JS is one of those languages. You'll have to actually bother to learn the APIs, and that understand that things aren't done the in the exact same way as C but with different function names. Your solution is a completely incorrect way for accomplishing infinite scolling in JS, where rather you're supposed to use event listeners.
Using while loops to do infinite scolling is just asking for the browser to crash
 
Actually had nothing to do with that. I just needed a sleep for populating the page with the new content so that it didn't appear all at once
 
@quartata most promise libraries have a sleep/delay function.
 
8:43 PM
You can't know everything an end user will do. Why not just give them all the tools?
@Downgoat which goes back to me saying why on earth would i need a library for something that basic
 
@quartata you do get all the tools?
 
Well clearly not since i need a library
 
i have found this in my github ._. github.com/tuxcrafting/surprise
 
Anonymous
It's the same problem as C and C++: there's a whole lot of basic, necessary stuff missing from the standard library
 
@quartata browsers have built-in promises and you can do what you said pretty easily using:
 
8:45 PM
Except even C has alarm. It's a POSIX call that is accurate
 
function populate() {
    document.blah.innerHTML += foo;
    setTimeout(populate, 100);
}

document.onload = populate;
 
Anonymous
@quartata I meant like std::string::split not existing
 
sure in this case. but what about my button example?
 
@aditsu ARE YOU NOT ENTERTAINED?
 
@quartata so something like?:
 
Anonymous
8:47 PM
Wow that was insane on the time
 
Nah ghad. We actually lost. ;_;
 
@orlp not really.. :p
15 mins ago, by aditsu
but.. it's still tetris :p
 
so when usain bolt runs 100m in <10sec
you say
"but... it's still running"?
 
-0==
 
function sendpackets(packetlist) {
    packetlist.map(packet => new Promise((y, n) => {
        // send packet asynchronously
    });
    Promise.all(packetlist).then(success => {
        // do something with success
    });
}
 
8:50 PM
Wasn't my example also that's an es6 feature
at least I thought
 
so? that's like complaining python doesn't have full unicode support, and when you learn python 3 does, complaining that's python 3.
most browsers support promises and you can use a polyfill it by inserting a single line in your html.
 
Anonymous
@Downgoat Your argument is invalid because Python 2 has unicode support, since 2.0 (in 1999!)
 
running is boring too, yes, but at least it's more practical
 
No that would be if the only interpreter for python 3 was hidden at the bottom of a filing cabinet behind an unused lavatory with a sign that said beware of the leopard
2
 
@Mego it was an example and I don't know shit about python :P
 
Anonymous
8:53 PM
@quartata Wait you mean I didn't have to go through all that to get my interpreter?
 
Anonymous
149 rep for today, only 51 more for a b2b cap :D
 
Anonymous
My rep graph is... interesting...
 
@Mego Back to back rep cap?
Why the back to back?
 
@quartata That's irrelevant and absurdly exaggerated
 
@orlp besides, an AI could do it twice as fast
 
Anonymous
8:55 PM
 
Anonymous
@aditsu AIs can run now? Crap, the robot revolution is here!
 
@Downgoat A quote from Hitchhikers. You get the point though. My boss would scream at me if i told him our webapp required Chrome Canary
 
@aditsu get ready to not be entertained at all in 50 years anymore then
 
@Mego You have transgressed the rep cap twice? :O
 
8:56 PM
@orlp if I want to be entertained, I'll watch entertaining stuff :)
 
@quartata Learning JavaScript is like finding a scalpel when thus far you've been trying to dissect frogs using a chainsaw. Except then later you learn that most of the things you have to dissect are whales and the chainsaw was better after all.
3
 
@Downgat this doesnt even load
@mınxomaτ this is 100% accurate
 
Why the back to back in back to back rep cap? :/
 
It means one after another
 
@quartata okay well then reference this message instead
 
8:58 PM
@zʏᴀʙiɴ101 Consecutive.
 
Ah k :)
 
heh, 2-player is a little bit more entertaining
 
THEY DID IT
 
@Mego When did you transgress the rep cap? :)
@orlp DID WHAT?
 
HE PUT HIS LONG PIECE IN THE HOLE THE OTHER DUDE CREATED
3
 
Anonymous
8:59 PM
@orlp braces for incoming flags
 
@zʏᴀʙiɴ101 cleared doubles mode tetris :P
 
@orlp wtf
 

« first day (1986 days earlier)      last day (2857 days later) »