skysight-inc/HackerNews huggingface dataset:
Looking for a technical debate: Why MOT use Redis as a primary DB?
I'm looking for technical debate and I know what MySQL/PG and Redis are capable of. What I'm looking for is a debate where you *disagree* that following. I want to start with an analogy.

Gasoline cars vs. Electric cars
We all know that you can use an electric battery to run a car.

But the thing is, when it comes to a gasoline car, even though it does literally have a battery, it’s not used for running the car. It uses batteries for starting the cars (generating an electric spark to light up the gas), A/C, audio systems, lights, sensors, locks, and so on but not for running the car. Instead, it relies on an internal combustion engine (ICE) to run the car.

It turns out, ICE cars are highly inefficient. Only 16% to 25% of the power that’s generated actually makes it into the wheels. On the other hand, electric vehicles provide about 90% power to the wheels! Further, EVs also have major and additional advantages when it comes to the environment, repair costs, and so on.

If you are looking from the First Principles, even though virtually most cars that are built even today are gasoline cars, the fundamental truth is that they use an inefficient system.

Now if you look at an electric car, it takes advantage of this inefficiency to build a new type of car. In this case, it simply gets rid of the complex and highly inefficient engine and replaces it with a large battery and a motor to directly spin the wheels.

-------------
Now coming to the Databases...

In the traditional architecture, you have a primary database (Postgres, Mongo, etc.) and a secondary database, a.k.a, cache (e.g. Redis or Memcache). The primary DB is used to store all the data and support CRUD operations. The caching DB is used for caching, session storage, rate-limiting, IP-whitelisting, Pub/Sub, queuing, and many other things.

And if you think about it, when there is a cache-hit, we are practically using the secondary DB for part of the CRUD operations, but still not fully utilizing it as a primary database.

Does this remind you of the issue with gasoline cars? Just like they literally carry a battery to power numerous things except moving the car, the traditional architectures use things like Redis for everything else except as the main DB.

Do you see the similarities?

What if we use the First Principles thinking to do what the electric car did? Similar to how EVs got rid of the engine, what if we get rid of the slow and inefficient primary database and simply use the cache DB as the main database?

https://redislabs.com/blog/dbless-architecture-and-why-its-the-future/
In Children, Risk of Covid-19 Death or Serious Illness Remains Extremely Low
Alcohol-free beer is fizzing
You're free to believe that I (the author) made up this story. I'm not a fiction writer; the Bitcoin security space is exciting enough without needing to waste time making stories up.

I'll note that we have seen several folks report being victims of similar attacks since we published this article.

https://twitter.com/Disruptepreneur/status/14131498654759075...

https://twitter.com/jayzalowitz/status/1413165187205455882

https://twitter.com/e_acorral/status/1413168523250180097
That is extremely scary. I hope you filed a police report? That person is a serious criminal.
I think the point is that monopoly power seems to breed poor management so consistently that it ultimately becomes a curse.
That was the question I was asking too. Guess CS grads now a days know Java best. and therefore they have to have java. optimization comes next. Leading to all these tech challenges.
https://redislabs.com/blog/dbless-architecture-and-why-its-t...
I'd say it's a positive sign, they still operate like startup.
It uses a lot of unsafe rust code. Here an example https://github.com/rust-qt/examples/blob/master/widgets/basi...

I'm not sure what's the advantage of using unsafe code everywhere in Rust compared to just using C/C++. The syntax?
The Amazon 'Personal Games' Policy
One of the most important competitive advantages in modern world is motivation to do things on your own. And all this tutoring that kids are forced to be doing by adults is killing it.
Really? At least in the US, most movies are either remakes or oscar grabs (which while novel somehow manage to be predictable and dull).
Why do you need a grade at all? Fail, pass, distinction. You either know the answers because you know and understand all the material, or you have no business functioning in that field period.
A natural charmer is more valuable than someone with high tech ability. The charmer just needs enough tech prowess to come across well in brief interactions and their outsourced hacker team will help them with the meat of their work.
Automating programming: AI is transforming the coding of computer programs
@piva00 Really? I rarely hear people comment on things like that in the U.S. except in really regulated industries like healthcare and finance. When you can start a company via Stripe Atlas in a few mins and get a bank account, that seems relatively streamlined. Plus workers rights are minimal so you can easily fire people in most right to work states, etc.
Also a layman, but I've a vague recall of reports of how a 4-5 day fast can trigger autophagy, followed by new cell generation once re-fed.

So could that end up as a useful treatment?
Or would it only help with the WBC, and not the RBC?
Fast and Furious
Marvel

So what other movies are there ???.
I’m not familiar with it. Do you have more details on how the system works? Was it happening pre-YouTube-ization of education?
The United States never should have involved itself in Afghanistan.

That's debatable. Unlike Iraq, where the case for the invasion was dubious at best, the Afghan government really did host preparations for an attack on the US, and refused to turn over those who planned it. There's good reason to think that there would have been more attacks like 9/11.

That doesn't in itself justify war. Perhaps there were other means to prevent it. But war was not an unreasonable response, and it was largely supported by the rest of the world at the time. (Unlike the case in Iraq, which was widely opposed.)

As you say, having done so, we seem to have incurred a never-ending obligation to the residents for destroying their government. We didn't entirely wipe out the Taliban, and it will return to threaten both them and us. It's fairly clear by this point that we can't.

What we should do at this point isn't at all clear. The world is full of terrible things and we don't involve ourselves in all of them. Two decades of intense support could reasonably be said to discharge ourselves of the burden we picked up by invading. We suffer a moral loss, but having protected ourselves from more physical loss may be the best we can do under the circumstances.
Any information on why the other 3 weren’t permitted? Are the local officials trying to subvert an American company?
Well, bureaucracy is one of the only things that somewhat protect against corruption.
Aren’t real rates like -2% right now?
Stock options are "salary" in Germany, and they get taxed at ~45%.

---

In Germany, everything that a company gives an employee is salary. Company car? You have to pay 1% of the listing price of the car _per month_ in taxes (that's 1000$ per month in taxes for the employee if their company gives them a 100k$ car..). Stock? The day you receive the stock, price is measured, and 45% you pay in taxes. Stock options? The day you receive the option, the price of the stock were you to exercise it right away is measured, and that's taxed with 45% (which kind of forces you to exercise at least some of the options to pay the taxes), etc.

Otherwise companies could pay you by paying your whole life (car, house, etc.) to avoid taxes.

BTW, this is also why startup culture in Germany sucks. Startups can't really pay people in stock options, cause they are super highly taxed, and they are hard to value. Worst case you end up paying a lot of taxes for something that ends up being valued == 0 the moment you can't sell it (startup dies).
Some farmers are looking back to older practices to improve farming
This is how I know you haven't touched CSS since the early 2000s - the bad old days are gone, flex and grid have been here for years and years.
This is great. But how do we build social media networks that reinforce centrality/influence of accurate truth-tellers, and penalize sensationalism, extremism etc.?

This seems like one of the big hard problems of our era. If we can solve it, maybe this is a phase transition humanity is going through where we begin to operate on a higher level of complexity, similar to when life transitioned to multicellular.
Ask HN: Automated SSH PKI Solution
We're a small company. We have several servers that we access through SSH. We like to centralize SSH access.

Current solutions we are aware of:

- Share the SSH keys, e.g. on a shared filesystem.
- Distribute SSH public keys of users with Puppet, Ansible, etc.
- https://goteleport.com/ (a fancy bastion host)

What I'm looking for:

A tool, with which an employee requests access to a server and automatically gets a signed ssh key in return which has limited validity. This key is automatically loaded into the ssh-agent. Ideally, the '~/.ssh/config' is adjusted, so that the correct username is used, and '~/.ssh/known_hosts' is updated with the server's public key digest.

What I imagine from the perspective of the user:

- 'tool auth'
> Check if authenticated with the central key management server
> Otherwise OAuth with my regular SSO (e.g. Google Workspace)
- 'tool ssh server0.corp.com'
> Check with the central key management server if the user has permission to access server0.corp.com
> If yes, issue a time-constrained certificate (or sign the user's local public key, whatever)
> Ensure that the server is configured correctly in '~/.ssh/config'
> Ensure that the server public key digest is in '~/.ssh/known_hosts'
> Add the certificate to ssh-agent
- Run the ssh-based command, e.g. 'ssh server0.corp.com', 'scp local_file server0.corp.com:remote_file', 'ansible-playbook ...', 'git pull -pr' or whatever

Does such a system exist? Ideally something that is easy to deploy to a cloud if it would be self-hosted (and in the best case makes use of Azure KV, Google KMS, AWS KMS, Vault, ...) or that is hosted (i.e. offered as a service).

From the operator perspective, it should not take more than configuring the PKI in OpenSSH and/or maybe install an agent on the server. (But it'd be great if that would not be necessary (as OpenSSH afaik can already handle PKI) and if the PKI-related tasks were handled through Ansible/Puppet/etc. or the 'tool'.)
This is true, but the bad places tend to also be the big population centers. This naturally means the same people that are content to allow these problems to fester are also politically dominant at the state level.
This type of behavior and far worse has been well documented at Fremont. There’s multiple lawsuits currently open, including one black employee who was called the n word multiple times by a superior and found swastikas in the restroom. Plenty of cases of over working employees and holding them to unrealistic expectations, as well as ignoring government regulations like the COVID lockdowns.

https://jalopnik.com/elon-musk-tried-to-destroy-a-whistleblo...
>Are there plans to build equivalent features on Blockchain for crypto currencies?

The entire plan of crypto is to not ever allow that. That's the big innovation.
I hope there will be an equivalent of Apple Music/Spotify/Netflix for scientific papers in the near future.

There is: You can pay Elsevier for an unlimited access subscription to ScienceDirect journals. The only problem is that it costs about $1700 and you have to buy for a minimum of 3 people. [0]

[0] https://www.ncbiotech.org/sites/default/files/inline-files/2...
> Are there plans to build equivalent features on Blockchain for crypto currencies?

No, transactions are irreversible by design.

If you want this, what you need is an escrow service. Escrow services can conduct transactions in bitcoin or other cryptocoins. I don't know of one, but I believe that they may exist.
How is that arrogant?
all I can say after using all the various systems is that borg /google3 is still the best resource manager I have ever used. It's not impossible to prevent mistakes but there are a number of very powerful things due to the monorepo and deploy-at-HEAD approach that make it possible for many teams to provision resources within a limited number of accounts.
>I am yet to work with a payment method that does not support reversal (except for physical cash). As a last resort victims can file chargeback with their issuers or police.

What about the stories of companies being scammed via wire transfer?
reversible payments equals double spending, which is fraud, which is your payments industry. read the white paper start over. do not collect $200
Military engineers focus on battlefield-relevant construction and demolition techniques and aren’t routinely deployed on civilian engineering tasks during their readiness cycle. One exception would be military assistance in emergency situations, such as quickly erecting a bridge to replace a flood-damaged one. For the average soldier, their trade-specific training would be measured in months, so the only opportunities to pick up deep domain knowledge are limited. Career engineers might get deeper knowledge but I suspect they would still focus on battlefield-specific competencies.
Interesting, I see that here:

https://www.ucop.edu/loan-programs/loan-programs/frap/index....

It doesn't really say what percentage of professors get this assistance or how much that assistance is typical in the end.

Faculty housing rates at UCLA:

https://portal.housing.ucla.edu/faculty-housing/faculty-hous...

So pretty much >$2k and up to $5,427/mo for housing costs. And that's supposed to be somehow more affordable than the surrounding area? For a 2bdr apartment its >$500/mo more than my mortgage + insurance on a four bedroom home with a pool purchased recently. For the condos, that's a few grand a month more. Compared to $1,400/mo average rent immediately surrounding UTD. Rent can be found for <$850/mo in Richardson, only 42-70% of the cost. And that's without having a small commute and living in a cheaper part of DFW, as Richardson's real estate isn't exactly a cheap part of town.

That would have to be a pretty good-sized stipend to offset that cost. Also it speaks volumes that a professor making >$40k gross more needs to then also have a housing stipend to make the actual take home close to the person making >$40k less.
You could also take a measured approach and, like rust, just define signed overflow to wrap. UB and its current interpretation is not worth whatever small sliver of performance the current implementation of LLVM appears to give you.
Secret sharing is a trivially easy solution to this problem.
Same in Germany, but universities don't always share records. You are supposed to fill in a form on immatriculation where you state previous universities and why/how you left there, and you will get expelled if you lie on that form. However, if you pass your final exam without getting caught, there is a good chance you'll get away with it.
Possibly, apparently the 11,000 pages for the proposal are public. But I wouldn’t know where to search for them.
> Still, is the X of Latinx the solution ?

Hardly, though this seems a strawman since anyone who advocates for the X in Latinx would be unlikely to claim it solves the Flint water crisis.

> Or is it smoke and mirrors in the Big Tech goal of being perceived as noble ?

This feels like conflating. The X in Latinx is independant of the Tech industry, and was most definitely used long before any Tech HR department caught on.

Latinx came out of the intersectionality of minority rights and issues of gender. Latin languages are gendered but we want to address Latin-American issues without profiling a single gender, a la Latino or Latina.

As another tool in the toolbox to fix oppressive systems the X in Latinx is a fine thing and people have been empowered by it, but it in isolation is certainly going to fall short of addressing the myriad of issues within this domain and I doubt any advocates for change would claim otherwise.

I think business leaders will do anything to avoid dilluting their ownership, which will be an important effort toward real positive change, and if their tactic is to distract organizers with superficial changes then organizers will need to remain diligent.

Take what is offered and keep working until what is offered is what you need.

> This was not a rant.

Maybe, but your replies seem to point to a specific interpretation of your comment of villifying, or at least mocking, of people who see themselves represented in LGBTTQQIAAP and its advocacy ilk, and a plea that the only reasonable response is to reject the activism wholesale.
The DEC Mini
This article reads like an advert for this service (casa) pushing for similar bank guarantees / insurance as traditional banks, so er. Yeah basically the same thing. I mean if someone steals your cash money there's no way to get it back either.
> Are there plans to build equivalent features on Blockchain for crypto currencies?

Basically every crypto enthusiast out there touts the non-reversibility of crypto transactions as its primary feature, not a bug, and that is why I see crypto as generally useless for your average person.
Enter the Supersensorium
Only vertical centering was ever tricky
Have you caught Mare of Easttown with Kate Winslet on HBO? Tremendous.
Elderly family members might die before you retire. Spending time with your child when they are all grown up won't make up for missing out on their formative years.
Being vertically integrated was a large part of their downfall, not their monopoly status.
> It says that purely by existing people have certain rights

Maybe that's just me, but that's way too abstract for me. Have planets and stars always had certain rights purely by existing as well?

> and society chooses which ones should be protected

Well in that case you could make the case that every single person has every single right anyone could possibly have and the society chooses a subset of these rights as actual laws. I guess this is a way to eat your cake and have it, too, since it makes the difference between my and your view unobservable.
Building roads and sewers and such in a new province is a great way to secure the new people's loyalty. But after the bridge you built has stood for 400 years, people start to ask "but what have the Romans done for me lately?"
The Failings of the Draft EU Artificial Intelligence Act
Create S3 compatible machine learning pipelines on Azure with Kubeflow and MinIO
The policies cover claims made during the period of the policy, not events that occurred during the period of the policy. It's not car insurance.
It's also one of the few free email providers I've seen that doesn't require a phone number.
Tables are not a layout tool, and you'll cause more problems than you solve by using them that way.
This only covers the part about the training data and derivative work. At what point does exactly cloning code become not a derivative work?
This is why we have wet and dry bulb temperatures.

Your intuition about temperature is focused on the dry-bulb temperature that a simple probe gives you.

A wet-bulb is literally a probe with a wet cloth or tissue around it.

As the humidity in the air increases the wet-bulb temperature approaches the dry bulb temperature.

This is absolutely “warming”. The latent heat of the air increases. The sensible heat remains the same.
ASML seems like the one with a monopoly on the manufacturing side, and their market cap shows it.
I hear this 35h/week thing in Germany a lot around here but when looking for tech jobs there all companies I saw expect 40h/week, so which is it?

Or is 35 the standard for government workers and unionized companies like in construction?
AllSpice cofounder here. We launched AllSpice Hub in closed beta earlier this year. The idea came after working in consumer electronics for several years and becoming extremely frustrated by the complexity of reviewing and releasing electronics, especially when scaling a startup. Collaboration and VCS were either way too heavy and required a dedicated admin or weren't built to support electronics. Our philosophy is pretty simple: pull best practices from SW/FW development and apply it to hardware. Make it customizable and use industry-standard formats.

We integrate with Altium Designer natively, but have other tools on the way. With AllSpice Hub users get:

* Git-based rev control

* Redline schematic/pcb diff

* Redline BOM diff

* Design review (Merge request)

* Release management

* Project wiki pages

* .gitignore templates for HW files

* Team and account permissions management

We forked from Gitea - it's been an incredible project to be a part of, and we try to contribute upstream any time we are working on something that's not HW specific.

Our plans page is here: https://www.allspice.io/plans

Our homepage is: https://www.allspice.io
There are a number of replacements for (ordinary Portland) cement, such as slaked lime, Sorel cement, alkali-activated cement, geopolymer cement (sometimes classed as an alkali-activated cement, though the Geopolymer Institute disagrees), and so on. Most of these have lower, zero, or even negative net CO₂ emissions. https://res.mdpi.com/d_attachment/sustainability/sustainabil... "Recent Progress in Green Cement Technology
Utilizing Low-Carbon Emission Fuels and Raw
Materials: A Review" is a CC-BY overview of seven of them from 02019.
Hey, thanks for posting my post! Glad you found it interesting.
What about if a company used their own employees for this? Having them apply to their customers, and also let the employees accept a job offer if they didn't want to match it.

More/Less ethical?

Sounds slightly more ethical to me. Perhaps less effective, but I've heard crazier growth hacking ideas...
Yeah problem is the lawyers rarely come give free advice on a public forum. So we are left to speculate...
Are there startups that still write desktop GUI applications? Maybe I'm just not informed, but most just seem to be an instance of chrome (aka electron) written to directly call a website or reuse the web application locally.

If I'm not wrong and something doesn't change, we'll find ourselves surrounded by electron apps on our desktops.
Wow, urs is retiring to NZ. Don't believe what he's saying- urs is the sort of person who retires over 20 years to ensure stability. Urs was one of the largest promoters of in-office culture, so if he's changed his externally visible approach, that means Google is going remote.
Right, this would be a preference change for nurses whose attention is more valuable and who don’t burn out (decrease quality of care over time.) Same for more attentive drivers. This is consistent with how the perspective changed of jobs we consider compatible with shorter workweeks.

In addition to automation for jobs where attention and reason doesn’t contribute to success (which is how you’re describing nursing and driving; I of course disagree), there will still be a market for hourly pay and people who really enjoy and are suited to overtime, as well as other factors. The transition is complex.
It's kinda scary that they can order a cash transaction via phone. Is there no identity verification at all?
> In an attack where you are no longer in control of your own mind or body, you must consider yourself to be your own worst enemy.

Though it does have some valid points.