Crash course: Embedded programming with Arduino

Please enjoy my fast and furious introduction to the wonderful Arduino embedded platform and electronics hackery: Crash course: Embedded programming with Arduino.

Demand for embedded programming is growing like crazy, so anyone looking for some job security might consider becoming an ace embedded programmer. It helps to have some programming experience, but even raw beginners can get started inexpensively and learn on their own. One of the friendliest introductions to embedded coding is Arduino. Arduino is a popular open embedded hardware and software platform with hundreds of howtos and projects to try out. Today we review the basics of both electronics and Arduino coding in a fun holiday project, Singing Holiday Snowman.

I’m going to take my old plastic snowman (figure 1) and outfit him to sing holiday songs whenever anyone approaches within a few feet, and to blink some festive red and green LEDs. (Half the fun of Arduino is blinky lights.) You, of course, may use any object you want

.

Managing Services on Linux with systemd

New article at Linux.com by me: Managing Services on Linux with systemd . You’ve read all about systemd, the new Linux init daemon. You know what it does, and why. Now it’s time to dig in and learn how to make it sit up and beg — or at least start, stop, and get information on services.

Starting and Stopping Services

My earlier piece, “Here We Go Again, Another Linux Init: Intro to systemd” discusses the concepts behind systemd and what it is supposed to do. Now it’s time to learn how to use it to control services on our systems. systemd is backwards-compatible with sysvinit and Upstart, so you can try it out by installing it on any Linux that uses sysvinit or Upstart without a lot of extra work. Arch Linux, Debian, and OpenSUSE all include systemd in their software repositories.

Nmap Network Probing Cheatsheet

New article by me at Olex Wazi: Nmap Network Probing Cheatsheet– Nmap is a powerful utility for scanning your network and discovering all kinds of information about who is on it and what they’re doing. You can discover used and unused IP addresses, hostnames, services, and operating systems, and their versions – information that can help you monitor who is on your network, and lead you to unsafe or unauthorized servers.

IBM Donates Portion of Blue Spruce Code: Enables Smarter Healthcare Solutions

Open source enables large distributed science projects in a way that closed, proprietary software never will– here is some interesting news from IBM:

ARMONK, N.Y. – October 3,2011 -IBM (NYSE:IBM) today announced that the company is donating a portion of its Blue Spruce Project code to the Dojo Foundation’s Open Cooperative Web Framework (OpenCoweb). The Blue Spruce technology, which was developed in the IBM labs, enables real-time cooperative web solutions.

It is already being utilized in an online data exploration system for the National Institutes of Health (NIH) funded study of Chronic Obstructive Pulmonary Disease (COPDGeneR), and to create customized solutions for the healthcare industry by iTel Companies, Inc.

With the code donation to the OpenCoweb Framework, developers can build new solutions that allow concurrent real-time interactions between remote users and external data sources such as a co-authoring editor. The OpenCoweb Framework is built on web Standards and consists of JavaScript libraries. The libraries serve as building blocks for Web application developers to design custom solutions for a variety of industries such as custom imaging applications for healthcare or collaborative investment portfolios for the finance industry.

The OpenCoweb Framework is a key component of the system utilized by COPDGeneR investigators, correlating clinic and medical imaging findings to increase understanding of the disease processes and the underlying genetic factors. COPDGeneR collaborators from around the globe can review and compare the clinical data and CT scan images of more than 10,000 individuals. The system provides access to selected cases in real-time. Through graphic representations, the investigators are able to study outlying cases and select cases for further study in order to identify the features and genetic factors that influence the development of specific abnormalities seen in patients with COPD. The cooperative web methodology of the Framework increases the data available to researchers and provides tools for data analysis. This has decreased repetitive requests for the same raw data from multiple individuals and opens new possibilities for data mining by the researchers.

“The online system we’ve been using on the COPDGene patients is exciting and extremely impressive,” said James D. Crapo, MD and COPDGene Executive Committee Member. “With the online collaboration capabilities we now have at our fingertips, we’re in constant communication and are uncovering key trends that will help us to better understand the disease.”

The code that was donated to the OpenCoweb Framework is part of IBM’s Project Blue Spruce. Project Blue Spruce allows people to simultaneously interact and update content in real-time via a web browser on computers and the Apple iPad and includes video chat. For example, using IBM Project Blue Spruce, a sales rep could in a browser conduct a video chat with a client while they complete an online sales form.

iTel Companies, Inc. is using the IBM Blue Spruce Project code for its mental health offering, iTelepsych. iTelepsych will allow patients to virtually meet and communicate with psychologists, psychiatrists and master therapists via video conferencing for real-time medical treatment from any location with an internet connection.

The offering also provides medical professionals the ability to expedite critical decision making by allowing them to simultaneously manipulate data and collaboratively discuss brain images and lab results. iTelepsych can be customized for individual healthcare providers, and can provide a cohesive experience for the patient by being the portal to HIPPA compliant telehealth consultations.

Fig 1: Search Results for Breast Cancer Patients that also had COPD.

Fig 2: Actual MRI images for a specific patient viewable on an iPad.

.

“iTelepsych helps doctors easily establish a practice with patients who are not able to leave their homes or attend typical office for appointments. Now, with Blue Spruce technology from IBM, people can access the mental healthcare they need even if they cannot come to a doctor’s office,” said Eric Greenman, MD and chief executive officer iTel Companies.

“IBM believes an ongoing commitment to open source and cooperative applications is a critical component for building a smarter, healthier planet,” said David Boloker, chief technology officer, Emerging Technologies, IBM. “We are pleased to open code and drive innovation in partnership with the Dojo Foundation Project in an effort to streamline and enhance research and real-time interactive analysis of participant data.”

See a video demo here

For more information on IBM’s open source initiatives, please visit: http://www.ibm.com/opensource

My fine September articles!

My fine September articles:

Crash course: How to make a website with Drupal
Drupal is an amazing content management system (CMS) that can build pretty much any Web site you want it to — if you can figure out how. Follow along as I remake my personal Web site, bratgrrl.com, using Drupal.

Become an ImageMagick Ninja: Doing Things in Batches. Today we’re going to unleash more of the mighty ImageMagick power and learn to make drop shadows, raised buttons, and proof sheets, and generate different sizes of the same image.

A crash course in PostgreSQL, part 2. In which we learn how to populate a table with data, and about important concepts like schema, normalization, views, and transactions.

Doxygen Magically Turns Source Code into Documentation. Good source code documentation takes time and effort, and it’s essential, so what’s an overworked coder to do? Look for tools to make it easier, like the Doxygen documentation system.

Improve Network Security with Open Source Monowall: Part 2. Security doesn’t have to be a brain-burner.

The 10 best open source apps you never heard of

More of my favorites on IT World: The 10 best open source apps you never heard of

“There are thousands of excellent open source programs to choose from. Here are 10 of my favorites that rarely get breathless buzz or make top 10 lists, presented in no particular order, rhyme, or reason.

“Ardour Digital Audio Workstation (DAW)

“The Ardour digital audio workstation is a first-rate multi-channel audio recorder, editor, and mixer. It runs on Mac OS X and Linux, which are both superior audio production platforms. It supports a wide range of audio file formats, has non-destructive editing with unlimited undo, and unlimited tracks and buses. (Limited only by your computer when it reaches its limits and keels over.)

“Ardour organizes a recording session by buses. An audio bus, whether hardware or software, is a grouping of tracks. Then any edits are applied to all tracks on the bus, as though it were a single track. For example you might route all the bassoon tracks to a single bus because you want to get editing the bassoons over with quickly…”

FOSS advocate who’s free, frank and fearless

Here is Sam Varghese’s in-depth interview interview with me. Not bad if I say so myself: FOSS advocate who’s free, frank and fearless.

“Journalist, FOSS advocate, feminist – Carla Schroder is all these and more. But more than anything it is her straight talking that marks her out – when she takes a stand on issues she is driven by conviction.

“This means that often she is at the receiving end but it is something that she can more than handle. The good thing about dealing with her is that she never allows her personal and professional worlds to mix – even her worst enemy will be allowed to have his/her say on a site which she edits. This is indeed a rare trait.

“Schroder was recently in the news when her gig with Linux Today, one of the better-known FOSS news aggregation sites, ended in dismissal. Her readers liked what she was doing but the management apparently did not. The terms of her leaving do not permit her to say anything about it.

“But there is a lot more to Schroder than what she did at Linux Today. She has moved on and rejoined LXer where she was an editor before joining Linux Today. She took some time off to speak to iTWire about her present, her past and what she looks forward to…”

Creating the Perfect Fluxbox Desktop on Linux

Check out my Creating the Perfect Fluxbox Desktop on Linux on Linux.com:

“Fluxbox is a fast, lightweight, very customizable window manager for X. Fluxbox is a great choice for Linux users who favor speed and efficiency, and setting up their working environment just the way they like. Today we’ll look at some super-saver speed tricks such as grouping applications with tabs, tear-off menus, sticky buttons, the infamous slit, and more.

“I have this weird idea about computers. I think that we should control them, and that they should serve a higher purpose than being high-tech TVs feeding us a steady stream of drivel. We don’t even get good drivel anymore — it’s drivel lite. That is why I like Linux, and all of its power and flexibility. It does what I want it to do. And that is why I like that there are dozens of great window managers and desktop environments for Linux, such as XFCE, LXDE, Ratpoison, IceWM, FVWM, and Enlightenment. XFCE and Fluxbox are my daily workhorses.
First Run

“When you run Fluxbox for the first time there isn’t much to see, just a blank desktop and a bottom toolbar that displays a workspace switcher, a clock, an iconbar, and a system tray (systray)…”

Weekend Project: Find Hidden Treasures in XFCE 4.8

Yet another fine article by me:

“Xfce 4.8 is a major upgrade to the popular lightweight desktop environment. 4.8 was released in January 2011, replacing 4.6. Xfce 4.8 is available in Debian Testing, Ubuntu Natty Narwhal, Fedora 15, and probably other Linux distributions. There is more to Xfce than meets the eye; let’s dig under the hood and uncover some of its hidden goodies.

“Xfce is broken up into several dozen packages, so you have a lot of control over which components you install. In Debian and Natty you can install the Xfce4 meta-package to get a complete desktop environment with niceties like Network Manager, themes, a top panel, a dock, system menu, and a nice logout dialog with a complete set of actions: log out, shut down, restart, suspend, hibernate, and save session. Figure 1 shows how it looks in Natty.

Xubuntu, Ubuntu’s official Xfce spin, ships with more th”emes, multimedia apps, more apps in the dock, and much Gnome integration. Ubuntu users don’t need to download and install Xubuntu, but can get it by installing xubuntu-desktop with all of its Recommends on any *buntu. You can install any number of desktops and window managers on any Linux, and select the one you want to use at login. There is a trick to it on Ubuntu, in case you hadn’t noticed– the Ubuntu login screen won’t show your options until you enter which user is logging in. Then a teeny-tiny menu with various options appears at the bottom of the screen. (Apparently Ubuntu is “humanity towards others with perfect vision and sharp, high resolution computer monitors.”)

“Fedora has its own Xfce customizations that I’ve only skimmed…” Read the rest here

Things You Can’t Do With a GUI: Finding Stuff on Linux

Things You Can’t Do With a GUI: Finding Stuff on Linux , by me, is full of great stuff like:

“How much space is left on my hard drive or drives? This particular incantation is one of my favorites because it uses egrep to exclude temporary directories, and shows the filesystem types:

$ df -hT | egrep -i "file|^/"
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda2 ext4 51G 3.6G 32G 11% /
/dev/sda3 ext4 136G 2.3G 127G 2% /home
/dev/sda1 ext3 244G 114G 70G 63% /home/carla/photoshare
/dev/sdb2 ext3 54G 5.8G 45G 12% /home/carla/music

What files were changed on this day, in the current directory?

$ ls -lrt | awk '{print $6" "$7" "$9 }' | grep 'May 22'

May 22 file_a.txt
May 22 file_b.txt

Read the rest on Linux.com!