skysight-inc/HackerNews huggingface dataset:
My basic understanding

- Untracked: Files that Git doesn't know about.

- Tracked: Files that Git knows about. Further divided into unstaged files (will not be part of the next commit) and staged files (will be part of the next commit).

What helped me here was to know that it's possible to track a (yet untracked) file without staging it:

git add --intent-to-add <path>
EU's legislation is only for battery charged mobile devices and accessories, not laptops or anything beyond tablets. EU also considers every few years different connectors.
It's hard to follow this story. Do I have this right?...

Twitter had a permanent WFH policy, and staff arranged their lives based on this.

Musk gives 24hr notice to staff (those lucky 30-40% not already sacked) to return to the office for a hardcore 7 day week, or be resigned.

Musk panicked about sabotage and closed the offices.

But would-be-saboteurs still have systems access, as the people would revoke access have, themselves, been resigned.
golang driving me nuts these days. enjoying the performance, but time.Parse put me into a ragequit mode last night and I really wish it was possible to return a thing OR nil
I don’t the NYT made the decision.
I could argue that most farmers/food-distributors choose Most of the Apple varieties for their ability to stay freshest in a root cellar the longest (which was the primary source of food storage before refrigeration was invented).

We bought a 1870s farmhouse and found some really good Red Delicious left buried about 2 feet deep in the year round 56-degree bacteria-less soil in the basement after the 13 years of ownership. Quite crispy but mealy too, surprisingly.
> It was well-understood that they would be legally forced to if they did not voluntarily comply - which makes the "voluntary" part a bit moot.

Except, that is not true at all. Every single manufacturer moved to a new, better plug when it became available and faced no repercussions. That is no longer possible.
So far, the market disagrees with Buffet and Munger.

In 2018 Bitcoin's market cap was around $150B. Today it is around $300B.

Maybe Charles and Munger might have come up with interesting concepts long ago. But not during my adult life.

They put all this work and research and expertise into their asset picking. But did anything come out of it in the last decades? If you invested into the NASDAQ 100 - no matter if it was 10 or 20 years ago - you would have had the same ROI Berkshire had over these timespans.

There also is a huge blunder at 3:32:19 in the full video:

https://youtu.be/sYiv4AMq9Tk?t=12739

Buffet saying that buying gold at the time of Christ and holding until today would not have been a great investment. To illustrate that non-productive assets are not good investments. He completely misses that most of gold has been mined after the time of Christ. If the amount of gold had been fixed (like Bitcoin), it would have been an insanely great investment.
> the idea behind the law is that it should also be allowed _instead_ of a USB-C port

Indian courts are notoriously inefficient. “Better” would take a decade to define through case law. Anyone who can afford that is better served removing physical ports.

In any case, I see no evidence of this in current releases [1].

[1] https://pib.gov.in/PressReleasePage.aspx?PRID=1876583
Right now USA has not seen the peak IT layoffs yet...it just started. Ask this question again in April 2023. I pity a lot of those Twitter staffs that survived the first cut but quit. They will find it difficult to find similar paying job for the next 6mths. When if one do secure a job, they will be on the first to let go chopping list when layoffs quota needed. Or getting substantial pay cut. I have been on HR for couple decades on a lot of firmwares probably across Fortune 5000 all the way to 10. This is by far the most spookies with at least 3-4 layoffs planned almost per quarter for 2023. Some middle management even discussing padding departments with expandable staffs to lessen the damage to core veteran staffs.
People are already saying this.
I mean it's clearly nonsense. Why even ask?
Sweden have had Swish for ten years now, long before crypto was relevant. It is ubiquitous, I believe 90% of the population uses it. It was implemented by a consortium of the largest banks in the country. And it's not only Sweden: other countries have similar systems. I believe the use case and the need of instant bank transfers was long known, and that crypto was never a catalyst for the need to be aknowledged.

That the US is generally slow to roll out this kind of national standard is mostly due to politics and general aversion to government work, not because the US waited for crypto to make the problem "known".

Relatively very few people use crypto for any sort of real-world currency transfer.
Amazing move for social, health, and safety reasons if true. A country does not need to yield these aspects of their culture for an international event. Actually it would help a lot for sports culture to encourage healthier forms of having fun.
If we are going to entertain the idea of a World Cup then we need to recognize that in this world there are many cultures with different norms. In some of those, there are strong norms against drinking alcohol, and in those countries football and alcohol is not an obvious combination like it is in Europe.

When the US hosts the World Cup does anyone expect that they are going to be willing to suspend laws that other countries find objectionable, for the duration of the World Cup? Of course not, the US doesn’t give a damn what other countries think about it’s (sometimes peculiar) morality. Neither should Qatar.
Valuable practical, actionable advice
Nobody forced them to host the World Cup
Which is why I find looking at `git blame` (or one's favorite IDE's/SCM's equivalent) output so very useful in case of undercommented code.
Automatic translation via DeepL:

San Francisco (dpo) - What's he up to now? According to eyewitness reports, Elon Musk is currently busy setting fire to the headquarters of his latest acquisition, Twitter, with a flamethrower. According to the multi-billionaire, there is calculation behind it.

"Hahaha! Don't worry. It's all part of the plan," Musk announced cheerfully as he set fire to the lobby with a flamethrower from his Boring Company. "It all has to go here! All new! The old building is not loyal and was way too expensive to maintain! We'll build a new, better hardcore headquarters after this!"

Finally, the lobby is on fire in several places. Satisfied, Musk watches the fire grow. "Yeah, burn! Hahaha," he laughs in the glow of the flames. "YOU'RE FIRED, HQ!"

Then, whistling happily, he exits the building with a sink under his arm. "Let that sink out!"

On Twitter, Musk's action is the subject of controversy. While many declare that it's completely insane to burn down the building, which stores important hardware and records essential to Twitter's operations, Musk fans defend the action as a brilliant move and post hilarious memes about liberal snowflakes who are afraid of fire.
We were in a massive boom before, it is probably in their best interest to not try and increase their production facilities at a too fast pace. Building out facilities that are, after the boom, underutilized is not wise is a capital heavy industry such as this one.
Of cause your wording represents an opinion. You say there is no room for improvement on current small scale institutions by using blockchain technologies.

I will leave that opinion to you.

It took several decades from the first steam engines til we had a serious contender to previous means of transportation on a horse back. So the empiric foundations you refer to are not representative.

Have a good day.
I think payroll is one of the easiest to outsource
This is great, thank you for posting it.
By the same token, standardized power outlets would be an affront to the free market and an impediment to progress.

One example of progress on power outlets I know of is Denmark: Here the non-grounded plug has been compatible with Schuko outlets as used in most of the rest of Northern Europe, and Schuko connectors will fit in the outlets without ground connection.

Since most appliances come with Schuko plugs, a decision has been made for new installations to use the Schuko outlet, allowing a gradual transition to the Schuko standard.
Yeah, that's what makes me so concerned! By the time the EU actually got around to making the laws they intended, the USB standards had completely evolved. This process has taken well over a decade.

It wasn't so bad last time around because manufacturers could upgrade from micro-B to USB-C without issue. Now they cannot legally upgrade.
Google launches new search, shopping and maps features
They bought it by extensive bribery.
> How did USB C get adopted by everyone but Apple?

USB-C is by far not adopted by everyone but Apple. There are thousands of devices on Amazon which still use Micro-USB which is as annoying as Apple using Lightning
The benchmarks are meaningless if they can be influenced by coding styles.
You can either buy attention or earn it
Why the Emoji Skin Tone You Choose Matters
It’s only for the poors. The suites and club level will still have alcohol.
The people in my town can't be buried in any of its graveyards. Why? Because they aren't dead yet!
It really depends from miners to miners. As effectively it's about how cheap your energy cost is. Since there's no transport cost, your cost is to acquire cheaper energy.
Here is nothing to debate.

If you know geography and history and little sailing or (sail)planes - from Europe it is much-much easier to reach US than South America, because exists line of islands, approx from England to Canada, directly, which even have built infrastructure of airfields and ports from 1940s, and sure, there is civilization, govt and civil services.

For South America, none comparable exists, even more, on the way you will meet extremely unfriendly zone of equatorial weather, and no services.
Yeah, it also doesn't cover remotes and the decentralised model of git.

I do think understanding that it's a graph is the first step to grokking git though. The other stuff makes more sense after that (at least in my experience).
It's from T. S. Eliot's "The Wasteland":

IV. Death by Water

Phlebas the Phoenician, a fortnight dead,
Forgot the cry of gulls, and the deep sea swell
And the profit and loss.

A current under sea
Picked his bones in whispers. As he rose and fell
He passed the stages of his age and youth
Entering the whirlpool.

Gentile or Jew
O you who turn the wheel and look to windward,
Consider Phlebas, who was once handsome and tall as you.

I get Phlebas mixed up with those lines from Shakespeare's "The Tempest", where we get the idiom "sea change":

Full fathom five thy father lies,
Of his bones are coral made,
Those are pearls that were his eyes,
Nothing of him that doth fade,
But doth suffer a sea-change,
into something rich and strange,
Sea-nymphs hourly ring his knell,
Ding-dong.
Hark! now I hear them, ding-dong, bell.
I would argue that a hypothetical "superior standard" that only one manufacturer uses and is not interoperable is neither superior nor standard.
A Mercedes EQS has more range than even the best Tesla S Dual Motor. A Lucid Air too.
Last I heard the BBC moved to PHP about 10-years ago
Twitter developed Finagle, which led to Linkerd. Twitter did a whole bunch of pioneering of service mesh related technologies.
In the future "Simon Elf" will be asked why he approved so much broken code ;)
But Musk replied to the Tweet so I'm not quite sure what's real.

> Thanks for helping out. You’re a lifesaver! [0]

[0] https://twitter.com/elonmusk/status/1593447646470889473
This decision reversal should have been announced before Budweiser paid FIFA £63m for sponsorship. And ideally more than a couple of days before the event actually starts.
Issue is that the amount of people who ACTUALLY use is for money transfer without the speculation part is very lil. Probably less than 1%
It was all magic to me until one day I finally took the time to look at git internals.

You can build a valid git repo with simple unix shell commands, and that really helped me to understand the magic behind the git commands:

https://git-scm.com/book/en/v2/Git-Internals-Git-Objects
My anecdata from the US agrees. The best part is when funding agencies require proposal reviewers to actually send their critiques back on research proposals. I've read through many reviewers replies to proposals designed for specifically set risky/novel research funding and the responses are sometimes so conservatively comical without a truly valid argument you can't help but laugh.

I've also worked at research organizations specifically touted as being highly independent with freedom to explore novel paths and the story is basically the same. Ultimately, someone somewhere holds the purse strings and conservatism kicks in. You at minimum need to spin your research to fit popular trend keyword language or make it apply to these areas.

Financial structures ultimately dictate the lack of support for novelty. Basically, novel research has freedom only when it's independently funded, which limits the scale of most novel research. No one wants to take risk, they want to market taking high risk while taking low risk and selling mediocrity. I think the fundamental underlying issue we have across multiple societies is that we no longer proportionately reward risk anymore and that's why people seek low risk everywhere. Taking high risk often has limited opportunity for reward, even if you are successful, so why bother? You'll net more success taking low risks and only fools take high risk.
> Like having to declare a constant for the number of cents in a euro/dollar.

I agree with your point, but this is a bad example. Naming these constant CentsInEuro and CentsInUSDollar is consistent with the style guide.

As silly these examples are in isolation (of course a cent is 1/100 of a euro or a dollar), if you are writing code that processes currencies beyond euro and dollars, you will quickly end up with (using Chinese Yuan as an example):

const (
JiaoInCNYuan = 10
FenInCNYuan = 100
...
)

At which point adding

const (
CentsInUSDollar = 100
CentsInEuro = 100
...
)

is not just reasonable but a good idea.

Additionally, suppose your code needs to deal with historical currencies, you'll most likely need:

const (
ShillingsInOldBritishPound = 20
PenceInOldBritishShilling = 12
...
)

This is also a good example that the knowledge that a cent is 1/100 of a dollar or euro is highly culture-dependent. A British programmer from as late as 1970 will tell you that it's silly to create constants for these: of course there are 20 shillings in a pound and 12 pence in a shilling, everyone knows that! (I also like to think that they'd assume that a "cent" is 100 dollars because that's what centum means in Latin, but it's probably highly unlikely for them to never know US dollars and cents.)
https://twitter.com/Snowden/status/1592587655178592256
I know, I intentionally used the term standard, not a law, but also wanted to keep it short.

I went into more details in my other reply (https://news.ycombinator.com/item?id=33653799). Not being an EU policy expert (nor a citizen) I probably got a thing or two wrong and would appreciate corrections.
Two real life datapoints.

1. A friend of mine has a small software consultancy. He usually works within EUR area. All fine and dandy there. Then there was a client in the US, they agreed on a USD rate for his work. He went to his bank to open a USD account, they did additional AML and KYC procedures and just refused to open a USD account. Didn’t even explain why, he’s not doing anything shady. So, the first USD payment went to his EUR account, and got automatically converted at a very unfriendly exchange rate making him lose non-trivial money on that. Now he accepts USDC and converts on an exchange instead.

2. A different friend has a hardware/software business. A client in an African country found them. The African client wanted to use PayPal, as ‘banks are troublesome’. They didn’t accept PayPal as it can be recalled. So they did the transfer through the banking system which stuck in it due to AML for a month. Because, why are you having a payment from Africa? Are you selling drugs? Are they terrorists? They aren’t using crypto, but it sure would help here.
Thank you, this is very useful. But I have some more doubts. What is that space-time actually? Is there a global single space-time or does everyone has its own? Let's assume the starting point of my travel have coordinates (x: 0, y: 0, z: 0, t: 0). Then I go at near the speed of an light to the center of the Galaxy and come back to the same point a second later (as measured by my local clock). So I arrive at coordinates (0,0,0,1). But for the ones who stayed on Earth this point has a different coordinate (0,0,0,<very large number>). So it looks like it is not a single spacetime and this analogy kinda breaks :(
Yeah, man, it's going to be tragic when discord shuts down at some point and all that knowledge just disappears forever
Tweet is not available lol. Had to reload a couple of times. First cracks showing?
Given that this whole thing was about forcing one bad player, Apple, to do the right thing, why not sunset these laws in five to ten years? That way, future innovators don’t have to first get this requirement repealed. USB-C is not the be-all end-all of charging ports. Note for example the female connector with the fragile plastic piece in the middle. Better alternatives will emerge but now they have to pass through Euro and Indian bureaucrats.
Bitcoin doesn’t have a market cap. This is true because if you somehow could pay $300bn today and then possess all bitcoins you would have acquired literally nothing whatsoever.

This, in fact, is exactly what these guys are pointing out.
I believe about 10-years ago they moved to PHP. They were one of the biggest PHP shops in the UK when I left the UK 8-years ago.
The qualifiers is 'unless you know what you are doing' .

I rebase PRs all the time, since they are my branches and my colleagues don't depend on them. If they do, I communicate with them so they know what I'm doing.

Things get very messy when you rebase a branch that multiple people branched off from, without them knowing you are going to rebase etc.
Haynes and Chilton manuals: Better than trusting someone will remember 18436572. (Firing order as a password component?)

Encyclopedia Britannica from the 80s: Reasonable account of the past

Radio Shack electronics pamphlets by Forrest Mims: Great introduction to electronics.

The Art of Computer Programming: Why reinvent this wheel?

Mad magazine: Humor

Cookbooks and edible plant guides: Gotta eat.

Boy Scout manuals, guidebooks, and merit badge books: Full of useful information

Machinery's Handbook: Relearn to make parts

Military field manuals: Helpful information for survival and tactics

Anarchist Cookbook: Blackpowder, gene pool cleansing

Marconi Patents: Communications - Slip in a Morse code table too.
Wtfe
It doesn't even have to be active sabotage, techs notice abnormalities and incorrect requirements all the time, you can sabotage by just ignoring issues you see and not correcting people doing things wrong.
I think there'll be a few diplomatic incidents for sure - people will get busted sneaking alcohol and drugs in, many will be arrested for breaking various local laws. But I don't imagine it'll be too chaotic, I think it'll just be a damp squib of a World Cup overall.
Do you really? Even when couched in terms of "this was a panic emergency measure"? It seems blindingly obvious.
Key is described as choosing a certain set of notes from all the available ones.

A key is not just a collection of allowed notes, there is a kindof frequency distribution to them too, so that the tonic is either the most used or the most implied. The fifth is often the second-most-used. Its sortof like a key has a 'center of gravity' in the tonic note. Either it will be used a lot or alluded to a lot by the other notes.

Is there any popular music that belongs to multiple keys because they only use the notes that are shared between them?

Sortof - the notes might technically be part of a few different keys - but usually there is an 'implied center of gravity' pointing to a tonic note and that tells you what key you are actually in. But if you make it ambiguous for a few bars it can be a useful musical effect, sorotf suspense. And then you resolve to one or the other possible candidates and it sounds cool. But if you do it for too long it sounds muddy.

A good key change is sortof like that, you hover in a space that could be either key for a bit then resolve to something specific.

Or, is there anything that doesn't belong to any key because it uses more notes than are allowed by any key?

Jazz goes all over the place. Accidentals, key changes. An accidental is like a single note that isn't 'in' the key. Perhaps like a one note key change. The keys are still part of it but its more adventurous.

If you completely ignore key altogether its polytonal and it sounds kindof annoying.

Or people invent their own ones, e.g. Aleksi Perälä and the Colundi Sequence https://thequietus.com/articles/20493-aleksi-perl-perala-col...

Althought there's a big argument as to whether western keys are all just conditioning or something intrinsic. e.g. Does Major sound 'happy' and Minor sound 'sad' to all humans? Octaves are pretty universal in human music but after that it gets complicated. I think there's some good pointers to how overtones in in inner ear correspond to frequency ratios which correspond to classic intervals such as the third or fifth. And then how best to construct a scale that squeezes in the most useful thirds and fifths and so on. If you follow that exercise then the white keys/black keys on a piano start to look quite optimal. BUT social conditioning, anthropology and so on so maybe not.
Can a universal basic income help address homelessness?
I don’t think anyone’s arguing he shouldn’t be allowed to spend his life on TikTok, they’re just observing it’s not a choice they’d be making. Usually when people gather on a Sunday to watch sports, the ritual is more about the coming together of friends than it is about the egg.

I personally think there’s something profoundly sad about a wealthy, privileged, able-bodied young person with nothing to do but lie in bed and watch video after video of nothingness. I’d call it sad if they spent every afternoon with a bag of heroin too, but in neither case is it my position to tell them they can’t.
In case you still want to build it yourself: you can use sshfs to mount a Storage box on your Hetzner server instance.
You don't have to toss the phone. You can replace the battery with aftermarket one yourself, pay someone to do it for you or sell the Nexus 6 on second-hand market so that the new owner will deal with it.

There are still legal issues, mainly that the manufacturer does not provide replacement parts and aftermarket ones infringe on manufacturer's intellectual property so you only get ones produced in shady chinese factories and good luck importing them in bugger quantity. What really needs to change are the IP laws so that --when manufacturer fails to provide replacement parts or charges outrageous price-- the IP becomes free-for-all shortly after the product release.

Much bigger problem are blatant anti-repair practices - be it kindle buybacks, sonos "brick your old device to get a discount for new one" or manufacturers pairing parts to the device (looking at you apple) so that the parts refuse to work due to a software-lock. Additional tax or even hard penalization of those practices would make sense. Also it would make sense limiting the reach of DMCA and IP laws to enable users to "break digital locks", modify and distribute modified firmware in order to bypass those arbitrary restrictions imposed by manufacturers.