Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_jsn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
_jsn
10y ago
You can create a Smart Folder that is based on one or more Tags (or any other combination of metadata, but Tags are useful in that you can manipulate them directly).
2.
▲
by
_jsn
10y ago
That facility sort of exists for sandboxed Mac apps, since all incidental files related to the app are under a single container that iirc is deleted if the corresponding app is removed.
3.
▲
by
_jsn
11y ago
This is very similar to work done by J. Alex Halderman et al. in 2008 [1]. If you find this interesting, check out their paper. They give an example of a bitmap image in memory and its degradation over a number of seconds without power. It&
4.
▲
by
_jsn
11y ago
They were injecting code in to the Finder too. No doubt this is why Finder Sync Extensions[1] were created, because it's a support nightmare. (Well, and also because that code injection vector was eliminated in El Capitan.) [1] https:
5.
▲
by
_jsn
11y ago
Wouldn't it be fabulous if they live streamed someone writing the code for an account deletion feature?
6.
▲
by
_jsn
11y ago
WebKit supports ARIA attributes. If you aren't using them in your web code already, VoiceOver can probably navigate your page just fine, but it's subpar compared to a document that has been marked up with rich accessibility inform
7.
▲
by
_jsn
11y ago
Yes. It's double precision on 64-bit platforms and single precision on 32-bit. #if defined(__LP64__) && __LP64__ # define CGFLOAT_TYPE double # define CGFLOAT_IS_DOUBLE 1 # define CGFLOAT_MIN DBL_MIN # define CGFLOA
8.
▲
by
_jsn
11y ago
Right. The OS X image now has to contain a /usr/local directory so that it exists unrestricted after you install the OS (otherwise you would be unable to create it yourself, because /usr is restricted). It has to ship with so
9.
▲
by
_jsn
11y ago
It's funny, but that's just how it is in the Motor City. I'm originally from there, and when my aunt visited me here in the SF Bay, she was amazed at how many people were moving from place to place not in cars. (And for rea
10.
▲
by
_jsn
11y ago
Protocol extensions seem like a good way to get what you'd frequently want out of abstract classes. What's missing?
11.
▲
by
_jsn
11y ago
Swift Playgrounds are sandboxed in about the exact same way. And for pretty obvious reasons, I'd think. (Or have people already forgotten about when Playground files would immediately destroy your home directory as soon as you typed in
12.
▲
by
_jsn
11y ago
SFSafariViewController (the new API for presenting a Safari-like browser inside your app) already does support content blocking.
13.
▲
by
_jsn
11y ago
Can, not must.
14.
▲
by
_jsn
12y ago
There are some mitigations for this already built in. "Sensitive" processes are disallowed from linking libraries relative to @rpath and friends. Excerpt from dyld.cpp: else if (sProcessIsRestricted && (path[0] != 
15.
▲
by
_jsn
12y ago
Apple's packaging does not necessarily optimize for recyclable materials (though they do, sometimes). More importantly, they optimize for space efficiency. The last few generations of iMac come in a box that is sloped on one edge, wher
16.
▲
by
_jsn
12y ago
iCloud Drive or CloudKit-esque storage would be nice, but the regular Notes app uses IMAP for storage, for what I imagine are "legacy reasons". (The Notes feature was originally built in to Mail.app and used IMAP notes. Yes, IMAP
17.
▲
by
_jsn
12y ago
This is essentially already the case as Mac App Store apps must be sandboxed. This works fine for a lot of apps, but has presented issues for many prominent developers. (e.g. Panic had a fairly difficult time adapting Coda to the sandbox,
18.
▲
by
_jsn
12y ago
Jordan Hubbard only recently left Apple. I suspect he is trying to avoid suggesting only Apple solutions for FreeBSD problems.
19.
▲
by
_jsn
12y ago
It is complete snake oil and in the vast majority of cases will result in a net performance loss.
20.
▲
by
_jsn
12y ago
On the first point, you're coreect. That's also why you get those extremely annoying modal dialogs each time a device/key pair is added to your iMessage account, because a device added without your knowledge could be used to
21.
▲
by
_jsn
12y ago
"When a user turns on iMessage, the device generates two pairs of keys for use with the service: an RSA 1280-bit key for encryption and an ECDSA 256-bit key for signing. For each key pair, the private keys are saved in the device’s key
22.
▲
by
_jsn
12y ago
The front-facing camera doesn't have an indicator light, so this sound is the only thing preventing an app from stealthily capturing a photo or video recording of you while using it. I'd imagine analysis of your emotional reaction
23.
▲
by
_jsn
12y ago
Although this technically works, in some cases it may lead to strange bits of misbehavior. (Depending on where you do it, the app may end up in the wrong audit session or mach namespace, and it may also be missing some environment variables
24.
▲
by
_jsn
12y ago
mdfind / Spotlight can be a fairly powerful tool. Consider this query, which finds all Xcode projects I've tagged as "Active": ~$ mdfind tag:Active kind:xcode /Users/jn/Code/xyz/xyz.xcodepr
25.
▲
by
_jsn
13y ago
I think that people sometimes look upon certain OS releases with rose-colored glasses. Snow Leopard is certainly one example, and I wouldn't be surprised if people felt that way about Windows XP (or maybe 7) as well. Operating system q
26.
▲
by
_jsn
13y ago
Yes. There's a ton of room for innovation and I don't have a lot of faith in Intuit to do any of it. I feel like I'm constantly thinking of things I'd improve about Mint.
27.
▲
by
_jsn
13y ago
Admirable, but this doesn't really help the scenario where the outer page is intercepted and modified to serve a different iframe. (This is a common attack on pages that e.g. serve login forms over http, even though the form submits to
28.
▲
by
_jsn
13y ago
"Software development, like professional sports, has a way of making thirty-year-old men feel decrepit." - Snow Crash