HackerTrans
TopNewTrendsCommentsPastAskShowJobs

andorov

no profile record

comments

andorov
·hace 3 años·discuss
I always remember this from the example my professor gave -

   'raise the control rods by 1 inch' 
vs 'raise the control rods to a height of 4 inches'
andorov
·hace 3 años·discuss
I've been using the term 'macro-services' to describe this middle ground.
andorov
·hace 3 años·discuss
worth re-upping -

postgres requests an id from the sequence for each row of the incoming data ahead of time since it doesn't know which rows are updates and which are inserts (although presumably this could be changed?). the sequence doesn't reset down for the unused so this can eat through it unexpectedly quickly if you have a table with a relatively large volume of updates.

also as a tip if you hit the max integer for the sequence and need space to implement a fundamental fix you can quickly change the sequence to start at -1 and go down. there's no issue with negative ids since they're also integers.
andorov
·hace 3 años·discuss
Similar quote from Lao Tzu. I like the inclusion of thoughts -> words -> actions.

"Watch your thoughts, they become your words;

watch your words, they become your actions;

watch your actions, they become your habits;

watch your habits, they become your character;

watch your character, it becomes your destiny."
andorov
·hace 3 años·discuss
this also matters if you do a lot of upserts on a table that are predominantly updates. postgres requests an id from the sequence for each row of the incoming data ahead of time since it doesn't know which rows are updates and which are inserts. the sequence doesn't reset down for the unused so this can eat through it unexpectedly quickly.

if you hit the max integer for the sequence and need space to implement a fundamental fix you can quickly change the sequence to start at -1 and go down. there's no issue with negative ids since they're also integers.
andorov
·hace 3 años·discuss
SpinLaunch is pretty interesting too - throwing ships into space https://www.spinlaunch.com/
andorov
·hace 3 años·discuss
Hemmingway would leave off writing for the day in the middle of a sentence for the same reason.
andorov
·hace 3 años·discuss
In my experience people are inaccurately pessimistic, in part due to a lack of imagination. So risk assessment that's more accurate will present as more optimistic.
andorov
·hace 3 años·discuss
DRY needs to be balanced with SRP (Single Responsibility Principle). You can legitimately have two functions that are exactly the same but they should not be DRY'd up if they are actually serving different purposes.

The use cases will likely diverge in the future, and if the functions are DRY'd making changes will make introducing bugs from the calling code that you're not working on easy. Eventually the single function will likely have a lot of conditions in it, which is a red flag for this situation.
andorov
·hace 3 años·discuss
Ramanujan attributed all of his conjectures to being visited by a goddess in his dreams.

https://kristinposehn.substack.com/p/ramanujan-dreams?r=feux...
andorov
·hace 3 años·discuss
the Magic / More Magic switch is a favorite http://www.catb.org/jargon/html/magic-story.html
andorov
·hace 3 años·discuss
Also changes to the diagram (at a certain resolution) require looping in specific senior people for review.
andorov
·hace 4 años·discuss
I'm not presenting an argument against UBI - I am pointing out that his argument is flawed.

Small tribes of humans defending hunting/foraging grounds is a state of pre-civilization. Life required work then too, and things were worse. His premise is that things used to be better and we've made it worse. Hard disagree.
andorov
·hace 4 años·discuss
> Land used to exist without a monetary cost to access it. That was the natural way of things prior to the private property system and monetary system.

All land / resources were staked out by small tribes of humans who might kill you for using it?
andorov
·hace 4 años·discuss
What about the disk being reused by another process without being thoroughly wiped by AWS?