Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lilyball
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
lilyball
2y ago
> There have been many times that Apple have been caught giving user data to governments at their request, lied about it, then later on admitted it once it had leaked from another source. In other words, Apple complies with legal gover
62.
▲
by
lilyball
2y ago
The stable interface to syscalls on Apple platforms is libSystem, which is a dynamic library. Compilers cannot inline syscalls on Apple platforms as that would defeat the whole point of making libSystem the stable ABI. In fact, compilers do
63.
▲
by
lilyball
2y ago
The whole point is the app is supposed to make zero syscalls directly, any syscalls that it makes are done by libSystem instead, and therefore the svc instruction should never occur in the app binary itself.
64.
▲
by
lilyball
2y ago
I'm kind of surprised Apple's App Store checks don't reject any app that makes direct syscalls. Syscalls on Apple platforms are not a stable ABI, so all syscalls must go through libSystem, which means any app that makes a sys
65.
▲
by
lilyball
2y ago
I'm really curious about the "com.apple.tw.twrr" notification. Why does it start with com.apple? The app in question here (which looks like it's called Top Widgets) is not an Apple app.
66.
▲
by
lilyball
2y ago
I read your other comment. It looks like you're talking about iCloud Storage there. Books downloaded from the Apple Books Store do not go into iCloud Storage. Books you've uploaded are stored in iCloud. I just checked my phone,
67.
▲
by
lilyball
2y ago
> Have you used Books extensively or just skimmed it? There's no way to keep books on device, make another Google search if you do not believe me. Once you download a book to a device, it stays downloaded. There is a setting to au
68.
▲
by
lilyball
2y ago
I can't say I've ever received an event invitation via iCalendar. Getting an .ics download for an event to put it on my calendar, sure, but that's not an invite, it's just a read-only event.
69.
▲
by
lilyball
2y ago
Oops, I flipped the conversion here, that should have been `u32_to_usize()`.
70.
▲
by
lilyball
2y ago
What do you mean by "standard Rust data structures"? Like protobuf and other such formats, capnp uses code generation. The tooling for Rust is at https://github.com/capnproto/capnproto-rust and the generated
71.
▲
by
lilyball
2y ago
This is basically what Cap'n Proto does, and it uses offsets instead of pointers so that way the mmapped data can be used as-is.
72.
▲
by
lilyball
2y ago
What about just doing something like #[cfg(any(target_pointer_width = "32", target_pointer_width = "64"))] #[inline(always)] const fn usize_to_u32(x: usize) -> u32 { x as u32 } and this way you can
73.
▲
by
lilyball
2y ago
I did the same thing as a teenager, I taught myself to waggle each eyebrow independently, but I never learned to move my ears. I didn't realize that was even a learnable skill.
74.
▲
by
lilyball
2y ago
I have to ask: so what? Most of the stuff here is rather specific to the test suite conflicting with security or features and does not adversely users or developers who care about UNIX behavior (SIP is really the only thing that may get in
75.
▲
by
lilyball
2y ago
"move a branch" means changing the commit the branch points to. `git push . $sha:$branch` will update $branch to point to $sha (you'll probably want to force this, unless you're just fast-forwarding the branch).
76.
▲
by
lilyball
2y ago
The "move a branch" command is `git push .`. Yes, you can push to the current repo. I have a script called git-update-branch which just does some preflight checks and then runs `git push --no-verify . +$branch@{upstream}:$branch`
77.
▲
by
lilyball
2y ago
The reply is encrypted. Apple doesn't know what it says. Neither would the police.
78.
▲
by
lilyball
2y ago
The weak force is weak not because it has "short range" but because its range "dies off at distances ten million times smaller than an atom".
79.
▲
by
lilyball
2y ago
Besides the fact that stiffness shows up as a term in the equations, stiffness is a concept that can be demonstrated via analogy with a rubber sheet, and so lends itself to a somewhat more intuitive understanding. Also, the math section dem
80.
▲
by
lilyball
2y ago
I would probably still use buildFHSenv if I was trying to package up a third-party binary for installation in my configuration. My usage of nix-ld is actually to solve the problem of using VSCode Remote to connect to my NixOS machine, and i
81.
▲
by
lilyball
2y ago
I'm running NixOS on a raspberry pi and I deploy to it with deploy-rs¹. This works pretty well for me. My dev machine is an Apple Silicon laptop with nix-darwin installed and I use its nix.linux-builder module to run an aarch64-linux V
82.
▲
by
lilyball
2y ago
You can run generic Linux stuff if you install nix-ld¹, the only tricky bit is having to customize the set of libraries given to nix-ld for your use-case. It includes various common libraries by default, but depending on what you want to ru
83.
▲
by
lilyball
2y ago
> It seems very cool that you can roll back in the case of a catastrophic upgrade failure, but has that every happened to you? Not me. Rollbacks saved me from completely destroying my entire system. I managed to fill up my boot partiti
84.
▲
by
lilyball
2y ago
Xywav, with the 2-dose schedule. My impression based on how I feel waking up at various times in the morning is each dose produces effects that last somewhere around 3–5 hours. My understanding is most people taking this drug are falling as
85.
▲
by
lilyball
2y ago
> Worse still, as the attack exploits behavior at the system level during the conversion process, no standard library in any programming language can fully stop our attack! What happens if the standard library updates its shell escapin
86.
▲
by
lilyball
2y ago
That drug is not a drug designed to put you to sleep though (I mean it kinda does, but that's not its purpose). The purpose of that drug is to change your sleep architecture during the night. I'm on the newer form of that drug (be
87.
▲
by
lilyball
2y ago
It's not the job of a summary model to identify spam. The summary model runs after junk filtering, so everything that is given to the summary model is, by definition, already classified as "not spam". A summary model that dec
88.
▲
by
lilyball
2y ago
Yeah, to be honest, the only reason I wrote the comment was because my understanding is HN stories whose comments/points ratio is higher get downranked and I'm tired of seeing clickbait artificial outrage stories.
89.
▲
by
lilyball
2y ago
Presumably this is more relying on the prevalence of subdomains and for users to not notice that 17505-apple[.]com is not the same thing as 17505.apple[.]com
90.
▲
by
lilyball
2y ago
Nor should it. Scam identification is a feature of junk mail filtering, not of summarization. Any scam that's being summarized is one that has already made it past junk filtering.
More ›