HN user

edraferi

1,861 karma
Posts5
Comments592
View on HN

heh I had this problem with the inane music my kids listen to. Those plays poisoned my recommendations and I only noticed when my annual retrospective playlist popped up full of disney garbage.

Solution: use separate streaming service for the kids! I still use Spotify for everything, but kids music happens on Amazon Music.

Mental Wealth 6 years ago

This article spills a lot of ink to say that you should focus on your Sleep, Diet, Exercise, Stress, and Drugs in that order. It provides a few tips for each topic:

1) Sleep

Tip: "my biggest pro-tip [...] wake up every morning at the same time"

2) Diet

Tip: "Get your food allergens checked and make sure you’re not consuming foods that your allergic to on a regular basis (I used Everlywell.com for their at home food allergy test recently, and it was great)."

Tip: "Consuming multiple alcoholic drinks before bed can absolutely wreck your sleep, which is the first foundation to mental wealth."

3) Exercise

"I’m going to zero in on the anti-inflammatory effects of high intensity aerobic exercise 3 times a week (which incorporates improvement to mood, detoxification, and anti-inflammation). [...] this is all about using a stair-master or elliptical, cycling, or high intensity running for anywhere from 15-30 minutes, etc. 3x per week. Cycling has been shown to be superior to running for the aerobic effects, so I use our family’s Peloton for 20 min HIIT rides at least 3x a week, preferably more. [...] Try this for 4 weeks and see what it does for your mental health (and your sleep)."

4) Stress Management

Tip: "[find] time to sit quietly for 15 minutes in the morning, with your cup of coffee or tea in-hand, to do three primary things has been extremely helpful for me:

(i) Gratitude journaling of 5 things that I’m grateful for (nothing is too small here, from the sunrise to the laugh of my daughter will make the list),

(ii) 2-3 minutes of breathing exercises (google 4-7-8

breathing for a really simple breath work exercise),

(iii) Lastly, 5 minutes outline my to do list for the day."

5) Exogenous Compounds

Tip: "any of these, from the innocuous to the Schedule II prescription, should be last on the list of your personal “mental wealth” audit."

Looks useful, but it depends on PipelineDB, a PostgreSQL extension for streaming data. Unfortunately PipelineDB hasn't been updated since May 2019 [0] when they were acquired by Confluent [1]. The former PipelineDB team appears to be focused on Confluent's KSQL product [2]. There's an open source "ksqlDB" but it appears to depend on Kafka, so it's not a 1:1 replacement for PipelineDB[3].

[0] https://github.com/pipelinedb/pipelinedb

[1] https://www.confluent.io/blog/pipelinedb-team-joins-confluen...

[2] https://www.confluent.io/blog/confluent-cloud-ksql-as-a-serv...

[3] https://ksqldb.io/quickstart.html

Looks good, but needs additional specificity / testability.

No hidden costs

What is a "hidden cost"? Sometimes pricing is complicated. For example, shipping and sales taxes vary based on the customer's location.

No making it difficult to cancel/unsubscribe from a plan

Maybe: "An authenticated user must be able to review their past and upcoming charges within 2 clicks from the default view. This page must provide immediate options for cancelling/unsubscribing (2 additional clicks to allow for confirmation)."

Or weaker: "Users must be able to cancel/unsubscribe by any mechanism that they can use to sign up / subscribe. For example, if users can purchase a subscription on the website, a they cannot be required to make a phone call to cancel that subscription"

Automated emails to not self generated mailing lists/social platforms

I don't understand what this means. Are you trying to prevent the companies from using third-party advertising targeting? That seems like an unreasonable ask. It would prevent using Google/Facebook/Twitter for basic marketing tasks.

No spammy follow up emails

This is not testable. It would be more valuable to identify quantitative best practices and publish those. e.g. "When a user cancels a subscription, do not sent them more than 1 marketing email per month asking them to re-subscribe"

Allow recipients to easily unsubscribe from mailing-list emails

This should be covered by the "no making it difficult to cancel" clause.

I’m just getting started with Nix, with the explicit goal of making my entire system defined in a private , remote git repo. I want to be able to rapidly re-provision my entire user environment on a new machine, including applications, preferences, etc.

For the moment I’m doing this on MacOS with the nix package manager. I’ll eventually move to NixOS. I tried to run NixOS in VirtualBox, but couldn’t get screen resizing to work despite using the official ISO which is supposed to have the appropriate extensions installed.

My current hurdle is exactly the topic of this thread: non-binary configs. For example, what am I supposed to do with .zprofile? I think I’m supposed to write a custom Nix derivation for ZSH that includes any and all customizations. I’m concerned that might cause problems with MacOS system ZSH. I can probably fix that with a custom login shell?

Anyway it’s fun, but complicated and diversely documented. Gonna take a while to sort it all out.

I just wish I could buy a Zen 2 chip in a laptop that doesn't look like it was made for a fourteen year old (no offense to any fourteen year olds). I heard someone say the lack of 4k and more professional style laptops could be Intel back-channel fuckery,

Lenovo just released a couple ThinkPads peered by AMD Ryzen 7 Pro CPUs: T495, T495s and X395. They don’t have 4K screens though.

https://arstechnica.com/gadgets/2019/05/lenovo-adds-amd-ryze...

These technologies could be used to create a valuable network of low-distraction reference resources. They might dodge the Eternal September problem simply due to the the high barrier to entry and win mindshare among sophisticated users by delivering real value.

This would require a community focus on tooling and content.

First, common tools must support Gopher/Gemini output:

* Pandoc * Template engines like Jinja and Mustache * Static site generators like Hugo, Gatsby & Jekyll * Webservers like Apache and Caddy

Then those tools can be used to mirror content like:

* Wikipedia * ReadTheDocs * Docsets (eg for Dash) * HackerNews, Lobste.rs, Reddit? * RFC archives * Github/Gitlab repo READMEs

Suddenly you could spend your whole day in pure-text mode and never open a browser that does enough twitter to kill your flow.

Very cool!

Intake [0] is another package that might help here. It organizes a set of data sources into

(1) plugins that actually connect to the data source and map the data to standard Python data structures like Data Frames

(2) catalogs that reference the plugins you want to use alongside project specific metadata like usernames/passwords/source URIs

(3) convenience functions that persistence, concatenation, etc

(4) a GUI for browsing data sources

Looks like OP has already written a lot of data access logic... I might fork them into Intake plugins for my personal use.

[0] https://github.com/intake/intake/blob/master/README.md

I wonder if we’ll get a fully open source release of the Keybase server out of this. It would be so awesome as a federated ecosystem...

GitHub Codespaces 6 years ago

Github CodeSpaces is explicitly VS Code. Their tagline is "Get the full Visual Studio Code experience without leaving GitHub."

Activities give you an excuse to be together. It reduces the pressure to perform socially and thus lets things happen more naturally.

For example, think about dating. It can be exhausting to just meet somebody new for dinner. You have to keep up an interesting conversation without much help, hoping you'll stumble upon some common interests.

It's generally easier to do an activity where you can focus on the task, talk about how to do it well, have an excuse for lulls in the conversation, etc.

I completely agree. I view this as a competitive advantage personally.

Like any skill, practice is the most important thing. Training helps, especially grammar & structure coaching. That said, tools can help:

- Hemmingway[0] has been useful to me. I often use it to revise things I write elsewhere.

- Grammarly [1] seems good, but I refuse to pipe everything I write to (another) cloud. If I could run it locally or get a private on-prem instance for my firm, that would be great.

- Microsoft's new AI Editor [2] seems promising.

[0] http://www.hemingwayapp.com/

[1] https://www.grammarly.com/

[2] https://techcommunity.microsoft.com/t5/microsoft-365-blog/in...

The article says Lithium Ion batteries deliver 1/15 the power per pound of traditional aviation fuel. That leaves a lot of room for improvement...