HN user

Merad

2,734 karma
Posts1
Comments743
View on HN

It's some permutation of all the bits of available memory. It's in there somewhere.

True, but the number of possible permutations is so large it's incomprehensible. Let's limit ourselves to say a 50 MiB program, meaning the size of the compiled binary. If I'm remembering the math correctly, that amount of memory can hold 2^(2^20 * 50 * 8) different states. That's 2^419430400 or roughly 10^126000000. For comparison, the heat death of the universe is predicted to occur in about 10^100 years, or 10^107 seconds. You'd need to be able to look at more than a million programs per second to examine them all before the end of the universe.

The average car in the US is about 13 years old. Just like with phones, some people upgrade every few years even though it's a poor financial decision. Many frugal or less wealthy people only buy used cars and drive them until they die.

Serious electric aircraft are really gated behind major advancements in battery technology or some alternative power storage tech. The energy density of batteries is an order of magnitude less than fossil fuels, and you have to carry the heavy batteries with you the entire trip (vs burning off fuel as you fly).

Are you trying to split it with an axe? You need a sledgehammer and a few splitting wedges. The sledge lets you apply a lot more force than an axe and striking the wedge focuses that force onto a small area. The first wedge will open a crack, then you use additional wedges to expand that crack until she splits.

Source: grew up in a wood burning family, helped split many stubborn hardwood trees (all by hand).

I enforce CC on my projects because I don’t have the energy to police horrendous commit messages.

And does it actually accomplish that goal? I've been on several projects where someone pushed CC on the team with this reasoning. Every time my experience has been that you get the same crappy messages with a tag that may or may not be accurate.

BTW, AI absolutely knows how to bypass pre-commit hooks and will do so when they come up with some reasoning why their situation is an exception to the rule. I've watched them do it. The only way I've found to strictly enforce things on an agent (tests, linting, whatever) is to use a claude pre-command hook that will block git commit if the checks don't pass.

Some things seem harmless, i.e. drafting a will

Absolutely not harmless if you're the executor of an estate forced to deal with a screwed up AI will. I just handler my dad's estate this spring. It's a frustrating and confusing process even with the simplest of estates.

Basically all modern fighters since the 1980s are aerodynamically unstable and require a computer to fly. A collision like this is almost certainly going to do major damage to the airframe (screwing up its aerodynamics) and maybe flight controls as well. I suspect the plane will be well outside the parameters that the flight controls software can deal with, making stable flight impossible.

You aren't wrong, but the _overwhelming_ majority of "full stack" devs I've worked with only know CSS at the most basic level and have little interest in learning it in depth. I myself have been programming for more than 20 years, doing web dev for almost 15, and I can't find the motivation to learn it well. There are too many technical skills to keep up with and CSS is pretty low down on my priority list. I would prefer to rely on specialists who are experts but companies aren't willing to hire dedicated front end devs.

I've been in a similar situation as the GP. 15 years ago my first job after college was at a large Fortune 500 building LOB apps. The company was full of departments that were run entirely out of a massive Excel spreadsheet (hundreds of MB or more), or better yet a totally custom thing built on Access97 and VB made by a guy who retired 10 years ago. More than a few of the people in these departments had been in the same job for 20+ years and literally done the job the same way the whole time. Our mandate was not to modernize their business processes or make them friendly to automation, it was literally to indulge their stupid whims. But at least at the end they would be on an app where IT had access to the source code, could ensure databases were backed up, etc.

intelligent autocomplete

I'm curious how much value others are finding in this. Personally I turned it off about a year ago and went back to traditional (jetbrains) IDE autocomplete. In my experience the AI suggestions would predict exactly what I wanted < 1% of the time, were useful perhaps 10% of the time, and otherwise were simply wrong and annoying. Standard IDE features allowing me to quickly search and/or browse methods, variables, etc. are far more useful for translating my thoughts into code (i.e. minimizing typing).

Ti-84 Evo 3 months ago

I had a TI-83 in high school and upgraded to a TI-89 for college circa 2002. Used the heck out of those calculators because I did all the math and physics prerequisites for an engineering degree before switching to CS. It also helped me get a B in Linear Algebra thanks to holding a cheat sheet document for the final exam. I had no trouble with the likes of Calculus 3 and differential equations but for some reason the later material in linear algebra didn't click with me.

That's not quite accurate. They have 10 days to issue you a temporary credit if the investigation is going to take more than 10 days. They are willing to issue the credit immediately precisely because it's temporary. If the investigation resolves in your favor the credit becomes permanent and you never know the difference. If it takes more than 30 days - well, I worked with BofA about 15 years ago and saw more than a few customers who ended up with a giant mess because that temporary credit expired after 30 days resulting in a snowball effect of failed payments and NSF charges.

I've been using it for a few months because Copilot was the only AI blessed by our corporate overlords. It's not bad, I would say it's about 80% as capable as Claude Code, which I've used extensively on personal projects. However CC was recently approved, and I'm betting that with these changes to Copilot pricing we'll end up dropping it like a hot potato.

If you're suggesting that the US submarine should have rescued the survivors - with respect I think you don't understand how submarines work. They have no capability to perform rescue operations. They have no way to handle mass numbers of injuries, there's normally just one corpsman (basically a medic) on board. Even if they want to do a rescue operation they have no place to put them. Subs barely have room for their own crew; typically 2 or even 3 sailors share the same bed.

The situation with the ambulance service is obviously disgusting and immoral in a civilized society. But the article fails to address the elephant in the room - her chief complaint was severe pain in her knees due to RA. If she had been taken to the ER she almost certainly would've been given some short term pain meds and sent home unless she was showing some very obvious signs of cardiac issues. The system had already failed her because she really needed skilled nursing or assisted living help, being immobile due to chronic disease. It happens all the time. Several years ago my elderly father fractured an ankle - no surgery required, just a boot - and was sent home even though he was unable to stand or walk on his own. Fortunately he had savings and I was able to talk him into paying out of pocket for a stay in rehab (to the tune of about $18,000).

It's also likely that she ended up in this position because she couldn't afford proper treatment of her RA, resulting in it destroying her knees. I also have RA, diagnosed 3 years ago and my treatment costs $15,000 per month. Losing my job and/or having insurance that won't cover it is a terror that knaws at the back of my mind because without the treatment I'll start suffering debilitating symptoms in 3-6 months.

I've been working off and on on a vibe coded FP language and transpiler - mostly just to get more experience with Claude Code and see how it handles complex real world projects. I've settled on a very similar flow, though I use three documents: plan, context, task list. Multiple rounds of iteration when planning a feature. After completion, have a clean session do an audit to confirm that everything was implemented per the design. Then I have both Claude and CodeRabbit do code review passes before I finally do manual review. VERY heavy emphasis on tests, the project currently has 2x more test code than application code. So far it works surprisingly well. Example planning docs below -

https://github.com/mbcrawfo/vibefun/tree/main/.claude/archiv...

The RAV4 Prime is extremely hard to get if you live outside of SoCal and maybe a few other areas. I'm in the southeast and a few years ago the local dealer told me that this entire region is only allocated a few Prime's each quarter. Even today I've never seen one in the wild.

My dad died at the end of last year, and was not too different from your grandma. For him the main problem was chronic pain from his failing body. Even fairly powerful opioids from a pain management doctor only helped a bit. Basically all he could do was sleep, eat meals, and sit in his chair in pain.

I feel similar to you, but I wonder if it's one of those those things where age changes your perspective. Dad was in assisted living and had several stints in rehab/nursing home facilities, and in both there were quite a few people with what I'd call poor quality of life who were still holding on to life.

I've been using Claude Code with Opus 4.5 a lot the last several months and while it's amazingly capable it has a huge tendency to give up on tests. It will just decide that it can commit a failing test because "fixing it has been deferred" or "it's a pre-existing problem." It also knows that it can use `HUSKY=0 git commit ...` to bypass tests that are run in commit hooks. This is all with CLAUDE.md being very specific that every commit must have passing tests, lint, etc. I eventually had to add a Claude Code pre-command hook (which it can't bypass) to block it from running git commit if it isn't following the rules.

There probably isn't much structural damage to the plane aside from the scraping/grinding on the bottom. Don't misunderstand, that's going to be bad damage - we aren't just talking about scratched paint. But it looks like the pilot set it down soft as a feather, they're definitely a pro.

Planes are so expensive that it's worth putting a lot of money into saving them. A replacement airframe comparable to the B-57 would probably cost $10 million, then you'd probably spend that much again to customize it for NASA mission. Even if they need to spend a couple million dollars fixing the WB-57 it beats the alternative.

Edit: It occurs to me that rather than use a different plane they'd probably reactivate another B-57 from the boneyard - but B-57's have been retired for > 50 years to restoring one would still be a significant project.

Do you seriously believe that you should have the right to demand access to the private medical records of every teacher, soldier, judge, cop, etc. in the country because their pay comes from taxpayers? If yes I'm not quite sure how to respond, IMO that's an utterly absurd position. If no, why are astronauts being singled out for this treatment?

In the .Net space log4net is horrifically outdated and there's zero reason to use it today. Logging for modern .Net apps and libraries should be built on the Microsoft.Extensions.Logging abstractions which provide the type of features covered in TFA. They also provide a clear separation between generating log events in code and determining where & how logs are stored. For basic needs you can use simple log writers that tie in directly with MEL, or for advanced needs link MEL with Serilog so that you can use its sinks and log processing pipeline.

JSDoc is TypeScript 7 months ago

Can you perform type checking with JSDoc? As in, run type checks in CI/CD, commit hooks, etc?

I've been exploring getting some deeper experience with Claude Code (my org only allows Copilot) and exploring vibe coding by using CC to design a functional programming language that transpiles to JS and build out a full language specification and the tooling to go along with it. I haven't pushed anything to Github yet but it's been very educational, and also a little terrifying to see how easy it is now to produce tens of thousands of lines of code that you totally don't understand.

As a native speaker (American) the phrasing is classic condescending soulless corporate customer service speak. 1) You must always apologize, 2) you must never admit fault. "I'm sorry you feel this way about what we did" comes across _to me_ as "what we did was totally fine, it's too bad that you don't understand the wisdom of our actions." That kind of phrasing is also a bit of a trigger because the majority of the time you hear it from companies that don't give a damn how you feel and will fight to avoid doing anything to actually help you.

It's of course impossible to say if this was just an unfortunate choice of phrasing or if it's a sign that Mozilla has become that soulless corporate entity (I say this as a Firefox user for more than 20 years).