« first day (2028 days earlier)      last day (2923 days later) » 

1:00 PM
@KendallFrey ohh god, I just looked at their website squad.com.mx/SquadSite/index.htm
:(
now I wonder how KSP is so good
 
i see
 
but how come must do this for the correct code
 
Felipe is a genius
 
(function() {
			var j = i;
			result[i] = function() {return a[j];};
		})();
var j = i;
it is similar to var that = this;
 
1:01 PM
so that the correct value of i is stored somewhere
 
so I can just now assume most of the actual work on KSP was done by contractors who no longer are with Squad?
 
Mornin
 
How do I ssh into a Windows Machine and install Malwarebyes and some antivirus and remove whatever the hell is slowing a PC to death? Sorry I don't Windows often
 
Yes, it's a similar idea
 
i see.
in es6 is there a different solution to this.
 
1:02 PM
let
 
I don't think Windows has an SSH server integrated. Try the safe mode
 
@rlemon I've always rolled my own but that seems decent
 
@rlemon ok thanks
@JanDvorak thanks for your help
 
@BenFortune if I had the time I would
don't need to check much
 
@JanDvorak it doesn't
it supports remote desktop, but is disabled by default.
 
1:03 PM
I was just staying safe :-D
 
@JanDvorak would you advice reading more JS books first like design patterns or just practicing problems with the basics JS knowledge I have
 
@rlemon I don't think so
 
@Abhishrek don't worry, you have plenty of time to uncheck that checkbox
2
 
@KendallFrey would be interesting to see commit logs
 
1:05 PM
oh god lol
before and after censoring
 
man, game companies should totally do that. way after the fact, just release the git logs
not the code
just the logs
:D
 
@JanDvorak lol
 
that would be hilarious
 
@Ming the problem with design patterns is that they solve ideal problems, and that is rarely a real world scenario, so you end up trying to put a square peg in a round hole
 
remember the thing I made that read github commits in real time?
 
1:06 PM
yea
 
Stick with the basics
 
i see. what do you mean with basics
is effective javascript a good book? for beginners to learn. assuming they know the basics.
 
@Ming I haven't read it, so I can't say
 
That book isn't something I'd recommend to you at this point.
 
Focus on concepts more than syntax
 
1:09 PM
@littlepootis @Neil i see ok. so you mean just practice more instead. concepts like?
 
In a package.json, you can specify which version of node is required, yeah?
 
for loop, functions, closures, object oriented? , this
 
@corvid I don't think so
 
It'll serve you better in the long run anyway
@Ming yes
 
Because most people don't have multiple versions of node installed
 
1:10 PM
@Ming Also callback functions and functions as first class objects
 
@Ming Read YDKJS
 
Promises would be worth understanding well
 
@Neil @littlepootis thanks for advise. yes YDKJS is really good. just started it.
 
Probably callbacks first though, Promises are like level 2 of async
 
We need an ES6: The Good Parts.
 
1:13 PM
ES6 is all good - except promises
 
what is wrong with promises?
 
Fuck... I just saw a massive Game of Thrones spoiler on reddit by accident
 
lacking functionality. Do they have finally yet?
 
they do have finally, IIRC. You can override Promise, can't you?
 
Bluebird does
I don't think native has .finally
but lacking .finally is a very small point against promises
imo
 
1:23 PM
just now I could use mapSerial
but I don't feel like adding Bluebird to a project for a single line
 
imgur.com/JAkKOoG I fucking lost it
 
I feel like the only thing I really use from bluebird and not native promises is timeout, each, and map
 
lol
 
1:27 PM
on the server, I'd much rather just import bluebird
 
With babel/webpack, can't you just do import Promise from 'bluebird' on the client?
 
@KendallFrey i don't get the link between a thimble (if that is) and "speech impediment society"
 
@KarelG It's their symbol
 
really? heh
 
Hi, want to check can I learn meteor without learning mean stack. Or should I learn mean first to get more understanding of meteor etc..
 
1:30 PM
@SterlingArcher Ha ha. (Don't tell me please)
 
@Ming Yep, meteor honestly has very little to do with the mean stack, very different paradigms
 
@corvid I see. ok. thanks for the advise.
 
Although it depends on which path you go on the front end. You can use React, Blaze, or Angular. I suggest starting with Blaze because Blaze is very, very straight forward.
(but don't make a large scale project with blaze, it might be deprecated in the future)
 
@corvid why do you say that.
 
1:34 PM
@KendallFrey What do you call it when an Italian guy has one arm shorter than the other? A speech impediment
 
i.imgur.com/mzLb7Sd.webm most brutal collision I've ever seen. Guy went right to sleep ._.
@KendallFrey
 
dammit archer
 
:D
I read that as Ray's voice
 
Possibly dumb react question... what's the point of this containers folder within this project, if components exist? Does it just wrap multiple components?
@Ming They just don't really support it as much any more because you can use React and they don't have to maintain it
 
1:37 PM
@corvid makes sense. thanks.
 
@ndugger irl
 
@SterlingArcher just saw it. Are we on the same track while browsing imgur ? :p
 
@KarelG lol maybe, I'm on the 69 gud memes dump
 
saw that already. i'm currently on this
 
Define nsfw
Nudity or just offensive as fuck
 
1:44 PM
Not safe for work, duh
 
slightly unrealistic nudity
 
shouldn't have clicked that..
 
Yeah but are we talking OSHA standards NSFW or OSHA's boobs?
 
Who is OSHA?
 
@SterlingArcher That's an insult
 
You mean Osho?
 
!!wiki OSHA
 
OSHA or Osha may refer to: == Work == Occupational Safety and Health Administration, a federal agency of the United States that regulates workplace safety and health Occupational Safety and Health Act (United States) of 1970, a federal law in the United States, the act that created the Occupational Safety and Health Administration mentioned above Occupational Safety and Health Act 1994, a national law of Malaysia European Agency for Safety and Health at Work, an agency of the European Union == Other == Osha River, a river in Russia Osha (herb), a perennial herb Osha (character), a character in...
 
So like, NSFW can be a pun where something wouldnt pass an OSHA inspection... making it a not safe for work situation (Like a ladder on a railing)
Did I really just explain that ._.
 
I think you did
 
Yep
 
/r/OSHA is my favorite nsfw source
@ndugger old @Abhishrek
 
I am playing DOOM Now
 
@rlemon I've never seen it before--you know what it's from?
 
1:51 PM
@Abhishrek you lucky bastard
 
lol
 
Iddqdpd
 
ehhdicjd?
 
@Neil Heh, I am also planning to play Lemmings
 
1:53 PM
@littlepootis never played doom I'm guessing
 
@SterlingArcher tbf, it's not "nsfw" to the standards here
we're not so prudish
 
You think we're prude for not allowing nudity in the workplace? That's a special kind of odd.
 
@Meredith did you like the outback snekhouse
 
Yeah it was cute
 
@Neil how u think i never plaid gaben's favorite game?
 
1:58 PM
@littlepootis then how do you not know that cheat? ;)
 
@rlemon please make "plaid gaben" a thing
 
@Neil I never needed cheats because I haven't plaid it for more than a few hours
 
@KendallFrey ^ Any clue how that works
 
the moon is only a hop and a skip away. 4 hours is still too slow
 
Mars is only like 30 seconds away
 
2:03 PM
trueché
 
@Meredith lol
 
Hello
This is my blog in WIP
what you say about it?
 
@Abhishrek It's the famous EM drive
The comparison to Star Trek is woefully inaccurate
 
In star trek, they used blood magic to power their propulsion systems
it was all in sacrifice to Q
 
2:09 PM
Are you guys humble when people ask you what you do for work?
Mainly with people that you know have "shit" jobs
 
@SterlingArcher I just say I'm a programmer. I don't say how much better my job is than theirs lol
 
@SterlingArcher Is that a real question?
my job has helped get me laid a number of times, because I'm a bad person :D
 
I more mean like, do you feel uncomfortable saying what you do in front of those kinds of people? Older people mostly.
 
@SterlingArcher I am just happy if, at the end of explaining what I do, they seem to understand
 
@SterlingArcher Well, when I get the whole how-do-you-do-it-you're-so-smart-i-could-never-do-that then yeah
 
2:11 PM
@ton.yeung NEVER tell anyone you "work with computers"
 
@SterlingArcher never
 
@SterlingArcher nah, old people don't understand and often don't care, or are just "ooh, look at you not gonig to college and having a profession, you're exactly what kids should be!"
 
That's how you become their personal to-go-to for anything IT related
 
@KendallFrey oh that I am sure of, I am wondering how the EM Drive works itself
 
If they are old or seem like the type that haven't even used a computer before, then I tell them that I am a computer whisperer
 
2:12 PM
I didn't read much into it
the idea is that it uses vacuum energy as reaction mass, or something like that.
 
Ok, just making sure it's not just me. I got a dirty look last night because a guys wife asked me what I did, so I said I develop software. He wasn't digging me so I was kinda short, saw my car, etc. So I felt uncomfortable. Then she asked me specifics, so I told her.. I'm working with space and cyber defense tech, and I could just tell it kinda wrecked the husband to see a kid half his age doing that
 
@Neil that's not a bad description, actually
 
It kinda hung with me all night. Don't get me wrong, I love what I do, I work really hard, and I damn well earned my way here, but something about that look just made me really fucked up for a minute
 
@SterlingArcher so?
 
I would have understood his looks if I was bragging, but...
 
2:14 PM
@KendallFrey a bit vague, but it gets the job done I suppose
 
I don't know.. I can't explain why it's bothering me.
 
@Abhishrek sup? why are you not replying to venky? he is mad on you I think
 
@SterlingArcher you don't want him to hate you for something you enjoy
 
@SterlingArcher then stop trying
 
thing is, it's your job
it's not like he hates you for banging his wife, which is reasonable
 
2:15 PM
@ton.yeung pff, chat? Like, what, in a chatroom?
 
I don't expect respect from anybody lol
 
you're just off doing your job, which is a clever one that you enjoy and are good at. If he wants to hate you, meh.
 
@SterlingArcher good to know
 
@ssube maybe on a sub-level that might be why
 
I've gotten the same thing a few times, having a nice job, nice car, and no degree.
 
2:16 PM
That too
 
Especially from people in their early 30s who spent a bunch of money on a degree.
 
@AwalGarg Dude I told you to handle it
 
On a lighter note, I met a storm trooper last night
 
@AwalGarg Hangouts?
 
ok
 
2:17 PM
!!youtube stormtrooper 9/11
 
@SterlingArcher you only met him last night and he already misses you
 
@KendallFrey Something went on fire; status 403
 
@AwalGarg hangouts
 
oh... right
beard game 10/10
 
2:17 PM
@KendallFrey I'm one hockey game away from having to shave it :(
 
@SterlingArcher @rlemon, do something good with this
 
hahahaha
go pens go
 
lol fuck off
 
after this series, i'll cheer for someone else
 
I will cry if they make a comeback
But I've basically given up hope... down 3-1? It's not gonna happen.
 
2:19 PM
Hi guys
 
You don't just win 3 straight against the pens
 
@ssube I'm busy merging gaben is richard karn
later
 
Toronto almost did that a couple years ago
fucking bruins
 
Pen is stuck
 
I am badly stuck in 1 task which is somewhat challenging
 
2:19 PM
@rlemon ...
 
For me I guess
 
!!afk vape
 
21 mins ago, by Kendall Frey
@rlemon please make "plaid gaben" a thing
gaben has a really fat head
hard to find good stock images to work with
 
@Learning Unless you're trying to forcibly log people out of facebook, ask away
 
@ndugger Ha ha ha
Nop not that
This is 1 demo I have created in this I have some div which are moving
In this I want to avoid overlapping of div
Its ok if they collide with each other but I dont want to allow overlapping of two or more div
Is this possible with moving div to avoid overlapping
I guess this is not possible as they are moving
 
2:23 PM
Of course it's possible
You're going to have to do some math though
 
That's a cool looking jsbin; I'm having a headache right now so I can't figure out what it's doing. I'll be back in a bit
 
I have tried alot but somehow they overlapp with each other
@Meredith can you help me with it if you think it is possible because I have ask some of my friends and they say this is very very complex task
I have tried alot but somehow they overlapp with each other
I have tried alot but somehow they overlapp with each other
@Meredith can you help me with it if you think it is possible because I have ask some of my friends and they say this is very very complex task
 
Yeah it's complex
 
I will have maximum of 80 div like this on my screen randomly moving here and there
 
Your best bet is to make them bounce off each other when they collide
 
2:29 PM
@Learning this is fine to learn, but a canvas might be better in general
 
^--
 
@Learning you might want to batch the updates somehow
 
Do you know what a quadtree is?
 
@KendallFrey I've spent too long already and it sucks
 
:( aw
 
2:30 PM
will re-try later
 
THAT'S AWESOME
you're too humble
 
@ssube sorry didnt get you
 
Ray of God on the face, but other than that it is decent
 
@Meredith nope not heard of it
 
They're used for collision detection in 2d
 
2:32 PM
@Neil sorry but now I cant change to canvas because already spemt alot of time in doing this
 
@Learning don't move the elements one-by-one. Use something like React's virtual DOM to move them all at once.
 
So detect collisions for each circles using a quadtree
 
It will be much faster as you get more elements, because 80 individual updates might be too many.
 
Then move the circle away from the circles it collides with
You'll have to do math to determine what direction to move in
 
@ssube your concept really look awesome
 
2:33 PM
Have fun
 
@Learning it's fine, I just tell you that for future reference
 
@Neil thanks for your kind suggestions
@Meredith is it easy to use with my current code or is it complex?
Sorry I have to ask this because I dont have much time for this as because I have already wasted so much time so this and still reach to nowhere
 
No, you'll basically have to rewrite everything
Especially if you switch to canvas or react
What you're trying to do isn't something that you can do in a day
 
2:46 PM
@Meredith then sorry sir I can't do this because we have working this somewhere else so I will have to go with the current flow
I know sir that is why this seems impossible fot me as because I am not good in playing with jquery stuff
 
did es6 add anything to compare objects in an array?
or do I still have to check each property for equality
 
@rlemon still no deep compare, but I've got a snippet for that somewhere
 
don't need deep. will just compare
 
1
A: indexOf method in an object array?

ssubeUsing the ES6 findIndex method, without lodash or any other libraries, you can write: function deepIndexOf(arr, obj) { return arr.findIndex(function (cur) { return Object.keys(obj).every(function (key) { return obj[key] === cur[key]; }); }); } This will compare the immediate ...

 
2:53 PM
ohh findIndex
neat
 
findIndex was specific to that question, but you can use the predicate with any of the methods (find, filter, etc)
 
hi Is there any one has a website for learning recursion in java
 
@KarGar Welcome to the JavaScript chat! Please review the room 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.
 
hi, I have an application that needs a bit of jquery but I have not got time to learn jquery, as the app is launching in the next few days. Any chance anyone could fix my bodged bit of code? It is a very simple function... jsfiddle.net/vVxM2
sorry to be annoying
 
@ssube can you give me some more details on this
 
2:55 PM
*have not got time to learn jquery
 
@Learning what do you mean?
 
:30363902
 
awal.js.org/devtools-timing-attack anyone can tell if this is working for them? it should change text if you open devtools on that page (only chrome and ff)
 
You said dont move individual elements use react for it
 
@Learning oh, not React specifically. Just something to batch your animations.
There are a bunch of libraries that can do that.
 
2:59 PM
@AwalGarg It sort of works
 
@SomeGuy "sort of"?
 
Flips back and forth, settling on "if you close.."
 

« first day (2028 days earlier)      last day (2923 days later) »