« first day (1719 days earlier)      last day (3235 days later) » 

7:00 PM
We have a lot of clients who are blue collar (factory workers and retail), so we support IE8+, Firefox, Chrome, and maybe mobile Safari.
 
Maybe he peed
 
yea, IE8+ cover 99% (I'm making that number up, but it's the majority). ie9+ is much simpler to support, though
and ie8 is only like 5%-ish
 
> crate-method-reexport-grrrrrrr2.rs
Great file name
 
In unrelated news: gaymarriagebodycount.com
 
@Zirak ha
 
7:14 PM
I wish antivirus was really like this
 
how the HELL do you tell if an image is in the broken state, reliably, without resorting to try-catch?
(sorry for being that guy)
(but asdfianfjanfkan)
 
-1
Q: Efficiently storing DNA base-pair data in RAM?

EcksterVery related to this question: Most efficient way to store a big DNA sequence? and this one: Declaring a new data type for DNA I'd like to find a way to efficiently store long sets of the characters ACTG without wasting an entire byte for each value, when it should only require 2 bits. However, ...

 
img.complete is nearly meaningless
 
@SimonSarris what about the img.onerror event?
 
7:25 PM
@SterlingArcher meaningless if the image becomes okay later on
 
@SterlingArcher Have you seen the Battletoads one?
 
ie image fails to load, onerror fires, then afterwards it loads fine
 
@Zirak yeah when they called Pawn Stars? I cried
 
(for timeout reasons perhaps, but for any arbitrary reason)
 
@SterlingArcher At times like these, I both hate and love the internet
 
7:26 PM
Simon, matrix your brain into me so I can know a lot
pls
 
gosh, times goes away so fast. I woke up like 5 minutes ago, coded a little bit now it's 8 pm
 
utter brilliant wordplay
 
This was my favourite
The last sentence was brilliant
 
Dat arrogance lol
 
7:29 PM
"You know which one bitch, you know what's going on here"
 
you'd think you could look at image.naturalWidth, except IE10 and IE11 leave that value as ZERO even when some images are loaded (images of the .svg variety)
 
> Hello this is gamestop
> Yes do you guys have CoD?
> Which CoD?
> I think you know which CoD
 
HAMMERTIME!
 
cap pls
 
Heh, cap, u so silly
 
7:31 PM
I don't know which CoD..
 
2: Big Red 1
 
@SterlingArcher Have you seen the Krusty Crab one? imgur.com/gallery/rFb0Q
 
@Zirak That's evil :P
 
it's one giant pic
the second to last
 
7:35 PM
stackoverflow.com/questions/31169924/… < Now it's too broad and a code request...
 
@Zirak I am seriously disappointed.
 
@Cerbrus OP is a faggot, as is widely known
 
Not one of them took the opportunity and responded with "No, this is patrick!"
 
@Zirak is that gaymarriagebodycount a joke? If not, it makes me sad
 
@afonsomatos It's legit, they track it
 
7:37 PM
so the guy who runs the website is like: what?? another person killed because of gay marriage ?? I better update my website :D
 
how do you use a common function in a filter?
NodesArray.filter(commonFilter(node))
it says node is undefined
 
@afonsomatos On the other hand...
 
@SuperUberDuper do you know what .filter is ?
 
Her Lips Though.
 
<div class="big_old_goose_egg">0</div>
LEL
 
7:39 PM
you are calling commonFilter() once and then passing the result.
try passing the function without calling it first. (no parentheses).
 
ah ok thanks
that works
 
I thought jaden smith had deleted his twitter account
 
Coachella Memories.
He can't delete his account, @SomeGuy and I are huge fans
 
Hell yeah!
Jaden is hilarious
 
7:41 PM
Zirak is gonna love it, and the second comment lol
 
LOL
@Zirak @SterlingArcher google (305) 267-9997 (the gamestop number from the post)
 
Okay?
 
:DDDDDDDDD
 
7:43 PM
hahaha
 
LOL are there more versions of those posts? I'll never get bored of reading them :D
 
@Meraj99 4chan has everything of everything.
 
And tons of it
 
I swear they one time also spammed an abortion clinic or something like that, can't find it though. I got an abortion laughing from it.
 
Oh, I got glasses yesterday!
Seeing things in HD is fun
(I don't really need them)
 
7:47 PM
Congrats! I broke my glasses yesterday
 
Did you sit on them?
That's the one thing everyone's cautioning me about :p
 
How blind are you? Focal point? (not sure how to translate that into English, basically what's the lens density)
(mine is -2 and half a cylinder on the left eye, -1.75 on the right)
 
0.75 and 0.25
 
@SomeGuy So... you're a hipster, basically.
 
oh, that's not bad at all
 
7:49 PM
I only wear them at home, so not really
 
Positive numbers imply you don't see well from afar though.
IIRC
 
Oh, yeah, I don't know how that works :P
In India, they don't really explain it to you
And looking it up online, there was way too much
 
@MadaraUchiha Opposite: Negative for long distances, positive for close distances.
 
All I know is that my glasses do help me read more easily
 
@Zirak Huh
I need to brush on my optics.
 
7:51 PM
@SomeGuy Do you know some basic optics, like what a focal point is?
 
Yeah
 
@SomeGuy The numbers are the inverse of the focal distance
 
TIL @Zirak isn't perfect
Glasses are for the unevolved
 
So 0.25 implies a lens with a focal distance of 4 meters
 
Ah!
 
7:52 PM
Your eyes are shitty: Their focal point is different than the optimal focal point for your brain
 
Positive numbers are for converging lenses, negative one for diverging ones.
@Zirak No man, your eyes are shitty.
You're the one with the glasses, not us.
 
Glasses refract light so that the focal point changes
 
Also, as Madara, you know that my eyes are perfect to the supernatural level.
 
That doesn't sound healthy
 
@Zirak Yeah, I knew that
 
7:54 PM
@SterlingArcher It merely helps your eye in case the muscles fail to change your eye's focal point to a point.
 
That's pretty much all there is to it. Cylinders are for changing the axis: My left eye is extra screwed, so it thinks the axis is a bit tilted. Cylinders correct that.
 
I just didn't know what terms like "cylindrical" implied
Ah
 
conical
rodical
eye terms
 
Umbilical
 
Rinnegan.
 
7:55 PM
@Zirak They're also full of liquid, while the environment is not, causing completely unnecessary refraction that makes our vision much worse than it needs to be.
@SterlingArcher "Conical Rodical" sounds like a male porn star from Mad Max
 
@ssube Not sure if trolling or....
 
!!wiki Rod Cannon
 
@SterlingArcher No result found
 
@MadaraUchiha nope, read a paper on it the other day.
 
7:56 PM
Yknow how when you look through a jar of water, things look funny? Our eyes do the same shit.
 
@ssube They're also pretty dumb, since they actually show the image in reverse. Our brain learns to correct that at early childhood.
 
@ssube Well, our eye wouldn't be able to refract light if it weren't for that liquid.
Light refracts when moving from one medium to another
 
If our eyes were not full of liquid and were solid in some fashion, we'd be able to see almost as well as birds.
 
But we have big, round, watery eyes intended for fish.
 
7:56 PM
There was a really cool experiment where they gave people glasses which invert the image horizontally. After a couple of weeks the subjects' brains learned to correct that, making the image up-side-up again.
 
@ssube Ah, that what you meant
Yeah, makes sense.
 
That movie is so funny. One of Chris Pratt's first movies
 
@Zirak I feel sorry for them though
 
That's why if you're under water, in clear clean water, you can actually see somewhat better than in air.
 
Took a few weeks to adjust, then a few weeks to adjust back :D
 
7:57 PM
Except that the sea is full of shit, so you can't see a damn thing there.
 
@ssube I doubt that's the reason.
 
@Zirak That was such a fun read
Perceptual adaptation in case anyone cares en.wikipedia.org/wiki/…
 
Light refracts differently from air/eye than it is from water/eye
It makes your eye lens useless, and you'll see blurry
 
Even in perfectly clean and clear water.
Your eyes are adjusted to see in air, but won't work correctly in any other medium.
 
7:59 PM
@MadaraUchiha The lens is somewhat set up for air, but our eyes work better under water.
We still have fish eyes, they haven't evolved away because we can see well enough.
I just can't find the paper :(
 
@ssube Link me as well if you do?
 
Not what I was thinking of, but interesting: sciencedirect.com/science/article/pii/S0960982203002902
 
Oh @SomeGuy I finished serial. Wanted to punch something.
 
Hahaha
Perfect
 
first sentence: Humans are poorly adapted for underwater vision
 
8:02 PM
@copy That's interesting
 
I finished the second Game of Thrones book
 
I think a bunch of stuff happened because of the podcast, though
Personally, I haven't kept up
But reddit.com/r/serialpodcast probably has everything
 
oooohhhh
 
Inevitable question: do you think he did it?
@SterlingArcher Have you watched all of the show?
 
Not a single episode
 
8:05 PM
Oh, nice!
I started reading the book after watching 1.5 seasons, I think
 
I'm hooked
 
The books are AMAZING
 
@SomeGuy At ep2 or 3 I noticed that I was biased towards him, after which I actively attempted to free myself of any bias, for or against him, as it said in the final episode. So I'm very much on the fence.
...honestly though, I don't think he did it.
There's that small part of me which just doesn't accept it
 
Haha, yeah, the same thing happened to me
I was biased initially because he sounded a lot like me
 
How can one maintain the façade for over a dozen years?
 
8:07 PM
I'm sure it's possible
 
Especially when admitting guilt might actually benefit him
 
I lean towards believing he didn't do it
But I can't really say either
 
Finished upgrading our edge routers. That went SO much better today.
 
Hey everyone. I am hooking the .change event on a input field using this: $('#cashg').change(function(){} however i have a click event elsewhere that modifies that inputs value this way: $('#cashg').val( ($('#cashg').val() -500) / 2 ); The value changes properly on screen, but the this method of assigning the value is not triggering the .change() is there antoher way i should set the value that would trigger .change() ?
 
Use the input event instead
 
8:11 PM
@copy will that help?
 
HAPPY CANADA DAY, EH?
 
@JanDvorak So that you don't have to lose focus, yes
 
HAPPY CANADA DEH?
 
If the `input` event doesn't capture programmatic value changes (and it may), just trigger it manually after you change the value:
$('#cashg').val(...).change();
 
@copy THanks! That looks like the way to go.
@Luggage the input does both, manual entry will trigger some calculations but there are other functions that can directly adjust data programmatically
 
8:27 PM
I just wrote my first ever JS answer that required me to dig through the spec for specific details.
/me feels kinda accomplished xD
 
6
Q: Equality comparison between Date and number doesn't work

GetFreeAccording to the ECMA script standard, the following code should return true, but it doesn't: d = new Date() ; d.setTime(1436497200000) ; alert( d == 1436497200000 ) ; Section 11.9.3 says: If Type(x) is either String or Number and Type(y) is Object, return the result of the comparison x...

 
Aye, there
 
Nice answer
 
It looks kinda messy though
 
@Cerbrus isn't it fun?
 
8:30 PM
It is :-) Pieces fall together like a puzzle, writing like that :D
 
(one small note: if you're linking to es5, es5.github.io is much nicer, but you should start linking to es6 since it's the latest release: ecma-international.org/ecma-262/6.0/index.html)
 
This is so old. In case you missed: thenextweb.com/shareables/2013/01/16/…
 
OP used that es5 spec, so I figured I'd use the same resource as him
 
Fair enough
 
Haha, my friend says they use dark mode to read on their phone because they thought it'd help them save battery
 
8:39 PM
@SomeGuy my phone switches to a dark, monochrome theme when the battery is too low
like, built in
 
Yeah?
It was an interesting idea
 
backlight takes a ton of power
less than facebook, but still
 
The dark mode doesn't turn the backlight off, though
Maybe it does on your phone
But just using an app's dark mode setting won't
 
I think it dims the backlight and darkens the screen
 
TIL the chrome inspector tells the story :-/
codepen.io/darkyen/pen/QbQKQz?editors=011 can somebody open that in ffox and tell me what is the maximum height they get ?
Well wtf browsers have max height for elements :D
 
8:58 PM
Project architect didn;t like my fizzbuzz solution :(
 
@Zirak @SomeGuy
> Respected
 
> """"SILLY""""
 
i.imgur.com/E7Vu8Ls.webm omg it literally blew his shirt off
 
Very intresting
IE supports order in flex
 
@SterlingArcher He still may be
 
9:08 PM
only upto 12k
 
He's so deep
 
crl
@NickDugger Can I see it?
 
for (var i = 0; i <= 100; i++) {
    if (!(i % 3) && !(i % 5) {
        console.log(“FizzBuzz”);
    } else if (!(i % 5)) {
        console.log(“Buzz”);
    } else if (!(i % 3)) {
        console.log(“Fizz”);
    } else {
        console.log(i);
    }
}
He told me that he was being cheeky
that mine is fine
I'm writing the new front end assessment for when I leave and they hire a new guy
 
@copy and other Python aficionados: gist.github.com/Zirak/605c7278ade4db90dc41
 
@SomeGuy he ?
 
9:17 PM
Jaden Smith
 
dude hes deeper than deep !
 
Right, my bad!
 
crl
for(var i=0;i<101;i++){var s='';if(i%3==0){s='Fizz';if(i%5==0)s+='Buzz';}else if(i%5==0)s='Buzz';else s=i;console.log(s)}
 
what markdown editors do you guys use for linux?
 
@afonsomatos Sublime Text
 
9:21 PM
what?
 
crl
21 secs ago, by SomeKittens
@afonsomatos Sublime Text
 
oh lol sublime text supports markdown
 
What do you mean 'what'?
 
but how do I actually see the output?
within sublime
 
Isn't half the point of MD that you don't need to?
 
9:23 PM
true true, but still I like to see the output
there must be a package for that
 
@Zirak Awesome tool
I don't see what's the point of Markdown in sublime if it doesn't get syntax highlighted.
 
12 mins ago, by afonsomatos
there must be a package for that
 
Is there a tool which tells me what exactly happened with DOM ?
as in explain me what react did ?
 
@Zirak How about one queue per thread. Then your unit is queue and you can implement all abstractions on queues
 
@copy You can't select on queues
 
@copy after I blow my brains out, will you help me with a generic ajax form submission?
 
Maybe I can patch something up around queue.get so it'd look like select though
No, wait, no
 
9:46 PM
I was thinking you could use blocking queue.get
 
@Moe where's larry, and curly?
 
@copy How will you do that on several queues?
 
@RalphWiggum you havent seen simurais monster have u ?
simurai.com/projects/cursor-monster this is almost pure css :->
 
@Zirak Hmm, you'd need more threads I guess
Meh
 
@copy Exactly
 
9:50 PM
I found a bug: http://codepen.io/Yakudoo/details/YXxmYR/
If you center the fan, and click, it comes forward, not turns back
 
ps i didn't mean that the loin is less cool or anything, the monster feels like the ancestor.
 
@Zirak @copy ^^
 
@Zirak I see the problem
 
@SomeKittens Not much to it, looks decent
 
@Zirak Cool, any glaring edge cases, etc?
 
9:54 PM
As a general rule I'd return the result of calling the overriden method, but that's practically it
 
Not too unsafe for work, but probably still nsfw, but this is going to give me nightmares. It's actually a serious thing
 
I'm ready. Thanks
watching now @towc
 
@towc that's inappropriate
 
you're inappropriate :P
 
@php_purest your face is inappropriate
 
10:01 PM
@phenomnomnominal so is yours
 
I'm fine with that
 
nvm wrong one
 
i hate trying to figure out how to submit a form >:D
 
@Zirak I think you should handle it with a single queue, but not as complicated as in your second code example
Just make your own map and filter that only map/filter certain types
 
@copy Whadya mean?
 
10:11 PM
queueWrapper.map(typeMap("disney", onlyGore))
def typeMap(type, fn):
  def mapper(v):
    if v["type"] == type:
       return fn(v)
    else:
      return v
  return mapper
You can also wrap the queue into a generator and then use itertools.imap, etc.
 
10:35 PM
Fuck you Windows.
 
!!s/this/Ted Cruz/
 
@Abhishrek Ted Cruz is fucking terrible (source)
 
Accurate
 
@copy That's nicer, but it still leaves implementing every operator (what about merge? filter? partition?)
 
10:40 PM
Ted Cruz is awesome
be respectful, or I'll boot you
 
I've thought about generators, but I couldn't figure out how to do it intelligently given that different events need to "trigger" different generators.
 
Which is why streaming came to mind immediately (also because I drank the RP campaigns)
 
@SterlingArcher ^ here is your antidote.
 
@php_purest from where?
 
10:41 PM
@JanDvorak not here lol
 
@JanDvorak i don't have power to boot ppl from here :'(
 
indeed
 
very much looking forward to death now
 
@SterlingArcher i don't know my identity, but I'm really pale
how long after I bash my head on a keyboard until it bleeds all over will someone help me figure out ajax form submission:
 
6 time units?
 
10:49 PM
@GarrettKadillak what type of time units? ms?
 
optimistically
probably hours
 
at least it's not millenniums
 
what's the issue you're running into?
 
serialization of the form
should i show you the form?
on a jsfiddle
 
surewhynot
 
@GarrettKadillak jsfiddle.net/7zpjt96f
that's the kind of stuff i'm doing, but trying to make one that works universally
 
seems straightforward
 
can you make one with a "pass handler" in the submit(), because i've tried
 

« first day (1719 days earlier)      last day (3235 days later) »