« first day (1868 days earlier)      last day (3074 days later) » 

6:00 PM
y'all are nerds
I couldn't get into terreria
 
@Cereal it's better in co-op
then again, a lot of games are better in co-op
 
and none of them have couch co-op
 
well, that's what skype is for .. or mumble
 
@MadaraUchiha did I make a mistake in my spelling somewhere?
 
6:05 PM
@tereško I recall you made a few posts about that in the past
Including the cat ass trophe one
 
well .. I have become a lot less active in chat
 
that had me on the edge of my seat
I'm still feeling anxious after watching that
 
!!youtube europe the final count down.
 
6:16 PM
this will get me over it
 
crl
so 80, but good.
!!youtube forever young
 
@crl yea I've been listening to 80's tunes all day
lots of Queen and GnR
 
/me rocks out
1.5 hrs to go til hometime.
 
@rlemon ecksetra ecksetra
 
6:24 PM
@KendallFrey just keep watching man
that video is like instant anxiety
 
@rlemon I expected more.... but well done him
 
he fucking Dr. Zeused her
 
!!urban dr zeused
:D
 
@djsmiley2k No definition found for dr zeused
 
Awww
!!urban zeused
 
6:25 PM
@djsmiley2k Zeused When you have to fart but you can't, because you are in a compromising position so, you pull your ass cheeks apart to just make the breath of air sound.
 
rofl
 
posted on November 27, 2015 by CommitStrip

Pirate avoids lawsuit after hitting 200,000 video views

 
I was expecting 'The name of the band the used, in germany'
 
that loovayrt tho
 
6:28 PM
@rlemon holy shiiiit
that was amazing
 
@rlemon lol what.
xD
 
> supposively
these goddamn scots
 
@Loktar but like.. was your heart racing
I had to step away after watching it
I've dealt with my fair share of crazy
THIS MAN!
THIS MAN IS MY HERO
 
arugh my brain hurts
Right now I show the user file select dialog
Upon selecting a file I want to display a Upload button.
T048,33884,WTPROD,n,n,n,Y,n,Y,Box!!
$('.attachBtn').click(function(e) {
	e.preventDefault();
 
what is "home" button on the keyboard? when it is useful ?
 
6:39 PM
goes to the top/start of a page
 
@Shafizadeh takes you to the beginning of the text
 
press it and see.
 
type into the input box and hit home or end
 
@djsmiley2k not, that is "pg dn", Also I pressed and nothing happens
 
annoyingly on here even in the inputbox it takes me to the top of the page
 
6:40 PM
@Shafizadeh dude, stop arguing
 
no, page down, takes you.... 1 page down
 
the keys do what people tell you they do
 
page up... guess what? Goes 1 page up.
 
@rlemon ah ok
 
home takes you to the top of a page if your focus isn't in a textarea / input
 
6:40 PM
home goes to the 'start', end to the...... no wai, the 'end'
 
I see tnx
 
currently working on jquery clone
 
They are all context sensitive and application sensitive, and OS sensitive...
 
where with my code clone is working perfectly fine
if user enter some random number
for example 2323232
 
which is why it is a bad idea to take over peoples normal keyboard actions...
 
6:41 PM
it will show kindly enter the correct number this was working on original div but when i click add more i am cloning entire div
 
@rlemon amen.
 
Talk about ways to ensure I never come back to your site.
 
kindly please check
 
@Shafizadeh if you want a free key combination, Ctrl+M is one of the safest choices.
 
6:42 PM
@AwalGarg it is free in all browsers ?
 
@Mahadevan please dont' dump your question in multiple rooms
 
@Shafizadeh all major ones, yes
 
pick one room and move on after you're done there
 
@AwalGarg ok tnx :-)
 
6:43 PM
@Shafizadeh if your page does not include audio, that is :P
 
@rlemon "dump" means "publish" ? (my dictionary says no)
 
post/publish yes
 
@AwalGarg :-) ! no, my page is empty of any sound files ..!
 
@KendallFrey omg I thought that was just an overlayed image, not actually working spinny thing
 
@Shafizadeh then yes, ctrl+m is your best bet.
 
6:44 PM
@rlemon ok tnx
@AwalGarg I got it
 
@djsmiley2k Yeah, it's designed to work with VR headsets
 
urgh
that'd make me feel sick
 
what number is key code of <space>?
 
from which event?
 
if you override space I'm going to find you and hurt you...
 
6:47 PM
@rlemon yeah, space is always jump
 
game UX !== webpage/app UX
not even a little bit
 
@AwalGarg keydown. where is <space>?
 
crl
!!mdn keycode
 
@Shafizadeh 32
 
6:49 PM
@AwalGarg very good ...! tnx
 
On some days, I am even better.
 
@Shafizadeh all you had to do is put your focus in that input box and hit space..
you're getting VERY vampy with your questions
you have the tools to test this stuff
 
crl
he's an ergonom
 
ok. relax... ;-)
 
maybe his spacebar is not working?
 
6:50 PM
:)
 
Hey
What's up?
 
crl
sky?
 
A message
 
my blood pressure
 
@BenjaminGruenbaum hey
back yet? how was it
 
6:52 PM
cheese. Cheese is always up. It's also always down. Cheese is everywhere
 
crl
but there's no left
 
I must have eaten all of it
 
I think your question is very much ambiguous. "up" relative to what? "up" where? Where should I be looking at?!
 
crl
the url bar
 
Awal Garg breaks down after he was asked a philosophical question in a chat room of hackers with evil means to... break people down
 
crl
well in stupid window positioning the url bar is below* damn me
classic intern
 
Dos/Windows
is that from 1990
 
crl
most imgur pics are, an eternel reposting
 
It could be Windows 7/8 dumbed down to classic theme as well.
 
it says that, bottom right
 
6:59 PM
-2
Q: JavaScript function with interval doesn't work for the first time

haruka.kI want to run the function renews() with interval but want to run first time when the html is opened. so I wrote renews(); but it doesn't work. I could run other function of the code. but only this one doesn't. Thank you for the help! <html> <head> <script> var i=0; var...

everyone is like "ohh DOM isn't parsed"
but the script executes after three seconds
le sigh
the function runs in a timeout. It may not be parsed yet, but with such a minimal page it would be a safe bet to assume the element is parsed after the 3 second timeout. — rlemon 1 min ago
 
function renews () { /* do stuff */ return renews; }
setInterval(renews(), 3000);
 
that is an assumption
working on the code we're given...
 
crl
upvoting, she looks ok
 
you are what is wrong with the internet.
:P
 
crl
:) joking man
 
7:01 PM
lemons these days don't get jokes easily
 
srs bsns
 
I want to bundle up a CLI application that needs Babel. The application is separated into different modules. Essentially, I want to make a version of the ES6-specific code to be available for easy install for regular nodejs environments with ES5 (w/o needing babel etc). What's the easiest way to do this?
 
does anyone here ever use the numpad?
 
@RoelvanUden "regular nodejs" is more than halfway through ES6
you could try to ditch whatever parts aren't supported if they exist
and you could always just run the code through babel
 
7:06 PM
@RoelvanUden I'd use a makefile for that
 
@Mosho Impossibru! I use stuff that node doesn't like.
@AwalGarg Yeah, Windows.
 
make a build?
with babel
 
Yeah how do I do that?
 
@RoelvanUden CLI ... and Windows? weird combination :P
 
install babel
run babel
done
 
7:07 PM
It.. requires stuff all over the place?
 
@Mosho still here - meeting with Petka in 5 mins, sup?
How did we do with the version?
 
you want to create a bundle? webpack is very common
@BenjaminGruenbaum we didn't make it to preprod
 
Ok, so, how do I do a webpack build where babel is OK with requiring a bunch of shit from node_modules and transforming them? I tried browserify and it just goes "No.. no.. I can't find presets because you have them in the CLI but not in a node_modules so go fuck yourself" basically.
 
Oh wow, why @Mosho?
 
@BenjaminGruenbaum it wasn't expected that we would
 
7:09 PM
To preprod? What delayed it that much?
 
neither the homepage nor the top 25
 
To release the home page after a full month?
And top 25 after two and a half weeks?
 
code reviews? :P
 
What delayed it that much?
I'm coming back to a pissed off Uri :D
 
crl
css, (as it does for me)
 
7:11 PM
@BenjaminGruenbaum well, honestly it was just the amount of work
plain and simple
there were no real delays
 
Ok
Well, we'll talk about it on Sunday when I get back
 
@RoelvanUden webpack can do this: first pass everything through babel, then bundle the resulting ES5 code coupling all requires.
 
@BenjaminGruenbaum there are no jiras on the homepage atm, but I don't think the top 25 is at the jira phase yet
 
can someone help me understand this very strange bug in safari
 
@RoelvanUden it should just work
 
7:14 PM
when you resize the mobile nav is all sorts of going crazy
in safari
 
crl
soup
 
can anyone see what i'm see?
 
Module build failed: Error: Couldn't find preset "es2015" relative to directory
"C:\\Dropbox\\MangaRack\\node_modules\\mangarack-runnable-cli\\dist"
@Mosho That's essentially what I always get
Browserify. Webpack. Same stuff.
Fun part is that I am packing up something in node_modules/mangarack\src
And not wherever it tries to find the presets
 
that's babel
I don't know how your folders are set up
not sure why it would expect to find it in that path
 
7:26 PM
Like this:
> node_modules
>> mangarack (This one tries to bundle `src/cli.js` that requires into `runnable-cli`)
>> mangarack-component-common
>> mangarack-component-core
>> mangarack-node-core
>> mangarack-runnable-cli
 
okay, and each of these is a valid module?
 
They are. Running babel-node src/cli is just fine.
 
@Phreak how have you managed to make me only get <=30fps with lag on your homepage :P
without advanced animations
 
@RoelvanUden and the main field in package.json points to the entry file in each ofthose?
 
its not mine lol this company brought me on a project and its a clusterfuck!
@rlemon it makes no sense lol
 
7:29 PM
@Mosho Can you elaborate? The main of package.json points to the main file of its respective module, yes.
 
like really
how did a video and a few DOM elements make me lag that hard
 
@RoelvanUden what's in dist?
 
i don't know
ive never seen this
 
@rlemon my first guess would be forced sync stuff
 
@Mosho mangarack-* modules have TypeScript in src and its output JavaScript in dist, hence each main points to dist/something
 
7:31 PM
idk. I haven't looked into the code -- just noticed heavy lag so opened the FPS monitor
go from 10FPS to 30
when I scroll I dip to 20
anyone in here used gulp-sass??
 
did ya notice the visual glitch in safari?
 
@RoelvanUden try downgrading to babel 5
not really a solution, but it might work
 
gulp
.src(sass.files, sass.options)
.pipe(Sass())
.pipe(gulp.dest(sass.dist));
I see gulp-sass is doing something (works for 15ms, noop tasks take much less time)
but master.css (generated file) is blank
no errors.
 
sass.files is correct?
 
in Python, 56 secs ago, by Awal Garg
js is crap :P (don't post this in the JS room though ^^)
 
7:33 PM
yessir
 
dat blue name though
 
When you remove the sass() part, you see files in the destination?
 
FUCK OFF!!!! s/sass/scss/ :(
my bad, the file locations were wrong
this isn't the first time I've done this either :(
 
@nick haha cheeky bastard :D
 
lol I had to
 
7:35 PM
Blue name? Where?
 
the bird
 
the plane
 
she's been lurking for days..
 
@Mosho Slightly different Q while I wait for the install; shouldn't node support features like let?
 
It does
 
7:35 PM
with "use strict"
 
Read the error message
 
node 4.0+ does
 
node 4 even supports arrow functions :D
 
should use node 5
is newer
fuck lts
 
Oh I should tack on "use strict" on EVERY file?
 
7:36 PM
@rlemon agreed
 
Node 4+ is life. Node 4+ is life.
 
Did you install the es2015 preset?
 
yea you need the preset
 
@RoelvanUden babel adds those
 
babel 6.0 doesn't ship with any transformers
 
7:37 PM
and yeah, install the preset if you haven't lol
did I not mention that? :D
 
well, nothing explicitly enabled
 
just use babel 5 imo
babel 6 still has problems
 
Right but I might not need babel if let and generators are supported in node 4+
 
yeah, that's why I offered that solution
 
And Promises. Don't forget about those.
 
7:38 PM
es6 compat table
 
If use strict every does the trick.. let me test! Thanks for the hint! :D
 
yeah but if you're publishing a public module you might want to offer backwards compatibility
either that or require 4.0+
 
I don't care about backward compatibility at all.
 
@RoelvanUden classes are supported too :D
 
@AwalGarg Aaaaaand you had to ruin the moment, didn't you?
 
7:39 PM
Hm, TypeScript still emits prototypes afaik
 
@MadaraUchiha how?
 
But class support is okay I guess.
 
@RoelvanUden If you run node with the --use-strict flag, you don't need to add that directive in files.
 
@AwalGarg your conception
 
@nick still didn't understand :/
 
7:41 PM
@RoelvanUden it all emits prototypes
 
GOOD LORD.
It's actually running in node 4+ w/o babel or other tricks.
@AwalGarg Oh really? That saves effort! :D
 
yep, I have node aliased to node --use-strict :P
 
@RoelvanUden welcome to 2015 ^_^
 
typescript should be able to add "use strict" to all files
 
Hah nice.
 
7:43 PM
surprised it doesn't by default
 
@Mosho How? :-)
 
because BC
 
@nick you joined the new job already?
 
@RoelvanUden idk, never used
googling for a few seconds doesn't turn up anything useful though
babel adds use strict to everything
 
Hm same here. @AwalGarg little --use-strict trick is nice though.
 
7:46 PM
@AwalGarg not yet man im still interviewing with a couple other firms
 
But not having to enter that and just using 'use strict' makes sense for me
 
the week has been a wash cuz thanksgiving and all that, so i got a ton of stuff lined up next week
 
@RoelvanUden It is mostly used in shebang'ed scripts, but I forgot you are on winblows :P
I guess batch can do that too, no?
 
Yeah it can, and it's a good option for my purposes, but having the ability to dev just running node is nice too
 
yeah the directive is more explicit and I prefer putting it as well
 
7:51 PM
my debug script runs node-mon instead of node
amazed it took me this long to start using a watcher
 
Just Cause 3 is 100 bucks
For what reason
I need a less expensive hobby
brb picking up programming
 
teach me how
 
Thanks for showing me what's possible in 2015 :-P This is pretty great.
 
you're welcome man
2016 is right around the corner who knows what's in store?
node v17 maybe
 
@RoelvanUden heh, I guess you shouldn't find this much surprising having C# experience :D
 
7:59 PM
Nah, it's still cool though.
 
@ivarni I am so disappointed in you
 
One more Q: I want to uglify my bundle. Of course, it containing ES6 code, uglifyjs goes "Boohoo no!". Is there a different compressor that, at bare minimum, just removes whitespace etc?
 
@RoelvanUden uglifyjs has a harmony branch which is a WIP but works for a lot of cases
 
you want to remove whitespace? s/\s+//g :P
 
export const waitForValue = (getter, interval = 500, timeout = 5000) =>
	rx.Observable.interval(interval)
		.map(getter)
		.take(timeout / interval)
		.skipWhile(x => x == null)
		.take(1)
		.toPromise();
I wrote this to wait for a http only cookie
is that dumb
 
8:12 PM
Hah. ES6 features, bundled up to a single file, with full stack traces of the original TypeScript code. So much love right there.
 
@RoelvanUden Closure can take in ES6 but can't spit out ES6
(at least when I last checked)
 
@Mosho agreed
I just went back to babel 5 yesterday
No decorator support in 6 :/
 
crl
what is rxjs useful at? event system?
 
it's an observables library
events, async stuff
other similar flowy things
shines doing things that has a time element
 
crl
8:27 PM
ok was checking their page on GH
 
yeah, that one is extremely and unecessarily verbose
 
anonymous going for canada? youtube.com/watch?v=h2MfM4edIIY
 
crl
thanx.js
 
set NODE_ENV=production is not changing environment mode to production. Still development shows up in console on printing.
how to change the mode?
 
8:37 PM
@rlemon 4^
 
let env = process.env.NODE_ENV || 'development';
I got it. used set in linux. It's for only windows. For linux, it's export NODE_ENV=production
 
@saaggy18 You mean environment variables in batch? I think it's SET foo=bar
 
that's for windows
@Zirak it's export foo=bar for linux
 
can I open a file from an import statement in webstorm?
 
8:52 PM
@saaggy18 And you asked about windows, right?
 
ctrl+b
noice
 
@Zirak he "used set in linux", while it is "for only windows" :P chat.stackoverflow.com/transcript/message/27161084#27161084
 
I'm confuzzled
 
he used the SET command in linux, while the SET command is only for windows
 
@Zirak : @AwalGarg is right
 
8:54 PM
As long as you understand each other
 
you still didn't understand? :o
 
@Zirak can haz personal opinion of python(3) debugger choice?
 
pdb for greater glory?
 
@Zirak no colors :(
 
You can probably use ipython as a debugger somehow
 
8:59 PM
@Zirak yeah I got that and some other results from googling, but I was hoping for something you have used and can recommend :P
 
Sorry, not really. I'm not that big on debugging tools, or python.
 
np
 

« first day (1868 days earlier)      last day (3074 days later) »