Skip to main content

· 11 min read


2023-05-28 Ditherpunk — The article I wish I had about monochrome image dithering —


Good Reads

2023-05-28 zakirullin/cognitive-load: 🧠 Cognitive Load Developer's Handbook

Cognitive load

Cognitive load is how much a developer needs to know in order to complete a task.

We should strive to reduce the cognitive load in our projects as much as possible.

The average person can hold roughly four facts in working memory. Once the cognitive load reaches this threshold, a significant effort is required to understand things.

*Let's say we've been asked to make some fixes to a completely unfamiliar project. We were told that a really smart developer had contributed to it. Lots of cool technologies, fancy libraries and trendy frameworks were used. In other words, the previous author had a high cognitive load in his head, which we are yet to recreate.*


Inheritance nightmare

We're tasked to change a few things for our admin users: 🧠

AdminController extends UserController extends GuestController extends BaseController

Ohh, part of the functionality is in BaseController, let's have a look: 🧠+ Basic role mechanics got introduced in GuestController: 🧠++ Things got partially altered in UserController: 🧠+++ Finally we're here, AdminController, let's code stuff! 🧠++++

Oh, wait, there's SuperuserController which extends AdminController. By modifying AdminController we can break things in the inherited class, so let's dive in SuperuserController first: 🤯

Prefer composition over inheritance. We won't go into the details - there are plenty of articles on the subject.

Complicated if statements

if val > someConstant // 🧠+
&& (condition2 || condition3) // 🧠+++, prev cond should be true, one of c2 or c3 has be true
&& (condition4 && !condition5) { // 🤯, we're messed up here

Introduce temporary variables with meaningful names:

isValid = var > someConstant
isAllowed = condition2 || condition3
isSecure = condition4 && !condition5
// 🧠, we don't need to remember conditions, there are descriptive variables
if isValid && isAllowed && isSecure {

2023-05-28 Modern work requires attention. Constant alerts steal it - Stack Overflow Blog We often describe working with focused attention as a flow state. As described in the book Flow: The Psychology of Optimal Experience by Mihaly Csikszentmihalyi, a flow state allows one to become fully engaged and focused on the task at hand. It leads to better results and greater happiness. But it can only happen when you have the attention to focus fully on whatever it is that lies before you. Why can’t we focus at work? The contemporary workspace, whether in-person or remote, is full of demands on your attention. We have chat programs, email inboxes, and project management apps all throwing notifications our way. In offices, you have other people tapping you on the shoulder and creating general noise (and woe betide those in open offices). Working remotely avoids some of these, but places the entire communication burden on chat and email applications with their little red notifications. These apps promise asynchronous communications, but that doesn’t always happen in practice.

2023-05-24 How to start a Go project in 2023 | Ben E. C. Boyter

I previously wrote about starting a Go project in 2018. A lot has changed since I wrote that and I had been wanting to write an updated version. What follows should be enough for anyone new to Go to get started and ideally start them being productive.

Quick links:

2023-05-24 google/comprehensive-rust: This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust to everyone.

This repository has the source code for Comprehensive Rust 🦀, a multi-day Rust course developed by the Android team. The course covers all aspects of Rust, from basic syntax to generics and error handling. It also includes deep dives on Android, bare-metal, and concurrency.


2023-05-26 The Fastest Maze-Solving Competition On Earth - YouTube


The Era of AI


2023-05-28 👃 imartinez/privateGPT: Interact privately with your documents using the power of GPT, 100% privately, no data leaks

Run GPT on your local machine!

Ask questions to your documents without an internet connection, using the power of LLMs. 100% private, no data leaves your execution environment at any point. You can ingest documents and ask questions without an internet connection! The supported extensions are:

  • .csv: CSV,
  • .docx: Word Document,
  • .doc: Word Document,
  • .enex: EverNote,
  • .eml: Email,
  • .epub: EPub,
  • .html: HTML File,
  • .md: Markdown,
  • .msg: Outlook Message,
  • .odt: Open Document Text,
  • .pdf: Portable Document Format (PDF),
  • .pptx : PowerPoint Document,
  • .ppt : PowerPoint Document,
  • .txt: Text file (UTF-8),

2023-05-26 #002 - Donald Trump • The Joe Rogan AI Experience

Disclaimer: This video depicts a fictional podcast between Joe Rogan and Donald Trump, with all content generated using AI language models. The ideas and opinions expressed in the podcast are not reflective of the thoughts of Joe Rogan or Donald Trump. The content portrayed in this video is purely for entertainment purposes


2023-05-13 upscayl/upscayl: 🆙 Upscayl - Free and Open Source AI Image Upscaler for Linux, MacOS and Windows built with Linux-First philosophy.

Upscayl lets you enlarge and enhance low-resolution images using advanced AI algorithms. Enlarge images without losing quality, it's almost like magic!


2023-05-06 🎨 nadermx/backgroundremover: Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.

BackgroundRemover is a command line tool to remove background from image and video using AI, made by nadermx to power If you wonder why it was made read this short blog post.


2023-05-29 FastStone Image Viewer, Screen Capture, Photo Resizer ...

Not an AI, but helps a lot with managing Stable Diffusion results



2023-05-28 BlockNote - Javascript Block-Based text editor | BlockNote

A beautiful text editor that just works. Easily add an editor to your app that users will love. Customize it with your own functionality like custom blocks or AI tooling.



- 🙊 2023-05-26 Podcast – You Are Not So Smart


- 🙊 2023-05-26 All Podcasts | Manager Tools



2023-05-28 Ask HN: Engineering managers, how do you onboard new hires? | Hacker News


  1. A week before their joining, we ship the laptop
  2. I'd have a calendar ready for them, which gives an overview of what they will be doing for the next three months
  3. First week goes into setting up the tooling on the machine. Someone from the product team gives an overview and entire product walkthrough. Next, they spend some to play with the product as a user. This week also involves the initial orientation session.
  4. We use Golang heavily, however, the people joining might not know it. The second week goes into doing the tour of Go.
  5. Third week they spend on onboarding tutorial that shows how to write a small service, generate APIs, build, and deploy it in our infra.
  6. Fourth week they will spend shipping a really small feature to the production.
  7. Since day one, they'd have assigned a buddy who becomes their go-to person. Buddy also explains them about the culture, how things typical done here etc. The buddy also creates a new slack channel just for them, where they can interact.
  8. They pair with the buddy in the initial weeks, where buddy is the driver.
  9. First three months, they'd spend working on a feature along with someone which also involves some good amount of pair programming.


  • Before you start we send an onboarding plan: As detailed as we can for the first 7 days (e.g. onboarding call, intro to this or that, pairing up with another Engineer), and much more high-level of expectations after 30 days and after 3 months

  • Everyone has an "onboarding buddy": This is an Engineer on their team and makes sure the other Engineer feels like it's their responsibility to spend time getting the new Engineer up-to-speed

  • If you're fully remote we try to fly you into our HQ (Copenhagen, Denmark) for the first week. We've had overwhelmingly good feedback on how big of a difference this makes in establishing connections and making people feel a lot more comfortable with the colleagues much earlier on.

  • We focus on giving you a lot of context initially: The organization, the team and their purpose, meeting up with your manager weekly so they can fill in the gaps continuously, intro to the overall tech infrastructure

  • We dive into the specifics via work: Finding smaller projects that are well scoped to get you into the various corners of the teams' domain

  • We knowledge share a lot via PR Reviews: Onboardees always add two people on the PRs to maximize knowledge sharing over speed initially. After a month or two they go down to just the regular 1 person and they themselves also start reviewing code

  • From then on: We freestyle, but have a continuous focus on learning. At this point, people are so unique and varied that we adjust on to their learning style, gaps, etc.

Everyone in the team is quite communicative. One thing we explicitly focus on is for new people to get comfortable asking in public channels instead of via DMs. This comes naturally to some, but not to others and they need some nudging and you showing off how its safe to do.

There's many more things we do, but those are some of the important parts of the top of my head :)

EDIT: Some context around our environment. We have our own CLI tool to quickly setup a dev environment as well as using GitHub Codespaces as a fallback. There's strong coverage of CI for checking everything is good, and things are deployed very often. We try to automate most of our flows, at least as much as we can to keep friction low, but also to minimize "things you need to just know".


2023-05-25 xorvoid

SectorC: A C Compiler in 512 bytes

SectorC (github) is a C compiler written in x86-16 assembly that fits within the 512 byte boot sector of an x86 machine. It supports a subset of C that is large enough to write real and interesting programs. It is quite likely the smallest C compiler ever written.

2023-05-22 Memory Allocation

One thing that all programs on your computer have in common is a need for memory. Programs need to be loaded from your hard drive into memory before they can be run. While running, the majority of what programs do is load values from memory, do some computation on them, and then store the result back in memory.

In this post I'm going to introduce you to the basics of memory allocation. Allocators exist because it's not enough to have memory available, you need to use it effectively. We will visually explore how simple allocators work. We'll see some of the problems that they try to solve, and some of the techniques used to solve them. At the end of this post, you should know everything you need to know to write your own allocator.


Research on RSS readers

I haven't found the one that I like yet.

2023-05-26 Tiny Tiny RSS

2023-05-26 yang991178/fluent-reader: Modern desktop RSS reader built with Electron, React, and Fluent UI

2023-05-26 stringer-rss/stringer: A self-hosted, anti-social RSS reader.

2023-05-26 👃 Athou/commafeed: Google Reader inspired self-hosted RSS reader.


2023-05-22 Developer Tools That Shouldn't Be Secrets Christian Heilmann GOTO 2022 - YouTube


Slides 2023-05-22 More devtools secrets Console.log to show variable name in the output, instead of console.log(x), put curly braces console.log({x}) so the output will be an object with one property.

2023-05-22 Dear Console,… - a collection of code snippets to use in the browser console


See ya!

· 6 min read


Good reads

2023-05-21 Why is OAuth still hard in 2023? | Nango Blog

Which parameters do they require in the authorize call?

  • For Jira, the audience parameter is key (and must be set to a specific fixed value). Google prefers to handle this through different scopes but really cares about the prompt parameter. Meanwhile, somebody at Microsoft discovered the response_mode parameter and demands that you always set it to query.

Problem 1: The OAuth standard is just too big and complex

Problem 2: Everybody’s OAuth is different in subtle ways

Problem 3: Many APIs add nonstandard extensions to OAuth

Problem 4: “invalid_request” — debugging OAuth flows is hard

Problem 5: Cumbersome approvals to build on top of APIs

Problem 6: OAuth security is hard and a moving target

As attacks have been uncovered, and the available web technologies have evolved, the OAuth standard has changed as well. If you’re looking to implement the current security best practices, the OAuth working group has a rather lengthy guide for you. And if you’re working with an API that is still using OAuth 1.0a today, you realize that backwards compatibility is a never-ending struggle.

Luckily, security is getting better with every iteration, but it often comes at the cost of more work for developers. The upcoming OAuth 2.1 standard will make some current best practices mandatory and includes mandatory PKCE (today only a handful of APIs require this) and additional restrictions for refresh tokens.

2023-04-24 🍏 Some mistakes I made as a new manager

I had an unusually hard time becoming a manager: I went back and forth three times before it stuck, mostly because I made lots of mistakes each time. Since then, as I had to grow my team and grow other folks into managing part of it, I’ve seen a lot of other people have varying degrees of a rough time as well—often in similar ways.

Three strategies helped me through it:

  • I was open with my manager when I was feeling down—sometimes I’d even explicitly ask him for a pep talk. Because he had a higher-level, longer-term perspective and had been a manager for longer, he was often able to point out ways I was having a big impact without noticing.
  • I asked people for feedback. I found that if I just asked “do you have any feedback for me?” people often wouldn’t, but if I asked more granular questions—“was that meeting useful?”—I would usually learn a lot from it. (See also § angsting.)
  • I built up other sources of fun and validation. For a long time, my work was the primary thing that helped me feel good about myself. Diversifying that to include more of friends, relationships, hobbies, Twitter likes, etc. smoothed out the ups and downs.

2023-04-06 C Strings and my slow descent to madness - by Diego Crespo


2023-05-18 User Driven UI

From the author of Juice! We use software to solve a problem. When someone chooses a new software product. Instead of solving their problem, we give them another. To learn the UI (User Interface). If the software is at a certain level of complexity, new users will only learn parts of it or not use it at all.



2023-05-21 Space Elevator


2023-04-19 Water3D


2023-04-19 The Man Who Lives In A Clock - YouTube


2023-04-16 💗 Cheat Sheet - Cube Tutorial

This page is a summary of all the steps and algorithms on one page. Only the algorithms are listed here without any explanation. It is intended as a quick reference when you just need a reminder on the algorithms to solve the cube. Visit the previous pages for detailed descriptions.



2023-05-21 Introduction - Learn WebGPU for C++ documentation



2023-04-16 5 useful extensions for Task T in .NET

Fire and forget

public static void FireAndForget(
this Task task,
Action<Exception> errorHandler = null)
task.ContinueWith(t =>
if (t.IsFaulted && errorHandler != null)
}, TaskContinuationOptions.OnlyOnFaulted);


var result = await (() => GetResultAsync()).Retry(3, TimeSpan.FromSeconds(1));


await GetResultAsync().OnFailure(ex => Console.WriteLine(ex.Message));
  1. Timeout
await GetResultAsync().WithTimeout(TimeSpan.FromSeconds(1));
  1. Fallback
var result = await GetResultAsync().Fallback("fallback");

Mental Health

2023-04-24 Opening up about my ADHD. Diagnosed at 34, I hope my story can… | by Kyle Gordon | Medium

It would be a mistake to write a blog about ADHD without having a summary at the beginning. I know I would need one. So here it is :

I’ve always had focus issues but I misdiagnosed them as problems related to energy. Through school and career I found that the only reliable way for me to motivate myself was to generate stress and consume an unhealthy amount of caffeine. At first doing work just before it’s due, and later in life harnessing it in a more healthy manner by faking early deadlines. Late 2021 I got sick and I couldn’t drink caffeine anymore and stress caused me a good deal of pain. Thought my career was over, so I turned to my doctor and she sent me to be evaluated for ADHD and Bipolar. Turns out I have ADHD and the medication has given me a new lease on life. Please, if you relate to my story at all, pursue help.

2023-04-18 GitHub - Fillyosopher/Reading-Helper: A dead-simple Bookmarklet and Chrome Extension implementation of something like Bionic Reading



2023-04-25 👷‍♀️ derwiki/layoff-runbook

Layoff Runbook

Being laid off can be overwhelming and it's easy to miss important tasks. This runbook will help make sure you stay on track.



2023-04-13 The Car Mechanics Video Course from How a Car Works



2023-05-20 Code Red: The Business Impact of Code Quality • Adam Tornhill • GOTO 2022 - YouTube

May the code be with you

2023-05-20 Engineering Documentation • Lorna Jane Mitchell • GOTO 2022 - YouTube

2023-05-20 Diátaxis

2023-05-20 - A linter for prose

· 9 min read


Good Reads

2023-05-13 Story: Redis and its creator antirez


n the world of databases, Redis stands out as unique. Instead of the usual tables or documents that are the central focus of most databases, with Redis, you interact directly with low-level data structures such as linked lists and hash tables.

This is all thanks to the innovative design of Redis creator Salvatore Sanfilippo, known online as antirez. A master in system programming, antirez prefers to think in terms of data structures like lists, hashes, and sets. The higher-level data representations, such as tables or documents, just didn't suit his taste. When creating Redis, antirez was an amateur in the database field. But perhaps it was this lack of experience that allowed him to bring fresh ideas to the industry.

2023-05-07 Scaling up the Prime Video audio/video monitoring service and reducing costs by 90% - Prime Video Tech

Me: Wow, Amazon, thank you for transparency!

At Prime Video, we offer thousands of live streams to our customers. To ensure that customers seamlessly receive content, Prime Video set up a tool to monitor every stream viewed by customers. This tool allows us to automatically identify perceptual quality issues (for example, block corruption or audio/video sync problems) and trigger a process to fix them.

2023-05-20 Grokking Simplicity: Taming complex software with functional thinking by Eric Normand - Summary & Notes | Christian B. B. Houmann

NOTES ON Grokking Simplicity: Taming complex software with functional thinking by Eric Normand



Implementing copy-on-write operations can help with immutability.

E.g. for adding items to arrays: slice the array (to copy), push the item to the array copy, and return the copied array.

Then you avoid modifying the original.

The basic steps of implementing copy-on-write are:

  1. Make a copy
  2. Modify copy as you like
  3. Return copy

Using copy-on-write, you convert write operation into read operations - you never modify the original data.

You can generalize most of these operations, so you don't have to implement copy & return every time you wish to modify something. Take for example this removeItems operation, which is the copy-on-write version of splice:

function removeItems(array, idx, count) {
const copy = array.slice();
copy.splice(idx, count);
return copy;

How do you make something that both reads and writes copy-on-write? Take Array.shift for example. You can either split the function into read & write, or you can return two values from the function. The former is preferable. shift shifts an array one to the left, i.e. it drops the 0 index element and then returns it. You can imitate the latter part of that operation by simply returning array[0]. You can convert the dropping of the 0th element to copy-on-write quite trivially as well: make a copy, use shift on the copy, and then return the copy.

And this is what the copy-on-write shift operation returning two values would look like:

function shift(array) {
const array_copy = array.slice();
const first = array_copy.shift();
return {first, array: array_copy};

2023-04-24 Is Critical Thinking the Most Important Skill for Software Engineers? - The Pragmatic Engineer

I still remember being in a meeting where a Very Respected Engineer was explaining how they are building a project, and they said something along the lines of "and, of course, idempotency is non-negotiable." I didn't know what idempotency was, and thus I could not tell why it was non-negotiable. I looked around, and everyone was nodding: but I knew I was missing something.


2023-05-20 MyHouse.wad - WAD Releases & Development - Doomworld


2023-05-20 MyHouse.WAD - Inside Doom's Most Terrifying Mod - YouTube


Original post:

Excited to finally release this tribute map. Last August I lost a good childhood friend of mine and took it pretty hard. When I was visiting my hometown for his funeral, I connected with his parents who shared with me some of his old belongings. Among them was a copy of an old map of his backed up on a 3.5” floppy from high school. Thomas and I were into amateur Doom mapping in the early 00s but I had never seen this map of his prior to uncovering it on one of the old floppy discs. As a way of paying tribute to him and all the great memories we had together, I took the plunge and installed Doom Builder in order to polish up his map and add a few modern amenities just for convenience sake.

Download myhouse.wad

2023-05-20 Street Fighter II, paper trails


2023-04-28 Delphi 11 and C++Builder 11 Community Editions Released!

Great News!



2023-05-20 Map of GitHub

Apache Spark in Bigdatia!


Thank you, Vu!

2023-05-20 pixpaint

how do I describe this? A very weird paint?


2023-05-07 🚀 Modern CSS Solutions


2023-04-30 Internet in a Box - Mandela's Library of Alexandria

Internet-in-a-Box “learning hotspots” are used in dozens of countries, to give everyone a chance, e.g. in remote mountain villages in India.

It works without internet — like a community fountain, but for the mind — wirelessly serving anyone nearby with a smartphone, tablet or laptop.

Now you too can put the internet in a box and customize it with the very best free content for your school, clinic or family!


The Era of AI


2023-05-20 smol-ai/developer: with 100k context windows on the way, it's now feasible for every dev to have their own smol developer

Human-centric & Coherent Whole Program Synthesis aka your own personal junior developer

Build the thing that builds the thing! a smol dev for every dev in every situation

this is a prototype of a "junior developer" agent (aka smol dev) that scaffolds an entire codebase out for you once you give it a product spec, but does not end the world or overpromise AGI. instead of making and maintaining specific, rigid, one-shot starters, like create-react-app, or create-nextjs-app, this is basically create-anything-app where you develop your scaffolding prompt in a tight loop with your smol dev.

AI that is helpful, harmless, and honest is complemented by a codebase that is simple, safe, and smol - <200 lines of Python and Prompts, so this is easy to understand and customize.

2023-05-15 brexhq/prompt-engineering: Tips and tricks for working with Large Language Models like OpenAI's GPT-4.

2023-05-20 Image Creator from Microsoft Bing


2023-04-26 ➕ Transformers from Scratch

Markov chain transition model


2023-05-17 cpp-best-practices/cmake_template

"cmake_template" is a C++ Best Practices GitHub template designed for quick C++ project setups. Currently undergoing a major update, it enables Address Sanitizer, Undefined Behavior Sanitizer, treats warnings as errors, and performs static analysis using clang-tidy and cppcheck. It uses CPM for dependencies and provides a basic CLI example, testing examples, and a large Github action testing matrix. It requires cmake and a compiler to use. The project includes a simple usage example of FTXUI, featuring a game.

2023-05-10 DNedic/lockfree: A collection of lock-free data structures written in standard C++11

What are lock-free data structures? Lock-free data structures are data structures that are thread and interrupt safe without having to use mutual exclusion mechanisms. Lock-free data structures are most useful for inter process communication, but due to the efficiency of lockfree, it can safely be used for single threaded uses as well, making it good for general purpose use.

2013-12-25 How to make smaller C and C++ binaries

This blog post presents several techniques to make the binaries resulting from C or C++ compilation smaller with GCC (or Clang). Please note that almost all techniques are tradeoffs, i.e. a smaller binary can be slower and harder to debug. So don't use the techniques blindly before understanding the tradeoffs.


2023-05-20 qgindi/LibreAutomate: C# script editor and automation library for Windows

C# script editor and automation library for Windows.

Some features of the automation library:

  • Automate desktop and web UI using keys, mouse and API. Find and click buttons, links, images.
  • Launch programs. Manage files and windows. Transfer and process text and other data.
  • Hotkeys, autotext and other triggers. Auto-replace/expand text when typing. Auto-close windows. Remap keys.
  • Custom toolbars that can be attached to windows or screen edges. And menus.
  • Custom dialog windows of any complexity can be created easily in code.
  • All classes/functions are documented.
  • The library can be used in other programs too. Can be installed from NuGet.
  • Uses .NET 6. image-20230519221305831


2023-05-01 ⭐ dylanaraps/pure-sh-bible: 📖 A collection of pure POSIX sh alternatives to external processes.

The goal of this book is to document commonly-known and lesser-known methods of doing various tasks using only built-in POSIX sh features.

What? O_O


Why jes pets every cat?


2023-05-07 Click 😶 (



2023-05-03 Eyecandy - Visual Technique Library



2023-05-07 Migrations - The Hardest Actual Problem in Computer Science • Matt Ranney • YOW! 2022 - YouTube

Using **randomly generated ids** instead of auto-incrementing ones in your database can better protect your data from unauthorized access. Auto-incrementing ids can be easily exposed and guessed, allowing access to your authorization system. This can potentially give competitors insight into your user and order numbers. Implementing a more secure id generation system is a proactive way to maintain confidentiality.

2023-05-06 3 things I learned from Bill Gates #leadership #leadertok #leadershipd... | TikTok


2023-04-19 Lightning Talk: How to Win at Coding Interviews - David Stone - CppCon 2022 - YouTube

Repeat question and clarify the ambiguity

Write an interface

Use a hashmap ;)

· 11 min read

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:

  1. Pay attention to the triggers.
  2. Examine the stories you’re telling yourself, and identify the cognitive distortions your mind might be employing.
  3. Don’t believe everything you think.
  4. Practice self-compassion.
  5. 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:

  1. Quality sleep
  2. Hydration
  3. Exercise
  4. Family and social time
  5. 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 image-20230413181213837

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



2023-03-31 🚩 Making an OBS 'Mute' Indicator - Parts Not Included



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-11 yangshun/tech-interview-handbook: 💯 Curated coding interview preparation materials for busy software engineers

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


2023-04-07 Comics Dani Donovan: ADHD Comics


2023-04-07 Brain pls work

ADHD-friendly Pomodoro web app image-20230413181054337

2023-04-07 Show HN: ADHD-friendly Pomodoro web app | Hacker News


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 {
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.


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


2023-04-14 Software Project Checklist - Hix

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:

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. all of the videos for the lectures are available on Youtube -

avinassh 1 day ago | prev | next [] Intro to Database Systems by Andy Pavlo - 6.824 Distributed Systems by Robert Morris -

Syllabus and coursework for the database course:

It looks really good

It looks interesting and relevant!

Edit: link to course planning and labs

"The Making of Modern Ukraine" by Timothy Snyder:

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 and then there’s quantum mechanics available too, should be easily discoverable. And also there’s just

gilbert strang's linear algebra 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

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

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.

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.

Financial Markets by Robert Shiller


2023-04-09 Seattle Space Needle Panocam | Space Needle


2023-04-13 Secret Seattle - Your Complete Guide To Things To Do In Seattle


· 9 min read

Good Reads

2023-03-24 Juice

Juice is the non-essential visual, audio & haptic effects that enhance the player's experience. For example, the delightful chimes sound that plays when Mario collects a mushroom. The 1UP text that appears is essential.


2023-03-23 GOTOphobia considered harmful (in C)

The main points of this article are:

  • The fear of using the goto statement in programming is called "gotophobia" and is usually caused by misunderstanding and lack of context.
  • Dijkstra's "go to statement considered harmful" was written in the 60s when goto was the main method of flow control, but now programmers tend to avoid using goto even when it's appropriate.
  • Using goto over short distances with well-documented labels can be more effective, faster, and cleaner than other constructs.
  • The article presents some situations and patterns where goto could be an acceptable choice and discusses goto-less alternatives and their potential drawbacks.

The article:

  • GOTOphobia considered harmful (in C)
  • Resources
  • Error/exception handling & cleanup
  • Restart/retry
  • Less trivial example
  • Common code in switch statement
  • Nested break, labeled continue
  • Simple state machines
  • Jumping into event loop
  • Optimizations
  • Structured Programming with go to Statements

2023-03-18 The Contentious Art of Pull Requests - DEV Community

image-20230325113726597 This article discusses the benefits and downsides of code reviews and pull requests. The author argues that git has greatly improved the code review process, but also acknowledges that developers can be snarky and opinionated. The author shares their own “Pull Request Rules” to help mitigate these downsides, including defining/enforcing code styling in the linter and being cautious when making bold statements on someone’s pull request. See also from this series: Codility === Sadness - DEV Community

2023-02-27 Writing an engineering strategy. Irrational Exuberance

A guide on how to write an effective engineering strategy that aligns with the business goals and communicates clearly to stakeholders.

strategy, strategy, strategy, strat...

Fun / Games

2023-03-25 Floor796

Animated isometric madness



2023-03-16 After Dark Screensavers in CSS



2023-03-16 Rotating Sandwiches – that's it

And they rotate!


2023-03-16 Lander

Lander, a lunar lander style web game


2023-03-16 Digger


2023-03-25 Wolfenstein 3D

2023-03-16 midzer/wolf4sdl: Emscripten-Port of Wolfenstein 3D and Spear of Destiny



2023-03-24 ww898/utf-cpp: UTF-8/16/32 C++11 header only library for Windows / Linux / MacOs

C++ UTF library with permissive licensing (MIT). Used in Far2L

2023-03-18 CppCon 2018: Bob Steagall “Fast Conversion From UTF-8 with C++, DFAs, and SSE Intrinsics” - YouTube

Slides: 2023-03-18 CppCon2018/Presentations/fast_conversion_from_utf8_with_cpp_dfas_and_sse_intrinsics at master · CppCon/CppCon2018 Code: 2023-03-18 BobSteagall/utf_utils: My work on high-speed conversion of UTF-8 to UTF-32/UTF-16 Bob Steagall's blog: 2023-03-18 The State Machine – All Your C++ Are Belong To Us


2023-03-20 How Async/Await Really Works in C# - .NET Blog

This article provides an in-depth look at the history, design decisions, and implementation details of async/await in C# and .NET.

// To make a method asynchronous, add the 'async' keyword before its return type
// and change its return type to 'Task' or 'Task<T>' if it returns a value of type T
public async Task MyAsyncMethod()
// Use the 'await' keyword before calling an asynchronous method
// This will make the method wait for the asynchronous operation to complete
// before continuing execution
await SomeAsyncMethod();

// You can also use 'await' with a Task object
Task myTask = SomeAsyncMethod();
await myTask;

// You can use 'await' in a loop to wait for multiple asynchronous operations
foreach (var item in myCollection)
await SomeAsyncMethod(item);

// You can use 'Task.WhenAll' to wait for multiple asynchronous operations to complete
Task[] tasks = myCollection.Select(item => SomeAsyncMethod(item)).ToArray();
await Task.WhenAll(tasks);


2023-03-18 Create and download text files using JavaScript — Amit Merchant — A blog on PHP, JavaScript, and more

function saveTextAsFile(textToWrite, fileNameToSaveAs, fileType) {
let textFileAsBlob = new Blob([textToWrite], { type: fileType });
let downloadLink = document.createElement('a'); = fileNameToSaveAs;
downloadLink.innerHTML = 'Download File';

if (window.webkitURL != null) {
downloadLink.href = window.webkitURL.createObjectURL(
} else {
downloadLink.href = window.URL.createObjectURL(textFileAsBlob); = 'none';



2023-03-19 ⭐ Functional Programming with TypeScript - YouTube


GPT Prompts

ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT, ChatGPT,

2023-03-18 f/awesome-chatgpt-prompts: This repo includes ChatGPT prompt curation to use ChatGPT better.

2023-03-18 humanloop/awesome-chatgpt: Curated list of awesome tools, demos, docs for ChatGPT and GPT-3

2023-03-18 yokoffing/ChatGPT-Prompts: ChatGPT and Bing AI prompt curation

2023-03-18 promptslab/Awesome-Prompt-Engineering: This repository contains a hand-curated resources for Prompt Engineering with a focus on Generative Pre-trained Transformer (GPT), ChatGPT, PaLM etc

2023-03-15 A weapon to surpass Metal Gear - Xe Iaso

2023-03-14 cogentapps/chat-with-gpt: An open-source ChatGPT app with a voice

2023-03-14 GPT-4

Copilot prompt samples / cheat sheet

2023-03-01 Using Copilot to review code and fund Open-Source projects : GithubCopilot

A Reddit post that introduces a new project called Copilot Reviewer, which uses GitHub Copilot to automatically generate code reviews and donate the proceeds to open-source projects.

2023-03-01 ❤ Using Copilot to Review Code And Fund Open-Source Projects

You are a senior web developer with lots of experience writing full-stack applications. Your main job is to do code reviews, i.e. to spot in code diffs the potential bugs, or refactorings that could make the code more secure, performant, or maintainable. Your comments are cheerful, informative, and take the shape of suggestions, not orders. Let me give you a diff to comment on.

2023-03-01 11 GitHub Copilot Examples : Can A.I. Actually Help You Code? - MLK - Machine Learning Knowledge

An article that showcases 11 GitHub Copilot examples that demonstrate how the AI-powered tool can help you code faster and better. It covers various use cases such as writing tests, documentation, algorithms, web apps, data analysis and more.

2023-03-01 8 things you didn’t know you could do with GitHub Copilot The GitHub Blog

A blog post that reveals some of the hidden features and tips for using GitHub Copilot effectively. It includes how to use different languages, frameworks, libraries, APIs, snippets, comments and more with Copilot.

2023-03-01 1 week with GitHub Copilot: Building an app using only Copilot - LogRocket Blog

A blog post that documents the experience of building a full-stack web app using only GitHub Copilot as a guide. It describes the challenges, surprises and learnings from using the AI assistant for every step of the development process.

2023-03-01 Why Use GitHub Copilot And Copilot Labs: Practical Use Cases for the AI Pair Programmer - DEV Community

A blog post that explains why GitHub Copilot is a useful tool for developers of all levels and backgrounds. It also introduces Copilot Labs, a new feature that allows users to experiment with different scenarios and domains with Copilot.


2023-03-17 antimatter15/alpaca.cpp: Locally run an Instruction-Tuned Chat-Style LLM

2023-03-15 ggerganov/llama.cpp: Port of Facebook's LLaMA model in C/C++

2023-03-15 setzer22/llama-rs: Run LLaMA inference on CPU, with Rust 🦀🚀🦙

Azure Active Directory

2023-03-18 ⭐ Azure Active Directory - Security Overview -

After working with Azure AD for a looong time I always forget how complex it has gotten over the years, with all the new features and capabilities that have been introduced.

Therefore, I decided that I wanted to create an overview of the endpoints/integrations/connections/features in the ecosystem. Mostly for myself but hopefully it can be useful for others as well to get a glimpse at all the features in the service. I will be during the next couple of weeks be adding information about the different endpoints and services here as well so that people can get a bit more detailed description of the unique features as well.

Download the VISIO Here –>

Download the PNG Here –>

Archived image (right click / open in new tab to make larger): img



2023-03-17 johnkerl/miller: Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON


2023-03-14 Release scrcpy v2.0 · Genymobile/scrcpy

pronounced "screen copy"

This application mirrors Android devices (video and audio) connected via USB or over TCP/IP, and allows to control the device with the keyboard and the mouse of the computer. It does not require any root access. It works on Linux, Windows and macOS.



2023-03-12 emacs-tw/awesome-emacs: A community driven list of useful Emacs packages, libraries and other items.

Emacs / Windows remap CapsLock to Ctrl

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00

Video processing

2023-03-23 mifi/lossless-cut: The swiss army knife of lossless video/audio editing

LosslessCut aims to be the ultimate cross platform FFmpeg GUI for extremely fast and lossless operations on video, audio, subtitle and other related media files. The main feature is lossless trimming and cutting of video and audio files, which is great for saving space by rough-cutting your large video files


Watch me!

2023-03-17 How Discord Stores Trillions of Messages | Deep Dive - YouTube

Video review for article How Discord Stores Trillions of Messages

In 2017, we wrote a blog post on how we store billions of messages. We shared our journey of how we started out using MongoDB but migrated our data to Cassandra because we were looking for a database that was scalable, fault-tolerant, and relatively low maintenance. We knew we’d be growing, and we did!

We wanted a database that grew alongside us, but hopefully, its maintenance needs wouldn’t grow alongside our storage needs. Unfortunately, we found that to not be the case — our Cassandra cluster exhibited serious performance issues that required increasing amounts of effort to just maintain, not improve.

Almost six years later, we’ve changed a lot, and how we store messages has changed as well.

· 8 min read


2023-03-08 Rules for Radical Cpp Engineers - Improve Your C++ Code, Team, & Organization - David Sankel CppCon - YouTube

David Sankel is talking about politics and driving political change in your organization. The talk is based on Rules for Radicals - Wikipedia by Saul Alinsky.

image-20230311095214422 The Rules

  • "Power is not only what you have but what the enemy thinks you have."
  • "Never go outside the expertise of your people."
  • "Whenever possible go outside the expertise of the enemy."
  • "Make the enemy live up to its own book of rules."
  • "Ridicule is man's most potent weapon. There is no defense. It is almost impossible to counterattack ridicule. Also it infuriates the opposition, who then react to your advantage."
  • "A good tactic is one your people enjoy."
  • "A tactic that drags on too long becomes a drag."
  • "Keep the pressure on."
  • "The threat is usually more terrifying than the thing itself. "
  • "The major premise for tactics is the development of operations that will maintain a constant pressure upon the opposition."
  • "If you push a negative hard and deep enough it will break through into its counterside; this is based on the principle that every positive has its negative."
  • "The price of a successful attack is a constructive alternative."
  • "Pick the target, freeze it, personalize it, and polarize it. "

and Ella Jo Baker - Wikipedia

2023-03-11 Keynote - Building Teams Through Systems Thinking and Stories - Scott Hanselman - YouTube


A fun talk which will improve your mood and charge your Tesla! a talk by Scott Hanselman that explores the role of the senior engineer as a colleague to an early-in-career engineer, the difference between learning how to code and learning how to think about systems, and the difference between mentorship and sponsorship. The video aims to facilitate a welcoming culture of learning and exploration and normalize not knowing the answer.

Good Reads

2023-03-07 12 Habits of Successful Senior Software Developers Alex Hyett

  1. Not being afraid to ask questions
  2. Test your own code
  3. Being quick to ask for help
  4. Be reliable
  5. Question everything
  6. Automate everything
  7. Take ownership of your work
  8. Keep Learning
  9. Leave the code in a better state than you found it
  10. Get very good at solving problems
  11. See the big picture
  12. Think first, code last

2023-03-03 📌 Demystifying bitwise operations, a gentle C tutorial andreinc

This article is an early draft tutorial on bitwise operations, a fundamental part of computer science. It explains how computers represent and manipulate data and the importance of bitwise operations in writing performance-critical code. image-20230311102558538

2023-03-03 Why Python keeps growing, explained The GitHub Blog

Python is the most popular programming language in the world. It’s used by millions of developers, and it’s the language of choice for many of the world’s most popular websites and applications. But why is Python so popular? Why does it keep growing? And what does the future hold for Python? In this post, we’ll explore the reasons why Python is so popular, and why it’s likely to keep growing in the future.

2023-03-03 Why Python keeps growing, explained Hacker News Discussion image-20230311103957174

2023-02-28 "Clean" Code, Horrible Performance - by Casey Muratori

An article and video that criticizes some of the common practices of “clean” code that can lead to poor performance and complexity in software development. image-20230311103937187


2023-03-08 Free The Game Boy - Battery free Game Boy

This page is about the ENGAGE project, which is a battery-free, energy harvesting Game Boy that can play retro games using solar panels and button presses. The page describes the challenges and solutions of designing such a device.


2023-03-11 Self hosting in 2023 - Grifel

Inspired by @JeffGeerling and his videos about creating a Pi Cluster I bought myself a second hand Raspberry Pi 4b 4GB for around 60$. There are of course alternatives to it, but I’ve had one of those running already for almost a year with literally 0 downtime. image-20230311100404270

30 Days

2023-03-03 Asabeneh/30-Days-Of-Python

30 days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than100 days, follow your own pace.

2023-03-03 Asabeneh/30-Days-Of-JavaScript

30 days of JavaScript programming challenge is a step-by-step guide to learn JavaScript programming language in 30 days. This challenge may take more than 100 days, please just follow your own pace.

2023-03-03 swapnilsparsh/30DaysOfJavaScript

Projects made during the 30 days of the JavaScript challenge

2023-03-03 xeoneux/30-Days-of-Code

👨‍💻 30 Days of Code by HackerRank Solutions in C, C++, C#, F#, Go, Java, JavaScript, Python, Ruby, Swift & TypeScript. PRs Welcome! 😄

2023-03-03 Asabeneh/30-Days-Of-React

30 Days of React challenge is a step by step guide to learn React in 30 days. It requires HTML, CSS, and JavaScript knowledge. You should be comfortable with JavaScript before you start to React. If you are not comfortable with JavaScript check out 30DaysOfJavaScript. This is a continuation of 30 Days Of JS. This challenge may take more than 100 days, follow your own pace.

2023-03-03 ThinamXx/300Days__MachineLearningDeepLearning

I am sharing my Journey of 300DaysOfData in Machine Learning and Deep Learning.

2023-03-03 cHowTv/300days-of-hacking

This program is aimed at teaching young and aspiring hackers the skills they need to stand out in the pretesting community... Keep your eyes out for updates on this repo. Professionals/Beginners are welcomed to fork and contribute to the community...


2023-03-08 gabime/spdlog: Fast C++ logging library.

Very fast, header-only/compiled, C++ logging library.

2023-03-08 fmtlib/fmt: A modern formatting library

{fmt} is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams.

Some research about bringing Rust's Result in C++ code:


2023-03-07 Tutorial: Use Azure Functions to process real-time data from Azure Event Hubs and persist to Azure Cosmos DB - DEV Community

a tutorial on how to use Azure Functions to process real-time data from Azure Event Hubs and persist it to Azure Cosmos DB. It demonstrates how to combine a real-time data ingestion component with a Serverless processing layer using a sample app.

If you want to ingest data from Event Hub to Cosmos DB, one possible solution is to use Azure Functions with an Event Hub trigger and a Cosmos DB output binding. This way, you can process real-time data from Event Hubs and persist it to Cosmos DB123.

To implement this solution, you need to:

Create an Event Hub namespace and an event hub

Create a Cosmos DB account, database and container

Create a Function App with an Event Hub trigger function

Configure the function settings with the connection strings for Event Hubs and Cosmos DB

Add a Cosmos DB output binding annotation to your function code

Write your function logic to process the event data and return a document object for Cosmos DB


2023-03-03 Use GNU Emacs

Use GNU Emacs. The Plain Text Computing Environment


Markdown WYSIWYG editors

Web and JavaScript

2023-03-07 js-snow-bookmarklet/bookmarklet.js at master · wonderful72pike/js-snow-bookmarklet

Just a simple and fun bookmarklet! ❄ ❄

❄ ❄ ❄ ❄ ❄

❄ ❄ ____

❄❄ ❄ ❄ ❄❄


  • 2023-03-03 viraptor/reverse-interview: Questions to ask the company during your interview

    This is a list of questions which may be interesting to a tech job applicant. The points are not ordered and many may not apply to a given position or work type. It was started as my personal list of questions, which grew over time to include both things I'd like to see more of and red flags which I'd like to avoid. I've also noticed how few questions were asked by people I interviewed and I think those were missed opportunities.

· 8 min read

Good Reads

2023-02-24 iggredible/Learn-Vim: Learning Vim and Vimscript doesn't have to be hard. This is the guide that you're looking for 📖

It is a guide to learn the good parts of Vim, a powerful text editor. It covers topics such as starting Vim, editing text, moving around, searching, macros, registers, buffers, windows, tabs and more. Written in a clear and concise style with examples and exercises. The guide is suitable for beginners who want to learn Vim quickly and efficiently.

2023-02-16 The dangers behind image resizing



2023-02-18 World's Largest Photo of New York City

80k megapixel panorama photograph of New York City (2021) This is my screren! image-20230224212200512

2023-02-17 Rejected Emoji Proposals

image-20230224212723032 Oh, 💩!

2023-02-24 If you drag an emoji family with a string size of 11 into an input with maxlength=10, one of the children will disappear.


2023-02-24 Even hackers are reportedly getting laid off by organized crime groups


2023-02-21 I made a game, Tippy Coco

Tippy Coco is a free, open-source game by Chris Coyne ( / @malgorithms). The inspiration for this game was Slime Volleyball, a 1999 Java Applet by Daniel Wedge & Quin Pendragon. I called an earlier version of this game They Came from the Ground.

The game is programmed in JavaScript (well, TypeScript) and uses simple HTML Canvas drawing.

Music in Tippy Coco is by my friend Christian Rudder, of the band Bishop Allen. "Rejected!" and "Slam!" and "Kiss" were voiced by Jennie, Cameron, and Abbott Coyne. And the character TippyCoco is named after our friends' dog, TippiCocoa. image-20230224205220716

Teaching the Machine!

2023-02-23 Yann LeCun's Publications

A set of examples and publications I am currently following for Machine Learning exercise. I subconsciously do not trust these machine learners and now I am trying to figure out why :D.

2023-02-21 Mathematical notation for JavaScript developers explained

This article explains how to use mathematical notation in JavaScript, such as dot and cross symbols for scalar and vector products, sigma and pi symbols for summation and multiplication of sequences, bars for absolute value and norm of vectors, etc. It also provides code snippets that demonstrate how to implement these operations using built-in methods or libraries image-20230224205333395

2023-02-20 GitHub - PacktPublishing/Hands-On-Machine-Learning-with-CPP: Hands-On Machine Learning with C++, published by Packt

Got this! Hands-On Machine Learning with C++: Build, train, and deploy end-to-end machine learning and deep learning pipelines eBook : Kolodiazhnyi, Kirill: Kindle Store image-20230224211403952

2023-02-18 Introduction to Machine Learning using C++ Engineering Education EngEd Program Section

The article aims to teach beginners how to use C++ for machine learning by providing a clear and concise tutorial with code examples. It also encourages readers to explore more advanced topics and applications of machine learning using C++

Yeah, I have asked BingGPT: 📢 please summarize the article in your own words: extract main points and ideas as a list, write a short summary for each item.

Use more fluent language, pleasant to read.

C# and .NET

2023-02-20 What is .NET, and why should you choose it? - .NET Blog

The article explains what .NET is and why developers should choose it as their platform for building applications. It highlights the benefits of .NET such as being free, cross-platform, open source, fast, secure, and supported by Microsoft and a large community. It also describes how .NET works as a unified platform that consists of multiple components such as languages, libraries, frameworks, tools, and runtimes. The article gives examples of different types of applications that can be built with .NET such as web apps, mobile apps, desktop apps, cloud services, games, IoT devices, and more. It also showcases some success stories of companies and developers who have used .NET to create innovative solutions for various domains.


2023-02-19 danielgatis/rembg: Rembg is a tool to remove images background

Works! But Python. image-20230224211602513

2023-02-18 robinmoisson/staticrypt: Password protect a static HTML page

HN StatiCrypt uses AES-256 to encrypt your HTML file with your passphrase and return a static page including a password prompt and the javascript decryption logic that you can safely upload anywhere (see what the page looks like).

2023-02-18 How to Extract Images from a Video Using FFmpeg - Bannerbear

2023-02-18 Sweet Home 3D - Draw floor plans and arrange furniture freely

Sweet Home 3D is a free interior design application which helps you draw the plan of your house, arrange furniture on it and visit the results in 3D.

Need to get back to this tool to model the home of my dream! image-20230224212555479

2023-02-16 johansatge/jpeg-autorotate: 📸 Node module to rotate JPEG images based on EXIF orientation.


2023-02-16 How To Build A Magazine Layout With CSS Grid Areas — Smashing Magazine

As a bonus, we will also touch on object-fit and aspect-ratio, which come in handy as well. image-20230224220537146

A Keypad to Control my Entire Desk Setup

image-20230224215831575 2023-02-24 GitHub - davidz-yt/desk-controller: A Keypad to Control my Entire Desk Setup

2023-02-24 Work From Hype - YouTube


2023-02-21 Snort - Network Intrusion Detection & Prevention System

I just put it here, it is so cool

Snort is the foremost Open Source Intrusion Prevention System (IPS) in the world. Snort IPS uses a series of rules that help define malicious network activity and uses those rules to find packets that match against them and generates alerts for users.

Snort can be deployed inline to stop these packets, as well. Snort has three primary uses: As a packet sniffer like tcpdump, as a packet logger — which is useful for network traffic debugging, or it can be used as a full-blown network intrusion prevention system. Snort can be downloaded and configured for personal and business use alike.image-20230224205015067

2023-02-19 Security Event Triage: Detecting Malicious Traffic with Signature and Session Analysis Pluralsight

Pluralsight training where I've learned about S N O R T !

Good training.


2023-02-23 a day in the life of an engineer working from home - YouTube

Oh, this is fun! 2023-02-19 if Apple made window blinds... - YouTube

2023-02-21 Standard C++ toolset - Anastasia Kazakova - Meeting C++ 2022 - YouTube

C++ is about to turn 40. Though the ecosystem was very diverse and incomplete for many years, it is getting better! In this talk, I will discuss: The typical “project model - compiler - debugger” triad, and how it still depends on the area of usage (Embedded or Game Development). How the build systems and dependency managers are now more standard. How Clang affected the standard toolset in all areas, forming not only a baseline for compilers, but also formatters, code analyzers, and IDEs. How many code analyzers exist for C++ and why there is still room for improvement. How unit testing and code coverage solutions can be used effectively. And finally, how the language committee is learning to listen to and help standard toolset contributors.

Oh, Scala

I just put it here

2023-02-16 From ES6 to Scala: Basics - Scala.js 2023-02-15 GitHub - alexandru/scala-best-practices: A collection of Scala best practices 2023-02-15 lauris/awesome-scala: A community driven list of useful Scala libraries, frameworks and software. 2023-02-15 Scalafix · Refactoring and linting tool for Scala 2023-02-14 zouzias/spark-hello-world: A simple hello world using Apache Spark 2023-02-14 sbt Reference Manual — Installing sbt on Windows 2023-02-14 lolski/sbt-cheatsheet: Simple, no-nonsense guide to getting your Scala project up and running 2023-02-14 marconilanna/scala-boilerplate: Starting point for Scala projects 2023-02-13 Hyperspace indexes for Apache Spark - Azure Synapse Analytics Microsoft Learn 2023-02-13 The Azure Spark Showdown - Databricks VS Synapse Analytics - Simon Whiteley - YouTube 2023-02-06 ossu/computer-science: Path to a free self-taught education in Computer Science!

Value Objects

I am just to lazy to read this Some of this stuff could be totally wrong, and I agree and disagree with everything

2023-01-08 Value Objects ·

2023-01-08 Java Value Objects in Action with Valhalla - JEP Café #15 - YouTube

2023-01-08 Value Objects Explained

2023-01-08 Value Objects - DDD w/ TypeScript Khalil Stemmler

2023-01-08 Value Object Refactoring Shaun Finglas

2022-12-28 Domain-Driven Design Reference

· 10 min read

These links got out of hand... I thought I should read more Hacker News... No, I should not read MORE Hacker News.

Good Reads

2023-02-12 How a single line of code brought down a half-billion euro rocket launch

It’s Tuesday, June 4th, 1996, and the European Space Agency is set to launch its new Ariane 5 rocket for the first time. This is the culmination of a decade of design, testing and a budget spending billions of euros.

imgAriane-5 rocket in preparation for launch (Credits ESA 1996)

2023-02-10 Is Seattle a 15-minute city? It depends on where you want to walk

What makes this article interesting, besides the main content, are references to apps, maps and APIs from where the data got fetched.

This could be a pivotal year for mobility in Seattle. In the final week of January, Seattle won $25.7 million in federal grants to build safer streets, made transit free for 10,000 Seattle Housing Authority residents, and solicited public feedback on a major update to the city’s Comprehensive Plan. To transform this momentum into meaningful change, we need a catalyst—a coherent, powerful vision for moving around Seattle.

Consider the 15-minute city: first imagined by Carlos Moreno and most fully realized (so far) in Paris, this model describes a metropolis where residents can satisfy the full spectrum of their daily needs within a 15-minute walk or bike ride.

A diagram showing amenities that should be accessible in the 15-minute city.Concept diagram of the 15-minute city. Source: @re_visionuk

​ 2023-01-17 The Cab Ride I'll Never Forget Kent Nerburn

There was a time in my life twenty years ago when I was driving a cab for a living. It was a cowboy’s life, a gambler’s life, a life for someone who wanted no boss, constant movement and the thrill of a dice roll every time a new passenger got into the cab.

What I didn’t count on when I took the job was that it was also a ministry. Because I drove the night shift, my cab became a rolling confessional. Passengers would climb in, sit behind me in total anonymity and tell me of their lives.


2023-02-06 Flappy Birdle - Flappy Bird meets Wordle by AE Studio


Apache Spark, SQL, BigData

2023-02-12 Spark SQL Shuffle Partitions - Spark By {Examples}

In this Apache Spark Tutorial, you will learn Spark with Scala code examples and every sample example explained here is available at Spark Examples Github Project for reference. All Spark examples provided in this Apache Spark Tutorial are basic, simple, and easy to practice for beginners who are enthusiastic to learn Spark, and these sample examples were tested in our development environment.

2023-02-12 SQL Window Functions: Ranking

This is an excerpt from my book SQL Window Functions Explained. The book is a clear and visual introduction to the topic with lots of practical exercises.

Ranking means coming up with all kinds of ratings, starting from the winners of the World Swimming Championships and ending with the Forbes 500.

We will rank records from the toy employees table:

│ id │ name │ city │ department │ salary │
│ 11 │ Diane │ London │ hr │ 70 │
│ 12 │ Bob │ London │ hr │ 78 │
│ 21 │ Emma │ London │ it │ 84 │
│ 22 │ Grace │ Berlin │ it │ 90 │
│ 23 │ Henry │ London │ it │ 104 │
│ 24 │ Irene │ Berlin │ it │ 104 │
│ 25 │ Frank │ Berlin │ it │ 120 │
│ 31 │ Cindy │ Berlin │ sales │ 96 │
│ 32 │ Dave │ London │ sales │ 96 │
│ 33 │ Alice │ Berlin │ sales │ 100 │


Table of contents:

2023-02-12 Apache Spark Core—Deep Dive—Proper Optimization Daniel Tomes Databricks - YouTube

Optimizing spark jobs through a true understanding of spark core. Learn: What is a partition? What is the difference between read/shuffle/write partitions? How to increase parallelism and decrease output files? Where does shuffle data go between stages? What is the "right" size for your spark partitions and files? Why does a job slow down with only a few tasks left and never finish? Why doesn't adding nodes decrease my compute time?


2023-02-11 How to Train Really Large Models on Many GPUs? Lil'Log

In recent years, we are seeing better results on many NLP benchmark tasks with larger pre-trained language models. How to train large and deep neural networks is challenging, as it demands a large amount of GPU memory and a long horizon of training time.

However an individual GPU worker has limited memory and the sizes of many large models have grown beyond a single GPU. There are several parallelism paradigms to enable model training across multiple GPUs, as well as a variety of model architecture and memory saving designs to help make it possible to train very large neural networks.

2023-01-25 Event Hubs ingestion performance and throughput Vincent-Philippe Lauzon’s

Here are some recommendations in the light of the performance and throughput results:

  • If we send many events: always reuse connections, i.e. do not create a connection only for one event. This is valid for both AMQP and HTTP. A simple Connection Pool pattern makes this easy.
  • If we send many events & throughput is a concern: use AMQP.
  • If we send few events and latency is a concern: use HTTP / REST.
  • If events naturally comes in batch of many events: use batch API.
  • If events do not naturally comes in batch of many events: simply stream events. Do not try to batch them unless network IO is constrained.
  • If a latency of 0.1 seconds is a concern: move the call to Event Hubs away from your critical performance path.

Let’s now look at the tests we did to come up with those recommendations.


2023-01-13 GitHub - sickcodes/Docker-OSX

Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers. image-20230212185800760

2023-02-12 Vanilla List The Vanilla JavaScript Repository

a directory of "vanilla" JavaScript controls and plugins. image-20230212142409931

2023-02-12 Design Patterns in TypeScript


2023-02-12 Nevin1901/erlog: Minimalist log collector

ErLog is a minimalist log collection service. You can either forward structured logs from existing log libraries (eg: zerolog or winston), or use the collector to forward structured logs from stdout or stderr (coming soon).

2023-02-10 DSchroer/dslcad: DSLCad is a programming language & interpreter for building 3D models.

DSLCAD is a programming language & interpreter for building 3D models.

Inspired by OpenSCAD, it has a language and 3D viewer to simplify the modeling experience.


2023-02-10 Logic Gate Simulator - Free, interactive, education.

A free, simple, online logic gate simulator. Investigate the behaviour of AND, OR, NOT, NAND, NOR and XOR gates. Select gates from the dropdown list and click "add node" to add more gates. Drag from the hollow circles to the solid circles to make connections. Right click connections to delete them. See below for more detailed instructions.

2023-02-12 GitHub - brycedrennan/imaginAIry: AI imagined images. Pythonic generation of stable diffusion images.

AI imagined images. Pythonic generation of stable diffusion images.

"just works" on Linux and macOS(M1) (and maybe windows?). image-20230212193735159


Work and Planning

2023-02-10 Why backlogs are harmful, why they never shrink, and what to do instead

Do you remember your backlog ever shrinking? Of course you don’t. Backlogs never shrink.

Backlogs never shrink because the list of things we’d eventually like to do never shrinks, and that’s what backlogs are: a bunch of unimportant tasks that we’ll *eventually* get to, but not today.

2023-02-10 How to build an in-house on-call training program - Blog

A critical element of a successful SRE team is maintaining an on-call schedule. Engineers need to be at the ready on a predetermined rotation to fix issues on existing services and infrastructure as they arise.

Having an on-call schedule is only part of the equation. Your SRE and DevOps engineers need to be trained in how to actually resolve issues. A complete training program ensures that proper procedure becomes second nature for your team, so that they can arrive at resolutions as quickly as possible.

Let’s take a closer look at why these programs are necessary, what an effective in-house, on-call training program generally looks like, and how to leverage one to train and mentor new members of your SRE team.

2023-01-09 8 Hard Truths I learned when I got laid off from my SWE job Steven Buccini

I got laid off from a software engineering job in April of 2020.

I haven’t talked about this publicly for a variety of reasons, including Hard Truth #6 (Honesty Can Only Hurt You). And everything worked out for me in the end.1 So why even bother publishing a post about my experience, and why now? I got laid off in April 2020 when all the talking heads were saying a recession was inevitable. Sound familiar?

Health ❤️❤️❤️❤️🖤

2023-01-10 MuscleWiki: Find exercises that work specific muscles



2023-01-17 BYTE MAGAZINE: Early computer publication

BYTE Magazine archives


2023-01-13 History of Web Browser Engines from 1990 until today

Huge timeline image!


2023-02-11 10 Programmer Stereotypes - YouTube



2023-02-08 Ask HN: How do you deal with information and internet addiction? Hacker News

labrador 12 hours ago | next [–]

I handle it by collecting quotes that tell me to knock it off. I've since started to focus on just the things I really care about:

The purpose of knowledge is action, not knowledge.
― Aristotle

Knowledge isn't free. You have to pay attention
― Richard Feynman

"Information is not truth"
― Yuval Noah Harari

If I were the plaything of every thought, I would be a fool, not a wise man.
― Rumi

Dhamma is in your mind, not in the forest. You don't have to go and look anywhere else.
― Ajahn Chah

Man has set for himself the goal of conquering the world,
but in the process he loses his soul.
― Alexander Solzhenitsyn

The wise man knows the Self,
And he plays the game of life.
But the fool lives in the world
Like a beast of burden.
― Ashtavakra Gita (4―1)

We must be true inside, true to ourselves,
before we can know a truth that is outside us.
― Thomas Merton

Saying yes frequently is an additive strategy. Saying no is a subtractive strategy. Keep saying no to a lot of things - the negative and unimportant ones - and once in awhile, you will be left with an idea which is so compelling that it would be a screaming no-brainer 'yes'.
- unknown

Other ;)

2022-12-30 Comprehensive Guide to Extremely Advanced-Level Clown Strategies - Google Docs

Someone wrote almost a book on how to play Clown in Dead by Daylight... respect! gg!

· 9 min read

Good reads

2023-01-29 Davide's Code and Architecture Notes - Server-side caching strategies: how do they work? - Code4IT

2023-01-26 Resilience and Waste in Software Teams – Jessitron

Keeping libraries and components up-to-date, keeping code readable, updating our automations, improving our observability, bringing other developers up to speed– these are a few of the tasks developers need to do regularly. Any one of these tasks could have no noticeable impact in the future, and any one of them could prevent the next big security incident. The most likely outcome of each is a smoothing of future work, a decrease in unpleasant surprise.

Last time I implemented a feature in the Honeycomb UI, I needed some React functionality that was only in the latest version. I looked at our package.json, and lo! We were on the latest version! I rejoiced, and my work proceeded.

Many of these tasks don’t make it onto the roadmap, because when I look at the overhead of creating a ticket, discussing it in planning, advocating for it–then I can’t. It isn’t worth that. I can’t justify any particular one. Instead, these are best done as we go. Oh look, this test is in the old framework, let’s update it. This name confused me, let’s change it. In the kitchen, I always wash the knives and put them away immediately as soon as I’m done chopping.

2023-02-04 I Hired 5 People to Sit Behind Me and Make Me Productive for a Month — Simon Berens

I decided it was time to try the nuclear option: having people physically sit behind me to keep me on task. And if I was going to do that I was going to do it right: they’d be there 16 hours a day and only leave for me to sleep. (I have an endlessly growing list of projects I want to make, books I want to read, and skills I want to learn, so productivity means a lot to me!)

2023-01-18 20 Things I've Learned in my 20 Years as a Software Engineer - Simple Thread

  1. I still don’t know very much
  2. The hardest part of software is building the right thing
  3. The best software engineers think like designers
  4. The best code is no code, or code you don’t have to maintain
  5. Software is a means to an end
  6. Sometimes you have to stop sharpening the saw, and just start cutting shit
  7. If you don’t have a good grasp of the universe of what’s possible, you can’t design a good system
  8. Every system eventually sucks, get over it
  9. Nobody asks “why” enough
  10. We should be far more focused on avoiding 0.1x programmers than finding 10x programmers
  11. One of the biggest differences between a senior engineer and a junior engineer is that they’ve formed opinions about the way things should be
  12. People don’t really want innovation
  13. Your data is the most important part of your system
  14. Look for technological sharks
  15. Don’t mistake humility for ignorance
  16. Software engineers should write regularly
  17. Keep your processes as lean as possible
  18. Software engineers, like all humans, need to feel ownership
  19. Interviews are almost worthless for telling how good of a team member someone will be
  20. Always strive to build a smaller system


2023-02-02 Easter egg in flight path of last 747 delivery flight




2023-01-20 Ain't it funny how the knight moves?



2023-01-29 A Calculated Move: Calculators Now Emulated at Internet Archive - Internet Archive Blogs


The X-Files

2023-02-02 Google layoffs Jan 20, 2023- California WARN public records

2023-01-18 What explains recent tech layoffs, and why should we be worried? Stanford News

jonathankoren: They’re laying people off because it’s cool to lay people off. Layoffs are social, not economical.


2023-02-05 Handling JWTs: Understanding Common Pitfalls - Bruce MacDonald, InfraHQ - YouTube

Ensure that the JWT is:

  • signed with a strong algorithm (e.g. RS256)
  • not expired
  • typ claim is not set to None it is difficult to revoke a JWT, not until it expires. some teams use a block-list of revoked JWTs, but this is not a good solution.

2023-02-05 A mortal's guide to making a pig run faster - Richard Banks - NDC Sydney 2022 - YouTube

The talk about performance optimization in .NET Tools:

2023-02-02 You Shall Not Password: Modern Authentication for Web Apps - Eli Holderness - NDC Sydney 2022 - YouTube

An overview of modern authentication, SAML, OpenID Connect

2023-02-02 Trading at light speed: designing low latency systems in C++ - David Gross - Meeting C++ 2022 - YouTube

Making a trading system "fast" cannot be an afterthought. While low latency programming is sometimes seen under the umbrella of "code optimization", the truth is that most of the work needed to achieve such latency is done upfront, at the design phase. How to translate our knowledge about the CPU and hardware into C++? How to use multiple CPU cores, handle concurrency issues and cost, and stay fast? image-20230202212928007

2023-01-29 "It's A Bug Hunt" - Armor Plate Your Unit Tests in Cpp - Dave Steffen - CppCon 2022 - YouTube

This talk is a detailed discussion of how to write unit tests that are good tests; that is, unit test cases that are complete, accurate, and thorough. We can think of unit tests as our laboratory equipment for carefully examining our code and measuring a particular property (existence of bugs) with care and precision; or we can think of them as bug-hunting gear that that keeps us safe when we have to venture into the dark and dangerous parts of our code base. image-20230202214113310

2023-01-29 KEYNOTE - Emotional Code - Kate Gregory ACCU Conference 2019 - YouTube

Programmers, it turns out, are human beings. This means they not only feel emotions, they leave traces of those emotions behind in their code. Kate will show you why that is so, and what you can do about it.



2023-02-02 muxinc/meet: A meeting app built on Mux Real-Time Video.

Mux Meet is a video conferencing app powered by Mux Real-Time Video, written in React, using the Next.js framework. image-20230202211613876

2023-01-28 Broider: Pixel Art CSS Borders


2023-01-20 Kody Tools – I developed 300 tools in 6 months

Great job!


2023-02-10 Markably Online Markdown Editor

This is awesome work, but it is not possible to simultaneously edit HTML / Markdown and switch between modes. image-20230210235449922


2023-02-05 Generating Sample Data with Bogus

dotnet add package Bogus

Bogus is a library that works with C#, F# and VB.NET that can be used to create repeatable, fake data for applications. It is somewhat a port of a similar library Bogus.js. It accomplished this by creating generators (called Fakers) that have a set of rules for generating one or more fake objects. Built-into Bogus is a set of generalized rules for common data categories (i.e. Addresses, Companies, People, Phone Numbers, etc.). Enough talk, let’s see how it works. The full repo is at:


2023-02-02 A list of open source C++ libraries -

The objective of this page is to build a comprehensive list of open source C++ libraries, so that when one needs an implementation of particular functionality, one needn't to waste time searching on web.

2023-02-01 C++ Neural Network in a Weekend – Jeremy's Blog

Would you like to write a neural network from start to finish? Are you perhaps shaky on some of the fundamental concepts and derivations, such as categorical cross-entropy loss or backpropagation? Alternatively, would you like an introduction to machine learning without relying on “magical” frameworks that seem to perform AI miracles with only a few lines of code (and just as little intuition)? If so, this article was written for you.

2023-01-27 When Should You Learn Machine Learning using C++? by Ahmed Hashesh Embedded House Medium

This article is part of a series that address the implementation of Machine learning algorithms in C++, throughout this series, We will be implementing basic Machine learning algorithms using C++ features.

2023-01-30 PortAudio/portaudio: PortAudio is a cross-platform, open-source C language library for real-time audio input and output.


2023-02-02 ⚙️ Math Breakdown: Anime Homing Missiles - Little Polygon Game Dev Blog

I designed and prototyped the missile attack! The math was clever and I want to show-off!

Let’s talk about cubic bezier curves, perlin noise, and rotation minimizing frames. Missile Circus!

· 7 min read

Good reads

2022-12-28 Advice on being managed

When you shift from being managed to also sometimes managing others, you have a predictable shift in perspective and a lot of obvious-in-retrospect insights. In the spirit of “saying obvious things is good” here are a few.

  • Be honest
  • Be straightforward
  • Be a joy to work with
  • Remember why managers exist
  • Your manager is also being managed

2022-12-14 How does GPT Obtain its Ability? Tracing Emergent Abilities of Language Models to their Sources

There are three important abilities that the initial GPT-3 exhibit:

  • Language generation: to follow a prompt and then generate a completion of the given prompt. Today, this might be the most ubiquitous way of human-LM interaction.
  • In-context learning: to follow a few examples of a given task and then generate the solution for a new test case. It is interesting to note that, although being a language model, the original GPT-3 paper barely talks about “language modeling” — the authors devoted their writing efforts to their visions of in-context learning, which is the real focus of GPT-3.
  • World knowledge: including factual knowledge and commonsense.

Where do these abilities come from?

Generally, the above three abilities should come from large-scale pretraining — to pretrain the 175B parameters model on 300B tokens (60% 2016 - 2019 C4 + 22% WebText2 + 16% Books + 3% Wikipedia). Where:

  • The language generation ability comes from the language modeling training objective.
  • The world knowledge comes from the 300B token training corpora (or where else it could be).
  • The 175B model size is for storing knowledge, which is further evidenced by Liang et al. (2022), who conclude that the performance on tasks requiring knowledge correlates with model size.
  • The source of the in-context learning ability, as well as its generalization behavior, is still elusive. Intuitively, this ability may come from the fact that data points of the same task are ordered sequentially in the same batch during pretraining. Yet there is little study on why language model pretraining induces in-context learning, and why in-context learning behaves so differently than fine-tuning.


2022-12-16 Meet Ghostwriter, a haunted AI-powered typewriter that talks to you Ars Technica

On Wednesday, a designer and engineer named Arvind Sanjeev revealed his process for creating Ghostwriter, a one-of-a-kind repurposed Brother typewriter that uses AI to chat with a person typing on the keyboard. The "ghost" inside the machine comes from OpenAI's GPT-3, a large language model that powers ChatGPT. The effect resembles a phantom conversing through the machine.


2022-12-15 Recursive Game of Life: Life Universe


How the things work

2022-12-27 A Guide to the Terminal, Console, and Shell

So, since it’s so useful, let’s look a bit deeper what’s this shell, console, and terminal. More precisely, we’ll see, in this article:

  • The legacy of physical teletypes in Unix-based systems.
  • What are virtual consoles (TTY).
  • What are pseudoterminals.
  • What’s the shell.
  • How to customize a terminal.

Apps and tools

2022-12-27 Amazing AI — Sindre Sorhus (Stable Diffusion)

Stable Diffusion now with UI for Mac

2022-12-26 Squoosh

This app lets you compress images for the web image-20221228133423925

2022-12-15 Riffusion

Stable Diffusion fine-tuned to generate MusicThis is the v1.5 stable diffusion model with no modifications, just fine-tuned on images of spectrograms paired with text. Audio processing happens downstream of the model.

It can generate infinite variations of a prompt by varying the seed. All the same web UIs and techniques like img2img, inpainting, negative prompts, and interpolation work out of the box.

Code: Discord:


2022-12-15 lettier/3d-game-shaders-for-beginners: 🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.


2022-12-21 List of Chromium Command Line Switches « Peter Beverloo

There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions.

2022-12-20 I built a $5 chat app with Pocketbase & Svelte. Will it scale? - YouTube

PocketBase - Open Source backend in 1 file Open Source backend for your next SaaS and Mobile app in 1 file

2022-12-19 How to rebuild social media on top of RSS

and we should look for ways to make these reading, publishing, and community services all play nicely together. I'm calling this model "the unbundled web," and I think RSS should be the primary method of interop. (The term "decentralized" has already been co-opted by all those bitcoin people, so I'm using "unbundled" as a synonym with less baggage.)


2022-12-27 Amazon Packages Burn in India, Last Stop in Broken Plastic Recycling System

Muzaffarnagar, a city about 80 miles north of New Delhi, is famous in India for two things: colonial-era freedom fighters who helped drive out the British and the production of jaggery, a cane sugar product boiled into goo at some 1,500 small sugar mills in the area. Less likely to feature in tourism guides is Muzaffarnagar’s new status as the final destination for tons of supposedly recycled American plastic. image-20221228132944334

JavaScript / Web

2022-12-16 fart.js - the premier javascript fart library, by 2022-12-16 Let it snow! Embed a snow effect on your website 2022-12-16 Vanilla-tilt.js

2022-12-14 JavaScript APIs You Don’t Know About — Smashing Magazine

  • navigator.canShare()
const shareButton = document.querySelector("#share-button");

const shareQuote = async (shareData) => {
try {
await navigator.share(shareData);
} catch (error) {

shareButton.addEventListener("click", () => {
let shareData = {
title: "A Beautiful Quote",
text: quote.textContent,
url: location.href,



2022-12-19 HashCode.Combine Method System Microsoft Learn

Note to my future self! Combines values into a hash code.


I have watched lots of talks during my vacation; here are some interesting ones.


2022-12-28 Concurrency Patterns - Rainer Grimm - CppCon 2021 - YouTube

This one is about the OOP C++ Concurrency patterns, like this one for locks:



2022-12-14 Back to Basics: Efficient Async and Await - Filip Ekberg - NDC Porto 2022 - YouTube

image-20221228140614204 Pluralsight:

DDD - Domain-Driven Design

2022-12-26 Share Pie: The DDD Treasure Hidden in Plain Sight - Nick Tune - NDC Oslo 2022 - YouTube

33:47: The Domain Drives You, And You Drive the Domain

Mental Wellbeing

2022-12-24 I'm just trying to keep my head above water - Chris Klug - NDC Oslo 2022 - YouTube

A software engineer is sharing his experience with depression and visiting "some ones"


2022-12-20 Practical Pipelines: A Houseplant Soil Alerting System with ksqlDB - Danica Fine - NDC Oslo 2022 - YouTube

Houseplants can be hard – in many cases, over- and under-watering can have the same symptoms. Take away the guesswork involved in caring for your houseplants while also gaining valuable experience in building a practical, event-driven pipeline in your own home! This talk explores the process of building a houseplant monitoring and alerting system using a Raspberry Pi and Apache Kafka. Moisture and temperature readings are captured from sensors in the soil and streamed into Kafka. From here, we’ll use stream processing to transform the data, creating a summary view of the current state and driving real-time push alerts to your phone through Telegram. In this session, I’ll talk about how I ingest the data, followed by a look at the tools, including ksqlDB and Kafka Connect, that will help transform the raw data into useful information.