« first day (1439 days earlier)      last day (3513 days later) » 

2:00 PM
I knew it would, I just wasn't sure how much
the smaller scans are on a 5*5 pixel area
 
more than that, wasn't sure if doing a second pass is avoidable
 
so they (alone) are not that expensive. but doing that twice on a crapload of points is
 
You could perhaps get away with skipping every other pixel also
Would reduce times by a factor of 4
 
I need to average the area
single pixels gave me a lot of noise in the background
 
You don't necessarily have to look at all the pixels for that
 
2:01 PM
SLIGHT lighting changes or shitty video caused a lot of crap to be displayed
 
Oh, well nevermind then
 
is this different from the dance one @rlemon or are you still working on that effect?
 
re-writing it
same effect, new code
 
ah
 
okay, I get 30 fps now
 
2:04 PM
I looked it just looked the same thats why I asked
 
I'm happy with that, considering
 
wasn't sure if I was missing something :P
 
@Loktar it's more accurate-ish now
 
@rlemon Is the delay intended, though?
 
slower :/ but more accurate
@Kippie no that is the lag, but thankfully it doesn't lag the video playback
I think they delay looks cool :P
 
2:05 PM
@rlemon "it's not a bug, it's a feature"
 
threshold 40 / spacing 2 is neat
 
Also, maybe it's just a small thing, but the initial load (when starting the page, or re-opening the tab) bothers me a teensy bit. Puts white blobs over the entire thing
 
@Kippie yea because of RAF
 
@yurikilochek ..?
 
it stops when the browser doesn't have focus
no one saw anything :looks around:
 
2:07 PM
i donot thinko so
i am from russia
 
@rlemon You could optimize by getting the min and max box of affected area
Next time, you search within those bounds + some threshold. If you find anything outside of bounds (minus threshold), you double it next time to be safe
 
@Neil but then it doesn't work so well for other videos
 
Of course, you risk to lose information
True
 
I am/was trying to make a generic solution
 
0
Q: words to ask work mate if he is suffering from flophouses

yuri kilochekI am not able to find right words to ask my colleague if he is suffering from flatulence without embarrassing me, any assistance would be regarded with thank you.

 
2:10 PM
I think you've managed that
 
people make audio visuals all the time, I wanna fuck with music videos and augment / overlay on them
 
you should learn webgl
then you can do the really cool video shit
 
I really really should
 
Could you increase the size of the circles when the music is louder?
 
like overlaying faces
 
2:10 PM
@Neil yes
right now their size is determined by the amount of difference between frames
 
@dievardump no worries we won't leave the channel in the hands of cowboys and Canadians
 
ahaha yea I remember playing with that
no webcam on this pc atm
 
rlemon why keep putting me in recycle bin :|
 
@rlemon doesn't it take time to render lots of circles, with different radius ?
 
2:12 PM
yeah it works w/o
he has a sample video
 
I put you there once, because your message was recyclable
@Basj that is not a performance hit like you think it is
 
user1596138
 
user1596138
Well. That's certainly something
 
hahaha
 
@Basj codepen.io/rlemon/pen/wpnyG I'm rendering a crapload on this. performs well
 
2:12 PM
thats awesome
 
@Jhawins That is horrifying
 
@rlemon that uses arcs?
 
@rlemon in this example (runs well, how many fps?) do you have more or less arcs to render than your dubstep thing ?
 
looks like sperm on steroids
 
lol
 
2:14 PM
@Loktar is arc really more expensive than rect or lineTo
ohh wtf
 
@rlemon try with squares instead of arcs and you'll see
 
@rlemon filling arcs is
actually id imagine even stroked ones are
rects are way more performant
 
user1596138
Chuck norris face overlay lol
 
@Basj yeah exactly
 
user1596138
Believe me, that pic is nothing compared to the sorcery it was doing live! My hair was throwing it off since I had it down the side of my face today
 
2:16 PM
 
on url change event ?
 
i imagine that rendering arcs uses trigonometric functions...
 
user1596138
@rlemon HAHA
 
@Basj yeah arc is much slower than rect
the fastest though is put image data
if you do it right
 
user1596138
 
user1596138
2:19 PM
I don't see how this is the terminator
 
@rlemon it's a me, Mario.
 
like that for example
 
@mikedidthis Mamma Mia!
 
@Jhawins it's Arnold Schawrazsnasnfagad with sunglasses, of course it's the terminator
 
2:20 PM
Conneryfied
 
hahaha
 
does this face swap website takes photo of each user who uses it ? :)
 
@jAndy is that stats.js? I was thinking about using that
 
@NickDugger dont
just use the chrome dev tools
 
Fair enough
 
2:21 PM
f12, escape, look at the bottom
under rendering (show fps meter)
 
yea
 
always surprises me how people dont know about them
they are kickass.
 
@Loktar in this case, let's render ONCE a circle of each radius (1px, 2px, 3px, etc.) and save them into a buffer, and then copy from this buffer to the canvas (instead of re-rendering arcs again and again)
 
This page gets ~6.3 fps
 
@Basj if they are the same size thats exactly right
 
2:22 PM
@jAndy where's the URL again for this face swap thing ?
 
@Basj but like in the fiddle above I use caching + putImageData
 
because drawImage can be slow as well
 
@jAndy does this store a photo of every person using it ?
 
@Loktar ahaha
I just got a perf boost by using it
 
2:24 PM
@rlemon really ? this would prove that rendering circle was the flaw...
 
@rlemon by using what?
 
drawImage
 
drawimage vs arc?
 
I draw one arc at the beginning and just draw it scaled back to the canvas
 
oh yeah in that case it will be faster, but using putImageData is even faster
 
posted on September 24, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} Pretty pleased with myself here.

 
if I used jsfiddle.net/loktar/63QZz drawImage on that it would be a lot slower.
 
@jAndy the website keeps photo of each user using it ?
 
I'll have to learn that technique still
I've seen you use it, but i've never actually gone through your code and seen how
 
in this day and age its just better to use webgl tbh :?
like I do that for performance but webgl kills it anyway
and the adoption rate is so high now
 
user1596138
2:28 PM
@jAndy What'd you do to your arm?
 
user1596138
Got too ripped literally?
 
haha
 
the other guy called me a PHP guy
 
@jAndy does this website store photo or not ?
 
@Loktar true
 
2:29 PM
@Basj I have no clue
 
@Basj no
just take a screenshot
 
user1596138
@Loktar Wow
 
my back-end guy's first response to me telling him my error was, "well, did you spell the url correctly?" ... I really don't like this guy
 
I mean : where did you find all these photos of those guys ? @jAndy
 
@Jhawins just pretty bad luck, I fell down pretty badly
 
2:30 PM
@Jhawins heh I did that for an answer actually everyone was like "YOU CANT DRAW 10K OBJECTS OMG"
I was like psh whatever I can
/me goes to meeting
 
do they know their photo (with face swapped, ok) is public ?
 
I ... ehhh, uhmm
I took pictures of myself
 
@jAndy are you from russia too
 
of course this is a russian channel
nasdarovie!
 
виль soin сырный
 
2:36 PM
test
 
user1596138
@jAndy Aw man, that sucks
 
I can tell
 
@yurikilochek twas intentional gibberish
 
unable to use your right hand is... pretty annoying. I'm even typing right now with Apples speech recognition :P
fapping quality also goes down
 
user1596138
2:39 PM
@NickDugger lol wtf who asks that. That's like calling Apple support when you already know what's wrong and they run you through an hour of diagnostics
 
@KendallFrey udaril menya rebenok yeshche raz
@jAndy you mean siri
 
lets stick to english. thanks.
 
@rlemon okay baby
2
 
^ Is Heavy!?
 
I'm not your baby pal.
 
2:41 PM
finde ich total scheisse
 
user1596138
@jAndy I broke my right hand, the middle finger bone but up in the palm (metacarpal). Also bent it. So now my fist is fucked up. I'm right handed so it was awful for 2 months haha
 
@rlemon first time I actually get to use the kick feature
 
@Jhawins this guy is a bit of a jerk; he's sexist, he's arrogant, he's rude, and he needs to always have his hand on everything (he scoffs and laughs when we discuss the site's design... jerk)
 
@SecondRikudo I did in the html room yesterday
 
@Jhawins maybe he's just depressed :P
 
2:42 PM
aww you kicked him?
 
you guys are
 
calling baby a crime ?
i understood it been a good word as a friend in russia
 
@Loktar "you guys" ?
:P
 
globalization fail
 
2:43 PM
Yes, you'll go to prison
 
user1596138
@SterlingArcher Did you see his profile description? "Maybe I'm simply outdated" and the entire thing is about Java, plus he was only a member for 4 days.
 
Creepy hispanic people say "baby" like I would say "bro"
 
@SterlingArcher hey bee bee
 
russia gloablization fail, usa win
 
2:43 PM
> Creepy hispanic people
 
@NickDugger why me
 
user1596138
@SterlingArcher I think the reality is... Someone seriously trolled them all
 
russia won
 
@jAndy oh wait, you're a room owner. I can't kick you :(
 
you should be able to
 
2:43 PM
russia won like a dianosoure and like a unicorn
 
anyone can kick anyone unless they changed it
 
Russia won at cheating during the olympics? They won at oppressing Ukraine? What else did they win at?
 
user1596138
@SterlingArcher I already kicked him
 
can't kick mods, can't kick yourself
you can kick feeds
 
!! kick me
 
2:44 PM
I can kick myself
 
user1596138
So nobody else kicks you haha
 
@yurikilochek That didn't make much sense. Use the !!/help command to learn more.
 
ahhhh
nice :P
 
russia has failed over time, always
 
@jAndy you'll be proud of me -- I substituted chips for fruit yesterday :O
insane, inorite?
 
2:45 PM
Anyone have any thought on p5.js (p5js.org)
 
@CatsLoveJazz 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.
 
thats a very good thing :p
 
@CatsLoveJazz seems weird to me
 
I had high cal beer last night, so I countered it with celery sticks
 
since processingJS exists but idk
 
2:45 PM
@albanx please become russian we have oil and gas and watermelons too
 
I forgot how much I loved watermelon and cantaloupe
Especially super fresh
 
it looks neat, but I don't think it will have as high of an adoption rate @CatsLoveJazz
 
cantaloupe is nasty
 
WAT
gtfo
 
anyways I feel fruits are the way superior sweets anyway
like dates
 
2:46 PM
@Loktar I was so fucking confused
 
@jAndy ewww dates
 
> who is he talking too... iz a bot bro!
 
@rlemon hahaha
 
oh god, dates are so gross D:
 
cantaloupe tastes like soap or something
 
2:46 PM
yeah I saw that and was like... oops
 
dates are fucking delicious :D
 
@Loktar try medjool dates
 
wut, im not a bot bro
 
thats like cocain
 
I prefer berries
 
2:46 PM
in russia there is everything a baby needs
i mean a man needs
 
Black Berries omg.
 
@CatsLoveJazz he pinged the bot instead of you
 
ah ok!
 
@Loktar ahaha I picked up a basket of them yesterday from the market
 
@Loktar Want my phone?
 
user1596138
2:47 PM
@SterlingArcher I can't eat chips right now :/
 
user1596138
Or hardly anything
 
Wisdom teeth?
 
@KendallFrey I didnt say dingle berries
 
1
Q: Truncate string based on pixel width

Michel AyresI'm trying to make a string fits in a determined area (td) without breaking line. The problem is: It needs to ... Fit while resizing Fit in N kinds of resolution Add ... at the end when needed (and don't when not needed) Accept the change of font-size, font-weight, and font-family Based on...

 
@KendallFrey you still have a BB?
 
2:47 PM
this is a well asked question
+1 for details
 
user1596138
Yeah... The top one is all the way in, but the bottom one is impacted in the gums. So basically I have to bite my gums to close my mouth.
 
I mean, I still have like 3 blackberries but I don't use them
 
!! refresh
 
@yurikilochek You do not have permission to use the command refresh
 
they sit in a drawer until I have a bad day and need something to smash
 
user1596138
2:48 PM
And if a piece of a chip got back there? Oh god I'd probably just drink myself out lol it's seriously painful recently
 
@Jhawins shitty man
 
@rlemon Yeah, it works fine, so I'll keep it until it breaks (never) or I decide whether I want Ubuntu
 
I was in the AF when I got my wisdom teeth removed.. causing no issues but it was free
so I was like do it.
 
user1596138
I have to call the surgeon on lunch again...
 
lame :?
 
user1596138
2:49 PM
Yeah it's free for me too lol
 
user1596138
Insurance ftw
 
haha nice, you have decent insurance then
 
I was 16 when I got mine out. they were YEARS away from being an issue. all 4 were still embedded in the bone
 
if I had to get it done now id pay a shitload now I'm sure
 
user1596138
Well wait I think they said I have to pay a $25 deductible for the anesthetic or something.
 
2:49 PM
worst experience of my life.
 
my insurance sucks
 
user1596138
I'm piggy backing my dad's insurance still. GM actually provides really good insurance. As long as you don't want them to pay for your physical therapy
 
I got mine out super early because my mom was getting divorced (again) and we were sneaking them in while I was still covered by the now ex stepfather.
 
can anyone kick me out for more then 1 minute - just a question ?
 
@yurikilochek kicks escalate with each time
second kick you are gone for I think 5 minutes, third is a half hour? eventually a mod is notified.
 
user1596138
2:51 PM
I was an outpatient when I had my ankle screwed back together and couldn't get the asshats to pay for my physical therapy lol. I was like bro I haven't walked on this foot in 2 months I have to go do PE haha
 
i cannot afford that
i will be nice russian
 
user1596138
Aside from that everything is like free or $25 haha.
 
what is free jhawins
 
user1596138
user image
6
 
user1596138
HAHAHAHAHAHA
 
2:52 PM
lmao
 
He could be bisexual
 
Ted was a funny ass movie
 
Though imo, that's also pretty gay
 
@SterlingArcher Ted was a funny-ass movie (source)
 
2:54 PM
why my name and picture not updating in chat room is it a restriction on me as well ?
 
it takes a day or so to propagate
 
user1596138
If we have any gays in the room.... I like you. You don't complain, you see jokes as jokes like they are and don't get offended for no good reason. I prefer you over the sexism folks
 
screw the sexism folks, figuratively though.
 
Balls i messed it up
 
Gays make good jokes.
 
user1596138
2:55 PM
And I have had my nipple licked by a very, very gay man. Jus sayin
 
two verys? wow
 
Why, though?
 
user1596138
wow, wow
 
@Kippie @Jhawins is gay
you didn't know?
 
user1596138
Because
 
2:56 PM
@Loktar I know now!
 
user1596138
Pfft bullshit
 
@Loktar I'm seriously questioning his relationship with @SterlingArcher
 
hahaha
 
they sext eachother all the time
 
inorite
butt
!!afk meeting
 
2:56 PM
@Kippie I'm just joking btw
 
31 mins ago, by Kendall Frey
https://imgur.com/gallery/Fi6dq
 
lol
 
if you haven't read it, do
 
user1596138
My one buddy is real creeped out by that stuff but he always pretends he's like the big man and it doesn't bug him. So I said if I let Ben lick my nipple right here will you? And so I did..
 
@KendallFrey top comment was gold
 
2:57 PM
Has anyone ever experienced a scrollbar flickering effect with the jQuery dialog when zoomed in while using Chrome?
 
user1596138
I guess yeah, that's a pretty gay thing to do. But I'm not scared I'll catch it or something hahaha what's the big deal?
 
is there a JS shortcut for :
    tb.style.fontSize = '20px';
    tb.style.whiteSpace = 'pre';
    tb.style.position = 'absolute';
 
@rlemon 2nd is platinum
 
ie "factoring" the tb.style =
 
@Basj you can write a utility function
for the love of god don't use while
 
2:58 PM
@Jhawins You now have herpes on your nipple.
 
@KendallFrey ahahahahahahaha
 
@Kippie your avatar is really.. really light
 
user1596138
@Kippie Good, that's good right?
 
@rlemon LOVE dat face
 
@rlemon i would like something like
 
2:59 PM
@Loktar inoryte? Stackoverflow gave it to me as a present for signing up. I will forever cherish it.
 
With tb.style:   fontSize = '20px', whiteSpace = 'pre', position = 'absolute'
 
don't use with
seriously.
 
to avoid to repeat tb.style each time
 
write a utility function
 
@rlemon it's pseudo code... Does "with" or similar thing exist in JS ?
 
2:59 PM
 

« first day (1439 days earlier)      last day (3513 days later) »