Yes, I know. That doesn't make an assertion about the "pitfalls" of `self` less muddy. It's literally a variable. It's a code smell too, but that's another conversation. Are we calling out variables in JS now? Maybe we should just hold ourselves to bootcamp standards, copy and paste StackOverflow or something like that. Programming is hard, etc.
HN user
anothergoogler
Good luck doing OOP in JS without `this` with minimal contortions. And to be clear, there is no `self` in JS.
Not with such confidence to say things like "we are in the early days of decay."
What's it like being able to see into the future?
You sincerely believe that tax revenue would be lost to waste and graft with no benefit to the poor? Higher taxes sting me as much as the next USAer, but I think you're being obtuse.
If you're commuting in a Lyft/Uber, you're part of the problem. That aside, for better or worse, most of us city-dwellers are numbed to shocking! displays of hard drug use.
I'm talking about the flat namespace.
Clojure's stdlib is unintuitive, and `into` is the poster child.
It's easy to find what's available in Ruby: https://ruby-doc.org/core-2.5.3/Enumerable.html
Good luck with Clojure: https://clojure.github.io/clojure/clojure.core-api.html
Your kids might learn to spell an un-American name like Kwame if you raised them around those scary poor people.
The State Department is a Slack user so there's that. https://apps.gov/products/Slack/
As an antimarzipanner I was hoping to learn that its production harms the oceans or something along those lines.
As user I dislike AMP because it adds a JavaScript requirement to read articles that don't have any JavaScript. There, I said it.
Eventually, cognitive decline will win the day and I will be confused by simple use of conditional operators. Until then, I'm with you pal.
Yea but it's written in JavaScript.
Out of curiosity, for how long have you been using Linux as a daily driver?
youtube-dl is on PyPI https://pypi.org/project/youtube_dl/
Six month old blogspam, but all it takes is a baiting title to hit the front page here. Hurr durr Oracle, hurr durr Java!
I don't want somebody shooting for any reason on the BART.
Instead of a well-designed data store, OOP projects tend to look like a huge spaghetti graph of objects pointing at each other and methods taking long argument lists.
Uh, what? FP projects are the ones with crazy argument lists, has OP even heard of the Law of Demeter? Does FP magically prohibit a huge spaghetti graph of functions and ad-hoc types pointing at each other?
The main point is: just because my software operates in a domain with concepts of eg. Customers and Orders, doesn't mean there is any Customer class, with methods associated with it.
What an observation, it's all a bucket of bits so why name anything? Rub your hands together, mutter an incantation and voila, software without all that obnoxious structure!
This could be us!
https://www.reddit.com/r/CryptoCurrency/comments/9zvoe2/the_...
And to think, one year ago we had the fad of Bitcoin Christmas gifts. I know some intelligent people in tech who bought into BTC and ETH around then. Sub-$1k BTC by year's end is a real possibility.
Please don't project your narrow viewpoint onto PL communities.
Disagree, most employers are so desperate for somebody who can show up every day and throw some code together that they will make all kinds of excuses for the candidate. Plus most interviewers know jack and are easily impressed. That said, everybody has their own understanding of "entry level." I think the market is great for entry-level/junior developers, and glutted for true senior developers. Most companies have no need for somebody's 10+ years of real experience so the ceiling is quite low, and you are "senior" after a few years.
We're gonna need some examples here. One person's fizz-buzz is another's constant-time radix tree with one register and vice versa.
2013 called, it wants its hot take on "digital gold" back.
You have it backwards, it's the caller's bug if they assume order in an async process.
Talk about bad writing! I guess you need to write things like "molten vitriol" to get your point across when every sentence is hyberbolic. Some journalists need to learn that turning it to 11 isn't a legitimate approach outside of tabloids. Maybe Kotaku is a tabloid though.
The lede is buried at the end of the article:
Much of the data on ocean temperatures currently relies on the Argo array — robotic devices that float at different depths, surfacing roughly every 10 days to transmit readings to satellites. There are about 3,800 such pieces of equipment in waters around the globe that provide the publicly available information...
By comparison, Resplandy and Keeling calculated heat based on the amount of oxygen and carbon dioxide rising off the ocean. Filling round glass flasks with air from research stations in the Canadian Arctic, Tasmania and La Jolla, San Diego, researchers analyzed the samples to determine the aggregate temperature of the ocean.
On what grounds is three samples of a novel measurement preferable to a few thousand direct temperature measurements? I mean in terms of reliability, not ability to generate clicks.
The privacy loss of one account being popped is likely far greater than the privacy loss of thousands of users' browsing patterns being correlated.
That's quite the hand-wave. How do you even measure privacy loss? And given that browsing history is not in your inbox, why are you so confident that one compromised email account is a bigger deal?
I think you're confused about network programming in general. In a post like this, the assumption is that the concurrency is happening over a single network interface. It doesn't matter really. The most conspicuous limiting factor on a POSIX-compliant system is the number of available file descriptors. When you listen() on an address and accept() a connection, the networking stack allocates a file descriptor for that connection. Then you can handle more connections.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/ac...
http://pubs.opengroup.org/onlinepubs/9699919799/functions/li...
Beej's guide is a popular intro, but I'd bet any text on network programming covers sockets.