skysight-inc/HackerNews huggingface dataset:
Posting these because I don't see them mentioned so often in the mono/polyrepo debate.

Choosing a monorepo? Be prepared for:

- Investing in the build system

- Investing in CI/CD

- More painful upstream dependency management

- A serious investment in architecting modules and thoughtful dependencies

- Issues because of a bad deployment sequence

- Slow version control

Polyrepo your thing?

- Managing your own artifact repo (pypi, artifactory, etc)

- Painful cross-project changes

- Repeated effort around builds
Lyft’s algorithm is trying to block people with names like ‘Dick’ and ‘Cummings’
Or better yet only have normalize(), mark it [[nodiscard]] and it will be pretty much impossible to fuck up.
So you believe the booking is the most expensive part of running a professional car service? and that by automating the booking they would cut costs significantly?

Really?
Flutter looks promising for solving a lot of the platform conflict problems.
In almost every meaningful interview of Moore, he explains the concept of virtual stacks. In his most recent interview, he literally explained how he designs all of his chips to have 8 physical stacks, while in the past he used (I believe) 16 stacks. You're misrepresenting Moore's claims in a way that can't be taken as anything but uninformed.
In many cases, old songs are used precisely because they are cheaper to license.
I think the opposite. I believe a lack of control, especially over one's mortality is what leads to a lot of the bad shit that happens in the world. If everyone was guaranteed their health and freedom from the shadow of death we'd probably be a damn site happier and less neurotic.
How is "Take me from Point a to Point B" not a well defined piece of work or how do it last an arbitrary amount of time?

Each Trip is a "Piece of Work", is a contract, is a Freelance Job.
I'm not claiming that doctors are interchangeable with other careers. Doctors often have higher priorities that can absolutely intrude at any time: An emergent medical situation is far more important than a meeting about document retention, for instance. For that VP, or CEO for that matter, those meetings are a major priority of their job.

Instead I was pointing out that there are many fields where people resist IT-style policies, and many special snowflakes that believe (often rightly) that they are a unique situation.

Often in tales like this the worst scenarios arise because some people aren't equipped at managing expectations and communicating reasons and benefits. If yet another vendor comes in with yet another system and yet another set of demands and obligations, to someone who sees it as a hindrance to their work product there will be resistance. Understanding and communicating in a way that, to use lame corporate speak, aligns goals makes things go much smoother.
Can somebody clue me in on the cynical overtones of this thread?
Crowd Control – Interactively Control Twitch Games
You may like the whole list of constructive gems and stones then: http://math.andrej.com/category/gems-and-stones/ :)

As a sampler, the following are all constructively false (ie. imply the law of excluded middle)

* Every finite set can be enumerated without repetitions

* A subset of a finite set is finite

* The intersection of finite sets is finite
Show HN: HN Recommended – a curated list of HN commenters' opinions
Moore is an awful salesman but a skilled technologist, you have it reversed. He only recently got buyers for his recent processors, and he doesn't handle sales in any of his business endeavors.

Also, the chips he made before GA were 32-bit. He deemed it unnecessary, and the GA chips run miles around them.
Or integrity checking for non-authenticated encryption modes (wouldn't want file encryption or https to be slow).
What is this about a LEDE / openwrt fork? Should I be looking at LEDE instead?

What about the FreeWRT fork? Is it alive / lively / up-to-date / running ahead?
Do the runtime tests decouple from I/O times e.g. file and memory caching aren't affecting the results?

Surprised because I'd expect a big file like that to be I/o bound in practice
Paris Museums Put Over 300k Works of Art Online
Regarding that second link about the bad merge, I think there is a deeper problem at hand. Namely that we still work with the textual representation of a program as the “source of truth”, but each time we save and commit this way, a lot of information is lost.

What I would like is instead of representing source code as text to have a binary representation of the AST of the software that I am writing where, crucially, all edit operations are recorded into history.

Perhaps such a binary format could even be slightly faster to work with in terms of time taken for editor and compiler to parse it?

And not only record edit operations, but differentiate between instancing and copying a node, so that we can express whether code that we duplicate should be edited everywhere automatically in the codebase when we change it, or if they should be allowed to diverge. (Both of which make sense in different contexts and would be great to actually express in the source representation and have the IDE read and understand.)

Furthermore, such a representation could allow for more freedom when positioning elements of the code because we aren’t constrained to just lines and lines of text with characters next to each other and lines above and below each other.

Now, a lot of non-textual editors exist already but I haven’t seen any that I like and besides I don’t want another language, I want to write Rust code in such a way as outlined here.
I'm against the concept of performance reviews on principle for two reasons:

1. No matter how friendly and "two-way street" the manager tries to make it, the engineers are still captive audience with their jobs on the line while the manager holds all the cards. Even if the engineer is encouraged to, and does, provide feedback, this feedback is, at best, in the air.

2. No matter the feedback, the outcome is pretty similar: negative feedback encourages the engineer to look for other options because of the desire to be valued better. Positive feedback encourages the developer to look for new horizons that might be more challenging and/or more rewarding.

Of course, I don't have a solution, because the closest alternative I can think of also has its own problems. That is, for the team to be completely self-managed so engineers encourage each other by deliberately highlighting and logging the teammates' achievements and for these achievements to be rewarded eventually by management.

Regardless, if performance reviews are inevitable, this article is a nice, if maybe too optimistic, approach. Ultimately, I'd bet that the number of the engineers he manages who considered that his reviews were, at best, the best of a bad situation is more than zero.
And we’re all surely missing the thoughts of blargmaster featuring such insights as “Pinochet did nothing wrong” and “The only good communist is a dead one” and “God bless the Spanish for expunging this evil from existence” where “this evil” is the Mayan people.
كلمات اغنية شامخ اصالة نصري
If that's the case, PG's piece does across as an intellectual's attack on the media. A more refined brand of populism, using his platform to vaguely defend an investment. The "haters", in this case, would be those publishing unflattering truths about certain tech companies.
What's a concrete example of production DS code? Does it mean that the code handles edge cases, uses logs, is well documented, etc or what exactly? I'm a DS student and don't know what everyone means by "production" code.
To take it further, an even greater sin is perpetuating the idea there is a static "you". "You" are a conglomerate of coordinating and competing systems and are ever changing.
No, Blake3 is a cryptographic hash algorithm, not for dictionaries or hash tables. It is intended for cryptographic signatures, file/data integrity, message authentication codes, etc.

For dictionaries/hash tables you'd typically use a very fast hash algorithm like xxHash, murmurHash, etc. Those are tuned for speed but can have collisions (typically they have very short outputs - 32 or 64 bits - so that they're easy to compare and compute with).

For cryptographic purposes (authenticity, integrity) you'd use a medium speed algorithm like SHA2/3, Blake2/3, etc. which are reasonably fast and essentially guarantee there won't be collisions (i.e. it's computationally hard to come up with collisions). These are meant to be computed quickly and potentially in parallel because you want to be able to verify data fast.

For password hashing you'd use a slow algorithm like bcrypt/scrypt or Argon2. These are designed specifically to be slow; some also use lots of memory specifically to slow down parallel attackers. You want password hashing to be relatively slow because you need to protect low-entropy data (a typical password only has a few dozen bits of security). By making the algorithm deliberately slow you would ensure that an attacker can't quickly guess the password, even if they have the hash.

These are the three major categories of hash; knowing which one to use in which application is pretty important. Don't mix them up!
Well, as the entirety of my people were saved from extinction, I for one am glad that some "fools" decided to risk their lives to end what was otherwise a very effective genocide.

As it stands, a third of us were murdered by the "Third Reich", and our numbers have still not recovered.
1:x uses mmap, so it would return instantly no matter how large a file you give it

0:x uses 1:x and then it splits the content into lines. unfortunately splitting requires copying, so you'd be limited by the amount of ram (let's ignore "swap").

i don't use mmap for writing/amendment yet. i'll be working on it.

the way modern hardware works is like this: every process run by the os has its own view of the (typically 48-bit) address space. a process can request from the os that a part of that address space be "backed" by a certain file. this means that every time the process touches (i.e. tries to read or write) a virgin memory page there (usually page=4k, always aligned), the os will be automatically notified and will make sure to fill it in with actual content from the file, before the process even knows. from that point on, the page will occupy physical ram. if the os is low on memory later, it may decide to free up the page and return it to its previous state.

in effect, data from disk (or any disk-like storage) can be "streamed" while your program uses ordinary array indexing. the word "streaming" though implies reading from start to end in order (which is additionally sped up by prefetch, but that's a different story..); memory mapping is more general - it allows random access.
I can't find a source, but 70's-era wisdom I got from my grandfather was when buying an American car, buy one assembled on a Tuesday. People are hungover on Monday, Tuesday is their best work day, it's downhill on Wednesday and Thursday, and they're checked out on Friday.
The problem with Darcs, which I've seen in use, is that the tooling around it is atrocious. Compared to something like Bitbucket or GHE, it's a huge pain for a bigger team, and requires a very oldschool workflow. There's a Jenkins plugin that barely works, you have to build your own new version because distro packages are old, etc.

Not sure whether there's any actual advantage at all.
JVM Anatomy Quark #25: Implicit Null Checks
I guess Most would use rainbow tables so it wouldn't matter.
Not specifying what A and B are is a problem. Can I ask you to write some program A that I tell you later?
Classic HN thread on the "we live in a simulation" idea:

Do we live in a computer simulation? UW researchers say idea can be tested: http://www.washington.edu/news/2012/12/10/do-we-live-in-a-co...

61 points by ph0rque on Dec 11, 2012 | 64 comments

https://news.ycombinator.com/item?id=4902798
I've found I need both myself. I learn best when I read something and then shortly after get practical practice using what I just read. I find i'll forget little details of what I read if I don't use it right away, but they'll stick if I do something with it right away.
> For password hashing you’re correct they should be slow, bcrypt for example.

Slowness is not the quality of a hashing algorithm that guarantees anything :)
Yeah, seems like the last post, does the author write elsewhere?
actually a big chunk of this article is about cholesterol-lowering statins being linked to mood disorders, a medication which purportedly has no psychiatric impact at all. The reliance the medical industry has on statin drugs cannot die fast enough for me.
Skill Tree for a Backend Developer
FWIW, this has gotten a certain amount of attention on HN over the years since it was begun but it's instantly noticeable that patches tailed off and stopped last June. Naturally that raises the question of "is this even still alive", and last month the starter of the project, Pierre Meunier, posted a response to a query about that indicating a major rewrite is in progress:

----

https://discourse.pijul.org/t/is-this-project-still-active-y...

>Is Pijul still under active development?

>That’s right, the last patches are pretty old. A few things have happened since then, but they’re not public yet. This has included (1) thinking about new algorithms to solve our remaining problems and (2) thinking about the future and sustainability of the project, including its funding.

>Another thing going on is a major rewrite of libpijul. This project was our first Rust project, was started in a pretty early version of Rust, on an incomplete theory that was only finalised in 2019. Until then it wasn’t clear what functions and types we wanted to expose, and how to document them.

>I’m currently reorganising everything, in particular using a lot more proc-macros, and making it more general so that it can run on various backends (well, actually different variants of Sanakirja).

>We will hopefully have news pretty soon. I’d love to fix all the bugs in the Nest discussions, my hope is that many of them will simply disappear with the rewrite.

----

Of course, everyone here probably knows about the risks of major rewrites, though granted that's lessoned for something that began in the research phase and never got close to a 1.0 and major uptake. It is a pretty interesting project and I'd love to see it go well, so hopefully it can make the series of transitions to something more mature and self-sustaining! For now though it looks like things will be in a bit of stasis, and everyone will have to wait and see what emerges on the other side.
> with the US alone buying up 49,000 tonnes of paracetamol every year – equivalent to about 298 paracetamol tablets per person

Commonly sold as the brand Tylenol. How is it possible that the average across the US population is nearly one per day, the entire year? Max dose is 3900mg per day. Tylenol is not recommended for children with fevers as it can have bad side effects (Reye's Syndrome). More popular than aspirin perhaps as less risk of ulcers. Not as safe as Advil/ibuprofen. Even for people regularly taking pain meds, not all will be on paracetamol. Those taking it every day (perhaps 5% of the population?) must be taking 10-20 tablets a day?

> – and the average American consuming $1,200 worth of prescription medications over the same period.

I know there are people taking pills that cost tens or hundreds of thousands, but this is still a pretty amazing average number across the population. This year I spent just over $100 on meds and that was probably one of the most med-intensive years of my life. Most years I have spent perhaps $10 for one round of antibiotics and $2 on advil, which I buy a $6 bottle every 3 years or so. So under $20. I wonder if the numbers are significantly less for most other countries.
Don't try a monorepo unless you have a team of engineers who can work full time on maintaining the build tooling, enforcing good practices, and training the rest of the engineers on how to behave in a monorepo.
Using Emacs 63 with ClojureScript
From the article:

"The company says its intentions in health are unconnected with its advertising business".
I've noticed I have been doing a lot of "site:news.ycombinator.com <topic>" searches on Google lately and thought I would compile what I find on this website. It is hosted on Github and contributions are welcome.

Obviously there is a lot of editorial bias in selecting the answers for a Q&A collection like this, but hopefully direct links to the source comments and the public nature helps alleviate these concerns a bit. The main objective of the website is to be interesting to quickly skim through or to serve as the minimal start point for research in a given topic.
First, even though Pijul has branches, patch commutation means that most Git branches are just regular patches in Pijul.

> Wouldn’t Pijul require the same too?

If you're talking about my point (1) above, the answer to your question is no, because in Pijul, conflicts are resolved by patches, so if a branch has a patch solving a conflict, the conflict cannot come back. So Pijul doesn't need "rerere".

If you're talking about my point (2), the answer is also no: non-associative merges happen for bad reasons in Git. By design, Pijul doesn't have them at all.
You can always make a fast hashing algorithm into a slow-enough password hashing algorithm by repeating it multiple times (as with PBKDF2) or better yet using a construction that also uses a minimum amount of memory, not just computational time. For most cryptographic applications (signing data in transit, signing data at rest, computing things like Merkle trees for applications like git and dm-verity), you want a hash that is fast to compute. It's basically only password hashing and cryptocurrency mining that needs to be slow.

BLAKE3's readme says: (https://github.com/BLAKE3-team/BLAKE3)

NOTE: BLAKE3 is not a password hashing algorithm, because it's designed to be fast, whereas password hashing should not be fast. If you hash passwords to store the hashes or if you derive keys from passwords, we recommend Argon2.

Argon2 (https://github.com/P-H-C/phc-winner-argon2/blob/master/argon...) is based on BLAKE2b.
99% of the time doctors are annoyed by anyone who has researched and informed themselves on what their medical problems might be. The notable exception is when the doctor has repeatedly failed to accurately determine what's wrong. Then you're "allowed" to bring up your own ideas. I can't wait until the majority of work done by doctors is replaced with a small shell script. They will fight VERY hard to stop that from happening, and they're rich. So it will be a tough fight.
Rent seeking [0] typically means exploiting a captive market without providing value. I don’t think that fits either of your definitions. The key piece is they basically squeeze without proving value. So buying IP and then upping the rent fits that.

[0] https://en.wikipedia.org/wiki/Rent-seeking
Alas, antisemitism is still extremely popular in the west -- and is becoming more popular by the day.

As this thread shows, antisemites feel no need to hide themselves any longer, and nobody feels troubled enough to shout them down
FBI Surveillance Vendor Threatens to Sue Tech Reporters for Crime of Journalism
Not always. Renaming a proto field is one common example.
absolutely horrible piece. From invoking stereotypes about basement-dwelling losers and manhood to a completely uncritical view about what constitutes hate and what doesn't, to the implicit lambda school context around the article, this reads like apologia for the tech CEO polite society who cannot handle criticism from ordinary people. The article even uses the words famous and successful interchangeably, entertaining the idea that fame may be ill-received only in the footnotes.

Also the emphasis on 'neutral opinions' is revealing. The problem when speaking to powerful people is that they're very adept at deflecting 'objective' criticism. It's the sort of discourse they're accustomed to. Hate and anger and even slightly mad and irrational criticism can come from a place of truth. And it can be valuable because in contrast to polite discussion scathing anger is hard to deflect. People in a position of power know how to deflect neutral criticism, they don't know how to deal with loud resentment. For many people, that kind of resentment is the only way to even voice their opinion.

The tone of the article sounds so far removed from reality that the article makes "famous people" sound average, the intelligent upper class like the only one with a license for legitimate criticism, while everyone else is a loser, imlpying that losers do not have valid opinions or that their sentiment can be disregarded because they have not learned how to voice them politely.

I don't know if Paul Graham reads these comments, but if you do you may ponder that it almost sounds like you're categorizing the vast majority of people as losers, and emotional expression as invalid. That's the only tool most people have to make themself heard.

My theory for why so many famous people are sensitive to hate is because hate establishes a lack of respect for authority. It dismantles a lot of pretentiousness around so-called 'critical thinking' in particular in these tech circles. The civility attitude on HN is a good example of this. I don't think it exists to actually think critically, it's just an occupational license to have a quick way to disregard the opinion of people who are perceived to be unsophisticated.
First of all, your code passes through the driver, so you can exploit vulnerabilities there.

Even after that, the GPU can do DMA requests, so you can abuse that to read/write arbitrary memory locations.
In another follow up from the BPPE, they told me it is not legally possible for a program offering an ISA to be approved.

This matters because when a school operates illegally, the BPPE has no legal jurisdiction when a student has an issue. This means student only have the option of hiring a lawyer. Given who ISAs target, many students don’t have the resources to do this.
Wonder at what rate that stuff gets bought and not used, either by institutions or consumers, but it's probably only a small part.