Peter takes note that it is Time for the world peashooting championships again!. This is what happens when junior high school kids get older but don’t grow up. Age does make a difference as the tools of youth tend to acquire a sophistication of accessories and enhancements. While some keep to the bare bones classic straw armament, others are using gyroscopic stabilization, optical scopes, and laser indicators. Check it out.
Archive for the ‘Tools’ Category
Peashooting tech
Sunday, July 11th, 2010Finding the right place for the subsystems
Friday, March 26th, 2010Test equipment has an input, a processing component, and a display. Modern computing technologies have complicated the question about how these should be integrated. From standalone devices and chart recorders the trend is towards segregating the functions of data collection, processing that data for measurement, and display of the measurement.
Electronics Lab describes an interesting example in Screenscope: a standalone oscilloscope – just connect a monitor. Oscilloscopes provide an interesting example because of the potential for complex processing and the need for a graphic display. Ancient technology just collected a signal, scaled it, and shot it onto a CRT for display. Modern equivalents digitize the signal, subject it to all sorts of analysis, and then create a graphical presentation. The range runs from the standalone oscilloscope to the software that uses a sound card on a common PC. In between are the data collectors that feed software on a PC and the Screenscope that only uses the display.
The key for the Screenscope is that it bundles its software with its input and only uses a video display as a ‘shared’ component. This heads towards the standalone format with only one expensive subsystem left for the user to define. This puts the software component as a commodity and reduces user complexity and constraints significantly.
The next step is one most often seen in video monitoring systems. Those present a video camera as a node on a network that can be used via a standard web browser interface. Geographic information systems are another example in this vein where personal navigation devices can provide not only a map display but also provide position information to an upstream computer. The possibilities are enabled by inexpensive processing capabilities that can not only provide the intended measurement but also present that via net services. They need to be able to provide both the manufacturer’s intended function with built in software but also to allow access to the collected input in near real time so that users or third parties can leverage the equipment via standard interfaces and protocols for additional or custom processing and use.
As with video, there are many ideas being tried to determine protocols and procedures as well as presentation and subsystems. The access to various subsystems is often obscured due to concerns about intellectual property protection. Progress is being made but there remains a long road to go. The goal is to make it easy for users to be able to choose their level of involvement and customization and to move the level of expertise for this from internal development engineer with access to proprietary information to that of the informed amatuer.
Google Go
Wednesday, November 11th, 2009Java was the groundbreaker a bit more than ten years ago. It looked to consolidate much that had been learned about programming languages. Advances since then have been signficiant and that has led to a lot of cruft in Java, many followers-on, and significant distractions in the many scripting languages that have popped up with new ideas trying to meet demand.
Google has joined the fray. Ostatic describes the effort in Google Unleashes Go: A Brand New Systems Programming Language.
If its pedigree is any indication, Go is in good shape. The initial design for Go was scoped out by Rob Pike, Ken Thompson, and Robert Griesemer. You might remember some of those names from such projects as Unix, C, and Plan 9.
At the Go website, there is a Language Design FAQ that describes the stimulus for yet another computer language
Go was born out of frustration with existing languages and environments for systems programming. Programming had become too difficult and the choice of languages was partly to blame. One had to choose either efficient compilation, efficient execution, or ease of programming; all three were not available in the same mainstream language. Programmers who could were choosing ease over safety and efficiency by moving to dynamically typed languages such as Python and JavaScript rather than C++ or, to a lesser extent, Java.
I like this guiding principle comment
Programming today involves too much bookkeeping, repetition, and clerical work. As Dick Gabriel says, “Old programs read like quiet conversations between a well-spoken research worker and a well-studied mechanical colleague, not as a debate with a compiler. Who’d have guessed sophistication bought such noise?” The sophistication is worthwhile—no one wants to go back to the old languages—but can it be more quietly achieved?
Over on Slashdot, someone noted that there isn’t a big library defined for Go (yet). Responses indicated how this sort of gap could be provided using examples such as CPAN or a JVM translator. The key, though, is to keep it simple. Make a lean, mean, efficient, modern programming language and the rest will come.
This effort has a small team with undisputed pedigree in an environment that at the top of the heap in the modern software paradigm. The values are appealing, at least to me. It will be worth keeping track of this one.
zsync for karmic
Thursday, October 29th, 2009Today is release day for Karmic Koala. That usually means that there is a lot of I’net traffic. Ubuntu tutorials has a description about how you can use zsync to update CD image files.
The download mirrors for this release have started to include .zsync files. zsync is similar to rsync, but it puts the load on the client vs the server, and it allows you to update your existing images in a fraction of the time it would take to re-download the full image.
The tutorial appears to be missing the zsync command on the first line of its examples. The process is first to install zsync and make sure your pre-release iso files have the release name. Then you run zsync against the proper server iso.zsync file to update the iso to the latest version
But it doesn’t work!
Saturday, August 15th, 2009Planet Debian described Bohrbugs: OpenOffice.org won’t print on Tuesdays and that lead to Wikipedia and Unusual software bug.
I didn’t know they had names!
Ubuntu USB boot problem workaround
Thursday, August 13th, 2009There are so many options for making an Ubuntu boot USB memory stick now that it becomes a convenient method to propagate a new system to several systems with a clean install. Most fairly current machines will boot off USB but sometimes there are problems. Whatever. If you already have Ubuntu installed with GRUB on the hard drive, you can boot the USB without having to change BIOS settings or fussing with the BIOS bootability of the USB device,
- At the Grub menu press ‘c’ to get to the command line.
- ‘find /wubi.exe‘ – that looks for a file at the root of the USB stick with a recent Ubuntu install system. You should get a (hd1,0) or some such that tells you the USB drive and partition identification.
- ‘root (hd1,0)‘ – this sets the root device, use the results from your find (step 2) if not (hd1,0)
- ‘chainloader +1‘ – this loads the first sector on the root partition
- ‘boot‘ – executes the boot that was loaded
This should boot the system you have installed on your USB memory device.
see the Grub manual command section for more about these commands. The Ubuntu Guide describes this process and some alternatives for USB booting.
Links for Learning about Regular Expression
Monday, June 1st, 2009Smashing Magazine ~ we smash you with the information that will make your life easier. really. – Essential Guide To Regular Expressions: Tools and Tutorials
an essential part of any programmer’s toolkit. They can be very handy when you need to identify, replace or modify text, words, patterns or characters. In a nutshell: regular expressions (regex) are like a Swiss army knife for modifying strings of just about anything. Need to make your site URLs look pretty? Use regex. Need to remove all punctuation from a sentence? Definitely use regex. The uses for regular expressions are almost limitless.
It is programming against text and it can get complex and very difficult to read. The article has a number of links to quick reference cards and tutorials that will help learn and use regular expressions. Not every editor or string processing language uses exactly the same syntax. That is why the reference to Comparison of Regular Expression Engines at Wikipedia is useful.
Powerful tools need a bit of work to learn to use properly and they also need careful attention to safeguards!
Document parts and pieces
Friday, May 29th, 2009It seems a lot of people write documents much like the guy who builds his house by bringing a few boards home every week. It is all ad hoc and tacked together. Christian Paratschek describes a better way in Text Formatting with OpenOffice.org Writer. The idea is that a document is make of parts and pieces. Open Office provides a catalog of common parts and pieces and using these can make building your document a much more effective process.
In a document, the key part is called a style. The catalog of parts is a style sheet.
What Christian notes is that people usually just take text and adjust it directly. The style sheet idea means that you identify text and associate it with a style that describes its attributes. Instead of selecting the salutation and setting it left justified with no indent you just label it as a salutation that has those attributes.
As with many things computer, it doesn’t make too much of a difference for trivial one-of projects. But, if your project gets towards the large and complex or is something you do many times with small variations, a bit of effort up front can pay big dividends.
1MHz digital storage oscilloscope kit
Wednesday, May 13th, 2009For $33 you can have a lot of fun putting together ($49 assembled) a digital storage oscilloscope suitable for audio frequencies. SMT soldering skill is required and you’ll need a 9-12 VDC or VAC power source. The display is rather small, the software is open source, and the price is getting down to toy levels.
USB iso boot, Unetbootin or Ubuntu
Tuesday, April 21st, 2009One of the first things to do these days with a new distribution ISO is to use it to create a bootable USB memory stick. There are three tools at hand for this. One is a simple script, one is Unetbootin, and the third is the (now) default Ubuntu utility.
The Ubuntu utility encountered a problem when the persistent storage was activated. This is a means to be able to create a live boot device you can use to remember your email message store, settings, and bookmarks. It isn’t needed if you only seek to create a bootable USB device to install systems.
Unetbootin works well and its customized boot routines probably offer some advantages. It is also cross platform and set up to customize bootable devices from common Linux distributions and Windows installation CD’s. It didn’t have any problem with the Remastersys created ISO.
The default Ubuntu utility also didn’t have any problem with the Remastersys created ISO. It makes a convenient means to create a USB device to facilitate new version installs.