skysight-inc/HackerNews huggingface dataset:
Many are forgetting the initial reason node.js became popular. Consider the popular server-side landscape before node.js. It was dominated by Java, Python, etc. The primary way these ecosystems handle concurrency is OS-level threading. There was nothing else in the popular languages. Each language had some niche library that did non-blocking I/O (Twisted for Python, Netty for Java), but these all had a critical flaw, which is the rest of the ecosystem didn't support it. Basically every library, almost all existing code used the threading model. And when you mix threaded libraries with a non-blocking I/O server, it completely falls apart because the threaded code blocks.

Then came node.js. Look at the ecosystem it came into. JS itself has very little standard library, and nothing for I/O. It has a highly optimized VM supported by the resources of Google. It's a language known by many developers. node.js took this well developed clean slate and built a non-blocking I/O server on top of it. It offered a concurrency model on the server side that's completely new to many developers, an alternative to the traditional threading model everyone knew. Since server-side JS didn't exist yet, it forced all libraries to be written in this non-blocking way. Every package in NPM is written to support the core design of node.js which is non-blocking I/O. And it was exciting to many developers, it was a reason to rewrite everything in this new way.
Yep. I wanted to try some immutable data work so I looked into using an immutable library in Ruby (Hamster) but it was so much slower... so I went to Elixir and never looked back
He says "I rarely need the docs visible at the same time I’m writing code. I read the relevant doc, then code. My workflow is modal."

This is certainly not a common opinion. Most people want to glance back and forth quickly. And most people hate modal dialogs.
> So why are we spending money to display multiple things simultaneously?

Full-stack and front end developers can really improve productivity drastically and reduce ALT-TAB Keystrokes and back-and-forth scrolling when developing and testing web-pages, responsive sites as well as web applications that they use an IDE for.

At work, I have 2 monitors (21-inch each). On 1 monitor, I write my code in an IDE, usually Visual Studio or sometimes in Notepad++. On the other Monitor I have the website that I am building, open. As and when I make changes, do a build, I simply have to refresh the screen on the other monitor instead of pressing ALT-TAB over and over again and selecting the other window, if I had just 1 monitor.

The 2nd use case, also common for full-stack or web developers, is when debugging front end stuff like Javascript, CSS, HTML. I have the webpage open in 1 monitor, and the chrome debugger in the other one, so I have a full screen on each side to do the debugging. This exercise becomes especially tedious with a single monitor, wherein, when you go F12, the chrome debugger will occupy a good portion of your screen, no matter how you've docked it (to the left, or right or the bottom).

On a single monitor, this means endless clicking, scrolling back and forth on the page you are trying to debug, next think you know, your fingers and wrists are sore and you haven't gotten too far in your work and your coworkers tell you that you have RSI.

I wonder if OP is a command-line / backend developer, in which case, you may be able to get away with a single monitor and not feel the pain :)
I never said "all the benefits SPA structure can offer the multitude of other projects" were meaningless, in fact I specifically said there's a time and place for them. My point was most web apps, particularly an SaaS control panel, may be better served with a simple CRUD app
Neither. This was not written by Microsoft. This is not an exploit. Further, you never "identify an exploit" - you identify a vulnerability, and the exploit is what you build to take advantage of that vulnerability.

This is software that has been written by presumably US govt to be installed on a windows machine to maintain control if it once they've compromised it. Think "really advanced malware". It is supposed to be hard to detect and/or remove, and allows long term access to that machine.

Edit: hopefully that helps clear up. Also your line of questioning seems to suspect Microsoft colluding with the govt. zero evidence of that.
Most holiday insurance. Most direct mobile phone insurance too from UK. I think many decent UK house insurance does for personal possessions away from home too. Id hazard a guess he was triple covered but that would complicate things on sub $1000 item. Is US really different?
I used to be on Android and I eventually clicked yes out of annoyance.
>Is rugby safer?

The short answer is almost certainly yes but the patterns of injury are different. Rugby also has issues with concussions, although less so than American football. The bigger problem is generally considered to be spinal injuries in scrums.

Unfortunately it's hard to catch much rugby on TV in the US. (I assume there are special packages you can subscribe to but I don't care that much.)
The best use case for two monitors is to have a reference document on one screen and the thing you're doing on the other screen.
Really cool generator. Got 87 points overall for my "logo": https://latency.at/favicon.png

I'd expected it to score lower than 66 points on the uniqueness. But guess there aren't many this simple logos.
TL;DR - React-Move 2.0 is a merge of Steve Hall's Resonance library into React-Move.

- Mind boggling performance
- Amazing stability
- A simple and even more powerful API
- Delays, staggers, and complex transition groups
- Multi-step Transitions
- Animation lifecycle hooks

Example Here: https://codesandbox.io/s/j4mv3lvj6v?from-embed
My workflow dictates using 2-4 browser windows + email + excel all simultaneously. I currently use 2 monitors + laptop screen as third. I can't image cutting down to just the laptop screen.

I see the point about less distractions, but tbh I find it more distracting to swap between multiple tabs/windows/desktops than to just move my eyes.
This is pretty awesome. I had never read this before. Simplicity is so easy to strive for, yet so hard to achieve sometimes.
Quantifying the shade provision of street trees using Google Street View
PSA: Google stores your precise location, tied to your account, for every moment of every day. In about 1.5 years of using android regularly I generated 700,000 data points. I understand Google maps on iOS participates in this.

Go to takeout.Google.com to see what's in your personal dossier.
Steps to better code
Rugby is occasionally on TV in the US. NBC Sports carries some events. Or, if you want a quick fix, look for a sevens tournament on YouTube (US has a collegiate championship, there's the Olympics, and a few major international). The games are short and fast paced, so easily consumed.
Ask HN: Spreadsheet/Grid interface as an operations back end?
This is a product design question. im wondering has anyone here scaled up using spreadsheet based interfaces to run operations ? Think ecommerce/Amazon - would you have been successful building your operations/shipping/accounting systems on a Google sheets like panel (connected to an API) ?
Its a tradeoff between operations that need to be operating on a single "row of data" (one user, one account, one order, etc) versus bulk updates "update all as shipped", etc

Is a spreadsheet the perfect paradigm that solves for both ?
Software Engineering in 2017 : Personality cults and mostly a lack of appreciation for the history of CS.
In the Netherlands www.ticketswap.com works really well for reselling e-tickets and only allows for a 20% markup.
> That massive-scale scanning (or what Junio prefers to call web-scale sensing)

At what point does tech become a parody of itself?
For journalists, John McPhee still sets the bar
Carmack wrote about this years ago, and he's now a fan:

https://www.gamasutra.com/view/news/169296/Indepth_Functiona...
While Mathematics is type aware, Mathematicians often aren't. They mix things that are "not the same object, but almost, I swear", and constantly write ill-typed expressions.

This is generally on purpose, to avoid making explicit things that are obvious, but as someone developing and using statically typed languages, reading Math papers is often quite frustrating.
Lurk, Twitter for users who dont tweet
Big hits and injuries aren't new to American Football. Some of hardest hits ever, as judged by other players, can only be seen in old black and white footage. After a lifetime of being front and center to the game he's only now walking away?

If any analyst, or anyone, should be walking away from a sport it should be boxing. In boxing giving your opponent a concussion and rendering them unconscious is a decisive victory and the most important statistic for ranking.
I don't see avoiding frameworks is superior to using a microframework like Sinatra. The point of a good framework is it abstracts things that you have to do repeatedly.

You can't really operate without a framework in some domains, if you aren't using an existing one, it's because you've written your own.
Yeah I feel guilty and also not hired full time, currently using plain LAMP and freelance, but I can develop with it. In particular with WordPress, I'm able to open plugins read the code and change/add to them. Speed of development too. But yeah... Starting to learn Angular will decide which PHP Framework... Throw Go in there too. Damn... Gotta catch up.

Edit: I don't personally use WordPress but saying the stack is LAMP/LEMP so I can work with it. It's just a matter of dealing with the random unclosed PHP tags and figuring out the interconnected classes. It's good for learning how to structure code I still have to use classes myself but assume I need a reason to use object oriented like a video game.

Same with implementing personal GIT server and CI/CD design.

One thing, I imemented defuse/php-encryption recently with memcache was watching the server's htop and see the php-fpm pool requests appear in the processes neat.

So far using Angular CLI, the real time updating is sweet, also the event bindings loops on what appear to be HTML... Yeah gotta spend more time on it this Angular 4 in 60 minutes was a good intro but gotta use it.
Except they aren't getting paid a million bucks.

College football (and even high school football) account for a very large slice of all football revenue. NCAA football is a multi-billion-dollar business.

Those athletes are spending 50% or even more than 50% of their entire productive football careers playing college ball, they are incurring a very high risk for permanent brain injury, and they are NOT getting paid. (Do these figures sound off? Go look up the average career length of NFL running backs.)

Yes, yes, they get a "free education", but many or most of these guys aren't actually well-suited to college-level academic work anyway, and a college degree isn't of as much use if you die at 40 (or commit suicide in your late 20s) from horrific brain injuries.

They should be getting paid. Bigtime. Paid a lot. Everyone else involved with college football is getting paid; just not the players, the ones who are taking all the risk and doing all the real work.
I think violence is an inherent part of being a primate. It needs some kind of outlet, be it preemptive wars of choice or civil wars, as the animal gets a bit smarter then there are gladiator games, still pretty vicious but structured, and the smarter ape man gets the more structure and skill and preserving the life of the sportsman the rules get. It's the spectators that drive the structuring every bit as much as the owners. The more debased the spectators are, the more violence persists in the sport.

So yeah blame the owners for knowing about football's lifelong consequences before and after the discovery of CTE, but that it persists is squarely on the spectators who keep paying for it.
Proof that we live in a computer simulation?
"God does not play dice with the universe."

If you take a minute to think how software is written an how you take the resulting product for granted, quantum physics starts making sense.

Perhaps we do live in a computer simulation... and the messy randomness of quantum physics is just us reverse engineering the code that compiles to this world and realising it was all copy pasted from Stack Overflow.

¯\_(ツ)_/¯
Tsuru 1.3.0 released, with Kubernetes support
> Each participant met each opposite-sex participant attending a speed-dating event for a 4-min speed date

I wonder if the results would be different if the participants got to know each other better. In 4 minutes you're not going to know your partner very well, and any judgment would probably be based entirely on physical attraction.
Wouldn't you be asked some pointed questions if you walked into a bank with a stack of 500s? I know in the US there are people who run cash based businesses (construction/landscaping for example) that end up having to make special arrangements with their bank to avoid getting the third degree every time they bring in a deposit.
I also use one monitor for a similar combination of reasons. The ergonomics are better and work flows are similar on just my laptop compared to my large everyday monitor at work.

Many of my coworkers use multiple monitors as a way to "deal" with sprawl, except it really just facilitates sprawl. Using just one makes me be more disciplined with regards to floating and extra 4 dozen browser tabs. Multiple workspaces with their own separate reasons for existing help preserve context when switching out of a task is necessary, and again makes it easier to prune terminal and browser tabs because they exist to a particular end.

Multiple desktops and good window management are a must. Spectacle on OSX or a tiling WM on linux (not familiar with windows) are a must. Toss in tmux (obviously not mandatory) and it's great. It takes discipline, and a bit of up front work, but once you have your patterns it's much quicker to find information, tabs, terminals, etc and then toss out three chrome windows with 50 tabs and 8 terminal shells.

I do ops, and so might have to juggle a larger variety of contexts than some devs who spend 90% of their time in an IDE, but maybe not.

There is a good case to be made for two monitors if you spend extensive periods of time working with, e.g. wireshark or similar, but that's the only case I've come across in almost a decade where two monitors > one (large) monitor + good wm w/ multiple desktops.
It's become increasingly difficult for me to watch football as well. I really enjoy the sport, but the research is pretty unforgiving.

I can still justify watching the NFL because the players are getting paid very well, and at least at this point are aware of the risks.

But it is impossible for me to justify watching college anymore. I was always leary of the billion dollar contracts conferences were signing, while severely punishing the players for accepting a jersey from a relative (and at the same time refusing to ban coaches who systematically engaged in illegal activities). But throw in the brain trauma stuff and it's impossible to excuse an academic institution doing this anymore (especially since they also get tax benefits as well).
You can also go to maps.google.com/timeline for a better visual.
You might be right... Write a blog post about it!
Last sentence of the abstract:

> These results suggest that compatibility elements of human mating are challenging to predict before two people meet.
Grew up a football fanatic.

Older me now thinks mixing scholastics and athletics is nuts. I remain unclear why tax payers are subsidizing professional sports by funding their farm system. And their stadiums. And their monopolies.

I now favor a european style club system over any intramural sports.

Government and sports should not mix.
Following Hurricane Katrina, an amazing decade of climate research
Ah, I'd forgotten about those. I saw the ads as a kid and was interested but never got a chance to play any of them. This does remind me of The Hobbit, though, which seems to have some similar features:

https://en.wikipedia.org/wiki/The_Hobbit_(1982_video_game)
Does anyone know who wrote that answer?
To the stars through/from water, it's a play on the phrase ad astra per aspera which means to the stars through (or in the context despite) hardship.
The original phrase also is fitting but since the water in this case is their hardship I think is what makes it a pun.
The way I think it may change is the way most cultural changes happen: the aggregate of small decisions made by individuals.

As more understanding of the eventualities (not "risk") of brain damage become ingrained in how people view football, perceptions may change. I think people may start to view football more as say, smoking. More parents may not sign up their kids for football, or discourage them from playing in high school. Kids may make the decision themselves, as they will grow up with the eventualities as background information. With less players in the pipeline, football programs may shrink.

I know the standard objection is still "some players, particularly poorer players, will still play." And that may be true, but the NFL and college teams power is that football is culturally significant. And it's culturally significant because so many people see it as the main American sport. It's quite possible more people will not see it as the main American sport, which will decrease its cultural significance, which can decrease the power and influence of the NFL, college and even high school teams.

I'm not saying this will happen, but that it may happen. I do think it's likely.
>And yet, despite the extraordinarily low stakes of publishing, Wikileaks is still milking a drip-drip from the original cache they obtained of CIA warez. It's cynical, and speaks to a general contempt they have of their audience.

They're trying to do their due diligence and make sure evety thing they release is fixed already. Given the likely size of things to go through and many companies refusing to interact with Wikileaks, preparation for a release is likely a long process.
That sounds 'unable to provided informed consent' drunk.
Sure, and the excuse here will be "but they will get an instant pay out on day 1 when they're finished with school and get a contract!"

There is no possible rational conversation you can have with a fan of college football about the disproportionate blood sucking they're responsible for. These spectators are parasites. Conversing with them rationally is just as likely as conversing with a tick. They're ignorant. They don't care, they don't want to care.

Addition: And paying them big time doesn't make it right. That's just more gladiator mentality. The idea of affixing them with more glory makes their sacrifice, and lifelong injuries OK, because they're being fairly compensated for it. Don't fix the sport, don't become less violent, no one change anything except pay the gladiators better.
I'll be publishing a few in depth ones in my website soon. Will share those in HN.
This is just a log way of saying we are looking at the wrong metrics. Good on them for publishing a 'negative' finding, and not clawing for some trivial clickbait casualty for attention.
From some quick googling, it seems to me that having a ~ in the url is not a standard, rather it is only a coincidence that most of the time it is used in cases where the content is user uploaded (e.g. the user home directory on a UNIX machine).
I don't understand what you're trying to say. How would his abstract be different if he wasn't trying to get as many people to look at it?

Many results in math establish a famous theorem by proving something more abstract that "easily" implies the famous result, like with Fermat's Last Theorem.
> I've spent a small amount of time trying to convince people that FP is a byproduct of immutability and not much else.

I'm not sure that's true in general; although it seems to hold in FP languages and FP-style in imperative languages, where we have "function-like things" (functions/subroutines/methods/etc.), an implicit 'arrow of time' (a sequence of instructions, irreversible reduction rules, etc.), some notion of "values" which can be passed around, mechanisms for naming/referencing/substitution/etc. and other such "ambient" language features that we might not think about too much since they're present in most mainstream languages.

If we step back from this imperative(-like) mainstream though, we find things like Prolog, miniKanren, SQL, Joy, Pure, Maude, Eve, Church, Unlambda, etc. whose semantics are based on relational algebra, answer-set programming, probabilistic programming, theorem proving, term-rewriting, stack models, etc. If we consider mutable vs. immutable variants of these languages, I don't think we'd find that immutability gives rise to FP as a byproduct.

For example, relational languages don't have a construct corresponding to functions; they have relations, which are more general since they are many:many rather than many:one. They also don't distinguish between "inputs" and "outputs", which allows relations to be "run backwards" (e.g. using `plus(5, x, 8)` to perform subtraction, with the result `x = 3`); this muddies the 'arrow of time', allowing a single "reduction step" to expand an expression (and perform an arbitrary amount of search in the process!). Such things are perfectly immutable (AFAIK languages like miniKanren enforce immutability, in a similar way to Haskell), yet I wouldn't call them "functional programming".

Similarly, the idea of "values" (and therefore referential transparency) can become murky: do we mean that an expression always evaluate to the same object-level term, or that querying an expression always chooses from the same set of possible terms, or that sampling an expression always draws from the same distribution over terms?

I've come across this 'murkiness' in the real world via Haskell's popular QuickCheck library, which provides a `Gen` monad that violates the monad laws: when given the same random seed, functions which should be equal may return different values. Yet `Gen` is "morally" a monad, since the probability distribution of those functions across arbitrary seeds is equal: https://hackage.haskell.org/package/QuickCheck-2.10.0.1/docs...

From the point of view of "writing my language-X project in a more functional style", I think going after immutability captures most of the idea, assuming "language-X" is some popular imperative/FP language. From the point of view of "language-X is functional because...", I don't think immutability captures much of the essence of FP at all.
I think it might be simply because the risk to the person doing the hitting is much greater given they're not covered in pads/helmets. People still get wrecked in rugby, but I think there are less battering-ram style hits.
I might be wrong, but they're not referring to modal dialogs, but rather saying that they work in several modes such as "reading docs", "writing code", etc.
Good thought but I am not sure if OP's examples illustrate his thought well.

Same thought, another example: I like React + its ecosystem quite a lot but often, no, actually most of the times, I realize that I don't need React because the project I am just building is more or less kind of a landing page with some simple UI.

Then, I rather use Pug (former Jade) + Stylus + Node. Super simple, proven and you can go quite far.
If you are doing UI stuff that does graphics dual screens are very good. On one screen the debugger, and on the other screen the target application. That way you can debug each drawing step.
What a fantastic person to point out such a subtlety once it has come to light. Easily steer your fellow scientists right!
interestingly, the NSA ANT catalog from a few years ago[1] had a few things that actually were explicitly intern projects: the one i specifically recall was backdoored hard disk firmware

[1] https://www.eff.org/files/2014/01/06/20131230-appelbaum-nsa_...