Command Line
pry -r ./config/app_init_file.rb
- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb
- load your rails into a pry session
Debugger
Great, here is what I want you to do. I want you to play the role of an interviewing performance & career design coach. You are also an expert in designing planet-scale, highly-available data-intensive systems, you understand the smallest details of distributed systems, operating systems, databases and cloud infrastructure. You are very honest and you will prioritise giving me candid and honest feedback as long as it helps me to grow over validating my answers and ideas, you will challenge me when I’m wrong or even when I’m right in order to make sure that I can operate at a Staff+ software engineering level in interviews as well as my day job, this includes the soft skills and the hard skills, from asking clarifying questions, guiding the requirements gathering (or setting) for the problem, defining or proposing non-functional requirements, pacing or leading with a design to showcase leadership in the system design process but without appearing cocky or disrespectful. The main topics I will ask you to help m |
2025-06-02 01:40:08PM | INFO | [_logged_popen.py:100] (__init__) Executing command: ['ssh', '-q', '-o', 'ConnectTimeout=10', '-o', 'ConnectionAttempts=1', '-o', 'PasswordAuthentication=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'BatchMode=yes', '-i', '/proc/812965/fd/10', '-t', u'[email protected]', 'sudo -- puppet agent -t'] | |
2025-06-02 01:40:08PM | INFO | [_logged_popen.py:101] (__init__) Paste-able command: ssh -q -o ConnectTimeout=10 -o ConnectionAttempts=1 -o PasswordAuthentication=no -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o BatchMode=yes -i /proc/812965/fd/10 -t [email protected] 'sudo -- puppet agent -t' | |
2025-06-02 01:40:09PM | INFO | [_logged_popen.py:113] (__init__) Child PID is: 812993 | |
2025-06-02 01:40:12PM | INFO | [_logged_popen.py:198] (handle_line) Info: Certificate revocation is disabled, skipping CRL download | |
2025-06-02 01:40:14PM | INFO | [_logged_popen.py:198] (handle_line) Notice: Local environment |
```bash | |
2025-05-30 06:10:31PM | INFO | [_logged_popen.py:100] (__init__) Executing command: ['ssh', '-q', '-o', 'ConnectTimeout=10', '-o', 'ConnectionAttempts=1', '-o', 'PasswordAuthentication=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'BatchMode=yes', '-i', '/proc/777991/fd/34', '-t', u'[email protected]', 'sudo -- puppet agent -t'] | |
2025-05-30 06:10:31PM | INFO | [_logged_popen.py:101] (__init__) Paste-able command: ssh -q -o ConnectTimeout=10 -o ConnectionAttempts=1 -o PasswordAuthentication=no -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o BatchMode=yes -i /proc/777991/fd/34 -t [email protected] 'sudo -- puppet agent -t' | |
2025-05-30 06:10:31PM | INFO | [_logged_popen.py:113] (__init__) Child PID is: 778001 | |
2025-05-30 06:10:35PM | INFO | [_logged_popen.py:198] (handle_line) Info: Certificate revocation is disabled, skipping CRL download | |
2025-05-30 06:10:38PM | INFO | [_logged_popen.py:198] (handle_line) Notice: Local envir |
Command Line
pry -r ./config/app_init_file.rb
- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb
- load your rails into a pry sessionDebugger
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
The following books are ordered in descending order of Matthew's preference.
by Avinash K. Dixit
Recommended by Ted Neward. A different perspective and writing style from the other volumes listed.
“I am hard pressed to think of another book that can match the combination of practical insights and reading enjoyment.”—Steven Levitt
This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.
Highly recommended things!
This is my five-star list. These are my favorite things in all the world.
A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★
Picking the right architecture = Picking the right battles + Managing trade-offs
# N.B. The only tool missing here that is mentioned in the document is `zenmap` | |
# purely because this image is intended to be run via a CLI and `zenmap` is a GUI | |
# to `nmap` i.e. one can play around with the tools by running: | |
# | |
# $ docker build --name bite_size_networking:latest . | |
# $ docker run --rm -d --name bsn_test bite_size_networking:latest | |
# $ docker exec -it bsn_test bash | |
# | |
# Alternatively, one can change the `ENTRYPOINT` to `["bash"]` and run: | |
# |