Issues #160 Jul 13, 2020

How does Linux's display work?

Linux has an amazing yet frustrated at the same time about display. Xorg, Xserver, X11, KDE, Gnome, Xfce…The full dekstop environment can easily swap out. That multitude can be overwhelming or confusing when we don’t have the full picture. There are multiple documentations for each side of the Linux’s display system, but globally how does it work exactly?

I replaced Google Analytics with a web server running on my phone

Your phone is a mini computer with low power consumtion, and if you add the SIM, it maybe come a great device to be always online. What if we run a web server on that device and open it to the internet. What kind of programming language will be easily to be deploy and run on the phone.

Race Conditions/Concurrency Defects in Databases: A Catalogue

Categorize concurent transaction issue: Dirty Read, Dirty Write, Read Skew, Lost Update, Write Skew.

What's a key exchange?

Key exchange is fundamental in any secure connection, at some point it will have a key exchange that only two partners know so no one can see what they are communicate. This post is an attempt to explain this process in a simpler way.

Building Cloudflare TV from scratch

Cloudflate TV is like a TV show where you tune in to watch their engineers talk about programming. Cloudflare has great blog posts we link many time in the past too. They want a solution as simple as joining a Zoom call. They laid out technical challens when building an infrastructur for that.

Inside Code Signing

This is probably a post for mobile dev. However, most of time the one who setup build/release for a mobile app maybe a devops/backend engineer. Therefore, understanding code signing process on iOS is really important. Even if you don’t have to deal with this at all, it’s still a good read to understand how iOS control this process.

Improving performance with SIMD intrinsics in three use cases

SIMD (Single Instruction Multiple Data) is an instruction set available mostly on all current processors. SIMD instructions give data-level parallelism on a unit (vector of data). A single instruction is executed in parallel on multiple data points as opposed to executing multiple instructions. That improves the performance. People use SIMD to parse JSON faster or process image. In this post, we learn about 3 use cases to make use of SIMD for great peformance

A completed game and a tutorial to build it step by step

A replayable arcade shooter with a focus on build theorycrafting. Use a massive skill tree, many classes and ships to create your own builds and defeat an ever increasing amount of enemies. The tutorial includes 15 parts: game loop, room and areas, player stats and attacks, enemies, skill tree and more.

Building Domain Driven Microservices

touched upon various concepts, strategies, and design heuristics to consider when we venture into the world of microservices, more specifically when we try to break a monolith into multiple domain-based microservices

Bitcoin from scratch - Part 1

Understanding the fundamental building blocks(:wink:) of Bitcoin can be daunting for some developers. I find it difficult to meaningfully understand a system without knowing how everything fits together. Someone on Hacker News also wrote a toy implementation of the Bitcoin algorithm in Node so you can even test mining in browser.

Barebones WebGL in 75 lines of code

Code to read

MobileNetv2-YOLOv3-SPP Darknet

A darknet implementation of MobileNetv2-YOLOv3-SPP detection network. Basically face detection.

Python AI
inquest

a logging tool for python programs. It let’s you add logs to your running python programs without restarting the program, redeploying the program, or modifying the code in any way.

Python
motion

build reactive, real-time frontend UI components in your Rails application using pure Ruby. The change is all render server side and push to client via ActionCable.

Ruby
gomacro

interactive Go interpreter and debugger with generics and macros

Go
highwayhash

Node.js implementation of Google’s HighwayHash. SIMD intrinsics (AVX2, SSE4.1) will be used when available at runtime.

JavaScript

Video

CRDTs: The Hard Parts

Conflict-free Replicated Data Types (CRDTs) are an increasingly popular family of algorithms for optimistic replication. They allow data to be concurrently updated on several replicas, even while those replicas are offline, and provide a robust way of merging those updates back into a consistent state. CRDTs are used in geo-replicated databases, multi-user collaboration software, distributed processing frameworks, and various other systems.

Tools

ec2.shop

quick way to compare EC2 instance price. Available as curl via JSON too. Basically give you an API to check ec2 price, compare on-demand, spot price

dockle

Container Image Linter for Security, Helping build the Best-Practice Docker Image

krane

a simple Kubernetes RBAC static analysis tool. It identifies potential security risks in K8s RBAC design and makes suggestions on how to mitigate them

kconmon

Monitoring connectivity between your kubernetes nodes

sqlpad

A web app for writing and running SQL queries and visualizing the results. Supports Postgres, MySQL, SQL Server, ClickHouse, Crate, Vertica, Presto, SAP HANA, Snowflake, BigQuery, SQLite, and many others via ODBC

noisia

Harmful workload generator for PostgreSQL.

That's it for this round, have a great day! If you like this newsletter, please tell the world, or!

我来评几句
登录后评论

已发表评论数()

相关站点

+订阅
热门文章