HNHacker News
TopNewBestAskShowJobs

sam_goody

2,774 karma · joined April 21, 2015

submissionscomments
sam_goody··on Autism should not be treated as a single condition
Humans range across such spectrum that actually match all 3.

We range from being blind to having exceptional eyesight, so we are all on a continuum.

But there are various subsets, such as color or light sensitivity, far/nearsighted, better tracking of motion or text - and these have their own subsets, such as the ability to scan text quickly (or dyslexia), read a room better or see things that require training (such as the details a race driver immediately sees that you wouldn't). Someone with an issue of vision usually finds himself in a cross of these sets, borrowing tools form one to compensate for another

The same can be said for hearing, for height and weight, and for any other physical, psychological or mental property we have.

(I've always felt it odd that "spectrum" usually refers only to Autism.)

sam_goody··on New Glenn Update
I split my time between Europe and the US, and I am totally not convinced that metric is better.

Some things are ridiculously better in the imperial system - like temperature: In Fahrenheit, 0 is roughly the coldest mean day in densely inhabited areas, and 100 is the hottest. In Metric, 0 is the freezing point of water at sea level in ambient temperatures and with a low barometer reading, 100 is boiling in the same conditions.

Since I measure weather much more frequently than I measure water temps, I am driven cukoo by the silly Centigrade system.

Also, The splitting into 12 used by the foot is more useful, in my experience, than the ten of the metric. In fact, I strongly decry that we teach our kids to use base 10 instead of the much more efficient and easier to divde into fractions of base 12. (You can teach kids to count joints on thier fingers [using the thumb as a pointer] to get to 12x12 on two hands, and give the kids a headstart on fractions, multiplication and division, but I digress..)

On the other hand, having both an Imperial Gallon and a US Gallon, etc, where the same word is used for different amounts, now THAT is insane.

sam_goody··on PHP 8.5 Released
I still view PHP as the best tool for the job for modern sites that do not need fancy javascript.

Faster and more secure than Python, impossibly easier to use for web than Go, Perl or Rust [even among those that know how], much more secure, easier to compartmentalize, faster and more reliable than JS (node et al).

It is just so easy and straightforward to get useful stuff done, and done quite well.

Especially as a lot of the stuff we used to need JS for can now be shifted into CSS (for better or worse).

But the marketing around PHP stinks, and it's hard for me to find young excited programmers to join the team.

Not sure what needs to be done to turn this ship around.

sam_goody··on How the US is preparing a Caribbean staging ground near Venezuela
1. Deaths by overdose, especially of Fentanyl is through the roof (it has surpassed road accidents, heart attacks, etc.)

2. We have got to do something

3. This is something

4. The president has something to offer as a solution. For everything. (It is unusual to have a president who is so willing to try to solve everything.)

5. No one commenting in the news has enough info of the plan (or of the future) to offer a useful appraisal of this particular something.

Whether or not this something is actually a useful and good thing [and whether or not it will lead to other good things, and if those other things will be good...] will definitely be biased by your view of the administration, your policy towards war, and you risk tolerance.

As someone who has lost family members to Fentanyl, I at least recognize my bias :/

sam_goody··on Database backups, dump files and restic
1. There are tools designed specifically for backing up database data, such as percona-xtrabackup for MySql and PgBackRest for Postgres.

2. If you use mysqldump, it may make sense to export the data as CSV, and backup the db structure and data separately.

CSV is obviously less compact than binary export, but on the other hand is only the data, and triangulating between the old and new CSV data is obviously much simpler - and is human readable/diffable if that is important to you.

To the point where I had a script running export/commit-to-git/push daily as a secondary db backup, and found it to be quite efficient and useful.

Of course, that can be combined with restic, but worth knowing.

sam_goody··on 1X Neo – Home Robot - Pre Order
Kohler once made a gold plated toilet seat as a display item for their show rooms.

The Kohler rep near me was pretty surprised when someone walked in and offered ridiculous cash for the seat on display. The buyer explained... "There is no way I can impress my guests more than having them realize that even the toilet seat is gold plated." Kohler wound up selling the whole run.

Nothing, perhaps, less than a Humanoid robot that is almost as good as Roomba.

People will pay a crazy amount of money to show off.

sam_goody··on Our LLM-controlled office robot can't pass butter
The error messages were truly epic, got quite a chuckle.

But boy am I glad that this is just in the play stage.

If someone was in a self driving car that had 19% battery left and it started making comments like those, they would definitely not be amused.

sam_goody··on America’s semiconductor boom [video]
Phoenix is the fifth largest city in the United States. It is also one of the major hubs of the west, being in a good location (midway north), having good weather for planes, and having America West headquartered there.

I would think there should be plenty of traffic going through there to Taiwan, similar to the amount going through a hub such as Chicago or NY.

sam_goody··on Cloudflare Email Service: private beta
As a website owner who uses Cloudflare after having being DDOS'd, I agree whole heartedly.

Cloudflare succeeded to do what Google tried and failed with AMP, and we are all the worse off for it. [Though at least it is not Google, that would be worse.]

I cannot afford to be DDOS'ed and there are bad actors that have already proven that they _will_ take me down if they could. So, I feel bad for the internet being walled up, and I feel bad for users that will lose access. And I fret that one day CF may just decide to take all my content and use it somehow to shut me down.

Meanwhile though, I hold my nose, cry inwardly, and continue to use Cloudflare.

sam_goody··on [dead]
We can always count on the Guardian to give a fact-free anger-inducing skewed story based on its Anti-Israel worldview.

In fact, that's why I bother reading the Guardian.

But what is it doing on HN?

sam_goody··on Behind the scenes of Bun Install
I have been using pnpm as my daily driver for several years, and am still waiting for npm to add a symlink option. (Bun does support symlinks).

In the interim, I am very glad we haven't waited.

Also, we switched to Postgres early, when my friends were telling me that eventually MySQL will catch up. Which in many ways, they did, but I still appreciate that we moved.

I can think of other choices we made - we try to assess the options and choose the best tool for the job, even if it is young.

Sometimes it pays off in spades. Sometimes it causes double the work and five times the headache.

sam_goody··on Behind the scenes of Bun Install
Tailwind uses it.

Considering how many people rely on a tailwind watcher to be running on all of their CSS updates, you may find that bun is used daily by millions.

We use Bun for one of our servers. We are small, but we are not goofing around. I would not recommend them yet for anything but where they have a clear advantage - but there are areas where it is noticeably faster or easier to setup.

sam_goody··on I visited the happiest country. I wish I could unlearn its secret
In the news, everything is polarized and negative.

On the streets, in my anecdotal experience of 1, everyone is happy, friendly, and things are good. There is disagreement but tolerance about politics, and in most cases a assumption of "not bad" faith.

My high school principal once told me - you cannot be happy, nor by extension do anything productive, within 1 hour of reading the news.

I don't own a smartphone, and I suspect that has to do with my narrow experience. But, I really wonder how much the various media outlets are negatively shaping reality.

sam_goody··on Open hardware desktop 3D printing is dead?
The real issue is that we allow patents at all.

Given the lopsided cost that courts bring to the table, patents only help the big players- since only they canafford to play.

I invented something I ttruly think could change the world. Went to a patent attorney. He said basically - create a patent, wait till someone unsuspectingly builds a product with the same basic idea, and then sue the pans off them. If you try to develop it yourself, the patent will not help - the chinese will copy it and laugh, and the americans will copy it, modify it, and then sue you because they can push more patents than you can defend yourself against. In the best case, they may offer to settle for a small fee if you give them all your IP for free...

I have yet to see anything good from patents, but over the years I have seen just how much they prevent anything new from coming to the world.

sam_goody··on PHP: The Toyota Corolla of programming
In my anectodotal experience, PHP is much, much more performant, even before I moved to Frankenphp - which is so much better than Express, it isn't even a joke.

And PHP is much easier to read and handle when the project gets larger. And more secure, as you aren't forced to rely on all these NPM packages (we use Composer, but nothing like the way we used NPM. PHP really comes with almost anything you need built in - and even if you use Laravel its still not a pyramid).

I have read through all the comments, and I really don't get it - I use Node and PHP a lot, and quite a bit of Python. Not to much experience with Go or Rust, but some with Java.

IMO, There is nothing that competes with PHP in speed, security (for web stuff at least), or ease of writing for the web.

sam_goody··on Swarm robotics could spell the end of the assembly line
TLDR: Instead of an assembly line where items are constructed piece by piece, robotics could work together ["swarm robots"] simultaneously to build the product in one go, faster and and better. AI will make this much more practical.

There may be truth to the above, but it's not binary. No doubt AI is already being used to speed up some production line, somewhere - and as AI improves, each machine may be able to do more. But having 100 hands working together doesn't necessarily mean you have a better final product.

sam_goody··on Claude Code weekly rate limits
Anthropic has plans such as $150/user and $150/5-users-but-less-hours-per-user. I could not work out what 2 users or heavy-usage-5-users are intended to do.

There are people that will always try to steal, but there may also be those that just don't understand their pricing.

Also some people keep going forever in the same session, causing it to max out - since the whole history is sent in every request. Some prompting about things like that (your thread has gotten long..) would probably save quite a bit of usage and prevent innocent users from getting locked out for a week.

sam_goody··on The future is not self-hosted
Th solution would be services that use encrypted S3 as a backend.

If services like immich, nextcloud, etc. were designed to have the bulk of the files on a 3rd party S3 compatible encrypted server (eg - only thumbnails and pointers to the encrypted database on the local server), then it would be much more practical to be able to use the big companies for private, safe, metered usage.

I envision the following: Some company offers a phone app which with one click will install your own "self-hosted" Immich or whatever. Immich (in this future version) relies on encrypted S3 files for hosting, and in the contract it says the host will not steal your encryption keys. Since this gives MUCH more control to the user, this service become popular and the hosting company grows (like. Whatsapp hockey stick growth). Soon, other hosting companies offering competing apps. (Hopefully, these apps continue to be developed, and agree on some interoperable standards between them.) Since the data storage is all on S3 you can easilly move from service to service or from S3 host to S3 host.

There is nothing conceptually difficult about such a future, and it would be worlds better than what we have now.

sam_goody··on Jujutsu for busy devs
JJ needs a GUI.

I tried twice to switch for a project, both times came back to git. But then, I am still not fully grokking the "why bother", and suspect that if I had a UI it would be both less friction, and more understanding.

sam_goody··on Tell me again about neurons now
Yes, but only after this post in science and on HN. As has been mentioned above, one of the links it offers is this very post.

So, AI will look online and synthesize the latest relevant blog posts. In Gemini's case, it will use trends to figure out what you are probably asking. And since this post caught traction, suddenly the long tail of related links are gaining traction as well.

But had Derek asked the question before writing the article, his links would not have matched. And his point that it isn't the AI that figured out that something has changed, remains relevant.

OT, I really enjoy his posts. As AI takes over, will we even read blog posts [enough for authors like him to keep writing], or just get the AI cliff notes - until there is no one writing novel stuff?

sam_goody··on Ukrainian hackers destroyed the IT infrastructure of Russian drone manufacturer
There was an interview with some U.S. army rep. that was pretty famous a few years back. He said that even if hackers broke in to the U.S. systems they wouldn't achieve anything due to how old, convoluted and buggy the systems were - even we who have full access can barely get anything to work!!

Of course, that was said purposefully, and may not reflect the truth at all.

But still, the thought that that is security for some (and I am sure it is for someone, somewhere) is kind of an extension of security by obscurity that is scary.

sam_goody··on Mysterious life form found on ship that docked in Cleveland
I assume that they have naming rights. ShipGoo001 is somewhat playful, but even better would be something like "ICan'tBelieveIt'sNotTar!",

[and once I am daydreaming, Let's have the leading I as a roman numeral - CIIXVICan'tBelieve...]

And, preemptively: 1. People have started "not-a-fork"ing git repos, a la LumoSQL. 2. Fedora purposely uses special characters in their release names.

sam_goody··on Retailer Temu's daily US users halve following end of 'de minimis' loophole
The only time I purchased on Temu, there were unauthorized purchases on my card shortly after (and cancelling and reissuing my card cost both in cash and aggravation).

I mentioned it to a friend, who complained about the same thing happening, and said there are many such stories online.

I am fully aware that it could entirely be a coincidence. I am aware that there may be confirmation bias for the friend, though in my case I made the observation without having heard anything prior. But I am also conscious that it may by Temu has a source of income that is not dependent upon people actually making purchases.

sam_goody··on Jjui – A Nice TUI for Jujutsu
No really related, but I'm surprised that jj has no good GUI.

With so much VC money chasing so many established niches (eg bun -> node), and so much potential growth for jj - especially considering it has so much dev interest, and has the advantage of not requiring lock-in [a jj repo can be converted to a regular git repo].

sam_goody··on VMware perpetual license holders receive cease-and-desist letters from Broadcom
Didn't VMWare make their products free?

I am not trying to be difficult - I know that I can now download VMware for both Windows and Mac, and two years ago I could not. And yet the article refers to ridiculous licensing fees and licenses.

Who needs to license, are there multiple products with the same name, and what "audit rights" are given to someone who installs the VMWare Pro player on their laptop?

sam_goody··on A.I. Is Getting More Powerful, but Its Hallucinations Are Getting Worse
I for one am all for a world where the AI is very dry and factual (the temperature is 0).

For coding, I would rather it stop talking and just give code, and the more accurate the better.

And that is a real use, not just tea leaves.

sam_goody··on Deno's Decline
ValKey and Redis, MariaDB and MySQL, Freenginx and Nginx etc.

It is very hard to take the crown from a well used platform, and the originals generally manage to maintain at least parity, but the forks tend to shoulder along for a really long time, and sometimes they win.

sam_goody··on Wyze pays $255k of tariffs on $167k of floodlights
I have seen this comment a lot and don't understand it.

From the U.S.'s point of view there are two goals: increase manufacturing in the States, and reduce manufacturing in China.

Even if they don't choose the States, and even if things aren't near-shored, it is still a pretty big win for the administration, no?

sam_goody··on Retailers will soon have only about 7 weeks of full inventories left
I didn't say he is rational or even comprehensible - I said that he believes everyone is out to get him, and that explains the rushing way he acts.
sam_goody··on Retailers will soon have only about 7 weeks of full inventories left
I know nothing of economics, and am not trying to defend Trump's moves.

But, it is possible that his policy of "do everything at once, without taking the time to do it right" is more reflective of his belief that whatever he tries [even just being president] will be fought, so his options [from his POV] are "do it now" or "don't do it at all", not "do it right".

EDIT: Am willing to be learn, would the downvoters explain - do you disagree that this is his view? Or does his understanding not matter when he acts upon it?

← PreviousPage 2 of 27Next →