« first day (1724 days earlier)      last day (3228 days later) » 

6:02 PM
 
fibers?
 
@Luggage Coroutine library, from what I gather.
 
How can I update the hash on scroll ?
 
addEventListener('scroll', updateHash) in global scope
 
ew
why implicitly global?
and you need a context ;)
and I like to provide the capture flag, even if I'm using the default.
 
6:11 PM
x in global scope === window.x ;)
 
because.. :P
@AwalGarg don't assume he wants to pick up window scroll.
containers (elements with overflow) can also scroll.
:D
 
actually I should have lmgtfy'd that question
 
http://www.commitstrip.com/en/2015/07/06/meanwhile-in-a-parallel-universe/
CommitStrip - Blog relating the daily life of web agencies developers
Meanwhile, in a parallel universe
CommitStrip
1436206663
 
user3119231
6:34 PM
 
@rlemon yeah I saw that, pretty nuts
 
0
Q: Pixel location accuracy in canvas

afonsomatosWhen drawing figures in the canvas, I often have the possibility to add the width and height of what I want to draw, for example, using .rect() context.rect(10, 10, 100, 100); But what happens when I shrink the width and height to smaller and smaller values? context.rect(10, 10, 1, 1); contex...

Edited: pixel->point
 
@afonsomatos id always convert the coords to an integer
otherwise youll get blurring anyway from the AA
@Jhawins hahahah you should have
 
@Loktar Jhawins is afk: back to work
 
sometimes 'blurring' is desired. when you care about the shape being true to form over landing on a pixel boundry
 
6:47 PM
@Luggage yeah I suppose, but it renders sub pixels by using AA regardless iirc
can a user see a difference between 0.8 and 1?
I mean by all means keep track of the real values
 
sometimes they can. If a line is a lot darker than it would otherwise be due to you massaging the value to line up with a pixel.
 
@Loktar FYI, I'm all (kinda) settled in. Spare bedroom has a bed :P and bedding :P so whenever you visit Canada next I have a spare room.
 
user1596138
@Loktar I did something more subtle...
 
@Luggage well yeah but thats due to the AA
 
user1596138
6:49 PM
hey @Loktar you know how I kept bitching that the Chrome dev tools network panel doesn't pretty print? Well the preview panel on it does folding... Which is way better. I just had never noticed lol. Maybe a TIL for both of us
 
er do you mean lines next to eachother?
regardless I hate the AA implementation it annoys me always lol
@Jhawins oh nice dude
@rlemon dude sweet!!
I was wondering on our way to MI how that was all going
you have pics of your office yet?
 
@rlemon how big is your new home?
 
~168 sqm
inside
 
I guess.. any lines/curves that are just being rasterized and the original shape is important. Say, a small vector icon.
Now UI lines you might want to land right on pixels wo you alays get a sharp edge.
 
@Loktar no, it isn't really setup
 
user1596138
6:51 PM
@rlemon ~550sqft?
 
have been using my laptop
@Jhawins 1800
 
if you were drawing a button, you probably want it right on the pixels, nice and sharp
 
hey I had a pen on CSS tricks!
 
nice
 
Anyway, I think we understand each other..
 
6:52 PM
that is an older pen right?
 
@rlemon wow
awesome
 
ty
 
user1596138
@rlemon Oh right, squared stuff. Nice! I was gonna say it's tiny haha
 
doing chores in this home must be terrible :D
 
6:53 PM
@rlemon yea 2 years I think
 
@FlorianMargaine nahh, it's mine, not some slumlords
 
so I am enjoying keeping it nice, and doing work.
 
@rlemon I mean just doing it must take an hour
@rlemon heh
 
main floor is wood / tile. so it just needs mopping / sweeping
upstairs I have my roomba
and vacuuming takes like 20 minutes
 
6:54 PM
oh, nice
 
basement is unfinished, therefore just need sweeping
 
@rlemon I read that as math.floor is wood / tile O.o
 
I was told that all american houses are made in wood is it true?
 
@rlemon is canadian, so he can't confirm
@rlemon wait you don't vacuum on wood / tile?
 
What else are you going to make a house from?
 
6:55 PM
I can, I do not.
easier to sweep and mop it
@Luggage brick
 
brick is often just a facade over a wood structure
 
@rlemon don't you have cats?
 
yes
 
they usually leave so much hair everywhere...
 
they don't shed much.
and they seem to rub most of it off on the carpet
 
6:56 PM
anyway, yes, houses in the US are predominantly wooden.
 
this was before I moved in (obvy)
you can see where the brick ends and siding begins
yes I took a picture of my new BBQ
 
why is the brick showing?
why don't you paint it
 
because it's nice this way
 
@afonsomatos painted brick looks tacky to me
 
6:58 PM
getmdl.io material design lite released
 
@rlemon It's not tacky, here in portugal all houses are like that
 
@afonsomatos tacky is subjective.
to me, it is tacky.
deal with it :P
 
almost afternoon everybody
 
it's 9pm here
 
it's 8pm here
 
7:00 PM
so "everybody" doesn't really apply
 
my living room sans coffee table
we picked up the table on the weekend tho :D
 
big sofas
me gusta
I could totally sleep on that
 
my bed is 3ft tall :D
you need a little jump to get into it
in hindsight the boxspring wasn't needed.
I'm really enjoying the patio
thick, and concrete (finished with a pattern) so it stays warm in the evenings
 
@rlemon what's the average temperature during a heatwave there ?
 
did it hurt wen u fell from heaven? cos u look like a ded bird
 
7:03 PM
@KarelG heatwave? high 30's low 40's
 
@rlemon really nice
 
with humidity
summer average, high 20's low 30's
 
would it not become too hot to stay in the garden
(sitting on the patio)
 
@KarelG even in the 30's it is hot in the garden.
@KarelG I still do not have proper patio furniture
once I do there will be an umbrella for shade
 
i love sunglasses am i looking at face or am i looking at boob nobody know
 
7:05 PM
here is my patio furniture for now..
 
yeah, but these concrete tiles can add some degrees to the current temperature due of reflection and keeping it's energy
 
@rlemon is that lady friend?
 
@KarelG If it gets too hot, hose it off :D
@FlorianMargaine yes
 
1st time I actually see a pic of her
 
and you can see between the patio pics the garden I put in (and the weeds I took out)
 
7:05 PM
even if that's from afar
 
question about promises chaining
 
yeah the garden is real nice
 
looks like you worked hard
 
is there a way to only specify the error callback?
 
7:06 PM
@rlemon i see that as sorta water waste
 
@im1dermike Answer about promises chaining
 
@FlorianMargaine us at Canada's Wonderland
 
@im1dermike Of course, chain with .catch()
 
@KarelG better than hot feet.
 
@rlemon Canada has mickael jackson too?
 
7:06 PM
thanks @MadaraUchiha
 
You're welcome :)
 
@KarelG it's not california over there
 
@FlorianMargaine huh?
 
@rlemon that's why a bud of mine has replaced these concrete tiles with a beige one.
but the idiot has bought black chairs ...
 
@KarelG hasn't been an issue tbh
 
7:07 PM
@rlemon wait, I was thinking of neverland
 
Canada's Wonderland is a 330-acre (130 ha) theme park located in Vaughan, Ontario, a suburb approximately 40 kilometres (25 mi) north of Toronto. Opened in 1981 by the Taft Broadcasting Company and The Great-West Life Assurance Company as the first major theme park in Canada, it remains the country's largest. The park was owned by Paramount Parks from 1994 to 2006 when it was known as Paramount Canada's Wonderland. Cedar Fair Entertainment Company purchased the park in 2006 dropping Paramount from the title. Canada's Wonderland has been the most visited seasonal amusement park in North America...
fun park.
 
nice looking house
 
Just landed in indianapolis
The fuck is this mph bullshit
 
@rlemon that sounds like a korean name
 
Why is everyone bumper fucking each other
 
7:09 PM
@BenCraig how can you tell that since you only see the garden pics ( Though the garden appears inviting... gotcha wait for the finishing results)
 
I know the area
 
@Cereal : that's how speed is defined in USA. If you're using a hired car, it would show you the speed in the same unit
unless not, then add a calculator on the dashboard
 
It was a joke
Metric system master race
 
check this out
 
I mean, I dont know exactly where it is, and theres some lemons of houses, but overall
 
7:11 PM
Ripley's Aquarium of Canada is a public aquarium in Toronto, Ontario, Canada. The aquarium is one of three aquariums owned and operated by Ripley Entertainment. It is located in downtown Toronto, just southeast of the CN Tower. The aquarium features several aquatic exhibits including a walk-through tank. The aquarium has 5.7 million litres (1.5 million gallons) of marine and freshwater habitats from across the world. The exhibits hold 13,500 exotic sea and freshwater specimens from more than 450 species. == History == Ripley's Aquarium of Canada was originally planned in 2004 to be built in Niagara...
@BenCraig yea depends on who builds them
 
@rlemon is that seriously yours?
 
@FlorianMargaine no, see the wiki link.
 
yeah lemon owns ripleys aquarium
 
tis a video if you didn't click it
 
7:13 PM
I did
and was impressed
 
Yo whats up guys
have a quick question
 
Hi
 
@Cereal wass up Bro !
 
upside down jelly fish
really neat
 
7:15 PM
can somebody
answer my question in this fiddle
thanks in advance :D
 
Is a splat even valid in css...
 
@rlemon What is that your aquarium?
 
!!mdn *
 
@AlexanderSolonik the * is an universal selector, which matches all elements. So the *.className is equal to .className
 
7:19 PM
!!mdn universal selector
 
sometimes it gets used in between the tags, but i don't see that as a good practice
 
@KarelG Thanks !
 
@afonsomatos yes
I own a 100 000 gallon aquarium
 
!! google gallons to litres
 
7:26 PM
@KarelG That didn't make much sense. Use the !!/help command to learn more.
 
I'm too used to thinking about fish stuff in Gallons
 
almost all of the tanks / equipment I buy is made in the USA
 
wait ... there is an US and UK version ?
 
yes
there is a "British imperial system"
it just isn't used.
 
7:27 PM
UK 1 gallon = 4.5460 liter and US 1 gallon = 3.785 liter
such simple
 
why are both called gallons?
 
metric tonne, imperial ton. fancy that one.
 
wait
there's a metric ton?
 
literally 90% of units in USA are not the same as in europe
 
@FlorianMargaine tonne*
1000kg
 
7:29 PM
I mean
there's an imperial ton?
 
yes
 
I know the metric tonne
 
!!wiki ton
 
The ton is a unit of measure. It has a long history and has acquired a number of meanings and uses over the years. It is used principally as a unit of mass. Its original use as a measurement of volume has continued in the capacity of cargo ships and in terms such as the freight ton. It can also be used as a measure of energy, for truck classification, or as a colloquial term. It is derived from the tun, the term applied to a barrel of the largest size. This could contain a volume between 175 and 213 imperial gallons (210 and 256 US gal), which could weigh around 2,000 pounds (910 kg) and occupy...
 
I thought "ton" was just the translation of "tonne"
 
7:29 PM
nope
US Ton is 910kg
 
2000lb
910 kegs of beer
 
seriously...
well, I guess it made sense for apple to be in USA
"think different"
"calculate different" too
 
lol
!!afk dr
 
@FlorianMargaine weird americans heh :p ... 1 tonne = 1000 kg is more simplier
 
7:34 PM
psh why is ton spelled so stupidly though?
 
@Loktar psh why are americans so stupid though?
 
@FlorianMargaine because when you're on top theres no one left to impress.
 
/me had to think of something really American and smug to say
 
btw @SomeKittens told me an eagle would arrive, still waiting
2 days ago, by SomeKittens
@FlorianMargaine Your eagle will arrive shortly
 
7:36 PM
Maybe it mixed up the date
It was here the 7th of June I bet
 
@FlorianMargaine I dunno, why are you guys all so bad at soccer?
 
@Retsam maybe because we play football?
you know, with the feet
 
@FlorianMargaine How much oil do you have?
 
@SomeKittens :D
 
@SomeKittens How much water do you have?
 
7:38 PM
bim
water 1 - 0 california
 
At least California doesn't just surrender at the first sign of trouble
 
thankfully France doesn't either
anything we can say about Canada? Oh no, they have no history
 
/me feels bad about the bad rap France gets for surrendering
 
At least we wear deodorant
 
uh, we... do?
 
7:42 PM
May 10th - June 17th France fought Germany before surrendering, Poland fought from like Sep 1st - sep 29th, lol yet France gets all the crap still
 
how do you capture a mouse focus out on any input in the document?
$(document).on('focusOut' ??
 
@Loktar Look up how Denmark fared :)
 
@ivarni oh yeah I know other countries fared better and were better prepared
 
maybe this? $('input').on('focusOut', function (e) {
 
@Loktar They surrendered after 2 hours ;)
 
7:45 PM
ah I was thinking of Finland
 
focusout works :)
 
@Loktar nah, France's government was really stupid back then
 
opensource.stackexchange.com just transitioned to public beta, wooo
 
user3119231
hello everybody.
 
user3119231
if someone could help me out on the last step it would be great. stackoverflow.com/questions/31248221/…
 
8:01 PM
@FlorianMargaine oh nice, upvoted
 
8:11 PM
Hmm, any idea why the doenvote on stackoverflow.com/a/31125116/1348195
?
 
user3119231
maybe it is not the answer the op expected
 
eh, people that downvotes doesn't always tell the reason
@FlorianMargaine is the HTML5 validating (with sending invalid events) solid ?
 
user3119231
uh can math be soo hard? :(
 
@Maurize o really ? 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55
gaussian trick: 0 + 10 = 10, 1 + 9 = 10, 2 + 8 = 10, ... 4 + 6 = 10, so 5 * 10 + missing 5 = 50 + 5 = 55
// gasm
 
user3119231
lol thanks, I never knewed
 
8:21 PM
express-generator won't install
npm ERR! EISDIR, read
 
@Maurize now you know how to solve 1 + 2 + 3 + ... + 1000 (or other number)
 
I used that trick for Project Euler #1
 
you're a better mathematician then me
 
Hi
I just want to remind you... the game
 
@Neoares go play in traffic
 
8:25 PM
@KendallFrey <3
 
user3119231
@KarelG so you know math? Then tell me how to calculate a static point (like sticker) from parent (background) position.
 
@Maurize Do you know how to count? Then tell me how many there are.
 
user3119231
@KendallFrey what do you mean?
 
each item has a position starting from its parent box, from upper right corner.
 
8:27 PM
@Maurize What do you mean?
 
user3119231
@KarelG I know how coordinates work
 
my answer is vague because your question is vague ...
 
user3119231
Okay, maybe you're right. For example, like on my website bm-designs.de/test you can see this "blip" in the top left corner. I want it to stay straight in north america. If you check page source you'll see my code.
 
that mouse movement which moves the map can be annoying for users ...
 
8:32 PM
shit I lost again
 
if you want to focus on the blip, it should focus on the blip, not going to nuts.... had to search for the blip
 
@Maurize You have 2 reference frames: the map and the viewport
You're trying to place the blip relative to the viewport instead of relative to the map
 
user3119231
@KarelG but it make sense in my case. @Meredith I just want to let it stay there in north america even if I scroll to australia.
 
So you need to make the point relative to the map
 
user3119231
This is what im trying since noon.
 
8:37 PM
Ok, imagine that the top left corner of the viewport is a point on the map
Call it (x, y)
And the blip is at point (n, m) relative to the map
 
is someone reimplementing google maps?
 
What's the position of the blip relative to the top left corner of the viewport?
 
hello meredith
 
Hey :)
 
being in teacher mode ? :p
 
user3119231
8:39 PM
@Meredith x - n ? oO
 
I guess lol
 
please recall that the coordinates starts in upper right box. if you subtract a value from x or y, then you will have something out of the box ...
 
user3119231
@KarelG ah that would explain many things! :D
 
still , where did you find these nice images of the lights ?
 
user3119231
google -> world map in high resolution
 
8:42 PM
hi all, havent been around here in a while, but i'm up to learn some new stuff and i'd like some input from you guys. I've read around about angularJS and wanted to give it a spin, i also heard about grunt&gulp, jasmine, compass, bower, twigg and all sorts of stuff, without trying to implement just yet, i have time (yay)!!! But im missing a key component that would be something that would provide the data (core db thingy xD) and i heard about restful api's, what's out there that does that?
What's good, stable and could probably provide the api documentation from it's comments (just wondering)
how do you guys put all this stuff together?
 
Been in the US for 1 hour and I've already seen 3 tanks
 
no mages?
:p
 
@Cereal near a military base?
 
they dont come out of their parents basements, hard to find them
 
@Maurize (n - x, m - y)
 
8:46 PM
@Maurize upper left* confused left and right ... lel
 
@luggage not that I can see. Driving to wabash fromindianapolis
 
Both will work, you'll just have to deal with the quadrants being switched around
But n-x will probably be more natural to work with
 
@Maurize are you still with the blip? xD
show me your progress :D
 
user3119231
@Neoares yeah, sadly. bm-designs.de/test nobody really helped me since noon :D
 
@Maurize it's not fixed Q_Q
 
user3119231
8:47 PM
@Meredith var cX = childs[i].offsetLeft-terrain.X;
var cY = childs[i].offsetTop-terrain.Y; gives NaN
 
but but ... meredith was helping you
 
user3119231
@KarelG lol for about 4 hourse nearly all people arround here were trying to solve.
 
I'm guessing that offsetTop isn't a number
But I'm not debugging your code for you
 
user3119231
@Meredith I never asked for.
 
@Maurize : well, i was busy with watching to this idiot
 
user3119231
8:49 PM
@KarelG yeah, 9gag takes half of my daily work :D
 
We probably shouldn't tell @Maurize about Imgur
 
I've been trying pretty hard not to go on reddit at work
 
@KarelG rofl
 
9gag collects most of its images from reddit and imgur and other sites btw ;)
 
@KarelG LMAO
 
8:51 PM
Yeah but the images are from /r/funny
 
user3119231
@KarelG yeah but I like the NSFW option
 
@KarelG 9gag became a crapper full of ads and reposts from the inside and out
 
> became
 
*become :p
 
user3119231
 
user3119231
8:56 PM
xD
 
It's addition
 
@Maurize : is your purpose to have multiple markers ? (just questioning the loop)
 
Well, subtraction I guess
 
user3119231
@KarelG yes.
 
ah, ok lemme check
 
8:58 PM
just do blip.x - viewport.x
It doesn't need to be more complicated than that
 
Hey guys, question to anyone in any non-Pacific time zone; what does Date.now() return for you?
 

« first day (1724 days earlier)      last day (3228 days later) »