skysight-inc/HackerNews huggingface dataset:
> It is so ubiquitous

It wasn't until 2011 that Subversion dropped below 50% market share in the Eclipse Community Survey. Something new and shiny will come along and replace git.
Mediocre employees = showing up on time, being well-meaning, but making very slow progress and many mistakes due to a lack of, to be honest, intelligence. Not really understanding why those mistakes are a problem even after receiving an explanation and coaching. Do you think that's a death sentence?
like who would care if you can bring certain type of knowledge's half life to 200 years. since you can't live anymore for that much time, you don't even need to think about solving that problem. just need to think about how to convert knowledge whose half life is less to the knowledge that has higher half life. (like converting API surfaces to mental models)
> There's no definites in software development but if a formula is repeated 10 times you probably have a good name for it and at that point it probably should be in a function.

I don't think your take makes sense. The example in the blogpost states multiple methods have 10 lines of math, but even the author mentions they were similar, not the same. The use of the weasel word "similar" already tells you that it wasn't the math that was shaved off. In fact, the supposedly brilliant refactoring that the blogger did was change the whole interface without any good reason, and with bad object-oriented inheritance chains and mixins to boot. What a mess.

Still, the blogger tries to claim this is clean?

There's a good reason why the blogger was pulled into a meeting and gently forced to revert that mess back to its old state, and why the blogger decided to depict a hero journey in a blog post where any sort of counterpoint is left out.
Much of the Windows compatibility is "just" stable API for Windows controls, GUI event handling loops, 3D graphics and sound (DirectX). Linux has stable API for files and sockets (POSIX), but that's all.
Those networks are named as discrete neural networks. There are already research on those, mainly for (homomorphic) encryption purposes (because it’s much easier to homomorphically encrypt NNs of just 0’s and 1’s than normal NNs).
No, git is perfectly fine. You just need to study it to master it, just like every other tool we use in our craft.
As a spanish I tell you that we are drowning in regulations. Not only european, but Spain itself also.

The level of taxing is also too high for the salary ranges and cost of life.

It is a pitty, because I really think my country has more potential but it is terribly managed from the POV of economics. It could be way better :(
As far as I can tell, Pijul[0] aims to have better conflict resolution and merge correctness.
I'm not super into the theory, so I can't explain it very well, but it looks promising.

[0] https://pijul.org/
> and dont bother making something new.

They don't even bother to add directory tracking ;)
An obvious area for improvement would be semantic version control.

If the VCS would have an understanding of not only what has changed but also how this affects the code, it could deduce a lot if interesting facts about commit blocks.

Like ignoring simple refactorings (e.g. renamings), reducing merge conflicts, etc.
It sounds like you're deep into scenario 2. The mention of "sign off or testers" is a dead giveaway. "testers" being people not automation. likewise "sign-off".

It also sounds like while you know that better exists, the "commercial reality" is "not on this project". I've been there too. I don't see this as being in conflict with what I said above.
I signed up for Prime when it was just shipping, and it was a great deal that made the platform sticky - I always looked there first. When they bundled in all the other Prime functionality and upped the price it left a very bad taste in the mouth.

And yet, here I am, years later, still with a Prime account. I really need to make more of an effort to get off Amazon.

Maybe after Christmas...
So you’re a dog person?
Yes, it would allow to create pipes between 16-bit NTVDM processes and native 64-bit processes.
> > You cannot, without elaborate workarounds, text from a consumer computer, tablet or other device as if it was a phone. Texting requires a phone number and a phone plan.

> Nitpick, but I can text from my Mac laptop using the messages app. I haven't looked into exactly how exactly it works but I think it's somehow proxying/mirroring the messages through my iPhone. It's very smooth and "just works" though.

Correct. I think the GP’s remark meant to say “…as if it was a phone, without a phone as well”.

If you’re sending or receiving an SMS from your Mac through the messages app, it absolutely depends on your phone being powered up and online, to route the message through.
Yes. Here are areas where git sucks:

* UX, obviously.

* Large files (LFS is a not-very-good poorly integrated hack)

* Very large projects (big company codebases). Poor support for sparse/partial checkouts, stateful operations (e.g. git status still scans the whole repo every time on Linux), poor & buggy support for submodules.

* Conflict resolution. It's about as basic as it can be. E.g. even zdiff3 doesn't give you quite enough information to resolve some conflicts (you want the diff for the change that introduced the conflict). The diff algorithms are all fast but dumb. Patch based VCS systems (Darcs, Pijul) are apparently better here.

IMO the most interesting projects that are trying to solve any of these (but not all of them sadly) are Jujitsu and Pijul.
Most games ship textures in a GPU-friendly format such as DXT to avoid problems like this.
Ask HN: Why so many low point, comment-less posts in hone page?
Lately, navigating the home page, I see a lot of posts with relatively low points (around 5-10) and low comment count (many at 0). Shouldn't a post be discussed and up-voted before reaching the home page? Are they manual insertions by the mods?
(I'm not complaining, just genuinely curious).

Examples in home page atm (not exhaustive and obviously prone to change, now that they're in home page):

https://news.ycombinator.com/item?id=38590164 - 3 pts, 0 comments, ranking 7th
https://news.ycombinator.com/item?id=38590144 - 5 pts, 1 comment, ranking 8th
https://news.ycombinator.com/item?id=38574174 - 4 pts, 1 comment
Cutting off "I’d just like to interject for a moment" from this pasta is herecy.
It feels odd to have to provide sources to disprove someone who didn’t provide sources for their claims.

That makes it asymmetrically harder to respond to lies than it is to spread them.

One should be able to point out that a source-less comment is questionable without having to reference sources oneself.
Exactly. I have found many authors of custom GPTs (or gipeties as I call them) to be quite lazy when it comes to explaining what their GPT does. At gipeties.com I am curating the best custom gipeties and I reached out to several dozen authors for more content so I could feature their custom GPT for free. Only a couple went to the trouble of creating a screen grab.
It would be hard to get past the network effects. Just like how we are stuck with SMTP, JavaScript, PDF, HTML, etc.

The only way I could see it changing is if we have a complete paradigm shift. This is what happened when we went from SVN to Git (centralised to distributed).
Ollama runs 13b models just fine on my M2 Air with 16 GB
Then you might be better off with something like Subversion indeed.

Git is distributed, and that means you can't get away from push, pull and fetch, however you name them.

If want you want is a way to avoid making "New New Presentation FINAL 2", then pretty much all features of most source control systems are superfluous.

To me that doesn't mean Git needs fixing, it means it's definitely not the right tool for your job.
> Because the academic/opensource communities famously don't have many hours to dedicate to the cause.

People in academics dedicate their lifes for this. Who has more time?
Google calendar in the 4-week view has always been my choice for this. A two-week view with some more detail per day would be even better, I think.
> Everyone on RCS can fall back to MMS just fine

My cell carrier provides SMS for free, both sending and receiving. My cell carrier charges for MMS, both sending and receiving, so I have MMS disabled. My cell carrier doesn’t support RCS, and would probably charge if it did.

Thankfully, nobody I know tries to send me pictures using SMS/MMS/RCS, and uses WhatsApp / Signal / iMessage instead.

> Another protocol like RCS? RCS simply solves the problems of SMS/MMS. It doesn't add another protocol, it ultimately replaces two of them.

Experience tells me this is false, and that nothing ever dies, nothing ever gets replaced, and augmentation always happens, in IT.
'Impairments' is usually an easier word to use.

'Disabled', in particular, has two differing politically charged usages and definitions. That is, whether one is disabled by their impairments or by society. It surprises most people that the latter is "more correct", being the Unesco[0] definition. It's also the more empathetic, in my opinion.

There are many opinions about this, and there is no collective preferred term.

[0]https://uis.unesco.org/en/glossary-term/disability
> People were praised and promoted for cutting thousands of dollars off monthly AWS bills.

Your in a place that is more rare than you think, a lot of us have experiences more like this:

https://news.ycombinator.com/item?id=38069710
Yep. Insulin pumps can kill their owner and the software updates need to be FDA approved:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4773959/
In my opinion the feature Git has always been missing is version control of branches. Of course the immediate consequence would be that you'd be able to roll back changes to branches but there'd be some more fundamental consequences as well. I'm pretty sure some of the problems with GUI's/wrappers around Git break down because there's no tracking of branches/tags.

Besides that it's pretty much endgame in my opinion if you consider only the functionality it's meant to solve. If another "better" VCS would ever become popular I feel it would have to be a drastic change to the way of working with VCS, even more drastic than SVN to Git was. There's some cruft in Git that could probably be taken away, and that would make Git better in a theoretical sense, but in the real world that would never happen (unless we get sideswiped by another industry or platform).
How do you imagine that submissions get comments and upvotes, if they are not on the front page?

Relatively few people look at /new, and fewer upvote.

So a few upvotes are enough to get a low front page placement, but if the submission doesn't get many upvotes and/or comments it gets dropped pretty quickly again.
You can have different standards for different use cases. So you mean that iMessage and rcs are so different that Android can't use iMessage or apple couldn't use rcs? We don't need to find one standard to rule them all. But we need to stop anti-competition behavior like allowing these protocols to be exclusive.
> Of course providing something like 10% of hidden extra capacity would extend the life of the drive significantly, but are manufacturers really doing that and are not mentioning it in their marketing materials? I never heard that they do that.

Every SSD has considerably more physical blocks than reported blocks. They have to, SSD bad blocks are common and number of writes is quite limited compared to hard disks.

https://download.semiconductor.samsung.com/resources/others/...
Github isn't all git, but all git is Github.
North Korea perhaps?
Many companies host git besides github (gitlab and bitbucket to name two), and you can spin up one of your own in about 1 minute on your hardware or on a private cloud vps.

A github server is much easier to set up than a subversion server. The reason people use github is because it's free, and because it has issue tracking and a wiki and forking which plain git knows nothing about.
Git feels a lot like pgp to me: somehow we're not managing to make things simple enough for use by the general public, even when you only need a few buttons and input fields.

There's differences, such as that pgp is more complicated under the hood and it being a cryptographic system that needs to be foolproof whereas in git you can nuke and re-clone without data loss most of the time, let alone confidentiality/integrity loss. It just feels very similar in that only expert users properly use it and most people who could make use of it don't bother learning because the interfaces available are such a struggle (beyond basic operations anyway)

Whether it can all be solved with a simpler user interface, or whether it would require a simpler underlying system to be able to make simpler standard operations, is where I'm not sure
As a former moderator of some relatively large channels | forums semi frequently subjected to both edge lord raids and the glacial perverse machinations of the slow troll I have one question:

To find the most trusted peers, we use Appleseed, a peer-reviewed algorithm and trust metric which was proposed in the mid 2000s by Cai-Nicolas Ziegler and Georg Lausen from the University of Freiburg. Appleseed operates on precisely the kind of weighted graph structure we have described, and it is also guaranteed to converge after a variable (but finite) number of iterations. Appleseed, once converged, produces a ranking of the most trusted peers.

Appleseed produces its rankings by effectively releasing a predefined amount of energy at the trust source, or starting node, and letting that energy flow through the trust relations. The energy pools up in the nodes of the graph, with more energy remaining with the more trusted peers. After the computation has converged, each peer has captured a portion of the initial energy, where the peer with the most energy is regarded as the most trusted.

Now that this mechanism is out in the open, how robust is it in the face of a determined attempt to deliberate game the system?

ie: Can I become the most trusted for that one glorious moment of ripping the table cloth out from under everybody?
BMW does this before Tesla did : https://global-master-awsprod-b1.prod.bmwweb.eu-central-1.aw...
It is not for cars, but actually many connected boxes exist for motorbikes, such as georide (french) https://georide.fr/pages/detecteur-chute-moto. So not really never seen before.
Y'all know you can change the diff viewer git uses, right?
If the specific words used are the problem, using aliases is a straightforward way to fix them. If you do it for someone, it will break the possibility of searching for help online though.
> Many universities have almost a "no child left behind" policy.

That's true, it's difficult to encourage independent learning at undergrad level and we often end up hand holding and spoon feeding material like in high school. This is partly because it's an easy fix to avoid the most negative student evaluations from the "I won't put in the work and when I fail it's the teacher's fault" types. There aren't many of those but the vocal few can really ruin evaluation average of an otherwise great course. The downside of the policy is obviously that the can gets kicked down the road and employers have to deal with the inability to learn independently.
Git is great for keeping track of logical history, but personally I find that it is missing tools for handling physical history. Reflog is a step in the right direction but it has a limited size and AFAIK it is not possible to share a reflog between clones. Which leaves "cp -r repo repo.backup" as the best option.

Of course, as long as you only do additive changes via commit/merge/revert, the logical history is equivalent to the physical history, but commands like rebase break this model. And despite the flaws of rebase workflows, sometimes it is the best option, like when maintaining a fork.

To my surprise Vim actually has something like this - logical history with undo/redo and physical history with g+/g-/:earlier/:later

Another thing I would like is some way to "fold" multiple small commits into one bigger one (for display purposes only) as it would let me split large diffs into minimal, self-contained commits while maintaining a reasonable git history.
> It must have something to do with the number of mistakes, otherwise it's all a waste of time!

Not really. Imagine two systems with the same amount of mistakes. (Here the mistakes can be either bugs, or operator mistakes.)

One is designed such that every mistake brings the whole system down for a day with millions of dollars of lost revenue each time.

The other is designed such that when a mistake happens it is caught early, and when it is not caught it only impacts some limited parts of the system and recovering from the mistake is fast and reliable.

They both have the same amount of mistakes, yet one of these two systems is wastly more reliable.

> if it's not reducing the number of mistakes, what's it all for

For reducing their impact.
> the free market can reward good development

ha ha

No way, especially because all the people taking most market-business-related decisions (eg which software to buy) are not tech-oriented. If we had more power on these decisions, that would mean that development, and even advertising of products, would be closer to what the parent comment suggest. But alas.
You can pick any of a thousand other correlates and make spurious causal arguments that are just as logically valid as the one you're making.
I expect is not age, but experience that is significant. 6-7 years in the "real world" gave you the perspective to relate those classes to something meaningful that you didn't have before.

We leave our children in a weird bubble where they don't get to experience the world much beyond school during primary and secondary ages, and those who go on to university typically don't deviate from that bubble until graduation. Better life balance through youth, perhaps especially with more involvement in the workplace, seems like one potential solution.
Locally there’s a kind of version control for branches in the “git reflog” where you can see how a branch alias has been moved
Convex sums of different models are also supported, as long as the models share the same vocabulary/tokenizers. As soon as models have different tokenizers, we cannot sum the outputs of the models unless we find some way to combine the vocabularies of both tokenizers. Applications of these convex sums could be (1) model ensembling and (2) Contrastive Decoding (https://arxiv.org/abs/2309.09117) which uses a formula very similar to TopPTopK(M_large, top_p=0.9) - 0.5 * M_small.
The A Bit Gamey blog follows my attempt to build fun and useful apps. It’s a mix of aspects I consider plus mental models.

Phil…

https://abitgamey.substack.com/p/what-charlie-munger-taught-...
I think Git itself is probably too entrenched to be displaced by now, but I recently came across Graphite (https://graphite.dev/) and, while it’s all still Git under the hood, it abstracts away many of the common pain points (stacking PRs, rebasing) and has nice integrations with GitHub and VS Code.
what's the difference between physical history and the logical one?

thanks in advance
That frequency was chosen because it's not part of licensed bands, doesn't mean the band is unused. Also, microwaves have been around a lot longer than wifi and Bluetooth.
Sadly, we're going in the other direction. For example yesterday the capital city of Poland (Warsaw) decided, despite a lot of protests, to restrict "old cars" from entering a number of central districts. "Old cars" will mean diesels older that 18 years initially, 13 years later and petrol cars older than 20 years. The protesters proposed the rules are amended to block cars based on their emissions instead (which would allow most of the small old cars people still have, but it would block many modern SUVs). Of course the ruling faction (still enjoying majority support in Warsaw) decided otherwise. So much for the policy to be driven by "health concerns" and not car dealership lobby.
The 6500 is all deaths of migrant workers who were in Qatar at the time of death, not just work related deaths. See [1] and [2].

[1] https://www.theguardian.com/global-development/2021/feb/23/r...

[2] https://www.bbc.com/news/magazine-33019838
Writing in all lowercase with little punctuation is a status signal
You don’t happen to remember the name of an Amiga game where you navigated a little robot around via CCTV while avoiding security guards, in order to break into a safe?
RAG with llama.cpp, LiteLLM and Mamba Chat
See this article for an example on how to build RAG applications with llama.cpp, LiteLLM and the new Mamba Chat model that uses state space models.

https://neuml.hashnode.dev/integrate-llm-frameworks
50% of accidents are single vehicle accidents that involve drugs or alcohol. It's more if you add in youth an inexperience. So, _most_ vehicle deaths are self-inflicted.

16% are pedestrians. They usually get hit from behind, and even if they don't, almost always at night.

16% are motorcycles. I ride. I love riding, but the reason for that statistic is obvious. There's zero safety margin when you're on one.

Finally, the average death count from a vehicle accident is like 1.2. The average death count from two planes having an accident is like 600. The reason this all matters is because there are several orders magnitude _more_ car journeys than there are airplane journeys in any given year.

You can't compare them 1:1 and the relative differences matter more than the relative similarities.
Not overly complicated, but super difficult to abstract is somewhat of a contradiction. Maybe the inner workings are complicated, but not complicated to implement right once you understand them.
As I read it, the actual problem during the initial Slack conversation was that Pei did not understand who the author was and why he was there. And it's completely the author's fault! He started the conversation with deliberately obtuse corp-speak:

> I'm eager to hear your ideas about how the company should move forward. What are the biggest problems? What are the biggest opportunities? Can we schedule some time to talk?

Instead he should have started with the plain truth, something like:

> I am a hired gun working directly for the CTO. To be quite frank, I am here because senior management is extremely concerned about state of the company's tech stack, and they want an outsider's perspective about what changes should or should not be made. In a couple of weeks, I will write up my report which will land directly on the CTO's desk. You are the most experienced Rails engineer in the company, so any insight and suggestions you have would be invaluable. I would like to schedule an hour's meeting with you within the next few days to pick your brain.
Something that is better should be able to track moves, not just store state. Moves of files and even partial content moved within (text) files. Unfortunately, that needs a tight coupling to the editor, so I doubt that's going to happen.
Ask HN: How do I edit my comment?
I dont see any options to edit my own comments? I assume it has something to do with my acct age or karma but a lack of documentation for HN makes me ask here.

context: If you can see the flagged comment in my profile, it was supposed to be a festicious but witty retort to the parent who had originally posted a one word comment but later ammended it w/o saying 'edit' :|
False. I'm working on two large distributed projects now in git. Neither has anything to do with github.