skysight-inc/HackerNews huggingface dataset:
The mantra I live by is that multi-threaded programming is so potentially complex and it's so easy to screw up (eg erasing all your supposed performance gains as was the case in this article) or by introducing subtle bugs or (worse) security flaws that you should do absolutely everything you can to avoid it.

IME C++ programmers seem to put an unreasonable amount of faith on RAII to "solve" these problems eg:

std::mutex m;
...
{
std::lock_guard<std::mutex> lg(m);
// do stuff with a mutex lock
} // lock_guard destructor releases mutex

If you're just updating a (private) map or something, this is fine. But as soon as this gets complex (eg by calling a function and you lose control over what thread is executing because some deep code creates a new thread) then this all turns to crap.

So whenever anyone tells you "just start a thread" without any hesitation, it's reasonably safe to assume they have no idea what they're talking about.

This is one reason I love the async code model used in a number of languages. I have the most experience with Hack [1] but it's not unique to that. What I tend to think of as "product" code (which is a real Facebook-ism) has no need to every create a thread and dealing with any concurrency issues.

Now if you're programming an HTTP server or an RDMBS or other infrastructure then sure, you have a valid need. But if you're just serving HTTP requests, just avoid it entirely if you can because any performance gain is probably imaginary but the complexity increase isn't.

[1]: https://docs.hhvm.com/hack/asynchronous-operations/introduct...
I did not. And watching back at my life, I’d say, I’d be better not trying to do so. I don’t need social life, but I felt self-imposed pressure to participate which leads to nowhere. It’s better to admit that I don’t need social life and social life does not want to have me around and move on.
People publish stuff they find in improperly redacted documents fairly frequently. Sometimes what happens is that the black bars covering the text in a PDF are just cosmetic, and the text is still there. Even if there's a state secret under there, it's not something people get prosecuted for (in the US). You generally have the right to publish state secrets that fall into your lap, even if they were obscured and might have required some technical spelunking inside a document.
C++Cast: New Years 2022
The only flaw Windows has is that you are not allowed to redistribute the cl.exe compiler. For my game engine it's a 35MB zip!

https://developercommunity.visualstudio.com/t/allow-redistri...
I recently read Atomic Habits by James Clear, and also listened to some process philosophy from Steven West's Philosophize This. One takeaway that I had was on the danger of setting goals. I am trying to build a mindset of 'becoming' or to embrace the journey of the goal rather than really trying to achieve a specific milestone.

- I want to reduce/eliminate my alcohol consumption to become a person that doesn't rely on alcohol for social distraction or self-medication. To achieve this I have stopped keeping any alcohol in my home. If I have a drink it will need to be out somewhere and by virtue a 'special occasion'.

- I want to improve my work-life balance by setting expectations that I am unavailable after 5pm. I aspire to be someone who can remain a high performer while also finding and following my passions. This year I will continue to shape those passions. There is no real milestone that I feel I need to set.
Telegram is great if you like shiny native features like stickers and having lightweight native clients, but at everything else Telegram is at risk of losing in the long-term.

The big reason for this is that Telegram decided to roll everything mostly on their own (including e.g. MTProto), Telegram is not compatible with Matrix unless you use a bridge, it is not e2e encrypted (unless you use mobile 1-to-1 secret chats. The server side code is proprietary, and the builds of the clients that are published to the app stores could be anything.

While I love using Telegram right now for talking to some groups of friends, I would look at supporting https://matrix.org , since it will likely become the de-facto standard of building messaging platforms.
> While it's not as bad as telling people to inject or drink bleach,

In your previous post you said it was suggesting people inject bleach though. Now it's not?

> I think it's still pretty bad.

Why is it bad?

> First, politicians should be really careful what they say because some people will only half listen to them.

No that's ridiculous. They should be careful in what they say, but not because people only half listen. And zero people out of 300 million injected disinfectant into their bodies after watching Trump ask this doctor about the research they were conducting, believing it would help them.

And if anyone actually did, it would have been because they heard a lie from a "news" corporation claiming that is what Trump said.

> Second, seriously, the president of the United States is suggesting such ridiculous things?

He suggested that medical research be done on some treatments or lines of investigation or promise that he'd obviously just been briefed on. He probably did the usual politician thing and got confused about highly technical details. Which is a cringy thing lots of politicians unfortunately do. Not all that outlandish though.

> He should realise that what he's suggesting is insane and either have them clarify it beforehand or just keep his mouth shut. And if it's just a joke the timing is totally inappropriate.

I'd much rather that than more wars and interventions and regime change though. Strange how this absolute nothing was lied about and propagandized by many who were so quiet about those other things. Makes you think.
2022 is the year I actually sit down and learn how to use Blender to make models to use in WebGL projects.

Technically 2021 is because I've already started, but that's just details.
If Wikipedia tells you how to read something, it is not encrypted.

If base64 is an encryption, then so is jpeg or *.docx .
When it comes to things like this, transparency prevents cancellations, so it makes sense to be more transparent about it.
SSNs were available in the source but not in the visible web page.

I say the example is good.
Games are a prime example of systems which must take advantage of all possible hardware resources.
The past hounds you more the more recent of a memory it is. The best way move past it is to start making new memories. Have new experiences and it will eventually become a distant memory that you can observe more objectively rather than emotionally. A chapter doesn’t really end until you start a new one.

I don’t have any one big trauma that I had to get past in life, but many painful experiences like the death of a loved one, painful breakup, etc. have taught me to move forward by moving forward. When I feel it’s time to turn a page, I usually spend a lot of time journaling so that my future self will be able to do this even better. I follow a new whim without trying to fit it into the confines of my current life. Learn something new, try a new job, move to a new country. I try to do something big enough to alter my sense of personal identity.
The real pivot was going from DVD distribution to movie and tv show production. This, of course, only happened because the switch to streaming made it so that Netflix were dependent on content producers. Netflix knew content producers would just create their own streaming service in time and they'd lose all their leverage.
Pick up a hobby, like climbing, skateboarding, basketball, diving or whatever and you will be meeting people regularly and frequently.
Speculation is training wheels for scalable direct democracy, and that'll be the killer app of crypto / web whatever.
I already can’t use NUL and slashes in a file name. And win32 limits me even more. It’s always been a compromise

And the amount of feet that have been shot by weird file names is staggering.

Programs will stop working, but that’s why we need a bleeding edge distribution to find them. In the short term things will break, in the long term quality will increase. Just like memory protection broke some DOS apps in the short term
My favorite part of the Nintendo story is that back when it was a playing card company, the heir to the family business took a trip to America that included a meeting at the largest card company in the world.

He had expected it to have a luxurious, palatial campus… but its entire headquarters turned out to be like the fourth floor of a single building in a generic office park. He was like, “This is the absolute pinnacle I can ever hope for if I succeed beyond my wildest dreams running the playing-card company. I need a new idea.”

You can read all about it in an outstanding book called I Am Error that, beyond extensive interviews with the historic key players, also takes an incredibly deep dive into the technical details.
`noindex` was a Google-specific rule that was never officially documented nor supported. I think they were perfectly entitled to withdraw support for it, especially considering there are alternatives.

https://developers.google.com/search/blog/2019/07/a-note-on-...
scheduled jobs running pg_dump and rsync
Here's my argument against the labor theory of value: if you spend one hour making mud pies, and I spend one hour making sandwiches, then our products have equal value according to the labor theory of value.
Chapters in our lives are closing and opening all the time. This is a happening all on its own. We get ourselves into trouble when we try to force events, or feelings for that matter. Especially when comparing ourselves with the surfaces of others, we just lack the capacity and omniscience to really do it. So we get our mind into trouble.

It helps to reflect, to revisit the physical and psychic spaces, learn through introspection. A deeper way is through integration and shadow-work, but it depends on how deep you want to go and what you need.

This can happen alongside going into new chapters, pursuing new interests and dedications. If that's not happening, allowing some downtime and not being too hard on oneself, might be a respite. Life is not work, or something to be worked on.

Learning to listening to life, might be less stressful, and require less of what is not sustainable longer term. But if one is filled and overflowing with ambition, that'll be defining. It's a happening either way.
How about simply holding non-compliant hospitals accountable with appropriate fines?
What was wrong with the Potter case?
I didn’t say I didn’t think it would be well written, I just didn’t expect it to be as good as I found it to be. I had just been reading “Paradise Lost” and found “Crime and Punishment” written so well (not that PL isn’t) and in such an approachable way (PL certainly isn’t very approachable) that I couldn’t stop. Often with classic literature I get bogged down with flowery language, what seems like over emphasis on points, or dialogues that seem to stretch for eternity. Especially classic European literature with their “classic” translations. Often I push through those points and am rewarded by that, but with “Crime and Punishment” I felt almost no friction while reading, which was a surprise to me because I often do feel that friction with classic literature. I hope that answers your question.
Yes, this is true. But isn’t it also true that everyone holding a stock is making the implicit choice not to sell at the current price?

To phrase it differently: If they thought their position was worth less than what they could get if they sold at the last recorded price, then they would dumb their shares. Hence the fact that they keep holding suggest that they think the current price does not yet reflect the value of the company.
I think there's a correlation, but it's not even particularly strong. I know plenty of socially well-adjusted programmers.
For now, only a few extremely recent ARM cores have SHA-3 instructions.

On the other hand, support for SHA-256 and for SHA1 (still useful for non-secure applications) is widespread, in almost all 64-bit ARM CPUs, in all AMD Zen and in some of the Intel CPUs, e.g. Apollo Lake, Gemini Lake, Jasper Lake/Elkhart Lake, Alder Lake, Tiger Lake and Ice Lake.
They might not make a difference. The point is to stop it spreading now, so it hopefully never gets a chance to mutate into something much much worse.
I stick to the index funds. I have no idea how web3 shenanigans affect me. I still haven't seen a comprehensible use case for it.
> How did you close the previous chapters of your life?

I actively initiated a new. Not to sound like some propped-up self help book, but I found, from personal experience, that the "I" in one self absolutely needs to make a decision to move on. You create with your thoughts and when you decide to embark on a new chapter - you will move on.

I've always identified stagnation/standstill as a state similar to death. Humans live by moving; both physically and mentally/psychologocially.
Kodak actually pivoted to making pharmaceuticals. That leveraged what they where actually good at, high precision chemical manufacturing.

Survivorship bias means you see a lot of company’s that have successfully pivoted, and the brands that failed often get bought up after the fact.
I know this is what some enterprise block disk servers do.
This is excellent advice. I just wanted to add, don't underestimate the haircut. I've used this strategy several times to make clear dividing lines in between various periods of my life. For me creates a strangely tangible distinction between what are ultimately arbitrary points from the outside looking in.
POS only works with an active economy i.e. validation requires something to validate e.g. consumers using ETH to buy goods and services. This implies the general population has access to large amounts of liquidity of the currency.

A new institutional investor just needs to start hoarding that easily accessible liquidity and the biggest players in the space will need to give up their share or risk the price of the currency dropping to zero because it’s too hard to transact in it and therefore it’s no longer profitable to tie up 32 ETH and run validators.
Don't feel bad about leaving a bad workplace, you really don't owe them to fix their broken practices.

I'm glad that you found a silver lining in your terrible experience by connecting more with your family. Unhealthy workplaces really tend to distort our priorities in life.
Exchange value is use value for the company, because it can make stock deals to obtain things for the same nominal(dollar) amount while giving up much less equity.

Similarly, if the stock is undervalued, it becomes more costly to raise capital in public markets. So hiring a CEO with poor market perception limits a company's options, even if they're internally very effective.
There is obviously monetary value, but us skeptics see that it is driven by illicit trade, money laundering, tax evasion, pump & dump schemes, ponzi schemes, wash trading scams, etc. All things that are a net negative for society.
We have been using your hosted service for a while now and we are perfectly happy with uptrace, compared to jaeger the UI is miles ahead, I like jaeger for what it brought but the ui is just not very good.

We tried other hosted services but most if not all of them consider you are creating gold from thin air and charge you accordingly, we started with a hosted jaeger solution and switched to uptrace without looking back.
I think the users- while empowered, feel the gap of their own lack of power in the knowledge world very cleary, on a sub-concious level. They are dependent on devices, they do not understand, can not repair or change, so the hostility from both sides is part of a steep, invisible power-asymmetry, that previously has turned on other users and ate their lunch.
Key points you make here.

I have to wonder how much of it is due to just lazy habits, e.g., when major newspapers are written to a 6th-grade reading level, it's pretty easy to slide into skimming habits.

OTOH, once the texts get seriously detailed, even when well-written, logic ability and skills come to the fore - if you cannot simultaneously hold in your head each the multiple concepts being described, as well as the logical relations being described, you'll have a really hard time understanding the interactions between those concepts.

Research to sort out the difference would be really interesting to see. If it is a lot of just bad skimming habits, seems easy to cure. But fundamental limitations in logical abilities and skills are much harder to address.
I don’t understand your argument. There is no actual “publishing” of web sites or APIs on the web. You simply make something available at a URL, and it’s up to anyone else to discover that URL. In this regard, your personal web site is no different than this Google Translate web API.
Well the reporter didn't "take or use" the SSNs. He found them without looking for them and reported them.
It does seem to violate the Google Play ToS in terms of applications not using unauthorized 3rd party resources.

Google will most likely just fingerprint these calls and block them serverside, I'm guessing.
Maven is very slow. Gradle and Bazel avoid doing wasteful things like Maven does so generally are a lot faster... if you want to know the speed of compiling Java you should just run `javac`, assuming Maven speed is Java compilation speed is far from correct even if a lot of projects still use Maven to build Java projects.
The labor theory of value is an old marxist economic theory which is not used by serious social scientists in their field.

The modern approach is called the opportunity cost, and by definition is a counterfactual scenario. It is triggered by a choice you actually have. Otherwise it's called science fiction.

This article does a very average job at explaining the whole thing... Even the Elon Musk example is not accurate. The value of Tesla in the ''without Elon'' scenario is wrong, because in that case Elon would be *replaced* by another overconfident nerd. Just think of Apple without Steve Jobs ; he got replaced by something different, and the firm is still standing strong today...

Good counterfactual thinking is super important, but I do not feel that the author is a master of the art.
About 33% of total US healthcare spending goes to the people that haggle over prices for the doctor and the insurance company.

That explains most of the bad pricing behavior in this space. For the law to have any real effect, it would need to force the hospitals to publish prices up front, and also ban discounting the charges after the fact.

(I get the distinct impression high-cost insurance plans get the best deals from hospitals, but could be wrong. Either way, I don’t thing conventional price discrimination is a thing in this US healthcare market.)
I'm against limiting the character set allowed for file names. macOS is also in the same boat with Linux, going one step forward and allowing \null terminator even in the filenames.

If we're going to limit filenames' character sets, I can offer a simpler solution:

Why allow file names? OS should provide a UUID for all files. No names, nothing. We can just write which file is what to another file, noting its UUIDs to sticky notes.
This is a restatement of marginalism.

Essentially: what is the marginal contribution of some factor X. Including the case where X is some individual contributor.

The question Dave Perell asks needs to be augmented by one other: What is the cost, and value, of an alternative input factor?

If X provides 100 units of value at 20 units of cost, and Y provides 90 units of value at 9 units of cost, then the net advantage is to utilise Y (net benefit: 81) rather than X (net benefit: 80).

Of course in the real world, neither benefits nor costs are quite so readily assessed, but the principle remains: you want to account for both the productivity* AND the cost of the input or contributor.
> Memristors can act as both memory and energy circuitry.

I meant memory and processing circuitry. Memristors can be used to build logic gates more efficiently than existing transistors.
I would like to see apple just establish a personal area network standard. It would be great if we could have 802.11ax speeds. I'd like to be able to just drop battery powered SSDs in my bag, and access them on my Mac.
Sweet deal. How much did you make in total?
No, definitely not, in the US anyone can rent out any physical media legally without any permission from the anyone due to the first sale doctrine. Same as me freely selling or loaning my DVDs and books without asking anyone first.

Before Blockbuster/Hollywood Video came to my town there were dozens of the video rental stores, all of which were mom-and-pop operations.

Nintendo tried to stop video game rentals during the NES era but failed - there was legislation banning video game rentals that was not passed and then they sued blockbuster for making photocopies of their manuals. I think I remember reading that rental stores having to send multiple employees into multiple stores to purchase Nintendo games because Nintendo had an agreement with retailers not to sell multiple copies of the same game to a single person to discourage rental and reseller purchases.
using git with github is still a DVCS. You can branch, commit, merge, whatever without access to the central repository. None of that was possible with the classic VCS - if the central server went down, you were stuck with your current working copy, or copying a colleague's state on removable media
Change of scene. Move to a different place where you're not continuously bombarded with memories. The further the better. You can always come back when you feel that you have found your balance again.
i'd be much happier to have healthcare policy be shaped by family practice doctors than by parliamentarians and bill gates
Samsung was exporting dried Korean fish
Please do! I have no idea what you're talking about, but now I'm curious. The only Google search I came up with were the dancers in the 1920's... in which case I missed the joke =[
How were they blocked? When you sent a message containing "www.blocked-domain.com", what did the sender and recipient get? An (honest?) error message, or silent failure?
I do not want to clean it up from some revealing things, so no. But it is fairly trivial. If you are an experienced programmer you would not have troubles writing one up one yourself in no time.
> It definitely isn’t a single-payer system—but as investor Bill Gurley explains, it’s not a free market system either

Well, the country I live in has a single-payer system that is pretty good on paper. But other than the forms mentioned in the beginning, going to the doctor is equally shitty.

Here, doctors basically cannot be held accountable for anything, which leads to bizarre situations such as waiting for hours in front of their office. All the while you can hear them passionately discussing some football match, because they didn't close the door completely.

No matter the sector or organization, no amount of money and resources can make up for a sociopathic culture.