Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fingerlocks
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
fingerlocks
6mo ago
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 xccon
62.
▲
by
fingerlocks
7mo ago
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 readab
63.
▲
by
fingerlocks
7mo ago
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 an
64.
▲
by
fingerlocks
7mo ago
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 sampl
65.
▲
by
fingerlocks
7mo ago
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
66.
▲
by
fingerlocks
7mo ago
> 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 framewor
67.
▲
by
fingerlocks
7mo ago
Rust with traits and Swift with protocols
68.
▲
by
fingerlocks
7mo ago
>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
69.
▲
by
fingerlocks
7mo ago
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.
70.
▲
by
fingerlocks
7mo ago
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
71.
▲
by
fingerlocks
7mo ago
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.
72.
▲
by
fingerlocks
8mo ago
They aren't supposed to be used simultaneously, which is literally what my comment was explaining. Different guidelines to solve different problems.
73.
▲
by
fingerlocks
8mo ago
No, I’m not. OP is conflating multiple guidelines for different purposes and attempting to use them all simultaneously.
74.
▲
by
fingerlocks
8mo ago
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
75.
▲
by
fingerlocks
9mo ago
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
76.
▲
by
fingerlocks
9mo ago
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 fo
77.
▲
by
fingerlocks
9mo ago
Yeah, it’s used for dog fooding or private distribution. It’s also used on iOS side-loading and test flight builds.
78.
▲
by
fingerlocks
9mo ago
So what happens when I codesign with the the --expires flag?
79.
▲
by
fingerlocks
9mo ago
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 conf
80.
▲
by
fingerlocks
9mo ago
This only applies to distribution certificate signed apps, not true in the general sense.
81.
▲
by
fingerlocks
9mo ago
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 do
82.
▲
by
fingerlocks
9mo ago
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
83.
▲
by
fingerlocks
9mo ago
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 redra
84.
▲
by
fingerlocks
9mo ago
> 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.
85.
▲
by
fingerlocks
9mo ago
This is not true company wide. I’ve personally been reprimanded for low GitHub copilot usage by my orgs leadership, not HR.
86.
▲
by
fingerlocks
9mo ago
Would love to know what happens in perf review for MSFT employees that flip this switch.
87.
▲
by
fingerlocks
9mo ago
Probably using the compiler flags directly? I’ve never heard of a Bazel dependency in Swift, and precompiled c++ was a huge pain in SwiftPM a year ago. I work on ObjC++/Swift/Metal as my day job and just use a Makefile because it’
88.
▲
by
fingerlocks
9mo ago
Heavy metals are a big problem, especially from cheap brass fittings common in outdoor water hoses. Indoor plumbing, by contrast, uses copper and/or plex tubing and so there’s near zero risk of metal poisoning (caveat on cheap plex fi
89.
▲
by
fingerlocks
10mo ago
Disagree. This is the default in Objective-C & Swift, and it’s great. You have to explicitly annotate when discards are allowed. It’s probably my all time favorite compiler warning in terms of accidental-bugs-caught-early, because askin
90.
▲
by
fingerlocks
10mo ago
Try to use an LLM to a solve a novel problem or within a domain that can’t easily be googled. It will just spew over-confident sycophantic vomit. There is no attempt to reason. It’s all worthless nonsense. It’s a fancy regurgitation machine
More ›