64Zbit.com
Tech is way, WAY interesting

Tag programming

A Coder Considers the Waning Days of the Craft | The New Yorker

 — 
Category: Link

Artificial intelligence still can’t beat a human when it comes to programming. But it’s only a matter of time.

Behind "Hello World" on Linux

 — 
Category: Link

But behind the scenes, there’s a lot more going on. I’ll describe some of what happens, and (much much more importantly!) explain some tools you can use to see what’s going on behind the scenes yourself. We’ll use readelf, strace, ldd, debugfs, /proc, ltrace, dd, and stat. I won’t talk about the Python-specific parts at all – just what happens when you run any dynamically linked executable.

Writing Javascript without a build system

 — 
Category: Link

Writing Javascript without a build system

Examples of problems with integers

 — 
Category: Link

Hello! A few days back we talked about problems with floating point numbers.

Michael Tsai - Blog - C xor C++ Programming

 — 
Category: Link

It is not uncommon to hear about C/C++ programming as a shorthand for “C and C++” programming. This implies that C and C++ are similar, but distinct, programming languages with the obvious interpretation being that C++ is a proper superset of C. However, this does not accurately describe the situation. The C++ programming language is inspired by the C programming language and supports much of the syntax and semantics of C, but is not a superset that is built on top of C. Despite sharing a historical relationship to one another, the languages have evolved independently and are specified in separate language standards. Due to this separation of the two specifications, incompatibilities have crept into the shared space of code that can be compiled by either a C compiler or a C++ compiler.

Transferable skills - Chris Coyier

 — 
Category: Link

At a macro level, you learn programming concepts that are largely transferable regardless of language. The syntax may differ, but the core ideas are still the same. This can include things like: data-structures (arrays, objects, modules, hashes), algorithms (searching, sorting), architecture (design patterns, state management) and even performance optimizations (e.g. eager vs lazy evaluation, memoization, caching, lazy-loading etc). These are concepts you’ll use so frequently that knowing them backwards can have a lot of value.

Raspberry Pi as a Flask Server

 — 
Category: Tech
Tags:

I created an Air Quality Index gadget made from a Raspberry Pi Zero W with a tiny OLED screen from Adafruit. It shows the AQI from my local PurpleAir sensor. I created a Flask web server on the Pi so I could remotely see the AQI and change the PurpleAir sensor ID.

<