skysight-inc/HackerNews huggingface dataset:
They annoy me slightly, I think the reason is people clearly put effort into coming up with "hilarious" combinations and then try to pass them off as a spontaneous product of their strong feelings. The real internal response was probably a boring combination of the same old words and maybe some now banned ones from school you can't fully shake.

It's like the tumblr trend of suddenly switching to caps partway through a word, the verbal equivalent works but I know you're proofreading your posts.
Thing I wish I’d learned sooner about git: it was designed to make patches a first class entity. Trees of objects are indeed the fundamentals, but it’s quite possible to detach a commit by formatting it into a patch (“git format-patch”) and sharing it outside of the context of a repo. No ssh required: email it, fax it, print it out and mail it — all the metadata is retained allowing the commit to be reconstituted as if it were git pushed or pulled over TCP.

Why is this important? Because code review is about reviewing the changes and applying patches in a different context to where they were authored. If I fix a bug in my repo then you should be able to apply my fix cleanly to a repo in a quite different state that mine was in. We can work on different things in a decentralised way and yet still collaborate.

Most people of course don’t work like this. Most people in 2022 will literally share a parent commit from a central repository. They push and pull over the net instead of emailing patches. Their trees are in sync a lot more than the days of patch emailing yore. (Although emailing patches is still used by people who need to exfiltrate a change from some system not blessed with full access credentials to do a real push.)

The thing that does still hang around is the idea of a dissociated patch being the unit of a review. Some code review tools don’t really get this right — Gitlab in particular still muddles up the idea of a merge request and a commit. A merge request has a title and a description but so does a commit and yet they are kept separate. You view an MR’s changes as one big patch and these may or may not bear any resemblance to the git commit or commits and their own titles and descriptions. It is as if GitLab’s authors either purposely or naively ignored the idea that git was designed to think in this way from the ground up, and so they implemented a patch-like thing of their own, on top.

I’ve also never embraced the idea of commits that are for public consumption and those which are not. In my model, there are no feature branches, only branches that combine different sets of patches.

It doesn’t need to be so complex and indeed if you embrace the underlying tool (on which your product is named!) gitlab based git projects would be a bit less special and a bit more like everyone else.
Mystery as Canadian radio station plays Rage Against the Machine song nonstop
And Apple? More like China invoking a variety of "white peril" in 2016.

I have yet to see a single China defender on Hacker News explain the treatment of the iBooks and iTunes stores in China after they were suddenly ordered shut after six months of operation, given no legal recourse at all. The Obama administration did nothing about it while Silicon Valley grandees kept conspicuously silent as well as all my Chinese friends here in the US. The were afraid of Xi Jinping and the Gonganju and still are.

https://www.nytimes.com/2016/04/22/technology/apple-no-longe...
Short question: how these bubbles can be kept in the proper place? Did the proponents consider the effect of light pressure? Such a bubble is a classic solar sail, right?
> "I think that we should treat comments similarly — allow some kind of formatting inside them and then render them in IDEs."

"I've never heard of literate programming and its tools."
I wonder how future generations will judge us. These last years have showed how weak little sheep we all are. The US has spent more in the last 2 years than our entire countries history, we are racked with debt and stuck in 30 different wars. & yet we are still discussing covid and abortion.

We stopped working for TWO YEARS, made things that were proven to be false from the start, the norm and have somehow seem to have just moved on.

I was canceled at work, some social & professional cicles for calling out the absolute absurdity of masks in general but especially cloth & bandanas. When i spoke about the absolute onslaught of studies that have showed our data was all f*cked and we couldn't make any logical assumptions out of it. We had plans in place to quarantine the old and sickly and we did the exact opposite.

I've always tried to understand how people could fight in hitlers army, now i have my answer. It's much easier to posture and social gesture your way to hell than it is to stand against the immoral tide.
Thanks to this, I'm going spend literally an hour trying to figure out the rarest of these I've actually used. I'll be shocked if I don't score at least one single-digit.

I have a couple guesses as to what it would be, but don't want to dox myself, because they're usages that are still in the early stages of catching on.
> My question is why hasn't anyone come along and fixed it?

Because the model is simple and easy to understand, and you get a lot of power from understanding it. Whereas opinionated porcelain that tries to insulate the user from the model will tend to fail in obnoxious ways and will not serve the user.

Really, there's objects, there's commits, then there's a couple of methods for symbolically naming commits (branches and tags) because humans need symbolic names (because we can't memory SHA-1 hashes, or any hashes). Object and commit hashes function as pointers or inode numbers. Symbolic commit names function as hard links.

If you understand the Unix filesystem, you can understand Git.

Everything else follows from these things.

Merges create new objects referenced from the merge commit.

Rebase is just a script around cherry-pick.

Cherry-pick is just applying a delta from a commit and then re-committing.

Everything is copy-on-write except the symbolic names (branch names, tag names).

There -- I've just told you everything you need to know about the model. And all of that trivially carries over to the UI.
I don't think so but cars are easy: just some rubber wheels glued to a steel chassi, and batteries. Shouldn't be allowed to be so expensive
Makes sense as XEmacs was an attempt to make Emacs more IDE like.
Worth noting that around the end of 2020, Chrome and Firefox enabled cache partitioning by eTLD+1 to prevent scripts from gaining info from a shared cache. This kills the expected high hit rate from CDN-hosted libraries. https://developer.chrome.com/blog/http-cache-partitioning/ https://developer.mozilla.org/en-US/docs/Web/Privacy/State_P...
Substack: Not as overvalued as you might think
Anyone can value any company at whatever number they want. Doesn't mean the rest of the world (or even the rest of the VC industry) shares that opinion. a16z, who invested $65M in their last round, also just gave $70M to Adam Neumann for his crypto startup, so their judgement is anyways a bit suspect.
If your 200 browser tabs are saturating your 8gbps link to your m.2 ssd, what do you think they'll do to your 10mbps connection to the internet?
That's brilliant work, thanks!

Imagine if IRS would produce something like this (open sourced) and we could file our returns like this.
>The group that got the bulk of Mr. Zuckerberg’s money — the Center for Tech and Civic Life — sent some 2,500 grants to government elections offices in 48 states. Defenders of Mr. Zuckerberg contend that more grants went to Trump areas while conveniently ignoring the fact that the vast amount of money was targeted to critically important areas for Mr. Biden. In fact, approximately 160 of the 2,500 grants were for $400,000 or more and totaled a whopping $272 million — and 92% of the money flowed to jurisdictions that Mr. Biden carried. [1]

>Much of Mr. Zuckerberg’s money is documented by CTCL’s tax filings. The January 2022 report shows grants of $860,000 to Kenosha, $1.2 million to both Green Bay and Madison, $1.7 million to Racine, and $3.4 million to Milwaukee. These five critical cities alone received about $8.5 million of the $10.1 million that flowed into Wisconsin from CTCL, and $5.1 million dollars of Mr. Zuckerberg’s money was spent in Arizona. Four difference-making counties — Maricopa, Pima, Apache and Coconino — were carried by President Biden and received nearly 76% of CTCL’s grants. This funding helped Biden grow his turnout by nearly 700,000 votes in funded counties over Hillary Clinton’s 2016 total. CTCL sent $45 million to Georgia — more than any other state in the country — and 94% of the funds went to jurisdictions carried by Mr. Biden. [1]

It is pretty clear that pushing extremely well-funded get out the vote operations in highly democrat areas in the most key swing states is enough to swing an election.

This is dangerously partisan.

[1] https://www.washingtontimes.com/news/2022/apr/12/mark-zucker...
BC electricity is 87% hydroelectric, so 100% renewable is easy there, since all that hydro can act as giant batteries.

The link to the Electrify book in my original comment shows how to get to 100% green electricity. It's possible. Not easy nor cheap, but possible. It uses existing nuclear because that's cheap and rational. It doesn't include building more nuclear, though because that would add trillions to the cost.
> This is as ridiculous as saying an electrician will forget how to correctly wire because their wire cutters are too good.

Or as ridiculous as people forgetting huge parts of their first language because they haven't spoken it in years. Which absolutely happens.
hahaha... do you really think these people will accept to be paid like programmers? they have unions.
A new chip not supporting arm32 does not prevent software for being built for the platform. While there are enough users, the distros will be maintained.
Protecting Society from Surveillance Spyware
Never `git checkout -f` or `git reset --hard` unless you know you want to throw away extant changes from the workspace.

That's it. Know that, live that, and you'll never lose work because of Git.
Yeah. Very, very few writers are compelling every single week. But take a group of 40, and it's almost guaranteed that at least one hits it out of the park in any given week.
Did you read the article?

Cache is "slow" because the number of ongoing requests-- including to cache! --are throttled by the browser. I.e the cache isn't slow, but reading it is waited upon and the network request might be ahead in the queue.
The Golf is a 2 liter turbo, i think
It happens occasionally. The Wrangel Island Mammoths are a famous example of remains that date far younger than anyone expected [1]. For human origins, "human ancestors are older than we thought" is usually more sensational than "survived later than we thought" though, so you might not remember examples like [2].

[1] https://www.nytimes.com/1993/03/25/us/dwarf-mammoths-may-hav...

[2] https://www.newsweek.com/our-ancient-neanderthal-relatives-w...
The Mill's memory model is one of its most interesting features IMO [1] and solves some of the same problems, but by going the other way.

On the Mill the whole processor bank uses a global virtual address space. TLB and mapping to physical memory happens at the memory controller. Everything above the memory controller is in the same virtual address space, including L1-L3+ caches. This solves a lot of problems, for example: If you go out to main memory you're already paying ~300 cycles of latency, so having a large silicon area / data structure for translation is no longer a 1-cycle latency problem. Writes to main memory are flushed down the same memory hierarchy that reads come from and succeed as soon as they hit L1. Since all cache lines are in the same virtual address space you don't have to track and synchronize reads and writes across translation zones within the cache hierarchy. When you request an unallocated page you get the whole pre-zeroed page back instantly, since it doesn't need to be mapped to physical pages until writes are flushed out of L3. This means its possible for a page to be allocated, written to, read, and deallocated which never actually touches physical memory throughout the whole sequence and the whole workload is served purely within the cache hierarchy.

Protection is a separate system ("PLB") and can be much smaller and more streamlined since it's not trying to do two jobs at once. The PLB allows processes to give fine-grained temporary access of a portion of its memory to another process; RW, Ro, Wo, byte-addressed ranges, for one call or longer etc. Processes get allocated available address space on start, they can't just assume they own the whole address space or start at some specific address (you should be using ASLR anyways so this should have no effect on well-formed programs, though there is a legacy fallback).

[1]: My previous comment: https://news.ycombinator.com/item?id=27952660
A very nice read with some poignant thoughts and quotes on digital
impermanence. Life on the Internet is nasty, brutish and short.
I'm reading it and I think I got it right. The Git community, the Git documentation, and the Git tools all refer to "branches", and I think what they mean when they talk about "branches" is much closer to what I described than to what you did.

For example, consider this very ordinary-sounding phrase that I just picked out of the git-rebase man page:

> If the upstream branch already contains a change you have made …

I don't think your account can explain what is meant by this.

In any case, I didn't make the choice casually, thoughtlessly, or from ignorance.
If you live in a rich country and are on fiber internet rather than a cable modem (or if your cable modem is new enough), you likely have better latency to your nearest CDN than you do to the average byte on an HDD in your computer. An SSD will still win, though.

The browser cache is kind of like a database and also tends to hold a lot of cold files, so it may take multiple seeks to retrieve one of them. Apparently it has throughput problems too, thanks to some bottlenecks that are created by the abstractions involved.
I really wish MS had worked on bringin their 2008, pages-inspired mac UI to windows rather than bringing the ribbon to the Mac.

https://appleinsider.com/articles/07/11/14/road_to_mac_offic...

Since then Apple switched from having a seperate inspector window for the controls to having a sidebar. I see this as a downgrade, but a minor one.

And MS kind of went for the same idea but laid out the blocks horizontally. Which… since text is wider than it is tall, makes labels hard to fit in.

And because people don’t scroll horizontally, they made the available options change based on the window width. So if you want to see everything, you’ll make the window fairly wide, at which point you’ve got the ribbon using up vertical real estate, and blank space on the sides where a side-bar or inspector could’ve been.
The Planned Parenthood website shares your data with Google, others
To me it rings true. 1x is how much the company could get away with paying, so they did, because companies are reluctant to part with money. 19x is closer to how much value the system was providing, and thus how much resources were allocated to replacing it when that suddenly seemed necessary.

If the company had a more long term mindset, they would have been allocating something like 3x devs continuously the whole time, so that when the original dev quit, there was no crisis.

But… they didn’t. I’ve seen this kind of short term thinking up close plenty of times. Nothing to do with documentation quality.
The ZeroEyes service can cost $5,000 per month for a single high school with 200 cameras. Mr. Watts, whose district uses the service across 250 school cameras, said the cost was worth it.

For some reason there is always money for this nonsense but not things like free lunch or even like projector bulb replacements.
> * Confrontation with US over Taiwan: If you are OK with Texas leaving the union, then you are entitled to support Taiwan independence. Enough said. Pick your side, and stick with it.

I'm sad that you don't realize Taiwan is already functionally autonomous, and wants to remain that way.

It's also telling how you imagine that a typical American wouldn't "let" Texas leave the union.

As far as I (or anyone else I know) cares, if Puerto Rico or Guam or Texas wanted to leave the U.S. (which they don't), and they held a vote, and a supermajority voted to leave, why wouldn't we let them leave? It isn't the 1860s anymore. The world is much more democratic now, imperialism is over, and if a group of people want to go it alone, we should let them.

Scotland had a vote to leave the U.K., and they decided to stay, so they stayed. If they had voted to leave, they would have left.

The U.K. had a vote to leave the E.U., and they decided to leave, so they did.

Would China recognize Taiwan's independence if Taiwan held a vote? Of course not. The reason for this is not merely because China doesn't sympathize with the desires of the Taiwanese people, but because China doesn't even believe in democracy in the first place.
You can get by quite well w/o really understanding objects, just commits. So I like to start teaching Git concepts by looking at commits and refs first, then add color with objects.
Very cool app, but just wanted to agree with OP that I wasn't a huge fan of the timer. Writing is an anxiety provoking activity for most people, and adding a timer can make it more so ( or at least it did for me).
" the connection is not getting established all the time"
Which connection does not get established? The webhook connection to your backend or the websocket connection to your backend?
Or do you get a webhook response, but failing to send a response via websocket?
> You can't run the entire planet on nuclear power.

Yes you can: https://whatisnuclear.com/blog/2020-10-28-nuclear-energy-is-...
The Shadows from Babylon 5 disagree. A contrarian point of view would be to look at the long term results of extinction events or pandemics, like the Black Death in Europe. One could argue that major disruptions shake up the status quo, leading to new evolutionary outcomes that were suppressed. Dinosaurs get replaced by mammals. Old European monarchies and treaties get replaced by modern democracies and capital.
Ah yes, they're hiding the body count. Makes sense now.
Is this an ad? You have to sign up to read the "article" that seems to be a particular company's "solution."
> What’s the difference between a security and a commodity?

Securities: Stocks and Bonds

Commodities: Metals, Grains, and Oil

A commodity's defining feature is its interchangeability. One unit is essentially the same as another unit. To an orange juice company oranges are oranges, to an apple juice company apples are apples, and to an oil refinery one barrel of oil is a lot like any other barrel of oil. Commodities must meet certain minimum quality standards and markets do distinguish between different types of the same commodity. But for the most part it's about quantity.

https://www.findlaw.com/consumer/securities-law/securities-v...

A commodity is a basic good used in commerce that is interchangeable with other goods of the same type. Commodities are most often used as inputs in the production of other goods or services. The quality of a given commodity may differ slightly, but it is essentially uniform across producers.

https://www.investopedia.com/terms/c/commodity.asp

> And what does this distinction change for the SEC?

Good question.

This thread is full of suggestions. I couldn’t find a truly compelling one except that Bitcoin could fit the description of a commodity.
Aha, they're happy with mediocre hires, just good enough -- although it could have been (much) better for the company with another person

A bit misaligned incentives in the same way as agencies have, I'm thinking
Using a Customizable Dictionary to Automatically Train a Network
Basically, making `git reset --hard` and `git checkout -f` auto-stash would be great.
Solar isn't "truly renewable" either because the Sun will eventually burn out, and we have enough fissile material to last a similar amount of time, if we keep reprocessing it.
> all-American clone

Except every US tech company has some Chinese personals, H-1B or not?

Suppose there is a US company that builds and runs a Tiktok alternative. Should the staff be screened by race and birth certificates to make the company "pure American"?
Why a 500k$ wages/salaries limit here? :)
You don't even need a terminal editor to do that; sed will do it fine. If you want to be pedantic about the mechanism by which you achieve the result, you can just use ctags, which even plain vi and emacs support.

What really set IDEs apart from text editors was integrated build tools and the ability to directly consume (and act on) build errors and the like. Search-and-replace long predates IDEs, as does 'code comprehension.'
Much confusion in the comments.

Tl;dr: cache is "slow" because the number of ongoing requests-- including to cache! --are throttled by the browser. I.e the cache isn't slow, but reading it is waited upon and the network request might be ahead in the queue.
> Therefore, as the company sees it, they deserve the bulk of the rewards since they are (magnanimously) giving the opportunity to the 10x engineer.

I think it's really two things.

1. The company provides the structure in which the engineer works. Code is not valuable on its own, it's valuable when it solves a business problem. The company structure converts business problems to engineering problems for the engineer to solve. That transmogrification has value and the ability to build & maintain the transmogrifier (aka the rest of the company) is a skill that gets rewarded. The transmogrifier also uses money as one of its inputs (salaries for the rest of the company) and so some of the "pure value" that the engineer creates can't be converted directly to money for the engineer, because it has to be used in the "business problem to engineering problem" conversion process.

It's similar to the argument about taxes. Why should I pay taxes for things I don't use? Well, even if I don't drive, the roads support other parts of society that benefit me.

2. The engineer effectively pays the company (meaning the owners or shareholders of the company) to reduce the engineer's risk. If an engineer wants to extract every cent of value they create then they need to also take the burden of all the risk. Otherwise the company owners will not make enough on the successes to cover the failures.
We need to iterate on the output for usage-based resources, repeating the same "Monthly cost depends on usage" hundreds of times is not great! Maybe summarizing it as "you have 20 Lambda functions, all running on US-east-1, with this pricing" is better?

But you're right that it needs usage data, or models of usage data... For now, the CLI can fetch usage data from the cloud APIs for S3/Lambda/Dynamo and show engineers that functionX was invoked 2M times in the last 30 days: https://www.infracost.io/docs/features/usage_based_resources...
As nice as DAC projects sound, I really cannot wrap my head around them. 36kt is not much. We’d need around 1.5m of these plants to reach carbon neutrality (without any other changes).