skysight-inc/HackerNews huggingface dataset:
I think there are two things being conflated here.

One is: how do you effectively manage changes to a codebase over time? Git has a model that, for day-to-day use, has primitives like "commit", "branch", and "tag". You also have to understand the difference between your working copy, what is staged for commit, and any other commit in history. These, in combination with the operations you can do with them is actually somewhat complex. This is the thing I am saying people need to learn. And people quite often complain about it.

The other is the organization of git's porcelain layer, the arguments and flags each subcommand takes, and how stuff is presented back to the user. I think git stands to make significant improvement here. Be that as it may, the tool exists as it is. So your options are to use a different VCS entirely, use a different frontend, or learn how to use git as-is.

If you choose to use git but deliberately avoid learning e.g. what a rebase is and why it's useful, you are choosing to be an ineffective developer. Could it be better in some ways? Yes, but it isn't.

I don't think the car analogy is particularly compelling. The "primitives" of a car are already much simpler than git's. The fundamental primitives of a car are "go faster" and "go slower", along with some supporting things like managing your headlights, windshield defrosting, wipers, and horn.

While additional tools are being added to cars to make them safer (e.g. a backup cam or collision detection), the complexity of those tools is increasing rapidly which makes them more prone to failure. And a driver is absolutely not excused from causing an accident just because one of these safety tools failed. You still have to know how to safely operate your vehicle in a variety of conditions.
When I took a bibliography seminar in grad school, the Wise Forgeries were one of my favorite topics. The discovery of the forgeries by Carter and Pollard and the discovery of the thefts by Foxon are true landmarks in bibliography. It’s worth hunting up a copy of Carter and Pollard’s “An Enquiry into the Nature of Certain Nineteenth Century Pamphlets” and Carter’s Thomas J. Wise and His Forgeries, both of which are surprisingly thrilling reading.
There's a lot of folks who really like Ruby and who find themselves being very productive in it. Rails helps, but Ruby in general has low floors, wide walls, and high ceilings.
If you're interested, I've got some magic beans for sale
Not only merge conflicts I find that this causes trouble if you need to manage multiple branches. Generally you see patterns like 1. Create patch 2. Merge to main branch 3. Backport a cherry pick.

But there is no machine-readable metadata that the commit is the same in both cases. In simple cases you can work around this by basing the patch off of the merge base but if there are conflicts that doesn't work well.

The result of this is that these two different but logically identically commits will cause future merge conflicts and make questions like "does this branch have this patch" much more difficult to answer.

This is something that I think https://pijul.org/ does quite well. Their base unit is a patch and that can be applied to multiple places. You can also have snapshots which are logically a collection of patches.
Most businesses create and cultivate repeat customers from specific target markets. The US prison industrial complex is adept at this.
Does Emacs even do enhancement tickets? It is a community driven project where people implement what they want to scratch an itch and get merged as long as they convince enough people; it is not a PM driven one with roadmaps, sprints and narrowly defined features.
Are you saying manual labourers shouldn't also get a 4 day work week? It's just I don't think that was implied anywhere else.
Show HN: Sniper: A Manifest V3 web extension for dynamic user specified actions
This extension makes use of JS computed property names to perform user specified dynamic actions on user specified elements.

I started working on an extension primarily for my own very specific use case. I knew of Tampermonkey and it's relatives before, but hadn't used it extensively. I also was following the news of MV3, so wasn't sure of their long term viability. But more than anything having recently got into frontend development I also just wanted to build an extension myself, getting to understand the newer limitation and alternatives was just a bonus point.

Literally a couple of days ago I got to know (From HN nonetheless https://news.ycombinator.com/item?id=38526277) that userscripts are going to be allowed in MV3 too, so I finally decided to actually check out ViolentMonkey, which is pretty neat, but from the looks of it would have to migrate to `chrome.userScripts.register` which would eventually require `userScripts` permission and with it would need [developer mode enabled](https://developer.chrome.com/docs/extensions/reference/api/u...). While browsing through the subsequent discussions I saw there were many other alternatives for dynamic script execution, from creating and the dynamic code to `<script>` tags to using `evaljs`, but I wasn't aware of them while building this (see for ex: https://news.ycombinator.com/item?id=31425256 and https://github.com/Tampermonkey/tampermonkey/issues/644#issu...) (and tbf it wan't even my goal to get full JS execution in my extension).

Long term my goal was to build a small JSON config for the actions needed and parse and apply them to have the desired behavior. I also was planning on exposing some extension only behavior (like tab functionality) via message passing with service workers (The config could be something like
```
{
"selectors": ['.container h1', 'h2'],
"actions" : [
{
"action": "setAttribute",
"args": ["style", "color:green"]
}...
]
}
```
)
But now given that MV3 will support userScripts and since devmode is not a deal breaker for me, I plan to use violent monkey itself. I'm sharing this code for anyone else who might be find it useful.

P.S: For installation you have to load unpacked extension in your browser, since I haven't uploaded it to any extension marketplace and for firefox users the extension makes use of [URLPattern](https://developer.mozilla.org/en-US/docs/Web/API/URLPattern) for dispatching content scripts config from service worker which unfortunately is not yet supported, so it might not work as expected.
1- Chef
2- Analog photography
3- Cab driver
4- Tourist guide
That's a different issue though. I should have been more precise with my terminology. The way it usually works is that there is a scheduler at the bottleneck. Let's for simplicity assume that the customers at a particular bottleneck have all got the same advertised rate, but the bottleneck is less than the sum of these. Say there are 10 customers with 100Mbps each but the bottleneck is only 500Mpbs. Then if each of the 10 customers are maxing out their usage, they will each only get 50Mbps, which is less than the advertised rate on their service. What I meant was, playing games with congestion control won't reduce any other customer below that. (There are different options for how the scheduler could work if the customers have different limits; it could just cap them to their limit, or it could weight their share according to their limit).

I guess you are right that buffer bloat problems could pressure ISPs to avoid overprovisioning, and any solution to bufferbloat could take the pressure off. But you can also get bufferbloat and other latency issues without overprovisioning, so it doesn't seem to me to be a good reason to hold off implementing solutions to them.
Just a weirdly spelled "emoji".
I want tail docking to be banned so bad. Corgis have tails and they look like foxes when they're kept! So beautiful! like a friendly fox.
No.

Only to newer iOS/iPadOS releases. Once it's no longer supported, it's a picture frame.

I have a lovely iPad Retina which has a tiny crack on one corner, so it's unsellable. Still has a few days of battery life on 1 charge, runs iOS 9 fine, but that means an unusable: browser, email client, FB/Twitter clients, chat client, and almost everything else.

It talks to Hotmail, and none of my 6 email accounts, including plain IMAP. It can play movies and show pictures, and read ebooks, and basically nothing else.
I wouldn't be surprised if turning a piece of wood transparent would have orders of magnitude more carbon footprint than just burning it.
I’m not totally sure, but in math “idempotent” elements are those for which x^2 = x. And so in software engineering it refers to operations for which doing them twice has the same effect as doing them once. Maybe this is what is meant by “same power”?
I wrote a JS one years ago. It still seems to work but it might need some more throttling.

https://news.ycombinator.com/item?id=34110624

Edit: I see I added a sleep on line 83 a few years ago.

Edit 2: I just fixed a big bug, I'm not sure if it was there before.

Edit 3: I wrote a Python one, too, but I haven't tested it and it most likely needs to be throttled. It's also not currently authenticated so only useful for certain pages unless you add authentication.

https://github.com/gabrielsroka/gabrielsroka.github.io/blob/...
But this fallacy make sense. Even the smallest part of the large oranization can't go against organization course/directions.
Amazon scammers used hacks and bribes to make millions off fake returns
Separating evidence processing from law enforcement would be a good step forward.
The general topic is covered in Brett Cannon's “Python is (mostly) made of syntactic sugar” series of posts, via translation of high-level semantics into a subset of Python. LWN has a high-level summary: https://lwn.net/Articles/942767/

The actual posts are here: https://snarky.ca/tag/syntactic-sugar/ (multiple pages!)
The Netherlands is arguably one that heavily embraces the 4-day workweek. In this country, employees can request a shorter work week (4 days) for proportionality less wages (so eg for 4 days get 80% of wages).

More than 80% of working moms utilise this option and around 10% of dads. [1] Among my friends I have parents where both of them work 4 days, taking the 5th day off on separate days, and their kid goes to daycare 3 days a week.

Note that most government subsidies (for childcare) are set up to encourage working at least 32 hours per day.

[1] https://money.cnn.com/gallery/news/economy/2013/07/10/worlds...
This is magical thinking. We know the guy was bad so we locked him up for a crime. We don't know if we pinned the right crime on him or not, but he's locked away safely now so he must be bad.

If this is your genuine belief, it begs the question: why are Americans, on average, such terrible people when compared to other first world citizens?
Longform assumptions
Very interesting. It makes me wonder if the people affected by this sort of thing will ever find justice. What kind of punishment would even be fitting for a company that has irreversibly altered someone's genetics so severely that even their grandchildren are suffering? It reminds me of the recent 3M scandal with the water pollution, paying 10 billion USD after causing permanent water pollution doesn't seem like justice to me. Can they just buy their way out of anything? Can a company cut corners and not do suitable testing to increase profits, causing severe damage to a person or the environment, and just pay a fine once their caught(if they're caught)?
Successful indie games tend to be released on all major consoles, so call it $2k/year for a small team or $10k for a larger one.

That is more expensive than GameMaker (Undertale, Nuclear Throne) at a flat $800/year, but a lot cheaper than the number of Unity Pro licenses you'd need ($2k/seat).
Not worse than people stealing?
If someone suggests a way I will see if I can implement it! I was thinking maybe I could use sign-in with apple, since I think that supports the "hide my email" thing. Once I add support for custom OpenAI API keys, though, I think that will remove the requierment for ratelimiting/sign-in altogether.

For Firefox: It should be easy, I think it's just a matter of making a Mozilla dev account and publishing the extension. Definitely high on my todo list now that I know there's interest!
I would expect reinjecting into the context repeats of the prior context would be considerably more disruptive. The language is primarily a syntax for specifying manipulations on prior context. It’s hard to imagine a tooling that could more concisely and unambiguously create the needed structure to refer to things existing in the prior context without repetition.

And I would note the instructions to manipulate the context are an important part of the context and output. This is just a highly concise and unambiguous way that primarily exists outside the latent semantic space, so I would expect attention would be high given the way it’s composed. I would have used more unique tokens to even more draw out the instruction language.
I was hoping this is based on an open source physics engine, but apparently it's all handcrafted.
I’m on a mailing list from fourdayweek.io and they managed to find a few companies to feature every week. No one that I’ve been excited to work for, yet, but YMMV
He learned the hard way that criticizing certain people will have consequences, even if you are the richest person on earth. They will use all the means to cancel you or ruin your business, and the advertisers are a key part of it. They have no qualms about advertising on platforms that promote drugs or human trafficking, but they shun the ones that expose them to scrutiny. The question is, will he learn from this?
What is the conclusion you’re making?
> In 1950, Icelandic researcher Jón Eyþórsson came across a gathering of fuzzy green puff balls, the size of small gerbils, scattered across Hrútárjökull Glacier in the southeast of the country. Curiously, the mossy balls weren’t attached to the ground, and many were green on all sides, indicating they must slowly turn so that the entire exterior sees the sun at some point, theorized Eyþórsson. That fall, he wrote a letter to the editor of the Journal of Glaciology. “I call these mossy balls Jökla-mýs, literally ‘glacier mice,’” he wrote, “and you will have noted, Sir, that rolling stones can gather moss.”

> [...]

> Glacier moss balls can grow up to about eight inches long before they fall apart, and can live at least six years. The one on the right was tagged with beads by researchers.
while it looks nice, I’d prefer html and not to learn yet another DSL, the reason is that migrating is easier between template engines.
One of the wonderful things about idempotency is how it enables caching in various systems.
4 hour work-week ain't happening.

1) Due to AI advancements, companies and business models are going to be disrupted. The last thing a firm wants is to work 4 day / week when competition can do 60 hour per week and leap frog them (including crushing them) at a crucial period.
tl ; dr -- we are entering a crunch mode for many firms (vs stability where we can think of these luxuries)

2) US is already facing labor shortage in many critical fields esp human services. A 4-day work week faces massive inflationary pressures. Again, when we enter deflation we can think of 4-day work week. A classic example would have been 2008/09 when unemployment touched 10%

3) AI will make people who work 70 hour per week even more productive. So in knowledge work roles, firms may opt to have one 70 hr extreme workaholic vs 2 32 hour people

I know sensitive topic to HNers who downvote just because they don't like the message
> honors math

This may or may not be comparable to what is referred to as high school math in the general sense. I don't know how your curriculum worked, but presumably the students who are taking honors math had already demonstrated a capable, if not above average faculty for the minimum level of rote memorization necessary to simply get the basic arithmetic and algebraic symbol manipulation right most of the time.

This would leave class time and homework time available to explore the matrix in which these manipulations are grounded, since "how" they work is taken to be table stakes.

But the vast majority of students don't have the extra bandwidth available, due to competing pressures in other areas of life, or simply insufficient short-term memory capacity, to get past "how to" with enough time left over for "but why" even if they have a natural curiosity and interest in the question.

Beside irony told this is that the more one understands why, the easier how it becomes to memorize. But finding this balance seems to be a very unique mixture for students who are not extraordinarily capable in the ladder, there is a huge advantage to being able to build a working toolchain of mechanical spellcasting to reliably obtain repeatable, testable results so that you can be productive when postulating why the spells work at all.

Essentially it helps to be capable.of mimicking an ersatz computer when you need to develop human intuition fpr computation. but computers are getting so good at thinking like a human that humans who best think like computers are going to be less prized than they have been in, say, the 30s, 40s, 50s and so on, when the premises that are still baked into our current pedagogical sensibilities were formed.
'Florida's Joker' alleges Grand Theft Auto 6 used his likeness
For sure I have a La Pavoni and I can get parts lists, diagrams, and everything else I need to rebuild the whole thing if I needed to. https://www.lapavoni.com/en/technical-documentation
A different way to get a result like this is to observe that the nth Fibonacci number is obtainable as the coefficient of x in x^n mod (x^2-x-1) via the usual matrix exponentiation argument, apply Kronecker substitution, and compute pow(b, n, b**2-b-1)//b.
A robot just swapped my electric car's battery [video]
> At W4 Games, we are staunchly committed to open-source software, and our pricing model reflects this dedication. We provide full source code access for all tiers, empowering developers to customize and optimize our ports as they see fit.

Under what license terms?
"We're running out of runway; let's change our development approach"? Talk about counterproductive...
That immediately jumped out to me as well. I'm not sure their scheme can easily support a "hand decrement" instruction, either, since then the reused physical register might still have OoO instructions in flight using it and you're forced to stall, like they are doing if they loop around the hand ring buffer. You could have an instruction that pushes all of v[0]-v[7] to memory and restores it, like arm32 ldmia/stmdb, I guess?
I guess they could make a horizontal DIMM socket.
Ask HN: What Happened to Magic Leap?
Beeper Mini is back
Fair! I just assume its basically the slowest phasing out. It's a shame, VB6 was my first language, and I had strong hopes for VB .NET but having access to C# makes VB feel pointless, especially since it won that "language war" essentially.

I do hope one day Microsoft open sources VB6. I think it would be quite an interesting thing to see.
32 hour days? Don't know if I could handle that :)
Enshittification (and some deshittification) of note-taking software
My experience with "extremely liberal use of feature flags" is that most combinations of flags are never tested because there are exponentially many combinations to test. That's true even for a single version of a binary, and you might be shipping multiple new versions per week.

Restrained use of feature flags is fine, because if you only have 2-3 flags, you have a decent chance of testing a useful subset of possible combinations. I've seen projects with 20+ flags even after instituting a policy that flags can only be in the code for X months. They were a nightmare in production. It was more common to roll back to "previous known good version + flags" than to roll back flags alone, which notably defeats the point of feature flags because they're coupled to the version anyway.

Even "push on green" practices are actively poisoned by feature flags because green isn't representative of prod. Even if every individual feature is thoroughly tested, that's usually in isolation, not in combination with other features. The most accurate testing would be the set of flags that's meant to be used in production, but that brings us back to the same problem; as soon as even one flag changes, the testing was no longer representative of prod, and if nobody ever changes any flags, then the feature flags were at best useless.

I'll take feature flags over diverging branches, but I'd still much rather take true converged development over rampant feature flags.
I think you are right wrt the primary reason. That doesn't mean the hours taken doesn't also fall in favor of it.
This standard is a change to IP, which TCP and UDP (and transports implemented on top of UDP) are both implemented on. So it applies to all of them. Each transport has to implement its own way of using it.
The article doesn't prove anyone was actually innocent, only that dodgy science was admitted. In the highlighted case, I'm assuming the victim's multiple identifications of Odom as the perp was also fairly persuasive to the jury.
The article is about a 4 day work week, which is commonly 32 or 40 hours depending on context.

Not sure why you had to make this about AI.
Giant dogs are almost universally known for their gentle temperament and superior qualities for families. They are treasures, regardless of how they age.
In Seattle, someone was intentionally hitting pedestrians at night while recording video.

Seattle Police video:

https://www.youtube.com/watch?v=_T1nazrm28U
This is true, but it is technically an implementation issue. Git supports shallow and narrow clones. The data model works fine with only partial local knowledge. That being said the "check out all files to disk" approach does have fundamental limits for many operations. It is one of the very few operations that are linear with the tree size but it isn't fundamental to the abstract model of Git. To solve this something like a virtual filesystem that fetches new data as required and tracks changed files can make almost all daily operations scale with the size of the patch, not the size of the tree. The data model for this tracked change would be basically equivalent Git's index structure, just applied to the working tree instead of leaving the working tree on a general purpose filesystem.

That being said the unfortunate truth is that many, many, many users of Git rely on the implementation as the API, directly reading and writing to all corners of the `.git` directory. So even if the core command could support something like this (or a wrapper could be provided) it would likely run into a lot of tooling issues.
I've just released two tools aimed at enhancing AI chat models:

1. *Brute Force Tuner with Ratings:* This tool not only optimizes AI chat prompts but also provides ratings for each, ensuring you get the best possible interaction outcomes.

2. *Advanced Prompt Injection Technique:* A novel approach that enables AI models to process and respond to prompts that are typically off-limits, pushing the boundaries of AI capabilities.

Looking forward to discussing their applications in AI research and innovation.
Mercedes AMG-One New Record at the Nurburgring: 6:35.183 [Dash Cam] [video]
Imagine a search engine that tries to persuade you a sponsored product is the answer to your problems, and it can use its knowledge about you to do so.

I think search products will be OK - it will just be stranger than we expect.
In the Netherlands, they're also looking at high labor immigration, and a (probably at least in part) related housing shortage. There are real questions about the sustainability of this part-time "culture".