skysight-inc/HackerNews huggingface dataset:
Ask HN: Is there a resource to help choose the right DB for you needs?
Is there something a junior developer can use that explains the various design/philosophical tradeoffs of various databases which among other things help avoid gothchas down the road (i.e. in regards to scaling/performance)? Something that is also practical as opposed to theoretical (talks about actual dbs and not abstract).

I already understand the basic difference between sql/nosql and the CAP theorem (undergrad). But now at the beginning stage of an app I’m working on I’ve spent the last few hours looking at the indexing, querying and scalability options of various databases and feel overwhelmed.

Some areas of interest off the top of my head:

- Sql/nosql
- Eventual vs immediate consistency
- Rest or http
- Orm options
- Sharding/presharding and clustering
- Scalability/redundance
- Indexing, secondary indexes
- Querying
- Realtime db (what even is that)

Then there is also the performance impact at larger scale based on the effects of the previously mentioned factors. Couchdb has multi-master replication, but from my reading writes need to happen to all replicas (an understandable tradeoff, but I don’t know is this the only way. Seem like it but I don’t want to have to decide that. I want someone relatively competent resource to lean on to know this other than my own synthesis.) Mongo’s eventual consistency has problems with potential data loss (seems like a normal result of eventual consistency). Mongo can have secondary indexes but other databases cannot. Couchbase allows scaling out a lot easier than couch db (no resharding). Postgres cant scale out easily but scales up well. For a mongo query you have to pull the whole document (that's why they recommend keeping it flat)

And I’m sure this just scratches the surface, but I hope there’s something you people can refer me to that’s short of an entire or multiple db courses.
> Considering Apple got a very good score for their newest laptop…

Just curious, from who?

iFixIt scored the current MacBook Pro design a "1", and the current MacBook Air design a "3".
NFL Players Endorse Amazon Warehouse Workers Unionization
You can still use the rower like a typical rower without a membership. More details here :)
https://www.avironactive.com/membership/
I would love if the autom4te requirement for Perl could be removed so I do not need to always keep a Perl installation. (OpenSSL requires Perl, too.) If a scripting language is an absolute necessity, change it to something smaller like Lua. (Lua is part of NetBSD base.)
You can self host syncing service pretty easily:

1) Get a Synology NAS.
2) Install the 'Synology Drive' package
3) set up 'Quickconnect' (~DDNS)
4) Remote backup can be though a number of providers (e.g. Backblaze) for cheap

No monthly fees. No domain needed. Storage is as cheap as the HDD's you stock it with. Your hardware and all your files are in your own house. Everything on BlackBlaze can be encrypted. You can set it up all through a webpage-based-GUI.

Technical, non-experts in computing stuff can do this. Not quite simple enough for the general public though.

https://www.synology.com/en-us/dsm/feature/drive
The only problem is, this only works if there's enough competition for consumers to have a real choice. If Apple and the 4 (?) largest Android manufacturers all decide they're content with a repairability score of 2, there isn't a whole lot consumers could do, regardless of whether they'd like more repairable devices.
> The same emotion that caused us to root for the thieves in Ocean’s 11 is what makes Wall Street Bets so enticing. Put frankly, Millennials are tired of getting fucked by the man. When you’re underemployed with $100,000 in student loan debt, your financial situation feels overwhelming. You really don’t want to take the advice of your parents or CNBC talking heads [5] to invest 10% of your salary for a 4% annual return. At that point, what’s another $5,000? Might as well buy some short-dated GME calls.

Well put. I was explaining to a friend of mine a few weeks ago why cynicism is so prevalent in our generation: we graduated in 2008 where banks, not our parents, got the bailouts; we got stuck with thousands in student debt; the dream of marrying a pretty wife and having a few kids, working for a company for 40 years, and retiring in Cabo is a relic of the 1950s; we lived with our parents until our 30s, and in spite of being so "connected," we are more lonely, have less friends, and are having less sex than previous generations; unless, I guess, you count the COVID shutdowns screwing young people yet again.

It's a never-ending shit-show. At least some of us are getting rich in /r/wallstreetbets.
Why is that? What’s the point in calling it “3nm” when it’s not?

<rant>

Also, how is that not false advertising then? If I’m told a device is 5nm, and that traditionally meant the gate length, why isn’t it a lie when they’re actually 10nm or whatever? We need to stop calling it “marketing terms” and call it what it is: lies. Just because everyone does it doesn’t make it right.

</rant>
Anybody with intention to work on older systems can work with older releases of Autotools, while newer releases can focus on much more needed features.
I think it can be argued both ways :)
Citadel can see 80% of retail orderflow such as Robinhood and is massively long since last Friday as can be seen from the calls they are selling.

Now it is likely the steam has run out(gamma cascade) so they are placing their bets on the opposite side by taking over Melvin which is massively short without causing too much market impact.
Huh I love C2s but have always felt that each rower s values were different. I'd feel the same level of exhaustion in one machine on a 3 compared to a ten on a different machine. Assumed some tolerance was off!
"Winning" because they collectively own millions of dollars of a worthless stock?
With "mountains of evidence of fraud", and more than one person alone who could have pulled this off, that means there was a conspiracy. Let's say there were a hundred people minimum in this conspiracy. When someone tells me how the election was stolen, I just ask them to name two of the conspirators. Just two, any two. Conspiracy is so much easier to prove in the courts than the actual crime. But all I get are blank stares. "Fraud!" by utterly nameless people. It's like the voting machines changed themselves.

The real tell is if these patriots keep digging to find and expose the conspirators in the "steal", or if somehow all interest in the fraud is lost when Trump is not going to be President. If their efforts will not reverse this election, how can the patriots stop from protecting the next election from the conspiracy?
Recent HN discussion (of an LWN article about this work, not of this GNU mailing list thread):

https://news.ycombinator.com/item?id=24872032
According to an article I saw, his apparent purpose in firing people up was to sell "physical gold and silver" to them, to prepare for these uncertain times. And he was offering $1500 in free silver with the first order, too.

This seems to be a standard trope but I've never met anyone who fit it.

It also makes you wonder why he needs to bother.
I'm going to take the risk of saying "This time it's different!"

- There is no such thing as lifetime employment for most fields.

- Outsourcing wiped out a lot of decent jobs in the US.
- Automation is wiping out a bunch more.

- College debt is thing, though I fully expect this administration to forgive it.

- Housing is significantly more expensive**.

- All the rich countries are ageing fast.

- Men are going to college much less, and trend is accelerating***.

* Lawyers are a good example. Search engines have wiped out a whole class of entry-level legal work. We certainly don't need as many as we have now, but what well-paying jobs are going to replace them? Finance is going through a similar transition where you just don't need as many people to conduct trades. I feel like I was reading FT a few months ago and several of the major Ibanks were saying they expect to need a third as many employees in the next decade.

**Taipei is a prime example. Taiwanese salaries are super low, yet property is super expensive. Last time I looked, around $100/sqft for condos. People buying investment properties are the obvious culprit, but I don't think there is political will to deprive the government of property taxes and wipe out the savings of older voters, in order to save the young. And lo and behold the birthrate is 0.9 there.

***I think this was on HN a few days ago: https://hechingerreport.org/the-pandemic-is-speeding-up-the-.... You can argue college is a waste of time, and I'm inclined to agree, but I think we can make up a narrative where young men feel there is no hope.
There's an idealogical collision course between safely offering usernames+financial transactions and maintaining an absolutist stance on encryption.

Within minutes, you'll have people going by @ElonMusk and @JeffBezos running scams to millions of non tech-savvy users. Are you going to try to stop that in any way? Can you, while maintaining full encryption?

I can appreciate Moxie sticking to his guns, but he'll need a better plan than "we'll deal with the problem when it comes." if he doesn't want to get deplatformed by Apple/Google or face government scrutiny.
Unfortunately there are people making money off the spouts, and they're paying people to say "crap is good for you actually"
That’s crazy. I’m using spaces on several projects and never had so much as a blip from them. If you don’t mind what was the showstopper issue for you?
If you think there is fraud, how come none of the cases made a claim of this being an actual case of fraud and win the case? Either you believe both sides were on the fraud and all the cases were frivolous or this is not a real case of fraud and would not stand under scrutiny.
Slurm should be the answer but it isn't. In our ML environment, it required ML researchers to understand what is going on (more systems knowledge) and no one liked it. The situation devolved to sshing into machines and running jobs. You are right that slurm is a good fit for HPC ... I just don't think DL workloads are exactly that.

P.S. I also think the K8s scheduler isn't great.
The Chromatic Effects of Late Nineteenth-Century London Fog (2016)
In the meantime, I'm back to using 4 digit pin on my iPhone 12 pro.

I tend to dislike features that increase difficulty when "texting under the table during class". For example removing physical keyboard, the face must be seen to unlock, and predictive input babysitting.
Now if only all the other electronic voting machine companies would be similarly destroyed. There's no good reason to not have publicly counted paper ballots. Other developed countries don't seem to have problems running their elections that way.
Dupe of https://news.ycombinator.com/item?id=25911568
People exist who in the past two days paid $150 for a share that most analysts think is worth about $14 — at a company with negative earnings for six of the last seven quarters, and minimal earnings growth over the past few years.

I'm sure there was some bull case for the company, and it might have had a snowball's chance in hell around $14 or even $20/share. But at $60+ ? What on God's good earth is supposed to make the company worth that much?
My memory of GNU autotools and friends, from when I shipped one release of a project with it:

* the size of my project doubled

* naturally, autotools would check for FORTRAN despite my project being in C

* if users built the software as root, it would trash critical system files

* instead of installing ELF library files in /lib, it installed non-functional shell scripts in /usr/lib

* cross compiling broke

The solution was plain old make. You can do a lot with make. It performs really well. I even did a "make install" that would depend on the final locations for everything. It was all configurable. It worked great.
Isn’t the underlying problem here that hedge funds have shorted more stock than the float?

They got themselves in this mess. Don’t be so greedy, you short more than shares that trade.
I think I'm convinced of manipulation. The memeing and the gameifying investment, calling each other retards (because you, user, you don't know _anything_) and the long obscure unfalsifiable ramblings about predictions or valuable investments hitting the top of the page, it all just seems a little fishy to me.
Come on, that is what you’ve been trained to say. I heard the exact same phrases from my younger brother.
Problem: Giant asteroid heading for Earth

Solution: Nuke it

Problem: 15 medium-sized radioactive asteroids heading for Earth
Sorry.. Legislatures has the power to delegate that work and has been delegated to the Secretaries of State. It has been called out in multiple court rulings.
its okay they'll try to sell before it crashes and leave some other chump holding the bag. "taking on wall street"
Companies Want to Charge Your Electric Vehicle as You Drive
Is it possible that the prehistoric atmosphere thicker and more buoyant?
You are absolutely right and that’s how I use my notes. But I was wondering how others deal with this as Im sure smarter and more organized people, people who are obsessed with building good habits have systems that are way better than mine. Just looking at mindmaps I get excited a bit but could never really get down to it. I always felt I was missing on how to get started writing smarter notes but if it’s something too tedious it beats the purpose for me, I already use notetaking as a tool which pretty much works out okayish
And then you get hit with a subtle bug that utterly nukes your system when the year changes from 2020 to 2021. Now you can't deploy anything because both systems are down. Given Github's scale and number of engineers it's basically guaranteed that they'll hit some sort of bug like that eventually. Not all bugs act immediately.
I am very confident that Apple would rather make repair schematics available than halt iPhone sales in 14 states.
QNAP's Qsync is their file sync service for QNAP NAS owners.

https://www.qnap.com/en/utilities/essentials
the problem with this approach is there's not an obvious person to consult with to decide whether to start with therapy, medication, or both. I find that therapists tend to consider themselves unqualified to even suggest that their clients look into medication (or perhaps they are explicitly prohibited from doing so, idk). psychiatrists can either give you drugs or say no, but they tend to offer you something if there's at least a chance it could help.
>It's a never-ending shit-show. At least some of us are getting rich in /r/wallstreetbets.

This is sad because most of what you've said can be applied to lotteries as well, which historically has been criticized as being a "tax" on the poor. The end result is the same: people putting themselves in a worse place financially (on average), just so they can cope with their bleak existence.
Citadel, Point72 Back Melvin with $2.75B After Losses
I don't think we're disagreeing with each other at this point. He was only actually freed by the supreme court ruling that he could not be jailed until all appeals (of which there are many) were exhausted.

Regime semiaberto is roughly equivalent to being allowed to go out under house arrest and wouldn't have changed his conditions much.
No. dragonwriter is referencing the original history of the word. The author Michael Young who coined the word in 1958 was using it in his book to show everything wrong with a “merit” based system, as he explains here: https://www.theguardian.com/politics/2001/jun/29/comment

This gives a good background:

https://kottke.org/17/03/the-satirical-origins-of-the-merito...
I've wrote this elsewhere. The thing that's clicked for me after reading the comments on wsb is that populism, amplified by the modern internet, is going to radically change the finance world in a similar way to how it radically changed our political landscape. These people aren't just investing in GME to enrich themselves. They are doing it to spite the people who they percieve as rigging the game. They are doing it to poke in the eye of "mainstream media talking heads" whom they view as part of the controlled narrative of oligarchs. Does any of this sound familiar?

This is a once in a life time black swan. No one is factoring in populism in their investment thesis yet. Whoever can figure out populism well enough to predict it first stands to gain a lot of money.
Much of the internet makes fun of "choosing beggar" "influencers" who want to pay people with "exposure" instead of money. Permissive licenses are the reverse: they're asking others to pay you only in "exposure" instead of money. If expect to gain any return (other than some CV padding and personal satisfaction) due to contributing to permissively licensed projects you're a sucker. Permissively licensed software is charity work. It's good, useful work in many cases, but it's not going to make you money.

Give money and time to causes you support. Go contribute to the BSDs. Volunteer at your local animal shelter. But don't think that you're going to get rich from it. You'll save some puppies and help some people (and maybe some megacorps) but that's all you can expect.
84% of Waterloo Software Engineering undergrads move to the US upon graduation
Again, scale.

Voting in France is like a rain spread out over the country, because the population is more spread out across geographic centers. It's easier to handle votes.

Voting in the U.S. is like a series of scattered torrential downpours, because more than 70% of the population lives in a metropolitan area. It's not simply a matter of the number of bodies, at the scale the U.S. metro areas deal with you have significant concerns about the physical logistics related to moving that many ballots that much smaller, less dense countries do not have.
This entertaining video does a good job of, if not explaining, hinting at the mechanisms that make this possible: https://www.youtube.com/watch?v=ydqReeTV_vk
> Yeah, the autotools model of portability didn't stand the test of time, but there's no shame in that.

xmkmf joined the chatroom
It looks as if roughly 50% of workers prefer to work from home and 50% prefer to work in an office.
I’ve made millions on WSB options plays. I can finally quit my job and stop being a cubicle slave. The visceral reaction from the media on this is disgusting. Major hedge funds got caught on the wrong side of this, and have been making a huge stink about it. CNBC to the rescue, demonizing young middle class Reddit investors. This whole thing has opened my eyes to how even my FAANG compensation is peasant money, it’s too little even as someone in the top few percent of incomes. Capital > labor
Melvin capital has been forced to take multiple capital injections and bail outs, to avoid being margin called. Short sellers have mark to market losses of over $6 billion, and should the momentum continue, they will be forced to sell at the worst times (infinity short squeeze).

Wall St are looking like they will be the losers.
> An example off the top of my head -- a CNC mill at my previous job, purchased new perhaps ten years ago, runs DOS 6.22 with Windows CE on top

I thought Windows CE was a standalone operating system like current Windows versions are, not a layer on top of DOS like Windows 3.x and earlier were.

But, Googling, I see Windows CE, on x86, did use DOS as a bootloader, just like how Windows 9x did. DOS boots, then runs LOADCEPC.EXE to start Windows CE. (By contrast, CE on other CPU architectures didn't do this, it just booted Windows CE directly.)
They might be being rude... But are they winning?

Probably.

The banks and hedge funds are playing the same games they've been playing for years and years.

Someone new has entered the picture and changed the game.
Those chumps will likely be other WSB members
There is nothing wrong with improving, just make sure you have a frozen version that can handle the old cruft, some software is so stable that you wouldn't dare to update, I have some software I made myself that does what it was designed to do and never give problems. However it does not keep one from ever going forward and design new ways of solving the same problems. So my advice would be freeze and move on.
This could be a smart move. Facebook could position themselves as the go-to platform for privacy aware users. They might capture users fleeing Google, Microsoft and Apple because of privacy.

I'm assuming that "The Big Shift" is actually sincere and that Facebook's history won't be a show stopper.

EDIT: my assumptions are not realistic, so this is probably an impossible outcome. My point was to evaluate if the described move would be beneficial or not. I believe it would.
> All I need to do is write a Bash script that does the reverse and downloads from remote server to local folder. This could be another post.

A backup strategy without a recovery strategy already in place isn't a backup strategy.
It's not the employees at Facebook who are undermining privacy, but the founder.
The first rule of Fight Club...
I wouldn’t compare what happened with GME to the lottery at least not for the people who understood why they were doing what they were doing.
Earth Has Lost 28 Trillion Tons of Ice Since the Mid-1990s
good point, to clarify the bull thesis wasn't bullish to the current absurdity. i think the bull case is a good one but im not going to lay out the case here. check out the user RoaringKitty 's videos on youtube from a few months ago. (the stock was hovering around 4 then)

right now though the chaos has nothing to do with the underlying value. now it's all about the squeeze. but that's never been part of the bull thesis
The only person really winning here is Ken Griffin.
Erroneous 503s. I would get a 503 on every call. Uploading a single file with a single call would immediately 503. I never once got a successful upload. I simply switched the endpoint URL and credentials over to AWS S3 and it worked first time so it was not my code (though I suppose it could have been an issue in the library AWS's node S3 client). My theory was the request was somehow malformed based on what DO was expecting and it was returning a 503 rather than a 400. But the request did work with S3.
Very well put re: the cherry picking. I wasn't so much arguing for autocracy as arguing against buying our own agitprop.
Is Melvin Capital winning with their short position? When they’re contractually obligated to repurchase millions of shares and there are no shares left to purchase, what do you think is going to happen? There are winners and losers, but in this case the loser could very well be an investment firm with 12B in assets. Some wealthy investors are about to have that wealth redistributed. I think that’s the point.
It works at the start, but the problem is that the people who want to sell their positions need to dump it on the losers and just keep pumping the price and making late comers lose lots of money.

The reality of wealth building is that short term it’s always 0 sum game, long term it’s a way to get rich.
In what parallel universe would users be fleeing Apple to Facebook for privacy?
That depends on your personality. I am way more productive working from home.
Since you bring up technical backgrounds, how do you feel about the voting machines having logs erased for 2020 but not 2016? And would you be against analyzing all election machine logs related to server-activity/internet-usage/usb-activity/code-execution-activity/etc? If you really claim that they were bullshitting, why is everyone so afraid to release that data? And not question why it was deleted?

Giuliani was jockeying for time trying to dig up more hard evidence. He apparently wasn't able to find enough in time, and judges didn't want to get involved for political reasons.
Interesting! Reminds me of this guy https://en.wikipedia.org/wiki/Gonzalo_Guerrero