HNHacker News
TopNewBestAskShowJobs

redis_mlc

1,807 karma · joined July 4, 2019

submissionscomments
redis_mlc··on The Ball and Supply Chain
I can't think of any mineral that the US doesn't have (in the ground.)

However, some are no longer mined in the US, like tin, since 1993.

(For people unfamiliar with "rare earth minerals", they're not rare. But today their mining and processing is mostly done in China.)

redis_mlc··on Scientists re-evaluating relative brain size and mammalian intelligence
Not sure how to compare intelligence across species (one idea is length of focus time?), but it would be interesting to make a chart with crows, hornbills, people, and dolphins.

The hornbill is the most aware animal that I've seen in zoos - they actively watch the visitors, even beyond their enclosures.

This is the first time I've seen somebody domesticate them:

https://www.quora.com/What-are-your-thoughts-on-the-hornbill

redis_mlc··on Avoiding Leetcode Anxiety
LeetCode is a problem that took a famous computer scientist a month to write a paper about, but you have 30 minutes in a proprietary web app to either remember or re-invent it, and pass a test suite.
redis_mlc··on Avoiding Leetcode Anxiety
> need to learn this stuff.

If you are a traditional sysadmin with limited programming experience, then you have a very tough road ahead of you in 2021 - getting up to speed now is not picking up "stuff", think of it as a new career.

You should stay at your current job and work on devops projects to learn the devops tools and skills and get proficient at basic programming first.

After that, start on more advanced programming.

If that doesn't get you through interviews, then LeetCode. I put this last because even with a fair amount of practise, most people can't finish a difficult problem in 30 or 60 minutes and pass the test suite.

I don't get why interviewers sometimes start with, "Sorry, this is the problem, but nobody ever finishes it." (One was write a hash library with tests in 30 minutes, for a devops role.) You just have to move on to the next company.

redis_mlc··on Is the F-35 officially a failure?
I study warfare and am a pilot.

The doctrine of the US Air Force is that they will have the best airplanes at any cost to achieve air dominance. They literally don't care about price as long as they get the lethality and qty. they want.

Hence they will never look at low-cost fighters like the F-5, A-10 or A-29 for their own use, except as maybe trainers or Marine use.

The F-22 is no longer made. Around 189 were built and there's about 150 left. It's a great plane, but the low count is a great concern in case of war (with China.) You can lose 150 planes in a couple of days in a kinetic war.

The F-35 has numerous show-stopping problems, plus even more numerous irritating problems. The US needs about 1,000 operational ones, plus another 1,000 for our allies, to be an effective deterrent to China. (Since the US has 11 carriers, that's enough F-35s to populate them.)

The reason we need so many planes is that China has almost 18,000 ships, which can be used to blockade (defend) the S. China Sea (a tactic they accidently discovered in the last Taiwan Strait conflict.) So that leaves aerial/ICBM attacks.

The US MIC has prioritized pork instead of results, so we need to work on qty. The Biden administration is perceived as weak gobally, which is unacceptable for a superpower - that gets millions of people killed until the US demonstrates dominance again.

(WW2 in Europe started due to US isolationism. Both Germany and Japan thought of the US as country bumpkins in 1940. Today, the CCP thinks of us as decadent and divided, thanks to BLM and antifa.)

During a border dispute in 1969, Russia decided to nuke Beijing because they wouldn't take no for an answer, but the US foolishly told them not to. The CCP has already threatened in 2020 to use nukes against the US if the Three Gorges Dam is attacked.

The only reasons the CCP hasn't successfully invaded Taiwan yet are:

- the Taiwan Strait is about 80 miles wide at the narrrowest. Considering Germany couldn't invade Britain, which is only 20 or so miles from France, you can see how 80 miles is a very strong deterrent.

- Russia told the CCP to stop saber-rattling on previous attempts

- The US came to Taiwan's aid in the last two attempts, and has a policy of including Taiwan under its umbrella (like half the world's countries.)

So here we are, on the brink of war with a President who can't climb a flight of stairs on his own.

redis_mlc··on Cuomo Aides Spent Months Hiding Nursing Home Death Toll
For HN leftists (I know, I know - that's all of you), you can extrapolate from the Cuomo media suppression to the suppression of the Hunter Biden story, the election fraud, the two fake impeachments, and Joe Biden's senility.

I've looked at cnn.com a few times, and at least their homepage appears to be dictated solely by the left. The hagiography on Kamala Harris a couple days ago looked literally like something the CCP would publish: "Kamala is the last person in the room", etc. I thought VPs were supposed to just golf? Why is Kamala shadowing Biden if he's not senile? (She's in just about every public picture of Biden, standing just behind him.)

https://www.cnn.com/2021/04/25/politics/kamala-harris-cnntv/...

For those who don't know what I'm talking about, Twitter has said they regret suppressing the Hunter Biden story before the election, and WaPo issued a retraction on their quote of Trump asking an election official to redo results (that quote was one of the Pelosi's "reasons" for the second impeachment.)

https://nypost.com/2021/03/25/dorsey-says-blocking-posts-hun...

https://nypost.com/2021/03/15/washington-post-runs-correctio...

The more you compare the MSM with actual events, the less they match.

redis_mlc··on Egyptologists uncover rare tombs from before the Pharaohs
And a lot of war and religion.

What destroyed most of the empires was succession battles resulting in civil war, all through the late 1800s.

I've been watching the Fall of Civilizations Youtube channel, and the South Americans really messed up succession.

redis_mlc··on The Botanist Who Defied Stalin
FYI: If you shake your head at Lysenko in the article, note that similar things are happening today with Marxists and critical race theory and science/math in the US.
redis_mlc··on The Wright brothers: The O.G. startup founders?
The article misses a couple of foundational things the Wright Brothers accomplished:

- built one of the first wind tunnels, and published the most accurate performance data in the world:

https://wright.nasa.gov/airplane/tunnel.html

https://wright.nasa.gov/airplane/results.html

- built one of the first aero engines, and first using aluminum:

https://airandspace.si.edu/exhibitions/wright-brothers/onlin...

The above items are simply amazing, and shows how the Wright Brothers couldn't be denied. (You can see later "aero engines" in the Hiller Museum in San Carlos (near SF) that can't even carry their own weight.)

It's true that the brothers weren't killed while flying, but Orville was seriously injured crashing in 1908, and his passenger died from a head injury.

Source: commercially-rated pilot, study aerodynamics.

redis_mlc··on Can you become a firmware engineer(embedded software engineer) through bootcamp?
I've done a fair amount of embedded programming. (I was the most experienced C programmer at various places and was asked to help out with hardware projects, including Space Shuttle payloads, tools for a new chip design and Vegas slot games.)

What I have noticed is that job postings for dedicated embedded/firmware programmers paid about half what I was already making, so I never put that on my resume.

So I think you're misguided: nobody's going to give you a job as a junior embedded engineer (since they would have to supervise you and debug your code, or face a failed $$$$ hw project), and even if they did, you'd earn half what a CRUD developer can make.

But if you're going down that road, learn the linux tool chain, including how linux boots.

You can find the IBM DOS era BIOS listing manual on ebay.

redis_mlc··on why we write about Tesla crashes
Almost all the autonomous miles are on sunny days driven on the same circuit hour after hour. So the same mile driven millions of times, and even then they crash.

Source: lived along one of the Mountain View circuits, would see 3 autonomous vehicles from the same company in a row doing their "miles" with no other traffic. Even if they crashed into each other, it would be from the same company, so why report it?

redis_mlc··on India Is What Happens When Rich People Do Nothing
Indonesians don't mind saying "too many people", as most of their population of 270+ million lives on the island of Java.

However they have other very large islands (Sumatra, and part of Borneo) that could be settled, so it's not an insurmountable problem.

China's and India's large populations are their Achilles heels - they need vast quantities of food and water, yet China imports 50% of some food items, and India relies on Himalayan headwaters that China is diverting.

redis_mlc··on Pg_tmp – Run tests on an isolated, temporary PostgreSQL database
Unlikely, MySQL does not have transactional DDL (like CREATE TABLE).

It's not a big loss when managing production databases in practice because with large tables you roll forward, but it would be nice for dev/qa environments.

https://dev.mysql.com/doc/refman/8.0/en/cannot-roll-back.htm...

Source: DBA.

redis_mlc··on Brexit’s top donor outed as Bitfinex, Tether parent shareholder
What a silly comment - it just means you haven't looked very hard.

Being part of the EU means following their absurd economic migrant immigration rules, and later bailing out half of the members, who lied about their finances when joining and are bankrupt.

Also, I'll take populism any day over elitism, especially British elites.

redis_mlc··on UK court clears post office staff convicted due to ‘corrupt data’
This is a similar story.

When ATMs were introduced in Canada in the 70s/80s, it was common to believe they were infallible. When customers claimed they were short-changed by machines, often they were prosecuted for fraud or attempted theft.

I'm sure HNers can think of dozens of ways a machine could be wrong ...

https://en.wikipedia.org/wiki/Automated_teller_machine

Also, regarding the Postmaster article, note that somebody working on that project would likely face great difficulty in convincing anybody there was a systems problem.

redis_mlc··on Beej’s Guide to C Programming [pdf]
> Well, these days it's harder and harder to avoid it if you want to write efficient apps - we got more cores and the clocks remain more or less the same.

There was some article a few years ago that said the apps they looked at didn't actually run faster after making some routines parallel, so it depends, and you will definitely have more debugging to do.

redis_mlc··on Beej’s Guide to C Programming [pdf]
Just learn C by reading and working through the K&R book. (It's one of the best CS books ever written.)

https://www.amazon.com/Programming-Language-2nd-Brian-Kernig...

Also, there's nothing magical about pointers - scripting languages use "handles", which is the same thing except they're read-only to the end-user programmer.

The real challenge with C is multi-threaded programming, so don't do that if you don't need it.

redis_mlc··on Born secret – the heavy burden of bomb physics
> Yes indeed, I reckon what Humanity is doing right now is winning our biggest ever war yet(1).

I study WW2, and just off the top of my head, the Manhattan, B-29 and V-2 projects took longer and cost around $2 billion each in 1945 dollars. The economies involved spent over 50% of GDP on war materiel. So no, corona wasn't even the biggest war project.

> We shut down huge tracts of human life and attendant economies to save the lives of the oldest and weakest. We're still doing it.

I'm not sure it was a good tradeoff, and I would say there wouldn't have been a lockdown if there was enough ICU capacity, which BTW didn't seem to increase in the past year (China built new hospital buildings, but I don't know if they were equipped.)

I would argue that corona was the first smartphone pandemic, which pushed control down from the federal govt. to state govt. and individuals, causing sensationalism and distraction (ie. "do masks work or not?", "omg the number of patients increases every day!", "how is this going to affect my White House run (Newsom)", etc.)

> mRNA is bigger than a bomb, and fully peer reviewed.

WW2 arms were amply demonstrated.

redis_mlc··on Chuck Geschke has died
It's pretty common in technology for execs to live way below their means, especially with stock options riches.

One of the Yahoo founders drove a subcompact car for years, and one of the Intel CFOs never told his family that he was worth $1 billion until his kids were grown.

redis_mlc··on Chuck Geschke has died
The article mentions his kidnapping.

That was a big deal in SV, and resulted in big-company executives getting bodyguards, black SUVs, and sometimes even separate office buildings for top mgmt.

redis_mlc··on Google used ‘double-Irish’ to shift $75.4B in profits out of Ireland
> companies are required by law to maximize their profits

No, US court rulings say that mgmt. has "wide latitude" in how the company is managed. It's up to shareholders and the board to step in if they disagree, but since they appointed mgmt., it's rare for major disagreements.

Which makes sense in a capitalist country, as there is little central planning outside of certain industries like defense and banking (regulated.)

(In both the US and UK, the govt. tells industry how many airplane or ship builders they want, and who has to merge. After WW2, this caused concentration in the airplane industry. My understanding is that Northrop was told to drop the F-20 (an upgrade on the F-5 and a challenger for the F-16) to focus on their bomber contract, and then still told to merge.)

I'm not going to comment in detail about offshore tax structuring like Ireland except to say that it is an abuse of tax avoidance.

redis_mlc··on Why Do So Many Rich People Work So Much?
Robert Frank is a moderately socialist economics professor at Cornell, so take his quotes with a grain of salt.

The article talks about young men playing video games excessively. A contributing factor is that online dating women are looking for the top 5%-20% or so of men now (combination of appearance and hypergamy), so the bottom 80% to 95% are not dateable online.

(A recent survey said women are only interested in the top 4.9% of men in dating apps, versus the previous estimates of 10%-20%. This is called unrestricted hypergamy and has horrible consequences for both women and society at large, as those 4.9% of men essentially have harems of short-term relationships because they can, and the other men can just play video games.)

I've never heard somebody say, "I want to accumulate the fruits of workers' labor", so I think the understanding of motivation is backwards - it's to create a company or solve a problem, and if workers are needed, you hire them. This is HN, so for most readers should be obvious.

The deeper psychology is that most men need a purpose in life, and a startup is very purposeful. Whether it succeeds or fails is kept by financial score, but it still serves the purpose of getting up daily, focusing on tasks, and trying to "make a dent in the universe." (Richard Cooper)

redis_mlc··on SpaceX raises $1.16B in equity financing
With 8,000 employees, SpaceX has a payroll of almost $150 million/month, plus other operating costs. Sounds like they're in financial trouble and need to raise to continue operating.

Note that there's a very small world-wide market for satellite launches, which won't pay for the above. The reusable feature of SpaceX is a business mistake, as noted by both ULA and ESA.

Elon Musk is a welfare queen, as all of his businesses rely on govt. handouts and rebates.

redis_mlc··on Latency Comparison: DynamoDB vs. FaunaDB vs. Redis
I'm a DBA, and I agree. Cross-region transactions rarely make sense because if one region is not reachable (down, network-partitioned for more than 1 minute), then you can't do writes to any region. Think about it. :)

I guess if your partition time interval was known to be very short, like a flaky ISDN link, it could make sense for some use cases using retries, but then you should just get a better link.

CockroachDB discusses a multi-city vehicle sharing use case where multi-region transactions could be worth consideration, but I'm skeptical:

https://www.cockroachlabs.com/docs/stable/multi-region-use-c...

(Developers and students get all excited about distributed systems, CAP, etc. but as a DBA, network partitions are largely not solvable from both technical and business standpoints. The solutions that do work include using vector clocks, or investing in a very reliable network, which is what Google is doing with dedicated fiber.)

redis_mlc··on Egypt seizes the Ever Given, demanding $1B for Suez Canal jam
From what I've read:

1) It was towed up the canal a short way to a "lake" area for inspection. It was leaking immediately after the grounding, and probably does have minor hull issues, but no update since it was freed.

(Steel ships rely on the forces of floating - having water push up and inward to maintain the hull shape. They're not designed to be grounded or to be allowed to sag in the middle.)

2) It was never out of Egypt's custody.

redis_mlc··on Skies went dark: Historians pinpoint the 'worst year' ever to be alive
It's worse than you think.

The Hekla-3 eruption likely ended the Bronze Age c. 1100 BC, wiping out 95% of all Mediterranean cities. The first crop failure was bad enough, but the second year's starved almost everybody.

https://en.wikipedia.org/wiki/Hekla

https://en.wikipedia.org/wiki/Hekla_3_eruption

Note that all societies were very religious (superstitious) whether Aztec, Mayan, Mediterranean or African.

Christianity largely grew after the Byzantine Roman Emperor, Constantine, converted around AD 312.

(The Roman Empire was so large that it had two capitals, Rome in the west, and Constantinople (Byzantium) in the east. The latter became Istanbul in AD 1453.)

redis_mlc··on Beijing now has more billionaires than any city
Not sure what you mean, but all billionaires would either be CCP, or under their close direction. Companies over 50 employees have an on-premise staff CCP cell, and Xi is reversing the relative operating independence of existing companies.

The more money you have in China, the more scrutiny you will get at some point. Then you disappear for 3 months like Jack Ma.

It's rumored that each of the Top 100 CCP officials has $2 billion. Pretty impressive savings on a $22,000 annual salary, isn't it?

https://qz.com/329584/does-chinese-president-xi-jinping-real...

redis_mlc··on I am stepping down from Perl Steering Council and Core
Perl experts prefer it over Python, because:

1) forward symbol references

2) moderate type checking (at both compile and run times)

3) Mojolicious.

redis_mlc··on Stuxnet sibling theory surges after Iran says nuke facility shut down
> they would like to have their sanctions removed in exchange for shutting down their nuclear program.

They would like to have their sanctions removed while keeping their nuclear program - there is no scenario where Iran will stop short of having ICBMs.

redis_mlc··on Ask HN: About to Be Acquired by MSFT
> I am just a worker bee

It's pretty common to have to re-interview for engineering jobs with the acquirer. A lot of engineers get cut in that scenario.

So make sure you update your resume and ask around if re-interviewing will be required.

← PreviousPage 7 of 34Next →