« first day (1789 days earlier)      last day (3381 days later) » 

18:01
@rlemon that*
no, this
morning
@Cereal clarified, that's probably a good idea
@rlemon yea
I remember the pen, the audio is perfect though
user406009
@Jhoopins I don't really care too much. If anyone wants me to turn it off, I will.
user1596138
18:08
@Lalaland I think it's awesome.
@Loktar it was a struggle. Twilight Zone song or X Files
user406009
I have received exactly 0 complaints about StarGazer.
@Lalaland same
although to be fair, no one ever complained about my flag monitor
they just plugged the hole.
18:10
The things that go mooo
user406009
@Jhoopins Anyways, StarGazer only strictly works in the normal chat view. Not the transcript.
user406009
So it's just for lols.
any way to have scripts inserted in dom and parsed and executed synchronously?
user406009
Isn't there an async attribute for script tags?
I want them synchronous for testing
18:15
@Jhoopins jhoopins is funny; jhawins is just weird.
user1596138
Go home Nick
I am
user406009
Oops, read that as "async". Sorry.
working from home today
user1596138
Sweet
user1596138
18:16
Same
user406009
@AwalGarg AJAX and then eval?
user1596138
But because I can't drive lol
I hate working from home, but my stomach is trying to kill itself
possibly an ulcer? Hoping it is...
@Lalaland wanna keep the url as src :(
reason: science
18:18
I really wish the semanticui documentation told you how to use the stupid callbacks
I know that... I want to insert script tags with src. Ones that the browser fetches for me, not I do.
user406009
Hmm, my best guess would be to use a callback somehow.
user406009
It would be really ugly.
@AwalGarg nope
no u :'( I want to do it. let me poke at the extension API to see if there is something
18:21
^ seriously how is it
not working
Ah, figured it out
Shut up and enjoy it
Any suggestions on Independent of Node.JS Javascript Unit Testing Frameworks. I am currently using Mocha and Chai, and I need some sort of testing framework that is friendly in an environment that is strictly Javascript.
Someone write a browser which lets me hook random code to the internals at runtime.
18:23
isn't node strictly javascript?
@Mosho plz upload staging
@Mosho people want to go home
Something I don't get: if you're using a method that binds something to this, and you use an arrow function, will that cause any problems?
@Mosho miki wants to kill us
@Mosho make the build go faster with like, wizard stuff
user406009
@corvid What do you mean "will that cause any problems"?
@Cereal Node is a superset for Javascript.
user406009
18:24
Think of arrow functions as just shorthand for (function(){}).bind(this)
user1596138
@corvid Why would it. The bind will still return the same as always
@Cereal Just like how C++ is a superset of C.
user406009
Sometimes this is good, sometimes not.
user406009
@JosephMCasey That's a bad analogy.
user406009
NodeJS is just JavaScript with some libraries.
18:25
Pretty sure node's just a framework
@Lalaland How so?
user406009
C++ is a completely different language than C. With different semantics, etc, etc.
I mean, for starters
let future = new Future();
Meteor.bindEnvironment(() => {
  this._commands.write(`${command\r}`, 'utf8', future.return);
}, function (err) {
  future.return();
});
future.wait();
user1596138
@JosephMCasey I agree it is a really bad analogy jus sayin :P
18:25
> About Node.js®

As an asynchronous event driven framework,
Like that. Meteor.bindEnvironment should bind a different this to the callback it's wrapping
@Mosho is it up?
^ it's a framework
user1596138
It's like how Java is a superset of JavaScript
5
People, plz, halp, everyone ping @Mosho asking him to publish preprod
18:26
@Mosho Public preprod
user1596138
@Mosho turn off ALL the servers. Now
@Mosho dance
@Mosho make @JanDvorak a sandwich
user406009
What's Mosho supposed to be publishing?
dance videos
18:28
@Lalaland I'm wondering the same..
@Zirak hey! you're suposed to ping only @Mosho
@Lalaland our code
@Mosho Publish it to a public git repo
@Jhoopins meh
github.com/jquery/esprima/tree/2.6/test/fixtures/ES6/… so... there is some es6 documentation. kindof. almost.
user1596138
18:32
@AwalGarg If you want ES6 you should be looking in the harmony branch
> This unofficial harmony branch has been removed.
user1596138
Hah. Rad
website claims to have full es6 support according to the current stable spec
user1596138
> Full support for ECMAScript 6 (ECMA-262)
http://esprima.org/
user1596138
18:34
Yea I see that. From July 30th
user1596138
I did. All checkboxes are checked and issue is closed, so I guess the claim of full support is right :?
user1596138
Does something not work or?
The demo site. Put some ES6 module syntax in it and it throws.
http://esprima.org/demo/parse.html?code=%2F%2F%20Life%2C%20Universe%2C%20and%20Everything%0Aexport%20var%20answer%20%3D%206%20*%207%3B
user1596138
Oh just check tolerate errors
user1596138
18:37
You'll see the error at the bottom of everything
Why is it an error in the first place?
user1596138
It isn't. Try putting in a syntactical error with tolerate errors on
user1596138
It's poor wording.. It's basically the experimental switch I guess.
hmm, and that experimental is now stable so I guess demo site hasn't been updated :/
user1596138
Yeah Idk what it should say but I think the demo is just outdated.
18:40
esprima.org/esprima.js is the included file, which is marked v2.6.0
weird. Imma just ignore demo
user1596138
Yeah just do that..
19:01
oh
Is florian from france?
trying to implement webhooks in jquery plugin any suggestion/way to make it easier?
@GauravKumarArora Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
When dimming goes wrong: i.imgur.com/nP487fQ.png
19:18
@Cereal that's an angry kitten (and good res)
@AwalGarg Creeper
Nice porn tab
I wish.
Yay I figured out how to do it you guys
@corvid make sure you use protection
19:27
What
how would one change a bootstrap dropmenu so that the items "Top Player Signup" start far left under Players?
Instead of underneath their parents
odd design I know
Any known place to know all the updated news about angular2.0 ?
just putting this out there once again :P (Flappy Bird, my entry to js13kgames)
http://js13kgames.com/entries/flappy-box
g'night everyone!
19:50
s/bird/box/
@towc gl :)
@Callum shit, right XD
function resolvePath (p) {
	var a = document.createElement('a');
	a.href = p;
	return a.href.replace(location.origin, '');
}
^ review pls?
it somehow magically worked for my immediate usecases but I wonder if it is really a goodish function?
19:57
?
.-o|0O
I mean, upon reading it I'm not sure what it's supposed to do
resolvePath? (that's the function name :P)
@JanDvorak get the path?
!!mdn location origin
19:58
@JanDvorak URLUtils.origin
no IE support until IE11?
nobody cares
good enough for non-government work? :-D
All my front-end work is related to personal/internal tooling.
@AwalGarg then why ask an opinion?
goodish functions support IE.
20:06
Opinions are like assholes: you should try to see as many as you can.
anyone can write new shit that works.
@ssube or lick!
yknow, I try not to lick people's assholes, but you're welcome to
@BoltClock I just googled boltcock to see if you had any other profiles that might be written like that... I have lost my innocence to the internet... Whatever you do, do not look it up. And especially, don't look for images! — Bram Vanroy 6 mins ago
tough search right there..
@Loktar but Cats lick their own assholes
:drops mic:
20:11
my Cat isn't that flexible :(
get that cat on a diet!
@Loktar I meant code review (eh, I won't like to leave saneness just because some code isn't gonna face production)
@tymeJV tell her that and get your ass kicked :P
> eh, I won't like to leave saneness just because some code isn't gonna face production
what do you mean? @AwalGarg
anyone here ever buy used from amazons warehouse?
my code shouldn't be ugly just because it won't go into production or other devs aren't gonna work on it.
20:13
Looking at an item that is in "very good condition" for $100 less
but have never bought used from them
you haven't?
good point @AwalGarg, my only critique is your variable naming
-1
Q: Left align Bootstrap dropdown menu items to appear under wrong parent

JABFreewareI'm not sure how to explain this because I'm new to using bootstrap like this. Here is a picture: What I want is the items "Top Player" "Sign Up" "Etc..." to be far left, as if they belonged to "Players". All three items I want their subitems to appear in the same position as Players items do. ...

path, instead of p, but thats really minor
@Loktar yep, a few times. It's still different vendors, but Amazon is pretty good at handling things (especially if you have prime).
20:14
@towc nope, but its something for $270 vs $370
so I'm considerin git
I picked up an Onkyo receiver in good condition and it was essentially just open-box, although it did have some uni student's pandora logged in.
@ssube yeah I have prime, this one says fulfillment by amazon
sure. anything about the way it works? it just... works. I really don't know why :P I forgot what made me write it that way ^_^
It worked perfectly for a few years until it overheated from being in a small cabinet, but had all the bits and was generally fine.
@Loktar Almost everything I buy from amazon is used. I've never even noticed they were used, although they are much cheaper
20:16
well I guess if its broken/sucks I can always return it. Thanks guys you've convinced me! :P
> Item will come in original packaging. Packaging will be damaged.
although some school books already have a few notes and highlights, but I just don't care
so yeah prob just open box
I've bought a bunch of video games and books used, plus the much more expensive receiver.
If you have Prime, you're good. They'll take back almost anything from Prime users.
Only items I've had arrive broken from Amazon were all new :( but that return process is beyond easy
@ssube Pickle jars?
20:17
@Zirak Not if you've put them up your butt.
How can they tell? Besides the sticker, that is.
@towc That's arguably beneficial, though.
@Callum yup ^^
alright purchased
xrgb mini. Can't wait
!!define xrgb
20:22
@towc It means I aint got time to learn your $5 words.
!!urban xrgb
@towc No definition found for xrgb
googles
console?
@Zirak They run all returns under blacklights to check for that specific scenario.
sorry had to pick my kids up from school
basically its the best device for running old consoles on newer (non crt) televisions
20:29
oh!
@Loktar that was fast 0.o
yeah they are less than a mile away
well maybe about a mile idk, pretty close though
@Loktar Tell us the exact distance. We must know. For, uhm, science!
cool! How are they doing?
they are all doing pretty well
@Zirak if I adopt you Ill tell you the exact distance. But remember you have to go to work for me if I adopt you! :p
20:31
@Zirak Some hundred thousand barley corns. #GetImperial'd
@Zirak Quick, hack his firewall and use the visual basic GUI to triangulate his position using the retasked GPS tower.
@Loktar Do I get to use the popcorn machine, and sit on your lap while you play video games?
hahah the fact you remember I have a popcorn machine is hilarious
@ssube n00b, you just laid out how to track down a virus.
What a loser.
@Loktar That doesn't sound like what happens after you buy children from the orphanarium, but not having ever done it, I can't be sure.
20:38
Alright here is some really quick hacky stuff: gist.github.com/awalGarg/ca9fafd3107d88387772. Basically a way to define and load modules like commonjs in browser without any transpilation just by including the small file modular.js (which, obviously, needs a lot of polishing). thoughts? ideas how to improve (like add scoping)?
TIL vh and vw
!!mdn vh,vw
That's...erm, yeah. They're there.
vw and vh are 1% of the viewport width and viewport height, respectively.
So 100vh is 100% of the viewport height. No more height: 100% tricks on everything. Hurray.
@Zirak not supported on most mobile devices :P
I think some pretty common versions of safari don't let you use them or smth
vw, vh <3
20:41
it's still reccomended to keep the hacks as fallbacks :P
@towc Don't be the opposite of batman
crap
didnt mean to delete that
@towc namtab
oh well.
20:44
What's done is done.
@FlorianMargaine still don't get it :P
!!urban namtab
@Callum namtab Batman spelled backwards
dun get iiiit
20:49
The opposite of Batman is either the Joker or a poor, weak coward who never gets laid.
Don't be either of those.
Be serious and fly through the air.
being Joker sounds fun tho
I'd rather be Batman without the late-night outdoors stuff.
@ssube Joker has Harley
ooh
I forgot about that
However, you can get plenty of manic pixies as a billionaire playboy, with less face cutting.
Less face cutting? What're you paying them for?
Sounds like a shady deal
20:51
Paying them?
Who pays their manic pixie?
can't remember batman getting laid in the films...
As a billionaire playboy...huh, there is that weird catch
@towc that's because he's too busy getting into fights.
I'd like to be Batman without the fighting, or, essentially, Tony Stark pre-Iron Man.
@ssube Tony Stark post-Iron Man has Pepper
@Zirak meh
cute, but not my type
20:54
I guess being myself is fine...
@Zirak pre-Iron Man had Salt
@towc Sure it is, Charlie Brown
io.use(function(socket, next){ ... }); middleware will be fired only on establishing socket connection between client and server(handshake request)? why that request is not in scope of express session middleware?
@towc Always aspire to something more or else you'll get stuck and become boring.
@Zirak you've hurt me in my childhood ;(
20:56
Can't get laid if you're boring.
pretty sure that boring and billionaire people still get laid
That's because money is never boring.
Srsly tho, I don't think I could get much better than what I am now for my standards. I am in a school year where I'm 2 years younger than everyone else, I'm going to finish HS at the age of early 17, I'm already getting quite a lot of money compared to every other teen I know...
still not getting laid yet, but that'll come :P
FFS I don't know anyone who was asked to move to San Francisco for a badass well paid job at the age of 15, I guess that sums most of it up
I get asked to move from somewhere more than I get told to move to somewhere.
with the resources I've started with, I feel accomplished with my life </thoughts-you-dont-care-about>
@KendallFrey how does that happen...?
21:00
That's nice.
unlike your face
That's correct.
unlike the way your dad wore a condom
So true.
unlike the time your mom said she loved you
shall I continue?
21:02
Please do.
unlike what that girl said when you took her into the woods
How amusing.
golden
Reminds me of the time I had a config error that wouldn't let me read or write from pipes - a real "I have no mouth and I must stream" situation.
21:22
> And when you use 3D Touch, your iPhone responds with subtle taps.
@Callum wait wut?
@towc iPhone 6s and iPhone 6s+ has "3D Touch"
which means?
Not a fucking clue.
XD
21:25
Oh, and an iPad "Pro"
@SomeKittens In space, only HBO can hear you stream
anyone know where i can find the source for the canvas element? trying to find out what happens when you getContext..
They keep saying "3D". I'm not sure they know what it means :|
!!tell bushdiver mdn HTMLCanvasElement.getContext()
3D touch means pressure sensitive events btw.. need a forcetouch event..
@bushdiver So you can click a button a bit harder, then?
Hi! Which chat topic includes the Facebook API?
@Callum yah exactly
@Tigris Which SDK are you using?
@bushdiver How does that make it "3D" though?
@Callum because it has depth
21:31
@bushdiver Can I click different sides of the button?
It still only goes up and down, no new dimensions added :p
@Zirak im using firefox nightly, think this would still apply?
@bushdiver What do you think?
@Zirak i dont know, i just work here
Chromium has, hands down, the best code search tool. Firefox has mirror on github, and they have their lxr and dxr
@Callum It is more like a general question. Well, I ask it here nvm. :D
So. It is not possible anymore to query users by the username, only by userid and only when they authenticated or what your app.
But my question is.. is there a way to query data from the public part of profiles?
Like a friend-list etc.?
@Callum i would have to download release and decompile to see source?
The thing is that imagine I'm looking for a friend.. I know some people who he works with, what I need is their friendlist.. so that I can compare them, and choose the only 10-30 people who might be the one who I am looking for.
@bushdiver Try downloading a file from the source folder of a release.
@Callum i found this mxr.mozilla.org/comm-central trying to find canvas.getContext now..
anyone spot canvas.getContext from here?: mxr.mozilla.org/comm-central/search?string=getcontext
is there another way to get the 2d context of canvas other than getContext?
21:45
Not to my knowledge, no. Towc might know, but I think he is asleep.
I'm gonna rephase myself, sorry. Does facebook have an option to make public queries? Without an app.. I would like to have some people's friend list in a readable form for processing later.
Only from the publicly available data.. for testing.
@Tigris you want to see your gf's friends list?
Similiar but not quite like that. xD I want to make graphs from who knows who.. I need input data.
What do the docs say?
@SomeKittens o/
21:56
woah!
you're not dead?
I am, in fact, not dead
Actually, doing pretty well. Music is good. Work is okay.
@RyanKinal Prove it.
I'm thinking about parsing the html.. but if there was a simple http request like this: graph.facebook.com/petersmith/friends that would be awesome.
yaaay
6 mins ago, by SomeKittens
What do the docs say?
if you have a question about how an API works go read the documentation
Ummmm... will a picture help?
21:59
I'll accept nothing less than a Kinal Koverâ„¢ of youtube.com/watch?v=tvECtlJQ4dU
The docs say, that if you are making an API, you have to register it, ask the user who is being queried to authorize it, only query by userid and not username etc.

« first day (1789 days earlier)      last day (3381 days later) »