Good Reads​
2023-04-09 How to stop ruminating - by George Sudarkoff
Rumination is when our minds latch onto a story and just won’t let go, going on and on about it. It’s exhausting! Distracting yourself is fairly common advice, but it’s a bit like trying to ignore a splinter. Maybe it’ll get dislodged from your body and get washed down the drain when you’re showering. But until that happens, it keeps reminding you about itself. Worse yet, it might get inflamed and cause more problems down the line.
Here’s a more productive approach that allowed so many of my clients to get lasting relief from rumination:
- Pay attention to the triggers.
- Examine the stories you’re telling yourself, and identify the cognitive distortions your mind might be employing.
- Don’t believe everything you think.
- Practice self-compassion.
- Realize that it’s a practice.
2023-04-08 How to Design Programs, Second Edition
2023-04-03 How To Do Hard Things - No Small Plans - Every
Russ Harris, author of several popular ACT books, offers a framework of 7 "R"s that can help support action in its early stages:
- Reminders - using apps, timers, or other means to remind us of the new behavior
- Records - keeping track of our behavior throughout the day
- Rewards - giving ourselves positive reinforcement for engaging in a behavior
- Routines - building the new behavior around an existing daily habit
- Relationships - finding a friend to do the new behavior with, or who you can talk to about the progress you’re making
- Reflecting - taking time to reflect on the progress you’re making through journaling, discussion with a friend, or in your mind
- Restructuring - making changes to the environment to make it easier to do the new behavior – i.e., throwing out unhealthy food or preparing at night for a morning run
2023-04-06 The real "must have" tools for programmers - James Dunne
In no particular order, the best tools for taking care of your mind are:
- Quality sleep
- Hydration
- Exercise
- Family and social time
- Notebook and pen
How the things work?​
2023-04-07 How does database sharding work?
2023-04-07 Database “sharding” came from UO? – Raph's Website
2023-04-03 Database Sharding Explained
This article explains what database sharding is, how it works, and the best ways to use it. It also talks about the potential server architectures and data layout. The article is written in a clear and concise manner with examples and comparisons to help readers understand the concept of database sharding better.
2023-04-01 Clocks and Causality - Ordering Events in Distributed Systems
Projects​
2023-03-31 đźš© Making an OBS 'Mute' Indicator - Parts Not Included
Tools​
2023-04-14 Personal color test-케이테스트
Do it! Very funny!
2023-04-13 Phind: AI search engine
2023-04-13 Show HN: GPT-4-powered web searches for developers | Hacker News
Career advice​
2023-04-04 How to be a -10x Engineer
Nullify the output of 10 engineers.
Change requirements as far into development as possible. To avoid blame, obfuscate requirements from the start.
Create 400 hours of busywork.
Ask your team to perform tasks that resemble work. Common examples include presentations, diagrams, and ticket management. Create pointless rituals.
Create 400 hours of burnout/turnover.
Be thankless. Foist blame. Sow confusion. Get angry. Cause others to work overtime.
Hold 10 engineers hostage in a technical discussion.
Let engineers discuss ideas. Encourage them to pursue elegance over pragmatism. Ensure nobody has the authority to make any decisions.
Job / Codding interviews​
2023-04-14 Software Engineer interviews: Everything you need to prepare | Tech Interview Handbook
2023-04-07 👉 trekhleb/javascript-algorithms: 📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
ADHD​
2023-04-07 Comics Dani Donovan: ADHD Comics
2023-04-07 Brain pls work
ADHD-friendly Pomodoro web app
2023-04-07 Show HN: ADHD-friendly Pomodoro web app | Hacker News
Web​
2023-03-24 Laying Out a Print Book With CSS | Ian G McDowell's Blog
Basic Layout
It still looks like a web-page, it’s time to apply some print conventions. The chapter headings need some room, and maybe a sweet underline. The body text should be a column, with indented paragraphs. That kind of stuff.
A note on my CSS: Yes, I’m all over the place with my units (Inches! Pixels! Points! Ems!), and there’s no rhyme or reason to the order of my declarations. In my defense: it doesn’t matter. I’m not going to prod with this. No one’s going to be stuck maintaining it. And, god willing, I’ll never have to extend it. But you’re welcome to clean it up for use in your own project.
h2 {
text-align: center;
font-family: "Jost";
margin-top: 1.4in;
margin-bottom: .9in;
font-weight: 300;
display: inline-block;
/* Pad box to position the "underline" that's rendered using the border */
padding: 0.1in 0.2in;
border-bottom: 1px solid;
line-height: 1em;
font-size: 15pt;
}
p {
margin:0;
text-indent: 1.5em;
font-size: 12pt;
line-height: 14.3pt;
text-align: justify;
text-justify: inter-word;
word-spacing: -.7px;
}
p:first-child {
text-indent: 0;
}
.chapter {
text-align: left;
}
= C ? C : C++​
2023-04-06 C Strings and my slow descent to madness - by Diego Crespo
2023-04-14 🔥 Words and buttons online
Redundant stories about redundancy
Component redundancy is used heavily in safety-critical and mission-critical systems for reliability improvement. But outside this niche, it's surprisingly little known in the world of software. Which is a shame since it's a simple but economical idea. It costs nothing to keep in mind, and it saves you a lot on hotfixes and emergency repairs.
#programming
Challenge your performance intuition with C++ sine
One more interactive quiz. This time, it's all about the sine function. Which one is faster and when?
#programming #quizzes
Yet another alternative to floating-point numbers
This shows how computable intervals written in rational bounds may not only account for the input error but keep computational error under control as well.
#mathematics #programming #quizzes
Why is it ok to divide by 0.0?
This explains why dividing by zero in floating-point numbers is ok.
#mathematics #programming
Error codes are not numbers. But they are. Can we exploit that?
An interactive explanation of how we can use floating-point NaNs as error code holders in C++.
#demos #mathematics #programming
Software​
2023-04-14 Software Project Checklist - Hix
- Version Control
- Unit Tests
- Integration Tests
- End-to-end Tests
- Code Test Coverage
- Static Code Analysis
- Runtime Code Analysis
- Dependency Analysis
- Monitoring Errors
- Monitoring Performance
- Environment Management
- Feature Flags
- Development environment setup
- Pre-commit configuration
- Continuous Integration
- Continuous Deployment
- Packages and Libraries
- Multiple language versions
- Multiple OS
- Back-end Projects
- HTTP Server
- Web Sockets
- Data Storage
- File Storage
- Data Serialization
- Searching
- Server-Side Validation
- Authentication
- Authorization
- Administration
- Multi-Tenancy
- Background Jobs
- Emails
- File-Templating
- Internationalization
- Payment Processing
- Front-end Projects
- UI Kit
- State Management
- Inputs
- Rich-Text Editors
- Forms
- Client-Side Validation
- Translations
- Animations
- Analytics
- Quick Summary
- Current State of Things
- The Future
- Conclusion
Education for free!​
2023-03-25 CSE325 Lecture Videos - YouTube
Low-Level C Programming – CSE 325 Lecture Videos
📢 2023-04-13 Ask HN: What are some of the best university courses available online for free? | Hacker News
Herb Gross's ultra-classic old-school chalkboard delivery of "Calculus of Complex Variables, Differential Equations, and Linear Algebra" should not be missed:
It turns out he also produced a complete series on the precursor material, "Single Variable Calculus" as well, which I only just now discovered:
https://ocw.mit.edu/courses/res-18-006-calculus-revisited-si...
This professor has a great delivery and a ton of enthusiasm for the subject material, (but you can't just watch it, to absorb it you have to take notes, maybe recreate the examples in Python or something).
MIT's 16.687 - Private pilot ground school. If you want to become a private pilot or start your career, this is the place to begin. The professors are approachable and the content is comprehensive. https://ocw.mit.edu/courses/16-687-private-pilot-ground-scho... all of the videos for the lectures are available on Youtube - https://www.youtube.com/playlist?list=PLUl4u3cNGP63cUdAG3v31...
avinassh 1 day ago | prev | next [–] Intro to Database Systems by Andy Pavlo - https://www.youtube.com/watch?v=oeYBdghaIjc&list=PLSE8ODhjZX...MIT 6.824 Distributed Systems by Robert Morris - https://www.youtube.com/watch?v=cQP8WApzIQQ&list=PLrw6a1wE39...
Syllabus and coursework for the database course: https://15445.courses.cs.cmu.edu/fall2022/schedule.html
It looks really good
It looks interesting and relevant!
Edit: link to course planning and labs https://pdos.csail.mit.edu/6.824/schedule.html
"The Making of Modern Ukraine" by Timothy Snyder: https://www.youtube.com/playlist?list=PLh9mgdi4rNewfxO7LhBoz...
As Prof. Snyder mentions in his introductory lecture, it is kind of wild that there are zero other classes, at any American university, focusing specifically on Ukraine given its importance in the current geopolitical climate.
Prof. Snyder is a great lecturer and the dynamics that shape Ukraine are fascinating and useful for understanding European history more broadly.
I really liked The Theoretical Minimum lectures on classical and quantum mechanics by Leonard Susskind (suggestion: google up the guy, he’s cool) at Stanford. You can buy books, but the lectures are all free on YouTube.
Classical mechanics playlist can be found here https://youtube.com/playlist?list=PL47F408D36D4CF129 and then there’s quantum mechanics available too, should be easily discoverable. And also there’s just https://theoreticalminimum.com/
gilbert strang's linear algebra https://youtube.com/playlist?list=PL49CF3715CB9EF31D. he has a few other linear algebra themed courses on there. very good because (1) he’s an incredible teacher, and (2) linear algebra is beautiful
The Science of the Solar System (Planetary Astronomy)
by Caltech Professor Mike "plutokiller" Brown
https://www.coursera.org/learn/solar-system
I really liked this course. Here's the blurb:
Learn about the science behind the current exploration of the solar system in this free class. Use principles from physics, chemistry, biology, and geology to understand the latest from Mars, comprehend the outer solar system, ponder planets outside our solar system, and search for habitability in our neighborhood and beyond. This course is generally taught at an advanced level assuming a prior knowledge of undergraduate math and physics, but the majority of the concepts and lectures can be understood without these prerequisites. The quizzes and final exam are designed to make you think critically about the material you have learned rather than to simply make you memorize facts. The class is expected to be challenging but rewarding.
It is also taught at Caltech, see https://mikebrown.caltech.edu/teaching/science-solar-system
Databases by prof. Widom, from Stanford. Currently the course is at edX, and split into 5 mini-courses. Everything in the course is well thought out and apparently polished and perfected over years of teaching practice and experience. There is nothing useless in the video lectures, and the course homework probes every topic from the lectures.
https://online.stanford.edu/courses/soe-ydatabases-databases
Songwriting, at Coursera, from Berklee College of Music. The guy just sits in a dark room, and explains the process of writing lyrics to songs. He just explains it very well.
https://www.coursera.org/learn/songwriting-lyrics
Financial Markets by Robert Shiller https://oyc.yale.edu/economics/econ-252
Seattle​
2023-04-09 Seattle Space Needle Panocam | Space Needle
2023-04-13 Secret Seattle - Your Complete Guide To Things To Do In Seattle