Disable telemetry reporting in Visual Studio Code. If you’d prefer that your code editor didn’t phone home.
Tag: coding
Only crashes on Wednesdays
A fun bug story about crashes that only happened on Wednesdays:
After several weeks of frustration, where entire days devoted to experimentation had produced no results, I ended up basically adding printf statements to every single line between receiving the event from the serial port and writing it in the database… and in the process, as I revisited every line of that code, a sinking realization dawned on me.
Doom 3 source code review
Fabien Sanglard takes an in-depth look at the Doom 3 source code.
Getting our hands on the source code of such a ground breaking engine is exciting. Upon release in 2004 Doom III set new visual and audio standards for real-time engines, the most notable being “Unified Lighting and Shadows”. For the first time the technology was allowing artists to express themselves on an hollywood scale.
The accidental designer and persuasion
Frances Berriman’s post about being an accidental designer struck a chord with me, particularly the consideration of design as a soft-science:
I unfairly (despite being very much into, and doing, art throughout my life) considered “design” to be a soft subject – engineering being the one with the greater level of difficulty. Wrong assumption, I realise, but easily encouraged during my time with computer scientists during my degree years where the concept of service design for the human-being end of software was treated as a “nice extra” and usually quite glossed over.
My attitude was similar until I had the opportunity to study book design. Web development is a surprisingly similar field to book design; think large quantities of data, tons of images, typography, how the user/reader is interacting with what you made. That experience also made me acutely aware that websites are living things, another point that she touches on:
Those of us building websites then, early adopters of proper web-standards and sites that worked for lots of different kinds of users, tried desperately to make them understand that this isn’t print and it is a flexible, changing, growing, responsive, versatile, medium. They didn’t get it.
I’ve seen the other side of the fence, and like she says, it’s not so much that they don’t get it, more that they have been given the chance to do so. That leads me to a post by Jeff Atwood, But You Did Not Persuade Me. Definitely a skill I need to work on.
On coding and thinking
From a post by Achal Aggarwal, Lazy People Innovate:
Our job as programmers is not to churn out huge chunks of code everyday. Our job is to think innovative ways to solve a problem. Code is not the main product we are looking for. Code is not what we want to do. But it is what makes everything run. It is a necessity.
Mario AI
Infinite Super Mario AI one of the submissions for the Mario AI competition has been released under a WTFPL license. Make sure to check out the videos.
Algorithm visualization
Visualizations of various sorting algorithms, cool stuff. The original program was written in python, it’s also available using canvas.