Better HN
topnewbestaskshowjobs
Log inSign up

simpaticoder

2,816 karma · joined Apr 3, 2023 (3y ago) · 658 submissions

Distributed programming Java and Node expert. Email me at hello@simpatico.io.
Submissions

comment 1y ago · link · parent

Healthcare is not a free market. People don't comparison shop, and couldn't even if they wanted to. Price lists are secret because providers have two prices, one for cash and one for insurance. People with health problems have stress enough dealing with insurance companies and providers, filling out endless paperwork, to deal with it even if the info was available. People in hospitals and emergency rooms CANNOT shop for alternatives since they are a captive audience.

When the social norm hardens around "don't charge what it's worth, charge what you can get" this is the result. I once asked a hospital billing agent how they could justify a $10k ER bill for 4 hours of waiting and 1 hour treatment, and they responded, "How much is your life worth?"

One place that gets it right is Germany: an inexpensive public option that gets you competent medical care almost anywhere. Bring your card, no deductibles, no paperwork, no complex calculation and a minimum of paperwork (which is a rarity in Germany). This is how it should be here.

comment 1y ago · link · parent

America has had political violence for a long time. The unique combination of post-war economic prosperity and centralized mass media (radio, TV) imposed an unnatural coherence on an incoherent body of people. This was a trade-off that paid off wildly for the baby boomers, and provides most of the backdrop for American nostalgia in a way that Reconstruction, for example, does not. The advent of the personalized, always-there screen has brought viewpoint diversity back into the body politic with such ferocity that it has caused wholesale abandonment of shared reality. In 2025, most Americans are untethered to any moral framework, do not require that their leaders even appear to act in a civilized way, and are frantically grabbing at anything as a substitute.

The best we can hope for is that the convulsions will be short and sharp and no foreign power takes advantage of our convalescence. In 1945 the Germans learned a hard lesson about fascism, and learned it well; we can hope that Americans will learn something too, and at less cost.

comment 1y ago · link · parent

True enough, but that has always been true. Something has changed on the institutional side such that it is no longer willing and/or able to simply reject batshit insanity and continue teaching children such that they are as well informed or better informed and capable as the last generation. What results is a positive feedback loop where a poorly educated public puts increasing pressure on an institution who's members are themselves poorly educated. The result is paralysis, and eventually, societal death.

comment 1y ago · link · parent

>Things like no bullying, inclusiveness, fire safety, bring your own water bottle, how to pray

When great controversy surrounds the curriculum, the safest thing to teach is nothing at all.

comment 1y ago · link · parent

The final answer to the perennial question "What is algebra good for?" is found in the success or failure of society as a whole. The same can be said for many other oft-questioned values, like "What does it matter if I'm a hypocrite?" In truth no-one really knows what the future will bring - it's always possible to construct a scenario where ignorance and irrationality will save society from extermination. But in the "horses, not zebras" sense it pays, I think, to play the odds and consider the most likely scenarios that put a society at risk: invasion, revolution, natural catastrophe, and then ask those questions again. Much of history can be read as a set of experiments testing various social theories, and the failure modes of not knowing algebra (Cambodia), or not caring about logical consistency or truthfulness (Russia) are well-known. Education is an insurance policy against a threat that may occur a generation or two in the future, and so the feedback loop is very long. This says, to me, that any change to education policy or practice should be very slow, incremental, and based not in aesthetics or ideology, but on the need for society's continued existence. It would be optimal to have many parallel longitudinal incremental educational experiments going on all the time, and then adopt the changes that bear fruit. It would be optimal to require that ALL educational policy makers be experts in history.

comment 1y ago · link · parent

>We've gone from "Demonstrate the value of our product" to "Create an illusion of our lifestyle"

Scott Galloway occasionally mentions that he thinks most consumer spending is irrational and marketing spends purpose is to make people buy irrationally. Anecdotal observation supports his observation, most strikingly in fashion, where people buy the branded item that costs 100x (or more) than the equally useful unbranded item. Many other examples exist, of course, in almost every market. I tend to agree with Galloway that the goals haven't changed, only the marketing tools (and their effectiveness). Any increase in irrational behavior can be linked to tool efficacy and not to the motivation of the firm, which has remained constant.

comment 1y ago · link · parent

I've come to the conclusion that avoiding the npm registry is a great benefit. The alternative is to import packages directly from the (git) repository. Apart from being a major vector for supply-chain attacks like this one, it is also true that there is little or no coupling between the source of a project and its published code. The 'npm publish' step takes pushes local contents into the registry, meaning that a malefactor can easily make changes to code before publishing.

comment 1y ago · link · parent

I think there is a fundamental misunderstanding caused by the OP's article. It mischaracterizes your blog post as a performance test of microdot, but as you say, it has nothing to do with it. Still, a baseline, best-case RPS number is a useful number to associate with microdot for various reasons; it cannot, of course, take the place of testing the real application, but what it can do is give implementers and upper-bound on IOPs to a device via HTTP/S. Take that as you will. Microdot is a very cool project, kudos for doing it and sharing it.

comment 1y ago · link · parent

Yes, I also wanted to comment on the benchmark article[1], because it seems you looked at compute-bound performance rather than rps (requests per second) on simple data. Given that what you made, MicroDot, is a web server, it would make more sense to stress it rather than MicroPython and the SoC, no? That would seem to be more of the purview of the MicroPython and/or SoC devs.

1 - https://blog.miguelgrinberg.com/post/benchmarking-micropytho...

comment 1y ago · link · parent

I like that resource, but it's missing an important one: github-markdown-css[1]. Given that most devs these days read a lot of Github markdown, it seems like a reasonable starting place for a css system.

1 - https://github.com/sindresorhus/github-markdown-css

comment 1y ago · link · parent

Java Spring is at root a way to combine large software components (singletons) together in a controlled manner (dependency injection). It doesn't really have an opinion on what you do with it, or even if you use it for webapps. In fairness the Servlet API (which predates Spring) was and always has been really good (which is why it's still the foundation of everything webapp in the Java ecosystem). Oddly enough, logging in Java was a mess but became really good when slf4j and logback became the de facto standard. The OP's problem is trivial in Java, Spring, Spring Boot, or Dropwizard.

Java doesn't offer isomorphic React SSR, but in most cases that is a questionable feature. Most SPAs don't need or want search-engine indexing or require instantaneous-seeming load times.

comment 1y ago · link · parent

With thinking models, yes 100x is not just possible, but probable. You get charged for the intermediate thinking tokens, even if you don't see them (which is the case for Grok, for example). And even if you do see them, they won't necessarily add value.

comment 1y ago · link · parent

PPT (price-per-token) is insufficient to compute cost. You will also need to know an average tokens-per-interaction (TPI). They multiply to give you a cost estimate. A .01x PPT is wiped out by 100x TPI.

comment 1y ago · link · parent

There is a stark difference between using the public web to do research and searching through your colleagues' private notebooks and discussions to do research.

comment 1y ago · link · parent

Thanks. I upgraded the kernel (had to turn off secure boot to do it), and set the nvme kernel option, too. So far no unwanted side-effects, but it's too soon to say if it fixed the problem.

comment 1y ago · link · parent

Interesting. I'm not normally in the habit of upgrading the kernel independently of the distribution, but it's worth trying. Thanks for the tip.

comment 1y ago · link · parent

Well then, you live in the best of worlds because every laptop is repairable even at the chip level or individual capacitor/resistor/connector level. All you need is a workshop, a multimeter, oscilloscope, probes, a hot air gun, a microscope, a variety of soldering tools, a variety of solder, solder mask, access to schematics and donor boards, and a lifetime of experience. Here's a guy who repairs Dell laptops all day every day: https://www.youtube.com/watch?v=vDsP1--ttQc

comment 1y ago · link · parent

I'd happily accept a replacement motherboard. They aren't offering that though ,but I'd be impressed if they did.

comment 1y ago · link · parent

It does not make sense to praise a company for selling defective products because some of the customers have the ability to repair the defect.

comment 1y ago · link · parent

>This is awesome though

No, it's not awesome. Upgrading ram and disk or replacing a motherboard, screen or battery is great. Repairing a badly designed motherboard with a soldering iron is not great. In fact, it's bad. I think there's a good argument that it violates (warranty) law. If a car company sells to you based on "right to repair" and then it turns out there was a design defect in the engine, is it "awesome" if they tell you you need to pull the engine and rebuild it?

Glad your battery life is good. I notice you didn't mention it losing power when suspended. Curious.

comment 1y ago · link · parent

I have a 1st gen Framework 13, Intel 11th gen CPU, running Ubuntu 24. It had a faulty design around the BIOS battery on the motherboard that I had to fix, and do some soldering on[1]. It's remarkable because they didn't say "Send the laptop in and we'll fix the design defect" they said, "First take a photo of the inside of the laptop to verify the serial number, then place an order, then do the repair yourself." This left a very bad taste in my mouth.

Additionally, and non-trivially, the laptop's battery life is not good, and it drains very quickly on suspend. I have taken to leaving it plugged in when not in use. This may be a Linux issue, but still.

I agree with you: the idea is a good one, but my experience with the company has been not good.

1 - https://guides.frame.work/Guide/RTC+Battery+Substitution+on+...

comment 1y ago · link · parent

On one level this is amusing. But what if both accounts are owned by the same person impersonating Neal Stephenson? My understanding was that he was not on any social media. Did that change at some point?

comment 1y ago · link · parent

It's kind of too bad XSLT didn't take off. It is quite complex, until you compare it to the complexity of what now solves this problem (e.g. a build step with React and webpack and javascript absolutely required on the client-side). As the OP ably demonstrates, XSLT provides a declarative, non-javascript, non-build way to solve the basic HTML component problem. Perhaps a devastating 0-day in V8 will make us really, really want an alternative to the current best practice.

comment 1y ago · link · parent

>reduced maintenance long-tail

I'd like to hear more about that. I'm also curious what makes Rust particularly suited to "API-first" backends. My understanding of the language is that it's concurrency primitives are excellent but difficult to learn and it's gc-less runtime.

1
789
22