← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 45
  1. 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…

  2. 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 ?

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

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

  5. SQL is a convention

    SQL is a convention.

  6. The Grug-Brained Developer

    TL;DR: we’re all operating on the same hardware that cavemen operated on.

  7. How it feels to use AWS

    TL;DW: an enormous speed boost followed immediately by crashing straight into IAM’s guardrails.

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

  9. parsing psql

    TL;DR: I wrote a bad psql meta-command parser so you don’t have to.

  10. Practical Data-Oriented Design

    TL;DR: A CPU has several kinds of memory.

  11. 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…

  12. `git-cc`: a TUI for conventional commits

    a TUI for creating conventional commits.

  13. Git scraping: track changes over time by scraping to a Git repository

    I’ve enjoyed using this technique!

  14. No Hello

    TL;DR: Instead of texting “hi” and waiting for a response, say “hi” and ask your question in one message.

  15. submodule of a local branch

    Ever wanted to check in your build artifacts into a build-specific branch?

  16. building HTML for each version of the linux man pages

    If you want a dataset of HTML versions of the linux man pages.

  17. microservices

    TL;DR: a video of a typical microservices architecture meeting.

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

  19. 2019 holiday card: canvas pixel-art snow

    My 2019 holiday card.

  20. Parse, don’t validate

    TL;DR: parsers take less-structured data and try to turn it into more-structured data.

  21. What do executives do, anyway?

    TL;DR: “to define and enforce culture and values for their whole organization, and to ratify good decisions.”

  22. `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.

  23. Rewriting this site with Jekyll

    Why bother?

  24. Monkey-testing Vue.js applications

    monkey-see-monkey-vue exposes methods for finding events that Vue.js will react to.

  25. `yapf-diff`: Incremental python formatting

    A tool to help my team incrementally adopt consistent python style by formatting only changed lines.

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

  27. `flask-webpack`

    Webpack and compilers can produce hashed asset bundles ( like index.bundle.md5h4sh3d.js).

  28. 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…

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

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

  31. Converting images to ascii art in the browser

    A tone-based image to ascii art tool.

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

  33. Slicing geojson into `.mvt`

    A tool that transforms geojson to filesystem pyramids of mapbox vector tiles (.mvt) using node.js.

  34. Searching for the right mapbox icon

    Mapbox provides an excellent selection of symbols for map-making with its Maki icon set.

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

  36. `geojson-to-gml`

    I wrote a lightweight javascript module to translate GeoJSON to GML 3 or 2.

  37. Visualizing relationships between univariate probability distributions

    An experiment visualizing Leemis and McQueston’s Univariate Distribution Relationships chart.

  38. How to ask good questions

    TL;DR: do research state what you know ask factual questions

  39. you can take the derivative of a regular expression?!

    But we can describe some of the ideas in words.

  40. Is It Worth the Time?

    TL;DR: quickly calculate how much time you’d save before automating a task.

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

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

  43. 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?

  44. Raymond's Linus's Law

    In The Cathedral and the Bazaar, Eric S.

  45. Conway's law

    Organizations tend to produce designs which mimic their internal communication structure