HNHacker News
TopNewBestAskShowJobs

dempedempe

813 karma · joined October 18, 2018

submissionscomments
dempedempe··on Base 10 is not a good base
Yes. I think people would be a lot better at arithmetic if we had a larger base or, more importantly, iconic numerals so that arithmetic can be done visually as in Mayan numerals or Kaktovik numerals[1] (both base 20).

1: https://en.wikipedia.org/wiki/Kaktovik_numerals

dempedempe··on Cursorless is alien magic from the future
Keyboards with thumb clusters are definitely the best option, but in my experience, even on a normal keyboard, simply remapping your keys makes a world of difference.

Here are some of my most useful remaps:

- Swap enter and semicolon. Enter is one of my most used keys. It should be "directly accessible"

- Make right command backspace. Backspace is another key I very commonly use, but it's far away and causes a lot of pain. Now, it's right under my thumb! (Regular backspace key is now forward delete).

- Make caps lock and enter control. (When pressed with other keys). This is useful for Emacs commands.

- Caps lock is escape when not pressed with other keys.

- Enter is semicolon when not pressed with other keys.

I use Karabiner for Mac to do my remappings.

dempedempe··on The world nearly adopted a calendar with 13 months of 28 days
Or we could adopt a number system that has actual, proven arithmetic benefits. See the Kaktovik numerals (https://en.wikipedia.org/wiki/Kaktovik_numerals). As a bonus the numerals are all one single stroke, so it's super fast to write!

Though, the benefits to calculation come from the fact that the numerals are iconic, not due to it being base-20.

dempedempe··on U.S. GDP grew at a 4.9% annual pace in the third quarter, better than expected
You can have medical research without charging $1000 for an ambulance ride, $10k - $20k for having a child, $100,000 for staying in the hospital a few days. Those are the things I'm talking about.
dempedempe··on U.S. GDP grew at a 4.9% annual pace in the third quarter, better than expected
Europe's doing a pretty good job at limiting hill making, while still having plenty of hills for healthy competition.
dempedempe··on U.S. GDP grew at a 4.9% annual pace in the third quarter, better than expected
Which is great until those hills directly or indirectly affect people's health. Healthcare should not be a hill. Prisons should not be a hill. Politics should not be a hill.
dempedempe··on Anti-ageing protein injection boosts monkeys’ memories
I think they're being downvoted for the meth comment. I agree with everything OP and you said, but the meth example is a bit hyperbolic - the downsides to meth consumption would surely be felt much sooner than any theoretical downsides of the protein mentioned in the article.
dempedempe··on Bitwarden: Generate a Username
FWIW, the OP was talking about subaddressing, not catch-all addresses.
dempedempe··on Bitwarden: Generate a Username
Well, subaddressing is actually part of an RFC [1], so no, they won't.

1: https://datatracker.ietf.org/doc/html/rfc5233

dempedempe··on Bitwarden: Generate a Username
I think this is useful for any service, not just throwaway accounts or "low value" services. It provides another layer of anonymity, and makes credential stuffing impossible as a hacker would have no idea that two auto-generated emails address belong to the same person.

1password integration is nice, because you don't have to open up Fastmail to generate a new masked email.

I just use catch-all with custom domain, though. That way, I'm not tied to a particular provider, and I can make new "masked emails" on the fly however I want (usually, just using the name of the app/website I'm signing up for). The downside is that you loose the previously mentioned anonymity since a hacker could link your various addresses by domain name. But it's still way better than using the same email address everywhere!

dempedempe··on WireGuard multihop available in the Mullvad app
Wireguard is the latest VPN protocol. Check out the Wikipedia page (https://en.wikipedia.org/wiki/WireGuard) or it's homepage (https://www.wireguard.com/). Not all VPN providers support it yet (notably Proton VPN), but it is generally faster and more secure than OpenVPN.

It was made by Jason A. Donenfeld.

dempedempe··on The Influence of Neuromancer on Cyberpunk
That's interesting. I guess the two are coming from very different places. Gibson comes from a place of rebellion. The current fascination with cyberpunk comes from a place of nostalgia.
dempedempe··on Humble Decomposition
Took me a second to realize the title is not "Human Decomposition".
dempedempe··on Facebook loses users for the first time
Things are quite different post-GDPR (2016).
dempedempe··on The McNamara fallacy: Measurement is not understanding
This article is good, but not great - the author only gives one example of how quantitative-only reasoning can be bad (the example of the poppies). The other "example" is just the US military lying.

There are also no specific examples of non-quantitative reasoning that, if ignored, would be damaging.

I feel like the Wikipedia article does a better job explaining this: https://en.wikipedia.org/wiki/McNamara_fallacy

Also, why is there an entire webpage dedicated to this?

dempedempe··on Reasons Kubernetes is so complex
A higher-order function is a function that takes a function as an argument which doesn't have anything to do with the discussion at hand.

But you are right that it is higher level in that it abstracts away the logic behind GROUP BY. In this sense, all declarative programming is higher level.

dempedempe··on Reasons Kubernetes is so complex
> With "declarative" I still have to find out what's the intuition WHY it's supposedly better

Declarative is generally better because you move complexity out of your code to someone else's code. In other words, it reduces the LOC you write and have to maintain.

For example, say you are writing some code to query Postgres and aggregate a column. The imperative approach would be to query Postgres and do the aggregation yourself. The declarative approach would be to query Postgres and ask it to do the aggregation via GROUP BY.

Aside from reducing complexity, it's also usually more efficient to take a declarative approach. Dozens if not hundreds of people have been working on Postgres for almost 20 years now. The chances of your own aggregation algorithm being more efficient than Postgres's is practically zero.

dempedempe··on Ask HN: Why the obsession with note taking?
How did you use a memory palace to memorize 2,000 kanji and Japanese. I thought memory palaces were only good for remembering things in sequence, but I don't see how that fits with language or kanji.
dempedempe··on AirPods don't “just work”
I had my QC 35IIs stolen when I forgot them in a Sixt rental. I decided to get some Airpods as a replacement as most reviews I found online said they were comparable. God, I miss my QC 35IIs...
dempedempe··on The vicious cycle of food and sleep
> Have a look at the modern nutrition research

I was claiming that the article is poorly written, not whether red meat is healthy or not.

But even if I was, the article that you link to says nothing about red meat being bad for sleep (the author's claim).

dempedempe··on The vicious cycle of food and sleep
The article states,

> It may be particularly helpful to eat ... low in red and processed meat and whole-fat dairy.

Then in the next paragraph states,

> It’s partly because protein-rich foods such as nuts and seeds, fish, poultry and eggs contain tryptophan, an amino acid from which the sleep-regulating hormone melatonin is produced.

Dairy and meat are very protein-rich and high in tryptophan, so based on what the author says, should be consumed for better sleep. The author says nothing about why we should avoid red meat and whole-fat dairy.

dempedempe··on My productivity app for the past 12 years has been a single .txt file (2020)
I have yet to try PlainOrg, but loved your app, Flathabits!
dempedempe··on “Zero fucks given” in other languages
I think that's the point. God told the Romans that there's no power or wealth left and they said "fuck it" and took it anyways (and God allowed).
dempedempe··on Collection of Unix ASCII Games
The "How to contribute" section at the very top in bold tells you how to contribute.
dempedempe··on More than you want to know about gift cards
> A Barnes and Noble gift card to a favorite niece tells that niece that you remember she is a reader

Why not just write a note and give that alongside some cash?

The only time I buy gift cards is if I can get some sort of a discount. There's no other reason for me to buy them.

dempedempe··on Ask HN: Why is machine learning easier to learn than basic social skills?
Saying "someone is just born with it" is called a fixed mindset approach[1]. It sets you up for failure. I used to be hideous with talking to people, but I worked at it and, most importantly, _believed that I could improve_.

1: https://en.wikipedia.org/wiki/Mindset#Fixed_and_growth_minds...

dempedempe··on Curiosity Is Better Than Being Smart?
I like this. Thinking out loud...

Maybe this could be reduced to something like "desire for novelty". But then I think that's too broad. For example, wanting the latest iPhone is a type of "desire for novelty". Would you consider someone a curious person just because they buy the latest Apple products?

Then maybe you could, instead, only consider "intellectual curiosity", where intellectual curiosity is the desire for new knowledge - descriptive knowledge, prodcedural knowledge, experiential knowledge, etc. Then I guess getting the latest iPhone is also a type of experiential knowledge, so this fails, too...

dempedempe··on Using two keyboards at once for pain relief
Oh, I see. Thanks.
dempedempe··on Using two keyboards at once for pain relief
How did you increase strength in your hands and forearms?
dempedempe··on Ask HN: How Do You Learn?
> Yes, if you're learning arbitrary lists of items such foreign language vocabulary, or a medical student memorizing the Latin naming for all the various bones of a human body then spaced repetition is what to use. I've just never had an analogous situation in programming.

I'll give a few examples of cards that I have.

> Why is the time complexity of Java's List#subList constant?

> Why are OOM errors common in Spark?

> What does EXPLAIN do in Postgres?

> How do you run a command on the command line in Vim?

> How are map entries in HBase/BigTable sorted?

> Why are HBase column families difficult to modify?

> When should you use a JtaTransactionManager?

> What makes read-your-writes consistency difficult?

> Why does ElasticSearch not have transactions?

> What is a common implementation for JPA?

> What is the observer pattern?

> What is syslog?

It's definitely helped me as a software engineer.

Here is a guide on making better prompts: https://andymatuschak.org/prompts/

← PreviousPage 2 of 4Next →