Ever feel frustrated with PKI/TLS/SSL? We got you cover this week. In recent days, event-stream incidents reminds us we should prepared when a packages go bad and have plan to act accordingly. Let’s learn some refactoring of big functions and how exceptions cause undefined behaviours.
Certificates and public key infrastructure (PKI) are hard. Do you know what is X509, P12, PEM, PKCS and all other TLS acronyms. I don’t and I tried to ask it in many interviews I had. No one knows. So let’s read this, and master PKI.
We all use VM. Docker for Mac run on a VM too. What if we write our own virtuam machine? How hard that is. It helps us gain a deeper understanding of what is going on inside a computer and better understand how programming languages work
So recently event-stream got big hack on Node ecosystem. What should we do when that happens? What steps we shoud take when a package our code depend on got hack?
It also worth to checkout Securing Your Site like It’s 1999
Clearly your best hope is to refactor the function by decomposing it into smaller one. Strategies for breaking up functions: closures, loop and deal with long parameter lists, sequential coupling, extract computation, complex if, polymorphism.
Main issue is because how C++ handle errors with exception, which the author think create undefined behaviour. It’s good to read about the use of exceptions which we get too familiar in every language like Java, Python, Ruby, JavaScript.
I never think about header bloat? who is going to add KBs into header? Well, HTTP2 does add a form of header compression (called HPACK) to help address this concern.
In this post, we’ll use compound foreign keys to enforce triangular relationships with an example using organizations, teams, users, and a nursery rhyme.
As of 2018, almost 90% of the 74,000 developers surveyed by Stack Overflow prefer to use Git for version control. Git dominates all other version control systems and adoption is up almost 20% from 2017 according to the survey. However, Git has not always been this ubiquitous. Let’s take a look at its ascent into mass popularity.
Yoav Alon, Netanel Ben-Simon tooks WinAFL, aimed it at Adobe Reader, reverse-engineering the code, looking for potential vulnerable libraries, writing harnesses and, finally, running the fuzzer itself. The found 50 CVE in 50 days.
Instead of building custom API endpoint for every page, Netflix opted for GraphQL as the middle layer of the app. Not only did adding GraphQL solve the network bandwidth bottleneck, but it also provided numerous enefits that helped them add features more quickly.
Also, AirBnB is Moving 10x Faster at Scale with GraphQL and Apollo.
If you are looking to get start with GraphQL, our friend at Hasura wrote this guide Set up a production ready GraphQL backend in a few minutes.
A github repository with docker file and code to learn many Docker’s concept. Sad that it’s in Chinese but google translate is good.
DockerDespite Ruby in title, it’s actually all about customization your shell with dotfiles and many git, psql, tmux tricks.
Get a full fake REST API with zero coding in less than 30 seconds
a simple database benchmarking tool which supports several databases and own scripts
Automatically sync groups into Kubernetes RBAC
A Rest API server to deploy ECS from anywhere with a built-in UI
A performance dashboard for Postgres
A Docker-powered stateless API for converting HTML, Markdown and Office documents to PDF
dynamic server-side rendering using headless Chrome to effortlessly solve the SEO problem for modern javascript websites
horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus.
letting you explore how your C++, D, Go, Rust, Ispc, Haskell, Swift and Pascal code is compiled into the machine code your computer actually runs.
BetterDev Link
Every Monday