Showing headlines posted by gus3

( 1 2 ... 3 ) Next »

A more expressive Bash prompt

Bash provides some interesting built-in specifiers for the prompt strings PS1. Some of them are static, like ‘a’ for ‘alert’ (Ctrl-G, the bell, beep, or visible flash), or ‘n’ or r’ for newline or carriage return. Some specifiers are set during Bash’s startup, like ‘h’ for the hostname, or ‘u’ for the username; these don’t change during any particular shell session. Some are more dynamic,

A Trustworthy, Free/Libre Computer

  • CMU; By Gabriel L. Somlo (Posted by gus3 on Oct 18, 2019 10:34 AM EDT)
  • Groups: Embedded, Linux
A project in building a Free computer, using Free tools for both the OS and the hardware, turning an FPGA into a SoC with networking, video, storage, and PCIe. And it's self-hosting, in Linux!

Scripting an Animation

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on Apr 25, 2018 6:36 AM EDT)
  • Groups: Developer, GNU, Linux
You can create a basic computer animation, using Linux on your desktop, or even on your Raspberry Pi, using a short, well-crafted shell script.

Hello Debugger!

Sometimes, we get ideas we wish we’d thought of sooner. A couple months ago, I got this one: break to the debugger from the source code. (Not specifically Linux, just a cool idea I had.)

It's Alive! (maybe, sort of)

Nearly 12 years after it was filed, a lawsuit against IBM Corp. that riled the open-source computer code community is back on the federal court docket in Utah. (No, this isn't an early April Fool's joke. Would that it were.)

Getting a Time Without NTP

One of the drawbacks of a Raspberry Pi is its lack of an on-board clock. After a reboot, its clock is set to midnight, New Year’s Day, 1970 UTC, the beginning of the Unix epoch, and then the kernel boots. However, it is possible to get the current time early in the boot process, with one condition: an NFS root filesystem.

Slackware 14.1 released

Version 14.1 of Slackware, the oldest Linux distribution still in development, has been officially released.

Accessing the Raspberry Pi’s 1MHz timer, via kernel driver

The stated purpose of the Raspberry Pi is to provide a simple, inexpensive platform for experimentation. For myself, the US$35 (plus shipping, tariffs, and all that) has paid off in spades, giving me the opportunity to attain that Holy Grail of Linux programming: writing a kernel module.

Accessing the Raspberry Pi’s 1MHz timer

A fixed-rate timer is not part of the ARM specification, but most ARM-based SoC’s have such a timer. The Raspberry Pi is no exception. However, reading its timer in Linux takes a Unix hacker’s understanding.

When was that? Examining syslog timestamps

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on May 12, 2013 11:22 AM EDT)
  • Groups: Kernel, Linux
Turning syslog entry timestamps into human-readable, localized dates and times.

HOWTO: Rebuild Glibc on Slackware ARM 14.0 for the Raspberry Pi

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on Nov 20, 2012 11:31 PM EDT)
  • Story Type: Tutorial; Groups: Slackware
This guide will explain how to rebuild core glibc libraries to use the greater capability of the Raspberry Pi’s on-board ARM 1176JZF-S CPU. The process is not terribly involved, but using NFS for the build space took 8-1/2 hours, even with the CPU overclocked to 900 MHz.

Also, check out the previous article, not particularly Linux, but interesting to techies. - gus3

C-ing a Flashing Light

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on Oct 3, 2012 2:15 AM EDT)
  • Story Type: Tutorial
In my previous article, I showed how combining two instructions into one can speed up a very small countdown loop. In this article, I’ll demonstrate how a single non-optimizing compiler option can have an even greater impact on performance.

Immature Optimization

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on Sep 15, 2012 12:25 AM EDT)
  • Story Type: News Story; Groups: Linux
How much difference can a single instruction make? On the Raspberry Pi, it can make a difference of 14%, demonstrable without any expensive digital testing equipment.

(Not strictly Linux/FOSS, but shows testing with a DIY philosophy.)

A Month with Raspbian

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on Jul 31, 2012 7:00 PM EDT)
  • Story Type: Reviews; Groups: Debian
Three months on, my Raspberry Pi is still proving a delight. I have settled on the Raspbian distribution as my tinkerer’s habitat, giving me access to the floating-point unit in the glibc libraries (especially libm.so). However, being mostly uninitiated in Debian administration, I have spent some time learning “the Debian way” of doing things. This article will therefore be a shameless hodge-podge of Raspbian review and Debian ignorance, plus a handy (for me) trick at the end.

Thanks to caitlyn for prodding me to do this. - gus3

The Raspberry Pi: A Review

Even if the Raspberry Pi is under-powered for desktop work, I have only high regard for the stated goal of the design: an affordable platform for the next generation of hardware and software designers. Considering that the higher-end model is a mere US$35 (plus shipping, handling, and tariffs), the actual bang-for-the-buck is amazing.

The Raspberry Pi: My First Hardware Experiment

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on May 15, 2012 1:36 AM EDT)
  • Story Type: Reviews
My tiny new Raspberry Pi arrived last month, bringing with it a lot of hoopla and renewed enthusiasm for computing. Now that my first task of getting Slackware ARM installed to it, and configuring it to run "headless" (network only, no video or keyboard connected), it’s time to turn my attention to some hardware hacking. I decided to try out some basic cooling systems for it, to see if they make any appreciable difference in the RPi performance.

Rest In Peace, Jack Tramiel

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on Apr 10, 2012 4:25 AM EDT)
The computing world lost a luminary this past Sunday. Jack Tramiel passed away at age 83. As founder and long-time head of Commodore Business Machines, he spearheaded computing "for the masses, not the classes." His Commodore VIC-20 and Commodore 64 systems were eminently hackable, to the point that full-speed emulators were available in the mid-1990's. And I have a personal story to tell about him.

Finding the Fastest Filesystem, 2012 Edition

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on Jan 12, 2012 7:03 PM EDT)
  • Groups: Linux
A new year, and Linux gets a new major kernel version. It’s time for a new filesystem test!

Do As We Sue, Not As We Do

  • I Am, Therefore I Think; By gus3 (Posted by gus3 on Dec 11, 2011 12:45 AM EDT)
  • Story Type: Editorial
Connecting a few dots from Download.com to earlier (false) accusations of copyright violations.

Lisp Creator John McCarthy Dead at 84

  • Tech Crunch (Posted by gus3 on Oct 25, 2011 6:57 AM EDT)
  • Story Type: News Story
First Jobs, then Ritchie, and now McCarthy. This has been a sad month.

( 1 2 ... 3 ) Next »