« first day (1381 days earlier)      last day (3554 days later) » 

user1596138
4:00 PM
I have no desire to even think on it without an example. It's stupid
 
I just made my first working userscript for SO <3
(function() {
    [].forEach.call(document.getElementsByClassName("downvoted-answer"), function(el) {
        el.classList.remove("downvoted-answer");
    });
})();
 
user1596138
@SterlingArcher Won't be nearly as funny...
 
No but somebody on meta chat asked how and I delivered.
 
Ran the script on a random facebook image
So much better than yesterday
 
"My Squad be like.." ^
 
user1596138
4:06 PM
The syntax highlighting on this code literally answers the question for you — Jhawins 12 secs ago
 
user1596138
cv-pls
 
@Jhawins You can't do anything without a fiddle as you noticed. It's easy to build an unstringifiable object as any failure on a geter would make the stringification fail...
 
hey guys i haven been here in a few days cause busy
 
user1596138
@dystroy Yeah... There are lots of things that can go wrong and we can't even see the actual object he wants to stringify completely so. Whatever
 
i just found out im moving back to good ole CO in 6 days
 
4:08 PM
@Cereal That's pretty creepy
 
I was just in DE
DE kinda blows
 
i was so excite i made this webpage for my ocd :DD ipt.hostzi.com/co
 
I mean, no sales tax is cool if you're buying liquor, but a "tax-free" pack of cigs still costs more than a taxed pack in VA
The only thing cheaper in DE than VA is alcohol D:
 
@NickDugger If it makes you feel any better, it's my girlfriend's picture. so not truley random
 
user1596138
@Sterling no way dude. He doesn't know the first thing about JS, he tried to use a variable name inline within single quotes within double quotes within another set of single quotes
 
user1596138
4:09 PM
Kid needs a book.
 
@Jhawins that is why we guide the noobs :D
 
user1596138
Or something called "effort"
 
var today = new Date();
var leave = new Date(2014, 7, 4, 5, 0, 0, 0);
var elem = document.getElementById('maindiv');



setInterval(function(){
today = new Date();

m_diff = leave.getTime() - today.getTime();
s_diff = Math.floor(m_diff/1000);

dy_final = Math.floor(s_diff/86400);
sec_af_dy = s_diff%86400;

hr_final = Math.floor(sec_af_dy/3600);
sec_af_hr = sec_af_dy%3600;

mn_final = Math.floor(sec_af_hr/60);
sec_af_min = sec_af_hr%60;

sc_final = sec_af_min;

elem.innerHTML = "Only <b>" + dy_final +"</b> days, <b>" + hr_final + "</b> hours, <b>" + mn_final + "</b> minutes, and <b>" + sc_fi
 
A for effort!
 
@SterlingArcher Don't smoke, bad
 
user1596138
4:10 PM
He gets F on effort
 
thats the js for it
pretty simple but it works
 
@kwak quitting slowly
 
@SterlingArcher yes :)
 
Will enhance my quitting once I get my lazy ass over to get my vape pen
 
/v/r/
 
4:11 PM
@SterlingArcher smoking is just an addictive toxic placebo for working
 
Very true. It's a habit I like (blowing clouds of smoke eases my stress)
 
user1596138
@SterlingArcher pfft yeah cause those are sooo much better for you ;P
 
Can be cigs, can be vape
I'd rather vape
 
Smoking is just an addictive toxic placebo for breathing.
 
It's actually a drug
 
user1596138
4:13 PM
Idk why I just don't like vapes.
 
user1596138
Need a real cig or cigar
 
@Cereal it's a chemical weapon!
 
user1596138
Or I smoke my corncob pipe but the tobacco I like is pricey
 
it's a pesticide
 
user1596138
!!s/st/nisst/
 
4:14 PM
@Jhawins it's a penissticide (source)
 
We've now got a conspiracy theorist in this room. lol
 
@Jhawins yes that too, it reduces sperms quality
 
user1596138
Good lol
 
user1596138
No kids for jhawins
 
I'd probably benefit from a vesectomy at this point
 
4:15 PM
I don't like kids
 
user1596138
I have 9 siblings so. I've had enough kids to deal with for the next decade or two.
 
kids = yourself in younger, so that's like not liking yourself
 
I would like to see a xkcd strip depicting elements on a bar graph, where the y value is determined by 1 over the amount needed to kill you
 
Too loud, too messy, too asdfasdf. Not that I was any better as a kid, but I'm free to decide that I don't want to be around them.
 
I like kids, but I'm not mature enough. Oh god.. that child shriek just kills me. It like, hits a threshold in my head that just makes me want to rage out and run away
 
4:16 PM
I'm sure tobacco would be quite low on that list compared to say.. hydrochloric acid
 
It's most prominent in pools. It's like.. the wilderness on steroids at a pool
 
!!xkcd tobacco
 
oops sorry, big, ohh nice it reduces
 
> 2022: HTML5 finished
lol
 
user1596138
4:20 PM
             _.-~-.
           7''  Q..\
        _7         (_
      _7  _/    _q.  /
    _7 . ___  /VVvv-'_                                            .
   7/ / /~- \_\\      '-._     .-'                      /       //
  ./ ( /-~-/||'=.__  '::. '-~'' {             ___   /  //     ./{
 V   V-~-~| ||   __''_   ':::.   ''~-~.___.-'' _/  // / {_   /  {  /
  VV/-~-~-|/ \ .'__'. '.    '::                     _ _ _        ''.
  / /~~~~||VVV/ /  \ )  \        _ __ ___   ___ ___(_) | | __ _   .::'
 / (~-~-~\\.-' /    \'   \::::. | '_ ` _ \ / _ \_  / | | |/ _` | :::'
 
user1596138
Hahaha I never noticed that in the console
 
Only noobs use firefox
 
> 2088: Japan becomes all-robot country
 
user1596138
@NickDugger From the mdn website dork
 
Fair enough, lol
 
4:21 PM
> 2028 Tobacco outlawed
 
user1596138
lol
 
oww yes! clean air
 
user1596138
> Tobacco dealers running rampant
 
omg LOL
> 2100: Gillette introdudes 14-bladed razor
 
user1596138
Pfft, yeah, I never smell marijuana walking down the street cause it's illegal and that means nobody uses it deeerp
 
4:22 PM
> 2047 World ruled by banks and corporations
Tobacco industry fails
 
user1596138
This guy is weird ^
 
> 2069: public masturbation legalized
 
user1596138
Why you hate tobaccy
 
2069 is a good'en
ah Nick beat me to it :'(
 
@Jhawins I live in France and I can tell it smells tobacco in the streets
 
4:24 PM
Just how it should be :D
 
in hell
 
user1596138
@kwak Well here's the news man... If tobacco becomes illegal, it'll be traded and sold just like every other drug that's illegal and still at large hahaha
 
why the hahaha?
 
user1596138
Because it's hilarious
 
stop smoking
 
4:27 PM
My guess is contempt at the "war on drugs" attempt that has clearly failed
 
user1596138
People think making heroine illegal stops heroine from being a problem?
 
get depressed like me
 
I used to smoke a good bit. I love the occasional cigar, and sometimes have a cigarette or two, but that's rare.
 
user1596138
Remember the prohibition? That worked so well
 
user1596138
Or that law about wearing seat belts
 
user1596138
4:28 PM
Oh and speed limits! Those are a good laugh
 
I don't think people should do heroin, but I don't think it should be illegal. If you want to kill yourself, go for it. Just don't involve me.
 
@Jhawins at least the education should work, explain children what it does, and all the negative sides, and the positive sides (nothing)
that they can just take nicotine stuff if they want, nicotine is good to concentrate, smoking is not
 
People on drugs also become a danger to those around them--which is where the real issue is. If you're gonna do heroin, tie yourself to a lightpost.
 
user1596138
@kwak Yeah most kids get the shit scared outta them about getting pregnant in grade school. But then they do it anyway even knowing the risks. Imagine that
 
user1596138
@NickDugger lmfao no dude not heroine. That'll just make you drop like a noodle.
 
4:29 PM
!!define heroine
 
@Cereal heroine A female hero.
 
user1596138
Supposedly anyway. It isn't like meth or cocaine or some shit lol
 
@Jhawins because they are too horny
:))
 
@NickDugger yeah heroin is a downer. The only danger you are on H is if you drive
 
should control their testosterone
 
4:30 PM
PHP, cocaine, meth, those are the ones you should be tied to a lamp post for
PCP sorry, not PHP xD
 
user1596138
@kwak Yeah exactly. It's a natural urge to satisfy. Lots of people have the same natural urge to drink or smoke pot or do heroine
 
user1596138
@SterlingArcher lmao
 
user1596138
@SterlingArcher Or if you take too much
 
user1596138
You might die in somebodies way and it would be an inconvenience
 
@Jhawins sorry, I meant to others. Doing almost any drug is a danger to yourself
 
user1596138
4:32 PM
Someone could trip over your body. So he is right, it might make you a danger to others.
 
@SterlingArcher Freudian slip
 
user1596138
Alcohol is a dangerous thing hahaha
 
> Man overdoes on heroin mid-run, trips jogger behind him. Twisted ankles, the new dangers of Heroin?
 
user1596138
In comparison to other illegal alternatives anyway
 
I can see the headline now...
 
4:33 PM
@Jhawins ok, but there should be more alternative to smoking, because it's not breathable sometimes in the city
 
I think traffic is the cause of that
 
user1596138
@kwak Somehow I doubt that. There is a lot of air. If every single person in the city was smoking a cig at the same time I still don't think it would be that bad.
 
People talk about drug addiction like there were some sort of component in the drug which makes it so
 
yes mainly cars, but near a restaurant, or a bar, it smells heavily tobacco, I don't like it
 
If you could make a pill that gave pleasure with no side-effects, you'd better believe there would be many many people addicted to it regardless
 
user1596138
4:34 PM
@kwak Yeah, well I fucking hate the way jewish greek food smells (not being racist being serious).
 
"jewish food"
 
user1596138
Oops...
 
like.. lotkas or matzah?
 
user1596138
Greek
 
Not offended, trying to think of "jewish foods" my grandmother would make
matzah balls can smell if they arent done right
 
user1596138
4:35 PM
Yeah I said the wrong thing haha.
 
@Jhawins but seriously speaking, do you think chemically the smoke from kitchens is more harmful than the one from tobacco?
 
LOL WOW
 
user1596138
Idk I'm pretty jewish food is mostly just... Food
 
hi copy
 
Hi
 
user1596138
4:36 PM
@kwak Hmm. Surely not. But I'm guessing you aren't walking through visible smoke as you walk by. Just getting a hint of that rusty burnt smell.
 
user1596138
@kwak have you ever smoked?
 
-8
Q: Is bandwagon voting thru chat voting fraud?

bjb568 Voting with socks is abuse, since the socks don't evaluate the quality of the post, the votes are low quality. Serial voting is abuse, since you don't fully evaluate the quality of every post, the votes are low quality. Should bandwagon voting thru chat (i.e. asking for everyone to up/down-vot...

 
that's natural to not like other communities food smell, like their body smell too, we're not used to it
 
someone doesn't like you :P
 
I love the witch hunt on room 17
 
4:37 PM
@Jhawins Not mostly. jewish food ⊂ food
 
@Jhawins not really, at school friends let me tried cannabis, but I wasn't liking it. And now I'm fiercefully a bit too much against it, but I'll try to cure that :)
 
@rlemon dude seriously.. people beef with a few people and the whole room is on trial
 
user1596138
@kwak I mean tobacco, the thing you're complaining about.
 
@Jhawins no never
 
user1596138
@kwak kindly shut up about it please
 
4:38 PM
tbh I think weed and cigs should switch places if anything.
 
but that's similar less nicotine + cannabisoids and THC
 
To be fair though, you guys seem to cause an extraordinary amount of beef
 
user1596138
@BenCraig lol yeah antagonizing ftw see my last message
 
@Jhawins because it's too hard to retire, you mean? ok
 
@BenCraig some people are too.. antagonistic for sure :P Jhawins, Nick, Zigi, etc :P
 
4:40 PM
@SterlingArcher eh, I don't mind so much. I don't take it as a personal attack anymore because my history validates my being here. I help dozens if not more people daily. I also teach people and entertain (or at least try). the occasional user who takes hostility towards me will eventually smarten up, or move on.
 
God I can't wait for retirement
 
@SterlingArcher in 50 years
 
user1596138
@kwak Because you don't know what you're talking about and you think the slightest smell is harming you. You don't understand what is and isn't a lot of smoke, you just hate the smell and assume it's ridiculously smokey out and all when it's not. :P
 
Golf and whiskey for the next rest of my life with people nagging me to "stop farting in the common room because there are traces of radiation in my colon"
That's the life for me.
 
@BenCraig In this case, we found an inferior answer with +6 next to a superior answer with -1 and did what had to be done
 
4:41 PM
@BenCraig no, the majority of the users in here are not causing issues, however when an issue arises, a select few feel it is appropriate to stir the pot ;)
 
user1596138
@SterlingArcher Hey at least I've been around long enough to know when to keep myself in check :P
 
user1596138
I will always stir the pot a little bit ;)
 
user1596138
Otherwise it'll burn!
 
We just need to be less sarcastic when people don't understand, unless they don't listen
If 5 people tell you to add a semi-colon to your code and you don't at least look up why or do it, then you can get sarcastic lol
 
4:43 PM
Dont get me wrong, Im not looking down on what you did, or didnt do, it just seems like for such a small community, you guys get, and create a lot of shit
and beat dead horses continuously
 
No offense taken. I know I can get a little irrational at times or defensive for sure lol
I would argue that we get more shit than we create, though
 
@Jhawins thanks for telling me that, but in my weird mind I feel like I alway inhale involuntary proportionnaly secondhand smoke, so something like 0.1% of the average smoker each hour in the city, so I guess I can just hurry and leave fast to shorten exposition time, and hope my neighbor won't extend it (my life's depressing :))
 
e-cig FTW!
 
Yep it's all about the vape mods
 
@MichaelSimmons 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.
 
4:48 PM
-3
Q: Swap image: Dreamweaver, jquery or CSS?

SergioI'd like to know if there are significative differences related to speed performance. Thanks in advance.

That is... something else for sure.
 
he's talking about the MM_* functions
 
re-booting my pc. websockets keep dropping
 
!!s/pc/brain/
 
@SterlingArcher re-booting my brain. websockets keep dropping (source)
 
!!s/brain/ass/
rebooting ongoing
 
4:51 PM
isn't dreamweaver just an IDE?
 
Hi all
Anyone have any good interview questions?
 
@qwertynl me
 
@kwak and?
 
wait, working it
 
4:52 PM
@qwertynl which runs faster? while(1) {} or while(2){}
 
@mrzepka ...
 
@qwertynl the differences between server/client languages is a good one
 
...
 
@qwertynl theorical or programmation? ah JS question, hmm..
 
it was a joke from last night, sorry
 
4:53 PM
I mean real JS interview questions. I have an interview in line 5 mins and idk what to ask lol
 
Ask them how to use php variables in a javascript document
 
@Cereal lol no...
 
@qwertynl you could ask them what I posted then and see if they stick to their guns on why their answer is right
 
@qwertynl ask about altering the native prototype, or IIFEs
Or how to convert a nodelist into an array
 
@qwertynl you can take Odesk or Elance training in JS, plenty questions
 
4:54 PM
iterating nodelists with the prototype, etc
 
@SterlingArcher by nodelist u mean object?
 
there's a lot you can ask
@qwertynl isn't a NodeList an object?
 
calling map on a nodelist would probably be a good one
 
@SterlingArcher One could assume.
 
@Cereal err, map or forEach?
shoot i gotta look it up
 
4:55 PM
Well either
 
They do different things
 
woohoo websockets are working again!
!!are you alive?
 
@rlemon Probably
 
Today I tackle some css!
and bother you all with overly simple questions :D
 
5:00 PM
I'm using underscorejs to filter a list of object with _.where(). It's working when comparing strings but not objects. Anyone know if this is a known limitation? I don't see it in the docs.
The objects are references to each other (=== is true).
And yea, i know i can just fall back to _.filter() and get the exact behavior i want.
 
@NickDugger do any of the prefixes work for chrome for css animation?
 
@rlemon Do you know selenium?
I played with it, it's fun to make bots
 
Tell me how exactly client-side runs before server-side if server-sides generates all client-side sees? — Havenard 2 mins ago
Going to lunch, somebody wanna jump in?
 
in what? that question? no thanks
 
> This particular page has no server-side code that generates the initial response. It's pure HTML. The client runs, and makes async requests to the server.
 
5:07 PM
huh
 
oO
 
0
Q: Lost in promises and asynchronous Google Maps api calls

Lars BeckI’m trying to build a simple Google map with markers and directions, using native promises instead of callbacks where possible. Basically the single methods work as expected, but I fail at bringing them together. Both getting missing coords (holds true for all the markers in the example) and add...

 
Woohoo! 500 error!
which means it's not my problem!
 
user1596138
5:22 PM
@kwak Eh, if that's your point for it then you should go where nothing with a gas/diesel engine exists either. Make sure there are no industrial sites within a few thousand miles too. Don't use public transportation, and get the sewer vents blocked off.
 
user1596138
I've honestly never heard someone complain about the entire city due to the amount of tobacco smoke. I don't think it's a valid concern, just don't put yourself in the same room as the smokers.
 
user1596138
But anyway on to bigger and important things
 
sounds like china
 
:D
cc @Loktar
@MichaelSimmons what you got?
 
Panzer mod, IGO-W atty (need a better one), Halo cap, Bolt tip
you?
 
5:31 PM
provari mini with nautilus
 
nice i'm starting to want a smaller one too
this one's too bulky lol
 
yea even this is too bulky, but anything smaller is a POS (according to the reviews)
 
yo fuck programming I'm gonna be a gun engineer
We need a really lightweight automatic firearm that just fires air
fuck it, make a jetpack out of those air bazookas
 
user1596138
@rlemon We should somehow do this for science
 
!!> console.log( 'hello %s', 'world!' );
 
5:39 PM
@rlemon "undefined" Logged: "hello %s","world!"
 
:/
@Zirak I expected the bot to have full console.* support
you should do better next time
 
I thought we did?
oopsie poopsie
 
well does it just piggy back on the browser?
because if so, FF console.* is no where near what Chromes is
!!afk coffee
 
Of course not, you can't capture console.log output
 
@Zirak progress on jsh?
 
5:41 PM
Good
Main features are done, you can check it online. Function inspection is on local, will push soon.
I need to add, as mentioned in another conversation, a lot of console functions and the sprintf format.
 
when are you going to do the backend? till then, my browser's console is better :P
 
When the frontend's done and works on several browsers
 
I might give CouchDB a shot with this, since all I need is really simple stuff
 
5:46 PM
And I'll hire an army of barbies
 
... if that's your thing
 
hehe, nice
If you want an extra challenge, make it start and end on different colours
(that is, it doesn't always go through the same colours)
 
hmm
 

« first day (1381 days earlier)      last day (3554 days later) »