It will not happen, but what if no more computers could be made. Just a thought.  That means no more ever expanding memory and unlimited space for the programs we run on our machines. programs would have to become more practical and efficient. Software can no longer expand to the size of a computer’s clothing.  What made me think about this is that a software vendor had boasted how they still support the old as the say legacy Intel pentium IV computers. That sort of had me worried because, one for me they are the newest computers we have. Not everyone can afford to upgrade to a new computer or shell out for the latest upgrades every other day.  Thankfully, one of the operating systems we use still can run the latest version on pentium II’s for the time being.  We still have pentium I’s and earlier that run older operating systems that are not the latest. Someone who is close to me reminds me that something paid for still working avoids payments on newer equipment.  A lot of our equipment is starting to fail. You strip what works and consolidate into more working equipment.

That leads me to another issue. Vendors today do not want you to use your equipment. i.e. Apple is allegedly designing equipment so it can not be modified by a user for the user’s needs. Apparently vendors are like jealous lovers and do not want you to get the best use of your equipment. They can not let go. The vendors forgot they sold away the equipment. They do not own it any more under traditional business methods. If you do modify something, you are allegedly violating some kind of patent or copyright. You almost have to take an attorney with you and let them decipher the eula (end user license agreement).  In a lot of cases, those eulas are down right unconscionable. Which usually means illegal. Vendors are counting on people not wanting to use the legal system to prove alleged illegality of such documents.  Having old equipment that most people do not care about (unless vendors see you making a pretty buck with it) do not  usually care what you do. Why can they not let go.

On a side note, I am glad the courts are no longer cow-towing to the patent and copyright bullies. We still need some reform in the law.   Maybe the good old boy’s legal profession will get their act together. A shout out to the EFF for helping that change occur.


Play pretend here for a second. We need to make a consolidated financial report.

Units one two and three send their data in, but they are in an ascii file. We want to convert them  so they can be easily converted for use in a spreadsheet.

From Unit 1 in unit1:

Unit 1
Income:    5000
Expenses   2000

Data from Unit  2 in unit2:

Unit 2
Income     45000
Expenses   46000

Data from Unit 3 in unit3:

Unit 3
Income     18000
Expenses  18000

Files should look something more like this:

Then after we cut the files they should look like this:

Lets create a program to compile the data. Nice thing about this is all we have to do to add units is the the same type file in the directory. No requirements to change the file. Warning it will kill the old cutitdata, so be sure and back all the files up and and delete ones you do not need. There is of course and easier way, but we will save that for later….

# Get data from unit files and create .CUT files.
for f in unit?
cut -c 12-25 $f > $newfile

# create tmpfile.
touch cutfile
rm cutfile
touch cutfile

#create Labels for the file.
echo " " > cutitfile
echo Income: >> cutitfile
echo Expenses >> cutitfile

# put it all together.
for g  in unit?.CUT
paste --d , cutitfile  $g >> cutfile
mv cutfile cutitfile

# uncomment the next line if you want to use sc
# psc -d , < cutitfile >

$ chmod +x


$ cat cutitfile

, Unit 1, Unit 2, Unit 3
Income:, 5000, 45000, 18000
Expenses, 2000, 46000, 18000

This is what is known as a comma delimited file which most spreadsheets can import easily.

Now we can use the spreadsheet to import the data.

Choose the file:

Using the comma splits out the cells like we want them.

Raw data:

After the window dressing.

If you want to stay completely command line, you can use the program called sc.
You will need to do a conversion though.

$ psc -d , < cutitfile >
$ sc


Do not have first place yet, but I do have four of the top five.


Started a series on basic php page scraping.

Updated this instructable:


Tuna piadina:

Good day.