Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Improving Spring Boot Configuration Security with Hashicorp Vault
The problem If you’re using Spring Boot with Spring Data JPA, you’ve probably got a configuration file like this sitting near your server: # application.yml spring: datasource: url: jdbc:mysql://mysqldb:3306/mydb username: root # <-- credentials pass…
-
Implementing Regular Expressions in TypeScript Types (Badly)
Summary This is a cautionary tale about how I ended up writing a (bad) regular expression parser and evaluator in pure TypeScript types. type HexStr<S extends string> = Recognize<"[0-9a-fA-F]+", S>; type IsMatch<S extends string> = HexStr<S> extends S ?
-
Parsing docker image references for fun and 0 profit
The problem I wanted to parse docker-style container image references for a personal project I was writing in rust.
-
translating types with `FastAPI` and `OpenAPI`
TL;DR: Using mypy, pydantic, and FastAPI, I generate an openapi.yaml, then I use openapi-generator to create a typescript API client.
-
SQL is a convention
SQL is a convention.
-
The Grug-Brained Developer
TL;DR: we’re all operating on the same hardware that cavemen operated on.
-
How it feels to use AWS
TL;DW: an enormous speed boost followed immediately by crashing straight into IAM’s guardrails.
-
Portable Rust SIMD Beginner's Guide
TL;DR: A SIMD value is called a vector. […] A SIMD vector has a fixed size, known at compile time. [ A] vector is generally aligned to its entire size.
-
parsing psql
TL;DR: I wrote a bad psql meta-command parser so you don’t have to.
-
Practical Data-Oriented Design
TL;DR: A CPU has several kinds of memory.
-
ARCHITECTURE.md
TL;DR: add an ARCHITECTURE.md document to make contributing to your codebase easier for newcomers A high-level map of the codebase architecture helps newcomers find where to start reading An ARCHITECTURE.md document should cover: how different sections of…
-
`git-cc`: a TUI for conventional commits
a TUI for creating conventional commits.
-
Git scraping: track changes over time by scraping to a Git repository
I’ve enjoyed using this technique!
-
No Hello
TL;DR: Instead of texting “hi” and waiting for a response, say “hi” and ask your question in one message.
-
submodule of a local branch
Ever wanted to check in your build artifacts into a build-specific branch?
-
building HTML for each version of the linux man pages
If you want a dataset of HTML versions of the linux man pages.
-
microservices
TL;DR: a video of a typical microservices architecture meeting.
-
Hyrum's Law
With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.
-
2019 holiday card: canvas pixel-art snow
My 2019 holiday card.
-
Parse, don’t validate
TL;DR: parsers take less-structured data and try to turn it into more-structured data.
-
What do executives do, anyway?
TL;DR: “to define and enforce culture and values for their whole organization, and to ratify good decisions.”
-
`jekyll_asset_map`
A set of jekyll _includes that allow you to use hashed assets from webpack or another asset wrangler in Jekyll without a plugin.
-
Rewriting this site with Jekyll
Why bother?
-
Monkey-testing Vue.js applications
monkey-see-monkey-vue exposes methods for finding events that Vue.js will react to.
-
`yapf-diff`: Incremental python formatting
A tool to help my team incrementally adopt consistent python style by formatting only changed lines.
-
Parallax snow globe
Inspired by the beautiful parallax of the Firewatch website, I made a SVG+SCSS parallax snow globe as a 2018 holiday card.
-
`flask-webpack`
Webpack and compilers can produce hashed asset bundles ( like index.bundle.md5h4sh3d.js).
-
Build Systems a la Carte
TL;DR: All build systems vary on the following axes: when the build system learns about dependencies (in the build specification or after doing some work) what information the system stores about previous builds where information about previous builds can…
-
Why Do Keynote Speakers Keep Suggesting That Improving Security Is Possible?
TL;DR: an in-depth talk by tenured Harvard professor James Mickens describing why unexplainable ML models will always be a security risk.
-
Scraping Mozilla Developer Network compatibility tables
Background Coming into 2018-19, Mozilla Developer Network (MDN) had crowdsourced HTML tables of compatibility between browsers and features of web standards.
-
Converting images to ascii art in the browser
A tone-based image to ascii art tool.
-
Use Boring Technology
TL;DR: Use tech your team is familiar with if it gets the job done shiny new tech has lots of unknown unknowns
-
Slicing geojson into `.mvt`
A tool that transforms geojson to filesystem pyramids of mapbox vector tiles (.mvt) using node.js.
-
Searching for the right mapbox icon
Mapbox provides an excellent selection of symbols for map-making with its Maki icon set.
-
Writing a WFS-T library in 2.6kb min+gz of js
A lightweight javascript module to format WFS-T-2 statements from GeoJSON features.
-
`geojson-to-gml`
I wrote a lightweight javascript module to translate GeoJSON to GML 3 or 2.
-
Visualizing relationships between univariate probability distributions
An experiment visualizing Leemis and McQueston’s Univariate Distribution Relationships chart.
-
How to ask good questions
TL;DR: do research state what you know ask factual questions
-
you can take the derivative of a regular expression?!
But we can describe some of the ideas in words.
-
Is It Worth the Time?
TL;DR: quickly calculate how much time you’d save before automating a task.
-
A Few Billion Lines of Code Later: Using Static Analysis to Find Bugs in the Real World
This article is an unflinching look at the realities of corporate software development as of 2010.
-
A prettier printer
TL;DR: Follow these rules for acceptable pretty printing: if an expression is longer than the room left within a maximum length, fold it. else, don’t.
-
Linus's law
A “hacker” is a person who has gone past using his computer for survival (“I bring home the bread by programming”) to the next two stages [(“social life,” and “entertainment”)]. – Linus Torvalds in “What Makes Hacker’s Tick?
-
Raymond's Linus's Law
In The Cathedral and the Bazaar, Eric S.
-
Conway's law
Organizations tend to produce designs which mimic their internal communication structure