skysight-inc/HackerNews huggingface dataset:
If it's anything like Hacker News, the way it works is as follows:

1. on startup, load all items into memory from the files.

2. whenever an item is changed, save it to disk.

In modern times, you can store each item as a separate .json file, for example.

With this technique, there is no risk of data corruption. There is a risk of inconsistency; e.g. if I remember correctly, when you upvote an item, the vote is saved to disk, then the author's karma is incremented, and finally the author's profile is saved to disk. If the webserver dies between saving the vote and saving the karma count, the karma will no longer be the proper value. Stuff like that. Such things tend not to matter if you design it carefully, though.

EDIT: I was curious what the order of operations was, so I pulled up HN's old source code:

(unless (or (author user i)
(and (is ip i!ip) (~editor user))
(is i!type 'pollopt))
(++ (karma i!by) (case dir up 1 down -1))
(save-prof i!by))
(wipe (comment-cache* i!id)))
(push vote i!votes)
(save-item i)
(push (list (seconds) i!id i!by (sitename i!url) dir)
(uvar user votes))
(= ((votes* user) i!id) vote)
(save-votes user)
(zap [firstn votewindow* _] (uvar user votes))
(save-prof user)
(push (cons i!id vote) recent-votes*))))

The user's karma is incremented / decremented, then the user's profile is saved; the vote is added to an item's votes, then the item is saved; the vote is stored in the global votes table, then the votes table is saved; the vote is added to the user's "votes" list, then the user's profile is saved.
It is assigned. I wouldn't expect the right-leaning HN crowed to understand the basics behind the science, but when a person is intersex and is magically assigned male that is not an observation.

Moreover, what you're really saying is that transgender people don't exist, so you've leaked your power level already.
If you don't view BLM within the overarching framework of socialism, then you are susceptible to misinterpreting the movement, as I believe you have done.

If you think BLM protesters aspire to white levels of wealth inequality then you are mistaken. This would imply that the many, many people on the streets are demanding that they let a selected proportion of black people through the glass ceiling, just enough so that wealth inequality is racially equal.

We could combine the two phrases here: all black lives matter.
Stop romanticising the past. :) You are certainly having more characters vertically on screen on current environments plus having more horizontally.
Depends on the language.

When programming in Clojure I use recursion a LOT.
Right-wing entities appear to sack people for left-wing views without external pressure, neutral entities are forced to sack people for right-wing views.
That's because the one thing certainly Moderna has been good at is hype. Many biologists have been pretty skeptical about an mRNA vaccine and yet Moderna has been riding high.
> Not sure if capitalism will actually end any time soon

It can't because any change or evolution keeps the name.

The only way to end it would be to revert back to a pre-capitalist economy that's not been retroactively deemed one (either by fans or detractors).
I used to work in a DoD acquisitions role (as sort of an engineering analyst).

It's not the actual planes or engineering design work that costs so much money. Most of the time, the companies building the systems know what they're doing. (Not always though... I saw some awful stuff...)

The real costs come from all of the work necessary to get those systems through the government's testing and certification processes. Typically, each individual subsystem has to be checked by a different DoD agency that specializes in that kind of technology. That means dozens or hundreds of similar but different documentation packages need to be created, reviewed, revised, and signed off...
A Lightweight Test Plan
That's an unfortunate reaction to what should have been a teachable moment. You're not wrong, in so far as all lives truly do matter. The statement "Black lives matter" seems to have an implicit "more than yours" tacked on in a lot of people's heads, and that's what seems to grate.

It's not that Black lives matter _more_, it's that systemic institutionalized racism dating back to the origins of the US make it so that Black lives matter _less_ than white lives when dealing with organs of power.
Does leetcode have some partnership with these companies or something? They're basically forcing you to pay their subscription fee to be competitive in in the candidate pool.
It's less a lack of empathy and more a redefinition of it, at least on the woke blue tribe side. In those circles, not rejecting ideas outside the orthodoxy and dehumanizing those who hold them is seen as a failure of empathy because the correct ideas are, by definition, required in order to treat the people who matter with decency. I'm not familiar enough with other groupthinks to know if this applies there too, but probably not.
"Joining as employee number 15 or later at a startup pretty much guarantees that you will get screwed over on equity if the company needs to raise money again"

Can you say that and also still be accepted to ycombinator?
I think you're falling into the fallacy described in Graham's article. You've also made a false dichotomy.
Athens is an extremely ugly city. It's so ugly that, if you grow up there or live there long enough, the ugliness slowly seeps inside of you and empties your inside, too.

Everything looks as if beauty has no role to play in our lives. The ugliness is not confined to the buildings, people dress in ugly clothes and are poorly groomed and rude.

Working for a Greek employer is hell. People hate working and all the time they talk about how much they hate working. Everyone is eager to start their own business in order to avoid having a Greek boss. This has resulted in a fragmented economy with a huge number of self-employed people that invest nothing.

Litter is everywhere, stray dogs are everywhere, dog shit on the pavement is a certainty.
Interesting that this is currently #1 on HN, but (as of right now) 100% of the comments are dismissive & derogatory.

How does this happen? Is it just easier to leave a negative comment than to say something meaningful if you enjoyed the article?
Malaysia My Second Home has been suspended.
Pandas Project: Make a Gradebook with Pandas
yep, that was the first thing that came to my mind
If a retail store removes a product from their shelves, you still have alternatives - selling your product in other stores, providing mail order, and so on.

With Apple App Store, there is no alternative. Your iOS application cannot be distributed without Apple's approval.
Many people would, out of habit or expedience, refer to "women" instead of "people who menstruate." However, in this specific context, Rowling's implication is that trans women are not women. "Most of modern society" would probably be disturbed by that implication.
> If that were true, why has it been happening for so many decades?

You mean white people also getting killed by the police? Good question.

> Fairly sure MLK had something to say about this, and that it was impossible to "not be divisive" when talking about race.

The civil right act didn't grant special rights to minorities, it just made both segregation and racial discrimination illegal. This is a non divisive way to solve race issues.

Divisive slogans claiming the monopoly on victimhood solve nothing.
Every language has its troubled history, but PHP is especially famous for security vulnerabilities by either beginners or intuitive API design.

It might have something to do with the fact that PHP is still taught in a lot of web dev classes (though NodeJS has taken its crown) and that Go is relatively unknown for beginning programmers. Python generally just runs on your own machine because it's not as optimized for being a web language like PHP has been.
I thought the relationship between wealth & offspring was actually stronger for men, but I might be wrong about that.
I'd put TCLCS after SICP and HTDP; these are introductory books to programming in general and therefore are prerequisites to working with a condition system.

Or, in other words, one shouldn't read a book about handling exceptional situations if one doesn't understand what are exceptional situations or why one would need to handle them.
AZD1222 vaccine by Oxford and AstraZeneca looks the most promising so far:

+ already in late-stage trials

+ they are pre-producing it at large capacity

+ verified safe, no side-effects

~ may be very efficient in preventing diseases, but not enough to prevent spread, just slows it

~ may need second shoot after 4 months

~ long-term immunity is questionable for covid and you can get only two shoots of this type of vaccine in lifetime while maintaining it efficiency

https://www.nytimes.com/2020/04/27/world/europe/coronavirus-...
what were her actions that demands bullying in the workplace?
If it only were that simple. I wouldn't fully buy into the idea that security concerns are the only reason why Apple boots an app from its store. Retention of their own monopoly on certain spaces is just as plausible a reason. There are enough apps on the store that track the living shit out of their users or engage in other dark monetization patterns.
A blog about copy-pasting and library overuse
“Anti-aging” implies keeping people younger, not just delaying death.
Try living off philanthropy in your old age.
Everything in AtOmXpLuS
Facebook's plan for privacy laws? 'Co-creating' them with Congress
It's an "all other things being equal" sort of thing, unless you're actually having a discussion that acknowledges intersectionality.

To use your example, if you're poor as fuck, is it worse if you're white or if you're not? For many, it's worse if you're not white - and that's white privilege.
Good point. As for coughing/talking/anything that makes droplets I was thinking masks first and then other measures on top of it, like proper ventilation.
If you're having fun now, wait until you get to PCI for payments.
I think the orthodoxy in the dominant, pro-Trump faction of the GOP would say "All Lives Matter" is not racist or a dogwhistle. (I think there are few that would openly consider themselves racist, thus making their orthodox opinion on the phrase: 'we are not being racist'. Even if I personally disagree with that self-classification.)
Their cars partly block your driveway? Do they make a lot of noise? What are the other impacts on you?
It is rather ridiculous.

"These two guys spent 6 months thinking about this problem to come up with this algorithm. Now pretend like you can independently come up with an identical algorithm in 45 minutes."
> a hefty implied message about the legitimacy of transgender women, one which is rightly considered offensive to most of modern society.

Based on Pew polling, most Americans agree with Rowling[0].

>Overall, roughly half of Americans (54%) say that whether someone is a man or a woman is determined by the sex they were assigned at birth, while 44% say someone can be a man or a woman even if that is different from the sex they were assigned at birth.

Any ideology that considers truth to be unacceptable is a menace. Feelings cannot matter more than facts. Anyone who tries to tell you different should be immediately and permanently suspect.

[0]https://www.pewresearch.org/fact-tank/2017/11/08/transgender...
> low-carb takes less effort and discipline for the same result

For which group of people and what cultural background?

Any advice on diet that tends towards “this works for all or most” is very likely riddled with personal bias.
> one colloquially known as social justice

My main beef with this is that even the philosophical father of social justice, John Rawls, would not recognize the means by which this movement is trying to achieve its ends as any form of justice and in any way aligned with his original position and veil of ignorance thought experiment.

The movement as currently practiced is one grand perversion with all the hallmarks of other populist illiberal (but believe they are liberal) movements that resulted in indisputable injustice.
Yes, there is: I am a touch-typist. So the layout of the keyboard is wired into my muscle-memory. Trying to switch layouts wrecks havoc with that. I tried it for a while, when I had to use an English layout at work, and it was very detrimental to my typing abilities. So I had to decide on one layout, and my native tongue won. As you see, I can type English text quite fine, just the brackets are more painful to type than parens.
I can totally understand why (and by who) this comment got downvoted, but I happen to share its feeling. I won't say it cannot happen everywhere, but the interactions on USA politics have become (newly?) extremely polarizing.
There are entities big enough to challenge Apple if they were forced to accommodate alternative app stores but obstructed them in practice, like GOG, Steam, Google, Microsoft etc.
Dongles are still hell, I regularly still use USB-A and HDMI on my notebook.

My Toshiba Portegé X-30-D is coveted in our company as it has:

1x Full-Size USB3

1x Full-Size HDMI

2x Thunderbolt USB-C (Displayport Support on both)

Micro-SD Slot

Headphone Jack

32GB of Socketed DDR4 Ram

1TB NVMe SSD

Matté Full-HD Touchscreen

Windows Hello Face&Fingerprint Recognition

and weighs only 1,05 kg

The only bottleneck is the i7-7500U Dual-Core CPU that I got because I couldn't wait another generation and now I just don't know what to upgrade to. I hope once USB4 becomes available there will be a Ryzen 4800U successor powered notebook available that just MATCHES the rest of the specs of my current one.
Doesn't really make sense to buy at this price point though. Looks like one can rent an apartment of that size for 1200 EUR a month in Munich.
You probably don't. But when you come across that information you can decide what you want to do with it.
The paradigm example of right wing "cancellation" is probably "anti-BDS" laws.
You're right, except that _the majority_ tends to be one of the bubbles ;-)

It's why I worry about the left promoting and abusing cancel/outrage culture.

Ironically, if you want to protect minorities, then liberal values need to be protected because it is liberal values that protect minorities against the _tyranny of the majority_.

As an example, on the one hand, as a European, I agree with banning hate speech if it is well defined, and I think the western European countries have a good track record in not abusing censorship. On the other hand, censorship can easily be extended to "fake news", or it could be interpreted that a critique of religion is hate speech, the same religion that promotes hate speech in the Bible, with organizations behind it that support conservative values, actively pushing for legislation against minorities.

Why do minorities think that if censorship starts to be more common, that it will be in their / our favor, given the entire history of the human race? It's a mystery to me.
And I understand the current phenomenon in the US. The justice system in the US is dysfunctional because systemic racism exists, and it's unjust. So people are taking matters into their own hands. With a dysfunctional justice system, the outcome is predictable.

However, that outcome will not be positive. Sorry but I don't believe in mobs with pitchforks; the instances in history where popular revolts worked to enact positive change are rare and far between.
For a list of 46 other privileges (some that overlap with this proposal), see this classic article:

White privilege and male privilege: A Personal Account of Coming to See Correspondences Through Work in Women's Studies (1988) by Peggy McIntosh
https://www.collegeart.org/pdf/diversity/white-privilege-and...
It doesn't need to be broached. It's obvious.
I still don't like Slack threads. Too many conversations in Slack turn into threads, removing the conversation from visibility without additional clicking, and fragmenting the flow of information. Real conversations rarely work this way. It's like being in a meeting where every time a new topic comes up, half the people leave the room to start a new meeting, and then come back when the topic changes again. If a topic truly requires enough time and space for that, then by all means take it to another channel or a group chat. Otherwise, keep it in the main space. It breaks the flow and invites premature fragmentation, and the UX is bad.
Stop romanticising the present.

Wider (and, crucially: shorter) displays were foisted on us by the majority of computer users being heavy media consumers the desire to consolidate supply chains.

The efficacy of a 16:10 (or 5:2) screen is undeniable.

I’ve been looking for a good 16:10 screen to replace my aging Dell U2412M’s for over 5 years at this point.
One thing people need to consider also is their router.

If they plug a 1gig network into an old 802.11g wireless router or an old 100/10 network card with cat4 cables, you are not getting what you pay for at all.

Rock on over to my parents house. They were paying for 40 and had it plugged into a wireless usb dongle that could maybe manage 2.5 on a good day. That came from the ISP. Bought them a better one and they were getting near the rate they were paying for.
Sorry - I phrased my question a little ambiguously.

How do you know which ORG the user is requesting to join?
One interesting part of living in China has been the different sets of orthodoxies and heresies people have. Things that are unspeakable in the US are conventional wisdom here, and things that are unspeakable in China are conventional wisdom in the US.

Of course, the conventional wisdom in the US as it exists among upper-middle class, college-educated white folk in 2020 is exactly right about everything, but it's interesting to see just how wrong people in a different society can be without even realizing it.
I'm completely in favor of randomized interview questions. My personal favorite approach is a two-way interview. You get to ask a technical interview question of the person you're interviewing with. If they ask you a ridiculous question, they get hit with a ridiculous question also. As an employer you could monitor this and see if you're employees are giving unfair questions to candidates they can't answer themselves. It would also be a good idea for HR to record all of these interviews so they can have someone knowledgeable judge the interview process and track the performance of new hires versus the questions they are asking. If the interviewer starts having problems answering their own difficulty level in questions then maybe they should be looking for a new job also. I was once asked a ridiculous question and threw an interviewer off by asking them how many times they had actually implemented something like they were asking, they stopped talking immediately.

My personal opinion is that all of this should be scrapped in favor of seeing what the person has produced and having them partially implement a solution of something they have written in the past. It is a virtual impossibility that anyone could work on a project of any sort without being able to sit down for an 8 hour interview where they are responsible for partially re-creating something they have worked on in the past. To this day I still remember large parts of source code I've worked on 10 years in the past.
Why is that? Like, on the US west coast, ballooning home prices makes sense because their cities are in valleys with a fixed amount of land, but munich looks like it has a bunch of farmland around it that could be converted into housing increasing supply and thus decreasing prices. This coming from someone in chicagoland which has 9.5 million people but housing isn't crazy because the metro area sprawls 30-40 miles out into what used to farmland.
It's worth noting that if your ML work is entirely CUDA based (as often happens), you likely won't benefit from a Threadripper CPU. Downgrading to a Ryzen 9 or even 7 will reduce costs by a good bit. The savings can be pocketed or put toward a second Titan RTX + NVLink (48Gb usable VRAM).
I agree with you. But I wish we could get our shit together, decide that maybe this is a problem out of scope of the economy and we should solve it with the tools we have regardless of cost. Print some money to pay for it, push the cost downstream through inflation, doesn't matter the mechanism. The work needs to be done either way, but we should start now.
I don't think anyone's really tried to solve this yet - can you reference any actual attempts? Also, if we need to fix a problem where companies are exploiting their access to a common resource (the purchasing power of the middle class in a given country) without paying to maintain that resource - how would we ever fix that without involving the only entity with the power and mandate to block the companies' access or charge them more for it, the government?

I think the biggest hindrance here is that transfer pricing is a complicated issue, that most voters don't understand the mechanics of, so there's not been a lot of pressure on politicians to solve it. It's been much easier to just lay the blame on immigrants or whatever, than to actually attack the root cause of the issue.
>So the side effects are huge

Those side effects are very mild. Headache. Myalgia. etc.

How many times in your life has your arm been sore after a flu shot? These need to be measured but are not 'huge side effects'. No observed adverse event met the pre-defined cutoffs for stopping the trial.
Why couldn't Apple do this but place requirements on the additional app stores. They must conform to Apple mandated code signing, follow APIs it designs for app installation and permissions management, must provide an email obfuscation layer for accounts and payments, and all binaries must run through an approved AV before installation. Would check most of the boxes for remaining Apple-ish. No reason allowing a second App Store means letting all hell break loose on the system.

Personally don't see the need for an additional App Store outside of surveillance. Would rather see legislation on protecting developers and consumers instead of thinking letting random, untrusted code be installed by a 3rd party on a device always on your person would be good for anyone.
What Quarantine Is Doing to Your Body’s Wondrous World of Bacteria
The ability to carry 22 AIM-9X Sidewinder and AMRAAM medium range air-to-air missiles. Source: https://www.popularmechanics.com/military/aviation/a30705691...

More:

> The F-35 Joint Strike Fighter, on the other hand, can only carry four AMRAAM missiles in an internal weapons bay, a result of its need to fly without missiles and other equipment hanging off its wings to preserve its anti-radar stealth profile. […] The F-35 and F-15EX will likely fly in pairs, with the F-35 quietly detecting enemy fighters while the F-15EX services them with air-to-air missiles.
Sounds like just another way of saying "groupthink".

It's a rebranding of the concept of groupthink which has been around as long as hominids have been in groups and have been thinking. It's not a form of privilege. Rather, it's the nature of our brains. We are social animals. We prefer not being ostracized. We self-censor as a result. This is not a privilege. People who groupthink are not more privileged than those who don't. The only privilege is the ability to say "yes" to the group more frequently.
Almost seems strange they've kept that 522g battery in there, when they could have had ~10h battery life and a machine approaching a kilo.
I think the answer there is that the anti-mask-wearers and anti-vaccinators might not know that obeying leads to better outcomes. (they're almost certainly wrong, but that's still what they know)