Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wvs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
wvs
13y ago
Ahaha, I agree. Abstract monad derivations are quite a foreboding introduction.
2.
▲
by
wvs
13y ago
"half 8 >>= half" might look a lot different from "half . half $ 8", but they're actually identical in underlying structure! The monad version is just using the wrong operator for visual comparison. (.) compos
3.
▲
by
wvs
13y ago
http://www.impredicative.com/ur/ has a very strong type system that claims to statically prevent any kind of code injection outright.
4.
▲
by
wvs
14y ago
The main issue I have with singletons is that any mutable global state prevents your application from being first-class within its own runtime environment. This is of course useful for unit testing, but also reduces hidden state dependenc
5.
▲
by
wvs
14y ago
The core issue is that encryption is useless without authentication. A MITM could just replace the original self-signed certificate with his own and read the decrypted plaintext while proxying the request so the user doesn't notice.
6.
▲
by
wvs
14y ago
Coming from a *nix background, it seems odd to me that a kernel null dereference would be exploitable from userland. Or that kernel functions be directly addressable from userland. Is kernel memory mapped into user processes on Windows?
7.
▲
by
wvs
14y ago
Most file references in Apple's frameworks track by both the target's path and inode, with the inode considered "more canonical". This is used in NSDocument apps where when you move a file with it still open, the app can tell where it went
8.
▲
by
wvs
14y ago
https://tahoe-lafs.org/
9.
▲
by
wvs
14y ago
http://globulation2.org/ is an interesting RTS that tries to reduce micromanagement. It doesn't use a macro system, but a guidable AI.
10.
▲
by
wvs
14y ago
Finding dropped words in coherent sentences is trivially easy given a large enough corpus of the language. Just looking at the occurrence probabilities of the surrounding words would be enough for most cases.
11.
▲
by
wvs
14y ago
At least there's full disk encryption with FileVault, if you want encryption.
12.
▲
by
wvs
14y ago
The thing with round rect buttons is not that they're irreconcilably ugly, but that they're only meant to be used in pinstriped table views. It's rare to see them used correctly anymore since pinstripes are dead as a popular design style in
13.
▲
by
wvs
14y ago
That looping construct in LESS is rather reminiscent of C++ template metaprogramming. Or ML/Haskell without higher order functions.
14.
▲
by
wvs
14y ago
Only if they're unsustainable. If they are sustainable, then that's disruption.
15.
▲
by
wvs
15y ago
Privacy doesn't, but encryption does. You don't want to set up Tor or I2P only to find out later that traffic you thought was encrypted actually wasn't.
16.
▲
by
wvs
15y ago
Key-value accessors aren't exactly the shining moment of verbose method names (It's even been leaked that 10.8 has dict[key] sugar), but for methods with more parameters, it's much nicer than positional. e.g.: connection:didReceiveResponse:
17.
▲
by
wvs
15y ago
You may already know this, but properties are just sugar for messages and instance variables. Their only difference is a shorter syntax. (...plus some extra runtime data, but you don't usually notice that.)
18.
▲
by
wvs
15y ago
Disable new version checks in the preference pane (on the About tab).
19.
▲
by
wvs
15y ago
The private memory column is likely a better measure when looking for memory hogs.
20.
▲
by
wvs
15y ago
Licensing most likely. Apple's runtime is under their own custom license (APSL) which is GPL-incompatible.
21.
▲
by
wvs
15y ago
Later, Steve. May your vision live on.