skysight-inc/HackerNews huggingface dataset:
One of the reasons I created Next Generation Shell. It has exceptions. So "if $(grep ...)" works correctly as opposed to bash. grep exit codes: 0 - found, 1 - not found, 2 - error. bash can not handle this correctly in if. There are just two branches for 3 exit codes. NGS has two branches and exception that can be thrown. Yep, every single "if grep ..." in bash is a bomb.
Ask HN: What's Your Biggest Regret?
If you could change anything about your past, what would it be?
Impressed with the results I got. You only allow US citizens to sign up?
> Digital Ocean virtual machine hosted in EU

The Schrems II ruling says it's not enough to have the data hosted in EU since DO is a US corp.

One trick I've seen people use is to move the discussion to a different forum, like posting the article to HN and having a link in the article saying "Discussion on Hacker News".
We're still talking about the solar power density here though. Ofc blue is a higher frequency than green, noone disputes that. But you can't technically say green is high(er) in the solar power spectrum.
For most people. I carry an SLR almost everywhere.
TiKV is basically a layer on top of rocksdb https://github.com/tikv/tikv/blob/956610725039835557e7516828...
> Even if we did do that, I've done some research on measuring difficulty of Sudoku -- many Sudoku grids are unsolvable by humans -- they are far too hard.

> A different, and interesting, question would be how many Sudoku are there which can be considered human-solvable. That's an even more open problem (we'd have to exactly define human-solvable to start).

What does it mean for a sudoku to be non solvable by human? I wrote a sudoku solver once and thought humans solving harder sudokus is basically exactly what a computer would do: guessing number and trying to solve it further, backtracking on failure. Or do you mean non-human solvable as "it would take a lot of time for a human to solve it"?
No-code machine learning for image classification
Great tool to create and use machine learning model on the fly. Meanwhile, all no-code solution how to create a ML model. With this, you can also analyse your images without coding.
disclaimer: I am the author :)
If we push everything to the edge we might end up with an ecosystem where it's not affordable to run your own VM, and we'll be stuck building only on the technologies offered by edge providers. Even if it's not literally the case, for the working dev it might end up being the practical reality if edge hosting ends up being the trendy default. The equivalent to "no one got fired for buying IBM" and now "no one got fired for choosing React"

Cloud functions are cool, when you need them, and when you want them. But if they were the only option I would go do something else for a living.

I am already imagining the day where some young developer comes to the bold new idea that we could write better software, if only we hosted our own runtimes! Much like frontend architecture broke new exciting ground when they recognized they could compile their pages on the server before sending them. Wow!
Potentially range? But practically anyone who actually uses self managed cellular will be in an industrial setting (“let’s use 5g for all the sensors in my oil plant”)
Shouldn't HTTPS prevent this unless the client has the certificate of the MITMer installed?

This being security theatre, it is entirely plausible that the "security" proxy actually decrypted trafic and required the user to have the certificate installed.
Corporate profite is at a 50 year high. What does that teach us?
> #6: Noisy, crowded offices.

I really do wonder why this point hasn't led to outright abolishment of open-plan offices.
Possibly sorting networks could get practical benefit from the Alpha treatment.

I think the largest sorting network proven optimal is for a block size in the teens (13?).

Analogously to matrix multiplication, it matters most where comparisons are much more expensive than swaps.
About "there is so much more to photography than...": a guy I met in a vacation years ago was taking pictures with a low cost phone with at best an average sensor. Nevertheless his pictures were always more memorable than the ones that other people in the party were taking with 1000+ Euro cameras. OK, he couldn't zoom into the eyes of birds on branches (my cheap 30x compact camera could) but he had enough talent to make me wish he had one of those cameras.
Full setup guide here: https://github.com/Wooty-B/LX2K_Guide
There is a waste that will have the potential to kill until the end of time and produced at most mines, and exist in every electronics. Heavy metals. Lead is obviously the big one. It has the potential to kill every single person who will ever exist, and it is unearthed when we mine iron and stored as waste.

Heavy metal poison also develops over decades and enter the body primarily from the food we eat. Lead ruptures the red blood cells, causes axons of nerve cells to degenerate, and kills the immune system. It is a slow and painful death.

As a statistical thing, every item of steel that we own or use, like electricity and the devices that run on it, has statistically produced some amount of lead waste. It causes a half million death per year, it causes almost 10% of intellectual disability of otherwise unknown cause, and every single person who lives has some amount in them. You and me have lead in our bodies.
the prevalent type of places that would hire traditional java/glassfish/websphere/etc are probably not posting on hn

if you were able to search taleo or something you'd probably go "huh there are almost no rust or ocaml jobs"
And for those who cannot wait, there is quickwit :-) https://quickwit.io
GTK looks like shit on Linux too unless you are already using a GTK-based desktop.
It's a bit more nuanced than that. Standard CD-R and DVD-R uses organic dyes for the recording layer, which are sensitive to light and humidity. M-DISC DVD-R used some proprietary inorganic layer, which was more durable in theory and in independent lab tests[1].

When BD-R was introduced, all discs used the same inorganic recording layer, including M-DISC BD-R. That, plus the lack of independent tests, plus the fact that the manufacturer Verbatim likes to muddy the waters between M-DISC DVD-R and BD-R, led some people to conclude that there is nothing special about M-DISC BD-R. However, after a few years, disc manufacturers started making BD-Rs using organic recording layers again with inferior durability[2]. Initially these were marked as "LTH" discs (with the original non-organic BD-Rs marked as "HTL"), but nowadays they mostly stopped marking them at all so you simply don't know what you buy.

With M-DISC BD-R you'll likely get a HTL disc (but it's not garanteed, since they don't advertise it either). Additionally, there's more to durability than the recording layer (such as the material of the reflexive layer, and the overall build quality). And there is at least some anecdotal evidence that M-DISC BD-R are indeed more durable than the median BD-R[3,4].

The consensus among enthusiasts is that for BD-R, M-DISC and Panasonic HTL (Made in Japan) are very good. But they come with a big price premium (about $2 per disc vs $0.60 for some generic LTH disc).

[1] https://en.wikipedia.org/wiki/M-DISC#Durability_claims

[2] https://en.wikipedia.org/wiki/Blu-ray_Disc_recordable#Record...

[3] https://blog.ligos.net/2022-04-02/The-Reliability-Of-Optical...

[4] https://www.microscopy-uk.org.uk/mag/artsep16/mol-mdisc-revi...
Can anyone explain to me how the kiwix library site works? There’s 3 Wikipedia listings that all have the same name, description, language, and author, but seem to have different content. This pattern repeats for the “Wikipedia 0.8” and “Wikipedia 100” sets. One of the latter says that the top 100 pages on Wikipedia require 889 MB? What’s going on here?
The issue is not so much "can I browse a virtual file system" but more "why should I depend on one local file system sitting on a remote server, probably owned by a third party, as being the single source of truth for my own files."
Also other leaks that had names and addresses but not amounts.
Some time ago I dreamt that I was in an alien space ship for some reason. Still carrying my phone and laptop bag. They were a friendly lot and asked whether or not I would like to charge my laptop. Do you have 220V sockets I asked. They didn't know what that was. So I needed measurements and definitions. An approximate meter, an approximate second. Coulomb was difficult. I woke up and downloaded Wikipedia the next day. Deleted it again later for lack of harddisk space...

But next time this happens I will have an USB stick with all the necessary knowledge. The definitions for voltage, current and frequency should however be printed out in case my laptop battery charge is insufficient for accessing the USB stick.
It baffles me that Amazon doesn’t want to do anything about this. I guess the only thing I can do is cancel my Prime account and never order anything from them in the future.
This sounds like an interesting case of third parties recommending sets of products that create unfortunate combinations within Amazon's own recommendation system. Twitter is an absolutely terrible format for such long form content, so here's the threadreaderapp link:

https://threadreaderapp.com/thread/1578121305664143360.html
> The `let ++` example is pretty damning.

Seems kind of logical, the following c code behaves the same way.

#include <stdio.h>

int test(void) {
int i=0;
return i++;
}

void main(void) {
printf("i = %d\n", test());
}

'let i++' evaluates to / returns 0 before increasing i, just like c would.
Part of why that happens is Intel selling chips closer to the red line. You need cooling similar to what used to be exclusive to overclocking just to keep the stock CPU cool.
When CD was new, there was research that said it would last 1-5 years
Nothing that serious! Just one of the annoying ones (and visible). If it were anything as serious as MS I’d be much more sceptical, and not so flippantly confident either.

The papers do outline some mechanisms that at least don’t exclude the possibility •shrug•

MS is in my family so, yeah. It’s no small thing.
I'd say 90% of the photos I've taken of my kids has been with a dedicated camera and big lenses. It is definitely nice also having a camera that is readily accessible for certain situations, but I don't find its use generally compelling as unless photography is what I want to do with that time I'd rather spend that time enjoying life with the kids, not watching them live their lives behind a screen. When photography is what I want to do, I can have the dedicated camera at the ready.
Basically the actor is given information to know, some background on the character, and the rest is improv.

So you’d get a couple of paragraphs explaining what the character was picked up for, etc.

The first steps was learning how to direct question. The actors would pretty much shut down if you did something wrong like try an approach or ask leading questions. And they wouldn’t respond for the rest of the session. The goal was to force it into our head that once someone is willing to answer us, don’t stop asking the right questions. During the test though, the actors would give you wrong information instead of shutting down.

Then we started learning of approaches. The actors goals here was much the same except this time their goal was to not give you information unless they felt like you deserved it. I’ll never forget this one time, I got baited into a religious discussion. It was so obviously a trap and I fell right into it. Didn’t get a single bit of information because I pissed off the guy for not knowing enough about his religion.

Most of the time the first bit is figuring out core motivation. Is the person motivated by power or emotion?, and then giving them that as a carrot or taking it away. So you are genuinely trying to get to know the person, and that person is stuck in a room with you so they don’t have any other choice other than not saying a word (the worst!!).

If it’s done right, you end up caring for these people to some degree. Even though you don’t want to because sometimes these people have done absolutely terrible things. It’s a rough job. It wasn’t until I became a parent and realized that emotion is similar to when your kid misbehaves. You love your kid, but the child has to be punished. So while your child is sitting in the corner, tears streaming down the face in shame and betrayal, you love them but have to teach them that there are consequences. It’s nearly the same emotions as that moment except every single day, all day.
Managing storage and compute together is one of the biggest issues with ElasticSearch it makes managing a cluster a fairly complex task, I think it's natural to see them move in this direction.

I imagine that, especially after the OpenSearch debacle, they're keen to make sure they don't lose even more marketshare so they're paying particular attention to the way the wind blows and wanted to do this PoC so they can at least compete with people already in the stateless space like Quickwit.
problem with eating more fish - you're also eating more heavy metals which potentially destroy braincells
I recently sampled a CD-R from late 90s, mostly videos. I couldn't open a few files. Storage: inside home, temperature range from maybe 18 at night to 35 max. I'll give a try to ddrescue.
Sodium nitrite is used to cure and preserve meat. That's why Amazon sell it. It is not a "suicide kit" any more than any other chemical.
Moore's Law is transisters per square mm or something like that.
Just drop a second layer on top with 3d fabbing and im sure moore's law will go on for a decade. inbe4 we have 2,4,8,16,32 etc layer architectures in the future.
GDPR is absolutely unenforceable in cases where the data controller has no presence in the EU.

The EU can scream all they want, but they have no recourse whatsoever.

Also, extraterritoriality is ass.
Or not at all like last week. Screens would take forever! It was better the next day luckily.
There are lead backing sheets being used with PV, but they aren't required, and are being phased out in Europe and some other places. The lead is incompatible with some PV new higher efficiency silicon PV technologies due to processing temperature, so there's additional reason to get rid of it. Bifacial PV cells would not have a backing sheet. In any case it is not a requirement for even monofacial PV.
This is not a bad approach as long as you only look at your photos on a phone. If you ever print them, or look at them on a monitor, they won't measure up. But for convenience, you can't beat a phone.
The Election-Swinging, Facebook-Fueled, Get-Out-the-Vote Machine
I parsed "Classic SE" as "The first version of iPhone SE"
Faltering how?

Everybody's coal consumption in Europe will go up this year. One of the few viable quick replacements for gas is power plants that were about to be turned off.
A human with sufficient pens and paper available is a (time-constrained) universal Turing machine, so the only Sudokus that aren't solvable by humans are those that take longer than a few decades to solve. In practice, humans don't like spending that much time on solving a single puzzle. And to most humans emulating a Turing machine is also not particularly enjoyable.
I am 33 years old haven't gotten a programming job yet. I could be making so much money now if I'd done it years ago. I'm hoping to finally make that change in the next few months.

But I couldn't stick to one language or specialization, I have a bunch of half-working projects and nothing finished. I kept switching depending on what interested me at the time. And I kept putting it off due to poor mental health and travel.

I'll never catch up to people that started in their early 20s, but I hope I can figure out how to climb the ladde as quickly as possible.

If I could go back I would finish one thing before starting another.

I also wish I had studied computer vision at uni instead of being the idiot teenager that did game development.
From the thread:

> Amazon recommends that purchasers also buy Tagamet to avoid vomiting up the poison, a personal use scale to measure the proper quantity, and the Amazon Edition of the Peaceful Pill Handbook, a suicide manual with an entire chapter on how to die by SN.

That's definitely a suicide kit.
They can claim extraterritoriality all they want, but they have no recourse whasoever if the data controller or processor has no presence in the EU.

What are they going to do? Send them a mean letter?
Not the GP, but I think in general the “guess and check” strategy frowned-upon by the Sudoku community. Ideally you should be able to make progress by making some logical observation (a trivial example: the numbers 1-8 are present in this column, therefore the remaining cell in this column is a 9). Humans can carry this out to complex patterns (the “swordfish” involves looking at 6 cells in 3 different rows/columns and inferring that cells visible to those cannot take on particular values), but it is seems reasonable to say that patterns will reach complexity that humans can’t hold in their heads. Obviously, any such classification would be subjective, but there’s probably a “reasonable” limit to solvability. (Without guess and check)
Ask HN: What programming language do you think is the best for Web Applications?
Gime me your thoughs :)
That is just plain wrong. No later than a month ago I was in vacation and took several picture with a regular mirrorless (Fuji x-e3) and a new pixel phone, while others in the group had iphones. The mirrorless picture quality was just miles ahead. In bright conditions the pixel were pretty good for the light parts but not for any shadow, and it lacks nuance. iPhone photos are just not that great, with colors all over the place, and bad shadows. Sure it may look fine on the iphone screen for instagram but put that on a bigger screen or print and it's just not good.
Most software isn't hard at all
Language Feature: In-Place Construction
I seriously wonder why Sony hasn't put their Xperia Android firmware into a camera body.

They already do something similar for MP3 players, so why the heck not in cameras.
set -euo pipefail

This is how all of my shell scripts start.
I was just watching the construction of my new home and they drilled into the brick walls all the time. [0]

None of the walls were empty, all were solid brick with no empty space.

It was quite a mess, though the guys doing the job were very professional and handled the dust disposal very well.

[0] https://imgur.com/a/A3i1ANg
Nope. Decision trees typically output binary (or multinomial) values directly.

Sure, you could tune the node thresholds (or optimize them during tree construction), to vary the trade-off between specificity and selectivity, but this may not be straightforward for deep trees or those with many leaf nodes, and it will never be as simple as simply tuning a single threshold (unless you are using decision stumps, rather than decision trees).
What’s the price for prefab like? Their website wouldn’t say.
I think there is almost no debate that eating sea food twice per week is good for you especially from high quality sources. Now you can get decent Omega 3 supplements from plankton but largely the only way these days is from fish; eggs and meat also used to be higher in Omega 3s but we feed them the wrong diets - grass fed beef is good for this too.

I think this comment conflates health arguments with vegetarian morality arguments which is unfortunate. The article is specifically talking omega 3s something the vast majority of vegetarian and vegan diets are low in (no Flax seeds don’t count). Morally speaking maybe Vegans should consider farmed oysters twice per week, they are high in Omega 3 and have no central nervous system or brain to stress out about their delicious end.
The cover is not only political. One needs the plutonium for enrichment in the first place. If you fuel a nuclear power plant with uranium-235, you get it is a by-product.

I consider nuclear proliferation as one of the largest dangers we are facing, because it increases the risk of conflicts escalating into nuclear wars. So everything that makes it harder to create nuclear weapons is important.
Don't buy it. A sandbox is a sandbox. Yes, javascript runs in a sandbox, but other technologies exist beyond javascript-in-a-sandbox.

This is just really inefficient: VM in WASM in javascript in a sandbox in a browser, is insane and will forever be slow due to complexity.

Fun for the lulz, but for the planet's sake I hope this doesn't get adopted.
"She was paid large sums of money"

And therapists specializing on 'recovering' memories aren't?
Ladies and gentleman the Real World®©™ i complex... Cam? How much their dinamic range can master direct sunlight, water/snow/something white and big, glass reflections? How about a flying large leaf passing in front of the stereocam? Ultrasound? How do they perform with heavy rain mitigation and environment high background noise? Radar? Same for heavy rain, very little reflective materials etc. Long story short NO SENSOR works well enough in all possible circumstances.

That's why the last decision must be human, the human awareness of physical world surrounding can hopefully correct perception errors of sensors and human sense themselves, that's is. So far IMVHO that's the best "tool" we can choose. Normally cars should not run so fast in so tight environment where quickness can't be enough and in general, IME no sensor is really quicker in practice.

Doing more? Well than we need to change roads, not cars, and that's HYPER expensive... I mean for instance adding under lanes a small metallic band radars can detect to give something surely and precisely visible by sensors, using some reflective powder in temporary lanes to allow seen them and recognize the different response as "that's the right one, ignore the other", small plastic poles with reflective material aside at regular distance, for the least expensive part. For circulation the sole reliable and potentially affordable is vehicle to vehicle communications meaning every running vehicle emit a beacon any others can detect, parked vehicle can wake up and respond to the beacon as well. That's far from perfect since only new vehicles would have it, but that's also the best solution we have. The beacon beam the size and speed of the vehicle, trajectory analysis is possible. More precise and (far, but not really so far, +300€ per vehicle I think) more expensive adding a small optical gyro to have also the right real direction to compute more precise trajectory can be useful and in that sense FEW beacons on the road itself, activated by passing vehicles can tell the right GPS position to have both more precise navigation allowing an easy local direction (from the gyro) + distance + map to know where we are around 30-50cm precision... All systems are complex but scalable and not so expensive on scale to be doable, the point is if they are worth it or not if we decide to go to a "flying" future for all light vehicles...
It's evil. But it's an evil that exists because of optics made necessary by the current political climate. So the blame for that needs to go to the people that make such optics necessary, if you catch my drift.
Not sure about the claims that blue ray's longevity may be less than cds and dvds. The technology greatly improved in the past decade (the article was written in 2010) and multiple sources saying the opposite. M-DISC brds seem to be capable of long term archiving.
> the next year will focus on Sarbanes Oxley compliance, guys!

How is it more boring than any other kind of project you'd do in a large finance institution?