« first day (1378 days earlier)      last day (3571 days later) » 

5:00 PM
@AbhishekHingnikar ...are you doing it on purpose?
tell me you are
 
@FlorianMargaine nope thats how i fixed mine when dpkg fucked my driver install up
 
ok. Fix your irony detector.
 
aw yis.
 
@FlorianMargaine Error haven't slept for past 36 hours
 
lol @Cereal
who is the raccoon whisperer ?
 
5:04 PM
@Cereal Nailed it
 
@Cereal what were you triying to achieve ?
 
@AbhishekHingnikar recreate the image on the right with random imgur pictures. Someone posted a fiddle yesterday that did it, I wanted to try writing it myself
 
that was me
:D
 
I thought it was such a good idea, lol
 
@rlemon oh you , fucking genius
 
5:05 PM
you can get some decent results.
code needs work.
and I am going to move it to node and use google images api
 
and bandwidth
@rlemon there is a cap on GIS
 
there "is" a cap on imgur as well
I've not hit it yet
 
Is there? I'm running 20 images a second
 
@rlemon no gis is insane low
 
@Cereal they say there is
again I haven't hit it
 
5:07 PM
but again they give like 30 images per query so .. meh 30k images u wont hit probably
 
@Cereal did you just copy my imgur finding code?
 
@rlemon Be careful, there's a cap
 
No, wrote my own. I didn't look at yours. Was going to compare when I finished
I have a memory leak somewhere...
 
@Zirak the first night I wrote it I did 30K + requests in an hour
 
> 1.2gb chrome tab
>.>
 
@Cereal you know about the 's' trick?
 
What's the s trick?
 
@rlemon Right, but there's a limit
 
full size
thumbnail
 
5:09 PM
just add an 's' to the id
 
Oh that's what your avatar is
 
ah, I've been using b
Thanks for that, I'll stick that in
 
gotta try to save that bandwidth
 
am off gotta get some work done
 
and I assume you recognized you can just look at the image dimensions to see if you've hit a 404 or not
 
5:11 PM
Yeah, I have
 
kk
yea, the rest is just making sure you compare the averages proper
which I can improve on in mine, I just did a straight RGB comparison
 
404 doesn't trigger onerror?
 
imgur returns a 404 image
 
It redirects to an image
 
there is no error
 
5:12 PM
oh, ok
 
function checkImage(img) {
    return img.width !== 161 && img.height !== 81;
}
but known dimensions
 
so you can for the most part just do something like this
that isn't the same
try i.imgur.com
 
I did
 
and actually give it a proper extension
 
5:13 PM
how is jpg not proper?
 
well you end up getting this
 
not me
 
chat is doing something funny with the redirect
 
5:13 PM
there we go
Needs the size character at the end
 
well, chat shows its own "image not found"
 
Oh, it's the length
 
.
 
5:15 PM
wat
 
3 letter ID's are not valid
iirc 5-6 only
 
8 works
 
well that is a lie, I didn't test after getting 5-6 working
but lower lengths don't seem to work.
 
4 is the lowest
I'm only checking 4 in mine, actually. Too many 404 in the higher ones
 
I'm going 5
but maybe dropping down to 4 would help?
 
5:16 PM
4, plus the size character
so 1234s
 
5 + size for me
hrm, it looks like I changed it to 4 + size
I was drinking when I wrote it :/
 
I tried doing your profile picture. Doesn't handle dark images very well, turns out...
 
yea it really depends on the returned values
that ran for about 1.5 hours before I stopped it
like ~2k unique images used
I still think doing this from node and having a sensible place to gather images from would be WAY better
 
problem is where do I get the images from. pinging imgur randomly seems like a stupid idea (albeit kinda cool)
 
5:20 PM
I have the sizes set very low, just so I can test. I think using larger images with smaller imgur pictures would be better...and a lower color check
 
@rlemon SO users' avatars
 
@JanDvorak interesting.
how would I gather them?
other than a script to scrape the urls.
some one (maybe you) suggested pulling frames from a video
that is enticing me more and more
 
not unique enough
 
That was me
 
Yeah, frames wouldn't be unique enough for it to be cool
 
5:22 PM
You could make them unique enough. Pull every 75th frame out of a movie
Or what have you
 
That makes sense
 
Would give you a shit ton of images, and with enough space in between, it would be unique enough
 
youtube thumbnails
 
I can almost see a hat
 
5:23 PM
I can almost see again
 
23
Q: Photomosaics or: How Many Programmers Does it Take to Replace a Light Bulb?

Calvin's HobbiesI've compiled a mosaic of 2025 headshots from the avatars of the top Stack Overflow users. (Click the image to view it full-size.) Your task is to write an algorithm that will create an accurate photomosaic of another image using the 48×48 pixel avatars from this 45×45 grid of them. Test Imag...

 
okay so If I go with the video I already have the code to pull frames
now because of the limited frames.. I'll need to write a function to match them "as best as possible"
regardless of the images.
shouldn't be too hard I think.
 
i like the python answer, the mathemetica one looks so awesome though
 
damn, I'm staring that. i'll do a js answer tonight
 
@rlemon iterated "as far as possible from the samples so far"?
 
5:28 PM
ps i see raynos, esliaja in that photo mosiac
 
Zach Saucier as well
 
how do we identify faces ?
i mean i almost ignored everyone just es... and raynos.
 
Wait, I saw a dude with less rep than me
That means...
 
now found octavian
@KendallFrey simon isn't there
 
There are a lot of people that look like me
 
must be face recognition
I found Jon Skeet
 
man this is going to kill my bandwidth
 
little improvemens! mainly eagle AI, added humans, added restart button and pause button!
if you can call AI the eagle's behaviour... but that's another point
 
YES I AM THERE
 
where?
I couldn't find you
 
5:39 PM
there!
 
third row from the bottom, near the left
 
well, going to bring thedog out
 
ahh
how did I miss that
I started in the bottom left as well
 
Well I did too
oh, I just randomly gazed
 
did left to right bottom to top
pictureshack.us/images/25745_avatars.png .. because @Jhawins is a whiner
on the large view ;)
 
5:40 PM
Now I can say I'm in a picture with Jon Skeet
 
user1596138
@rlemon Too big to onebox
 
user1596138
lol
 
user1596138
9mb image
 
user1596138
And slow af source
 
!!do that thing or do the other thing
 
5:44 PM
@rlemon do that thing
 
I give u a dare lemon
try this :D
 
would never finish
not with the current implementation, at least.
 
probably run out of memory ?
 
I'll try it
holy shit it's big
 
@Cereal good luck :-)
 
5:47 PM
@AbhishekHingnikar maybe not. but it would take very very long to find the images
 
ps its scaled down of the original
@rlemon can you make something that creates visualizations like that ?
with your blobs or something ?
 
maybe
 
i can give u power of glsl if you need very powerful filters
 
Well I haven't found a single image yet
ONE
Good start
 
@AbhishekHingnikar Teach me glsl some time
 
@KendallFrey why ?
 
Because I want to know
so I can make epic-looking games
 
@Cereal when you scan the images, are you drawing them full sized and scanning them or drawing them at their destination height/width and scanning that?
 
5:51 PM
@ircmaxell THATS GOLD
 
:-)
 
@rlemon I scale the base image down to whatever before doing anything with the data.
 
good
it does help performance
icanvas.height = scan_size;
icanvas.width = scan_size;
icontext.drawImage(this, 0, 0, scan_size, scan_size);
var data = icontext.getImageData(0, 0, scan_size, scan_size).data,
    rgb = [0, 0, 0],
    i;
for (i = 0; i < data.length; i += 4) {
    rgb[0] += data[i];
    rgb[1] += data[i + 1];
    rgb[2] += data[i + 2];
}
i /= 4;
rgb[0] = Math.floor(rgb[0] / i);
rgb[1] = Math.floor(rgb[1] / i);
rgb[2] = Math.floor(rgb[2] / i);
var colour = checkColour(rgb);
what I do ^^
 
@KendallFrey you gave me an idea, thanks :-)
 
@ircmaxell she needs a boobjob
 
5:52 PM
@KendallFrey she looks no older than 9
get your mind out of the gutter
 
I was talking about the tall one, you BBC-watcher.
 
@AbhishekHingnikar
 
@rlemon holy smoke.
 
@rlemon Now colorize the whitespace, zoom it out, and surround it by black
 
looks like it might take a while to fill in
 
@KendallFrey ....wow. Really?
 
@SomeKittensUx2666 mine are bigger than that
well, maybe I'm exaggerating a tad
 
Doesn't that mean you need a boob job?
 
404'd: 799  used: 649  unused: 5
so far
 
Just realized I'm an idiot
 
5:56 PM
that is scan_size 5 tolerance 2
 
@Cereal I have a penis. Large boobs not required.
 
codepen.io/darkyen/full/lzgGi probably something like that nebula edition will be done by me this saturday @KendallFrey DISCLAIMER THAT CAN KILL YOUR GPU
 
@AbhishekHingnikar that guys is just insane
I love his website
 
@AbhishekHingnikar nice white page
 
@rlemon indeed, i kinda added a * 4 to his demo :->
@KendallFrey lol you don't have a gpu i guess
 
@AbhishekHingnikar Well now it's black, and nothing is happening at a blazing 4 FPS
 
@KendallFrey its 4 million particles on your gpu
the original demo had 1 million :P
 
And none on my screen. Fuck that
 
@rlemon didn't saw that.
@KendallFrey use Chrome
 
I said fuck that
 

« first day (1378 days earlier)      last day (3571 days later) »