skysight-inc/HackerNews huggingface dataset:
No, it's not time to stop taking photos of strangers because capturing a public moment is called documentary, reportage, and also is an art practiced for a century or more by the likes of Cartier-Bresson and Martin Parr. And it's a journalist's ethical duty, or even a citizen's, important in case of abuse of power, such as murdering by law enforcement forces in certain countries. However, it's important to dismantle platforms that reward engagement based on voyeurism and cruelty towards strangers for the purpose of advertising, such as the cases described in the article. So no, unless stop taking film and photos of strangers means disabling all the security cameras that constantly intrude in our lives in public spaces to analyze data unilaterally. Which is what would remain.
I can’t tell what you mean.
To give a slightly more technical answer, at a large insurance company I used to work for, the legal department had provided definitions on what conditions we would consider various components of PII a match. So between SSN, DoB, First Name, Last Name, and a couple others, there were potential combinations that our system would say, "yes this is the same person". Note that we didn't necessarily need exact matches on things like names, but "close enough" matches were sometimes sufficient.
Understanding How Array.sort(comparator) Works
Only for online access. Offline access is still a thing, and in no way "obsolete".
OpenBSD, the computer appliance maker's secret weapon
How is it divisionless when there are right shifts in the code?
It's a grey area that AFAIK hasn't been conclusively determined; last I checked in Germany you're allowed to have a dash cam as long as it only records/saves on demand (and you're only allowed to exercise that function if you have a reason to, e.g. some accident happened.)

Publishing is yet another question and even more tightly restricted. AFAIK (again), in Germany you need to censor all people and car number plates, but then it's OK.
To Believe or Not Believe Your LLM
Stretchy OLED Display with Superior Resolution
> incrementing IDs falls over too

This is a myth. Planetscale [0] uses integers. They are assuredly at scale.

As for auto-incrementing, there are plenty of solutions for distributed systems.

[0]: https://github.com/planetscale/discussion/discussions/366
There’s an example in the linked thread. Suppose you write some code like

if (a+b) % 2 == 0:
…

And the compiler is able to figure out that a and b are even (that is they both have 0 in the lsb), or if it figures out that a = b, this kind of known-bits tracking allows it to get rid of the branch. The code in the OP can be used to make tracking known-bits fast enough to be practical
Nokia demos upper 6 GHz band for mobile, but UK wants it shared with Wi-Fi
Not really a nethack player, but in the comments on the article a player states this

>edit: aha, I think this is it - attacked werecreatures are much more likely to summon help on full moons. Poor bot probably got overrun.

It may have better outcomes in most situations, but if you're depending heavily on a particular strategy and that changes then you're in trouble.
It trained itself on its own gameplay? :)
An equation to determine when robots will take your job
It must be understood that its not illegal in Germany to take someones picture in a public place, but to _publish_ it or make it available to the public, or use it for commercial purposes, without their permission.

That is a very distinct line that is often confused. If you are in public in Germany, I can take your picture - I cannot publish it, however, without your involvement. I can take your picture if you are in the middle of committing a crime, for the purposes of providing evidence to the police.

The fact is, it is a fundamental human right to be able to record ones environment, and this right is just as important as the right to be free from ridicule through a publication of ones image.
How do AI software engineering agents work?
Very interesting thoughts you've got there. Nice
I assume phones have to be built with the capability to connect to this? Anyone?
Intel CEO says China must make its own chips if sanctions become too restrictive
I've found Raspberry Pis to be too unreliable for my homelab needs due to constant crashing and random performance drops. Instead, I bought two used 2012 Mac Minis with 16GB RAM, 1TB on eBay for about $120 each. I installed Proxmox on them, and it’s been a much better experience. It's nice not having to deal with ARM. They look decent and, most importantly, are super quiet. So can even use them in the living room. Absolutely zero issues with this setup—boring hardware wins.
I also built AI-based quality assurance automation to check archive quality for archivebox recently, it works surprisingly well.
It's not really fine. I work on a Healthcare system in the nordics.

Who you billed, who visited what doctor, who your primary care provider is, all the people a doctors office has as patients, refers to the SSN.

You don't want to lose that connection or to have to update everything for any change.

You store a unique identifier for the person in the system, and you can then pull the actual personal identification number when needed.

You do not keep individual private lists of people changing genders.
Why is redirect logic always so complex?
Oh whoops that's an oversight! I'll fix that up tonight.
I hear this argument, but I don't really believe it.

If you're talking apps before say 2015 (10 years ago), they can be emulated on ARM faster than they ran natively. That rules out 95% of the backward compatibility argument.

Most more recent apps are very portable. They were written in a managed language running on a cross-platform runtime. The source code is likely stored in git so it can be tracked down and recompiled.

Over 15 years of modern smartphones has ensured that most low-level libraries have support for ARM and other ISAs too as being ISA-agnostic has once again become important. Apple's 4 years of transition aren't to be underestimated either. Lots of devs/creatives use ARM machines and have ensured that pretty much all of the biggest pro software runs very well on non-x86 platforms.

Yes, some stuff remains, but I don't think the remaining stuff is as big a deal as some people claim.
They are harvesting it for themselves, not for you.
another fun etymological rabbit hole for you: stereotype and cliché both probably originated as typographer jargon.
>You aren't allowed to film people in public without their consent.

This is incorrect. You are allowed to film anything you can see and hear in public - you are not allowed to publish those pictures, or use them for any commercial purpose, without consent.
In addition to corporate control, I believe that consumer consent is a major issue. Sure, labelling something as a GMO is going to have a short term impact. Yet it is a fairly safe bet that the vast majority of people simply won't care whether a given product contains GMOs or not within a decade. And those who do care would have been choosing things like organic produce anyway.

Instead we have a situation where people feel compelled to lobby governments to place more stringent regulations on the industry simply because they are left with no meaningful choice in what they buy. Worse yet, it breeds suspicion not only of corporate motivation but of product safety. The latter of which is of greater concern over the long term viability of GMOs.
This was on the front-page for a brief moment and is now nowhere in the top 150. The irony writes itself.
Whatever technology you use, it doesn't dispense you from monitoring and making it resilient. K8s isn't different from anything else in that regard.
Raymond Briggs was being fully self aware using Golliwog, knowing that Enid Byton had used it in a thoroughly racist manner in The Famous Five childrens books:

The story follows one day in the life of a working-class Bogeyman whose job it is to scare human beings, who are referred to as Drycleaners, and the narrative hinges on the joke that Bogeymen enjoy all things humans find disgusting.

One illustration shows a puppet reminiscent of the traditional “golliwog” but with pink skin and yellow hair. The annotation reads: “Boggiewogs: The Bogey Golliwog. These are a caricature of pink Drycleaners. They always have huge blue eyes, rosebud mouths and curly blond hair.”

It's mocking the traditional (to that time) British use of Golliwog with a blue eyed racial stereotype doll ... making children question and puzzle over such things in a fun book about farts, slime, dirt, etc.
Am I the only one who choose convenience over privacy? This should be a checkbox and not export and import.
Don't give them ideas. Although... EU will smack them with fines for it. And probably California, too.
The ADAC (German car club/lobby) has a summary of the current rules and cases [0]. Even giving it to the police can be illegal (though we also don’t have a general fruit of the poisonous tree doctrine, which might make it illegal but could still mean the court can use it). It’s all kinda complicated.

[0] https://www.adac.de/verkehr/recht/verkehrsvorschriften-deuts...
"Publishing" means making something available to the public.

It does not mean making my own copy of something.
This category of issue is present with many types of web archives. Sanitizing archives during capture or retrieval while maintaining fidelity is a really hard problem.
python is one of the languages where i do this. it's more using good typographical practices with line breaks, rather than using whitespace. especially with code comments
For some reason I expected a "not-first-class" experience while using my own hosted runner but that was not the case. It works and behaves exactly as their own runners do. Maybe s/surprisingly/extremely would be more what I meant.

Just wanted to add, I loved your post on logging Nomad allocs using Loki. Was a huge help while I was setting up our clusters at $CURRENT_JOB
The other difference between HIPAA and GDPR is compliance rules. Under GDPR it is not a problem if all your employees who have access to your database have access to PII (since, from the perspective of GDPR, the customer has given consent to share their information with your organization as a whole). Sharing with third parties outside your organization is where you get into trouble.

But under HIPAA, even your own employees need to have a specific, documented justification for accessing customer PHI. If they can do their job just as well by only accessing a non-PHI dataset, you're required by law to only allow them access to a scrubbed, non-PHI dataset.
This is the modern job market. Only hire people already hired and give them piles of money.
yes, absolutely.
You’ll have to worry about performance tanking instead. If you’re using UUIDv7 then less so, but it’s still (at best) 16 bytes, which is double that of even a BIGINT.

Anyone who says UUIDs aren’t a problem hasn’t dealt with them at scale (or doesn’t know what they’re looking at, and just upsizes the hardware).
But SSN's are artificial, automatically generated keys. They are not natural keys, they cannot be natural keys for persons, because not every person has one.

A natural key is a set of attributes which an entity has even if it is not in your database.
People take photos of other (unconnected) people who are the primary focus of photographs all the time--and publish them. Maybe they're not supposed to in some countries even in public but they do with great frequency.
Let’s not get sexist here! It also avoids random d1ck and c0ck sorts of tokens.
I think the title is best written as "some European countries have higher median wages than the United States". Tech is still likely to pay more in the US, not to mention the fact that there are far more tech jobs in the US than in the EU. Europe has really failed to recover from both the 2008 financial crisis and the covid-19 pandemic, while US GDP growth has soared since then. Europe is now facing a dire economic reality where it will likely have negative growth in the coning decades as demographic pressures and regulation constrain its ability to invest in new industries
Doesn't work with most of the pages I've tried it on (compared to Singlefile).
Netlify and vercel are also great options
Assuming an average workload… devices like the m80q, m920q are not loud at all. Maybe the computer needs cleaning or is overheating for some other reason.
There is a short section in the English Wikipedia [1]. It however lacks all the nuance and interesting interactions listed in the German article. Not only are you allowed to photograph people if they are not the focus of the image, the expectation of privacy is also loosened for famous or exceptional people (though still stricter than in US law). In the case of artistic pieces there can also be a weighing of interests where the interest of art can take precedence over the interests of the person. Also you are for example allowed to photograph or film police in the execution of their duties, but you aren't allowed to write their name next to it.

The principle is easy to sum up, but applying it in practice on a nationwide scale opens up a lot of cases that have to be dealt with (and have been dealt with in German law)

1: https://en.wikipedia.org/wiki/Personality_rights#Germany
Illegal is one thing, but more importantly: many people will not at all appreciate you filming them, though it's probably very much depending on where you are (it's probably more accepted in tourist areas). Germany is actually relaxed regarding this compared to France, where you might really get into trouble for filming people without their consent.
They are attempting the same just below orbital trajectory as last flight. They will not be attempting an in orbit-ish deorbit burn, as they have stated that their primary goals are getting the ship through peak reentry, and the booster to a simulated soft landing burn.
The distinction I’m making is that while you can interpret the throne of Gondor as a liege lord with vassals, that is as much because when we are telling a story about a legendary king we understand that idea of ‘king’ in familiar terms, and as western readers our image of a warrior king is rooted in medieval castles and courts.

But Aragorn is as much of a feudal king as Gilgamesh, Minos, or Arthur. The various princes charming, wicked queens, and abandoned princesses of fairy stories are all vaguely ‘feudal’ in feel too but that doesn’t mean the stories are embedded firmly in a world of strict Christendom-style vassalage and primogeniture succession.

My point is really that asking what Aragorn’s tax policy was is like asking what the economic consequences were of King Midas’s reign. By the end of RotK, he’s a ‘king’ in the archetypal, storybook sense. You know: the King. Happily ever after.
Yes, and I like to combine two established concepts instead of rolling my own: URI and UUIDv7. So my IDs become `uri:customer_shortname:product_or_project_name:entity_type:uuid`. An example ID could be `uri:cust:super_duper_erp:invoice:018fe87b-b1fc-7b6f-a09c-74b9ef7f4196`.
It's even possible to cascade such IDs, for example: `uri:cust:super_duper_erp:invoice:018fe87b-b1fc-7b6f-a09c-74b9ef7f4196:line_item:018fe882-43b2-77bb-8050-a1139303bb65`.

It's immediately clear, when I see an ID in a log somewhere or when a customer sends me an ID to debug something, to which customer, system and entity such an ID belongs.

UUIDv7 is monotonic, so it's nice for the database. Those IDs are not as 'human-readable' for the average Joe, but for me as an engineer it's a bliss.

Often I also encode ID's I retrieve from external systems this way: `uri:3rd_party_vendor:system_name:entity_type:external_id` (e.g. `uri:ycombinator:hackernews:item:40580549:comment:40582365` might refer to this comment).
Think again: "Squarespace to Go Private in $6.9B All-Cash Transaction with Permira" - https://news.ycombinator.com/item?id=40343006
Micron GDDR7 for AI and Gaming – ServeTheHome
Your link just asks me for a login, which of course I don’t have. I’ve not heard of Ed before. I am interested but the “see how it works” section doesn’t really tell you how it works. As is the trend, it seems you have to sign up first. Shame.
IMO it's nice to have two keys:

1. An auto-incremented 64-bit (unless you have a good reason, in which case 32-bit is fine) primary key, used internally for foreign key relations. This will generally result in less index bloat on associated tables, and fast initial inserts.

2. A public-facing random string ID. Don't use this internally (other than in an index on the table it's defined for), since it's large. But this should be the only key you expose to end-users, to prevent leaking data via the German Tank Problem: https://en.wikipedia.org/wiki/German_tank_problem

Only create the second key if this is data you're exposing to users, of course — for data that's only used internally, just use the 64-bit auto-incremented PK and skip the added index bloat entirely.
Show HN: I Made New Golang Database Migration Tool
Hello HN,

I've just released a new migration tool for Go that mimics the functionality of Ruby on Rails migrations. It's designed to help Go developers manage database schema changes with ease.

This allows you several benefits:

- Write type-safe migrations

- Auto down of migrations whenever it's possible

- Easy backfill even with business logic because it's Go code

- Painless integration with existing schema

- sql.DB compatible and driver agnostic (it uses your driver)

I have a pretty complete API to manage Postgres schema and I am working on the SQLite one (a little more complicated due to the lack of ALTER TABLE expressions). You can use a non-implemented database, you just will do SQL queries and won't have the benefits of the API.

Try it and give me some feedback, I would be happy to know what you think about my project!

GitHub: https://github.com/alexisvisco/amigo

Cheers,
Alexis
Indian Election 2024 Statistics Dashboard
Was looking for some good insight on elections but was not able to find one, hence we took the Election Commission data and imported it into EnqDB to derive some interesting insights .

I hardly took 45 minutes to build this dashboard .

Here are some key insights we discovered:

1. In Karnataka, the vote share was incredibly close between BJP (1.78 Cr) and Congress (1.76 Cr) .
2. Amit Shah secured 76.48% of the total constituency compared to Modi's 54.23% .
3. Rahul Gandhi achieved 66.16% and 59.69% vote share in Rae-bareli and Wayanad, respectively .
4. Despite BJP (49.18 Lakhs) and AIADMK (89.26 Lakhs) combining for a total of 1.38 Cr votes out of 4.36 Cr, they didn't secure a single win .

Check out the detailed insights on our dashboard through the link below .

https://www.enqdb.com/election.html

(Best viewed in desktop, we are optimising for mobile soon)
on Windows you can also use a standalone launcher like Keyprinha to do the same - only choose the stuff you want to be indexed. And then use Everything to find any file anywhere instantly (can be setup to show results in the same launcher)
That's bad too, but at least it's not right in my home folder! When I have to use Windows, I basically just avoid using Documents for files. (But my daily driver is an ancient version of OS X, which has ~/Library for these things.)
Transplanted Pig Kidney Is Removed from Patient
> “rename step” functionality is not intuitive.

We deployed the change to make it intuitive (similar to what is suggested) yesterday. It's still in integration branch so awaiting merging in main on this.

> i thought perhaps it had executed the step, which the check mark indicating completion or success.

Noted.

> It wasn’t clear that it was an input box since it didn’t have focus, and it wasn’t clear that the check mark was a button.

Noted.

> It seems like it’s the “Data” field, although the name doesn’t make much sense.

It is indeed a dropdown list but we had hard-coded it for sandbox so user can't change the source of an existing step. It is changeable when you host your own version or when you add a new step in sandbox.

> There’s a “reload”(?) icon next to it, but I have no idea what that does.

In case user decides to add a new source on-the-go (say in another tab), reload helps fetch the same list again.

Overall, I do understand that some parts of it are unintuitive and is a focus area for us to improve it asap.
You appear to be describing a classic type 2 or type 4 slowly changing dimension. (https://en.wikipedia.org/wiki/Slowly_changing_dimension )
Do they have human support? Tell them to move to CF or else you quit.
The general problem, which is rooted in computer science, is that there is no data structure that could be optimized for any kind of possibly query [language | algorithm].

One corollary of this is that you need to look at the problem you want to solve and decide. I don't think SQL is obsolete but I think it is not the iption for every kind of problem. Specially in HN there are a lot of discussions about "big data", "data science", AI.
Thanks for the correction, I do keep fuzzying up taking vs. publishing. I've edited a note into the parent post.

(for completeness: taking photos is only restricted by §201a StGB, which makes illegal taking photos in someone's home or areas specifically secluded from public view, or if a person's helplessness is exposed)
You can get kind-of close with driver's license numbers. They will change when US citizens move among states, (and we do that quite frequently.)

(People who don't drive have to get state-issued IDs that have the same number. At least, they have to if they want to buy do anything that requires proof of identification.)
Nintendo leak:employee accessing private YouTube videos
Yeah, but you don't have to completely forgo resilience with "single machine". There's quite a few steps between "distributed" and "single machine". Why not just have 3 identical machines with a stateless monolith?
Nice! Learning Python by playing a game should be very interesting for the kids.
Right. They are doing it for privacy. Maybe also thinking of the children.

I really used it on the web. Was looking forward to the email they sent in the beginning of each month.

Bastards!
> If no one is hired then the employers don't have anyone to buy their stuff. Employers only do well if they provide someone else a useful good or service.

You're still stuck with assumptions that are obsolete in this scenario.

In the AGI scenario, the employers that are dependent on consumer sales will wither and die, as consumer buying power shrinks due to unemployment. Eventually the economy will realign towards certain kinds of B2B sales (e.g. electrical power) and vanity projects.

> What's more likely - not that AGI is likely, but still - is that people move into other jobs. In 18th century Europe almost half the population were agricultural labourers. Mechanisation reduced that drastically. That did not mean that other jobs weren't created.

Not if the AGI can do all those jobs better and cheaper than most people (or even just good enough and more obediently). There might be a rump of exceptionally talented individuals who still could be employed like today, but that's just a tiny sliver of the population. There will also be some "entertainment" jobs, like prostitute that will remain as well, but given the vast decrease in individuals participating in the economy, the total numbers would likely be less than now.

Not everything is going to be a replay of the past. As they say, "past performance is not indicative of future results."