skysight-inc/HackerNews huggingface dataset:
Never meant to imply that, though hydrogen is just a different manner of chemical storage and wildly inefficient. Pumped hydro (gravity storage) is also doing its part, but not really growing in the exponential manner as battery cells[0]. I'd be curious to know if there's any non-'battery' storage technologies that are on a similar growth curve.

[0] https://www.statista.com/statistics/1304113/pumped-storage-h...
besides having fun with the hardware, I guess true high availability?

Having 3 nodes is quite redundant if they're all VMs on top of the same raspberry
Common Mistakes to Avoid in Process Documentation
B vitamin levels beyond B12 are rarely tested. You're unlikely to ever get it checked unless you experience specific neurological issues. Overtesting itself is dangerous, so... doctors don't have the incentive.
That's because they have the Libra Colour now: https://us.kobobooks.com/products/kobo-libra-colour
Coding in Swedish keyboard mode in a Mac with (){}[] all on the same two keys with various vulcan neck pinching modifiers is definitely not one of my favourite things!
a shark on whiskey is mighty risky. a shark on beer is a beer engineer...
Thank you, that's most helpful!
A scathing critique of 'brand safe' influencers [video]
Does that actually help? I've been waiting for Czechia availability for years now. The best they can do is to tell me I should order to a supported country and handle shipping from there myself.
Maybe but why are they still hot?
Understand Papers 3x Faster with Moonlight
Hi. In a world where we are bombarded with 1000 papers a day, I created a paper reader to help researchers.

Key Features:
1. Text Highlight: Highlight any text to ask questions.
2. Image Capture: Use the Meta Key (Cmd or Ctrl) + drag to ask questions about any image.
3. Hyperlink Preview: Hover over any hyperlink to view information.
4. Chat: Continue the conversation anytime.

With these features, you can quickly read articles and start your research!
So, (speaking as someone who started with R and now predominantly writes Python), I think there's a bunch of things going on here.

1. R is 100% better for analytics work and statistical modelling. There's just no contest.

2. Python is much, much better for data getting (APIs/scraping etc) and dealing with non table-like data. Again, there's basically no contest here.

3. Software engineers hate R (in most cases), which means that it's easier to hand over work for production in Python.

This leads to a situation where it looks like most of the prod-level work is being done in Python, but if you look under the covers you'll discover that most prototyping/analysis/exploration is done in R and then ported to Python if it works.

Like, Python is a great language for lots of things, but it's pretty terrible for exploratory DS work (pandas is like the worst features of base R and base Python mashed together in an unholy hybrid).

There's also the fact that all the NN stuff is predominantly Python, so lots of companies believe that they need Python people, which reinforces the stereotype.

And finally, while I love R, Python has more guardrails, and it's harder to make an unmaintainable mess with it (relative to R). Particularly when people use all the various lazy evaluation packages that the tidyverse has used over the past decade (I once maintained a codebase that used all of these in different places, it was not a fun experience).
LOL people on the thread whining about MTA efficiency. Individual personal care are insanely inefficient, double when you consider all the roads and parking required.

I gave up my car when moving to Manhattan and now subway, walk and bike everywhere. It's a dream and saves $5000+ per year including capital cost, maintenance, gas, tolls, parking, insurance, repairs, cleaning, traffic tickets. As a society there's another $N000/year saved on the marginal cost of another car: road maintenance, traffic cops, people sitting in traffic instead of living their lives, etc.

Robotaxis change a bunch of this math: utilization shoots up and drives down cost per user, and people can live/work (on their cellphones) while being passengers.
The Dream of an Alpine Waterway
That is actually how Donald Knuth describes it in The Art of Computer Programming. The first program is merely written to understand the problem domain.
Show HN: Logs viewer UI for Go apps (Logdy)
In a recent version, the possibility to use Logdy as a library was added. Now you can have the same logs browsing experience during development, testing, staging and production without addition setup hassle.
Scrum brings out some bad in software dev, but the worst in product management. It makes the schedule more important than the work, and the meetings more important than the communication.

Fix it with Kanban. Or at least the Kanban-flavored way of working where you set top priorities, keep lines of communication open, and just do what matters.

All processes can be screwed up if your leaders try hard enough, but Scrum is almost never the answer.
Loops themselves are a design mistake. Look how wordy loop notation is. This is a sign of an internal struggle: the real thing does not fit a Procrustean concept. In C we have five loop-related keywords: 'do', 'while', 'for', 'break', and 'continue'. All of them are syntactic sugar for 'goto'. Yet all that sugar is not sufficient for certain cases of control flow. And these cases are not even exotic. We all know how to loop forward in C:

for (i = 0; i < n; ++i)

Now let's try to loop backward:

for (i = n; i--; )

Why this thing is so asymmetric to the forward case? And doesn’t it, perhaps, start to become a little too idiomatic? Now, if we try to rewrite them with 'goto':

i = 0;
a: <body>
++i;
if (i < n)
goto a;

i = n;
b: --i;
<body>
if (i > 0)
goto b;

Isn’t this more symmetric? Can we now see that the chief reason of asymmetry is that 'n' is not a valid value for 'i' but '0' is?

'Goto' is, of course, an implementation detail and is not convenient for reasoning. Thing is loops are not necessary for reasoning either. They are an implementation detail mistakenly dressed into reasoning clothes.
I worked at GOV.UK for a few years on what was effectively specialised CMSs all written in Rails. Mostly basic CRUD stuff. A contractor came along and built the most insane CMS I've ever seen. I found out later it was flavor of the Java Repository Pattern using dependency injection. It became so difficult to work with that the last thing I worked on there was to delete it and rebuild it using standard Rails patterns.

The KISS philosophy exists for a reason and that includes over-using advanced language features just to show off.
Regardless of whether Congress or the States pedantically write new amendments, they must be ratified by 3/4ths of all States in the Union. Ergo, the States ultimately write what goes into the Constitution, and the States answer to their Peoples respectively.

The Constitution itself was also ratified by 9 of 13 States to start.

Congress and thus the Federal government cannot modify the Constitution by themselves, they serve at the pleasure of the States.
(adding some references to the points you made)

Government data show gasoline vehicles are up to 100x more prone to fires than EVs: https://electrek.co/2022/01/12/government-data-shows-gasolin...

Data from the National Transportation Safety Board showed that EVs were involved in approximately 25 fires for every 100,000 sold. Comparatively, approximately 1,530 gasoline-powered vehicles and 3,475 hybrid vehicles were involved in fires for every 100,000 sold: https://www.fairfaxcounty.gov/environment-energy-coordinatio...

Statistics from 2015 showed that 174,000 vehicle fires were reported, and almost all of them involved gasoline vehicles. Tesla claims that gasoline cars are 11x more likely to catch fire than a Tesla, and that the best comparison of safety is fires per billion miles driven. If we compare using this method, there are approximately five EV fires for every billion miles traveled, compared to 55 fires per billion miles traveled in gasoline cars: https://driveelectriccolorado.org/myth-buster-evs-fire/

From https://www.evlithium.com/Blog/advanced-safety-features-of-l...

Non-flammable electrolyte: LiFePO4 batteries use a non-flammable electrolyte that does not catch fire even if the battery is punctured or damaged. The electrolyte is a mixture of lithium salts and a solvent that is less volatile and less flammable than the organic electrolytes used in other types of lithium-ion batteries.

High safety: LiFePO4 batteries have a lower risk of overheating and catching fire due to their more stable cathode material and lower operating temperature. They also have built-in protection circuits that prevent overcharge, over-discharge, short-circuit, and physical damage.
Yes - I was a Chemist in another life and the reality of physiology is that it is insanely complex and "just take vitamin pills" can amount to Dunning Kruger if things like the medium (a suspension, a solid, the solvents around it to think of a few...) can play such a huge role in the body's ready uptake of the active ingredient.

I mean we kind of already know this anyway - "person dies of alcohol poisoning after vodka up the butt" was a legend as a student but also a story of how "x units alcohol" is an oversimplification. There are similar stories with class As and people varying up the modes of ingestion...

Coming back to food I have anecdotally observed that my lactose intolerance reaction is more severe if the lactose is in something creamy. Even lactase pills have reduced effect on that. Although cream may be where the lactose is concentrated for all I know
If we think about what vitamins are and consider the human body as an interconnected ecosystem with sub-ecosystems such as gut flora and skin flora, vitamins are compounds that your body cannot create from other compounds. Therefore, if these vitamins are not present, it could result in negative outcomes. Yet, the human body is remarkably good at making do, masking issues by priming itself for certain vitamins that are lacking in the diet. However, if this state is maintained for years, something has to give.

Science is finding that many chronic diseases, even some that have been thought incurable, are actually tied to lifestyle and diet. So, expect more of these articles.
I've done a mid-size CLI tool with a local server (Axum) at work last year. While I'm happy how it turned out and don't have regrets like OP, I can understand his frustration. Rust is still overhyped, not as much as some years ago, but from all use-cases out there many would have been better done with a GC language. The amount of energy and time spent on solving the language problems instead of the project's goals, isn't payed back for "standard" applications. It's not that your C# or Go services explode every week or are too slow.

There're many excellent use-case for Rust. Just not as many as parts of the "internet" suggests.

Regarding error handling: Even with RUST_BACKTRACE=full, it's most of the time too hard to find the source of the error.
Maybe it is for you, but the success of Dplyr and ggplot suggests a lot of others disagree.
Ahhh I’m familiar with the Chick Fil A use case! But they’re running NUCs — I almost think of that as a different kind of larger edge… distributed/federated but not really resource constrained.

It is certainly an “edge“ though.
Round-trip efficiency is not the only variable at play here. Storage plant longevity, self-discharge over very long periods of time, cost of installation and maintenance, cost to the environment to source the raw materials etc also play a big role.

Round trip efficiency might be way less than any other method of storage, but it might win out on all the other points. I don't know the answer though - just saying it's important in discussions like these to not get hung up on single metrics. We're not playing trump cards.
"Any code that does a lot of useful and complex things must be an arcane, barely maintainable mess that can only be understood by deep study."

"Every code base I have ever worked on was a legacy nightmare. Every "greenfield" project I joined turned into a legacy nightmare within weeks"

I am sorry to say this, but it really sounds like you were either really, really unlucky, or part of the reason why it became a mess.

Complicated things are complicated. Nothing can ever change that and it requires study to understand it.

But it still does matter a lot, how one organizes the whole thing. How it is structured, documented(!), refactored. Are there competent people in charge who understand it all and kick peoples asses if they make even a temporary mess or forget to document, or do random people make changes wherever they see fit, because a deadline is ticking?

Modularisation is usually the key. Small modules do one thing and are as seperated as much as possible with as little side effects as possible.

And if one has to ship things, it is not always possible to keep it pure and if the code is not intended to live forever then this is often fine. But if the codebase is supposed to stay, then there needs to be the time to clean up the hacks. Or don't and then you end up scared touching anything.

That being said, the technologies you mentioned, I would not like to touch either..
European here: the fact that "you guys" even know who your judges are, is amazing.
To be fair, Tumbleweed has had snapshot/rollback built in and generally triggered at important points for years. There are exceedingly few scenarios where you can't just move to the prior snapshot to get a working system again - talking a minute after failure. Aeon takes it further, but that's where it started. Hard to argue the speed of repairing by rollback vs reinstall.

Also, Aeon has first party support for running cli and gui things in distrobox. You can pull down an OCI container of virtually any distro and do whatever you want in it. Distrobox lets you expose applications from the container environment to the Aeon desktop.

Hypothetically, you could use Aeon as your rock solid core and tinker in distroboxes, including refining the install script to making a custom OCI container. Not trying to convince you - just saying there is a lot of easy to access flexibility there.
> Once everyone has 50 year bulbs, you're out of business.

This seems to have been the issue with the expensive Philips Hue LED bulbs (the ZigBee ones). We installed ours close to a decade ago, and we took them with us when we moved to a new house. I don't think I've replaced a single one yet.

Philips seems to have de-emphasized that set of bulbs in favor of cheaper models, as far as I can tell?
China's Offshore Wind Power Prices to Undercut Coal This Year
Imagine that instead of what you do with gRPC/C#, you had to edit proto files just like using Notepad (so is the COM IDL editing experience in VS), and instead of having VS take care of the C# code generation, you either call the MIDL CLI compiler yourself, or manually integrate it on some build step, only to open the folder of generated code, and then manually merge it with your existing code inside of Visual Studio.

That is the gold experience for doing COM in C++, doing COM in C# is somehow better, but still you won't get rid of dealing with IDL files, specially now that TLB support is no longer available for .NET Core.

Quite tragic for such key technology, meanwhile C++ Builder offers a much more developer friendly experience.
They have certainly reverse-engineered some variants of Intel 486.

Nevertheless, they have implemented them in different and better manufacturing processes, so these are not copies of the Intel CPUs, any more than the Compaq computers would have been copies of the IBM computers.

They could have done the reverse-engineering from just buying some CPU samples from any computer shop. It was hard work, but still many orders of magnitude easier than reverse engineering a CPU today.

They could have also stolen some 486 mask sets, which would have made the reverse engineering easier, but this was not necessary, it would have been just a cost-saving measure, with high risks and modest benefits.
Having worked on the Honeywell DPS8 range I'm so bookmarking. Software and sourcing may be an issue, but just to play with GCOS again be nostalgic.
Do you not use websites like Kayak[dot]com and Booking[dot]com at all?
> There are 2 empty spots right above the left/right keys that would be ideal for this and are basically just wasted, being left empty, as one can see on the photos.

In my opinion and experience it’s utter shite: the precision of fingers on half keys is not great, so it’s way too easy to hit the page keys when just trying to move two characters sideways, and now you need a few seconds to realise what the fuck just happened.

It’s exactly what my current work laptop has, and if I had to use its internal keyboard for any length of time the laptop would long have gone out the window.

If I’m paging, it’s easy enough and a lot more intentional to press the FN up/down key. I could see the argument for TKL laptops but this is garbage and I hate it.
Daniel Bristot, Linux kernel dev, passed away
Looks like Mojo will fix that
Can you make it bigger? it is too small for glider gun :)
Not sure how long they'll be able to hold MV2 in, but it looks like a better posture than what Vivaldi put out. At least less pessimistic.
Interesting.

Is this intended as a way to implement the UX for GDPR cookies / tracking opt-in / opt-out screen. If so, it's brilliant.
Yes? This is unsurprising and doesn’t represent gross incompetence on the part of the victim. Computers are inscrutably hard to understand. Anyone that’s lost sight of that is in an echo chamber.
There is no Ukrainian/Soviet distinction. Ukrainians were Soviet at the time. Ukraine was historically part of the Russian empire and only split very briefly after the revolution. You are trying to promote the idea of a split between Russia and Ukraine that didn't certainly exist at the time.

Putting that aside, nobody "killed" 5 million people. Killed certainly isn't the correct term, as the Holodomor was about deaths by starving and not by shooting. We're talking about mismanagement, not murders. Otherwise we'd have to consider every death caused by government mismanagement as murder.

When a homeless dies for the cold do you consider him to have been killed by his country?

When someone dies because they couldn't afford insuline, is it a murder by the government?

When a worker dies in a factory accident, was he killed by an unequal economic system?

Between 17500 and 46500 homeless died in the USA in 2018 alone[0], was that mass murder by the government? No? Then the Holodomor wasn't a genocide.

By the way, get your numbers straight again, it's 3.9 millions[1], not 5.

- [0]: https://nhchc.org/homeless-mortality/

- [1]: https://cla.umn.edu/chgs/holocaust-genocide-education/resour....
Make Something With Your Hands (Even if It’s Hideous)
Not so fast, these are only the crimes we know about.
That's an Apple thing, though.
Exploring Randomness in JavaScript
this is why we need zero knowledge proof
> you'll note that ex(1) is installed by default on every linux distribution except alpine

On my system, it seems to be set up as an alias of vim ("Entering Ex mode"). Huh. A bit more reading after that has been an interesting historical detour.

> i know a programmer who still uses it as his preferred editor, preferring it even to vi

I've never tried ed before this comment. Others might see it as strange and clearly teletype-oriented, but I think it's refreshingly explicit about every action taken. Even more than ex, it's a vim ancestor where commands and state are persistently visible instead of being hidden.

Thank you for mentioning this, but now I'm a little worried I might start wanting to use ed too.

> i've certainly done plenty of real work with tcsh and bash, where the primary user interface paradigm is editing a single line of text to your satisfaction, submitting it for execution, meditating on the results, and then repeating.

I think you've hit on something important here. Web-oriented workflows with live reload (and Flutter[1]) inherit this. I think it means the form of the REPL itself isn't what we should be focusing on, but easy iteration and maybe cached results to save power and time.

On the topic of accessibility, do you have any opinions on Hedy[2] and whether a long-lived, low-power system might have room for something like it? The site is annoyingly JS-filled, but the idea is interesting: a language where the names in the symbol table are more overtly a user-localizable value.

[1]: https://flutter.dev/

[2]: https://www.hedycode.com/
Yeah I should give Tumbleweed a try at some point.

It's hard to give up the Arch PKGBUILD system though, it's an even simpler ebuild which was originally why I loved Gentoo so much.
Could really do with an easy way of viewing - for all important nutrients - all the best sources that you can eat where something you can't eat is a significant source.

So for example I enter that I can't eat beef liver (presumably via a helper group that I'm vegetarian or Hindu or no beef or something) and it tells me to keep up my chicken liver, whey protein powder, ... intake for riboflavin & biotin.

But doing that across all vitamins etc. at once having entered all the things you don't eat - because it's too much to be on top of otherwise, imo, and I think it's pretty easy to think you eat a balanced and varied diet but actually not have any good source of one or two specific things at all.
Ask HN: What do you think about a conversational AI toy?
Thinking of a chatty AI toy for kids (3-12) to play with instead of screens. It would talk like a friendly grown-up and teach them some subjects like English literature, math and science, with only kid-safe, G-Rated topics. Are you a parent, what are your thoughts on this? Good idea? Why or why not? What features would you like for your child?
Your insights are gold! Please Let us know what you love and what we can improve.
My baseline would be similar to that which you get from modern compilers and automated tests. Something like:

Lib/urllib/parse.py contains disallowed string "itms-services" at line 62 column 25
Reason: Apps may not install or launch executable code, such as through the itms-services URI schema.

To get credit for "giving you a clear direction", I'd want them to make available and suggest a fix. In general that could be "if this is a false positive, click to request a human reviewer make an exemption" but ideally monitoring for this kind of issue in the first place (sudden increase in identical rejections) and fixing the broken check.

Instead, Apple seem to omit the information on the first line that they likely already get from their internal tool, and not only don't suggest a fix but make the proper fix so unavailable that it's easier to get the language itself changed than a check in their review framework.

> But it has been known for over a decade now that Apple searches binaries for strings. They've never done runtime execution checks which would pick up you actually making such an HTTP call.

It's true that someone with folk knowledge about the way Apple does checks, gleaned about the process by other frustrated users, could likely infer the way in which Apple's test is broken and so eventually deduce the first line from the second line. That's not Apple giving a clear direction - that's developers managing to work around an inscrutable system.
I'm not blaming the victims, but at the same time they will have seen several warnings from their browser indicating that the sites are unencrypted and not to send sensitive information.
sounds like he was simulating openid-connect flows by saying "login with Google" or "login with Facebook" and then storing the credentials entered which would be cleartext.

I always suspicious of these flows for specifically this reason. The flows are secure as long as you know you are talking to the correct identity provider, but I think most laymen would not understand that concept.
This will be very useful! I just setup my alerts.

What AI did you use?

And what is the tech stack of the site?