Calculate pi by counting pixels
Mar14

Calculate pi by counting pixels

Calculate pi by counting pixels Jim Hall Tue, 03/14/2023 – 03:00 For Pi Day this year, I wanted to write a program to calculate pi by drawing a circle in FreeDOS graphics mode, then counting pixels to estimate the circumference. I naively assumed that this would give me an approximation of pi. I didn’t expect to get 3.14, but I thought the value would be somewhat close to 3.0. I was wrong. Estimating the circumference of a...

Read More
How I destroyed my Raspberry Pi
Mar14

How I destroyed my Raspberry Pi

How I destroyed my Raspberry Pi hANSIc99 Tue, 03/14/2023 – 03:00 I wanted to write an article demonstrating “How to automate XYZ with the Raspberry Pi” or some other interesting, curious, or useful application around the Raspberry Pi. As you might realize from the title, I cannot offer such an article anymore because I destroyed my beloved Raspberry Pi. The Raspberry Pi is a standard device on every technology...

Read More
Control your Raspberry Pi with Lua
Mar14

Control your Raspberry Pi with Lua

Control your Raspberry Pi with Lua alansmithee Tue, 03/14/2023 – 03:00 Lua is a sometimes misunderstood language. It’s different from other languages, like Python, but it’s a versatile extension language that’s widely used in game engines, frameworks, and more. Overall, I find Lua to be a valuable tool for developers, letting them enhance and expand their projects in some powerful ways. You can download and run stock Lua as Seth...

Read More