« first day (1664 days earlier)      last day (3283 days later) » 

6:00 PM
drawing smooth circles is boring
 
I know. I was being a dick for no reason. :D
 
user1596138
Need to reboot real quick? Too bad, windows update.
 
user1596138
I'm fucking pissed off. I'm in the middle of something god dammit!
 
You can reboot without installing updates through command line
 
@copy I have implemented Gravity in AE :D I just want to change the letters in that pen without writing code myself :P I am doing other things...
 
user1596138
6:07 PM
@copy how convenient lol
 
Well, Windoze
 
user1596138
I'm at 30% prob best to not fuck it up now...
 
my boss just lost his shit
 
i hope he finds it
 
not if it is in my inbox
at this point it is unrealistic to clean it up
I just have to live with 2000+ unread emails.
 
6:15 PM
@rlemon just write a script that marks stuff as read
 
I would like to organize it all
but that is a task I do not look forward too and therefore dont' do
 
@rlemon now we all know your email
someone might do something terrible, like send you things
 
OMG OHH NO! YOU KNOW MY EMAIL ADDRESS?!?! ARE YOU GONNA SEND ME SPAM NOW?! FUCK! ohh yea, gmail works. no worries.
 
AFAIK you can select all unread messages in your entire inbox and mark them as unread at once.
 
@AwalGarg per page
2000 emails don't fit on a single page
 
6:17 PM
Gmail has filters
 
@rlemon just a sec
 
gmail has trolled me twice due to filters.
 
go to the unread filter, select the page, mark as read
repeat by batches of 100
like 60 clicks all told
 
protip: if you and the gf wanna send sexy emails back and fourth because you are on a business trip... make sure to whitelist them from the spam filters.
 
@rlemon We might fill your inbox with unread mails!
 
6:19 PM
@OliverSalzburg well that would just be terrible.
 
@rlemon ^
 
HAMMERTIME
 
With filters you can mark all of them as read or move them or delete them
 
@AwalGarg ohh nice.
@NickDugger that confused me until I noticed who said it
well played
 
I spent a solid 30 seconds looking for what triggered hammertime
 
6:20 PM
@BenCraig after 20 seconds, I would stop
 
HAMMERTIME!
 
dont tell me how to live my life
 
@AwalGarg Religion must be defined who you follow on twitter. (Applicable on indians)
 
m59
jsperf seems to be broken :/
 
6:21 PM
@m59 it is.
 
@darkyen00 what? context?
 
m59
well, anyone know which of these is more performant?
 
you bastard, you don't follow me?!
what is this ?!
 
m59
var obj = clone(theObj);
Object.keys(obj).forEach(function(key, idx) {
  var val = obj[key];
  if (idx % 10 !== 0) {
    delete obj[key];
  }
});
Object.keys(obj).forEach(function(key) {
  var val = obj[key];
});
vs just iterating all twice without deleting the matches?
 
probably depends on the number of object keys
 
6:22 PM
forEach is a fad
 
m59
say 10k @rlemon
 
@NickDugger either you start qualifying your claims or shut up please.
thanks.
 
@rlemon pls
 
@m59 you can profile in chrome
try it out
 
m59
oh, never knew
 
6:23 PM
Really, once ES6 becomes mroe widely supported, there's no reason to use forEach in place of a for...of loop
 
on the profiles tab ;)
 
> 0.00 KBytes uncompressed, 0.02 KBytes gzipped
 
@darkyen00 WTF DO YOU MEAN BY RELIGION????!!! :D
 
console.profile("bla"); /* … */ console.profileEnd("bla");
 
@AwalGarg If we must, I'd like to have a religion based on twitter
 
m59
6:24 PM
way cool
 
we must make a simple web-app, which creates you 10 commandments
 
You ever notice how religion and politics use the same letters? Me neither.
 
based on people you follow on twitter, and gives you religious stories
regarding them via well "internet"
@NickDugger Religion === Politics + BullSHIT
 
@NickDugger Yes
 
When you're making a rest API, do you set CORS to *?
 
6:26 PM
@SterlingArcher hell no
 
@copy are you agreeing or just simply saying yes?
 
during development, add localhost as one of the approved origins
 
@darkyen00 how does it feel that even the other indians can't make out what in the fuck you are on about??
 
@NickDugger Agreeing
 
lol
 
6:27 PM
@ssube I don't understand
 
@darkyen00 have you slept?
 
Why not allow the API to be pinged from any website?
 
@SterlingArcher makes XSS easier
 
isn't that what it's for? or reduce via auth tokens etc
 
@AwalGarg see! he can't even call it a cultural or language thing. even you don't understand him. he's just cray cray
 
6:27 PM
@NickDugger well...
 
only allow approved sites to call it
 
@BenjaminGruenbaum Don't disagree, just take my side and we'll all be happy
 
but in development, for convenience, localhost should be approved
 
@BenjaminGruenbaum JavaScript is terrible at function composition
 
6:28 PM
@copy How is that even remotely related?
 
So if I url is currently http://myipaddress:port/api/v1/ I would just add my IP address/port?
 
unless it's a totally public API, then you need a user secret (session) and author secret (api key), which makes access "approved" even if you're not using CORS to restrict it
 
@BenjaminGruenbaum forEach is useful if you have good tools for function composition
 
@copy how would that make it useful?
 
@copy what does forEach do in a functional world that can't be done better with map, reduce, filter, etc?
 
6:29 PM
@NickDugger I can see use cases, but yeah. In general I'd rather write for.. of - just like yield and yield* sort of make then redundant for promises.
 
@rlemon :P
 
@BenjaminGruenbaum Because you can compose functions to pass to the first argument of forEach
 
@ssube forEach explicitly calls side effects, all the others are transformations. It's the odd one out.
 
@BenjaminGruenbaum so you're saying that async/yield make promises redundant?
 
@ssube Do you mean pure?
 
6:29 PM
@NickDugger no no, async/yield uses promises.
So you don't have to do it manually
 
@BenjaminGruenbaum Oh, my bad
 
Just like for...of uses Symbol.iterator internally
@copy I've never even thought about doing that, and I use Ramda now for most of my stuff so all my functions actually compose quite nicely.
 
this all started because Nick keeps telling people .forEach is bad since he discovered the widely (yet) unsupported for..of in ES6
and I'm telling him to shut up about it
 
foreach is just for side effects, it's pretty much always at the end of the chain.
 
forEach gives you bad breath
 
6:31 PM
@rlemon it's not bad, not everyone can use ES6
 
I know it isn't.
 
And for... of (not unlike forEach) is very slow atm.
 
Nick is just being a troll-hispster
 
Id still rather use a regular for loop than a forEach, so I can break and continue
 
does for..of create scope?
 
6:31 PM
@BenjaminGruenbaum Well, otherwise it's useless and for-of makes more sense
 
@AwalGarg let
scope as you see fit
 
It's even less verbose
 
@AwalGarg anything with braces makes a let scope
 
@copy I somewhat disagree (I agree with the sentiment though), with .forEach you can overload it since it's a method, with for... of it's harder. For example it's a lot easier to make a parallel .forEach than a parallel for..of since it's just a function and not a language construct. .forEach doesn't force a contract on you, Symbol.iterator has to call the function once for each element.
 
@rlemon duh, right
 
6:34 PM
@copy Of course, an iteration protocol makes a lot of sense, much more than defining .map/.filter/.reduce on anything but iterators (or Functors or Foldables respectively butlet's not go there).
 
> butlet's
I like it
 
@rlemon is just jealous that I'm an ES6 master
 
most languages start with iterable, because it's so much more useful than array
 
the day I become jealous of @NickDugger is the day you can shoot me. :P
 
@copy think of it like Haskell, nothing is really type safe in Haskell since you're the one enforcing the rules of your constructs - it's perfectly easy to make a non-monoid monoid - but people get by fine. In JS that can be .forEach and its friends - they can expose a contract - just like type classes in Haskell.
Only without the assumptions the compiler enforces it for you when it doesn't actually enforce anything.
I'm jelly of @Nick
That dog in his pic looks amazing.
 
6:36 PM
I'm peanutbutter of @Ben
 
@BenjaminGruenbaum his girlfriend thanks you for the compliment
 
Speaking of pets, how're your fish @rlemon you haven't mentioned them in a while
 
one died :(
my fault
 
fish are bad pets
 
Nicks are bad humans.
 
6:37 PM
you can't even wrestle them without them popping
 
@rlemon I edited "doc" into "dog" not "dick'
@rlemon what happened?
 
he tried to wrestle it
and it popped
 
@BenjaminGruenbaum I see. I gotta go now, I'll need to look into Rambda though
 
@NickDugger what?
 
6:38 PM
@copy you're not using it yet :D? To be fair lodash-fp is also decent.
@copy google "Hey Underscore, you're doing it wrong!"
 
I use for..of too when I can avoid using forEach. Can I get index of present element in for..of?
 
@BenCraig I pinged every Ben in the room for the sake of a joke
 
Diamond Goby, a sand sifter (really neat to watch) well I cleaned his tank and pissed off a coral in the tank. I didn't realize I pissed it off quite so badly and it released a slime coating to 'defend' itself. well the little sand sifter dude was doing his thing and got a gill full of slime.
 
@AwalGarg no, but you can get the key in a Map.
If you need the index use a for loop :D
 
it wooshed on me at first - but then I saw it and laughed
 
Well now that I see the places I have used for..of at, they are all only with generator functions :P
 
The startup that I interview with this morning said that they're considering switching to React from angular
 
@BenjaminGruenbaum or forEach and friends :D
 
Sure
@NickDugger lots of startups do that now, Angular isn't really the "new hot thing" anymore. Lots of companies move and/or moved.
 
While I appreciate doing the "new hot thing", that's not always a smart move...
 
6:41 PM
so there we have the use case for forEach. But I think I need to increase my usage of for..of
 
switching up a codebase just because the Sr dev feels like it
 
ugh, we're looking to clean up the admin app I put together 15 months ago and might look into other MVC libraries
 
the new hot thing is colonel Bernie Sanders,
at least, on twitter.
 
as shit as backbone is, it stays out of the way
 
and reddit
 
6:42 PM
@NickDugger welcome to JavaScript, I argued exactly that at work (and won) the other day by the way (staying in Angular), I'm pretty sure Mosho hates me now :D
 
@BenjaminGruenbaum watch out, he could kick your ass
 
To be fair, we're looking at converting most of our project here at work to ES6...
 
Oh I know, he's huge
 
I haven't seen you in person, but I've seen him. so I'm fairly confident.
 
@NickDugger we did that, but it's not the same thing, converting to ES6 is an iterative process.
 
6:43 PM
True
 
You can do it one file at a time as you refactor.
Worked for us :)
 
@BenjaminGruenbaum does @Zirak look funny next to @Mosho ??
who is skinner, you Zirak or Dor?
 
Yes
@rlemon Zirak, also both are going to be pissed at talking about them.
Meh, it's not a secret in any regard anymore anyway.
So doesn't matter, I guess :D
 
if he didn't want us to talk about him he shouldn't be so fucking likeable. cc @Zirak
 
IIRC, everyone now knows Zirak's real name and place, right?
 
6:45 PM
everyone (who is anyone) knows where he lives
anyone who's been on hangouts knows his name
 
I literally know where he is up to 1km right now, his phone and other stuff. I don't know that about anyone else in the room. Maybe except Dor. Sharon is probably still in the office working haha :D
 
well there goes that one :D
 
@BenjaminGruenbaum the truth hurts
 
!!undo 23158913
 
Shomo
Shmoo
Moosh
Shoom
 
6:47 PM
@Mosho you bastard, I will still always know you by sean
 
Sean Penn
 
I will say this: the people from Israel in this room have completely changed my views and understanding about the country and the culture. I was totally wrong.
 
Israel is like a mini europe, outside of the palestinian areas :( y fight pls peace
 
I dunno why but I am pretty sure I have lived for a while under the impression that Israel was a terrorist community or something :/
 
@rlemon you realized that the people aren't so much at fault, they just have a shitty war-mongering government, like almost every other country?
 
6:50 PM
@ssube It's not their fault, the US gives them weapons and tells them where to aim
 
@ssube I never said anyone was at fault. If I am to put blame on anything it is how western media portrays Israel.
(and everything else that is not MuriCanadSA)
 
heh in the US the right/conservatives Love Isreal, the left/liberals not so much. I grew up conservative so have always loved them :p
although not a huge fan of all the funds we provide considering our own debt.
 
I never loved nor hated, but what I was exposed to with media and school was not at all reflective of the country today
 
@ssube How is the trend of google app engines to build scalable web apps in the market?
 
even when the media here tries to portray them bad.. with a missile strike that killed a target but accidently killed a civilian, its like wtf? That is a surgical strike.
Its not like they are carpet bombing cities.
 
6:52 PM
angular'$location.search() is null for
 
@overexchange don't ping me
 
angular's location.search() is null for me even when there is a hash in the url and a query string
 
don't setup your rocket launchers in neighborhoods, idiots.
 
any ideas?
 
Woot, finally found a DVD player that actually plays my old zoned "Only The Strong" DVD. So excite I just had to tell someone
 
6:53 PM
I just scratched my ass and it felt like I broke my wrist :(
 
@ssube you are one of today's lucky 50 people.
 
@rlemon do you at least have it braced?
 
doesn't make a difference.
 
had it braced and not, it isn't the wrist moving that does it.
I can stretch my arm and it pulls something
 
6:54 PM
Can you program with one hand?
 
programming doesn't hurt it, surprisingly. reaching for the coffee, or pen, or notepad, or tissue, etc.
the worst is when I forget and go to catch a door with it or something
ugh. smh
 
Hi guys,

I'm trying to transfer this function so when the user clicks on "Find Item" the function runs.

Here is the webpage: http://joekonst.com/JoeKonst/Projects/Projects.html

Here is the function in JsFiddle: https://jsfiddle.net/kvhy8egx/

I know the code is probably terrible and you could make it a lot simpler but I'm new to Javascript :)

I'd just like to know how to convert it into the button using JQuery perhaps. I tried doing it but I couldn't get it to work!
 
bitched at the ultrasound place. they can see me earliest may 19th now.
 
@rlemon we actually have camels, I ride them to work and I only eat hummus and we only have 56k :D I bought my wife for 3 camels good deal yes.
 
physio won't see me until they get ultrasounds.
@BenjaminGruenbaum third wife*
FTFY
 
6:56 PM
@ssube that's a gross oversimilification but yeah. The country doesn't want war, even the right wing and even the government. We're just really stuck in a poweder keg.
 
@rlemon a third wife for three camels? Only the first one is worth that much. The third one should be a goat.
 
m59
if anyone is curious, both options perform the same. If I didn't need to clone the object before deleting it's properties, that would be a bit faster 3-5%, but I can't modify the original, so it's trivial either way.
 
We have ISIS to the north, Hezbullah to the north, Egypt to the south and Jordan to the east, Iran keeps talking about how much they want to destruct us and lots of countries aren't too friendly either. I hate our government, I hate our PM, I think it's shitty and it doesn't solve the problems it's placed there to solve but overall given the situation we're doing ok.
@ssube was a very good deal.
 
@BenjaminGruenbaum I would debate that for a while, as I generally see the US and Israel as equal instigators, but the ladyfriend and I discussed it recently and thoroughly.
 
has anyone used angulargrid?
 
6:58 PM
@BenjaminGruenbaum Isn't Egypt kinda coming around though?
 
@BenjaminGruenbaum Iran wants to destroy everyone.
So do ISIS and Hezbollah
 
@ivarni just because it's a friendly force right now doesn't mean it's not a dictatorship. Although when it was a ""democracy"" it wasn't really that either so there's that.
@ssube right, but we have a border with them and you guys don't.
 
@BenjaminGruenbaum which is why we really shouldn't be giving anyone in that area nukes
we knew things were bad and decided to make them as worse as we possibly could
 
@BenjaminGruenbaum Seems to me "democracy" has a different meaning that what we're used to the closer one gets to the equator, Israel being an exception
 
@ssube personally, I blame the US and Russia for the fact there's still war in the middle east. We guys were just pawns in your cold war. We're stuck. Don't get me wrong Israel and the US are very much allies - but I think that in the mirror of history we might have gotten a problematic deal there.
 
7:00 PM
@BenjaminGruenbaum The UK drawing arbitrary maps of "countries" and the US then arming those countries fucked the whole place up.
 
@ssube you wanna know why Iran is making nukes? It's not to bomb us, we know that - we're not stupid. We have subs in the pacific and birds in the air and enough nuclear power to wipe a medium sized country. the only reason Iran is developing nukes is so that you guys won't invade them.
 
[radacted]
 
@rlemon Iran already did that
 
@rlemon we have a ski resort.
 
@BenjaminGruenbaum we're not going to invade them, China is a bigger threat.
 
7:01 PM
FINE!
 
and we're not going to invade China either, just flatten it from 50 miles offshore.
 
@ssube you did before though, and you've tried to mess with their political system ever since. If you'd install a puppet dictator in my country I'd be pretty pissed too.
 
Politics are stupid :/
 
@nderscore people are stupid
 
@BenjaminGruenbaum destablize, sure, but invade, nah.
 
7:02 PM
@ivarni we're far from perfect either. Do you know how many Palestinians I meet on my daily routine? Probably zero. We don't interact with them nearly as much as we should. It bothers me.
 
@Loktar a person is intelligent and sensible. people are morons and irrational.
 
Can anyone name one succesful invation from the last 20 years?
 
@rlemon exactly
 
@Loktar Agreed. We are imperfect creatures.
 
@ivarni your mom, last night
 
7:03 PM
@ssube Sure, it's not like you invaded their neighbor, or brought rise to a regime that threatens their religion constantly and actively aims to take over them eventually (ISIS).
 
LOL
 
@ssube dammit!
 
@ssube touche
 
crl
coule
 
Israel is far from perfect, but overall given all the mistakes that were made I think it's a pretty great place. The same statement holds equally well for the US.
 
7:04 PM
+1
 
@BenjaminGruenbaum That was just a pair of retarded terrorists waggling their dicks at one another.
 
People can diss the US all day but it's the largest army and economy in the world.
 
Thats why the US and Israel are bros.
 
The whole Iraq thing, that is.
 
@BenjaminGruenbaum I think that's a great attitude, there won't be peace if there's no interaction and no relations, it will just be "us and them" and dehumanizing on both parts. At least that's my opinion, I'm not in the middle of it.
 
7:05 PM
@BenjaminGruenbaum if you look at GDP, if you look at GDP based on PPP, China slightly wins
I just learned this like 6mo ago. was kinda shocked.
 
US has more military power though
 
@ssube Saddam Hussain was a murderer and a tyrant - it's just sad that the US didn't have a decent strategy for dealing with Iraq. It's a shame it went down like this - I have no idea how to solve it or do it differently but it's still kind of tragic.
 
Look at how many aircraft carriers we have vs how many they have
Shit like that
 
Didn't China use more concrete in like 5 years than the US have since the 1900s? I saw some crazy numbers on that recently. China is growing. Fast.
 
@Meredith US has more money in the army than the rest of the world combined, just saying.
 
7:06 PM
@Meredith they have two: one is a 70s soviet model and one is a cruise ship :D
 
@ivarni yea that was a fun infographic
 
user2620028
@loktar and i personally think you have a terrible taste in video games but that is also entirely opinion so .... yeah .....
 
@ivarni that's because they use it to build homes and in the US wood is typically used.
 
@ivarni a lot of that is building their empty cities
 
I saw it again the other day thats why it was on my mind
 
7:06 PM
@rlemon show me.
 
@BenjaminGruenbaum en.wikipedia.org/wiki/…
goto the estimates and order by 2014 and 2015 values
 
Personally I am more worried about Russia, but that's probably because we share borders and they have a shit-ton of military and economic interests right on the other side
 
!!afk 5 mins
 
And Putin hasn't exactly been a nice kid last year, I doubt Santa goes down his chimney this year
 
Putin is a crazy dude
 
7:08 PM
@ivarni oh, Santa is going all the way down Putin's chimney
 
@ssube *up
 
@rlemon that's just by purchasing power, that's not a normalization I agree with - still interesting.
 
Putin is Santa
 
vlad claus
 
7:28 PM
today is not my day for tech. phone and laptop just fucktarded on me
 
I'm all for picking the fastest tech and optimizing things even when they might not need it, but jesus:
-2
Q: Is there a way to determine the JavaScript Date Picker library in my app that has the best performance?

JasonDavisI am building a Project Management app with JavaScript on the frontend of it. I have Project Task Lists which have Task records that are opened into a Task Modal DIV when clicked on. In the page DOM, I only have 1 Modal DIV instead of creating new/separate Modal DIV's each time a Task record ...

 
@meagar how did you find my e-mail address?
 
you signed up with it?
 
he hacked you, bro
banana sandwiches
 
ha. We've been trying to upload an RPM to S3 all day and it keeps failing with an access denied error.
 
7:54 PM
@HatterisMad haha
 
Trying with real files works, all our other files work, almost everything works.
 
I like around 85% of all existing games
 
Turns out the bucket was set up with a minimum file size of 15MB and the package is the only one under that (at 12)
 
@NickDugger banana with peanut butter :P
 
user2620028
@loktar i am very very picky about the games that i like haha
 
7:55 PM
@phpPluginMaster nope, banana and pickles
 
yeah I can find flaws with pretty much anygame, but I enjoy most of them, I even enjoyed Dota 2 for a while
I'm definitely not too picky
 
Halo is the best game series
 
On Xbox
 
well, can't argue there
I really, really, really love halo
It's the series that got me into gaming
 
Halo is the only reason I've ever thought of getting an Xbox
 
7:57 PM
I'm definitely getting one when halo 5 comes out
 
but.. thats like really the only exclusive game on xbox so I can't see myself spending the money :/
 
Halo is worth it
I do still like the xbox controller more than the PS4 one, so there's that too
My large hands fit better on the xbox one without cramping my trigger fingers
 
I haven't tried na xbone controller yet, but I like ps4 and 360's almost equally
ps4 controller wins a bit on the pc since you can use the touch pad as a mouse
 

« first day (1664 days earlier)      last day (3283 days later) »