HNHacker News
TopNewBestAskShowJobs

fingerlocks

1,540 karma · joined September 9, 2017

submissionscomments
fingerlocks··on Expanding Swift's IDE Support
Yes, But an iOS app requires a helluva lot more than just the Swift language. For example, Metal has zero support so you have to use ft=cpp and disable lsp diagnostics. And you can completely forget Xcode’s wonderful Metal debugger entirely.

Otherwise swift works just like any other clang/llvm project and the tooling is basically the same.

fingerlocks··on "The new Copilot app for Windows 11 is really just Microsoft Edge"
The hilarious side effect of this is that Intune/Defender on MacOS flags the multiple copies of edge for non-compliance. Maybe this is just something that happens to MSFT employees, not sure, but I’ve had to waste many hours filing for false positive exceptions because not a single Microsoft product can figure how to use a Mach-o shared dylib path
fingerlocks··on A macOS bug that causes TCP networking to stop working after 49.7 days
Are you sure?

tcp_now’s maximum cannot physically reach 2^32 because the trailing zeros of that number exceeds the bit width of data type.

Therefore, tcp_now + 30000 will wrap when tcp_now is equal to 2^32 - 3000. Your inequality sign should be strict <, otherwise the result does not follow.

fingerlocks··on A macOS bug that causes TCP networking to stop working after 49.7 days
GP said that suspending without rebooting prevents the issue.

My uptime resets only when forced by an OS upgrade and I have never experienced this issue. This is consistent with the sleep-heals-the-stack theory.

fingerlocks··on Neovim 0.12.0
I recently switched to LazyVim and the default config in their tutorial included all the “extras”. It transformed vim into some kind of hallucinogenic kaleidoscope of an IDE with all sorts of telescoping overlays and pop-ups with a color scheme that fits well with an 8 year old girl’s princess themed birthday party. I actually screamed a little.

Not sensible. completely insane.

fingerlocks··on Make macOS consistently bad unironically
I asked this same question years ago in one of those threads that was all windows people complaining about cmd+tab. No responses.

That means there are exactly two of us.

fingerlocks··on Swift 6.3
Only integers for #defines in C-headers, enabled with a recent-ish compiler flag. Swift has a #define but it’s just an ifdef list of flags assigned to one compiler setting.

But you can bridge build setting variables using some clever xcconfig macros that combine both preprocessor systems.

fingerlocks··on Swift 6.3
I agree with you about result builders, silly feature that only exists for SwiftUI.

But a lot of what you said, except for the concurrency and property wrapper stuff, largely exists for Obj-C interop. The generated interface is more readable, and swift structs act like const C structs. It’s nice.

fingerlocks··on Meta and YouTube found negligent in landmark social media addiction case
You’re being downvoted, but there’s an interesting point you’re trying to make. Dopamine-chasing is truly selective in the behavior and chemical sense.

There is a particular hard drug that I could be easily addicted to if it were cheaper and more accessible. Nothing else like it gives me irresistible craving for more. Not nicotine, ADHD meds or speed, benzos, and not even opioids have the same effect. So after I discovered this about myself, I went on a little journey to self test myself other possible addictions.

Social media? Nope. Video games and tv? yes. Gambling, hoarding, shopping: No. Sex: yes. Exercise: yes

I can’t rationalize any of it.

fingerlocks··on MAUI Is Coming to Linux
How are any of these divergent between MacOs and iOS? You still link against the same framework, and the code is nearly identical between the two except for occasional differences in the hardware limitations.

Go look at any of Apple’s sample code. Outside of UIKit/Appkit, most of their samples target both platforms simultaneously

fingerlocks··on MAUI Is Coming to Linux
Let’s have that discussion. I’m all ears. Can you name any other pair of frameworks that provide identical functionality, but they are divergent such that each framework is mutually exclusive to its target platform?

And no just because the compass is #ifdef’d out when CoreLocation is compiled for MacOs does not count as “divergent”

fingerlocks··on MAUI Is Coming to Linux
> By the way on macOS MAUI uses Catalyst as backend, not native macOS APIs.

What does this mean? Mac Catalyst is native. It’s just a thin bridge between iPhone’s UIKit and AppKit on MacOS, which are really the only two divergent frameworks in the entirety of the massive Apple SDK.

fingerlocks··on Java 26 is here
Rust with traits and Swift with protocols
fingerlocks··on Glassworm is back: A new wave of invisible Unicode attacks hits repositories
>Though we're also talking about an organization that couldn't merge a PR for a year that fixed a one liner. A mistake that should never have gotten through review. Seriously, who uses a while loop counter checking for equality?!? I'm still convinced they left the "bug" because it made them money

What is this in reference to? I tried to search for it but only found this comment. “Github while loop fix that was in review for a year”?

fingerlocks··on Put the zip code first
Source? The numbers correspond to the USPS distribution centers and carrier routes. If the numbers are changing that would imply an increase in zip code subdivisions, making each zip code a better address predictor for a given individual.
fingerlocks··on Put the zip code first
If asking for the zip first was more common then we quickly learn those four extra digits because the auto fill benefits would be immediately obvious
fingerlocks··on Don't become an engineering manager
I'm guessing the terminal role is the 64 Senior? That's nearly everyone on my team. Someone has to retire or die to get a shot at Principal.
fingerlocks··on Closing this as we are no longer pursuing Swift adoption
They aren't supposed to be used simultaneously, which is literally what my comment was explaining. Different guidelines to solve different problems.
fingerlocks··on Closing this as we are no longer pursuing Swift adoption
No, I’m not. OP is conflating multiple guidelines for different purposes and attempting to use them all simultaneously.
fingerlocks··on Closing this as we are no longer pursuing Swift adoption
Nowhere does it say structs provide “one source of truth”. It says the opposite actually- that classes are to be used when unique instances are required. All classes have a unique ID, which is simply it’s virtual memory address. Structs by contrast get memcpy’d left and right and have no uniqueness.

You can also look at the source code for the language if any it’s confusing. It’s very readable.

fingerlocks··on GPTZero finds 100 new hallucinations in NeurIPS 2025 accepted papers
I find that hard to believe. Every creative professional that I know shares this sentiment. That’s several graphic designers at big tech companies, one person in print media, and one visual effects artist in the film industry. And once you include many of their professional colleagues that becomes a decent sample size.
fingerlocks··on Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales
If you mean true 4x4, there are none. Sprinter went AWD a few years ago.

But I believe most vans on the market have an AWD option. Ford Transit and Volkswagen IDBuzz both offer AWD. Toyota’s Sienna is (only?) AWD with a silly lifted trim for the off-roading soccer mom market. Chrysler’s van is AWD.

That leaves the ProMaster as the only two wheeler I’m certain about. Mazda and Kia also have vans, unsure about their drivetrain options. Did I leave anyone out?

fingerlocks··on Expired certificate breaks macOS Logitech apps
Yeah, it’s used for dog fooding or private distribution. It’s also used on iOS side-loading and test flight builds.
fingerlocks··on Expired certificate breaks macOS Logitech apps
So what happens when I codesign with the the --expires flag?
fingerlocks··on Expired certificate breaks macOS Logitech apps
OP said something confusing about the Go compiler, so I was only added clarification for that one statement.

You walked by half listening to a conversation, stuck your head in the room and said something tangentially related but more confusing.

There are distribution and development certificates that can all be used for signing a binary. Different rules for each, and there's also auto-signed (com.apple.provenance). It's all documented on Apple's website if you want to read more about it. But I suspect you already know this and are just trying to pick a fight.

fingerlocks··on Expired certificate breaks macOS Logitech apps
This only applies to distribution certificate signed apps, not true in the general sense.
fingerlocks··on Expired certificate breaks macOS Logitech apps
No, sorry. That's not what I'm saying.

If you compile hello-world.c into a binary then it will have a placeholder (ad-hoc) signature that was signed by an "empty" key that can never expire. The Go compiler isn't doing anything special. By default all binaries are signed this way unless they were compiled with the explicit intention of App Store distribution.

And the above does not apply to .app bundles.

fingerlocks··on Expired certificate breaks macOS Logitech apps
This is only applies to App Store published .app bundles. Does not apply to binaries you compile yourself or non-app binaries like cli tools
fingerlocks··on Why is the Gmail app 700 MB?
If you’re including these assets as UI elements, they would be rasterized anyway and copied to a GPU bound buffer for the frame blit. Doing so at compile time increases runtime performance.

You can of course override this behavior and redraw your vector every 8.3 ms if you want, but I promise you that this is not faster. For sparse pyramid-tiled vector images like Google/Apple maps, this is a two step process using the latter method followed by the former.

fingerlocks··on All of Apple's services are abysmal
> Want to delete a song?

Swipe left on the song to reveal the delete button.

> Want to scroll to the middle of a song?

Does dragging the scrubber not work for you? Can also be dragged in the control center.

← PreviousPage 3 of 29Next →