Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zZorgz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
zZorgz
11y ago
Seems reasonable. But now you risk the chance of reading code written by those who don't specify types, don't know better, or don't use -Wall. I think deciding what to allow and prohibit by default is an important design deci
92.
▲
by
zZorgz
11y ago
Having the option to use type inference in this specific use case is nice. But I'm glad it's just for initializers. After playing with Scala, I've found out I don't love type inference as much as I thought I did. In Scal
93.
▲
by
zZorgz
11y ago
An attacker would need the private key to update the signature in the app cast. It's possible the devs store their private key on the server, although that would be silly. Although that doesn't discount the recent MITM vulnerabili
94.
▲
by
zZorgz
11y ago
This is really bad but there are two good security defenses that came out of that forum thread (which is better than not having them at all). 1. Apple revoked the certificate already. Thus people that have gatekeeper on are safer. 2. Sparkl
95.
▲
by
zZorgz
11y ago
Apple's code signing actually has this and it's on by default. Don't ask me why it didn't help with their installers, though..
96.
▲
by
zZorgz
11y ago
True. Originally yes. If I were them I'd look into changing their logo but alas.
97.
▲
by
zZorgz
11y ago
Nitpick: I just don't like seeing the name written out butchered, but it's Wine not WINE (and the latter looks a lot worse IMO)
98.
▲
by
zZorgz
11y ago
Better to alter the user defaults key SUFeedURL for an app than break its code signature by altering its info.plist file. Sparkle looks at the user defaults first anyway. Aside it's still not bullet proof because an app can override th
99.
▲
by
zZorgz
11y ago
Just to note: if the copy action brings up a dialog requesting what language to pick, then the menu item's name should end with an ellipsis character, as according to Apple's UI guidelines.
100.
▲
by
zZorgz
11y ago
Holding command is pretty much the equivalent.
101.
▲
by
zZorgz
11y ago
So I took out all the "__unsafe_unretained"'s I inserted and indeed, with optimizations enabled in my release mode, the calls were removed. However, my no-optimization debug build is unbearably unusable like this so I cannot
102.
▲
by
zZorgz
11y ago
Good question actually... It was a few years ago; I know I was eyeing through my code using Instruments but I'm not sure if I profiled with optimizations on. I'll have to look back at my code to see if it'd make an impact wit
103.
▲
by
zZorgz
11y ago
ARC can add automatic calls when not needed (just to be safe). When converting from manual management to ARC for one of my projects I had to resolve performance issues found in tight loops where it inserted unneeded retain/releases.
104.
▲
by
zZorgz
11y ago
I'm somewhat convinced the only reason other layouts are easier to learn touch typing is because most keyboards are in qwerty. Learning to type well is still hard. In fact if you typed well already and decided to switch layouts I belie