« first day (1429 days earlier)      last day (3518 days later) » 

9:07 PM
@copy hrm?
What bug?
 
hey
 
That's not really a bug
It's not my intention to restrict you from "escaping" the sandbox
 
I know, wrong word
Should still be prevented
 
m59
9:11 PM
This is hard to google
What is a good tool for binding into a js file?
 
@m59 this is not only hard for google, it's also hard for us
 
m59
var x = <%= stuff =>
that's ejs, right?
 
probably
 
m59
Sounds like that's supposed to be for html
 
I don't understand what you are saying
 
m59
9:14 PM
I need to dynamically build a js file using some bindings with a json
I mean, I could even do it in jade, but the script would actually have to be in the jade file
 
what do you need to do that for?
 
@copy Maybe, but preventing that will be meh. I rely on accessing window.top for the console object, so now it'll have to be message passing too?
The iframe can be sandboxed, sure. It could also be in a webworker
But I don't think it's anything you can't also do in jsfiddle, or any other code-sharing site
 
The iframe needs to be on a different hostname
 
@FlorianMargaine Youuuu sonovabich!
 
@Zirak it is. That's why jsfiddle uses a different domain for the iframes
 
m59
9:15 PM
I wrote a script that looks through my project and puts together a json structure of all the files and I used it to generate a jade site
 
@SecondRikudo :D
 
m59
now I just need to get my angular code working in a similar way
It's pretty nice.
 
aaww, but then I'll have to postMessage for console things
 
@FlorianMargaine I was literally watching for about 10 revolutions before I started looking for the loop.
 
aaww
 
9:17 PM
$ cal 9 1752
those with linux ^
 
@FlorianMargaine Old
Literally
 
@copy shaddap
 
what the fuck
$ sl
may need a apt-get install sl, yum install sl or pacman -S sl
or whatever else
brew install sl maybe
don't know much else
I won't mention freebsd...
or gentoo
which are "compile-everything" things
I feel so alone
 
Choo choo
 
Classic.
 
9:24 PM
... I like it.
 
@BenjaminGruenbaum that doesn't work as intended, I'm afraid
 
!!s/afraid/glad/
 
@SecondRikudo @BenjaminGruenbaum that doesn't work as intended, I'm glad (source)
 
@JanDvorak : At least it is possible for audio files.
 
9:31 PM
damn, it doesn't show the last one
@Zirak add location to see the error, try to save, reload the save
"bug"...
 
That makes sense, you've changed the iframe's origin, it can't be accessed now
 
I wonder if we can do the same kinda stuff on jsfiddle
 
ֿ@FlorianMargaine doesn't it play the music?
 
9:48 PM
Evening.
Quick Q, why such reg expression -?[(\\d)(?=(\\d{3})+(?!\\d))][\\,|\\.]\\d{2} woun't validate if I mark it from string start to end ^...$?
 
10:01 PM
Mornin'
 
@Eugene if something else is in the string
I gtg, but my advice to you is to check that each piece works properly before testing the whole thing
 
0
Q: How to get video height and width from a MP4 URL from client-side only?

user2284570I'm writing a user script for downloading videos. The flash player of the web site use a JSON file. The purpose of my script is to get the url of the video by downloading and parsing the video according to the web page. Currently it can download an extract the URL of the videos successfully. The...

 
10:27 PM
@FlorianMargaine Bumped up the font size, also fixed some of my retardation
 
Well that's one way to play I guess
 

« first day (1429 days earlier)      last day (3518 days later) »