skysight-inc/HackerNews huggingface dataset:
Second that book! I have read dozens of technical books, but none come close in practical wisdom. If you have been in the industry and worked on large projects you will find it very relevant. I hope it is also as relevant and easy to understand for people who do not have many years of experience already.
Jason Snell 2021 e-readers: Kobo Sage, Kobo Libra 2, Kindle Paperwhite reviews
> No, there is no voting and there is no leader election.

Every 10 minutes a miner wins the right to append a block to the chain, by guessing a secret number. The chances of winning are proportional to the amount of money each miner has expended in the process of guessing the secret number. This is equivalent to holding a vote every 10 minutes in order to choose who gets to append the transaction block. Therefore, you're wrong. There's a vote. And if you can't understand this obvious fact about bitcoin, you have no business discussing bitcoin.
Australian anti-troll laws propose forcing social media orgs to disclose names
That’s incorrect.

The proposed block must comply with the rules your node enforced, or it will not be accepted. It’s not just work, but also the entire consensus-set they must abide by.

Miners cannot force new rules, if there is no consensus.
> union contracts
And does it have an army of highly paid developers and engineers to look after it also? ;)
The book came out of Ousterhout's course on software design where he reviews student code as they work on a significant problem - building a text editor. There is very little (if any) material out there of this nature that goes much beyond personal opinion (usually under the guise of experience) and sloganeering. This one though, is a hearty dive into the delectable details of design.
I was a bit unsatisfied by the top answer which mostly seemed to be a reaction to the connotations of the word ‘backwards’ rather than a discussion of the history which was tacked on at the end.

I think the answer is that languages didn’t traditionally have base-10 systems of counting words (e.g. in English you see things based on scores with irregular number names below 20 persisting, and you see systems based on the dozen and gross, and money and measuring had other counting systems). When Hindu-Arabic numerals arrived (via Fibonacci et al) and were adopted, languages adapted more towards base-10 systems to match the written numbers, and English ended up with a regular left-to-right system for numbers above 19 and German ended up with irregularities up to, I think, 99 (French and Dutch also have weird systems up to 99 I think). So the fundamental point is that the reason number systems are so similar (and therefore the reason this seemed like a sensible[1] question) is that they were redeveloped based on the new arithmetic system and people don’t really notice the vestiges of the old systems much.

[1] I don’t want to say that the question is bad but rather that without the historical context it seems like a question more specific to German than something like “why do adjectives come before the noun in English and after it in French” which ends up with an answer that is roughly general history plus “that’s just how it happened”.
Good. Then we both agree that date formats tend to reflect spoken language, not unit cardinality. FWIW English is my second language. I'm sorry if my ethnocentricity offended you.
The French language has such words, but Frenchmen don't use them. For example they prefer to say the old fashioned "quatre-vingt-dix" (4 - 20 - 10) instead of the perfectly fine "nonante" that French speakers in Belgium use.
> Number of lines of code is a good metric for complexity.

I don't agree with that premise. LOC are a metric for code size, not for complexity.
I've found that in practice the number of statements is a more reliable indicator for code size than lines of code. (For typical imperative languages anyways.)
> And this is the reason why I cannot take any climate change conversation seriously unless it includes the topic of cryptocurrencies.

Bitcoin's electricity use (or the electricity use of any other single application) is pretty much irrelevant when it comes to addressing climate change. Proof:

• Too much of what we does depends on electricity and has no even remotely feasible substitutes for it to be plausible to give up on electricity. In fact, switching more things to electricity, such as transportation and heating, is a large part of what we will have to do to address climate change.

• Therefore to address climate change we are going to have to switch to sources of electricity that are climate neutral, which cleans up Bitcoin (and all the other uses of electricity) from a climate standpoint.

EDIT: to clarify, of course Bitcoin's electricity use now has a climate impact. My point is that this will eventually be taken care of by the necessary switch to clean electricity for all our electricity production.

Until that happens we of course should be trying to clean up current electricity uses, but there are currently bigger fish to fry on that end than Bitcoin. To dismiss taking climate change plans seriously because most conversation is about things with bigger impact is not sensible.

If we take too long on the supply side and Bitcoin continues to grow it may move up the list to where it is one of those uses that we will need to address before we clean up the electricity supply.
The mining is a kind of ratchet. Not really, but psychologically, which is enough. As speculation goes up, people add more mining equipment, which “props up” the price.
Six foot solar tower To cut your power pills by over 65%
GPUs have been weaponized to crack passwords, make deep fakes and mine crypto (which is used to launder money and buy illegal goods and services.
Pi-hole require upstream DNS Servers to be set.
Its a great idea and you should keep going with this (and nice work so far). You may want to consider the idea of only presenting disambiguating tags. A simple heuristic like finding the top x tags of close to equal cardinality and throw the rest away. The value of what you've built is disambiguation and if you present every single tag, most of those tags are noise. Hope this helps.
Yes, they do. Belgian French has "nonante", for instance, which would be better, but which just never caught on in "standard" French. It appears in my Cassell's French Dictionary, but it's marked "dial." for dialect.
And the fact that he doesn’t surround his videos with tons of cruft to make them longer.

Probably the only YouTuber that tries to sell me stuff and I totally think that is a good and natural idea.
I certainly remember how the first death toll estimation by neil fergusson were off by (at least) an order of magnitude, and completely changed european countries attitudes from being careful to being hysterical.

I don't think much has changed...
We are talking about computer time here. It's cheap to spin up 1000 tiny aws instances.
The hardware store?
CPU makers add so many complicated features to let users optimize their programs that it takes too much knowledge for mere mortals to optimize their programs - That you have to rely on heuristics and measures, as it is usually and wisely advised, is a bit unsatisfying. That's sort of ironic, in a way.

I used to do assembly and count cycles, but now I wouldn't dare; it's hardcore compiler and library makers stuff. It's like "don't do your own crypto (optimization)".

Everyone knows why it is so, though - we cannot solve the problem by throwing more Gigahertz at it.
I am surprised a Microsoft MVP Certified Professional expert did not pop up yet in the newsgroup, asking you to reboot your machine and review the steps in a certain technote ;-)
So iiuc:

The libc++ implementation is bad. The libstdc++ implementation is fine. The issue with the former is that it doesn't have enough spare capacity so it has to shift elements around too often.

Actually I think the push_front is even worse than stated: O(n). Consider an array with capacity N+1, contains N elements. Now if you alternate push_front and pop_back then every push_front will cause memmove of N elements.

Oh and to make like a 4th addition to this comment: It's kind of funny that the code is so unreadable that the author found it more helpful to look at the generated assembler code.
If you are actually confused about it, you have not noticed how big tech is censoring and blocking people from displaying their dissent about what's happening in the world.
We haven't given the actuaries enough time, they'd slap an umlaut on there, and then we're good to go.
Does the cognitive energy expended by French to do basic counting conditions their brain from early childhood for mathematical proficiency resulting in so many great mathematicians whose native language was French?
</end_of_joke>
"Have you tried closing your browser and then opening it again?"
This wasn't much of an explainer, it didn't even cover all the things that .DS_Store is capable of managing. The wiki does a better job of covering the topic.

It's also not something to get upset about - if .DS_Store or Apple double files (or for that matter Desktop.ini / thumbs.db) are a surprise then it's time to hang up one's coat, they're trivially revealed in the terminal and so predictable and easy to deal with that complaining about them is akin to holding up a dunce sign.

If one has purchased hardware/software that can't cope with them: get a refund, this shit is entry level basic.
Where there is a filename there is a hard link, so that's true in a trivial sense.
Sudden cardiac death in young people with apparently normal heart (2001)
From years of experience of being around Lawyers, many of them seek the need to say things in the most unnecessary complex and impersonal ways. Lawyers are often terrible communicators.
If he picked it as fast as LPL does some locks I may be inclined to buy a new lock from them
And does it have a cute animal-based mascot?
Burden of Proof (2006)
I read novels just to reduce the pace of my brain.

Maybe your brain does not need to work like that.
The real question is how much longer the USD will remain the reserve currency and what will replace it.

Europe is a museum. China would have to open its capital account, and that’s not going to happen.

The answer is obvious by now.
I am quite careful to understand the words I use. Your lack of specifics makes it hard to know what you mean though.

> there's no global medium

... He said on the internet.

> People that don't want vaccinations will at some point be treated like people that don't want blood transfusion.

Glad to hear you say this, but didn't you also just say that eradicating the virus by vaccinating 7 billion people is possible and to be aimed for?

> IP legislation has nothing to do with any lack of doses.

It sure does. https://www.citizen.org/article/pfizers-power/

I suggest you start trying a little harder to understand what I'm saying before arguing or saying I don't know what I mean.

And, until you address the issue of animal reservoirs your entire argument has a planet sized hole in it.
It's clear from the high pay in the software industry that not enough people are learning comp sci.

Think about the explosion of productivity growth/societal wealth, if there were 2-10x the current number of trained people in programming/comp sci (following same skill distribution). Many great ideas are likely not pursued due to high cost of talent... It's pretty much necessary to use VC these days for anything big.

It's very odd to me that academia seems mostly divorced from optimizing towards societally beneficial outcomes. E.g. there should be obvious incentives to push people towards economically productive degrees.

Or even better, vocational bootcamps should become the norm. But perhaps longer like a year or two.

Schools should really have skin in the game in terms of financial success of the students afterwards. Otherwise there's a large disalignment of incentives.

I reject the idea that school is about becoming educated rather than getting a job. You think all these kids are taking tens to hundreds of thousands in debt for enlightenment? We have the internet now, come on.
"Time doesn't flow — we flow."- Michael Crichton
The locks I am most impressed with are from the days of alcohol prohibition. Some doors to speak-easy's looked like part of the wall, had no key holes. Rather just small holes all over the "wall" and you had to poke a piece of metal through the right holes and push/pull the wall in a known way. No windows, no appearance of a room, just a wall. The stairs leading down to it would usually go right past the "door" into a basement storage room with nothing exciting to see. The cops could walk right past the door a thousand times. It might be fun to build a home like this. I suppose you just have to design it so people can not see where you actually entered.
If Jeff Bezos (in a disguise) went to one show, how long would it take to bring the average back down?
Yeah, that makes insurances pretty useless. I have a jewellery insurance but it but the number of outs for the insurance company is saddening. I need to get hurt when I getting robbed on the street before they will cover the theft of my watch. One of the reasons why I mostly wear some watches at home. And if I get violently robbed they only cover up to the retail price and not the replacement cost/price.

If anyone know a better insurance the cover the above cases in the UK. Please tell me.
> I want LPL to tell me once what to buy,

That would entail far more responsibility - and possibly liability - than telling you what not to buy. Remember, this guy is a lawyer.
I don't find any of these points to be convincing.

Storing data in a blockchain doesn't mean that local laws don't still apply. Even if the FBI can't prevent you sending money to a terror organisation with a smart contract, they will still arrest you for it.

Being able to reason with someone can be an advantage. With imperfect rules, having authorities involved that are allowed to have some discretion can be a huge boon.

And not having to hire lawyers? Well, you still have to hire someone who understands smart contracts, someone who writes them, and someone to negotiate them with whoever you want to close your contract with.
You can run it through https://hn.algolia.com/?q=https%3A%2F%2Fz-lib.org%2F

( with the search box in HN footer )
I don't mean to "victim blame", but I'm curious why you'd choose a username ending in a hyphen in the first place? (I would have thought this wouldn't work on lots of services)
Open source Business intelligence platform made with Python
Perhaps there’s a lack of attention due to the holiday weekend in the US? Seems like major incidents in infrastructure and services tend to happen over holidays (general observation, not GitHub specific).
> "A new idea is delicate. It can be killed by a sneer or a yawn; it can be stabbed to death by a joke or worried to death by a frown on the right person's brow." -Charles Browder

Not just ideas, people have lost their careers to unkind jibes. Here's English Cricketer Monty Panesar explaining the unexpected course his life took after a retort by Australian cricketer Shane Warne that "Panesar hasn't played 33 matches, but the same match 33 times" in a damning indictment of his uninventiveness and inadaptability: https://www.theguardian.com/sport/2021/nov/28/monty-panesar-...

A relevant comment from a thread on CalyxOS: https://news.ycombinator.com/item?id=28101853
This has also broken a bunch of packages in the arch user repository, for example https://aur.archlinux.org/packages/dendrite/

:(
Some researchers found some legally questionable content already in there.

https://fc18.ifca.ai/preproceedings/6.pdf
...determine what defines a Broadway show vs an off-Broadway show. Otherwise never mentioned in TFA.
You're only talking about at any given moment in tjme, but Bitcoin hashing difficulty adjusts in an almost correlated way to number of transactions being performed (or more directly related to popularity at a given time)

https://m.btc.com/stats/diff

So your statement ends up being incorrect over a period of time.
was confused initially, i read that YouTube wouldn't be serving dislikes with its api, so was wondering how this could work.

turns out using the extension helps the app gather likes which it caches for later ie: YouTube still serves dislikes for now and this ext takes advantage of that.

after YouTube removes dislikes from the api they have a strategy but somehow i think it'll be unreliable
Processing the zip file three times over seems a bit excessive?

zip -d "${zipfile}" "__MACOSX*" ".DS_Store" "*/.DS_Store"
> Nor would they accept your hired expert opinion.

I guess they’d be hearing from my lawyer…

My lock picking lawyer…
Thanks for the laugh ;)
A positive side effect of your (1.) scenario is that it results in a surplus of renewable energy (mining needs the cheapest energy and renewable energy is generally the cheapest). Having a surplus of cheap green energy is probably good for the economy, though a lot more than 1% would probably be needed to see significant benefits.
because YouTube's own video are among one of the most disliked video. And they want to appease politicians, big companies etc.
Chia uses “Proof of Space Time” which leans in the direction you’re describing.
And if github.com tried to host their website entirely off your little home server, they’d surely have 24x7 outages from being bombarded by too much load. All your anecdote proves is that it is easier to keep a single server online than operate a big distributed system, which has been obvious for quite a while
And it's one of the rare good advice. Communication failure (or even slow) is so expensive, being the guy who can translate ideas clean and fast will make a lot of things better.
CppReference defines the time complexity is constant: https://en.cppreference.com/w/cpp/container/deque/push_front

So does this mean:
- We're talking about different complexities (Amortized vs something else)
- The libc++ implementation isn't standards conformant
- The analysis in the c++ standard is incorrect.
- Something else
I've not. I'll give it a look thanks
Well, Rust's `copy_regular_files` uses the (Linux) syscall `copy_file_range`

https://man7.org/linux/man-pages/man2/copy_file_range.2.html

Go has had some troubles because they used that with their `io.Copy()`:

https://lwn.net/ml/linux-kernel/20210212044405.4120619-1-drinkcat@chromium.org/

Article about `copy_file_range`
https://lwn.net/Articles/846403/

Btw. https://stdrs.dev/nightly/x86_64-unknown-linux-gnu/std/sys/u...

As the name says, it only works on regular files.

is a bit misleading, it does only work on regular files in the same filesystem when using a kernel older than 5.3.

EXDEV The files referred to by fd_in and fd_out are not on the same mounted filesystem (pre Linux 5.3).
I would disagree.

Nobody looked at the whole stack for quite some time. But it would be time to do so, imho.

The stack is crufted and the necessary complexity is smeared all over it—hold together with a lot of not essential complexity.

Rethinking the whole stack form the ground up (hw layer) through the OS up to distributed networking systems is long overdue in my opinion. But actually nobody designs systems anymore! It's only pilling up yet another layer on top of all the existing cruft.

This hinders also progress in general as it's not possible any more to try out radically new ideas. All "new" ideas are necessary constrained by the existing stuff. You can't "move sidewards" any more to create truly innovative systems.

It would be a good idea to start to look at the whole stack again. And to move things around to decruft it once again.

That's a lot of work of course at the current state of affairs but it would improve a lot of things I guess.

To point out precedence for the suggestion. They're doing the same currently with the std. network stack: The layers we've got are crufted and there been a lot of hacky solutions to cross-cutting issues around. The way forward now is to reimagine the whole stack in hindsight of present-day knowledge about possible design space and current requirements.
Storing 13,000,000 floats to disk per minute on user machines. Doubling storage usage for no reason is not okay, we're already having problems filling up disks with other data.
> There is very little stress in academia.

Are you sure about that? It seems to me the smaller the community and fewer the resources, the more 'intimate' the competition. Stories of feuds over parking spaces abound.
Well, my home server has about the uptime as WhatsApp had this year. Yet I am still happy that I moved my XMPP server to the Hetzner cloud as it seems to have a better uptime then both ;-)
If you really claim that this may be the last respiratory pandemic ever, you're either a fool or deliberately exaggerating your way into an absurd claim.

Furthermore, the obsession with "stopping the spread" of something whose spread plainly can't be stopped EVEN with draconian security theater and lockdown measures is simply misguided. It's a classic case of shifting goal posts right into Goodheart's Law in the sense that the much more reasonable previous focus on stopping hospitalization and death rates has been shifted to a manic focus on case numbers period, regardless of their real harm to people. As a result, we risk containment measures causing much more harm than the increasingly harmless cases of the virus themselves, as it inevitably becomes an endemic part of our human infection cycle. This is what so many previous viral diseases have done and we've learned to live with them quite decently. Enough bloody hysteria about every new variant or spread of the virus unless it's actually harming large numbers of people to a dangerous degree.
3 doesn’t apply. The only way to make money is to resell the token/coin/whatever. The holder can’t actually extract any value from the underlying asset.
it's not south enough to offer a proper Mediterranean summer in December
Do you happen to have 2 months old predictions of the models you find non-trivial? My sense is that this is weather vs. climate prediction. They may be able to do a somewhat reasonable job a few days ahead, but beyond that it's all about common sense, i.e. similar to the historical record, as limited as it may be. They probably constantly retrofit the models with current data, which makes it look like the models where accurate all along.

Common sense can also work in the short term. E.g. Austria (and Netherlands) seem to have crested the cases wave [1], which I predicted a 3 days ago by looking at the death rates plateauing, and noticing that the same pattern happened in US southern states and BG/RO [2]. I wonder what said models were saying 3 days ago, if such models exist for AT/NL and if they happen to publish their historical predictions.

[1] https://news.ycombinator.com/item?id=29334288

[2] https://ourworldindata.org/explorers/coronavirus-data-explor...
Certainly, modern CPUs are pipelined, but each clock cycle is still the worse-case time for all steps in the pipeline.
No, like others have stated, the climate challenge is switching our entire energy production (plus other fossile fuel end-uses) to net-zero or net-negative emissions.

If Bitcoin disappeared tomorrow, it would give a small reduction in energy use, but at best it buys you 6 months extra to decarbonize electricity production.
I signed up to GitHub almost 11 years ago, and someone else already registered the username I used for everything. So 11-years-ago-me tacked on a hyphen as I had seen a few other people do it, too.
China's policies on this issue seem reasonable to me. I don't think doctors should perform operations that remove healthy organs or that health insurance should cover such procedures. Being male or female is not a malady to be cured.
Hey now, that's libel. There are problems that can be solved by rebooting, and a Microsoft MVP would never post a genuine potential solution. I'm pretty sure you meant to say "an MVP popped up in the newsgroup to copy/paste a paragraph of random intro text and then ask if he's solved your problem".