Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
valleyer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
421.
▲
by
valleyer
5y ago
It exists on BSDs as well. (No idea who did it first.)
422.
▲
by
valleyer
5y ago
You're sort of describing NSSecureCoding. Unfortunately, it's not used everywhere, and (because Cocoa relies heavily on internal class clusters) it still allows subclasses of the specified class.
423.
▲
by
valleyer
5y ago
It's striking how often these PZ iOS exploits at some point come around to too-polymorphic use of object unarchiving. Other examples: https://googleprojectzero.blogspot.com/2020/01/remote-iphone... https:&#
424.
▲
Update on “Reader” App Distribution
(developer.apple.com)
3 points
by
valleyer
5y ago
|
0 comments
425.
▲
by
valleyer
5y ago
Am I misunderstanding? UTF-16 can represent all Unicode characters, not just the BMP.
426.
▲
by
valleyer
5y ago
A generic type would be useful then: type DurationSeconds<Value> where Value: Numeric { ... } DurationSeconds<UInt32> DurationSeconds<Float64>
427.
▲
by
valleyer
5y ago
Your argument reads like: you shouldn't need to run Rust programs unless _the entire operating system_ is first rewritten in Rust. I doubt you really mean that, though...
428.
▲
by
valleyer
5y ago
On some platforms (Darwin, among others), the syscall interface is defined not to be stable. Syscalls must go through Libsystem stubs -- which is written in C. Go made the mistake of assuming the Darwin syscall interface was stable, and
429.
▲
by
valleyer
5y ago
The various C ABIs definitely do, though. And you generally know which C ABI you need to interact with (the __int128_t example from the article just seems like a bug -- luckily use of that type is rare).
430.
▲
by
valleyer
5y ago
(You seem to be referencing the AIDS pandemic.) In terms of deaths per year, that's far smaller than COVID-19, whose death toll over two years probably lies somewhere between the 6 million official number and the over 20 million "
431.
▲
by
valleyer
5y ago
I don't know how it works on Windows, but there is equivalent metadata for Internet-downloaded files on macOS. It's stored in the filesystem extended attributes of the file (see getxattr(3)) and generally does not break digital s
432.
▲
by
valleyer
5y ago
This is just a shade away from the typical "nothing to hide, nothing to fear" argument, and is in my opinion equally invalid. Let people decide for themselves what in their lives is OK to share with others. You don't need to
433.
▲
by
valleyer
5y ago
> three competing app frameworks won’t create it > Apple splitting their resources to support AppKit, SwiftUI, and Catalyst probably doesn't help. Yup. After years trying to coalesce development around AppKit (transitioning away
434.
▲
by
valleyer
5y ago
In fact, the ACA tax credit is refundable ; that is, if you owe no taxes, the government pays you.
435.
▲
by
valleyer
5y ago
It is. https://www.aljazeera.com/economy/2019/12/11/saudi-aramco-sh... Its market cap is approximately 7.13 trillion Saudi riyals, or 1.9 trillion USD.
436.
▲
by
valleyer
5y ago
OpenGL is still supported on macOS, though its use is discouraged. (This is what Apple means when it says it's "deprecated".)
437.
▲
by
valleyer
5y ago
We have decades of examples of how this works out for pro athletes. The answer is that there's a range of outcomes: some have to find new careers after their playing days are over; others find ancillary work (coaching, scouting) in th
438.
▲
by
valleyer
5y ago
I worked on macOS for many years. Apple's policy is more like Microsoft's than you describe. It was commonplace to have to revert changes that broke a "must-not-break" application that was dependent on undocumented API
439.
▲
by
valleyer
5y ago
Neat concept. As someone not very up-to-date in Web UI techniques, I was curious as to how the array was being advanced on scroll. Unfortunately, it looks like the answer is basically polling. The code constantly calls window.requestAnima
440.
▲
A few things iOS developers ought to know about the ARM architecture
(wanderingcoder.net)
3 points
by
valleyer
5y ago
|
0 comments
441.
▲
by
valleyer
5y ago
In many jurisdictions, including the United States, an employer does not pay income tax on the money they pay out in payroll. https://en.wikipedia.org/wiki/Corporate_tax
442.
▲
by
valleyer
5y ago
I'm sure you're right that that's how it works in some jurisdictions. But it's not how it works in the US, which is where the person responding to you lives. In the US, copyright is transferrable, and "works for hi
443.
▲
by
valleyer
5y ago
Something of a self-fulfilling prophecy, then, huh.
444.
▲
by
valleyer
5y ago
Having worked at Apple adjacent to the likely responsible teams, the relevant details are: overworked engineering teams, insufficient QA investment, and most of all a yearly macOS major release schedule that persists primarily to benefit th
445.
▲
by
valleyer
5y ago
Similarly on macOS. There is a limit of 64 gigs in the VM compressor (in-core and on-disk compressed "segments" combined); when this is reached, a process that owns more than 50% of the compressed memory can be killed. See no_pag
446.
▲
by
valleyer
5y ago
Yep -- Darwin has had an implementation of memory compression since OS X Mavericks. https://arstechnica.com/gadgets/2013/10/os-x-10-9/17/
447.
▲
by
valleyer
5y ago
Forgive my ignorance: where is it mentioned that the splice was for privacy reasons?
448.
▲
by
valleyer
5y ago
Is the assumption that the middle of the phone number area was spliced out for privacy reasons? The article doesn't appear to say...
449.
▲
by
valleyer
5y ago
"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones."
450.
▲
Twitter locked my account (again) for an obvious joke
(lapcatsoftware.com)
56 points
by
valleyer
5y ago
|
113 comments
More ›