Bookmarks tagged “code”
211 bookmarks tagged “code”
Beware of Integer Overflows in Your C Code – Giovanni Dicanio's Blog
Summing signed integer values on computers, with a *finite* number of bits available for representing integer numbers (16 bits, 32 bits, whatever) is not always possible, and can lead to subtle bug…
Beware of Unsafe Conversions from size_t to int – Giovanni Dicanio's Blog
Converting from size_t to int can cause subtle bugs! Let’s take the Win32 Unicode conversion API calls introduced in previous posts as an occasion to discuss some interesting size_t-to-int bu…
Open Discussion: What can be done to reduce infrastructure-as-code complexi
Bricolage | Some notes on Local-First Development
Local-first shifts reads and writes to client databases synced by engines. A major paradigm shift ahead.
Things you forgot (or never knew) because of React - Josh Collinsworth blog
If you don't often look beyond established comfortable defaults, you might be surprised to learn just how far the world of frontend has moved away from React, and how big that gap continues to grow.
Pyramid or Crab? Find a testing strategy that fits
Discover how to combine different testing types into a reasonable strategy that matches your project.
A case study on scroll-driven animations performance - Chrome Developers
The new API is much smoother than the classic way of implementing scroll-driven animations.
matthewwolfe.github.io/blog/mocking-in-unit-tests
Can We Query the Root Container? | OddBird
The complexities of containment, overflow, and 'propagation'
How a year-long LeetCode habit upped my professional game—Martian Chronicle
Are algorithmic tasks like those on LeetCode useful for a developer beyond live-coding interview tasks? After spending a year developing a LeetCode habit, Nina Torgunakova answers the question and gives tips.
Before your next frontend pull request, use this checklist—Martian Chronicl
Frontend pull requests often contain common mistakes. Avoid them with this list of 7 small (but crucial) rules.
The massive bug at the heart of the npm ecosystem
An article detailing the massive bug at the heart of the npm ecosystem; encompassing a lack of validation by the public registry, package manifest inconsistancies & assumptions about package managers & security products
JSON Hijacking | You’ve Been Haacked
A while back I wrote about a subtle JSON vulnerability which could result in the disclosure of sensitive information. That particular exploit involved overriding the JavaScript Array constructor to disclose the payload of a JSON array, something which most browsers do not support
Go Memory Management Part 3 – Povilas Versockas
Go Memory Management. In this blogpost we will go thru how cgo impacts go virtual memory. We will look at Go Execution Tracer and how to trace system calls.
Go Memory Management Part 2 – Povilas Versockas
Go Memory Management. In this blogpost we will go thru how go uses cgo. We will look at Go DNS resolver implentations, libc & more!
The worst coder in the world tries an AI sidekick - Stack Overflow Blog
An example of LLM prompting for programming
Generated knowledge and chain of thought prompting of an LLM can generate useful code.
alextaylor.ca - Adventures in Time: Debugging a Daylight Saving Bug
What’s more fun than bugs? Bugs involving time! And none are so fascinating as bugs involving daylight saving time. With Daylight saving time almost upon us again, I thought it would be fun to rev...
How edge functions move your back end close to your front end - Stack Overf
Coding 102: Writing code other people can read - Stack Overflow Blog
Announcing .NET 8 Preview 1 - .NET Blog
.NET 8 Preview 1 introduces a roadmap for the year ahead, native AOT compilation, enhanced container and Linux support, and significant performance improvements.
Refraction, dispersion, and other shader light effects - Maxime Heckel's Bl
A guide on how to reproduce a chromatic dispersion effect for your React Three Fiber and shader projects with FBO, refraction, chromatic aberration, specular, and other tricks through 9 interactive code playgrounds.
























