Readit News logoReadit News
pgroves commented on Ask HN: How do you deal with slight memory impairment?    · Posted by u/MarcellusDrum
pgroves · 3 years ago
I've never had that great of a memory. The upside is that you can have a bad memory and good note taking skills and be more effective than the 'good memory' people. Really it's just that I forget in a day what other people forget in a week so it's not that big of a gap. But some considerations:

1. Put everything in the issue tracker that you can. This includes notes on what actually happened when you did the work. Include technical details.

2. Try to push everyone else to use the issue tracker. Also makes you sound like the professional in the room.

3. Have a very lightweight note taking mechanism and use it as much as possible. I am gud at vim so I use the Voom plugin (which just treats markdown headings as an outline but it's enough to store a ton of notes in a single .md file). Don't try to make these notes good enough to share as that adds too much overhead.

4. Always take your own notes in a meeting.

5. I will revisit my notes on a project from time to time, and sometimes walk through all of them, but I'm not really treating them like flashcards to memorize. I'm just looking for things that might need some renewed attention. Same with the backlog.

6. In general, I don't try to improve my memory because I don't know what I need to know for a week vs. what I won't look at again for a year. So I focus on being systematic about having good-enough notes on everything and don't really expect to remember anything. (I do remember some things but it's random.)

Deleted Comment

pgroves commented on We analyzed 100K technical interviews to see where the best performers work   blog.interviewing.io/we-a... · Posted by u/leeny
paxys · 3 years ago
What this really tells me is that the best engineerineers at Dropbox are looking to quit.
pgroves · 3 years ago
And the implication is the 'quality' of engineers at the companies is actually reversed - the top performers at Dropbox are struggling and leaving while the under performers at FANG are struggling and leaving.
pgroves commented on Should you use Let's Encrypt for internal hostnames?   shkspr.mobi/blog/2022/01/... · Posted by u/edent
rad_gruchalski · 4 years ago
But it is possible to have initial certificates without opening anything: https://gruchalski.com/posts/2021-06-04-letsencrypt-certific...

From there, it’s possible to use HTTPS negotiation.

pgroves · 4 years ago
This looks kind of interesting. I might try this. Thanks.
pgroves commented on Should you use Let's Encrypt for internal hostnames?   shkspr.mobi/blog/2022/01/... · Posted by u/edent
duskwuff · 4 years ago
Only true if you're using HTTP validation. Use DNS validation instead and this isn't an issue.
pgroves · 4 years ago
Fair enough. Although that seems rather complicated for those of us just trying to get a quick cert for an internal host. The LetsEncrypt forums are full of this discussion:

[1] https://community.letsencrypt.org/t/whitelisting-le-ip-addre... [2] https://community.letsencrypt.org/t/whitelist-hostnames-for-... [3]https://community.letsencrypt.org/t/letsencrypt-ip-addresses...

pgroves commented on Should you use Let's Encrypt for internal hostnames?   shkspr.mobi/blog/2022/01/... · Posted by u/edent
pgroves · 4 years ago
Another nuisance is that unencrypted port 80 must be open to the outside world to do the acme negotiation (LE servers must be able to talk to your acme client running at the subdomain that wants a cert). They also intentionally don't publish a list of IPs that LetsEncrypt might be coming from [1]. So opening firewall ports on machines that are specifically internal hosts has to be a part of any renewal scripts that run every X days. Kinda sucks IMO.

[1]https://letsencrypt.org/docs/faq/#what-ip-addresses-does-let...

UPDATE: Apparently there is a DNS based solution that I wasn't aware of.

pgroves commented on Realtime Postgres Row Level Security   supabase.com/blog/2021/12... · Posted by u/kiwicopple
iwebdevfromhome · 4 years ago
When I think of postgrest, supabase and other tools that allows you skip the backend completely and go straight to the DB; is how do you handle business logic that doesn't make sense to have in either the frontend or the DB ?
pgroves · 4 years ago
There are lots of simple things that are normally easier to do in the web framework that are suddenly easier to do in the database (with the side effect that you can do DB optimizations much easier).

But the other consideration is that you likely need to do a lot with a reverse-proxy like traefik to have much control of what you are really exposing to the outside world. PostgREST is not Spring, it doesn't have explicit control over every little thing so you're likely to need something in front of it. Anyway, point is that having a simple Flask server with a few endpoints running wouldn't complicate the architecture very much b/c you are better off with something in front of it doing routing already (and ssl termination, etc).

pgroves commented on Realtime Postgres Row Level Security   supabase.com/blog/2021/12... · Posted by u/kiwicopple
tehnorm · 4 years ago
We currently make use of Supabase and it's been fantastic. It's enabled us to completely get away from having a traditional backend/API by utilizing RLS and it's realtime nature to have data directly in the UI. Rough numbers are showing we cut development time by a third vs a traditional approach.
pgroves · 4 years ago
I'm on a POC project that's using PostgREST and it's been extremely fast to get a big complicated data model working with an API in front of it. But I guess I don't get how to really use this thing in reality? What does devops look like? Do you have sophisticated db migrations with every deploy? Is all the SQL in version control?

I also don't really get where the users get created in postgres that have all the row-level permissions. The docs are all about auth for users that are already in there.

pgroves commented on Minus   minus.social/... · Posted by u/fredley
johnnyApplePRNG · 4 years ago
Interesting idea, but what's stopping someone from creating a second account?
pgroves · 4 years ago
That's what I want... this would force me to make a different account for every topic I might comment/post on, and they can have their own local networks. If it's a topic that I know a lot about (eg what I do at my day job), it would force a fresh start every few years.

This is in contrast to my twitter account, which is such a mess that I don't like posting b/c "most" people who will see it followed me for some other topic.

u/pgroves

KarmaCake day915November 17, 2010
About
http://designbyrobots.com http://petergroves.com
View Original