Gen
Conditionally setting your gitconfig
Personally, I try to keep my development environment as convenient to use as possible and with the advent of BeyondCorp-style zero trust, more internal services are thankfully available without a VPN required.
This makes it easy to access tooling from your mobile device and other places but it can also mean the line between work and personal blurs a little bit.
A lot of my custom work-related configuration has been deprecated (utilities for wrangling VPNs and proxies) and I basically don’t maintain anything more than what was already open sourced.
REST Web API in Practice: Naming Endpoints, Filtering, Sorting, and Pagination
In computer science, naming things is hard! When designing and naming the URLs structure, various questions and possible conflicts between the team members may arise. Let's see some practical suggestions for consistently naming our REST endpoints and representing the filtering, sorting, and pagination operations as URL query string parameters.
The latency of making a coffee cup
I recently had to discuss the issue on the impact of latency a few times, and I found the coffee cup analogy to be an excellent tool to explain exactly what ...
Balanced Trees & Introduction to Self Balancing Trees | Trees | Data Structures Simplified - TheBinaryRealm
A balanced binary tree or a height-balanced tree is a tree in which the height of the left and right subtree at any node does not differ by more than one. Not just the root node, at any node. Mathematically we define using a balanced factor.
Implicit Overflow Considered Harmful (and how to fix it)
A common problem in programming language design is the question of what the type of integral literals should be, and if they are untyped, what the rules for implicitly converting them to regular integer types should be. This is part of the more general problem of how to handle having multiple integer types with overflow and the conversions between them. There are many approaches to this problem, but they all have significant downsides.
Build And Deploy A Telegram Bot
5 Minutes Project We are going to build a Telegram bot with python and deploy it to Heroku. The bot I am going to build will be able to send random pictures or videos of dogs using dog.ceo API…
Bloom Filters For System Design |
Making asynchronous programming easier with async and await - Learn web development | MDN
More recent additions to the JavaScript language are async functions and the await keyword, added in ECMAScript 2017. These features basically act as syntactic sugar on top of promises, making asynchronous code easier to write and to read afterwards. They make async code look more like old-school synchronous code, so they're well worth learning. This article gives you what you need to know.
Async/Await and Promises Explained
The async / await operators make it easier to implement many async Promises. They also allow engineers to write clearer, more succinct, testable code. To understand this subject, you should have a solid understanding of how Promises work. Basic Syntaxfunction slowlyResolvedPromiseFunc(string) { return new Promise(resolve => { setTimeout(() => { resolve(string)
Await and Async Explained with Diagrams and Examples
Explains JavaScript Async/Await syntax and semantics with diagrams and examples ...
Async/Await Explained with Diagrams and Examples
Explains program flow when using await in various scenarios
Fast, Parallel Database Tests | Kevin Burke
Are software engineering “best practices” just developer preferences?
My housemate the other day asked me something to the effect of “How can Software Engineers call themselves engineers when there’s no rules, governing bodies, or anything to stipulate what true Software Engineering is?”
Developers dread these programming languages, but which one pays the most?
A portion of the report ranks programming languages by their correlating developer salary. If you're looking to get paid well, it might be worth your time to learn Clojure and maybe not Dart.
Confessions of a 1x Programmer
Hey Everyone! I'm Shantnu, and I'm a 1x Programmer. I've been programming in Python for 10+ years, and yet I still forget how to use basic things like dictionaries and have to Google for itEvery time I open a file in Python, I have to Google what the parameters to
Database Lab by Postgres.ai
Accelerate your development and testing. Clone PostgreSQL databases of any size in a few seconds. Rapidly test and iterate, optimize SQL, improve quality, and drastically boost time-to-market.
Data validation with JSON schema
How to represent data schema with JSON schema. Benefits of separating data schema from data representation in Data-Oriented Programming.
JSON Schema Keywords AllOf and AnyOf in OPA Type Checker - The New Stack
Enhancement of the Open Policy Agent Rego type checker did not support some keywords in the JSON Schema 2019-09 release. Now it does.
Implementer's Guide to WebSockets - Cookie Engineer's Web Log
A How-To Guide on building a WebSocket version 13 client and server from scratch, explaining related RFCs and potential quirks and problems with other implementations.
Python VS Common Lisp, workflow and ecosystem - Lisp journey
I learned Java and C at school, I learned Python by myself and it was a relief. After 8 years working and doing side projects in Python and JavaScript (mostly web dev, Django/Flask/AngularJS/Vuejs), I am not satisfied anymore by the overall experience so I’m making Common Lisp my language of choice.I am not here to compare languages themselves, but their inherent workflow and their ecosystem. This is the article I wish I had read earlier, when I was interested in Lisp but was a bit puzzled, because the Lisp way always seemed different, and I couldn’t find many voices to explain it.
The difference between Go and Rust – dominikbraun.io
Go is regularly criticized for odd decisions and idiosyncrasies, while Rust is celebrated as an almost perfectly designed alternative that solves Go's problems. But in fact, Go and Rust are far from interchangeable.
Getting Started with Go and InfluxDB - The New Stack
This tutorial describes how to use the InfluxDB Go client library, create a connection to the database and store and query data from it.
Speedscale & Locust: Comparing Performance Testing Tools - Speedscale
Picking the right performance testing tool can be a challenge. We compare and contrast Locust and Speedscale in this blog.
Low Code for Pro Coders - The New Stack
Low-code app development is here, and thanks to the rise of work from home over the past couple of years, it is here to stay.
How to write self-documenting Code - Amine Hmida Blog
How to write self-documenting code. Best practices, tips, and tricks to write code that doesn't require documentation.
Discovering the Lispworks IDE - Lisp journey
LispWorks is a Common Lisp implementation that comes with its own Integrated Development Environment (IDE) and its share of unique features, such as the CAPI GUI toolkit. It is proprietary and provides a free limited version.Here, we will mainly explore its IDE, asking ourselves what it can offer to a seasoned lisper used to Emacs and Slime. The short answer is: more graphical tools, such as an easy to use graphical stepper, a tracer, a code coverage browser or again a class browser.
5 Algorithms that Changed the World
An algorithm is a straightforward rule of action to solve a problem or a class of problems. Algorithms consist of a finite number of…
Lessons learned from building a WebSocket server
Appwrite is an open-source, self-hosted Backend-as-a-Service that aims to make app development easier with SDKs available in a variety of…
Write code. Not too much. Mostly functions. | Brandon's Website
There's a well-known quote by author Michael Pollan:
"Eat food. Not too much. Mostly plants." I like it because it doesn't
attempt to be dogmatic: it encapsulates some basic guiding principles that get
you 90% of the way there 90% of the time. Wikipedia describes the book the quote
is from (emphasis mine):