skysight-inc/HackerNews huggingface dataset:
This discussion seems to ignore the fact that being blocked in a "long-running system call" is the normal state for many (most?) Unix services.

If you look at `ps ax` on your system, you'll likely see about a hundred processes. But if you look at `top`, you'll see only a handful of processes having non-zero CPU usage. Why? Because most processes are just waiting (in a system call) for something to do. A web server is blocked in a select/poll/epoll() call waiting for a connection. Your shell is blocked in a read() call waiting for you to type something. This is just the normal way that a main loop is implemented on Unix.

When you kill one of these processes, they need a way to break out of their loop and with the EINTR approach, they get a chance to break and exit.

I'm far from convinced that a "majority" of services want to just catch signals and carry on.
Java is prone to deadlocks because "synchronized" makes locking very easy while proving exclusive ownership is still very hard without help from the language (linear types, unique types, borrow checking). If locking is harder in Go, that just turns some deadlocks into data races and crashes.
Why Do Startups Fail?
That still produces a feedback loop. When the economy goes down, people recieve less UBI and therefore spend less, slowing down the economy more.

Over the short/medium term, ww want UBI inversly correlated to total income tax (which I would expect is correlated with total economic health), so it can serve a dual purpose as an economic stimulus.

Setting the UBI should be a matter of monetery policy set by the Fed, within parameters set by Congress.
This response to the person ahead of you makes me think you either don't know much about bikes or you missed their point.

I think we all agree, buy something shitty and you get shit, especially with things you put between you and the earth. A medium quality bike, which costs an order of magnitude less than a "fancy" bike, will do literally everyone who isn't a cat 1-2 racer fine, objectively. Price difference is $1-5k for a mid range vs $10-20k for top of the line.

I don't think anyone is advocating for $300 walmart bikes here.
I'm also baffled that you compared a couple micro pieces of metal to ...

It's more because it's El Capitan. It's a special place.
I get why climbers feel attracted to it but it's more important that it be protected than people, in ever increasing numbers, get the pleasure of climbing it. Look at what's happening at Everest. The feat's been accomplished, no need for everyone else to do it too.
If you publish a free Alexa Skill (easy to make a basic one) you can apply for $100 in monthly free AWS credits: https://developer.amazon.com/en-US/alexa/alexa-skills-kit/al...
In that context, it means nothing. However, I do not live in that context, I live in a society and inside my own head, and this is what generates an idea of contribution and happiness.

> We're on a rock flying through space.

I have never understood this phrase as anything more than a platitude to make people feel better. Anyway, don't mind me. It has been raining all week and I think it's affecting my mood.
Yes, and there are well established techniques for compensating for that. TL;DR: don't use the data from your entropy source directly, run it through a cryptographically secure hash first.
Replacing email completely is an arduous task, if not impossible. You can replace email for internal communications, via apps like Slack, Microsoft Teams, Google Groups etc, there still needs to be an email interface with everyone else outside the company. Everything is so tied to email, such as it being a primary identifier and login for most websites.

Having said that, email is becoming less and less relevant for communications. Businesses are relying more on other forms of asynchronous messaging like on-site chat, SMS, WhatsApp, Apple Business Chat, Facebook Messenger, Push messaging, conversational support platforms, etc to communicate with their customers.

I think apps like Slack will continue to be more effective and popular vs email for internal use, while email will remain king for external communications.
It might be that it's harder on average for the lower/lower-middle-income worker to work their way to the top in, but it may be also the case that the Internet and social networks (even amid the saturation of professional influencers and their ilk) provide opportunities for the lower-rung to get sudden and prominent recognition, albeit not from their own workplaces.
Thanks for adding a link. The US' average tariff rate is indeed low. But tariffs are only one instrument of trade policy. The US farming sector is protected against foreign competition due to an absolute advantage in food production that exists because of the $20bn that goes into subsidy and assistance programs each year [0].

The reason every round of WTO trade talks takes years to complete is because of the dispute between rich world farmers and poor-world farmers. It's not just the US, but also the EU and their Common Agricultural Policy that leads to overproduction, waste and export of surpluses to poor countries at below market prices.

[0]https://outline.com/VB9gCX (link to a 2015 Economist article)
Linpack at 1.195 PFlop/s with 87% efficiency on Azure
Texas court says photographer lacks a remedy for univ's copyright infringement
No, Slack is annoying and a rip off.
Check this out: https://techcrunch.com/2019/03/18/here-are-the-85-startups-t...

Many YC startups don't charge anything. Here is one that seems still to be figuring stuff out (https://www.54gene.com/). One that seems to be figuring out who and how much to charge (https://ultralig.ht/). In fact, I'd like that someone goes through the startups and deduce how many of these are making any money or have strategies to make any money.

Here is what I think is going on: YC is trying to be polite (bullshitting) about the rejection. They won't straightforward tell you: You suck. Or you are not sexy enough to be in bed with. And it's fair enough. When was the last time a potential hookup told you they won't have sex with you because your face is ugly or you have an ugly belly.

YC probably picks up on intuition. You can't judge a dog for 10 minutes. They are using subconscious cues based on their experience. They are looking for founders. The startups with high MRR are probably suckers for scaling that made it at monetizing a product to market. YC takes them (expensive %7 for cheap mentoring) because they can afford that.

You can't change the built-in neural networks inside YC brains. They might be going against their intuition on the diversity front because data has suggested they should or they are trying to look cool.

What this team did is basically show up next morning and have a black t-shirt because they figured out that I don't like guys in white t-shirts. That's not going to make me like them. Probably hate them more. It shows lack of consciousness and maturity. This is not a government position with cold requirements where you need to check the boxes.
Their extra high price for IRC (:
Given how expensive Slack is, and given that it's assumably not open source, the answer is an unequivocal "no". I would rather use something open source even if it has only half the functionality.
I would assume a joke based on the scare quotes around the spelling of "centre".
And at the risk of killing a joke (which I liked), I found the chart of "centre" vs "center" usage interesting:
https://english.stackexchange.com/questions/87978/how-and-wh...
Technically it works, but the user experience when hanging in multiple Slacks is pretty poor (at least with the desktop client). Easy to miss notifications, switching between Slacks is slow and managing the logins is bit painful.
Yes, I agree. And then there is the daily and hourly toll of caring for the child. I am just saying that the mother’s voice regarding the matter must also be taken into consideration.

I am not an anti-vaxxer. I have vaccinated my kids. But having seen what happened to my friends, I couldn’t explain what occurred.
I still have no idea what you mean by that, implementation detail? I have passed props using WC's alone in a declarative way via LitElement - all other popular solutions allow that too.
After $13B in Jet Deals, a CEO Had to Cancel His Amex
Nice to see Paraguay present here on HN, I live here in Asunción.

I also heard of some people near Luque without power Sunday and Monday, but I'd guess it was an unrelated ANDE incident.
It's important to separate coding mistakes from exceptions. For exceptions, I define my own classes derived from the Error object and I give each one a unique `name` property that way the error handler can decide how to handle the error based on its name. If the error happens on the server but is also meant for the client side (and is human-friendly), then I may add an `error.isClientError = true` property; then, in my catch handler, I know that these kinds of errors are safe to send to the client.

Of course, it takes some discipline to come up with a consistent and well defined error-handling strategy, but IMO it is not difficult. Also it's not a problem if a third-party library doesn't agree with your error-handling approach, it's often a good idea to re-create and re-throw errors from third-party libraries to provide more context anyway. That said a lot of JS libraries do use a similar approach as me for error handling, but sometimes they might use an error.code property instead of error.name but it doesn't really matter.

The worst is if a third party library throws plain strings, but that's also often not a huge problem either because my own logic can make sense of the context and re-throw a proper SomeThirdPartyLibraryError which incorporates the original error string; it's just a little bit of extra work.
I always understood that Section 508 applied only to US Federal agencies and any third-party products they make use of.
In what regard? GC just amortizes the cost. But memory allocation doesn't fundamentally work any differently.

In fact, it can be worse in Java because you have no control over whether an object lives on the stack instead of the heap.
This reminded me of when my old company cut the cheese from the salad bar. Mind you, this company was famous for their free lunch perks, but when a salad bar in WI cuts the cheese... well.. it stinks.

This was in 2009/2010. They did a intranet article about how smart they were for cutting the cheese and how it saved $10k a year... in a lunch program that staffed ~100 and fed ~10000.

It was quite clear that it cost MORE to cut the cheese in lost wages from people bickering, complaining, and spinning the decision. however, I'm sure it looked like a quick win for the non-salad-eating manager in charge.
> And why do so many people (based on the comments here) act like it's OK to create such products (i.e. products that bring literally nothing innovative or useful to the table)? By OK I mean ethically, considering that there are so many more pressing problems in the world.

Just to be clear, I want to understand that you're asserting:

1) It is morally unethical to create a non-innovative product

and

2) It is morally unethical to work on something other than "a pressing problem" in the world, as you define pressing problems

?

Or are you saying,

1) In a world with "more pressing problems", it is unethical to work on something as low-value as a non-innovative product

?

And for context: what projects do you feel are ethically acceptable ways for people to spend their time on, and what do you do?
I've been looking into this problem too, and you can find more information here: https://twitter.com/MarcusMcFart/status/1137562323512487938
MongoDB Encryption at Rest
"real hero" is definitely overstating it – I'd hope we as a society haven't reached the point where doing the decent thing is seen as going above and beyond. Hopefully the CEO saw it not only as just the right thing to do, but also the smart (and legal) thing to do – Montañez's story could in the long-run inspire more innovative ideas and culture at the company.
Pings from instances to nodequery are 98% on the low end and 99.9% on the high end. It looks like I'm at 500+ days up at impactvps.com, though I used to see cpu and disk degradations somewhat regularly with them. I haven't had any major outages in a few years of use, though one provider went bust recently after an overly-aggressive sale (alpharacks).

I generally run one instance + sqlite and accept the downtime. The next step up might be two vms across two providers + a cheap managed db.

I don't think I have any super strong recommendations. I did become a fan of BuyVM recently due to their $1/month shared sql plan. But, they're apparently they're planning to retire it, which puts them at a similar price point as something like vultr.
Manager != production drone. You don't need production expertise to be an excellent manager. You said it right, just make sure the guys have everything they need and get out of their way. That is the manager's job. Promoting these guys will backfire.
I have zero interest in something that isn't federated and portable. I want to own all my correspondence and if some provider is not meeting my needs, I want to be able to take advantage of DNS to move to another provider transparently to the people that want to contact me.
I don't doubt his enjoyment, or his reason for it.

People gravitate to work using languages with characteristics that suit them. Most people coding Java would be less happy with something else, and most people using something else would be less happy obliged to use Java.
Slack's ok as long as you silence all notifications and leave/mute all semi-important channels.
Please don't post unsubstantive comments here. Especially not flamebait.
It is fine, but somehow I always miss messages and alerts...
Several commenters in this thread missed the language drop down.

In addition to being rather small, the drop down has an awful color contrast ratio of 2.75 : 1 between the dark grey text (#7f98ad) and the light grey background (#f5f5f5)[1]. Have you considered making this page more accessible?

[1] https://dequeuniversity.com/rules/axe/2.5/color-contrast
Well, good luck with that, i guess.

But being realistic, i dont think any non-GC´ed language has a chance
to become the next corporate darling as Java is now.

In that sense, Go, Swift, C#, etc are much more fit
to become the next kings in this area, and even them will do it very, very slowly.

The script family of languages also dont make a good fit, giving
they tend to be bad at creating big, performant and constantly evolving kind of programs (Javascript, Python, etc).

I guess the languages which are AOT compiled, GC´ed and mostly objected oriented
with some mix of FP will probably be more of a fit the take the crown jewels of the king Java.

The problem Rust will face in this scenario, is that it requires people with
a level of brain power that contrary to 'high tech' is not that much available
in the corporate level, (and the ones that have dont want to spend all of their lives
behind a computer screen).

And also is a "productivity hog", when we compare to sophisticated languages
like C# or Swift, as productivity in Rust is on par with C++, which is not good enough
when compared even with the verbose and over-enginered Java codebase.

It´s basically the same reasons why, C++ is not the prefered language there.
And i dont think just using the magic word 'safe' will have any charm for this
kind of crowd. Giving while Rust can use this trick against C and C++, it
doesnt work for productivity minded languages like Go, Kotlin, Swift and C#.

Mind you that modern GC´ed languages are pretty safe, and also pretty fast.
So it will be very hard to convince the corporate layer to use a language
where there will be scarcity of labor, and that means they will have to pay more
and be able to have less employees.

The smartphone revolution gave performant and resource aware languages a renaissance
and Rust is surfing in this wave. Rust has a lot of chance in smartphone, embedded,
libraries and utilities and even in specific scenarios on the server.

But even for the "rewrite all in Rust" mantra for C++ (a language Rust is competitive with)
it will stop going forward, giving the Unix, C and C++ codebases are pretty much very influential
and with a lot of sophisticated and complex stuff already out there.

Anyway, i dont understand this urge to use just one language for everything. I think this is unrealistic
and illusory, and i think its a better approach to elect two or three languages with fitness in some fields
and just use them.

The "one language to rule them all" was already the Java approach since the nineties, and while
it make it a very popular language, it was in a time where the competition were not that great
and even then, it proved to not work really well in all scenarios (and i think thats a good thing because it means we are free from a computer language monopoly, which would slow down the evolution in the field).
A very well written article. I like the point about how the follies of the bike sharing business have actually got people to ride bikes. Before it was not an option to hire a bike for a day, nowadays that is a thing.

It takes a while for things to find their level. The 'Boris bike' is now a feature of London, the other bikes haven't established that niche in the streetscape.

The road bike was also innovative, if flawed. Plenty of bikes and plenty of bike groupsets are flawed when they first come out. It takes a couple of iterations to get right and the costs of getting it wrong are terrible.

Years ago in the days of the mountain bike craze a brand came out with a few of their own components including a bespoke freehub body. This did not last long on any given bike and it did not take long before the warranty returns aspect of the business fixing whole wheels took over. There was no scope to develop the brand when all hands are literally swapping tyres and tubes onto new wheels and getting them out to customers.

Sometimes bikes that don't actually work don't bounce back. During the mountain bike boom there was a shortage of Shimano components and a rising Yen. This made it hard to get the gears and brakes needed to build a bike. So European components might be substituted. And they would not actually work together, no matter how skilled the mechanic, no matter how new everything was, the gears would not shift and the brakes would not stop the bike.

Very few of these frankenbikes made it back. They just sat in sheds and garages, never to be ridden!

The SpeedX bike was not a bike that would be just dumped in the shed or bought as a well meaning gift. They could not rely on 90% of the problems not coming back.

They also were never going to do well with the cycling press. Or the industry. The cycling business is actually really conservative and there are chunks of it controlled by people who never actually ride..
Thousands of Detroit residents have been displaced illegally
online.net is the sister company of scaleway. scaleway has some ARM bare metal which is cheap but sometimes you see issues if you try to run software only optimized for x86.

kimsufi has 3.99 euro/mo baremetal server but very hard to get (have to keep trying).

hetzner cloud has cheap vps and also has auctions for servers. I got some i7 8core 16GB RAM & 1-4TB HDD for 22 euro/mo. They are closer to 30 euro/mo but likely your best bet for budget dedicated with better specs.

i have a few other dedicated servers (old Xeon) running off a bulgarian service provider
For some reason, this story reminds me of Hamdi Ulukay and the story behind Chobani from his TED talk: The anti-CEO Playbook:
https://www.ted.com/talks/hamdi_ulukaya_the_anti_ceo_playboo...

It gave me respect for a company I wouldn't think twice about. Both cases show solid longterm leadership strategy in a world chasing quarterly growth.
I can’t wait to see the first time someone hijacks the pizza bot Fast and the Furious style...
https://en.wikipedia.org/wiki/Anti-nuclear_groups_in_the_Uni...

https://en.wikipedia.org/wiki/Anti-nuclear_movement_in_the_U...

They include most environmental organizations, e.g. Sierra Club and Greenpeace.
It's not, but what's your argument for why it shouldn't be?
Ah yes, the whole "people in power are heroic when they don't take advantage of the poor" logic.
I just wish they'd make them hotter. Takis are kicking their ass in the spicy snack aisle.
Yeah, I guess. It just makes me upset that we have to change what we do and how we live in response to our physical and intellectual decline. What if I don't want to teach? What if what I do now is what makes me truly happy? I guess I am still young enough to be in denial that age will kick my ass.
The TCP Sack Panic
No, we don't want that. I find Slack to be slow, clumsy, and inefficient. Monolithic services like Slack don't provide the flexibility of federated services like email.

I use a desktop mail client. It's faster, has more powerful search features, works with any email service, I don't need to pay anyone a fee to access my old mail, and I can use it even when I'm offline.
At my current place, that manifests as just linking to a Google Doc in a chat thread and moving the writing over there.
> At the end of the day, revenue-per-share is pretty indifferent to age, race, or gender.

Except, as the article shows, diversity often does increase revenue share. Flamin' hot cheetos were invented by a Mexican immigrant who realized that Frito-Lay didn't have any products which appealed to Latino people.

EDIT: Changed Latinx to Latino.
I'm not talking about ability to debug. I'm talking about the code handling errors gracefully.

Also the world is a whole lot bigger than frontend dev.
Wow. I am the author of this, but I forgot all of this after 8 years and it was like reading an article written by someone else. :)

I think the only thing I would add now is that SA_RESTART does seem like inherently the wrong design for this. The code that registers the signal handler might be totally unrelated to the code making the system call. They might be from different libraries, written by different people, completely unaware that the other exists. The right place to specify whether the system call should automatically retry is at the place where the system call is made. So I don't think Unix actually evolved into the "right thing" here.
The site appears to support 7 languages in the rather hard to see dropdown near the youglish logo.
Human brains are very adaptive. Consider the following scenario: A person is standing on a stage, in front of many of their peers, giving a speech or receiving an award or some other public recognition. Someone comes up behind them and swiftly pantses them, dropping their pants and underwear instantly, exposing them nude from the waist down. Would you expect this event to result in psychological trauma to the person? The answer depends entirely and completely upon that persons prior experience. If the person has been raised as a nudist, and spent a great deal of time in their life nude in the presence of strangers, it would be a non-event on the level of sneezing. If the person has been raised the way most individuals in our society are raised, with tremendous social scorn and shame heaped upon every topic related to the body, with zero experience of being naked or witnessing nudity in a public setting... it could be monumentally traumatic and cause them intense psychological harm that lingers for decades. When society was familiar with violence, violence had less of an effect because of that. Now that violence is very rare, and we repeatedly insist to one another that things on a screen are basically the same as the things themselves (which we do with our language we use when talking about fictional depictions, using instead the words that would be more correct only if we were describing real in-person situations), we sensitize ourselves and invent the possibility of these images destroying us psychologically. It is a self-imposed weakness, but one which intellectual recognition of can do almost nothing to remove.