Programming

Programming

1461 bookmarks
Custom sorting
Unravelling `async for` loops
Unravelling `async for` loops
When I decided the next post in my series on Python's syntactic sugar would be on async for, I figured it would be straightforward. I have already done `for` loops, so I have something to build off of. The language reference also specifies the pseudo-code for async for, so I
·snarky.ca·
Unravelling `async for` loops
Hack Pipe for Functional Programmers: How I learned to stop worrying and love the placeholder | James DiGioia
Hack Pipe for Functional Programmers: How I learned to stop worrying and love the placeholder | James DiGioia
I’ve been involved with the development of the pipe operator (|>) in JavaScript for 4 years, going all the way back to 2017 when it was just a humble pipeline that did basic function application. Over the course of the discussion, the proposal evolved into two competing syntaxes, F# & Smart-Mix, exploring different ways of […]
·jamesdigioia.com·
Hack Pipe for Functional Programmers: How I learned to stop worrying and love the placeholder | James DiGioia
"Just in Time" CSS
"Just in Time" CSS
I believe acss.io is the first usage of "Atomic CSS" where the point of it is to be a compiler. You write CSS like this:
·css-tricks.com·
"Just in Time" CSS
Simple code: Readability
Simple code: Readability
Readability, understandability, two key incredients of great code. Easier said than done, right? What one person finds easy to read and unde...
·blog.polarcoder.net·
Simple code: Readability
Random identifiers are poorly compressible
Random identifiers are poorly compressible
It is common in data engineering to find that we have too much data. Thus engineers commonly seek compression routines. At the same time, random identifiers are handy. Maybe you have many users or transactions and you want to assign each one of them a unique identifier. It is not uncommon for people to use … Continue reading Random identifiers are poorly compressible
·lemire.me·
Random identifiers are poorly compressible
What are Merkle-DAGs & How they Work?
What are Merkle-DAGs & How they Work?
A Merkle-DAG is a DAG where each node has an identifier and this is the result of hashing the node’s contents — any opaque payload carried by the node and the list of identifiers of its children — using a cryptographic hash function like SHA256.
·simpleaswater.com·
What are Merkle-DAGs & How they Work?
Hash based ECMP load balancing algorithm - Talentica
Hash based ECMP load balancing algorithm - Talentica
Context Data center networks every so often use compactly interconnected topologies to deliver high bandwidth for internal data exchange. In such network, it is precarious to employ effective load balancing schemes so that all the available bandwidth resources can be utilized. In order to utilize a
·talentica.com·
Hash based ECMP load balancing algorithm - Talentica
Distributed and Consistent Hashing – Part 2
Distributed and Consistent Hashing – Part 2
Windows Azure Cache (WA Cache) is an distributed in-memory cache. WA Cache provides a simple based API. Like, Cache.Put (key, value), Cache.Get (key). You can correlate WA Cache …
·olnrao.wordpress.com·
Distributed and Consistent Hashing – Part 2
A Guide to Consistent Hashing
A Guide to Consistent Hashing
Consistent Hashing is a distributed hashing scheme that operates independently of the number of servers or objects in a distributed hash table.
·toptal.com·
A Guide to Consistent Hashing
Elastic Binary Trees - ebtree
Elastic Binary Trees - ebtree
Administrivia This article was initially posted on Wikipedia in 2008, which explains why it's written at the 3rd person and looks familiar...
·wtarreau.blogspot.com·
Elastic Binary Trees - ebtree
A nasty bit of undefined timezone behavior in Golang
A nasty bit of undefined timezone behavior in Golang
Go is a great language. Really, it is! We complain about the rough edges, but on the whole it's been a great choice for us, and we're not…
·dolthub.com·
A nasty bit of undefined timezone behavior in Golang
Coroutines under the hood
Coroutines under the hood
A deep dive into how suspension and continuations work under the hood.
·kt.academy·
Coroutines under the hood
Doing The Math On CPU Native AI Inference
Doing The Math On CPU Native AI Inference
A number of chip companies – importantly Intel and IBM, but also the Arm collective and AMD – have come out recently with new CPU designs that feature
·nextplatform.com·
Doing The Math On CPU Native AI Inference
Ruby is Still a Diamond
Ruby is Still a Diamond
Matz is nice and so we are nice.  — Ruby Community Motto
·medium.com·
Ruby is Still a Diamond
Simple code: Naming things
Simple code: Naming things
There are two hard things in programming and naming is one them. If you don't believe me ask Martin Fowler https://www.martinfowler.com/blik...
·blog.polarcoder.net·
Simple code: Naming things
Software Development - ORMs vs SQL - PEBKAC
Software Development - ORMs vs SQL - PEBKAC
ORMs have been an integral part of software development for many years and now it is time to consider their appropriate use cases.
·pebkac.tech·
Software Development - ORMs vs SQL - PEBKAC