skysight-inc/HackerNews huggingface dataset:
I would suggest giving Go a chance, or at least take articles like these with a grain of salt.

Sure, Go allows you to create an error with nothing but a string message inside. The equivalent JS is something like

throw Error('wat');

I mean… why would it stop you from doing that? You can do that in nearly any language. JS, Go, Java, C++, etc. If your language doesn’t have a way to shove an arbitrary string into an error message and return it, you’ll probably have to make it yourself.

> Which doesn’t seem like a very useful interface to me. Everything can be stringly typed. But again I’m looking at this from the outside.

What’s happening here is that your function is returning an error, but in such a way that you can’t identify that specific error from its value. If you’re a library author, you use this in two scenarios:

1. You can’t imagine a way that this specific error could be handled by the caller. (It doesn’t need a special type, because nobody will be checking for it.)

2. You expect all errors from your function to be handled the same way. (It doesn't need a special type, because you already know what to do with it.)

The way you handle errors in Go is actually quite rich, seems like it just doesn’t jive with the author’s personal preferences. Or possibly the author is using terrible libraries. Or possibly the author really hates boilerplate code (the author's complaining about “tons” of boilerplate code, but it doesn’t look like much boilerplate code to me).

If anything, my experience handling Go errors is that you might end up with rather complex error objects, with errors nested inside of other errors, multiple levels deep. You can extract a ton of information from these objects—like if there’s an I/O error, you’ll know what operation failed and the path of the file, and then inside you’ll find the wrapped I/O error without that information.
Cars Are Obsolete in Cities
Has not been a supertanker since 1987. Since then it has been only a floating oil storage tank, without engines.

https://en.wikipedia.org/wiki/FSO_Safer
Well, the specific question that the government is answering is "should these people be employed if they make choices I disagree with". It is more borderline than it might appear at first blush.

I'm not sure I can think of a precedent for being so willing to eject that many people from the workforce in such a way.
Kairos is a NPC in teh timeless Isle in wow too
Slackware was my first love, but the reason I say Arch is because there's no package management

... though these days, Nix on top of Slackware may be interesting
Do you take short a video of Cannabis?
> China appears to be a serious adversary now

They’re an adversary and should be taken seriously however they are not the threat that the Soviet Union was. China has too many headwinds to reach true superpower status.
Israel and Japan are quite well off and don't need donations. For reference good place to start is observing their nominal GDP (not an absolute measure but good first guess gauge). https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nomi...

The countries that would need vaccine donations can be generally found at the end of the said list with least GDP:s.
No mention to esbuild here? Check it out. The speed bump is surreal.
Show HN: Turn Any Article into Podcasts
When has ethics meant anything in international affairs? Sorry to burst your bubble, but every nation is out for its own best interests, which sometimes align with other nations' interests.
Then make sure all your calls are in tail-call positions, and use a compiler or interpreter with TCO.
im sure glad the cryptocurrency folks seem intent on throwing all three of those away at once.
I could be wrong but I don’t think Gaijin was created or contracted by the military to make the game.
> close to native performance if you are careful

I'd like to add that this argument exists for pretty much all "slow" languages and that "if you're careful" often can mean "throw away all upsides your language provides" [1].

Personally, I find these discussions tiring because the ones arguing such points are usually the kind of person that doggedly clings to the "wrong tool for the job".

For example: Although I see rust as the better alternative in many places, I personally find C++ to still be a better language than Java. That doesn't mean I'll insist that Java has no worth or that every program should be written in lower level languages. Horses for courses.

Why can't we just go the Python way and accept the shortcomings of the languages we hold dear?

[1]: Edit: For GCed languages, this often is "avoid the GC at all costs and essentially write less readable C".
It doesn't need to be distributed. It's a mostly static site with some dynamic parts.

A single small server running a typical web framework (anything from django to asp.net to laravel) can easily serve all these pages in milliseconds. Add a CDN in front to cache and serve quickly to users around the world.
Upgrading Spring and especially major Boot versions is usually much more work than bumping Java version.
Boot change how it does config and such which .. can be confusing.
The trick for me was understanding that in an MMR system, no matter how much better I got, my winrate was going to remain roughly 50%.
> Things at the grocery store are dirt cheap in the US

Grocery and basic goods prices can vary significantly around the US. I live in a rural area where groceries are expensive as hell, in part because a european-owned supermarket chain has been buying up property that could be used for grocery stores, slapping deed restrictions on it that make it unusable for a grocery store, and then putting it back on the market.

Meanwhile I go on vacation to another rural area and groceries are cheap as hell...
To be fair, Germany has the lowest consumer prices on food of almost any EU country due to the economies of scale it can leverage, similar to pre-Brexit UK. Meanwhile, Austria and Denmark have the most expensive food prices in the EU while salaries aren't higher than Germany, at least not in Austria. And for the sake of contrast, let's talk about the insane groceries prices in Switzerland (not EU but borders Germany). Romania and Bulgaria have the lowest prices in the EU, but when you adjust to median income, they're actually really high "thanks" to the EU's ease of trade where Romanian/Bulgarian producers can make more money selling their goods to the richer countries rather than locally therefore reducing the local supply, resulting in increased prices for the locals as a consequence.

And, AFAIK, it's the same in North America, with the US having the lowest consumer prices and highest salaries while neighboring Canada has to make due with higher prices and lower wages.

My point is, the perceived expense of goods varies wildly based on your region's economic leverage, so large, rich countries with powerful economies and huge supply chains tend to be much better off at dampening these effects than the rest.
I think it's less about people being against the vaccine and more about people being against the mandates. One giant issue with them is that they completely ignore natural immunity, which over 30% of the country now has and studies show is drastically better than the vaccine, but without the dangerous side effects.

If the mandates were rational, they would be centered around antibody tests.
Don't understand the relevance of this comment.
I saw someone recommend screenshotting the PDF to images, then converting those back to a PDF to ensure that you've scrubbed all non-visible artifacts.
Then we must be reaching either a plateau or a tipping point in societal development and I really really really hope it's a tipping point in a good way.
Data Engineers vs. Machine Learning Engineers
In this age of rapid technological advancement, more and more businesses are growing and expanding online over the past decade. When everything’s online, that just means scores and scores of data. And with the amount your online business is and will be facing in the not-so-distant future, you will need technology and the skills of professionals to help you with processing, organizing, and analyzing this data.
The AZs are generally spaced far enough apart to withstand this. While rumor was that this is specifically done with your scenario in mind, it may also be a happy coincidence for grid and other infrastructure resilience.
huh? --prof works fine for me. There are lots of other options out there, like clinic.js for example.
https://clinicjs.org/
It feels like it ought to, but I did some light testing in the browser and it seems that V8 never optimizes it into an empty loop, even after it's hot code for a long time. I know turbofan does LICM, but I don't think it knows how to catch cases like this.
Very neat project, I hope it'll be used to prompt people of Windows versions of software.
>As a bonus, this also adds support for adding two MyNumber classes together:

Merely having `__add__` (without `__radd__`) is enough to add two MyNumber classes together in your case.

>It mostly exists to support type annotations,

The link for "type annotations" is broken.
This is my project. If you have many articles to read and you prefer listening, I'll convert an article into podcasts and make your own podcasts that contains your "listen later" list.
I made this because I want to consume some materials to read while jogging.

As this is my first post on Hacker News, please tell me if I'm doing wrong.
While what you say is probably true, I've recently had a talk with a coworker who worked for a month in USA and one of the things that impressed her most was how much food is thrown into the trash in USA, food prices rise everywhere around the world.

For me the most obvious explanation is export of inflation from USA: USA printed abnormal amount of unsecured money, and since USD is a world reserve currency, prices begin to rise everywhere. USA doesn't produce enough goods and services to offset the amount of money they print. With every start of their money printer the whole world becomes more poor.

I wish there would be a way to somehow disconnect the cancer tumor of USD from the rest of the world. But I'm not an economist and don't know the way to do it and what if the owner of the next currency chosen for reserve currency start to exploit its position for their own benefit like USA now.
It seems like a vanishingly small chance that us-east-1 will have a total meltdown across its 6 AZ's.

But us-east-1 appears to be the most problematic region (instance launch issues, API issues, etc), so for that reason alone, I wouldn't build a new deployment there. If I wanted proximity to the east coast, I'd probably go with us-east-2 (Ohio) with a backup in ca-central-1.

I'm not worried about surviving a meteor strike or Carrington Event, not much point in keeping a company alive when its employees and customers are struggling to survive.
It depends on how intensive the setup is.

My grandparents had about 3 pigs, 2 cows and one horse in a common animal yard, covered in large, raised river stone, and a yard within the yard just for the pigs. The pigs also had a separate stable room for sleeping (really dirty indeed) and the cows and horse would sleep together in the same stable room (even though they had available individual rooms, I guess the horse didn't like to sleep alone).

I think they cleaned the pig yard every couple of weeks; they had to clean the stables every few days and the common animal yard once per season.

It was common in older days that pigs were raised in communal mountain herds, they were semi-wild, foraging in the woods, mostly on beech nuts, but they would return in the evening at a common stable/den.

Anyway, cleaning wasn't the hardest part, imho, but bringing water and hay/food for the larger animals was, especially in bad weather.

I find it astonishing how little "foreign" food the pigs required. It was scraps from us and special nutritious weeds from vegetable gardens.
In later years people started intensively feeding the pigs and they do get higher yields/less work.
Taiwan's official name is Republic of China(https://en.wikipedia.org/wiki/Taiwan), it's not China/Taiwan issue, it's China Civil War.
Just like Democratic People's Republic of Korea and Republic of Korea(https://en.wikipedia.org/wiki/Korea), the two China and the two Korea will unify finally.
The west basically "developed" by exploiting/colonizing resources from the 3rd world countries. The west basically pulled the ladder once it climbed up. Now you are wondering why the 3rd world countries can't develop their own vaccines.
He’s being downvoted because anti-vaxxers have now adopted a near cult-like delusion in their persecution complex and refuse to apply any sort of critical thinking or look at any other evidence that vaccine mandates are some global scheme by bill gates.

He deleted the tweet because it was from a garbage source, and you are complaining that HN was unfair because the readers weren’t accepting enough of garbage ideas? Think about it critically - Southwest is the 7th largest airline. Why would a vaccine mandate only affect them specifically when all other larger airlines, save for Delta, already have them? Cmon - air traffic controllers decided that southwest was the final straw? Are your bullshit detectors not even going off a little bit?

There’s a depressing trend growing more and more that people believe they should not only have the right to air their poorly researched opinions but also be taken seriously. It’s ludicrous.
As an OCaml fan, I’m pretty into what grain has been up to: https://grain-lang.org. Mem management ref: https://github.com/grain-lang/grain/pull/768/files
Dreams | Senior Rails Engineer | REMOTE (EU-timezones) or Stockholm, Sweden | https://www.getdreams.com/en/

Are you dreaming of a more meaningful role?

In a world of overspending and easy credit, it’s no surprise that money is the biggest cause of stress for millions of people.

We created Dreams to level the playing field, to give people the tools to achieve their goals and ambitions in life, by helping them gain greater control of their finances.

Using insights from behavioural science, we design simple, engaging financial products that fit neatly into people’s lives, making it easier to save, invest and pay off debt.

In 2020 we started providing an embedded solution to banks and we can now reach millions feel better about money. The days when financial institutions could benefit from ignoring customers' needs are over. Period.

Welcome to apply to join our purpose-driven team.

Open positions:

→ Senior Rails Product Engineer

https://www.getdreams.work/jobs/1090745-senior-rails-product...

→ Engineering Manager

https://www.getdreams.work/jobs/1166106-engineering-manager?...
No, but as long as the damage is unrelated to the defect it's not relevant as far as the law is concerned. I have a right to a product that's fit for purpose. That right doesn't specify anything about the state of the product otherwise.
Second on the Snark because it uses vibrations. It'll tune an unplugged electric guitar.
Yup. Welcome to the wild wild west of hedonic adjustment. Things like side impact airbags and rear view cameras basically give the BLS unlimited power to drive down inflation.
> If it were me in my ideal world, I’d have copies of everything stored in S3 because of its exceptional durability; I sincerely believe there is no safer place on the planet to save data. Then I’d have a series of scripts that would rehydrate all my databases and config from S3, reconfigure all my code, and fire up my applications. I’d test this script regularly; any more than a few weeks untested and I’d lose confidence that it’d work.

for the vast majority of applications, this advice buried at the end is all you really need to do to survive anything other than total planetary annihilation (by then i'd worry about customer "churn", to put it bluntly). "all" is a strong word of course, i've never really worked at any place that tested backup recovery to that degree of regularity.
Just a small correction: natural immunity is not without side effects - it is just that the side effect price of the natural infection is already sunk cost for those who had the disease.
Piano tuning cost something like $100+.
This is a good list, would definitely save this for a rainy day.
>This is a national security issue

True, however, a trial may reveal methods* and create political embarrassment. A severe plea deal is therefore a possibility.

* It's quite possible this news story did not contain the entire truth. For example, it's not out of the realm of possibility the FBI knew before COUNTRY1 turned him in.
"I doubt the jobs lost will be offset by the public sector"

If you doubt that, then the government is overtaxing for the size of government they want.

If tax eliminates private jobs, then it is beholden on government to hire those so released.

If too many are released - reduce taxes.

"More public jobs just means tax money allocated more poorly any won't guarantee improved public services."

As I said tax doesn't pay for anything. The purpose of tax is to release people to be hired by the public sector - in furtherance of the elected mandate of the government.

If the government has been elected then you've already lost the argument about whether public services will be improved with more people or not.
"I support giving clearances to depressed people, and I support sending depressed people who violate their clearance agreements to prison."

I see your point, in not trying to worsen things for depressed people - but don't you think on a general base, a mentally unstable person is more liklely to disclose something? And when you are really, deeply depressed - you don't care about anything anymore, except if it makes you feel better in that moment.
I deleted a tweet in the comment that was an afterthought, not the comment itself. The comment itself still holds true. I am not an anti-vaxxer, and you couldn't have drawn that conclusion if you had actually read the comment. I was simply stating why this happened. I don't like that it's happening anymore than you apparently do, nor did I render any opinion on whether or not I agreed with the pilots and ATCs that are doing this.
if you have nothing else that’s relevant, then get it. I know they hire entry level folks with credentials like that without much scrutiny (at least they have something).

I went through a break myself awhile ago and almost did a bootcamp as a refresher, but it turned out I was able to just get back up to speed on my own rather quickly and opted out. Don’t underestimate how much experience you actually have, grab a good book.
> Why did an (apparently) intelligent person do something so incredibly stupid?

I suspect more information about the motives in this case will come to light, but two explanations come to mind: 1) People who are incredibly intelligent in one domain, are often not particularly intelligent in another. Especially with a highly specialized discipline like engineering, if you spend a lot of time developing your abilities in one area, it often comes at the expense of other areas. 2) People often make entirely rational decisions according to their circumstances, that may appear irrational to someone who can't see the whole picture. Perhaps there was some kind of duress or other factor that caused them to take a risk that seems stupid without being able to see the whole picture.
Globalwarmingindex.org – Tracking progress to a safe climate
I buy a single-serving of Lasagne from Waitrose and it's £4 ($5.45 usd). A friend of mine buys the same size frozen lasagne from Tesco and, IIRC, it's 85 pence ($1 usd).

I do agree with the point that food price inflation is real but there are so many varieties of the same product that it's hard to compare random examples.
I distinctly remember one year ago or so commenting on an M1 money supply thread on HN, musing that inflation was on the horizon, then getting dogpiled by dozens of people accusing me of not knowing the definition of inflation (they did not understand that asset inflation is also inflation).

At the time I was one of the people doubting the policy of giving people free money as "pandemic relief" instead of just ending the lockdowns and letting small business owners and employees engage in society at their own (relatively small) risk. I was accused of being ignorant and selfish.

Now the chickens have come home to roost and there are people raising concerns for how this will affect the poor when it was likely those very same people who supported the policies that have caused this inflation in the first place! Ironically if we had listened to the "selfish rich westerners" who opposed the policy of unchecked "pandemic relief" for the poor there would be no current looming threat to the poor.

Many who claim to care for the poor will read this comment and continue to accuse me of being selfish and ignorant without the least bit of self-introspection on how their own worldview contributed to this very situation. That is the reason that inflation will only continue to worsen and the poor will be in an ever worse situation.
It boggles me how there can _not_ be a cause-effect between printing money and inflation.

Is it linear? No.

Is it the only possible cause? No.

Is it a cause? I think the obvious answer is yes, but obvious answers have been wrong before.
By not listening to the extremists? By deleting social media
Network effects say it would be at least an oligopoly, just as it is now. Unless the whole system would be rebuilt to explicitly disallow this and counter such effects, but who would build such a system and why would they invest in it, knowing in advance they wouldn't profit from it or even able to control it? It would surely face a huge pressure from all the "we can't allow bad people to speak" crowd, and this crowd owns the government, the academia, the banks and the internet infrastructure now. So what exactly the plan for it to happen?
That's I...
There's tons of .net usage in enterprise, what are you talking about?
Isn't your problem above essentially with Spring rather than the new JDK? Presumably Spring is using internal APIs that have changed in JDK11.
And yes, the reflection and dynamic behaviour in Spring are not type safe (i.e. runtime failures). Spring XML is a manifestation of "Greenspun's tenth rule" - it gives people the flexibility of Lisp/Python by unsurprisingly removing static type safety - not a trade-off that many will agree with. You should tell management that your job had been made harder by the choices made by the original architects of the system (who I assume are long gone),
40 years ago, The US Coast Guard used to have a pigeon powered sensor to detect sailors lost at sea.

https://medium.com/war-is-boring/that-time-the-u-s-coast-gua...
It exactly is. You will never defeat an enemy if you can't defeat it in your own head.

It's your Resolve. The Resolve is needed to strike an enemy.

A nation ridden with "deeply concerneds," and "strongly condemners" cannot come to consensus, and understand that an action is needed.
The terminal quest game on Kano was very clever, i wonder if there is a repo just for that somewhere?
For me, no app would take the place of a clip on tuner. I play bass, and mostly (pandemic aside) live. Dedicated hardware is the way to go, and with this I can even tune mid-song if needed.
Car companies shut down production because they predicted low demand which caused car prices to spike. If the president told the car companies that he is going to give consumers enough money to buy cars car manufacturers wouldn't have slowed down production but instead doubled down on producing more, prices would be low because there is enough supply.