« first day (1370 days earlier)      last day (3579 days later) » 

6:01 PM
also tried with Firefox/Opera/IE same result
 
ohh wow, didn't know g+ was CORS enabled.
 
@zigi you do realize what its doing ?
its comparing color of pixel
with no logic.
 
sure
 
a better software would use probablistic model
and blob detection
 
better software wouldn't be written in js ;)
 
6:03 PM
Photoshop has good algorithm for it
 
@rlemon you are very wrong there
 
Gimp too
 
oh sorry
 
@AbhishekHingnikar it was a joke, get the splinter out of your ass
 
he can't even bro
 
6:03 PM
seriouslyjs.org <- ps have u seen that lemon ?
PS am hungry T_T haven't ate since evening adn has no cash to eat either
 
you always have the worst humor, I try my hand at Abhishek level jooke and it wooshes you?
srs?
 
but you have to set proper tolerance to the alg
 
4srsman?
@AbhishekHingnikar yea I started messing around with that stuff
if you remember
 
with webgl ?
 
nahh
just 2d canvas
worked out pretty well for a proof of concept
 
6:06 PM
:D nice
I love webgl cause i can re-use GLSL code in open source :D and seriously.js makes it really easy to write very powerful filters.
 
I am gonna go watch Transcendence tonight, I want to see how much they have stolen from the 2045 idea
 
@AbhishekHingnikar hrm, now I wanna get back into video processing with canvas
too many codes to write, not enough time :(
 
@rlemon I feel ya
 
please don't, not without asking at least.
 
My sudoku times are decreasing
err
I've gone from 12 minutes on an easy sudoku to 6 minutes
booyah
 
6:10 PM
rlemon, pinging?
for the brain maniacs
 
@rlemon its too slow though
you should try learning webgl
 
@zigi "feel me"
 
sure
 
@AbhishekHingnikar that is the challenge ;)
 
@OctavianDamiean DUUUUUUDE
 
6:12 PM
to make it not slow
 
pardon my idiocracy
 
@Zirak YOU MISSED IT!
@zigi it was a joke
 
@rlemon best of luck I tried and i failed
 
BBBRRRROOOOOOO
 
@AbhishekHingnikar it isn't so bad. my old ass shit coded demos get like 30+ fps
 
6:13 PM
@rlemon no not htem
i mean the convolutional or matrix filters
 
So on the bus ride home, I thought of a templating system to try out. Will probably fall asleep before reporting results.
 
in other words "instagram filters"
 
repainting everything is costly. I need to figure out a clever way to avoid that
@AbhishekHingnikar ahh well yea, but I don't want those :P
I just want to make cool looking effects for me
 
@rlemon kudos dude, really cool
 
90% of the code I write that I show you guys is just for the enjoyment of writing it
 
6:14 PM
:-)
I have an app to send to production so js was out of choice.
 
i think that's how it should be
do you guys realize we live in exciting times?
 
great, now I have to switch to my dubstep playlist
 
hope it doesn't include skrillex
 
@Zirak code or it didn't happen
 
@zigi lemonmeme.com/demos/motion%20slime%20demo this one has horrible performance, but if your computer will handle it...
 
6:16 PM
@rlemon <3
@Jhawins What's up? Did you need something?
 
actually it does
 
I get 30fps with dips down to the low 20s
but this is my work pc, at home I get like 45+
 
@Zirak How's jpp going?
 
@rlemon whoooaaaaa
 
@SterlingArcher I like motion_demo2.html better
 
6:18 PM
@rlemon my smoking hot nvidia hits ~50
 
ryan disagrees
 
hey copy, I said something offensive to your GF the other day, sorry for that
I just didn't know, I am kind of new
 
I like both of them a lot, actually.
The demo2 dancer's spins are just ridiculous
But... Marquese is Marquese
 
I'm Marquese.
 
I like them but I can't judge them since I am not into such dancing, they are both good imo
 
6:19 PM
O.O
:fanboy:
 
user1596138
We don't have Comcast here. But MediaComm is just a much of a collective asshole.
 
@copy It doesn't exist
 
user1596138
Stop. Calling me.
 
I realized that meh
Writing it won't be too challenging or new, so it's not worth it for the learning experience, and using it probably won't be a benefit over just using a crappy macro system like v8 has
So meh
 
what kind of templating are you talking about?
 
6:22 PM
I didn't know that v8 has macros
 
user1596138
@RyanKinal Hey yeah, you care if I say you referred me to the position? I'm sure it's fine but I always ask.
 
user1596138
> I am submitting this CV in regards to the position of “Senior Front End Developer” which I was informed of by Ryan Kinal.
 
user1596138
Would be the mention of your name.
 
@copy The %Something strewn around, for instance here. They're all defined macros.py
 
user1596138
And I would be pissed if someone applied to my company and said I sent them without asking me first haha. So.
 
6:24 PM
@Zirak But that isn't standalone, is it?
 
@copy You could extract the logic out of it, make it standalone. But these kind of systems aren't too difficult to build.
 
to what does %_IsSmi(x) refer to
 
That's some c++ stuff IIRC
 
@zigi small integers
 
I see
 
6:27 PM
@copy You can see the build logic in js2c.py
 
V8 is heavily optimized when using small integers
 
!!blueberry or banana
 
everytime i look at v8 source i feel inferior as hell, like a sore noob
 
user1596138
@rlemon lol didn't see that coming
 
@rlemon banana
 
6:29 PM
at least she is consistent
 
no you don't
 
user1596138
How the fuck
 
You're right, I don't. I just pretend
 
6:30 PM
@rlemon I think she's undoing across rooms again
 
user1596138
I just headbutted my coffee mug while it was on my desk
 
user1596138
And I don't know how that happened.
 
impressive sir
 
no, I am here.
what other rooms undid?
 
@Zirak Hmm, I will look into that … later
 
6:30 PM
she only undoes on the room she is currently in iirc.
 
@NickDugger no one really knows JS
 
user1596138
Like all of a sudden I was like ow fuck. Coffee mug?
 
user1596138
Whatever that was weird.
 
page not found
 
6:31 PM
That's what happens when you facedesk too fast
 
nobody in the C# room did !!undo
 
see sharp, look sharp
 
@rlemon oh, you don't have permission
but look at the C# room
 
!!undo
@KendallFrey raise an issue
 
@RyanKinal they jump right into salary negotiations? Do they know nothing!?
 
6:32 PM
I just did :P
egh, suppose I'll do it officially
 
@CapricaSix are you classified as Human?
 
Negative, I am a meat Popsicle.
 
^ who else wants this to be a feature? RFC 205
 
user1596138
!!$.baby
 
Oct 13 '11 at 20:23, by Ryan Kinal
jQuery.baby sends an email to John Resig, requesting that he impregnate you or your significant other.
 
6:34 PM
I had a feeling it was already open
 
who's john Resig
4
 
Original author of jquery
 
user1596138
Nobody
 
Pretty smart guy actually
 
user1596138
lol yea
 
6:35 PM
I'd imagine so
 
user1596138
Hey @rlemon want me to move to Canada?
 
And Processing.js
 
user1596138
bases life decision on canadian's opinion of canada
 
I'm not jumping up and down for you to move here.. But we have a wonderful country.
3
 
6:36 PM
!!jhawins move to canada or not
 
If you come we can teach you how to play hockey
 
@mrzepka jhawins move to canada
 
user1596138
uh oh
 
I'll move to Canada
 
it's easier if you let the bot just make your decisions
 
6:37 PM
how hard is it to go to canada if you have a dutch passport?
 
Probably not hard
 
user1596138
Well @rlemon @KendallFrey I'm actively looking now. I have yet to see a company in ON that I want to work for and they obviously aren't pushed here. If you hear of anybody not stupid hiring let me know please
 
I wonder if the bot can predict the march madness brackets...
 
I know a couple people that do VB
 
I know some people that still use VB6
 
6:38 PM
i do too
also delphi
 
If you know ASP.NET, I think we still have a position open for web developer
 
user1596138
Eww
 
me?
 
@zigi not
 
This is my swamp
 
6:39 PM
mmmm
 
so long as you haven't a criminal record
 
nope none
 
then it would be fairly easy
 
Better get started then!
 
my father worked in a prison though
 
6:40 PM
don't know about a Visa, but to just visit it wouldn't be a problem
 
not sure how that is relevant @zigi
 
user1596138
Yeah, I want to do JS/Node stuff to some extent. Maybe Python|PHP (PHP would be easiest for me but I kind of don't want to stay in it).
 
well criminal record / prison
 
My sister is unemployed, and that means I'd make a good team leader.
 
they may say something
 
6:40 PM
Your father was in prison? That explains a lot.
 
user1596138
I like to do everything but front end. That said I will do front end, just not front end only
 
yes
 
@Jhawins if you are considering, don't look in Toronto
 
Look in waterloo, I swear thats where all the programming biz is right now
 
fuck TO. too expensive, too busy, too much of everything. and if you ever want to travel you are fucked due to the overwhelming traffic
 
user1596138
6:41 PM
I'm hoping I can find something that mixes things up like I currently do. I'm essentially full stack, and the IT department. But I don't want to do IT shit.
 
user1596138
@rlemon Oh yeah you guys only have 1 road
 
yea Kitchener Waterloo is nice, Cambridge and Guelph are also expanding
@Jhawins haha nahh, just one major hwy that takes you anywhere you actually want to go
 
@Jhawins I thought it was the same where you are
 
user1596138
@zigi Your father wouldn't matter even if he was actually in prison. You're your own person
 
user1596138
@mrzepka No I wish we had it simplified like that. Go right or left that's all
 
6:43 PM
My dad does low level programming, that doesn't make me a low level programmer
 
true but you know, it used to be like this that if you inherit something from your parents like debts etc. you are also responsible
at least in my country
that's why I am asking
 
the 401 is our busiest hwy
 
user1596138
My dad has worked at the GM truck plant since he was 17... And that doesn't make me a dead ender ;)
 
otherwise, you are fine
 
6:43 PM
the rest of the 400's are no where near as bad
 
user1596138
@rlemon I have never seen more than 3x3 lanes
 
@rlemon well @SterlingArcher and I have a nice, busy, outdated highway that goes in a circle
 
I don't like driving on your interstates
 
fuck the beltway
 
the concrete joints bother me
 
6:44 PM
YOUR joints bother ME.
 
I can feel / hear it, and prolonged trips are painful
 
The 400 highway is one of my favourites.
 
!!s/joints/penises/
 
@mrzepka YOUR penises bother ME. (source)
 
user1596138
I don't drive on the interstate. I never need to go more than 65mph. It's silly, bad for your vehicle, exponentially more dangerous and costs ~10% more.
 
6:45 PM
You can bypass the 401 quite often though
 
yea
for the most part
 
407 best highway ON
 
It's beautiful up north, and driving that highway usually means I'm going on vacation.
 
when I used it, 401 was where I got most of my reading done
 
400/407 can get you most of the way
 
user2620028
6:45 PM
Js Chat! I need your helps. I am attempting to get an element's font-size set by css in either js or jquery and i have tried about 30 different ways and i am not able to get font-size of body.
 
user1596138
In my truck anyway it costs 10% more
 
user1596138
@AaronSiciliano Show us what you tried so far?
 
window.getComputedStyle(document.body).fontSize
 
document.getElementById(--body's id--).fontSize?
 
@mrzepka .style.fontSize
 
user1596138
6:46 PM
document.body.style.fontSize = bbf;
 
@rlemon or that
I feel like I'm learning a bit
 
@Jhawins only if it is set implicitly.
 
user2620028
$("body").css('font-size');
 
if it isn't, you need to get the computed style.
 
@NickDugger you are laughing but my grandma used to say that her son in law is in prison when they asked her where he works and people used to pitty her
 
user2620028
6:46 PM
i have also tried window computed and document.body.style
 
1 min ago, by rlemon
window.getComputedStyle(document.body).fontSize
 
user2620028
i will run through them again though
 
^ there you go
 
user1596138
Wait, you're styling the entire page.
 
user1596138
Why the hell don't you use css
 
6:47 PM
@zigi why didn't she say "he works in a prison as a _______"
 
user2620028
trying to access the value of it, not set the value
 
user1596138
@AaronSiciliano Do what @rlemon said above ^
 
how is the value set?
 
@mrzepka cause she is kind of short in sentences when she speaks
not really talkative, likes working on the field more
 
user2620028
css

body {
font-size:81.3%;
}
 
6:48 PM
so wait? "father works in a prison" - do you mean chain gang
because that is different ;)
@AaronSiciliano do what I showed you then
 
user2620028
im trying it right now
 
user1596138
@AaronSiciliano Open your console and type window.getComputedStyle(document.body).fontSize
 
user1596138
Don't try it live. Don't be that guy. Use your damn console :)
 
@rlemon what's a chain gang?
 
my father also works in a prison
 
user2620028
6:49 PM
@rlemon Uncaught ReferenceError: body is not defined
 
@AaronSiciliano lol
nope
 
Ah, Rob Lemon Sr.
 
haha not really
 
user1596138
@rlemon This is what I pictured when he said it
 
user2620028
@Jhawins

I am that guy lol
 
6:49 PM
he was one of the 4 wardens working there
 
user1596138
I feel like... No matter what here we aren't going to be able to help you.
 
@AaronSiciliano ^
 
user1596138
Because that works. That's how you do it.
 
look, that is it working in my console getting the base font size for the chat
so your issue lies elsewhere at this point
or you haven't told us the entire story.
 
6:50 PM
@Jhawins No, that's cool. Mention me. @AbhishekHingnikar did.
 
user2620028
damnit yeah that works
 
user1596138
@RyanKinal Cool. Thanks
 
@SomeKittensUx2666 Is that what they did? Really? Dammit...
 
@RyanKinal well you showed the job.. had to \o/
 
:-)
 
6:51 PM
ps now i think i should off mentioned the projects i did before voscast xD
 
user1596138
Does the parent company have a name?
 
user1596138
Or
 
user2620028
@rlemon

var fontSize = window.getComputedStyle(document.body).fontSize;
alert(fontSize);
 
Ryan wants his finders fee
 
> Alright Ryan, if you can tell me this guy's name, I'll read his resume
 
user2620028
6:51 PM
thats the whole code lmao
 
user1596138
McKissock?
 
what am I missing? jsfiddle.net/sMp26
 
user1596138
@RyanKinal Hahahahahaha
 
@Jhawins your application >>>>>>>>>>>>>>>> mine
 
(That was my boss's response to @AbhishekHingnikar's resume)
 
6:51 PM
@AaronSiciliano @rlemon @Jhawins
 
user2620028
in console that works
 
user1596138
I can say his first name. I would be guessing for his last
 
Yeah, I probably murdered his last name
 
@RyanKinal ouch, mine looks like being done by a 3 year old lol
 
user1596138
6:52 PM
@rlemon Case of beer is my finders payment
 
@AaronSiciliano ^^
 
@mrzepka document.getElementById('id').innerHTML = window.getComputedStyle(document.body).fontSize
 
@rwollr 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.
 
@AbhishekHingnikar It was really all about the pronunciation.
 
user2620028
@rlemon

Yeah it works in console for me too. So i have other issues somewhere. Thanks though.
 
6:52 PM
oh xD
 
@AaronSiciliano $10 says you run that code from inside the <head> tags?
 
@rwollr I was taught that innerHTML isn't as good
 
Ub he shake - the correct one.
 
@mrzepka dunno about that but jsfiddle.net/sMp26/1 works
 
@rlemon After opening that screenshot, I instinctively hit Enter to get rid of the alert box.
 
6:53 PM
:)
 
yours doesn't for me at least
 
@AbhishekHingnikar How do you pronounce your last name, btw?
 
He ing knee cur (as you say cur in curry )
 
@rwollr yeah that fixed it for me but I forgot the other way to do it
 
user2620028
@rlemon Yes i do inside of a jquery doc ready
 
6:53 PM
I thought it was setContent but I may be off
 
i'm not familiar with setContent
 
I used it for a personal project but idk why it's not working here
lol
 
This is my love song to you. Let every Shrek know that I'm yours.
 
user2620028
@rlemon Telling me to start scripting at the bottom of the page?
 
@AbhishekHingnikar are you a Sheik?
 
6:54 PM
@rwollr thanks though
 
@AbhishekHingnikar That has more syllables than I was expecting
 
is it a jquery function or something?
 
<!DOCTYPE html>
<html>
<head>
	<title></title>
	<script>
		console.log( window.getComputedStyle(document.body).fontSize );
	</script>
</head>
<body>

</body>
</html>
will not work. but the following will
<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>
	<script>
		console.log( window.getComputedStyle(document.body).fontSize );
	</script>
</body>
</html>
 
as far as I know innerHTML is one of the only ways to do it in native JS
 
..
 
user2620028
6:54 PM
@rlemon
 
@RyanKinal indian names T_T
 
lol, yep
 
i personally fail to pronounce my own name correctly, because of the mixed accent i have
 
@RyanKinal slow clap
 
@AaronSiciliano the head is parsed before the body is, so it has no idea about the body when the code is run
 
user2620028
6:55 PM
Does it matter if i am using the document ready.... i thought that was supposed to solve that problem
 
@rlemon does that have to do with the way the css is loaded vs how the page is loaded?
 
without seeing all of your code I can't say
 
@SomeKittensUx2666 ... I may have to berate my superiors
 
@mrzepka how the page is parsed
anything everything in the head first, then the body
 
@rlemon ah ok
 
user1596138
6:55 PM
@Ryan Alright I sent mine. Does your boss like teenagers? Ha!
 
@AaronSiciliano document.ready doesn't wait for external CSS
 
but then when would the css be loaded because that would be the issue here
 
user1596138
1.5 months and I don't have that label.
 
user2620028
$(document).ready(function()
{
var fontSize = window.getComputedStyle(document.body).fontSize;
alert(fontSize);
});
 
doesn't matter about the CSS
the body hasn't been parsed
it has no idea
 
6:56 PM
oh so the font size in the body can't be read
 
user2620028
Jan it doesnt? ok that i did not know
 
user1596138
Of course as always, I won't mention my age until they ask.
 
makes sense
 
One question about shadow dom
how does the browser handle shadow dom ? i mean is there any performance advantage to it ?
 
user2620028
Then i am perfectly fine with moving all of my scripting to the bottom of the page
 
6:56 PM
also is it setContent or what to use instead of innerHTML?
 
user1596138
!!s/dom/realm/
 
@Jhawins how does the browser handle shadow realm ? i mean is there any performance advantage to it ? (source)
 
@AbhishekHingnikar Just like the regular DOM, but more shadowy
 
@AaronSiciliano in any case, it is often not needed to wrap it, you'll get better perceived performance with it in the body
 
user2620028
i have always read that i am supposed to do so but i have never come into a situation where it has forced me to do so.
 
6:57 PM
@RyanKinal that would make no sense
 
@AbhishekHingnikar the point of shadow DOM is that it's not visible to CSS
 
user1596138
@AbhishekHingnikar You have to use dark js to interact with shadow dom
 
@AaronSiciliano there are more reasons to do it than that but it will fix that as well
 
@AbhishekHingnikar Why not?
 
!!s/js/magic/
 
6:57 PM
@mrzepka @AbhishekHingnikar You have to use dark magic to interact with shadow dom (source)
 
@RyanKinal using shadow dom browser can actually optimize those elements as "technically" they have just one task to do.
like asm.js .. ahead of time compilation ?
 
I suppose that's true
 
just random hypothesis, but if they do it that way it would be much more advantageous
 
I think it's conceivable that they just wanted to ignore parts of the DOM for simplicity, though
 
@Jhawins nope.
 
6:59 PM
@AbhishekHingnikar Shadow DOM is just how browsers internally represent elements.
You get access to some more stuff.
 
@Zirak now you have an api to create your own elements in shadow dom
and re-use them, which is pretty leet !
 
user1596138
God... My resume is laid out so beautifully now. I love it.
 
user2620028
Thank you guys, that solved the issues i was getting with reading from the applied attributes from the stylesheet. Never thought about Doc ready executing before css
 

« first day (1370 days earlier)      last day (3579 days later) »