skysight-inc/HackerNews huggingface dataset:
Right tool for the right job. Users in Tokyo won't be editing accounts for users in Austrailia. There's often a natural partition there where you can leverage the data locality with an eventual consistency basis safely.

Conflict-free Replicated Data Types (CRDTs) and column-level conflict resolution also largely address the issue with data merges and coarse counter systems. I'll just ignore the general design flaw there, considering these should be an insert-only ledger system rather than counters, because bad or naive implementations abound. I get that the application layer shouldn't necessarily have to coddle the database, given absolute ACID would resist non-ideal usage patterns.

I haven't played with the others, but I set up an 8-node CockroachDB and managed to get pgbench to run on it. I was clearly doing something wrong, because I wasn't impressed at the throughput even with very high client counts. From what I could see there, I was clearly being throttled by some mix of RTT and locking contention between the 3-node default consensus group. Supposing this is not problematic in non-overlapping shard locality, you still hit a hard performance ceiling when multiple clients interact with the same pool fragment.

I'll have to look at the others now.
I agree with everything in the list. I have also seen clean code that violates every item in the list. I also have seen bad code that follows every item in the list.
I'd be curious to see what the other side is as well.
Ah, as I understood it the Discord issues only shows up when you do a large long term map(? -> object) but maps with primitive values don't trigger it.
Nah, I'm usually doing something else while I log. So I just pay attention to that for a minute. They already data mine my input I'm sure, as well as there are ads. I can find something better to spend $3 on per month.
Goldman Sachs Target Date Portfolios, How to Ruin a Good Portfolio
Jordan Peterson Family Update
> Chrome (my default browser) actually nags me less and in less annoying ways.

Because they just log you in without asking, as noted in the comment you're replying to. It also has more severe implications in Chrome privacy-wise, directly linking your Chrome profile with all kinds of other privacy-sensitive Google services. Since Google is in the business of making money from the data they have on you (and hence collects as much as it can), I'd be much more concerned about this than I am about my Firefox account.
go manjaro. I used to wipe my system every 6 months. Now i'm on this rolling distro providing stable desktop experience
Can you imagine the implications if someone can find a seed from that birth control plant(1) the roman's ate to extinction?

(1)https://en.wikipedia.org/wiki/Silphium
Also https://web.archive.org/web/20130902003901/https://ciphermac...
> U.S. officials were even more alarmed when Wagner hired a gifted electrical engineer in 1978 named Mengia Caflisch. ... But NSA officials immediately raised concerns that she was “too bright to remain unwitting.”

Wow, those are words to aspire to
Yes. There are apps for Netflix, Amazon, etc.
I'm not a big fan of "large" DEs, but I take KDE for a spin every other release or so.

The tiling features are all scripts now, they're not part of the base Kwin code anymore. They work pretty well in my experience. (That being said, if you haven't used Kwin in a while, it's worth noting that it also lost window tabbing along the way, so tiling is far less useful than it could be).

In terms of resource use, Plasma 5 is a lot more lightweight and snappier than we've come to expect from KDE in the post-4.0 era :). You can tell it's QML all the way down because the latency is nowhere near as good as in the 3.x days, but it's not too bad, and in terms of resource consumption (RAM, CPU, whatever), it's better than it's ever been in the last 10 years. And it's very good overall.

In terms of power consumption, I can't say I've noticed a difference between KDE and the more lightweight setup that I use. I haven't ran numbers though -- so all I can say is that, if there's a difference, it's small enough that I haven't noticed it. Probably because the biggest power drains account for so much of the power drain that KDE & friends don't account for much anymore :)
>Their [Soviet Union & China] well-founded suspicions of the company’s ties to the West shielded them from exposure, although the CIA history suggests that U.S. spies learned a great deal by monitoring other countries’ interactions with Moscow and Beijing.

Fascinating use of 'negative space' in intelligence. Also appreciated the dig at Reagan, apparently gross intelligence breaches at the highest levels aren't anything novel.
This is a good time to reiterate my idea that I call "stacking the stack" (like stacking the deck in card games). The idea is that you transform a simple alternation between coroutineA and coroutineB into nested method calls, methodA(continuationB) and methodB(continuationA). This way the local context of A and B are live on the stack for debugging.

Of course there would be a limit of depth, but there's always the option to pass an empty continuation and allow the stack to unwind. Since they are coroutines they don't care if you unwind the stack and wind it back up. What I mean is the stack could look like "A-B-A-B-A-B" or "A-B .. A-B .. A-B" or "A .. B .. A .." it doesn't matter. For release build (not debugging) you would just set the depth to 1 and have normal non-nested coroutines.

I can implement this with macros (you wrap your return statements and your co_xxxx statements with a macro) using hand-rolled coroutines. I haven't yet gotten familiar enough into C++ std coroutines to implement it there or see if they allow it to be done without macros.
That's actually being suggested for battery-powered commuter planes -- low capacity & range means bigger impact from more paying load.
I suppose you need some abstract loosly-related terms that are devoid of meaning baggage, so why not animals? What alternatives are better -- planets? Marvel superheros?
#2 is the weirdest for me. You want a fully immutable, distributed widely by design, system for exploiting children? wtf? I'm much more concerned about the damage done to kids than about providing an additional, likely ineffective, way to identify a distributor.

They're also not seeing the flip-side of paying-to-edit and tracking all editors: it's trivial for a government to then use it do identify anyone they consider a dissident.
Funny, I don't really care China spying on me as much since they just don't have any handles that would be relevant. Your own government spying on you is much more dangerous. And since I don't have influence on policies of China, I can at least hold domestic politicians that strive for more surveillance accountable. At least theoretically.

History shows that government isn't your friend at all. The US might be a rare exception from time to time. But even that would be very, very limited.

Doesn't mean I wouldn't mind 5G spyware from another country.
AI Could Change the Way We Build Video and Mobile Games
They won the first one, breaking IE's monopoly. Then they lost the second one to Chrome, which as of 2015 attained >50% browser market share and only keeps going up. Just being good isn't good enough, it's needs to be so much better that trying Firefox and then going back to Chrome makes it painfully obvious that Chrome is not just "not as good" but outright "bad".

And that's a really, really hard thing to pull off.
That would be insanely scary. Or maybe the ability to see what's going on outside makes me less afraid of flying.
The fact that the US has repeatedly succeeded in SIGINT capers like this makes their concern about Huawei kind of un-ironic, right?
Everything is a metaphor, you probably prefer inanimate metaphors (like channels, pipes, scripts, keys, libraries, etc.) But metaphors involving animals being considered more childish and less serious is purely due to your cultural milieu.
For a junior to become a senior dev one needs to gather experience. Meaning there needs to be an investment in a error culture and a review process, maybe mentoring, pair programming, scheduled time to learn, communicate/discuss, play and learn. These are deliberate long term investments, which are based on trust, patience and growing relationships. Senior (and implicitly) maintainable, extendable clean code doesn’t just happen out of nothing.
Sometimes a WHAT is important enough to because the strategy. It should be an architectural problem holding everything back though. For the most part strategy should sit back a level where lots of different whats all fit in, and sometimes a what is allowed to violate it for good reasons.
The Problem with Instagram
>It must be this way because otherwise it'd be that very high earning people help the poor to a vastly greater extent than the average person does, just by turning up to work every day and paying their taxes.

This would only make sense if paying taxes actually helped the poor. In America, it doesn't really follow. There's not much of a social safety net here. For proof, all you have to do is walk around various large cities' downtowns and see all the homeless people. There's thousands of them within a very short walking distance of the White House and Capitol buildings in DC.
I like this list as a list of services that I would like to write, maybe improve on and undercut. :)
Ask HN: What have you been able to learn during your commute (and how)?
Similar to https://news.ycombinator.com/item?id=15170121 from 2017. Could be technical skills or anything else.
Modern day plumbing/water/waste management. Clean water comes in, waste goes out. Don't have to give two thoughts about it.
Anyone else reminded of the shadow games in the original Yu-Gi-Oh manga/anime? There's even a card which art depicts a Senet board! https://yugioh.fandom.com/wiki/Senet_Switch As a kid, I remember getting really into Egyptian history from the show, and was surprised many times finding such connections.
> The ~100ms between submitting a form and getting error messages isn't that big of a hurdle, in my experience

Sure, it's the >100ms between the user entering the first value that might have an error and the user submitting the form that's a much bigger problem between validate-on-server-on-submit and validate-on-client-on-entry.

> But I don't agree React _benefits_ developer productivity. On the contrary, I think it (and its competitor frameworks) are responsible for a lot of wasted developer time and frustration.

After a not-very-long familiarization period, developers seem to be more productive with React (or probably Angular.) I know I am, and I've been using SPA frameworks (mostly React) for a short time after having done web lots of other ways for a very long time.
Transcendental Numbers
Great idea. The logo is really nice, and if you use two lightbulbs to draw the infinity symbol, you can create an endless fractal animation of zooming-in like the current one suggests. Would be nice to have a simple web interface to try it out.
> Now, suppose it makes $100,000 per year, but for some reason once you have it, no one will buy it off you. How much would you pay for it?

Unless the income-producing aspect of the business is dependent on you, there's always someone willing to buy something that produces money.
Nix, the language, is not tied to any platform. Anyone willing to make it run in a new platform, can make the appropriate pull request(s) to make it happen.
Everyone is against something. There's no group that agrees with everything you do, so why only pick on this single group?
You're conflating two completely different things.

Not advocating FOR gay rights isn't a moral failing. But that's irrelevant for what Chick-Fil-A are accused of (and frankly a straw man).

Advocating AGAINST someone else's rights or freedoms, even when those rights have no impact on your beliefs, is a moral failing. That's what Chick-Fil-A is doing.

So, no, it isn't a "2-way street" when one side is just asking to be treated equally and the other is asking that OTHER PEOPLE are treated like a sub-class of people.
1) This is an ignorant statement, there are plenty of people in the 55+ age range who work worldwide.

2) Simply having workers get incapacitated is one of the smallest impacts the virus will have. Take a look at the present price of crude oil - the effects of the epidemic in China are already sending that crashing.

Quarantines, the need for medical supplies, lost work hours, elimination of disposable income, an economic downturn worldwide as products become harder to get and more expensive to transport... there are lots and lots of impacts this will have, including vastly increased unemployment.

Even if no one at all dies, a pandemic with the world getting sick all at the same time will have an impact bigger than any other event going back to World War II.
Maybe this is a windows thing? I use Firefox on MacOS and it is more performant than Chrome. I rarely have to restart Firefox. Chrome needs a restart at least twice a day (I use Chrome for google hangouts a lot).

This changed recently with Firefox Quantum, which was v69 or v70. I noticed a significant speedup at that point.
Of all the cryptographic tools to mythologize, a crappy last-generation full-disk encryption tool?
Running browser-based test automation with GitHub Workflows
sha1("") == da39a3ee5e6b4b0d3255bfef95601890afd80709

and 'e83c5163316f89bfbde7d9ab23ca2e25604af290' is the inital commit of git itself:
https://github.com/git/git/tree/e83c5163316f89bfbde7d9ab23ca...
My password update script for one site used this SQL:

UPDATE Users SET Password=?

We had backups. Selective restore. 7 accounts that were new, not in the backup, got a special flag that required a reset.
Hint: If it's going to become a pandemic, then it's probably already too late to contain it.
I think Mailbrew is overrated if you have a good twitter feed.
> What is the alternative? Assuming here there is such a thing as a correct engineering strategy, who should define it?

In companies where engineering strategy is done well, the person defining the strategy (a director or VP usually) knows the technology as well as or better than any of the people working for him - that is why he or she is in that position. And because of that, he or she probably has buy-in from rest of the people in the engineering organization.
I’m not convinced about the usefulness of this format, but I’ll reserve judgement for now. However, one thing I’m almost certain is that categorization and navigation by topic is a must-have; serendipity just doesn’t cut it (unless you have made some truly groundbreaking advancements in search). Btw, I searched quite a few keywords in algebraic geometry and found nothing; maybe you could look into converting the Stacks project (they even have an API[1]) into your format and contemplate usefulness in the process.

Another meta suggestion: IMO knowing who you are is usually pretty important for establishing trust in academic circles. Maybe link to your personal homepage on the about page? Right now all we get is a project-specific email so you’re basically anonymous.

[1] https://stacks.math.columbia.edu/api
Do bigger or more monitors increase productivity?
Travel Needs
Hi Everyone,
We are working on an app, to be launched in next 4 weeks, which assist fellow travelers with organizing their trips and enjoying the social flavors from the local community.
Would like to understand, what are the current challenge you all face while you are on a trip.
This will help us prioritize the features in the app.
Show HN: I wrote a Makefile to set up personal SMTP server with Exim 4 on Debian
I think it's a marketing trend. The emojis seem like a soft universal language to help people who don't speak English grok broken google translations.

Hoping to hear the name for this trend as it's a very interesting one indeed. Done well it seems like this is definitely the new wave as we continue to dumb everything down to the lowest common denominator. Done poorly, well I've done this and will just tell you the results are about as bad as you'd expect.
They state that the Swiss Crypto AG was a CIA front, and that it was revealed just now the first time.

That cannot be true, because I knew that several years already, either from Snowden or Assange leaks, or a Bamford book. Eg. this report is from 2015
https://www.bbc.com/news/uk-33676028
What even is this? Why does it seem to lead to a paid $2000 course? [0] What is the goal, and who is involved? It seems very high minded and deep on the surface, but what are the expected outcomes and timelines of this, system?

[0] https://www.notion.so/HS101-Deluxe-9c92efe621a04d2886e2986ce...
That's nice, but not comparable to a vaccine. Treating people with this means saving more of those who would die, but death is only on impact of the virus (as serious as it is).

Without a vaccine, the only way to keep people from getting infected is to isolate them.
That's going to be a great data set! Most people who use "/s" are great at sarcasm.
There are a group of people that if I name I will get downvoted that kills gay people. But LGBTQ groups support them.

There is a bizarre social situation going on where it seem Christians who only _morally_ oppose LGBTQ are being targetted uniquely.
I believe that's absolutely true, however the people whining about "emotional labor" never seem to see this, they just blame the husband.

Honestly, I'm starting to think that very few married couples are really all that compatible in the first place, and that the institution isn't a very good deal for most people involved. Considering just how many marriages end in divorce, plus how many people simple stay single these days, it seems like marriage really isn't workable. It only worked in "the old days" because women were 2nd-class citizens who rarely could get good jobs, and social pressures just forced people to get married, and stay married, even if they were miserable together.
The history of Git, told with a font that’s only feature is making the letter G unreadable.
Two Golden Rules to Win Every Time with Bitcoin
I'd rather do handyman-type work. Or just about anything in a state or national park. I'd probably be better at it, too (in that I'd give a half a fuck). But a middling software developer building things 80% of which never make a return or are thrown away before anyone sees them, still makes a ton more money than someone fixing doors or putting in tile floors, or running campgrounds and replacing trail markers. So. Here I am and here I've (very nearly) always been.

The non-tech job I had for one Summer is probably my favorite job I've ever had, pay aside. Paid minimum wage or just over.
Ask HN: What are some books where the reader learns by building projects?
A continuation of https://news.ycombinator.com/item?id=13660086 which has been incredibly useful to me.

I recently finished this phenomenal book called "Building Enterprise JavaScript Applications":

https://www.packtpub.com/web-development/building-enterprise-javascript-applications

Which takes the reader from zero to building a non-trivial production fullstack application with JavaScript. I also recommend "Building Git". The title is self-explanatory:

https://shop.jcoglan.com/building-git/

Other resources:

https://github.com/AlgoryL/Projects-from-Scratch

https://github.com/tuvtran/project-based-learning
I don't think that even works in the ideal -- academics in my experience are something like 45% rabbits and 45% birds, with a small cadre of turtles who manage to survive the politics and bs of academia because their research output is just so strong.
The future is already there, just not evenly distributed ;)
Unfortunately I think this fight was officially lost when noted cryptographer Matt Blaze gave in and sold the crypto.com domain to a blockchain company. (I don't blame him for doing so, I just think it's a noteworthy event.)

What I mean is: I agree with you, but I think the crypto ship has sailed.

For what it's worth I started backpacking in the 1990s and back then "crypto" to me meant cryptosporidium, the 2nd biggest concern about drinking backcountry water (after giardia).
Tails 4.3 Is Out
The language component hasn’t occurred to me, but suddenly makes sense. I once supported a customer for whom Google Translate wasn’t helping much, so we resorted to a combination of screenshots, boxes, arrows, and emojis and it ended well :)
Has anybody here ever actually met a human being who has used cryptocurrency in a way other than: (a) speculating (including trying to hype and pump "blockchain technology" on every discussion corner of the internet), or (b) buying drugs on the internet?

I'd be genuinely fascinated to hear your story.
Entrepreneur Raised $68M to Reinvent How You Live with Roommates
see also

https://news.ycombinator.com/item?id=22297963
First off, that has not been proven about pi, but it is heavily theorized. Second, you need the substring index, which, for a large file is guaranteed to exceed the original's file size to begin with. Transmitting that substring index is likely equivalent to compressing the file.

Courts aren't robots and people are judged by other people. Nobody will go to jail for holding a file with all possible files in it. But using that file with a specific substring index to extract something illicit, with intent, will almost certainly not make the courts happy. IANAL.
Why is it "patently obvious" that public monies should be permanently allocated to an organization with no public oversight?
Ask HN: Tips for getting referral bonuses as an engineer
Hi all,

Like most tech companies, my employer offers a pretty significant referral bonus.

However, I don't know how professional it will seem to reach out to engineers that I don't know well and offer them a referral. Are there any social guidelines for this?

Do those of you on HN have any tips for finding engineers to refer?

Thanks!
> But I’m sure you would agree that before you can have a maintainable product, you should first strive to have an actual product.

Actually, no. The goal is to have a sufficiently profitable (or for non-profit use cases, worthwhile) project.

It is entirely possible, easy even, to ship a product and gain revenues, but in an unsustainable way that is a net negative to stakeholders, users, or other relevant parties.

In the case of "unclean" code, it might not be as bad as ignoring significant security considerations, but it could sink entire business plans, causing negative side effects for people you are notionally supposed to be looking out for: teammates, partners, collaborators, etc. In a for profit business, that often involves wasting investment in the process.
What happened? They released it in version 69. Since then, Firefox has been running on that Rust engine, called Servo, has been much, much faster than it used to be.
The "City on a Hill" conception is quintessentially Yankee, and for the most part the core of a Yankee identity that doesn't exist organically anymore. While that Yankee ethos was instrumental in forging America, it's far from the only contribution, and looking at everything through the Yankee looking glass misses a great deal.

I think the two most valuable US history books I've read in the past decade are Albion's Seed and American Nations. Everything makes a great deal more sense when broken out of the monolithic "American" or bipolar North vs South narrative.
>I guess linking to the web archive is just carefulness at this point.

It's a good idea IMO. Now that the web has been around for literally decades, I can't tell you how many times I've searched for something, found blog/forum posts to read, and then tried following links in those posts only to find they're dead, because they're so many years out-of-date.