Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
patrickmn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
31.
▲
by
patrickmn
9y ago
Not joking at all. Functional languages have a reputation for being hard to learn mainly because they aren't what most people learn initially (and switching paradigms is never easy, no matter which direction you're going.) Disclai
32.
▲
by
patrickmn
9y ago
Why compose classes, abstract base classes, etc. when you can compose simple functions! It's true that abstractions in functional languages can seem foreign and hard to understand, but generally they have some purpose, being grounded i
33.
▲
by
patrickmn
9y ago
Yes, this is very important: Diet can be a complement to medical treatment, not a replacement. Don't make Steve Jobs' mistake!
34.
▲
by
patrickmn
9y ago
In paleolithic times, the average human diet included a lot of fatty meats. When the fatty game went extinct, and protein-heavy diets failed (protein isn't a fuel source except through gluconeogenesis,) carbohydrate-heavy diets became
35.
▲
by
patrickmn
9y ago
Diets have been (anecdotally at least) shown to be effective in the treatment of autoimmune diseases like Type 1 diabetes, multiple sclerosis, Chron's disease, and many others. A popular book on the subject is The Wahl's Protocol:
36.
▲
by
patrickmn
9y ago
A low-carb diet? (Tongue-in-cheek, but not really.)
37.
▲
by
patrickmn
9y ago
NaCl's secretbox for encrypting the session cookie - nice
38.
▲
by
patrickmn
9y ago
Fair point. I can qualify that by saying it's much more pronounced here than where I'm from, Northern Europe.
39.
▲
by
patrickmn
9y ago
Nginx is the web server equivalent of programming languages with fibers (in a good way.) Is there anything that competes/a "next Nginx"?
40.
▲
by
patrickmn
9y ago
There's gotta be some kind of Schroedinger's cat type joke here. If you're not in your seat, you don't exist.
41.
▲
by
patrickmn
9y ago
One of the things that bothers me the most about the United States is the ubiquity of "ass-in-seats" thinking. Somehow, the appearance of sacrifice (commuting two hours a day and being there at 9) means much more than the results
42.
▲
by
patrickmn
9y ago
That, branded with a stamp that goes on the box that merchants will pressure vendors to obtain because the non-stamp ones cause a lot of complaints, could be very positive.
43.
▲
by
patrickmn
9y ago
By all means, if the Internet connection serves a purpose, great. But a sleep monitoring gadget probably doesn't need an Internet connection just to show your sleep score. For all the flak Fitbit has gotten, at least it gets this right
44.
▲
by
patrickmn
9y ago
Linux (as in distributions, homegrown or not) has "ok" security. But unless vendors go through a lot of steps to both lock it and what runs on it down, and make sure issues are addressed in a timely manner, it's not. The key
45.
▲
by
patrickmn
9y ago
IoT seems hopeless because - There are so many different kinds of devices and different hardware - Vendors want to maximize profits like everyone else, which entails making new devices all the time, and ending support on the last model fair
46.
▲
by
patrickmn
9y ago
For a second I was excited to discover the secrets to the ancient Greek philosophers' enlightenment, but hey, cranes are cool too!
47.
▲
by
patrickmn
9y ago
Recommend Robert Reich's "Inequality for All" on this subject: http://www.imdb.com/title/tt2215151/
48.
▲
by
patrickmn
9y ago
Video with sound: https://twitter.com/deadlyblonde/status/850576467234869248
49.
▲
by
patrickmn
9y ago
It's pretty terrifying how much information CreditKarma (TU- and Equifax-backed,) Mint and such have, and what that turns into when it's shared and combined.
50.
▲
by
patrickmn
9y ago
> Every variable and function definition in Dern must be documented by a documentation string. Dern also makes sure that every formal function parameter is documented in the documentation of function definition. Interesting. Should this
51.
▲
by
patrickmn
9y ago
If you're doing things that should be done over an encrypted channel, but forego TLS (or a suitable alternative like Noise Framework or WireGuard) because it adds attack surface, you are adding more risk than you are removing. A better
52.
▲
by
patrickmn
9y ago
And, of course, being good at coding competitions doesn't mean that you're necessarily a good software engineer. The Jeff Deans are rare. "Hoping for the best" is pretty accurate.
53.
▲
by
patrickmn
9y ago
Trucks driving autonomously on the interstate and being picked up by a human operator near city limits doesn't seem that far away. The trick will be to balance competition and the need to be first to market with the risk of accidents,
54.
▲
by
patrickmn
9y ago
Clang really pushed this area forward. Good to see.
55.
▲
by
patrickmn
9y ago
> Automatic & Free SSL/TLS A couple of years ago, I wouldn't have believed we would be seeing essentially zeroconf TLS/PKI in software anytime soon. Letsencrypt, the "encrypt everything" movement, and people
56.
▲
by
patrickmn
9y ago
It just needs to be spun as a free market thing (the professors are entrepeneurs and competition brings down prices) :) And then cross your fingers nobody gets sued into oblivion.
57.
▲
by
patrickmn
9y ago
I only have my own experience on this subject, so I'm definitely projecting. I didn't mean that hacking is as culturally significant as the Dala horse or Semla. Just that, for example, nearly every kid in our town came to the LAN
58.
▲
by
patrickmn
9y ago
Yeah, don't get me wrong. Not implementing TLS because you're worried about attack surface is a bad idea. But if all you're doing is verifying a gpg signature on some firmware, a TLS stack is probably overkill.
59.
▲
by
patrickmn
9y ago
I grew up in Denmark and Sweden but I'm not sure I can give you a single reason. It's more that kids are more likely to be exposed to computer internals than in most other countries. PC gaming and LAN parties much more commonplace
60.
▲
by
patrickmn
9y ago
Undoubtedly true, assuming you use something well-scrutinized like signify or gnupg for that signature verification.
More ›