« first day (1334 days earlier)      last day (3607 days later) » 

7:00 PM
Oops
 
@Zirak Well that would be true before `a` is true. I think it's like `if a and not b then do_something`.. syntactical sugar?

I've never used it, just read about it here and there
 
god I hate my ISP
 
inside a loop
 
I don't get it
 
@RUJordan I'd rather grab a bowl of popcorn and watch him try to survive outside of this company.
 
7:02 PM
I can make you some mean popcorn brah
 
look, it's some kittens
 
@Zirak Lemme see if I can write an example
 
user1596138
@SomeKittensUx2666 get him to come here. But don't let him know you're here.
 
I need to try my recipe with coconut oil though. I know how you Californians are with your health and rainbows.
 
0
Q: How to wait for a promise to be resolved?

sinθI'm dealing with a NodeJs framework that requires a certain function to be synchronous, but I need to retrieve a value that can only be accessed asynchronously. In a perfect world, I would be able to return a promise, but I can't. As a quick-and-dirty solution, I created the following method: e...

 
7:02 PM
Damn hipsters
 
17
Q: When would a Ruby flip-flop be useful?

kajacoI think I understand how a flip-flop works thanks to a tutorial, but the example there is contrived just for teaching. Can anyone give an example of how you have actually used or would use a flip-flop? Edit: I'm looking for a real-world application, not just another demonstration. What problems ...

 
@Jhawins he knows I"m here
 
I still don't get it
 
user1596138
What if he's been every troll for the last 3 months...
 
7:03 PM
@Zirak fixed?
 
user1596138
What if he's... Neal!
 
not tested, but should work.
 
@rlemon uh, no.
 
also like before I haven't fixed my environment yet, so someone else will have to rebuild master
 
user1596138
When Neal got that new job...
 
7:04 PM
@rlemon Famous last words
 
@Zirak Okay, so
 
@SomeKittensUx2666 "que" was the best
 
I just changed var link = frag.querySelector( '.onebox:not(.ob-youtube):not(.ob-message) a' ); to var link = frag.querySelector( '.onebox:not(.ob-youtube):not(.ob-message):not(.ob-wikipedia) a' );
no reason it shouldn't work ;)
 
A thing of beauty
I want pizza
 
Pizza gives me heartburn :(
 
7:05 PM
give me your address and favorite toppings.
 
I had leftover pizza today
 
!!s/address.*//
 
It was delicious
 
I figure I owe you a pizza at this point
 
@RUJordan give me your (source)
 
7:06 PM
wat
no
 
YOUR WHAT?
 
wat
yes
 
!!s/(source)/D/
 
@rlemon @RUJordan give me your (D) (source)
 
THE SUSPENSE IS KILLING ME
oh. the D.
 
7:06 PM
eh. close enough.
 
@dystroy nobody likes beige
 
what did I do wrong? D:
 
I have no idea what you were trying to do
 
`(1..100).each do |i|
p i if i == 5 .. i == 25
end`

You have a range of 1 to 100. The if statement of `i == 5 .. i == 25` is a flip-flip. So from `1 - 4`, the statement resolves `false` because `i != 5`. When `i == 5`, the flip flop resolves to `true`. Now the flip flop will continue to resolve true until the second condition is met. Which would end up printing the numbers between 5 and 25 inclusive
 
remove anything after address
 
7:07 PM
It looks like you wanted address and everything after
 
s/(address).*/$1/ ??
 
Hello All
 
    (1..100).each do |i|
        p i if i == 5 .. i == 25
    end

You have a range of 1 to 100. The if statement of `i == 5 .. i == 25` is a flip-flip. So from `1 - 4`, the statement resolves `false` because `i != 5`. When `i == 5`, the flip flop resolves to `true`. Now the flip flop will continue to resolve true until the second condition is met. Which would end up printing the numbers between 5 and 25 inclusive
That was suposed to be an edit
 
How can I check the version of javascript is being used by my browsers? I just want to know if it uses ECMA3 or ECMA5.
3
 
@abhi why?
 
7:08 PM
parseInt() is the reason. @schmiddty
 
@rlemon Extra cheese all around, half with black olives, half with pastrame and pineapple. 1428 Elm Street.
 
why?
 
why would that matter?
 
@abhi here is a function: function isES5() { return !!Array.prototype.forEach; }
 
@Cereal oh
 
7:09 PM
@FlorianMargaine I will try that out.
 
@abhi Run parseInt, see what you get.
 
@abhi Just do x * 1
 
That's not how you spell my name
 
'forEach' in Array.prototype
 
Apologies.
 
7:09 PM
@KendallFrey Or, less cryptically, Number(x)
 
@FlorianMargaine bitwise not?
 
@Shmiddty I honestly had tried to spell it like that so many times
 
however why would you need to know ES3vs5 for parseint?
 
ES3 parseInt has the horrid octal weirdness.
 
user1596138
!!s/s/e/s/f/t/g/u/
 
7:10 PM
@Jhawins ES3 pareeInt has the horrid octal weirdness. (source)
 
because I want to prove to another developer over here that javascript has had the parseInt implementation different
 
but if you always pass a radix..
 
user1596138
Hahahahahaha yes
 
between the two versions.
unless I pass a radix
 
@abhi also between browsers.
 
7:10 PM
so that he will change his code.
 
and you should always pass a radix
 
^
 
@rlemon that is what Iam trying to tell him
 
@abhi Dude, then check the output of parseInt
 
FF one day might up and say "we want to change the default" - ES version not the only thing driving this
 
7:11 PM
Doesn't the radix default to decimal, though?
oh
Future proofing, got it
 
but he's saying I am being a pedantic dick.
 
You want to show him that different browsers deal with parseInt differently? Show parseInt calls.
 
the radix defaulted to octal and now it defaults to decimal.
 
JS implementations are left to the browser and are not always to spec.
 
The radix defaulted to "look at first character"
 
7:11 PM
That is the key version difference between 3 & 5
 
@abhi tell him you'll radix your foot in his ass if he gets buck with you again
 
...yes, nothing else of importance was done.
 
as per this
@Zirak I wasbeing sarcastic
i am sure many other things were done
 
I'll say one last time. Browsers are free to do as they please. 'defaults' can change at their whim. you are always best to pass the information you intend for clarity and to make it more future-proof.
 
Say it one more time for effect @rlemon
 
7:13 PM
^ that should be your argument to the "pedantic dick"
 
Or just not use a volatile function.
 
not "es3 to 5 changed"
 
Hmm. That is what I intend to tell him, but I need to back it up with proof.
and he's running that in the node.js console
 
let him dev for IE for a week
that'll teach him
 
Change your browser defaults to radix at an octal level
 
7:14 PM
and I am wondering if there's any way to make that console produce the ES 3 parseInt result.
 
@rlemon that's been my past 9 months D:
 
@abhi Yes! Compile node with a special version of v8, which is identical in all ways other than the reverted` parseInt`.
 
var _parseInt = parseInt;
parseInt = function(n) {
  return _parseInt(n,8);
};
 
@Shmiddty I know. This is a fact. But I couldn't come with better.
 
@Zirak that's going a bit too far to prove a point.
 
7:16 PM
Lamer
 
if your co-worker is arguing against clarity and maintainability as well as future-proof code then you shouldn't really be having the argument, you should be appealing to management to find new co-workers
2
 
@Zirak I don't know how it works either. Sorry. Probably another piece of Ruby magic where ranges of booleans are interpreted in a special way.
 
@JanDvorak o/
 
@rlemon we are not a development shop.
we are a construction services company
 
@JanDvorak @Cereal managed to explain it to me nicely: chat.stackoverflow.com/transcript/message/17094190#17094190
 
7:17 PM
^ you have major issues brah
 
Do you think the management would be interested?
 
doesn't matter.
 
@abhi "We specialise in constructing software"
 
If management isn't interested in hiring good devs maybe you should look for a better workplace
 
piss-poor attitude is a piss-poor attitude no matter what the industry is
 
7:18 PM
@abhi management responds to results. Show them that this behavior will only lead to future errors
 
@Zirak I think @JanDvorak's description of "magic" is also applicable
 
Or quit. Because that's a shitty environment to work in
 
Really though
 
I should eat
 
@Zirak I'm still wondering how it is implemented
 
7:19 PM
adding the three extra characters will save devs time in the future because they know you intended said radix and are not relying on a default (which they then may have to look up) <- great argument for management types
 
I wouldn't go as far as going to management for such a petty issue
 
@JanDvorak Luckily, the Ruby implementation is so concise and clean! ...
 
management doesn't care about that, really
 
is it a Range instance tied to a specific line x activation context + special behavior for boolean ranges?
 
@rlemon I am simply going to overwrite his commits with my comments.
that's the fix I intend to do.
If he won't listen, this is my best bet.
 
7:19 PM
@abhi simple question: which browsers do you support?
 
also set his homepage to pornhub
get his ass in trouble
do it! DO IT!
 
^ I used to work there
 
DOOO EEET!!!!
 
Of course that kind of absolves him of all moral obligation towards future bug fixes. :(
 
@abhi before you do that -- think about this. He doesn't listen to you, and then you overwrite his code? That's grounds for a major pissing contest.
 
7:20 PM
@rlemon Ha! Joke's on you, his homepage already is pornhub
 
:(
 
@rlemon I almost put a dick pic as wallpaper for a friend who forgot to lock his pc
 
We support multiple browsers --> 1) Chrome on Tablet. 2) safari on iPad. 3) IE8 / IE10 on windows.
 
instead I wisened up and put a teletubbies wallpaper
 
@abhi passive aggressive much?
 
7:21 PM
@abhi then just show him parseInt on ie8 with '08' as argument and see him go cry in a corner
 
@FlorianMargaine back in the mid 2000's we used to find the best "owned" pictures and set those
5 year office war
 
@FlorianMargaine Yes, that is what I'll do rightaway.
 
@Zirak No, joke's on you, his homepage is sexyscatboys.xxx
 
I mean, if you don't support old browsers, meh, don't care
 
OK... I'll stick to "magic" for now :-)
 
7:22 PM
if you do, just show him he's wrong, end of discussion
 
my homepage is motherfucking.codes
 
oh, I don't think that link is real :(
 
@FlorianMargaine do you mean IE010?
 
@RalphWiggum What, mine? You tried it?
 
@rlemon I have 2 advantages: I lock my pc, and I use awesome wm
 
7:22 PM
;]
 
i.e. nobody knows how to set the wallpaper on my pc
 
@FlorianMargaine I quit x instead of locking
 
How would I best implement the solution at the bottom of this article in an angular app? sparecycles.wordpress.com/2012/03/08/…
 
Worst case: I can cover your screen with actual glue and paper
 
@FlorianMargaine I tried (using c#) to write a facial detection program that would lock my pc when I wasn't infront of it and unlock when I returned. tried doing it with NN but never could get consistent results.
 
7:24 PM
@Zirak that closes all the applications :/
 
but I still think the idea is sound enough
 
@rlemon damn, that's a great idea
@JanDvorak the point is to humiliate people, not prevent them from working
 
@FlorianMargaine Done.
 
ccv wasn't really a thing I was aware of at the time (if it even existed) and would probably make things MUCH easier now
 
@FlorianMargaine Oh no I haven't thought of that
 
7:25 PM
Just showed that to him on IE8
and now he's convinced that he needs to modify his code.
 
@copy do you know a screenlocker that doesn't have a timeout?
 
that is probably one of the most annoying gifs i've ever seen
 
lol i love that show
 
win+L
 
I also hooked him to this video.

https://www.youtube.com/watch?v=wOMLlEAqgRk
 
7:26 PM
for life
 
rlemon.github.io/Killit and i've looked at this gif for a while
NO FUN ALLOWED
 
@Loktar +1
 
man its second nature now, it was a req in the gov to always lock your workstation
you could get into actual trouble if you didnt
 
nice
 
@Loktar which government?
 
7:27 PM
@Loktar same, but it was from the elearning "owned" wars
 
@abhi The only one in the world that matters.
 
now I lock my home pc :/
 
var frame = document.getElementById('evidenceContent');
frame.contentWindow.contents = data;
frame.src = 'javascript:window.contents';
Can I do this angular way?
 
CANADA! who am I kidding
 
@abhi Man, there's only one government
 
7:28 PM
 
And we're all like just pawns man
 
@rlemon I read that in a mouse's voice
 
And The Man is like, the president, man
And he's like ruling us all, man
Can't you see?
You belong with me
 
our government is just. eh. like every government. shitty. albeit we kill less people. but we do kill more moose. hrm. toss up?
 
How my poor heart aches
WITH EVERRY STEEEP YOU TAAAAKE
 
7:29 PM
you may be having a heart attack. seek medical help
 
yeah people don't expect the Candians to come rescue them though
so its easy to sit back and kill less people :P
 
@Loktar When was the last time Canada lost a war?
 
@Loktar don't kid yourself. we run into every war right behind you guys
expect we have bottles of water and pepper spray
 
oh dear
all those new civilizations thinking they're great at war history when they're only 200 years old...
 
haha
 
7:31 PM
hah
 
how I imagine our peace corps
 
thats like saying the internet is meaningless because its young.
Get out of here with your old antiquated country thinkin :P
 
@FlorianMargaine Yeah, because France was really France since...tell me again when was "Bastille Day"? (or however the fuck it's called)
 
no, that's like a young man saying "I'm so wise!"
 
"Made a pot roast without any tomatoes"
 
7:32 PM
@Zirak 1789. And it had been France since way longer
 
Does the boat remain the same boat if I have sex with your daughter?
 
Land of Trees and Syrup, or "Canada" as the white man calls it, has actually been around for a VERY long time. someone just trotted over here and changed the name ~147 years ago.
 
people think France started in 1789?
 
When did the US start then?
the 1500's?
 
7:34 PM
(Sorry, I may make less sense than usual, I'm falling asleep and waiting for pizza)
 
for you, a country changes when its government changes?
 
> Looks like we got the brits first. We kicked their ass in WW2... cheerio lets do it again!
xD
 
@FlorianMargaine thats the definition...
 
@Zirak that would be a false antecendent
 
@Loktar no, that was just colonies back then
 
7:35 PM
You calling me impotent?
 
Is Poland Prussia?
 
Also, would the pizza guy mind if I don't wear pants?
Let's find out.
 
@Loktar no, Prussia was mainly in Austria
iirc
 
So Estonia is Russia?
And all the eastern bloc countries that broke off?
 
are you having issues with names?
 
7:36 PM
The point is a government determines the country...
not a race
 
don't I know it
grumble grumble you fuckers
 
a civilization defines a country, mainly
 
@Loktar can we change that to "leadership"
I hate to think without government we wouldn't have countries.
 
@Zirak btw, french 5th republic is only there since 1958
 
user1596138
@FlorianMargaine By means of multiple choice
 
user1596138
7:37 PM
Choices decided by who
 
user1596138
The Illuminati
 
user1596138
Or something
 
user1596138
dun dun dun!!!!
 
@gr5 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.
 
> a nation with its own government, occupying a particular territory.
sorry man I don't have the authority to redefine words.
 
7:38 PM
@Jhawins The Illuminati is just a scam, man, made by The Man to throw us off his manly Old Spice scent.
 
words mean what they are used to describe
 
I think we should just revert to medieval times and all become spartan warriors
Much simpler life back then
 
user1596138
@Zirak The Man isn't real either though... It's all really being controlled by... The System
 
> Medieval times
> Spartan warriors
 
lol
 
7:39 PM
Sounds legit
 
Plot twist: that was on purpose
 
> King Arthur and the 300
2
 
> a territory distinguished by its people, culture, language, geography, etc
 
@Loktar LOL
 
depending on the dictionary you get different results
 
7:39 PM
@Loktar That sounds so horrible I'd watch it 7 times
 
having your own government seems to not be mentioned in most of them
 
user1596138
See it won't even let me
 
Server error (status 500) occured (message probably too long)
 
@rlemon whats a territory?
> the land and waters belonging to or under the jurisdiction of a state, sovereign, etc.
 
> any tract of land; region or district.
 
7:41 PM
!!youtube breaking benjamin away
 
such a good song
 
well sure we can take it out of context and say a country is just some land.
> I visited the country today
 
@Loktar I get your point, but saying "it is the definition" doesn't really work in this case because there are very ambiguous/conflicting results there.
 
@RUJordan Are you trying to break @Benjamin away from us?
 
7:42 PM
not if you understand English.
 
depending on which dictionary you look at.
 
iseewhatudidthere.jpg
 
and I do understand English thankyou very much
 
thank you
 
now you're just coming off as a dick.
 
7:42 PM
Now
 
phrasing
 
lmao
 
I was supposed to go on a double date tonight
but my date got cold feet or something
so my buddy went on his date last night
and he's been bragging like all day
 
no point in arguing with pedants who are just trolling.
 
@Shmiddty Shouldn't have left her in the freezer.
 
7:43 PM
!!afk be back tomorrow
 
lol damn too ez
 
ez is the name of my tax forms :O
wasn't actually reading y'alls argument. tl;dr
 
@rlemon that's what I thought 5 mins ago :D
 
@FlorianMargaine hah whatever
you started trolling first
 
@Jesse 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.
 
7:45 PM
@Loktar That was me, actually
 
user1596138
dicks
 
Wheatly on server admin: "Next time you need to run a command that keeps going after you lose connection, consider the nohup command"
 
@Jhawins rlemon is afk: be back tomorrow
 
12 mins ago, by Zirak
Does the boat remain the same boat if I have sex with your daughter?
 
@Zirak idk, he made fun of the US first
 
7:45 PM
Or something
 
something about countries being younger than dirt cant think they're tough
 
Makin' fun? Murica?
 
Sometimes my boss laughs like the seagull from Family Guy (not loudly, so it's not annoying) but it geeks me out every time
 
exactly
so I put on my red white and blue bandana
started blasting some Ted Nugent
turned on Fox
and was like, lets do this.
 
Scratched your balls with the cheese-in-a-can
 
7:47 PM
 
well yeah, after I set down my tri cornered hat
 
user1596138
Dammit
 
user1596138
 
lmao
 
7:48 PM
@RUJordan wrong order
 
lol
 
@FlorianMargaine probably he meant american
 
@FlorianMargaine .svg.png???
 
7:49 PM
hah just noticed that as well
 
@SomeKittensUx2666 ask wikipedia
 
had to
 
iirc, that's a png version of their svg
they do that quite often
 
@SomeKittensUx2666 .svg.png.exe
 
7:50 PM
those are my moms fav
> Oh another svg.png.exe!
 
foreveralone.jpg
 
> double click to open and see manly men butts.
 
!!help meme
 
@Shmiddty Command meme does not exist.
 
qua?
 
user1596138
7:51 PM
Yeah, they removed a lot of them
 
spring cleaning
 
user1596138
!!convert
 
@Jhawins Command deprecated. If you want it to stay, ping Zirak.
 
user1596138
I really think someone was trolling when they decided to remove convert though.
 
What's the point of a bot if it isn't loaded with useless junk?
 
user1596138
7:53 PM
Lala
 
@Anant 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.
 
user1596138
!!urban deprecated
 
@Jhawins deprecated Outdated; use strongly discouraged.
 
user1596138
!!urban obsolete 1
 
@Jhawins Obsolete Outdated, useless.
@Jhawins obsolete "We want to sell you a new one."
 
7:55 PM
@Zirak Die.
 
@Jhawins obsolete A time-released function on all technology (especially PCs) that activates itself right after you buy the device.
 
user1596138
That one
 
Can't even give context to that
 
@Loktar One day
 
lol just saw your msg
but you left
 
7:55 PM
@KamikazeScotsman 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.
 
@Shmiddty Due to popular demand, it's returning
@Jhawins A command very rarely used? I may return it, but before that, I want to work on its interface...it's horrible
 
user1596138
True
 
user1596138
Hey can someone tell me how to pronounce obsiquiblah?
 
user1596138
...Eh
 
awb-sih-qwee-blah?
no idea lol
 
7:57 PM
It sounds like "vagina smoothie"
 
!!define obsiquiblah
 
perfect @RUJordan
 
@Shmiddty My pocket dictionary just isn't good enough for you.
 
!!define vaginal smoothie
 
@Loktar My pocket dictionary just isn't good enough for you.
 
user1596138
7:57 PM
!!urban obsiquiblah
 
@Jhawins [obsiquiblah](http://obsiquiblah.urbanup.com/212080) 1) someone who uses too many long words
2) A word which is too long and cannot be understood or pronouncced properly
 
PPPIIIIZZZZZZAAAAA
 
user1596138
Har har so clever derrrp
 
!!urban vaginal smoothie
 
@Loktar No definition found for vaginal smoothie
 
7:57 PM
wow.
 
that's not even a long word
 
!!urban smoothie
 
@SomeKittensUx2666 smoothie A smoothie, a common American beverage in which the preparer integrates various fruit and dairy products, has become the de facto staple of cuisine in various Disney Channel and Nickelodeon television series. What ambrosia comprised to the residents of mythical Olympus, or manna constituted for the Hebrews in the ancient text of Exodus, the smoothie has become to the modern Disney Channel Original (snip)
 
!!define antidisestablishmentarianism
 
@Shmiddty [antidisestablishmentarianism](http://en.wiktionary.org/wiki?curid=212) A political philosophy opposed to the separation of a religious group ("church") and a government ("state"), especially the belief held by those in 19th century England opposed to separating the Anglican church from the civil government or to refer to separation of church and state. [from 20th c.]
1998, University of Oklahoma College of Law, American Indian Law Review:
Jed Rubenfeld, who actually may not have been recycling a Boerne Court- rejected argument into a law review article,450 reasoned that RFRA inde
 
7:58 PM
!!zalgo bring back zalgo
 
@SomeKittensUx2666 That didn't make much sense. Use the !!/help command to learn more.
 
haha wow its spot on with the Disney channel reference
 
user1596138
Before flag
 
LOL
 
user1596138
!!undo
 
7:59 PM
thats amazing.
 
user1596138
Hahahahahaha
 
user1596138
I don't wanna be the one who caused it lol I get banned enough
 
One of the many reasons cowsay needs the template argument
 

« first day (1334 days earlier)      last day (3607 days later) »