« first day (349 days earlier)      last day (3439 days later) » 

22:00
I got notifications for some user named "Zach" today
user652649
i had to scroll for borat yeah
first names notify you
user652649
:(
Leo
Leo
22:00
@rlemon Yes, I have left images out because I have not looked into such code. That code you pointed might help!
@Leo I wrote it, so if you have any questions feel free to ask.
but it is fully commented already
(rlemon so useful)
Leo
Leo
@rlemon Maybe I should try to understand it first then. ;-)
and he pays us for being useful, haha
what a guy
22:02
Leo
Leo
@rlemon What I am trying to make is a tool to check contrast accessibility. I decided not to check background images then. I mean text over such images. Do you see a way to do that with your code?
eclipse in 8 hours
@Leo that is exactly what my code does.
Leo
Leo
@rlemon :-)
returns a relative luminescence (0-255) for the specified region of an image
22:03
haha, I like that response leo
you can determine the contrast from that based on the image text.
that demo determines text color based on that average, but i'm sure you can adapt it
Leo
Leo
@rlemon I am quite sure I will have to take some time looking into the code. And think about what to do with scaling, placement, transparency etc.
takes it all into effect
;)
Leo
Leo
@rlemon I do not like if people are very much smarter than me.
getBoundingClientRect is a wonderful thing
lum += ((data[i] * 0.2126) + (data[i + 1] * 0.7152) + (data[i + 2] * 0.0722));
I lied, it does not account for opacity
22:06
I am still getting issue as its not displaying
Please help
but data[i+3] is opacity (0-255)
so i'm sure you can work that in
sorry, *alpha
@user3329619 Show effort first. I might help then
@Leo haha, don't over credit me. I really like Canvas
I did I added the code. I want the coordinates of rectangle not the canvas
22:07
you get them on click
...
it's exactly the question I linked
@Leo well there you go. and we both use luminescence
yes but they are showing the coordinates of canvas
however my script is what determines that luminescence for the area of an image
^ that is the important note here
Leo
Leo
@rlemon Yes, but it is tricky. I do not know which formulas actually work.
@user3329619 So you're telling me that they are the same no matter where you click on the canvas?
22:09
Its not updating in the text box
I added it in the mouse mve
move*
Leo
Leo
@rlemon You are in a different situation on an image. Might be better to use your formula there (since there may be more computation).
@user3329619 So add the code to change the text of the text boxes...
I'm not going to teach you javascript from the ground up
Leo
Leo
@rlemon How do I find you when you are not here? (I am not very familiar with stackoverflow.)
I am not asking you to teach me JS
ping him, using @ rlemon
22:10
that is the money function
Leo
Leo
Thanks both.
@user3329619 I've told you how to do it, so go try
just a help
I am trying only @Za
@user3329619 You're trying to only copy and paste code, not learn
Leo
Leo
@rlemon Looks like I can't contact you on GitHub. I have just put some small things there: gist.github.com/lborgman
22:13
I'm unwilling to help with that
@rlemon Accept my invitation on Steam <3
@ZachSaucier no point. he was asking questions in js earlier and I tried to help but he ignored me because instead of giving him an instant answer to a vague question I asked another question to try to find out more
@rlemon Can we block users messages from what we see?
yup
click on their name, ignore user everywhere
Leo
Leo
Today I actually came here to see what can be done about the good culture here. I have found stackoverflow very useful and friendly, but looking at this link stackoverflow.com/questions/23070685/… I see someone is deliberately downvoting both question and answer for no reason (at least not any I can see).
Leo
Leo
22:16
What is the normal procedure for handling that here?
there is reason for it
Leo
Leo
Was that an answer to me, @ZachSaucier?
@Leo a) the question does not contain enough information to be answered. b) the answer doesn't address the question
22:18
> How do I make the boxes equal length
but in response to your actual question, some people are spiteful
does not mean "add a scroll bar!"
it means expand the short boxes
others don't understand the question
when it happens, it happens. No big deal. If it's undeserved someone later will come by and upvote it
if it's serial downvoting meta.stackoverflow.com/questions/28756/… it will be handled
same thing with serial upvoting
1 upvote === 5 downvotes (rep wise)
well, 1 up === 2.5 down on a question
Leo
Leo
22:19
Ah, I pasted the wrong link. This was the one I was thinking of

http://stackoverflow.com/questions/23069630/how-can-i-get-the-current-amount-of-daylight-given-only-the-local-date-time-li
yea.. you better delete!
I was so calling your shit on that :P
@Leo well I wouldn't downvote you, but I would flag as "should be a comment"
it isn't really an answer, it is however helpful guidance
^^
as for the question, it is phrased poorly
Leo
Leo
@rlemon Perhaps, but that is how I normally answer. In this case it is more about math than code and then I prefer that style of answering.
22:21
@Leo OR if you wanted to isolate the key points inthe wiki article and translate that to maybe pseudo code for the OP, it would get upvotes
peoples on SO like to be spoon fed
all too true
39
A: what is the best javascript library to display multiple pictures stacked on top of each other

rlemonWhy not just build one? it wouldn't be hard. Here is a small rotate prototype i've worked up (took maybe 5 minutes to write) Element.prototype.rotate = function(d) { var s = "rotate(" + d + "deg)"; if (this.style) { // regular DOM Object this.style.MozTransform = s; this....

take for example this answer
Leo
Leo
Oh, that was exactly what I avoided when I was teaching math. ;-)
26
A: How can I make this progress bar with just CSS?

rlemonCss Tricks has a good article showing how you would achieve this. Example Re: Comment Looks pretty close to me Notice I have changed the widths of the span elements. LAST UPDATE OP wanted it to look more like his example Change the following two lines of CSS in the demo .meter { backgr...

or this one
both OPs needed spoon feeding
Leo
Leo
Maybe spoon feeding makes good programmers, but it does not make good mathematicans.
22:23
then this is the site for you
SO is all about spoon feeding
haha, rlemon, those answers
Leo
Leo
I try to avoid it. It is not my subject now. Actually I switched to psychology.
and spoon feeding does not make for good programmers. it makes for productive idiots
I'd argue for not even productive
Leo
Leo
That is one of the reasons I switched.
22:25
because they get stuck and are hindered by their inability
and by the response time of others
@ZachSaucier and a quick jQuery question on SO gets 5 fastest gun answers for rep
Leo
Leo
But I think people might get unstuck by friendliness.
@rlemon yes, but I'm talking about more high level things
@Leo i'm a friendly asshole. I like to help those to like to help themselves.
Leo
Leo
@rlemon That is the way to go.
22:26
@ZachSaucier well yea, and generally speaking how many high level things are there compared to remedial work
Leo
Leo
Though at the moment I would wish for some spoon feeding with styling. I am really a small boy there.
styling just takes practice and looking at examples IMO
haha
yea, I've been doing this quite some time and i'm still like. uhhh, guys does this look okay?
Leo
Leo
I doubt that is enough for me.
you'd be surprised
22:27
@ZachSaucier how old are you?
Leo
Leo
Ok, thanks. I am going to try some styling later.
I messed around with things and found out I had become an artist
@rlemon 18
:(
I started programming before you were born.
So you've told me :P
@rlemon Really?
22:28
and it depresses me every damn time I think about it
hahaha, no reason for that
@SomeGuy 8 year old I picked up BASIC
Nice
not to say I was doing fantastic things with it. but I could "Hello World" your ass off.
made simple things, like console based calculators
a butt pooping.
Do you still have that? XD
22:30
wut
3
3 -
3  -
3   -
3    -
3 -   -
you get the idea
with console clear and refreshes
ASCII poop animations
@SomeGuy hahaha no
Nice
that was before the days of the internet.
and i'm sorry I've lost some floppies in the past ~2 decades
haha @SomeGuy - I stole that joke from .. uhh.. Ivo?
I can't remember who. JS room user
was months ago he used it
(maybe longer)
was it Simon?
maybe it was
I usually use #bada55 when I need a color to test something
It's badass
I love the explanation, @SomeGuy
Just a hint :p
The CSS color "whitesmoke" is undoubtedly the most refreshing #F5F5F5
found it
don't whine.
22:36
Please don't ignore/block me
he can do what he pleases.
whining about it will just annoy everyone else who hasn't (yet)
haha, must be the user from above (:
@Loktar DUDE! that is what i'm saying!
You guys should meet up!
inorite?
he isn't in MI
but that isn't the point!
22:41
Yeah, who cares? :p
for me to drive to him would be ~12/13 hours
or at least me to omaha would be.
(funny thing is flying, with checkin and everything is about the same time. but I get to sleep)
Haha, that's odd
You guys could meet halfway
the plane ride is like half the travel time :P
layover (cheaper flight) + checking time + baggage claim === like 13 hours
(i've done it before for work)
@rlemon You should come down South sometime
go to the beach, hang with us on the way
:D
if I instinctively talk with a southern accent will I get shot?
22:44
hahaha
not at all
cool
and a croc won't try to eat my balls or anything?
you'll just be surprised that not too many of us have the horridly so, though there are some with them
and they will only eat the balls which are placed in their mouth, naturally
( I work with farmers. my view of the south and the corn belt is VERY biased )
so unless that's your prerogative you should be fine
met a guy whose last name is honest to god "littlejohn"
22:45
hahaha
I want that name
nah, your name is Saucy
I'm just another Fruit :(
that's right, baby, and I live up to it
:D
My wife will be Saucy as well, I'll make sure of it ;D
Just found a sick drop I'll have to remix into a song because the rest stinks: soundcloud.com/edmtunestv/live-for-the-night-aero-chord build up starts at 1:40
@rlemon next time I go to MI Ill let you know
I need to get a passport as well
maybe Ill just come into Canada
haha cool
(bring your rift!)
22:50
hah alright
@Loktar What do you have for it?
@Loktar What'll you do with the dk1 when you get the new one?
are you using it to develop anything?
the kids will get it @SomeGuy
@ZachSaucier not anything for it major
Oh, yeah, that makes sense
22:51
just have played around with things
like using nodewebkit+threejs
@SomeGuy they are lucky
They truly are
man if my dad had a VR thing and gave it to me I would shit myself
@ZachSaucier TF2 is so awesome in it
22:52
also HL2 + the rift mod
I suppose you don't have the foot pad to allow you to run in place?
nah
ooo I want one
I kind of want to go back and watch that video of your son talking shit about the rift and then getting scared :D
I think its a bit gimmicky still
22:52
sure
@SomeGuy haha
@Loktar the omni looks cool. shut up!
as it practically has to be
I laughed so hard at that, man
@rlemon its a good idea but I dont think their implementation is perfect
I think something better will come out still
22:53
sure, it always does
there will be a better Rift as well
the omni (for its price) is still pretty fucking cool
yeah
its large though too :?
Im going to wait until the consumer rift is released and then see what sort of other devices come out
@SomeGuy was that video a facebook video or youtube..
I cant find it
Facebook
> IM NOT WATCHING ANYMORE! MY EYES ARE CLOSED! TAKE IT OFF! TAKE IT OFFFF!!! (wife laughing in the background)
22:57
lol
@Loktar your wife (or whoever it was) laughing in the background makes it so much funnier imo :P
lol damnit I cant find it
I can't remember which son it was
Jacob my oldest
ah found it
I need to put it on youtube lol
not sure if itll let you guys see it if not logged into fb idk. I set it to public
Can't see it :/
ah lame. Yeah Cats permissions override mine
I need to have her set it to public later
lol man i rewatched it and laughed pretty hard
Jacob is like Oh don't share it, lets record it again
23:04
Wonder how I watched it in the first place, then
Hahahaha
He must have been embarrassed
you saw it on FB
Yeah
you're my friend you should be able to see it
Yeah, but I can't
I've seen it, don't have FB
sure it wasn't G+
23:04
weird...
> The link you followed may be broken, or the page may have been removed.
lame.
@rlemon hmm idk
nope
just checked.
Anyway, I'm off to bed. Drop me a ping if you reupload it or something!
23:07
@Loktar @SomeGuy facebook.com/…
^ dayum.
found it
in EcmaScript, Oct 9 '13 at 1:33, by Loktar
https://www.facebook.com/photo.php?v=10202353110773646&set=vb.1368646661&type=2&‌​theater
wait.. so that one works?
yup
lol thats the one I just shared to my timeline so weird
hah my room is so diff now.. got rid of the tiny shit table
> This actually does look really fake
lol
23:09
:(
damn wtf thats so weird man
well let me try updating the driver again... :/
there is a new driver available. who knows. crosses fingers
yeah hopefully they work
nope :(
damn
23:23
on a lighter note! I just made progress on my work code
win some, and you lose some
23:42
haha
23:56
Hi there! I just dropped in to ask a quick question; would anyone know if the css position: absolute property potentially does weird things to web scripts like Java and jQuery?
first things first, define "weird"
second thing: Java is not web based, javascript is - they are two completely different things
Java can be
third thing, jQuery is just a library that makes javascript easier to use
but applets are dead
Exactly my point
unless you're a CS student like me ):
23:58
I'm trying to correctly 'snap' some draggables into some absolutely positioned droppables. but they always uh... 'snap' somewhere else. like, somewhere in the upper right corner of the droppable. not the droppable itself.
if you're using position:absolute you have to specify top and left values to position the elemnt
(also, sorry about the Java-javascript confusion; I'm not exactly a CS major. :))) I'm just a hobbyist trying to help with programming at work cos we're undermanned)
@Willow This site learnlayout.com may help you understand the basics of positioning with CSS

« first day (349 days earlier)      last day (3439 days later) »