skysight-inc/HackerNews huggingface dataset:
Yeah that’s basically it. It really is a wonderful piece of free software that was (and still is) way ahead of its time in many ways.

They basically made a ton of good architectural decisions really early on and then just nailed down the details super tight over many years.

Their technique of running cluster-wide recoveries to handle failures is a great example. Most distributed systems engineers find the idea of designing a database that becomes unavailable (even for a few seconds) when a single node is lost completely appalling, but it turns out this small trade off leads to massive simplifications elsewhere and the resulting system is net/net much more reliable than anything else I’ve ever seen.
Why? We can still have a cleaner world even with polluting vehicles. There’s bigger targets to hit.
Mearsheimer has been trotted out by so many people that likely never heard of him three weeks ago that it's getting a bit tiring.
> An individual can't choose to revolutionize the shipping industry

Yes, but this entire thread is about de-revolutionizing the car industry. People in China and India would like to have a word with us.

We should be working on sequestrating CO2 from the atmosphere using novel means (Solar, Nuclear), making breakthroughs in efficiency and promoting domestic manufacturing. I don't have the answers. I am just pointing out the double-standards that are hidden behind massive sweeping statements like "Ban all cars".

These discussions tend to be about one-upping each other instead of discussing fundamental issues and solving them. It is mostly political, not objective and shying away from confronting reality.
What a fun stroll down memory lane.
> he is trying to lull you into a feeling that you have no moral ground and you should just do nothing, because nothing matters and must let it all happen.

No I am not lulling him into anything. I am introspecting and speaking my mind. Not everything is propaganda. The time to do nothing should have been 30 years ago after the fall of Soviet Union. The time to do nothing was when multiple Western scholars, politicians and diplomats advised against NATO expansion to the East. That time is long gone. Ukraine is already invaded. Other non-NATO countries might be next (based on the outcome of this War). We are way past "propaganda influencing opinion" here. We are already at point of introspecting failures of the past.
It's been a while since I was deep in the guts of implementing USB HID devices, but I think you can specify in the descriptor if you're sending relative or absolute values.

There's a rewarding UX that can be made by switching the touchscreen to relative instead of absolute, you get more fine grained control.
Check https://hnblogs.substack.com
> “Therefore, we know where the object flew from, we had no advance warning. The drone flew over Hungary for over 40 minutes, it was less than seven minutes in the Croatian air space, and crashed in the Jarun neighbourhood, fortunately with no casualties. This is a serious incident according to information we have”

> how is it possible that nobody undertook anything in other NATO member states over which the drone flew, President Milanović replied: “This is currently the object of a serious investigation in the states over which this drone flew for a long period of time. It was in Croatian air space briefly, therefore the question is, given the quality of the equipment we have could we have done anything?”

More info about the incident: https://www.thedrive.com/the-war-zone/44697/ukrainian-tu-141...
How in-depth do you plan to go? Black-Scholes? Fitting volatility curves?
Too much traffic and a couple of Mapbox bills above $100 so I had to paywall it. Here’s more info:

https://tedpiotrowski.svbtle.com/shade-map-pro
Probably not since it was completely about the US Navy.
That tends to happen when someone turns out to have accurately predicted the future.
> You can word it that way, but what can and does happen is that employees leave and steal confidential processes or information to boost their own value at a competitor.

I mean, couldn't you make an argument where that's just capitalism at work? If Firm A is going to be competitive, they'll need to compensate their employees well enough that Firm B doesn't have the ability to poach. An employee with a considerable amount of stock in Firm A is gonna think twice before they devalue their shares by running to a competitor.

> Many people agree with you, until they start their own company and theft happens to them, draining their work straight to a competitor.

Again: tough luck.
The error messages could be better yet.

The example uses a different code per issue, for instance: "user/email_required". Most integrators will build their UI to highlight the input fields that contain an error. Making them parse the `code` field (or special-case each possible code) is pretty toilsome.

// from blog post
{
"code": "user/email_required",
"message": "The parameter [email] is required."
}

Make it parseable:

// improved
{
"message": "An email is required.",
"error": "missing_parameter",
"parameter": "user.email"
}

In addition, I:

* rewrote `message` to be an acceptable error message displayed to (non-technical) end-users

* moved message to be the first field: some developer tools will truncate the JSON response body when presenting it in the stack trace.

---

As an added bonus, structured data allows you to analyze `error` frequencies and improve frontend validation or write better error messages: https://twitter.com/VicVijayakumar/status/149509216182142976...
That seems very useful for large pull requests. GitHub is starting to look more and more like VS Code.
Yes this is essentially what the position is. Such people say that with modern testing we don’t need to filter out MSM but since all testing is fallible it’s pretty self evident this would lead to more HIV in the blood supply.

I think it actually is a legitimate argument though that the feels of the entire gay population is more important than the reals of the very small amount of HIV infections that would realistically happen just because one number is so much larger than the other and HIV is far less consequential than it was when this policy was enacted. People tend to be bias towards avoiding extreme outcomes over causing a much lesser outcome far more often. See: nuclear being perceived as more dangerous than fossil fuels.

In any case there’s so many more important issues out there than blood donation among men who have sex with men the entire dispute smacks of bikeshedding. People are both discriminated against far worse, and are killed far more often, by different issues. It matters very little if people have the wrong opinion on this issue relative to if they have the wrong opinion on different issues.
Please do a Kickstarter. I want to put money into this now.
Per the CDC, A typical passenger vehicle emits about 4.6 metric tons of carbon dioxide per year.

The weighted average price per ton for carbon credits from forestry and land-use projects that reduce emissions or remove carbon from the atmosphere has been on a steady upward path, rising from $4.33 per credit in 2019 to $4.73 per credit so far in 2021, with a spike to $5.60 per credit in 2020.

So, spend $35/year or if you want to get fancy, the cost of 1 tank of gas per year to offset your carbon footprint from driving and enjoy a guilt-free year.

Or we could fold that cost into gas, if you use 1 tank a week, 10/gallons a tank, that would be less than $0.02 as a carbon tax credit.

I would be all for that.

But, if you raised the price of gas $0.50 and funneled all of that money into funding carbon capture industries, I would also be all for that, and at that price point more people would search for public transportation or purchase EV's so that is a double win.

But then again, these taxes would disproportionately affect the middle and lower classes in suburban and rural communities so that would make life far more difficult on people who already have it tough enough and manufacturers would probably shovel any taxes you put on them directly to the consumers as well, so I would say it's almost as if there isn't a single simple fix to the issue and only a multipronged approach that takes into account dozens of moving variables rolled out over time is the only viable solution.
Huh? Are gas taxes a priced in externality or a way to punish the rich?
Fingerprints, batteries, and people [Blocks Wallet]
You're overly focused on individual behavior of ex-employees, and overestimating the amount of thought the C Suite is putting into the matter.

The risk does not come primarily from disgruntled employees doing bad things—there's already a huge legal deterrent to that since they know exactly who you are. The bigger risk is what can happen when credentials are stolen by actual criminals. This is context dependent, but scales with the number of employees times the number of accounts, the latter of which has trended up dramatically as cheap B2B SaaS has proliferated.

What happens when a laptop is lost? What happens if a DB is hacked and users had reused passwords? How do we know who even has access to what when teams self-administer access control? These start to become real security problems at relatively modest scale even if we assume every employee is a saint.

Even leaving security aside, the management of accounts starts to become a significant pain point in the low hundreds of employees and so it will typically be the IT team that pushes for SSO first well before compliance comes into the picture.
He has a number of good threads.
Depends on your price range I guess. You can find iogear/belkin HDMI 4 port switches for a bit under $100. Generic ones will be even less (maybe even around $50). I personally use DVI KVM from iogear (GCS1104) which cost me about $130, one of my machines is a gaming rig with Nvidia card and it works flawlessly.
Why this javascript label is labeled show hn ?
*electric
Sure, I’m not really knocking Cassandra. I’m just pointing out that Cassandras approach favors raw write throughout over everything else which is great for some use cases, but FDBs approach is much more forgiving and a better fit for many use cases, albeit at the cost of reduced throughout.
So you’re trying impose your lifestyle on others because it works for you?

No thanks!
A good checklist of things to mind when designing APIs. Sometimes you forget the good things.
Perhaps, but github's PR UI goes to utterly atrocious if you try to do something along the lines of "a series of small atomic changes". In my recent reviewing experience, anything involving multiple commits in a single PR results in the diff more or less lying to you: you get diffs of something, but it's not clear what, and even less clear how to get what I want to actually diff.

I think the evidence is pretty clear that the most effective development process for large codebases is to look at changes as effectively a series of patches applied to head-of-trunk (and those patches may evolve during review)... and github seems to almost go out of its way to prevent you from thinking about PRs as if they were patches.
The US is opt-in and has an organ donor rate of about 60%.

More than half of adults in the US choose to opt-in, and I believe that if there were better education and marketing campaigns for organ donation, more people would sign up, too.

Nothing stops Apple from doing the same education and marketing for an opt-in system.
Without commenting on the situation or the topic, it's strange how close-minded and terrified of different opinions or ideas people are to this topic. There's a rabid, hateful, jingoistic "you're either with us or you're a traitor" fervor. It's amazing how strongly people are influenced by the popular narrative, the media, politicians. I seem to remember it was like this in the lead up to the last Iraq war too. Freedom fries, and USA chants, and denunciation of traitors everywhere.

Funny thing is a lot of the current hate I see coming from people who would ordinarily be the first in line to blame the west for any and all suffering, conflict, wars, and injustice around the world. Digging as far back to the crusades and the Roman Empire if necessary.

Yet I've never seen alternate views like this highly upvoted or discussed rationally on sites like this or reddit, despite swaths of newly minted Russia/Ukraine experts who one would have thought would be thirsty for new reading and debate on the subject.
https://roonlabs.com/
> Yes, but this entire thread is about de-revolutionizing the car industry

How is it de-revolutionizing to optimize away from massive, wasteful cars like this and towards more efficient cars -- or perhaps even systems where personal cars are done away with entirely as a necessity?

> People in China and India would like to have a word with us.

India has roughly half of the country not owning a car, and the US, Japan, and Mexico all manufacture more cars than them. Not sure what bone they'd have to pick in this fight other than you assuming they're invested in manufacturing cars?

> We should be working on sequestrating CO2 from the atmosphere using novel means (Solar, Nuclear), making breakthroughs in efficiency and promoting domestic manufacturing.

All true, but we can do all those while also disincentivizing wasteful cars like the one described in the article that serve as nothing more than dangerous, pedestrian-killing status symbols.
There were some videos a while back on a butcher torturing pigs in a slaughterhouse, which was leaked and showed inhuman practices. The pigs were squealing and grunting in absolute horror as they were tortured. It scares me to know exactly what emotions they were displaying during the torture.
> It ends up costing me about as much as streaming.

Spotify is $10/month. If you're purchasing everything instead, that's only about 1 new album or 10 tracks per month into your collection.

The only way the price could be similar is if you're not listening to much new music. That may work from some people, but I don't think it's common. I estimate I listen to a minimum of 50 new tracks per week, which would be hundreds of dollars per month if I was buying everything.

I also wouldn't be exposed to nearly as much new music if I had to buy it all.

> I'd have a hard time going back to other streaming services after getting used to the convenience of having control over the entire chain.

I'm also confused about how dealing with all of these small purchases, manually managing your library, and setting up and maintaining a server for it is more convenient than signing up for Spotify.

It's hard to beat something like Spotify for convenience: Create account. Add payment method. Listen to nearly anything.

I think you might be dismissing the relative complexity of your setup because it's something you enjoy setting up and maintaining, but it's definitely not as convenient as Spotify (or other music streaming services).
I would also recommend checking Qobuz which is where I find most of my larger label FLAC files.

https://www.qobuz.com/us-en/shop
If you want to bring up luxury taxes and sin taxes, why aren't we categorizing non-primary housing as a luxury and/or a sin and taxing them accordingly?
That is orthogonal to part-time. Even with part-time you can agree on a common core time where such things can be handled. I also had cases where timezones were quite useful. (In the evening I sent work of the day to QA and in the morning I got a test report to work on)

My concern is around all the non-core tasks, which you can't cut away proportionally when working less time, leaving overproportionally less time for the core job.
“Train an algorithm” sounds better than “train an AI”
For tagged values, I loved the POWER rlwinm: Rotate Left Word Immediate aNd with Mask (and it's companion rlimi). Pretty much any sane tagging scheme could be converted to the unboxed value with that single instruction; even somewhat exotic tagging schemes like mixing high-bit and low-bit tagging could be handled by it.

Of course in modern architectures being able to do something in one instruction is only tenuously related to being able to do something quickly, but it was a super handy instruction back in the day.
I don't get it. Why not use an upright T?
Just wait till you hit . On your keyboard
NightCoreMaker shutting down at the end of March due to Russia conflict
NightCoreMaker is a popular website where users can upload their songs in order to make night core remixes. The host, who lives in Russia, is no longer able to pay for hosting due to suspension of Visa and MasterCard in Russia. As a result, the service will be shutting down after 7 years of being online.

https://nightcoremaker.com/index.php
> the challenge is the lack of good c++ libraries for common tasks in systems programming (like Sockets, or networking - still experimental after 40+ years!!)

C++ has plenty of excellent libraries for such tasks (just think of boost), they are just not part of the standard library.
Logging out on a 401 is pretty common in authentication, because it gives the user an opportunity to sign in again. Maybe the problem resulted in a 401 being returned, when it would have been better to return a 500.
>a logical KV store

I've always considered KV to be an API. Under the hood you're still using data structures managing fixed-size blocks and byte-offsets, such as LSM trees, and using binary searches to minimize disk reads (e.g. index files of very 128th 64k key block).

If you're building something more robust on top of a KV store, I'd be under the impression you're not doing so using the logical API but leveraging the underlying data structures with algorithms better suited to the task. An LSM tree is pretty decent at random seek/scan, and implementing something like JOINs is less about KV constraints as it is LSMT constraints.

For example, FoundationDB doesn't use SQLite directly but rather its B-tree implementation.
"Why Single Sign on Sucks?" Because it's not kerberos.

I just saw fedora 35's installation and it actually wants your login from either google/something else/etc (calling "enterprise login")... they actually hid the way to make a local account. smh. what a failure.
I would encourage you to remove the tinfoil hat and improve your understanding of economics, and I think you’ll realise that distribution of power and decision making played an incredibly outsized role in the rise of the European continent and later the United States.

If you want somewhere to start, I can recommend the work of Daron Acemoglu.
https://bangle.io/

https://logseq.com/

(among myriad of others vim/emacs/..)
One can deduce quite a bit about Afghanistan by comparing their will to keep control of their country vs the resistance Ukraine is currently putting up against a better equipped opponent.
Interestingly, when we live in a society where people disagree, this is exactly the way you can frame any policy you disagree with. Car owners have imposed their lifestyles on me my entire life. See? :)
How China Made an Exascale Supercomputer Out of Old 14nm Tech
Why? Russia has so many nukes it just needs one sub to launch a MIRV nuclear second strike to make it 1000x more costly to NATO. Do you honestly believe NATO would ever first strike Russia??? NATO is a defense pack and we have way more to lose as our economies are on top.
It's real but limited. The endless need for growth is what's going to sink Peloton which should be a very profitable company with minimal growth. 2,000,000 paying customers with very low churn should be enough. But it's never enough. Grow until you die is the problem.
"You're either with us or against us" is a successful rallying cry for extremists, but it's not how most people view the world. I think if you survey FOSS developers, you'll find a LOT of them (including me) use and enjoy Apple products - not sure how this fits into your world view. It's possible, I'd say completely normal, to both want to make money, and to improve the world. I think most people see this as a balance that needs to be struck.
Do you have an opinion on Asia.Nikkei.com?
Every time I go to Japan I am blown away by the quality of the food sold in convenience stores. It is way better than most well-known fast food restaurants.
I just want to remind people of 12ft.io to remove paywalls. It works well for most sites.
I’m afraid I’m lost - what’s the relationship between HSLS, CUDA and OpenCL?
It's really, really, really common to have single purpose trucks that go about that far. Site-specific fuel trucks, plow trucks, etc.
Name a single car actually produced that was both highly reliable as in ~150,000 miles before first non ware issue and easy to repair.

Electronics vastly simplify many many systems. Back when say trip odometers where fairly simple mechanical devices they where also yet another system that would eventually break. Building mechanical systems that can handle heavy vibration, large temperature swings, long lifespan, etc while being light, cheap, and easy to repair is difficult.

Unfortunately electronics just makes stuff less intuitive. The sensor can sit anywhere as long as it connects to the CAN bus so you don’t always have an easy to trace mechanical linkage etc etc.
The Value Added Tax (which is the way sales taxes are structured in most of Europe) only taxes the sale to the final (non-business) consumer. The length of the supply chain doesn't matter, the aggregate tax burden will only depend on the price of the final product.
He mixes evidence with unsupported opinions and just-so stories though.
> Now I get why you created a throwaway... what's the difference between France and Afghanistan ? What's the difference between Germany and North Korea ? What's the difference between Switzerland and Saudi Arabia ?

Were the French citizens able to stop France from invading Libya, Syria, Iraq even after knowing that the causes/reasons were wrong? No. So how do you call it a "Democracy"?

To answer your point directly: no country in the World is truly Democratic. Most of them have varying degrees of Authoritarianism built into their structures. Your "Democratic Rights" typically extend only to voting your representatives, free speech/expression and other fundamental rights. Beyond that, most of the State actually functions like an Authoritarian regime with wide powers to do whatever it wants to do for the most part. Even checks and balances are only effective if there is no nepotism/political affinity/lobbying etc. Which is why, even with widespread anti-War sentiment during the second Iraq War, the elected Governments did not care. Many still went ahead with the War. All based on lies that Saddam had WMDs.

> You shy away from admitting authoritarian states are a bad place to live in if you want to do anythign other than drinking the governmental kool aid and give up a lot of your personal liberties

Of course it is bad place to live. I don't even need to admit something that is so obvious. I am just saying that the "Free-World" is slightly better than the Authoritarian regimes. The "slightly better" aspect is fundamental rights and ability to vote. But what I find amusing is that everyone only harps on that as if it is the be all and end all. Fundamental rights are just a stepping stone. The rest of the structure is still Authoritarian and that needs to change. It cannot change if you keep comparing the Free World to Authoritarian regimes in only the good parts. Compare the bad parts too and see how much better/worse you are. That is the only way to improve existing structures. Even in the "Free World" you have maximum incarcerations (US tops the list surpassing China — not something to be proud of) with people being jailed for frivolous things.
One day, animals will be part of our parliaments.
https://weatherspark.com/ has great data, too. Excellent graphs for temperature, humidity, clear skies, etc.