skysight-inc/HackerNews huggingface dataset:
Node is single-threaded + async-everything which gives you simple concurrency with the async/await abstraction. It's these there things that come together to make building async apps simple. For example, I went out of my way to avoid Node before it had promises and async/await, and that seems to be the Javascript most HN users remember.

Concurrency in this situation almost becomes free at the expense of changing

user = db.findUser(42)

to

user = await db.findUser(42)

So when writing programs where you want more than one I/O thing to be happening at a time whether it's network requests or a bunch of concurrent workers, which is pretty much why you'd use Node, you get it trivially.

Even something like running parallel DB queries trivially inside an Express route:

const [a, b] = Promise.all([db.findUser(42), db.somethingElse()])

Or starting one async early, waiting on another, and then ensuring that the first async thing is done later on:

const a = runA() // returns a promise
const b = await runB()
return [a, await b]

And once again I think this is the a great example of a useful abstraction when writing anything with an I/O boundary:

const results = await all(urls, url => crawler(url), { concurrency: 8 })

That code in Go would take me 40 lines and involve wait groups.

Compare that to Netty or trying to write async code in Rust where it's really easy to block the event loop because all libraries and stdlib are sync by default. So you're passing around a CPU pool to run sync code inside your async context. It's hard to look at that sort of code and understand its runtime behavior. Oops, you accidentally blocked. Oops, the pool gets saturated immediately and starts blocking. It's hard to straddle both worlds, and the code is constantly trying to "return to its sync default" so you have to be eternally vigilant. Sync isn't necessarily the default you want, either.

Of course, this comes with other expenses like needing to run one process per core and you can't do CPU-bound work in-process. But you may be used to that limitation using Ruby or Python for example.

I'm not trying to start a language war or tell you that you should drop what you're doing to use Node because it's The Best.

What I'm responding to is this idea that you couldn't possibly have a technical reason to use Node given a choice unless you're fresh out of a boot camp and know no better.
I have to conclude I hate cyclists. This isn't something that just happened, but rather has been due to a long history of bad experiences with cyclists.

My earliest contempt for cyclists began in elementary school, where cyclist kids would just jump on their bikes and ride home while I had to slog through a long bus drive. Cyclist kids felt they were just better than others.

Then in college, cyclists going to and from class on their bicycles were annoying as hell. How many times I would just be walking minding my own business and a dude on a bike out of nowhere weaves through a crowd and just cuts across me nearly hitting me, and at an unsafe speed. I'm sure when you're riding a bike you have no idea how fast you're going, but as a pedestrian it's easy to see how close these individuals were to disaster. What if I had suddenly stepped in a different direction into the path of the bike?

As a careerist adult, cities are no better. I distinctly recall one time in New York City where I was about to cross an intersection when suddenly I heard someone shout, a cyclist was heading straight for me downhill and I jolted myself backward narrowly missing the bastard. He could have easily struck me down.

And then of course on the roadways there is always an anxiety when I see a cyclist. I have to make sure I move aside at least three feet and slow down considerably because I know if I hit them I'll probably be spending time in prison. I don't have a problem if you want to risk your life but you should have to accept the responsibility of your actions all on your own at that point.
How Columbus is getting more people to switch to electric cars
Which at $10M / mile, pays for less than 3 inches of a highway.
WWII era Mustangs would have no way to target a modern fighter at all unless the pilot of the modern fighter was acting like a kid playing a video game

I think two Tuskeegee Airmen shot down German jet fighters with their guns and K-14 gyro compensated gunsights. But to get that shot, they had to be in a "furball" and they were shots of opportunity.
Now we have the commoditization of ad copy and ad experiments. It seems like it will now be fairly easy to piece together another company's Facebook marketing and ad campaigns.
I had a sort of similar "weird" seizure as a one-off: https://dmd.3e.org/2005/11/aphasia-and-back-sunday-20-novemb...
Helping researchers better detect fake news: study pranks
It is in their own interest that the inequality doesn't grow past a certain point. Even an army of robots can do very little against a hungry mob.
Don't all the IPO usually pop on the first day? Just to get back to some lower level in the following days.
Who is a legitimate road user if not someone on a public road trying to get from A to B?
OCaml is very good at symbolic computations, and not so good at floating point computations. Therefore it's a very good language for writing compilers etc.

Further than that, there are no more programs written in it for the same reason than there are no more programs written in any interesting languages, I guess; ie largely accidental.
Interesting, I didn't know that. What's the legal status of a cyclist on the road then? Are they normal participants in traffic?

I generally find the tone of the discussion about cyclists here surprising. I'm from Germany, and while there is animosity between cyclists and car drivers, both are equally accepted on all roads (except the autobahn, of course). There's a movement in big cities towards more and more specific lanes for cyclists. I don't own a bicycle myself, but with regards to a car's emissions and the omnipresent wasteful parking slots, I'm all for strengthening the status of cyclists on roads.
The problem with your line of reasoning is that it's very academic. Reimplementing drivers in user space is a much higher friction task than remote controlling an XDP program via bpf maps, and you're competing with the device manufacturer over implementation correctness in many cases. XDP isn't going to solve driver implementation issues, but it's an incremental step towards low cost high speed networking which is what most people are using user space networking solutions for. It also directly address the in user space packet processing (QUIC, TCP) and makes it safer by enforcing BPF sanity checks and allowing a user space component in Rust.

I agree with what you are saying, it's all true. There are lot's of problems with C in the kernel, but that's what we're currently stuck with. Practically there is only a small difference in the value proposition of rewriting the kernel in Go and rewriting our existing network drivers in userland in Rust, when our use cases are more aligned with what we're getting with XDP.
This is how I see it as well...

I'm more hesitant to say it's targeting any group in particular outside of the "other".

There's sadly a lot of fear floating through various circles perpetuated and amplified by online social groups. If those didn't exist I wonder if this pandering bill would have been tabled.
Lyft shares surge 21.2 percent on Nasdaq debut after IPO [Reuters]
... until you ask for line numbers.
I have actually been able to separate the external sftp-server from sshd, and connect it instead to stunnel. The sftp client binary can also be instructed to use something other than the ssh client to establish connectivity.

A simpler invocation could run it through (unencrypted) inetd/socket activation.

SELINUX really throws fits of hysteria when running this, however.

$ cat sftp-tls.sh
#!/bin/sh
exec nc --ssl server 52345

$ sftp -S ./sftp-tls.sh bogus
Connected to bogus.
sftp> cd /nobody
sftp> get sftp-tls
Fetching /nobody/sftp-tls to sftp-tls
/nobody/sftp-tls 100% 15 8.9KB/s 00:00
sftp> quit

# cat /etc/stunnel/sftp-ssl.conf
#GLOBAL####

;sslVersion = TLSv1.2
TIMEOUTidle = 6000
renegotiation = no
FIPS = no
options = NO_SSLv2
options = NO_SSLv3
options = SINGLE_DH_USE
options = SINGLE_ECDH_USE
options = CIPHER_SERVER_PREFERENCE
syslog = yes
debug = debug
setuid = nobody
setgid = nobody
# chroot = /var/empty/stunnel

libwrap = no
service = sftp-ssl
; cd /var/empty; mkdir -p stunnel/etc; cd stunnel/etc;
; echo 'sftp-ssl: ALL EXCEPT localhost' >> hosts.deny;
; chcon -t stunnel_etc_t hosts.deny

; https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/

ciphers=ECDH+AESGCM:ECDH+CHACHA20:DH+AESGCM:RSA+AESGCM:!aNULL:!MD5:!DSS

curve = secp521r1

#CREDENTIALS####

# verify = 4
cert = /etc/stunnel/sftp-ssl.pem

#ROLE####

exec = /usr/libexec/openssh/sftp-server
# execargs= sftp-server -d /home/nobody
# execargs= sftp-server -l DEBUG3
What's the volume? Let's not get fixated on the price when volatility is high. Mean vs variance yo.
"to a lesser extent and not as flagrantly."

I'd wager a higher percentage of cyclists stop at all stop signs than motorists who strictly obey the speed limit.
How can anyone in their right mind claim that Apple is a 'green' company?

In 5-10 years we will have 10s of million dead and useless AirPods due to degraded and broken batteries. So much unnecessary e-waste!
I think it is important to remember that elected representatives are analogous to legal counsel—- they are duty bound to do everything they can to advocate for the wishes of their clients or constituents. The constituents who elect public servants do not make their decisions lightly (perhaps the economy of a certain district would benefit from more liberalized industrial emission regulations). It doesn’t matter if the public servants believe what they say, they know they have to advocate these policies to best serve their constituents.
Lyft's IPO Is Making the Same Circle of Men Rich, Again
Stop asking users to enter good passwords
> So the drivers are paying more for the roads, but the cyclists are also paying for those roads with their income taxes, sales taxes, etc.

And cars also put the vast majority of the wear and tear on the roads. So while they might pay more overall, they don't pay their fair share compared to bike riders who fund the roads from their taxes. Bike riders (and people who don't use roads) end up subsidizing roads for people who drive cars.
>You should not dismiss "crude" methods so easily: the same output can be rendered inside GNU screen or tmux, which would be complicated otherwise.

Yes, but still a throwback to 3 decades past+
A lot of the fake research recently uncovered at Duke University was related to studies of the effects of pollution, ozone, and particulates.
It happens anytime people are afraid of another group for any reason.
Its amazing how many bicyclists dont think stop signs apply to them
It has been the historical norm for great power's to exert control over a sphere of influence. That is exactly what the United States did in the 19th century in the Western hemisphere through the Monroe Doctrine. The cases you raise fall into that category.

In fact there is an obvious parallel between the USSR's attempt to gain access to the Turkish Straits and the United State's repeated interventions to build and control the Panama Canal. The only difference is that while the United States was able to dominate its sphere of influence, the Soviet Union's attempt to intimidate Turkey failed. Instead of gaining access to a vital strategic waterway, it led to the Truman Doctrine. Don't forget that one of the pivotal events of the Cold War - the Cuban missile crisis - was based on the same asymmetry. The United States had Jupiter missiles in Italy and Turkey, but would not accept Soviet missiles in Cuba, a country that it had tried and failed to invade.

Before the end of the Second World War the United States had set its sights on something far more ambitious than a regional sphere of interest: global primacy. The Soviet Union never had the capability to do that, or considered it a realistic goal. It was bunkered in a traditional land empire.

When I say that the Soviet Union was on the 'defensive', I mean that in the context of its bipolar confrontation with the United States, not that it never engaged in aggression. Obviously it did, often brutally.
Other commenters have noted that this is a provincial rather than a federal bill, but it’s also worth adding context that this was a hot topic in Canada’s 2015 federal election. [1][2]

[1] https://www.cbc.ca/news/politics/canada-election-2015-niqab-...
[2] http://www.parli.ca/niqab-debate/
I agree it's leaving money on the table for the company, but I believe that investment banks' rich clients get to buy at the IPO price, so the "pop" is an immediate bonus for those clients. Bad for the company (which would hope for 0% pop) but good for the banks and their clients. I imagine that for companies not using banks, there's less incentive for this?
Yeah, this one is aimed at companies trying to make janitors and food service workers sign a NDA. A good step to be sure protecting some folks that don't get a lot of attention.
This is completely foreign to me coming from a country/city where bicycles are the norm.
Covert Body Area Network Using Electro-Quasistatic Human Body Communication
If that's your criteria then unfertilized eggs would be fine too. Veganism draws the line much higher.
This is why I avoid helmets.
In the latest version, if you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc like:
PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"
It’s funny that the parent poster mentions this - it’s likely that either the cyclist has a car, payed in the same manner as the driver and is in the moment using the road for “leisure or sport” - or the cyclist really needs to use the road and bike for transportation.

There really is no acceptable, rational reason for animosity towards cyclists. I think it comes down to the same gut instincts as racism, sexism and xenophobia - when there’s a problem people look for whatever thing seems most different in their current surroundings and blame that thing for the problem. It’s just a lack of thinking.
I don't get the name. How is "libre" connected to "privacy", considering that Firefox is already "libre" in many ways.
Paywalls block scientific progress. Research should be open to everyone
You are correct. This is why Google went with the dutch auction IPO. However the underwriters (banks) that manage the IPO desire a pop to make the venture worth while and thus have actively cultivated the idea that popping is a signal of value.
YouTube’s Product Chief on Online Radicalization and Algorithmic Rabbit Holes
THICC
Listen to shock jocks on the radio. Jokes about dooring or running over cyclists are pretty common.

There used to be a radio show in Massachusetts [0] I listened to a bunch as a teenager. They had a weekly segment for a while where drivers would call in and tell stories about how they attacked cyclists and then laugh about it. I think it was mostly just drivers expressing their violent fantasies, but one or two of the stories may have been real. It definitely dehumanized cyclists and encouraged violence against them. Later the same radio show, during the build up to the Iraq war, had an episode in which they said anti-war protesters should have their tongued ripped out at the root. Violence against groups they didn't like was a pretty common theme on their show and other radio shows.

Incidentally they were banned from Massachusetts not for advocating violence or dehumanizing the enemy of the day but for faking the Governor's death as an April fools day.

[0]: https://en.wikipedia.org/wiki/Opie_and_Anthony#1995%E2%80%93...
Bay Area housing prices drop in tech-heavy counties
>Do people have one bad experience with a biker and just apply that to all bikers?

I've never seen a biker who didn't ride like an asshole in the city...

And I'm a pedestrian...
You're one of today's lucky 10,000. XKCD recursion! https://xkcd.com/1053/
This is true BUT data is easy to refactor and Clojure is really about Data. Clojure's big picture is a principled mental framework for reasoning about data, and as such gives us the core vocabulary and utilities we need to write programs that operate on data in a principled way (immutable data structures, immutable database etc).

So Clojure IMO is today in this awkward spot of saying "Here, use these new principles of data to go solve problems in this new better way!" but nobody has really deeply figured out what that even means. The whole middle ecosystem layer has yet to be written.

But it's happening, there's a movement of believers coordinated by Rich's talks and working to this common goal. And when it works, the whole 100k+ loc system that can't be changed will be but a memory.

(I am Hyperfiddle co-founder, Hyperfiddle poses the question: is it possible to express sophisticated database applications out of just data? We think we've made enough progress to show that the answer is probably yes. Hyperfiddle apps are not stored in git but rather in Datomic. And for special cases where you do need custom code, you can just drop down a layer seamlessly into Clojure.)
Privileges of running the IPO. The bank needs to leave upside room for its "best" customers. The company wants to be fully booked and raise as much as possible. It's a balancing act for both sides, with non perfect information.
Keep throwing yourself into the deep end. Like, when I was learning pole dance, at one point my teacher told me that I was a lot more willing to keep trying new moves that I didn’t have the hang of yet than most students. Most of them would try it a couple timesheet, then go back to refining something they already had. (Also don’t try learning pole dance without a teacher, you could very quickly get in way over your head and break something.)

Keep a diary. A physical diary. Specifically for this thing you’re learning, it’s a second diary if you’re already keeping one. Maybe in a nice notebook with a nice pen clipped to it, maybe in a cheap dollar store notebook, whatever. Every day, write down what you did with regards to this thing you’re learning - did you read/watch new stuff, did you actually try practicing this new skill you’re learning? If you didn’t do anything, then write down that you did nothing. This will help push you to actually try using these developing skills on a regular basis.
I don't know about this version of the bill, but previous versions allowed small religious symbols.
In my own experience I think a lot of this comes from both cyclists and cars not understanding the rules on how to interact with each other. For example, I see a lot of cyclists riding too far out in to the road, riding two abreast when there is not really a shoulder, not signaling properly or rolling through stop signs. And on the other side I see a lot of cars passing cars while cyclists are present or turning in front of cyclists.

I am an avid cyclist, and I think I probably get angrier than the average person when I see a cyclist breaking the rules cause I am thinking to myself "you are making the rest of us look bad."
Being integrated into Gmail didn't save Google Buzz. (That was also one of Buzz's early critical privacy missteps was being integrated into Gmail and showing up barely announced as opt-out rather than opt-in.)

If they were really smart, G+ should have better bootstrapped out of Google Reader. Google Reader at the time had a very interesting and active social community. (Instead they killed Reader as if it were a competitor to G+ and just hoped the now incredibly inconvenienced community would just move to G+.)
I'm no robotics engineer, but to me the design looks brilliant. I suspect that the biggest problem with a machine that needs to pick up and carry objects in a somewhat humanoid fashion is going to be weight and balance. They've attacked the problem by making the entire body of the robot a seesaw and adjustable counterweight to control the balance. Having the robot on two wheels also gives the robot a smaller footprint, gives it a zero turn radius, simplifies how you control turning, and probably also simplifies the navigation control algorithms.
> there is clearly an actual obligation to wear a kippah, headscarf, or turban

There is no obligation to wear anything. There is an "obligation" for some sects of Islam. But that does not mean anything in the domain of secular government.

The truth is, most Muslims do NOT wear any special clothing. And even those that feel obligated to are not obligated to really; they are obligated to try, if possible. If they are not permitted to do it, they are spiritually off the hook. If it's a choice between wearing a headscarf and not providing for your family, you are most likely a bad muslim for not providing for your family. So, by banning it explicitly, we are actually making things easier for them by giving them an excuse not to do it.

> there's no obligation to wear an enormous crucifix in any Christian sect that I know of.

Who are you to say that I can't wear a giant pope-hat to work? I'm "obligated" to by my obscure sect of Catholicism. Perhaps I can carry around some lit incense and clanking metal jewelry. We have to draw the line somewhere.
That's for employees, what about insider investors?
No, what I would say instead is that 90%+ of SSR apps aren't architected like that, so I would accuse you of the same thing: that you're using "well architected" to describe what's actually an exotic configuration that nobody refers to when they talk about SSR, basically creating microservices on localhost that hit your own network stack which is a premature abstraction for most cases that I thought you just got done lambasting in your OP.
I don’t think voting could solve the problem because I believe the problem is concentration of power in corporations and governments. How could the government, which is captured by wealthy interests, ever bring about liberation of the people? The history of liberation movements is that they are suppressed by governments.
Gee, what a surprise. Also, I have some amazing news for you about "ironic" racism...
Paging? I don't do paging because I value my mental sanity. I don't think there is a good reason to use paging in 2019 for the vast majority of applications, and the rest is probably simply badly designed software. And I only have 8G of RAM like everybody else, 4G of which have probably never been written to.

And if you do use paging, it's still 40M wasted disk space without a good reason.
How would a P-51 ever catch up to an F-35, or even see it at night or in bad weather?

Know what's a good drone? A dozen Navy SM-6s launched from a destroyer, cued by a nearly invisible F-35.
The data could also be in the VFS cache/buffers for a number of reasons depending on the system setup and access pattern; including being written.
There is a scent, I believe it is a hormone but I don’t think it is what the body actually produces. If a dog reacts to it they can try to train it. If it doesn’t, they train the dog for something else or find it a good home. They also have people fake seizures. You can probably find some YouTube videos of it.

We have a dog that could do it. She could warn us about my partner’s seizures and fainting a few minutes before it happened. She could fetch help and apply pressure to the abdomen. (I say could because my partner had surgery a year ago and hasn’t had any seizures or fainting since then.)

I definitely noticed a change in my partner before seizures (but not fainting). The dog alerted on me once during a moment of high anxiety. I wouldn’t begin to argue WHAT the dog is actually reacting to, but the training methods people are using seem to work.
or Dumb Money, depending on your position
Dogs' connections to their humans are amazing. While I work, my Australian Shepherd senses when I am stressed (even if I am not outwardly displaying it), comes over to me and puts his paw on my leg.