Its in regard to closures, why have a function that all it does is return another function, that feels like the parent function could just be thrown out like method 2
it's a functional pattern. instead of having a function where you need to specify both the name and the spaceship, you have a function that generates greeting functions for every ship
it may be hard to see the benefit here, since like @Zirak said, it's pretty contrived
erm, sort of. I wouldn't read too much into this example, it's a bit wonky. Here're some better articles: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures - http://stackoverflow.com/questions/111102/how-do-javascript-closures-work
wow, this guy really goes around selling stuff he sees on codepen... I assume that technically there's nothing illegal with that, right? codecanyon.net/user/wptpnet
we'll, I'd rather have him give me half of his money for example :P
license: the code is for everyone to use as long as very clearly properly credited on display at all times with a link to this pen (unless it's used by the author), and half of the person's earnings directly and indirectly connected to this pen go to the author
I initially thought it is Facebook's own creation (those PHP fanboys). Then I saw babel using it, and I thought, well, seb is at facebook now so maybe... then I googled. But yeah, I have no idea whether it is better or not for babel.
@TrungDQ switching to linux is generally a good idea for developers. And the path size limitation is a known one, but AFAIK, npm 3 doesn't face that anymore.
So upgrading to npm 3 can let you keep on windows :/
@ITProGuy 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.
Le circuit de Spa-Francorchamps est un circuit automobile situé à proximité de Francorchamps dans la province de Liège, en Belgique. Il accueille chaque année le Grand Prix de Belgique de Formule 1 et la course d'endurance des 24 Heures de Spa, ainsi que d'autres courses nationales et internationales.
C'est un des circuits préférés des pilotes en raison de la variété de son tracé dans le paysage montueux de l'Ardenne belge qui permet aux pilotes de mettre leur talent en valeur. On le surnomme parfois le « toboggan des Ardennes ».
Bien que le nom de la ville de Spa, voisine, y soit associé, aucune...
it's caused by FIA (they changes the rulings too often, trying to "improve it" by trail and error), Ecclestone (he leads this as dictatorship, keeping most money) and constructors (gap between constructors causes imbalance)
@caballerog 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.
Carpe diem is a Latin aphorism, usually translated "seize the day", taken from book 1 of the Roman poet Horace's work Odes (23 BC).
== TranslationEdit ==
Carpe is the second-person singular present active imperative of carpō "pick or pluck" used by Horace to mean "enjoy, seize, use, make use of". Diem is the accusative case of the noun dies "day". A more literal translation of "carpe diem" would thus be "pluck the day [as it is ripe]"—i.e., enjoy the moment.
== HistoryEdit ==
=== SourcesEdit ===
Text from Odes 1.11:
=== In ancient literatureEdit ===
Perhaps the first written express...
I mean, just because something is complicated, does not mean that you shouldn't try to build it yourself. building complex things is the best way to learn.
@copy yes, got a lot - investigated JavaScript language usage in popular websites. Got to use the big cs lab. Was fun overall but also kind of terrible because I didn't plan it well from the get go.
@MadaraUchiha a tiny bit better, probably :P
@AwalGarg you do realize that at some point you max out on IO and become CPU bound again for parsing - right?
I repinned the owners thing to give it until the weekend - hope you guys don't mind that
About
Stack Exchange chat is awesome. But there are a couple of missing features that would complete the experience:
Showing how far each user has read
Indicating when a user is typing
This script aims to solve both of those problems.
Screenshot
Download / Install
Instructions for ...
> Whenever a new message is read or you start typing, the script sends a small packet of information to the central server. This information is then sent to everyone else in the room who has installed the script.
@MadaraUchiha Well, how does it verify that the user sending the request to the central server is the one he claims he is? What if I send them random payloads informing mod Madara Uchiha is typing since the last 80 hours or so?