skysight-inc/HackerNews huggingface dataset:
> it's useful to see the candidate's coding skills in advance

Yes, but only if it’s representative of their work. Good luck finding the one kind of sensible library I’ve written in the 100 forks and experiments.
Nixpkgs’s current development workflow is not sustainable
Twitter said to be close to a deal with Elon Musk
A 4 year old cannot be diagnosed with ADHD. His personality hasnt finished developing yet (that comes at around the age of 6)
> they engage in "marriage-like" behaviour and have similar outcomes.

Not the case in Sweden, one of the countries where marriage is odd and cohabitation is normal and marriage deviant. I’m not aware of any country where marriage and cohabitation have similar outcomes. Can you share your source?
My solution path for databases has been like this for a good decade:

1) Sqlite
2) Self-hosted Postgres
3) Big Boy Database, with an $$$ cost. (AWS Aurora, Oracle, etc).

Most projects never leave the Sqlite level. Only one has left the Postgres level so far.
The way I have been using it is basically anyone comfortably well-off and educated, living in a major city.

When the political right uses the term "coastal elite", etc.
I also encountered the vocalising/non-vocalising thing when going into speedreading.

I can supress the vocalising with a bit of conscious effort but it's not the vocalising that limits my reading speed. It's all the rest that goes on in my mind that processes the information I just read. If I'm looking for some specific words, not vocalising is helpful but if I need to remember and understand the text I'm reading, I do vocalising as that doesn't impact the rest that goes on in my mind.

So I'm not a speedreader but it did help me to improve my glancing skills and if I need to I can count really fast now by visualizing the numbers turning into each other.
Indeed, that is what they decided. However, I still find the interpretation very surprising.

The GDPR reads as if its authors had a different understanding. For example, the 'data minimisation' principle indicates that you should not be collecting personal data unless doing so would prevent the desired activity; serving an article, or even serving an article with adverts, can both be achieved without this data. There's also a question over whether the services are the same: a subscription appears to be materially different to one-shot access to an article, a question which is entirely overlooked in their analysis.

Beyond the weakening of 'detriment' to 'significant detriment' by reference to their pre-GDPR decisions, I also find the result unusual. The practical interpretation is that, if a user wishes to read 100 articles from 100 service providers all using this scheme, the cost of privacy is a significant detriment at €600. I am not confident that other data protection authorities will be as eager to jump to this same weakened interpretation.

There is probably a safer middle ground: giving the user the option to pay for either the article or the subscription, and allowing for either direct payment or payment by proxy through an advertising broker. In the latter context, the user's relationship and data-flow is controlled by the advertising broker, and the service provider needs no data relationship with the user. Of course, this shifts the controller liability into the advertisers -- something that they would probably prefer to avoid -- and I'm not aware of any services offering this or concrete decision on it yet.
That reminds of this quote from Aneurin Bevan - founder of the UK NHS:

"Illness is neither an indulgence for which people have to pay, nor an offence for which they should be penalised, but a misfortune the cost of which should be shared by the community."
> He cares about the future

He has been talking about the future for 20 years right now with little to show for. Tesla accounts for 1.3% of all cars sold in 2021.

In the same timeframe Microsoft put the future™ on every Americans desk, Apple put it in every pocket, Google created it on the web and Amazon delivered it to your door.

But of course people take all of that for granted because those companies never tried to substitute themselves to religion, in the sense that hope for the future™ is seen as a product to be pushed in the market to gain synchopants.
And if you have more processing in the loop, you can pipe that into one sed call:

for f in *.txt; do thing $f | sed; done

becomes

for f in *.txt; do thing $f; done | sed

which will start `sed` once instead of once per file in the loop.

However, depending on your shell and the exact loop you use this might cause it to be run in a subshell, which means you no longer get to influence the state outside in form of variables and e.g. jobs to wait for (ran into that once, had a `thing &` in the loop and a `wait` outside and was super confused that it couldn't wait). See https://mywiki.wooledge.org/BashFAQ/024.

And if `thing` takes a list of files, you can do `thing *.txt | sed` to start `thing` only once.

Also you can often use the shell's string replacement - `echo ${foo/bar/baz}` instead of `echo $foo | sed s/bar/baz`.
My preferred production DB is PostgreSQL. However, for small experiments,
SQLite is more versatile due to fewer dependencies, single binary, zero install overhead etc., so I use it often, in particular for research experiments and systems prototyping. The only thing that ever bothered me was the lack of type enforcement, which has since been improved.

Production uses: 0 (1 if my Ph.D. thesis code is included, which had some C++ code that linked against version 2 of the SQLite library).
Single threaded development seems a noteworthy goal, and I partially agree that it often leads to much simpler code and works well in systems like Erlang. But it is also a questionable focus in the days of barely increasing single core performance, especially in a systems language.

I believe one of the reasons Rust got so popular is that it made concurrency much easier and safer right at a time where the need for it increased significantly.

If that is the recommendation, maybe the standard library could focus on easily spawning and coordinating multiple processes instead, with very easy to use process communication.
The fallback has to work reliably, certainly for the foreseeable future, when most cars won’t talk or listen to other cars, but probably also if all cars share the information, to handle the case where some car stops broadcasting due to a bug or hardware breakage, and if your fallback works reliably, you don’t need anything else.

Because of that, there, for now, is little benefit w.r.t. safety in this (there may be benefits in efficiency, for example if enough tell the traffic system what they’re up to, so that the traffic system can optimize traffic lights)

Also, I hope (but I know I’m wrong in that) nobody is going to say cyclists and pedestrians should do this, too. You shouldn’t require people to gear up with electronics before they can go on the street (even if mobile phones were enough to do that), so the fallback will have to be there forever.

There also is work being done on this. For example, the EU has projects in this space (https://www.connectedautomateddriving.eu/)
And chips are not even 3d, are they?

At most there are memory chips with just a few layers
> I copied my late 80s 5.25" floppies to 1.44MB floppies in the early 90s. In the mid 90s I copied anything accumulated to CD-Rs. In the 2000s I started moving everything to DVD-Rs.

BluRay discs are expected to last 50 to 100 years at least. It's longer than magnetic tapes. Still not paper but, well, kinda inconvenient to "print" 1 GB of data on paper in a way that's easy to store / re-read.

I have 80s floppies (5"1/4) that still can be read fine but I'd say at least 1/3rd of them are now failing. Still: after about 35 years, I'd say it's not bad. I expect BluRay discs to completely outlive me.
European Union legislation mandates that all 27 member states must by law grant all employees a minimum of 4 weeks of paid vacation. (but yes, in practice, many offer more. one of the benefits of the EU, and of welfare states, is that there is a floor through which nobody should fall. the EU Working Time Directive is another thing for which I am grateful.)
Reading this I don't get quite the same reaction as everyone else. I think this is actually a useful tool. However the main failing is that there is one global ruleset decided by Google. If this was customizable by each organization or department it could actually have value. I don't think shaping the way your company communicates is much of a problem, the problem arises when Google shapes how your company (and individual users speak). It would also be interesting if these different models could be published and shared.

Basically I think the core idea is fine. But applying the same model globally was a clear mistake.
> My point in the first half is that you can’t look solely at the costs without looking at the benefits

There is no benefit from a political authority wielding entity which has not been provided by an entity that does not wield political authority. Therefore the political authority is not necessary for those benefits.

> Removing the government would shift that death to elsewhere and not remove it.

Removing the hundreds of millions of people who were killed in the name of national security and the maintenance of political authority would not magically make them die for some other reason instead.

> That’s why government needs to be iterated on not removed.

Whether you call providing the benefits of typical governments without their horrendous costs an iteration or a removal is semantics. My concern is that it gets done.

> Every kWh wasted guessing nonces on renewables isn’t spent decarbonizing the grid where we do actual productive things.

This would assume that those energy forms restricted to specific geographic locations are not so restricted. This is not true.

> I mentioned in another reply 97% of all bitcoin mining hardware will be thrown out, burned, crushed or buried all without ever mining a block successfully in its entire useful life.

Most e-waste won't mine a block successfully in its entire life. If it could contribute to the peaceful destruction of the state, hard to imagine a better use it could've been put to, given the statistics.

> I know there are other consensus mechanisms but they just rely on feudalistic control of the supply and just create systemic inequality without accountability.

You mean like being born economically so deep underwater it's impossible to ever even break even because of the economic mismanagement of your political authority wielding organisational unit? At least ledgers using those consensus mechanisms only levy debt on people who choose to participate.

> There’s no good that comes of this. In basically every case decentralization and permissionlessness is not what anyone actually wants or needs.

It's clearly what a whole lot of people want, as to whether they need it or not, time will tell. For all the aforementioned reasons, I think the case couldn't be clearer that they do, however.
You are guessing to manufacture a contrary position, and you are incorrect. Guessing to argue is dishonest

If you are in any way interested, stop arguing and go look it up
A "mere" 2^96 improvement; the security between the two is a universe apart.
Local allocators are being standardized. This has nothing to do with the Rust ownership model, C++ took a long time to standardize an allocator abstraction too.
Thank you. My parents used to try something similar when I was 7. After a while I got used to it's taste and would bite anyway. I wonder how I would deal with it as an adult, tho.
Could you expand on this? I'm really curious why you think so. I have written and worked with C codebases that do quite well without using macros at all.
There's some theoretical background on how collision functions work. Generally, the assumption is that the hashing functions in cryptography meet the following:
- Each input can be quickly converted to a digest (hash).
- Getting from a digest to the input should be infeasible.
- It should be infeasible to produce two inputs such that they map to the same digest (although strictly mathematically, people tend to prove it is inefficient to do so).
and a few more assumptions that are irrelevant for your question.

In a nutshell, the idea is that hashing functions are deterministic. One input maps to one output and by knowing the output I cannot find the input nor I can produce two inputs that map to the same output.

Now, those attacks basically violate the principle that one input maps to one output. Suddenly, many inputs map to the same output.

What's the risk though?
You want to download a Linux Distro with hash digest of value ABC. I'm somewhat interested in people using that linux distro so I tamper the distro to introduce a tracking mechanism that also produces ABC when hashed. You download the distro, verify that the hash is indeed ABC and install it.

A more structured answer to your question is available here https://github.com/corkami/collisions (he also put together a presentation that I can't find right now).
Hope this helps :)
A barrage of assault,racism and rape jokes: my nightmare trip into the metaverse
Some reporting from a few years ago to back up the assertion that white collar crime is rising as a result of reduced state capacity:

https://www.ft.com/content/8751e754-6e3e-11e7-bfeb-33fe0c5b7...

I would guess the situation has only got worse in the meantime.
"As you said, Hawley (Stanford and Yale alumni), JD Vance (Yale alumni), even Trump (from a wealthy family and Penn alumni) are all political elites but also quite popular with the right-wingers. So it's not really about hating the elite, unless by the elite you means a specific subset of Democrat politicians and activists."

They appeal to their base in part by disavowing that status. Hawley and Vance in particular are pretty much throwing out much of what they learned in law school by cozying up to Trump with the stolen election bs. Going off of their credentials is silly, and I think you know that--listen to what they say. They are feeding upon and taking advantage of the rabid anti-intellectualism and anti-elite hatred of their base.
> in most countries in Europe, people live in fear of having to be put on wait lists that extend from months to years

Absolutely false. Most people don't understand that the wait depends on priority. If you need urgent care you get urgent care.
If you do not insist on a lavish party, a wedding can be remarkably cheap.

We paid something like 150 USD in fees and all the celebratory meals around that cost less than 400 USD total.
Expensify are doing this to a certain extent and have written about it before
https://news.ycombinator.com/item?id=23291779
There have been a lot discussions about this on HN over the years too.
GitHub has ruined my lunch or dinner time at least once a week or so for the last three months in some capacity. I am absolutely fucked off with it now.

Centralising on this infra was a stupid technical decision.
Hooks, Dependencies and Stale Closures
the guy spoke too quickly and the whole thing was rushed into a minute
I love how the answers in this thread range from highly technical subject matter expertise to build a pyramid and carve your data on the walls.
Just to note, this behavior was not mentioned in the article at all.
If I own a plane and I want to crash it or kill myself, as long as the place of the “landing” is controlled, why shouldn’t I be able to?
"I suffered so my kids have to learn to suffer too" is not a good line of thinking if we want to improve the world and the economy for the next generation
> We spend much of our time taking “professional selfies.” In fact, many of us spend more time announcing ideas than formulating them

This is closest to the truth than anything. Lengthy CVs attract public science funding which makes the same CVs lengthier which attracts more funding and on and on. Hordes of people have attracted fame and notoriety by academic SEOing. It's a gamed system, and it doesn't feel great participating in it (but you never say that, you have to be perpetually 'excited' on twitter). Basically Goodhart's Law on massive scale.

Perhaps the solution is indeed to build an AI because our science has become so loud and noisy that we 've become deaf.
With C# (Entity Framework) I've tried and failed using sqlite in a production scenario because of concurrency issues...

Recently I stumbled over a potential fix[1], which I will try in my next project.

[1] https://ja.nsommer.dk/articles/thread-safe-async-sqlite3-ent...
The sqlite docs page has a nice article [1] on when to use an embedded database such as sqlite and when to go with a client/server model (postgres, mysql or others)

When not to use sqlite:

- Is the data separated from the application by a network?

- Many concurrent writers?

- Data size > 280 TB

For device-local storage with low writer concurrency and less than a terabyte of content, SQLite is almost always better.

[1] https://www.sqlite.org/whentouse.html
Felt sorry for the on-call folks at GitHub. What a great way to start the week :/
Quite the opposite. Cohesion likely means non-diverse. HR would prefer that each team member be as different as possible in terms of age, sex, race, etc.

The less cohesive the team, the better my team looks to the HR gods that send me threatening meeting invites.
I love right to repair and data portability, and USB C port, and I am a big fan of opening up the Apple platform.

But I don't like quite that level of extreme stance on privacy. I do believe it's absolutely a right, but I don't want it to be a duty.

Not all personal data is a top level military secret, and there are many legitimate uses(Look at HAM radio) for even plaintext systems.

I think I'd rather they just require honest privacy policies in a simple machine readable format with an accompanying human readable version.

Something needs to be done, because it's definitely not right to lie to consumers, but I also don't want it to be any harder to log data for debugging and attack mitigation, to use CCTV, or to use technologies that are decentralized and inherently don't support revoking rights to process.

I mostly like the GDPR, but there's a few things I don't quite like, and the possibility of even more strict stuff is a bit scary.

I'd hate to see AirTags, CCTV, and Amazon Sidewalk outright banned with no chance of even a FOSS version, and I personally know people who would love that to happen.

Here in the US most states forbid one person from secretly recording a conversation that they are part of without specific exceptions, and even that has some scary side effects, because a hidden recorder is a powerful self defense tool.

Other than that, I'm a fan of 95% of what I've seen from the EU on tech.

It's probably not enough to really fix things though.

Data portability doesn't fully solve things when so much is in the cloud. Sure you can move to some other provider, but it's gonna be a lot of work, and then you'll just have a different single point of failure.

I think what we really need is for a really good open protocol to really take over.

Something like WebDav, but extended to support synced redundant accounts, domainless self hosting(With pubkey/DHT based domains that don't require asking a registrar's permission to make one), and so on.

It's just way too convenient to make stuff sync in the cloud, without it, FOSS doesn't have full parity. We need something like SOLID, making that cloud sync a separate reusable thing and letting us choose our providers, while making it easy to add to apps, and not involving crypto tokens or 7729 different accounts on a million custom sync systems, some of which may be insecure.
C replacements always seem to have noisier syntax, and not nearly enough motivation to switch from C. And if I could have been tempted with templates and a more intelligent type system I would have switched to a restricted C++ subset years ago.

And yes macros are dirty, but yet they're often far simpler than the alternatives, based on how languages like C++, Zig et al have attempted to reduce them.
> And what would you suggest we do?

Stop calling justified hate "bigotry". That's all. That's what I was accused of.
Slightly tangential, but the "Web + number" numeration commonly used these days is off by one. The Web 2.0 has ended on July 1st 2013†. The corporate-capture app-centric surveillance adtech dystopia we have now is something else.

We've had open Web APIs. We've had OpenID. We've had ambitions for semantic web and microformats. We've had API mash-ups. All of this has been closed, abandoned, or morphed into a locked-in monetized hell when VCs demanded their money back.

†) it's symbolic of course, but that's when shutdown of Google Reader deflated enthusiasm about syndication. About that time Google dropped their "don't be evil" motto, and wrote a spec for launching secret DRM APIs from HTML5.
But still, she'll never "pay back" what was expended on saving her life.

You don't know that. Let me suggest the movie It's a wonderful life in place of trying to debate this with you.

But I appreciate you trying to say something meaningful. Please don't interpret this as combative.
What necessary use case of macros isn’t addressed by comptime in zig?
You must be bored. ;-)
it's slightly relieving to hear you experience similar and find it normal

yes to it getting in the way of sleep and yes to probably anxiety related

I used to listen to a lot of music and play a few instruments as a hobby, but have had no time to in recent years. I consider myself an incredibly musical person and wonder if recording the main offenders would expel them. I would love to find the time to turn this affliction into a creative process, both as a hobby and possible therapy
The slides could have mentioned the TMS34010 [1] as well as the SGI RealityEngine.

[1] https://en.wikipedia.org/wiki/TMS34010
I no longer work there, but an enterprise facial recognition system used by NGOs, and 3-lettered government agencies has SQLite as the sole datastore. I wrote a portion of the SQLite runtime logic, a simply key/value store used all over the software.

SQLite proved to be phenomenal. We spec'ed hardware with enough RAM to hold the FR DB in memory, and damn SQLite is fast enough to keep up with the optimized FR system performing 24M face compares per second. With a 700M face training set, SQLite also proved instrumental in reducing the training time significantly. These daze, if given the opportunity to choose a DB I always choose SQLite. I use SQLite for my personal projects, and I go out of my way to not use MySQL because SQLite is so much faster.
> The Commission doesn't have an ideology, and doesn't want subservience from anyone. Their job is cooperation and improvement.

No, the commission does have an ideology, it's encoded in the Treaty of European Union. For example "founded on the values of respect for human dignity, freedom, democracy, equality, the rule of law and respect for human rights, including the rights of persons belonging to minorities".

Also subservience is encoded in the treaties, for example when you sign the treaty you agree that the court of the European Union becomes your highest court, and that European law overrides your national law. Effectively any court decision can be overruled by the European Court of Justice if it conflicts with European law.

Besides the law there's all sorts of other restrictions where a nations interest are subservient to those of the union as a whole. Usually to prevent a nation from giving their local industries an edge over those in other European countries.
Nazralath: The Fallen World