Knuth changes his mind on Bernoulli number B_1
(I thank Yoshiyuki Kotani for this identity. We'll be able to use the same idea again in 2024 and 2027!)
The latest blog posts to take off on Hacker News. 49,218 posts.
(I thank Yoshiyuki Kotani for this identity. We'll be able to use the same idea again in 2024 and 2027!)
About the many types of hash functions, their use-cases, dos and don'ts, with suggestions for currently accepted algorithms.
I spent the last three weeks in Seoul, partly visiting family I hadn’t seen in years and partly taking a vacation from my usual work in my usual city in my usual context of life. While I haven’t been able to work much at all, I spent my subway rides and waiting-in-line times reading the Singularity Sky series of…
It sounds made up. In the wilderness of British Columbia, a two hour drive from any town with cell reception, sits a ghost town. Not only a ghost town, but a ghost town that was built for $50…
Timsort: A very fast , O(n log n), stable sorting algorithm built for the real world — not constructed in academia. Timsort is a sorting algorithm that is efficient for real-world data and not created in an academic laboratory. Tim Peters created Timsort for the Python programming language in 2001.
It has taken Lea and I far too long – there is always something more that really should be added, always some conversion that really needs an authoritive set of data to validate our code against – but we finally decided, time to actually release Color.js .
It’s quite popular to bash the Windows Registry in non-technical or lightly technical terms. I’ve just spent a couple of weeks reverse engineering the binary format completely for our h…
The upcoming issue of the SICPers newsletter is all about phrases that were introduced to computing to mean one thing, but seem to get used in practice to mean another. This annoys purists, pedants, and historians: it also annoys the kind of software engineer who dives into the literature to see how ideas were…
The GIF (/ɡɪf/ GHIF) file is unfortunately the most popular and widespread form of exchanging animated content across the internet. Oh crap here’s one now A Pokémon I 3D modeled and animated called Shuppet, in 50fps When I am making animations, with the intent of ultimately becoming a GIF file on the internet, I…
Database systems typically give users the ability to trade off correctness for performance. We have spent the previous two posts in this s...
Exploring the relationship between Kalman filtering and optimal frequency domain filtering.
What happens when executives are allowed to secretly sell stock at a company that is doing poorly? And what can founders learn from this incident?
In March 2022, it was reported that the United States was sending over some Switchblades to Ukraine.
People don’t seem to try very hard to make themselves happier. Why not?
Clayton Christensen famously demonstrated the Innovator's Dilemma by using data from the hard drive industry in the 1980s. At every point, companies failed to make the switch from 8-inch drives, to 5-inch drives, to 3...
I spent the last week in Toronto in the Cpp North conference . It was so much fun just to hang around with people after such a long pause.My...
(This is another of my speculative pieces and nothing to do with Star Wars. This one is for an older trilogy.) Old Tom Bombadil. Possibly the least liked character in The Lord of the Rings. A childish figure so disliked by fans of the book that few object to his absence from all adaptations of the…
Gautham's Blog
Some gut-based judgements on the effectiveness of data.
Start with any triangulation of a convex polygon, and then repeatedly choose a random diagonal and flip it, replacing the two triangles it borders with two d...
How do you create a Python package? How do you set up automated testing and code coverage? How do you publish the package? That's what this article...
I wanted to write a post and do a bit of a deepdive into ICMP, ping and traceroute. I’ve found that having a good networking foundation has been a tremendous…
Everybody knows a DNS response needs to fit into a 512 byte UDP packet, right? But suppose it doesn't fit...
1. An advent: ancient archangels architect abstract astronomy and arid asteroids. 2. All asteroids are amorphous and absent; And a...