HNHacker News
TopNewBestAskShowJobs

jval43

1,911 karma · joined January 20, 2016

No AI used in my comments. Software engineer by day. I’m subscribed to hnreplies.com (no affiliation), so I’ll get an email if you reply to one of my comments.
submissionscomments
jval43··on Ti-84 Evo
I did, in Java 2ME for my Nokia. That was a completely different experience and much harder to get going. I did make a color 2D game though in about a week.

The TI-200 was much more accessible and fun, creating small little programs during or after class. Only once you wanted to go assembly did it become a chore again.

To summarize: not the same.

jval43··on The USB Situation
I love the Lightning connector, and think it feels better than USB-C. My Intel MPB has terrible USB-C ports where the cables just fall out all the time.

But to be fair I've also had many issues with Lightning. A few shorted out and became unusable and burnt on one side. And those were 100% original bought in the Apple store, as were the 5W chargers and iPhone this happened with.

Knockoffs were generally terrible and might stop working. A "genuine" cable bought from big retailer turned out to be a knockoff once after a software update, resulting in annoying popups from Apple. And some knockoffs were so bad they didn't stay in.

Even certified Mfi ones from Belkin somehow felt different, like the tolerances were slightly off. Those worked though.

Overall, I think it's had a good run and was underrated as a connector physically, but on the whole I like USB-C and it's more open ecosystem more.

jval43··on Game devs explain the tricks involved with letting you pause a game
Bungies Marathon series (1994) had the same recording system, as other commenters mentioned due to networking multiplayer.

What's totally insane is that the modern engine rewrite Aleph One can also play back such old recordings, for M2 Durandal (1995) and Infinity (1996) at least.

jval43··on "cat readme.txt" is not safe if you use iTerm2
More like the model knew of the previous, almost identical bug from 6 years ago. Whoever discovered that should be credited.
jval43··on YouTube users get option to set their Shorts time limit to zero minutes
My parents are retired. How exactly do they come into play?

I'm actively avoiding Shorts, Reels, and whatever else with those mechanics precisely because they pull you in and snap an hour is gone with nothing of value to show for it. It's so totally different from regular long form videos.

We regulate addictive substances too, even for adults and without relying on parents. The amount of productivity and quality of life lost to these platforms must be staggering in aggregation.

jval43··on Tell HN: Fiverr left customer files public and searchable
>they were just the cheapest labor the company could find who could do the thing.

Thats the problem right there. The company doesn't care. No amount of personal certifications is going to fix that.

It MUST be on the companies. They should be fined out of existence for such breaches and they would quickly change tune.

jval43··on Turning a MacBook into a touchscreen with $1 of hardware (2018)
I do this on my iPad with Magic keyboard and I'm a die hard command line user otherwise.

I think the reason I started doing it on the iPad is that the keyboard focus is sometimes inconsistent, so clicking or tab-tab-tab-enter is slower and less reliable vs. just touching the screen. Definitely feel the gorilla arm though.

jval43··on I Regret the Blood Pact I Have Made with iCloud Photos
Exporting originals just hangs for me. Opening or switching a photos library is basically hoping the Mac doesn't crash. Edits are locked inside the database, with no hope of ever getting them out. And god forbid you put the library on an external drive - never unplug it! It's a horrible piece of software.

I regularly back up my Photos library using rsync to prepare for the worst. From the files I see it looks like all the originals are there under /originals, albeit renamed to some UUID hash. However the EXIF data and contents seem to be intact. The number of files and their names are also stable. The database seems to be a basic sqlite DB.

I think it might make sense to extract the files directly that way, and try to see how the DB stores the original filenames. Might not be too hard. The edits though I think are applied "live" (at least for video) so it's probably impossible to get them out this way.

jval43··on New Apple Silicon M4 and M5 HiDPI Limitation on 4K External Displays
Not again! Had these issues with 2016 Macbook Pro (the touchbar one).

That one also wasn't a hardware limitation as it ran my displays just fine in bootcamp, but macOS would just produce fuzzy output all the way.

It's infuriating.

jval43··on Work_mem: It's a Trap
I agree. I've known how it works for years, and I think the current setting is a cop-out.

In TFA it's set to a measly 2MiB, yet tried to allocate 2TiB. Note that the PG default is double that, at 4MiB.

What the setting does is offload the responsibility of a "working" implementation onto you (or the DBA). If it were just using the 4MiB default as a hardcoded value, one could argue it's a bug and bikeshed forever on what a "good" value is. As there is no safe or good value, the approach would need to be reevaluated.

The core issue is that there is no overall memory management strategy in Postgres, just the implementation.

Which is fine for an initial version, just add a few settings for all the constants in the code and boom you have some knobs to turn. Unfortunately you can't set them correctly, it might still try to use an unbounded amount of memory.

While the documentation is very transparent about this, just from reading it you know they know it's a bad design or at least an unsolved design issue. It just describes the implementation accurately, yet offers nothing further in terms of actual useful guidance on what the value should be.

This is not a criticism of the docs btw, I love the technically accurate docs in Postgres. But it's not the only setting in Postgres which is basically just an exposed internal knob. Which I totally get as a software engineer.

However from a product point of view, internal knobs are rarely all that useful. At this point of maturity, Postgres should probably aim to do a bit better on this front.

jval43··on Why can't you tune your guitar? (2019)
Yes exactly. Although I didn't buy a new guitar, but a dozen tuners. It finally clicked when I got one that was "real time" enough to see how the tuning shifts from high to low. This was before smartphones could do it.

Doesn't help that most tuners are still dog slow, none of the beginners courses properly tell you how the guitar actually works, or what a "chord" really is. They're all just "play this and don't worry about it". To be fair it does get you going.

jval43··on LLM Writing Tropes.md
How can you turn it off without turning off history ("My Activity") altogether?

I noticed the "memory" too and it's turned Gemini into a useless syncophant for me, but so subtle that I almost didn't spot it.

jval43··on MacBook Neo
Using an M2 8GB Mac Mini, I only ever ran into problems when trying generative fill in Photoshop. There I get insufficient memory errors if the selection is too large.
jval43··on 10-202: Introduction to Modern AI (CMU)
Old too, and in my experience that was often slightly more work than fixing the bugs in my own implementation. I did swap out a borked module in the build an OS class once but otherwise used my own.

I loved those courses, great memories.

jval43··on Lessons you will learn living in a snowy place
Maybe California is a bad example. What I'm getting at is the selection for what you need is usually larger and more applicable to the conditions locally.

I see plenty of tourists with winter gear that is either insufficient, or completely over the top. Whereas if you buy locally you'd generally find the right stuff.

jval43··on Lessons you will learn living in a snowy place
Sounds very grim. I live in a snowy part of Europe and very little of this applies, except the stay dry and warm part. Here are 2 things I learned:

1. Do what everyone else does, when they do it. And don't, when they don't. You could die.

There is usually a reason even if you don't understand it right now. You don't want to find out why when you're out in the cold and freezing.

2. Buy gear locally.

There's sometimes reason a certain item is on the shelf and not the stylish one from California, or the super heavy-duty one from Norway. Unfortunately, often this is only obvious in hindsight. Does not depend on price, but it does apply across the board from clothing to cars.

jval43··on Waiting for Postgres 19: Better planner hints with path generation strategies [video]
I've actually come around to the Postgres way of thinking. We shouldn't want or need plan hints usually.

Literally every slow Postgres statement I worked on in the last few years was due to lack of accurate statistics, missing indexes, or just badly designed queries. Every one was fixable at the source, by actually fixing the core issue.

This was in stark contrast to the myriads of Oracle queries I also debugged. The larger older ones had accumulated a "crust" of plan hints over the years. Most not so well thought out and not valid anymore. In fact, often just removing all hints made the query faster rather than slower on newer Oracle versions.

It's so tempting to just want to add a plan hint to "fix" the suboptimal query plan. However, the Postgres query planner often has an actual reason for why it does what it does and overall I've found the decisions to be very consistent.

jval43··on English professors double down on requiring printed copies of readings
If I could go back in time and change what courses I took for my CS degree, it would be the exact opposite.

I wish I'd gone more into theoretical computer science, quantum computing, cryptography, and in general just hard math and proofs.

I took a few such courses and some things have genuinely been useful to know about at work but were also mind-expanding new concepts. I would never ever have picked up those on the job.

Not to say the practical stuff hasn't been useful too (it has) but I feel confident I could pick up a new language easily anytime. Not so sure about formal proofs.

jval43··on English professors double down on requiring printed copies of readings
I had to take some literature classes in high school, and had a truly exceptional teacher who facilitated great and interesting discussions. Really opened up my mind and I only later realized how lucky I was.

Those summaries always existed, in the past you could buy them as little books for most of the classic literature we read. Thing is they were always the same trite points even back then.

Our teacher would see right through any BS, but never call it out directly. Instead there would be 1 precise and nicely asked follow-on question or even just asking their opinion on a talking point. Not details, but a regular discussion question.

If someone hadn't read the book they'd stutter and grasp at straws at that point and everyone knew they hadn't actually read it.

On the other hand if you had read the book the answer was usually pretty easy, and often not what the common summaries contained as talking points.

So cheating not only didn't work, the few regular cheaters we had in our class (everybody knew who those were) actually suffered badly.

Only in hindsight did I realize that this is not the normal experience. Most other literature classes in fact do just focus on or repeat the same trite points, is what I've heard from many others.

It takes a great teacher to make cheating not "work" while making the class easy, intellectually stimulating and refreshing at the same time.

jval43··on Apple introduces new AirTag with longer range and improved findability
If the iPhone wouldn't wobble so much and so loudly when putting it on a table I'd go caseless too. Hoping for the fold to improve on that aspect.
jval43··on Apple introduces new AirTag with longer range and improved findability
Yes, these are the best of the bunch. Sturdy too, have had one on my keychain for years now.
jval43··on Ask HN: Gmail spam filtering suddenly marking everything as spam?
>Never mark as spam

has never worked consistently. For literally 10+ years now, I've always had a few emails per day go into spam even though that rule is in place.

jval43··on Dell UltraSharp 52 Thunderbolt Hub Monitor
My 49 inch Dell ultrawide is failing too. One USB port is already dead, and the other ports have just now started to develop intermittent issues as well.
jval43··on It's hard to justify Tahoe icons
This is what happens when the people issuing the orders (assign an icon for every task) are not the ones doing the task.

And the ones doing it have no say in how it's done.

Being involved and in the loop is how great software is made. Otherwise you can just outsource and have tickets completed.

jval43··on AI Slop Report: The Global Rise of Low-Quality AI Videos
Not only that but also the same short videos keep repeating. I have tons of great suggestions from Youtube on the main feed from creators I like, yet the Shorts feed is almost 90% garbage and AI slop.

It's deliberate, I'm sure. People say they want the vegetables, but then go on to watch hours of fast food / Shorts. Clearly the algorithm knows.

jval43··on Log level 'error' should mean that something needs to be fixed
Not the language, but the linter can do it. IntelliJ inspections warn you if you do it: https://www.jetbrains.com/help/inspectopedia/StringConcatena...
jval43··on Mozilla's New CEO Confirms Firefox Will Become an "AI Browser"
I'm still here. But it hurts to see Mozilla shoot themselves in the foot again and again. They just don't get it, and they won't survive.

I was even a Pocket user when they acquired it, immediately stopped using it at that point because it was clear as day how stupid that integration was.

It's death by a thousand cuts, all to get some "other users" while alienating all the existing ones.

I'm even for all the AI features, but please let me add my own self-hosted LLM. Currently you can only set one via about:config, and as soon as you use any other LLM, the settings are lost. If I wanted everything locked down I could just use Chrome instead.

jval43··on JetBrains cancels Fleet
It's crazy that I'm paying for IntellJ yet can't hook up my own LLM to it. Jetbrains wants to be some middleman instead of letting me use my tools. I won't and I can't use your hosted LLMs, period.
jval43··on Apple has locked my Apple ID, and I have no recourse. A plea for help
The Photos library "file" is just a big folder, I just sync the whole thing.

#!/bin/sh rsync --iconv=utf-8-mac,utf-8 -avh --delete-after --partial --progress /Volumes/myExternalDrive/Photos\ Library.photoslibrary myuser@mylinuxmachine.local:"/srv/myExternalDriveBackup/"

(note: tested with brew rsync, IIRC the default rsync is outdated on macOS)

Somewhere in the directory structure is a folder /originals/ which has all the actual files.

Note that this is only a last resort backup. Restoring the library as a whole requires a Mac with a compatible OS version. Restoring without a Mac would only get you the originals, so only the out-of-camera files (jpg, heic, raw), with no edits or metadata changes from Apple Photos applied (Apple Photos doesn't touch the EXIF data). You'd probably also lose the video part of all live photos, as the live video files stored as separate files and not part of the .heic files. They're there, but not very usable.

An alternative to this workflow is to export all photos (with edits applied) from the Photos app, but honestly I'm not sure if that even works and how long it would take for multi-TB libraries.

jval43··on Apple has locked my Apple ID, and I have no recourse. A plea for help
I run a separate Mac Mini that has the full iCloud Photos library on a massive external drive, set to "Download originals". I then rsync that filesystem to a separate Linux box. This works but you must not ever disconnect the external drive.

I don't have a solution for iCloud Drive, as there wasn't a keep offline setting last time I checked. So use it only ephemerally.

← PreviousPage 2 of 6Next →