84 karma · joined Jul 21, 2017 (9y ago) · 38 submissions
comment 1y ago · link · parent
> We rewrite our pasts to suit our needs and support the story we tell about ourselves.
1. https://en.wikipedia.org/wiki/The_Truth_of_Fact,_the_Truth_o...
comment 3y ago · link · parent
If there only one company can unlock, then it's just a 1:1 negotiation.
If there are multiple companies, Stefan can review bids and accept the lowest.
comment 3y ago · link · parent
comment 3y ago · link · parent
If you haven't seen it, https://rowinglevel.com has tables for various distances and ages. It intimidated me at first (these times are fast!) but reaching beginner and novice when they once felt completely impossible is a good feeling.
> It took months to get up to speed with a lot of initial back pain, but the strength gained has done away with back issues I used to have.
This has been my biggest benefit as well.
comment 3y ago · link · parent
Did your HRV increase, indicating better health? How are you measuring it?
> I was able to break an 8 minute 2k row when I did it with cyclic breathing.
Can you explain more? Search results for "cyclic breathing" return many varied results. Are you performing it while during the row, or in preparation for it? I can get 2k meters under 8 minutes, but I'm gasping at the end.
comment 4y ago · link · parent
> ...lets me write codeblocks in my notes and turns my note taking system into a literate programming environment. So I have for example a self-written plugin that applies transformations to existing pages to incorporate the sort of question templates suggested in books like How To Solve It or on websites like untools.
Do you have any posts or additional information on this in particular?
comment 4y ago · link · parent
- How opamps work and how they're used to make a differentiator.
- How quantum computing works. I want understand it to understand why factoring and discrete log fall to QC but not the post-quantum algorithms. I never make it past the intro chapters.
- What exactly makes cryptographic hash functions have desirable properties like collision resistance? Bits go in, bits go out, why can't full observation of the process not yield a method to construct inputs for a target output? Similar questions for block ciphers. It is much easier to "see" the impossibility in public key schemes because you can play and experiment with the math. In symmetric algorithms it looks like just a bunch of arbitrary bit operations.
EDIT:
- Relativity. I accept things like time dialation and nothing can go faster than the speed of light. But I have no idea why you would experience less time passing than me after a high speed rocket trip when, from your perspective, you saw me on a high speed planet trip. Or what prevents a rocket in space with 3m/s^2 acceleration from reaching the speed of light after 100,000,000 seconds.
comment 4y ago · link · parent
This is a good point. I was 100% anti-cloud for my photos, but have to admit the barrier of bringing out the external HDD and hooking it up to a PC means we hardly ever look at them.
comment 4y ago · link · parent
I'm currently using returned/refurbished Samsung T5's at about $100/TB.
comment 4y ago · link · parent
For example, I had to parse DWARF debug info recently to scrape type information, something I dreaded doing. Instead of diving into the DWARF specs, I set out to adapt one of the pyelftools [1] examples to produce a .dot file and graphed it with dot, producing [2].
Now looking at the picture, it's nearly obvious how functions and structs and types are stored. The rest is trivia (How do I access this attribute? How do I iterate over a DIE's children?).
Here's a simple alias so that anything that writes to /tmp/tmp.dot can be viewed with a single command:
alias graph='dot -Tpng /tmp/tmp.dot -o /tmp/tmp.png && open /tmp/tmp.png'
[1] https://pypi.org/project/pyelftools/comment 4y ago · link · parent
How does it work? Does an alarm sound and you've resolved to stop whatever you're doing and reasses? What is a success story? Has it caught you browsing youtube and put you back to work?
> This is usually coupled with one or more mental exercises to keep perspective.
What are the exercises?
> In the evening before going to bed I sit back down with my journal and go over any major events from the day and examine them against my philosophical beliefs.
Is this a written or electronic journal? How long have you been able to consistently do this? I've had many 2-week streaks but none better.
Do you recommend any other resources? I've read Meditations, Pigliucci's book, and pick up Farnsworth's book every few days, but so far it's mostly quotes instead of a description of practices like the title promises.
comment 5y ago · link · parent
comment 5y ago · link · parent
The first action concerns a syntactic property of PI's decimal representation while the second action concerns a semantic property of PI's value.
A related example given on https://xyproblem.info is a user asking (Y) how to extract the final 3 characters of a filename string when he probably intends to ask (X) how to retrieve a filename's extension.
comment 5y ago · link · parent
Y: How do I strip unnecessary symbols after a decimal point?
X: How do I round a number to a desired precision?
It looks like the perfect example of XY problem to me. Please tell me how I'm confused.
comment 5y ago · link · parent
Of course there are cases where the question poser of Y benefits from having their X identified, an archetypal case here:
https://stackoverflow.com/questions/2691018/decimalformat-an...
comment 8y ago · link · parent
Here's a low-tech alternative for .bashrc:
snipc() {
local fpath=$HOME/workspace/snippets.c
if [ "$1" == "vim" ]; then
gvim $fpath
else
less $fpath
fi
}
Replace vim with your favorite editor. I also have functions for python (snippy), Make (snipmake), etc.comment 8y ago · link · parent
notes() {
local fpath=$HOME/notes.md
if [ "$1" == "gvim" ]; then
gvim + $fpath
elif [ "$1" == "vim" ]; then
gvim + $fpath
elif [ "$1" == "date" ]; then
echo '' >> $fpath
echo '# '`date +"%m-%d-%Y-%T"` >> $fpath
echo '---------------------' >> $fpath
elif [ "$1" == "" ]; then
less +G $fpath
else
echo '' >> $fpath
echo $@ >> $fpath
fi
}
Insert the current date with `notes date`. Store a note with `notes the earth is about 25k miles around` or `notes dentist appointment Thursday` or `notes purfunctory - carried out with a minimum of effort or reflection #vocab`. Look up recent notes with `notes` or read/search the entire notes database with `notes vim`.