HNHacker News
TopNewBestAskShowJobs

xenadu02

10,977 karma · joined May 14, 2014

all comments are my own personal opinions
submissionscomments
xenadu02··on 9000 RPM is faster than your screen refreshes
It's just hyperbole.

When parts spin that fast centrifugal force becomes a serious problem. Everything is a spring, nothing is actually 100% solid. Anything you make that spins that fast will at minimum grow larger in the direction of centrifugal force and shrink in perpendicular axis. If you don't account for that stretching and shrinking things like turbine blades will end up scraping the walls of the enclosure at speed.

Even minor variations in weight get multiplied and create exponentially higher stresses on the part. If you don't have the right alloy with the right hardening/annealing parts will rip themselves apart from attempting to support their own weight against the centrifugal force.

There's a reason modern high-bypass turbofan jet engines use monocrystaline blades because growing a single crystal of such size is the opposite of easy or inexpensive. Plus in the core you are dealing with so much heat no alloy exists that can withstand it for long so you have to machine cooling channels inside the blades (which have complex curves) to keep them from getting soft and flying apart.

xenadu02··on Tracking Costco gas prices
edot covered this better than I could! You're quite wrong. It all depends on volume.
xenadu02··on Trade (and Tariffs)
SBA loans are just regular loans from a bank, except with government backing.

You need a high credit score (680 at least) to even have a hope and 10% cash to put down if not more.

Unless you can prove experience managing a business forget it. You have to demonstrate other outside income (hope your spouse works a good job) or enough cash in the bank to cover living expenses for a year or more.

If the business is going to be a new venture you have to put together financial projections that demonstrate how you are going to start making money and it had better be quickly. You will not get 2 years to ramp up. And if you fail to meet projections they can call in the loan.

Oh and by the way: you must sign an agreement to take unlimited personal liability for the loan. So if the business fails they get to take away your savings, retirement, even your house. In fact if you don't have significant assets they will put a lien on your house as part of the loan closing!

In China if you want to start a factory in an area the national government lists as desirable the state-owned bank will almost shove money into your hands. Repayment timelines are extremely generous. You mostly don't take on personal liability - instead they focus on the assets, land rights, etc. That is if the business starts to fail you will own machinery, a lease on the land, and/or a factory building so they are content to secure the loan against those things.

When the state bank underwrites your loan in China they only care that your project is technically viable and you have some kind of plan. They assume you will find a way to be profitable and worst case they can take the factory away from you and give it to someone else. As long as your plan makes sense - if your plan says you're going to make robot arms but your plan doesn't mention buying any CNC machines or hiring any electrical engineers you will have difficulties. And if you want to build a factory to make lathes expect serious pushback - the Chinese government considers that sector to be "over-capacity" so they are reluctant to finance new factories for such things.

Not that it matters because unlike the USA if you aren't a Chinese citizen then you can piss right off because you aren't going to be approved for anything and you aren't allowed to own property anyway. Not that any court would ever side with you in any case either.

The entire philosophy is different and I'm saying we should adopt the Chinese philosophy. Instead of letting risk-adverse private banks make the decision the government should make the decision. And instead of focusing on credit score and making you sign an unlimited personal liability contract - do the opposite and secure the loan against the actual factory, machinery, and assets. Build a network of such so if a business fails you can turn around and offer it to the next suitable applicant who can bootstrap their business instead of selling everything for pennies on the dollar at auction.

xenadu02··on Luanti removed from Google Play due to baseless AI copyright notice
It is not a legal process. It is Google's process designed to minimize their involvement to the maximum degree possible.

When some random person copyright strikes your YT account you have no rights because it isn't based on the law. Its the equivalent of someone going to the manager of Starbucks and falsely saying you are harassing them, then the manager tells you to leave or they'll call the police. One private party told another private party you are a bad person and the private party in control punished you.

If memory serves the whole system came about way back because the big media companies and record companies got together to sue YT after google acquired them. So you might say the system was designed to let purported copyright holders act arbitrarily on purpose.

xenadu02··on Trade (and Tariffs)
It isn't just about that. You need industrial policy. And not just stuff like the CHIPS act.

In China a small outfit can get financing and open a factory anywhere.

You can't do that in the USA. You are too small for the lenders or investors who do such things to care yet too risky for traditional financial institutions to risk anything on you.

If I want to buy a couple of CNC machines and start making a product in my garage I have to hope I have enough room on credit cards to do it because I cannot get the money from anyone. Doesn't matter if I have a good idea. Doesn't even matter if I have some initial customers/orders.

If the government is going to piss away money then at least piss it away on that sort of economic activity. If you can present a coherent business plan or product design then lend people the capital secured by the equipment and/or IP with generous repayment terms. Set progressive milestones to unlock additional financing... for example give a gov backed credit account at SendCutSend. When you have an engineer's report on the prototype to turn in you unlock financing to order your first CNC machines. Develop a pipeline. A script to follow. Something a person can follow to get big enough to become a real business.

Grant time to pivot if necessary. If that doesn't work then ultimately the government takes possession of the equipment. Make it clear so long as you return everything in good working order then in X years you're eligible to re-enter the program. Then hand that equipment over to the next person in line.

xenadu02··on Memory Ordering in CPUs
I think the argument is that you should't be forced to pay that cost for all writes even if only some require it.
xenadu02··on Tracking Costco gas prices
When you have a bunch of stores you do sign distribution deals with a nationwide distributor. If you buy enough fuel you might even be able to sign with an oil company that has refining capacity or their own distribution arm.

So Costco is definitely not paying the same price as your local convenience store. But they aren't getting a 35% discount either.

As many others have noted: Costco does not do loss-leaders. They're likely selling at cost or a very small profit above cost.

When we bought a house in 2021 I had 9.6kW of solar installed (and 20kWh of battery) and bought our first electric car. Since replaced it and have two electric cars now. At times like this I'm thankful for that. I make my own driving energy on my roof, covering over 80% of all driving and home electric usage.

xenadu02··on FDA clears blood test to aid evaluation for Alzheimer's disease
The amyloid treatments slow cognitive decline by 35% or so for 18 months. Some papers argue (and I believe) the effect is small enough many patients don't notice or seem to benefit.

We shall see if yet another generation of amyloid-targeted treatment does any better. The amyloid-hypothesis boosters seem to think so - we had a thread about this not that long ago. But I remain skeptical.

xenadu02··on Coding expertise is going to collapse from AI reliance
There have always been opportunities for those who seek out the less traveled paths.

If all your peers are only accepting what LLMs tell them then you should do the opposite. Spend some of your time writing code by hand, especially when working at a new layer of the system or on new things you've never looked at before.

While the agents churn out more CRUD crap in the background spend your attention learning how everything works.

I do way more experiments with way more things by taking advantage of LLMS. When I have them do research I use that as a starting point for my own reading (but don't blindly trust them).

I find I am learning more faster.

Change is an opportunity. Use it to your advantage. Let other people while and moan while you get things done.

xenadu02··on Optimizing things in the USSR (2016)
I assume the parent comment meant extract as in vampiric. Collecting rents merely for owning assets rather than doing something useful.

China certainly allows you to get rich from starting a company so long as you're well-connected politically and/or obey the party. There is plenty of benefit to be had in a way absolutely not possible for someone in the USSR.

xenadu02··on Memory prices climb 500% in 12 months
As others have noted they've been found colluding previously, more than once. Even admitted guilt and some people went to jail over it.

And the reason the market is so small is because of players who did as you propose, the DRAM market crashed on them (not due to them but due to broader market dynamics), and they went out of business.

So there is, quite perversely, strong incentive to collude if possible and if not to abide by an unstated agreement to be extremely slow to expand DRAM capacity.

That said...

SK Hynix has two fabs under construction, one set to open later this year. One for 80k wpm, another 360k wpm. A third was recently approved to start construction.

Micro has an overhaul of Fab 6 in Virgina near done and slated to produce first wafers this year. It also has a large expansion in Boise nearly completion for 300k wpm. They're also building a "megafab" site in New York (my guess is >1m wpm) and expanding at their Japanese plants (40k wpm).

Samsung has two under construction, P4 for 100k wpm.

Nanya - historically a secondary player focused only on producing non-leading-edge DRAM is making a play for the leading-edge market with a new fab dedicated to DDR5 and HBM.

It appears they've all decided that the demand is sufficiently sustained that building new fabs is worth doing... but it takes time. If my guess is right Micron is making the largest play with their New York site at 1-1.5m wafers per month. That would give them a large chunk of the market.

(wpm = wafers per month)

xenadu02··on The federal keyword lists that canceled billions in research funding
I don't think your argument is a genuine one in this case.

The government is and always has been the primary driver of science research funding. There simply isn't enough of a known payoff for private investors to bother and private philanthropists have never come close to making up the shortfall. Or perhaps more accurately the government stepped in because private individuals would not and the risk was falling dramatically behind the world in research.

Now new administrations have always been able to influence grant awards. But rarely have they been so ... bad at their jobs? Who really thinks a keyword list is the right way to filter grant applications?

People have always been driven by ideology but the current US admin is just so stupid. Shockingly incompetently stupid. Even if you agree with their ideology do you really want this clown show being the ones implementing it in such a ham-fisted idiotic way?

xenadu02··on Magnitude 7.4 Earthquake – 5 km S of San José del Palmar, Colombia
I agree and I'm glad we have the alerts. I'm just saying we may not get any warning and that's nobody's fault.

I'm also thankful that we have at least some seismic standards and have continued to increase them.

Look at how a country like Chile fares where they don't just have standards they enforce them. You can't bribe your way out of proper seismic engineering for the most part. Then look at Columbia which technically has NSR-10 but enforcement is... not exactly stringent.

The results are obvious. Where standards are lax or just as importantly enforcement is lax structures collapse and people die. Where the standards are good and taken seriously damage is much less severe.

Even here in San Francisco things are not all perfect. Sometimes things slip through the cracks like the Millennium Tower. Others are known: the city has a special seismic hardened firefighting pipe network with big metal rods that clamp the pipes together to prevent joints from coming apart. With special seawater pumps and even ship-based seawater hookups so if all else fails they can pump vast volumes of seawater into that network... yet that network has absolutely massive gaps that have been known about for decades and still exist but there are no plans to expand it whatsoever. You'd think the city would continuously invest in this system to slowly expand it over time even if just a bit. But nope.

xenadu02··on People who grew up with high economic connectedness earn more
A difficult lesson to learn but one that led to a 10x increase in income for me.

You can fight the system all you like. You might make a difference but you won't be rewarded for it.

Or you can accept the game and play it. If you don't like the current game switch companies and play a different one.

xenadu02··on People who grew up with high economic connectedness earn more
Success is almost always a combination of both. No one is self-made but that tends to irk people who believe they are because they've spent years doing a lot of hard work. Without that hard work they'd have failed! Yet hard work alone is not sufficient.

Where you grow up, what schools you attend, who your childhood friend group is, luckily not getting hit by a bus and put in the hospital, etc. A whole host of factors conspire to grant or deny you opportunities.

However once the opportunity arises you have to seize it. Many people have lots of opportunity yet accomplish nothing because they lack the skills, will, or both to do so. Conversely many people with the drive and skills never hit the right opportunity and end up nowhere.

For whatever reason the broader culture seems to bounce back and forth between both extremes. The whole "pull yourself up by your bootstraps" and "get a job you lazy bum" crowd acting as if you can get rich purely with hard work. Then on the other side there seems to be this well-intentioned idea on the left that if we simply give every under-privileged kid opportunity they'll be successful.

Real humans and real lives are far more complex than such simple notions.

xenadu02··on Parametron: 50s Japanese computer that uses neither transistors nor vacuum tubes
I think that overstates the case for the parametron though.

Even compared to contemporary vacuum tubes they were slower. Contemporary bleeding edge vacuum tube computers could reach Mhz frequencies. Parametrons were 10-15kHz.

The supposed power benefits depended on state. At idle they were significantly more efficient but the more work they did and the faster you tried to run them the exponentially more electricity they required (and heat they generated).

Lastly because the early ones were lower frequency they required physically larger inductors. Contemporary vacuum tube computers took up similar amounts of space due to cooling constraints but parametrons were bulky in ways you couldn't fix.

Parametrons were a dead-end technology almost from the get-go due to physical scaling limits. Even the earliest use of discrete transistors blew them out of the water beyond any hope that some magical physical scaling would rescue them.

Abandoned technologies are usually abandoned for very good reasons not just because they happened to lose the race or get backed by the wrong companies. No amount of investment was ever going to help parametrons catch up with transistors - just as no amount of investment was going to help vacuum tubes catch up either.

xenadu02··on Magnitude 7.4 Earthquake – 5 km S of San José del Palmar, Colombia
That's unavoidable. We now have shake alerts in CA but if the quake happens on the Hayward fault across the bay San Francisco isn't going to get much warning no matter what anyone does. By best estimates we may get 15s of warning.
xenadu02··on Zig's Incremental Compilation Internals
The traditional model of compilation is the biggest issue holding back fast incremental compilation IMHO. Swift suffers from this as well.

Even a simple change to one file results in re-parsing the whole library because definitions come from anywhere and we have to obey the 1970s single file compilation model. The result is a driver spawns 8 threads and each one wastes time re-parsing every file in the library looking for definitions. AFAIK Rust doesn't really track dependencies at the file or function level either so it doesn't really know what changed.

To me compilers should be content-addressed databases. Each declaration and its associated content generate hashes that roll up to its containing type or namespace, then to the file, then to the library as a whole, along with hashes of the dependencies. Changing the type signature of a single function should result in the compiler being able to cheaply determine whether that has any visibility and if so to what other files in the same library or if it affects the public interface.

A file that hasn't changed and whos inputs hasn't changed should re-use the IR from the prior compilation. Even for an individual type that should be the case so changing the internals of a function in a struct only regnerates that one function and nothing else. The compiler knows deterministically that change can't have affected anything else.

That has major benefits for code completion and editing as prior compilations can feed into generating errors or suggested corrections.

Then you can take things a step further and JIT a changed function, injecting the new machine code on the fly so long as the shapes of the types don't change. Very useful for debugging.

Compilers are mostly held back because the people who write compilers are stuck on certain ideas about how compilers should be written.

xenadu02··on Americans – including many Republicans – are losing faith in capitalism
I didn't leave the Republican party, the party left me. Then again I'm some kind of crazy nut for believing that principles matter even if you lose the election and that cruelty isn't something to be praised so what do I know.
xenadu02··on Multi-Primary Color Display Emerges as Next-Gen Color Reproduction Technology
Also note this is a side-effect of the fact that mammals lost true 3-color vision then primates re-evolved it by mutating the yellow cone into green/red cones. If you look at the sensitivity of red/green cones they almost overlap, as opposed to blue cones which have a more reasonable placement on the spectrum line. If you look at say birds with 3-color vision their distribution of cones is more like our blue/green spacing in the spectrum.

I believe the leading theory is that red light is given off by a variety of fruits when ripe so arboreal ancestors with that mutation could much more easily locate food. To most mammals red ripe apples and green unripe ones are all just shades of yellow so the mutation would have been like a superpower: the equivalent of eagle-eyed vision.

xenadu02··on Our Amish Language
One thing you learn if you study the Amish or interact with them personally: there is no "Amish generally" or "the Amish usually".

Every Amish congregation makes their own rules. The local deacons vote on changes. Each "Fellowship" of congregations has tenets and rules they require to be "in fellowship" but otherwise don't have control over the individual groups. Splits are often driven by disagreement over the fellowship rules.

There are Amish that own cars but the group might specify that each family may only own one car and it must be model X and of color Y with a specific set of features. Most people are aware of the groups that prohibit cars - requiring use of horse and buggy.

Some Amish allow electricity, but only connected to the barn or only when provided by solar power. Or they might only allow it to the extent required to comply with regulation - for example refrigeration for milk on a dairy farm. Some allow cell phones, but not in the home (you leave it in the barn or a lockbox). Some prohibit them entirely. Some Amish groups allow machinery but apply restrictions that don't allow use of the machinery to end up with one farmer greatly out-producing others. So when a farmer gets old they may allow them to buy a tractor for fieldwork but require it be pulled by horses.

You might also be surprised to learn many Amish experiment with new technology. Often the deacons will appoint a "nerdy" (for lack of a better term) person in the community to use some new thing. They'll evaluate its effects and costs. Then hold a vote on whether to allow it and what the rules will be. Sometime their answer to changes is not "no" but "not yet".

The decisions are nominally driven by a desire to be independent and to avoid negatively affecting family life rather than rejecting technology directly. Most don't allow electricity, cell phones, or internet inside the home because it would lead to people not interacting or connecting with each other. When power tools are allowed they're often pneumatic so they don't need to be tied to the grid and thus dependent upon "the English" - though with Solar and batteries that has rapidly changed.

Most don't allow extensive use of farming machinery because it could lead to your neighbor out-producing you, leading to them getting much richer and having more than you leading to discord in the community. If cars are allowed they may require everyone to buy the same car so there is no jealousy or "keeping up with the Joneses".

Amish are just people so they certainly have assholes and jerks but many are friendly people and if you treat them genuinely they'll repay the favor. They will not be offended that you use a cell phone or drive a car.

Surprising how often things boil down to "they're just people and most people, if treated with respect, will repay in kind".

xenadu02··on House passes bill to enact year-round Daylight Saving Time across the country
Well studies show that early school start times are bad for kids anyway so schools should fix their schedules. Kids also naturally like to stay up later these days so more daylight would better match that rather than keeping awake with artificial light.

I also dispute that site's claim that everyone starts before 8am. Here on the west coast I'd say most jobs start at 9am unless they are retail. A lot of schools have also switched to later start times.

Not to mention: DST is already in effect for 65% of the year.

Permanent DST has been introduced in congress every year since 2018. A few years ago it passed the Senate but the house didn't take it up. This time the house has passed it but who knows if the Senate will take it up. I'd prefer to be on permanent DST but I'm not going to hold my breath waiting for it to happen.

xenadu02··on Late Bronze Age Collapse
I liken it to the story of Noah. Whether that was the mediterranean re-joining the Atlantic and thus oral re-tellings from a much much earlier event or merely a localized flood you can certainly imagine someone preparing for a flood and surviving localized or wide-spread destruction. But two of every animal? That's not a stable genetic population. Hell there are 40,000 or more species of spiders! There is simply no possibility that you could even fit enough animals on a boat of any kind to make that story work. If it did happen the immediate result would be complete genetic collapse and extinction. The idea is abject nonsense but the core story probably happened.

It is easy to imagine a large group of slaves escaping or being freed from Egypt. Maybe they or their ancestors were war captives. But wandering the desert for 40 years? Yeah right. Even if you want to grant miracles the idea that all of Egypt would even know about such events at that time is bananas. Information didn't travel that fast. Probably one group of people in one city. And the antagonist could easily have been a local lord. Over time it became the Pharaoh and the 18 months of wandering turned into 40 years. Only then it was written down.

xenadu02··on Structure and Interpretation of Computer Programs Video Lectures (1986)
You don't have to do the exercises or follow along with the book. No matter if you are new to the field or have decades of experience: almost everyone would benefit from watching these videos if they haven't already (or done an SICP course).
xenadu02··on Internal Combustion Engine (2021)
Most piston aircraft engines are still air-cooled which really means air and oil cooled. The oil is a big part of getting heat out of various parts of the engine.

That also makes them harder on oil as the piston/rings have larger tolerances so they don't expand and bind up during operation. That means greater blow-by at startup and when operating at lower temps which puts a lot more combustion byproducts into the oil. Ultimately you want to run an aircraft engine in the upper part of its range (65% power) continuously and don't let it get too cold.

This is also true because 100LL still contains lead and at lower temps the lead combustion byproducts precipitate out of solution, coating everything in metallic lead, lead oxides, and various other lead compounds all of which are really bad for engines. Converting to unleaded nearly doubled engine life in autos.

Many modern engines have valve rotators and hydraulic lifters. Oil pressure is fed to a lifter that sits between the valves and the cam and automatically takes up for any variation in the system, ensuring valves operate correctly. If you ever wondered why car engines don't need to have their valves adjusted every 20k miles anymore - that's why. In some engines if these leak down after shutdown it can cause trouble starting because the valve timing will be off until oil pressure re-fills the lifter.

Rotators are little spring mechanisms that compress and when uncompressing try to rotate the valve in one direction. This causes the valves to rotate a tiny bit with each cycle. Often there are hot spots and exhaust valves especially often have no good way to shed heat yet are exposed to extremely high temps - so they shed heat when they close and are in contact with the head. If they don't rotate the slightly hotter spots will continuously build up heat eventually destroying the valve. The rotator keeps that from happening. (Some engines use sodium filled valves to help transport heat away from the valve face).

I always found it surprising how tiny variations in wear or even a few degrees of excess heat can end up destroying an engine.

xenadu02··on Micron stock jumps 12% as memory crunch lead to quadrupling of revenue
That's a dangerous game to play.

It requires them to bet that:

1. This AI-driven demand cycle is a temporary blip

2. None of their competitors will make massive investments in capacity.

3. No state actors will do so despite evidence to the contrary.

Many in silicon have gone out of business due to the boom-bust cycles so being a bit conservative is appropriate but at some point not expanding production becomes an existential crisis.

Or ya know enough governments with the power get really angry and start forcing price controls, nationalizing, using their state spy agencies to steal your secrets, or use unofficial back channels to make your life extremely difficult.

xenadu02··on Die analysis of the 8087 math coprocessor's fast bit shifter (2020)
Wasn't this also one of the last chips laid out by hand (literally the masks were cut and laid out physically)? Or am I thinking of something else?

I sometimes wonder if some design decisions were made on that basis.

xenadu02··on TIL: You can make HTTP requests without curl using Bash /dev/TCP
> That said, (before things like SPF) it was easy enough to deliver email to anyone you wanted even if you didn't have your own real email account and SMTP server

Yup, this was also a fun exercise. Use nslookup, find the MX records, then telnet to them and deliver some mail destined for domains that email server handled. At that point you're just a slower version of a mail daemon.

In 2006 when FIOS first rolled out they assigned ARIN IP blocks to anyone who requested a static IP and I hosted my own webserver and email server on the web. So for a long time I had my own netblock and my email server had been around for so very long it was in everyone's legacy trusted list. Even gmail never bounced emails from me, despite not having SPF or DKIM and whatever else. Though I did eventually set those up. Only authed users could send email and that was a limited list so my netblock never actually delivered a spam message.

Funny enough I also setup default routing so all non-registered addresses went into a separate mailbox for me and I used the "companyname@mydomain.net" for everything. For many years I knew about every single data breech before anyone else. Often months or years ahead as spam would arrive out of nowhere to that address.

When I finally moved to the bay area to work in tech for real the entire world had changed. You couldn't just get a netblock assignment anymore. And lord knows even if your ISP wasn't deliberately sabotaging your ability to run a server every other system on the internet would assume you're a scamming spammer. I had to give up self-hosting on-prem.

xenadu02··on TIL: You can make HTTP requests without curl using Bash /dev/TCP
Ah this one was so long ago I forgot about it.

The realization that (on DOS) "copy con file.txt" as the world's worst text editor or "copy file lpt1:" was treating physical devices as files. Everything on the computer was arbitrary so you could make anything behave like anything else (for some definition of behave like)!

Not a great insight I'll grant but a key one that everyone has to go through to be any good.

xenadu02··on Copper transport drug restores memory and clears toxic Alzheimer's proteins
> This is false. They slow down disease progression by about 30%, as measured by cognitive outcomes. This is discussed in the article.

Perhaps I am just not well-informed but 30% slowdown in progression translates to sufferers have some mild improvement in cognitive tests and live a few months longer.

Maybe it is simply too early to tell but I would naively expect something much more significant. Perhaps this is the sort of thing that requires much earlier treatment to demonstrate better results.

I'm not saying amyloid beta research should be terminated. Merely that everyone in the field should be willing to entertain other ideas.

← PreviousPage 2 of 34Next →