Jeff Duntemann's Contrapositive Diary Rotating Header Image

pascal

Odd Lots

Odd Lots

Odd Lots

Odd Lots

The RPi Enthroned

I wonder how many Raspberry Pi boards will spend their entire working lives sitting cockeyed on a desk somewhere, at the center of a tangle of cables. That’s how mine was until a couple of days ago, when despite my cough I allowed myself a few minutes of quality screwdriver time to pull a proper RPi system together.workstation-500wide.jpg

It didn’t take much. Mostly what it took was a 2004-era Dell SX270 all-in-one system minus the SX270, which I now use as a bookend. The key component is a heavy stainless steel base with a VESA monitor mount and a bracket to hold the SX270 behind the monitor. The monitor itself is an unexceptional Dell 1704fp, with a native resolution of 1280 X 1024. (Those now sell for ~$50 on eBay.) That’s more than enough pixels for an RPi, although I tested it on one of my 21″ 1600 X 1200 behemoths and the little gadget did quite well overall.

BackView-500wide.jpg

I had already mounted the board on an aluminum plate, and all I had to do this time was drill two holes and bolt the plate to the SX270 mounting bracket. I may dress the wires a little to keep them from placing any torque on the connectors, but it works well as-is.

I was surprised to find out that the MagPi magazine is actually laid out on an RPi, using the open-source Scribus layout program. I installed Scribus via apt-get and poured some text into a layout. (I’ve been playing with Scribus for years.) Brisk! I guess we need to stop boggling at the capabilities of tiny little computers with all of two ICs on the mobo.

It certainly does a good job with FreePascal and Lazarus, which is why I went to all this trouble. They’ve now sold half a million of these things. At least a few of those people ought to be willing to buy a Lazarus tutorial for it. We’ll see.

Odd Lots

  • Making you fat and diabetic is the least of it: Sugar (especially fructose) sabotages your brain. If it’s your first favorite organ (as it is for me) put your brain at the top of your personal food chain. Be a caveman: Eat more animal fat and less sugar.
  • Eat more fat and less sugar, but do it this way: Trade sugar for sleep. Lack of sleep makes you hungry, and I’m guessing that chronic lack of sleep makes you lots hungrier than you would be if you just admitted that you can’t get by on six hours or possibly even seven. Cavemen slept when it got dark. Dark is your friend. (Thanks to Jonathan O’Neal for the link.)
  • While we’re talking Inconvenient Health Truths, consider: The downside of demonizing salt is that people have begun to show symptoms of iodine deficiency. (I myself am…unlikely…to ever have that problem.)
  • Instagram walked back from the cliff and withdrew its mind-boggling policies on commercial use of user photos without permission or complication. The Internet firestorm was one reason, I’m sure…but I’m also guessing that someone in their legal department got the message through that the firm would be sued into subatomic particles if it went ahead.
  • I wasn’t aware that a sack of potatoes stands in well for a human being in Wi-Fi tests on networking in crowded spaces like aircraft cabins. I do wonder what happened to the potatoes.
  • “Thorium” is my answer to the question of how to best reduce CO2 in our atmosphere. We need base load; wind and solar are necessary but not sufficient.
  • There are at least five planets orbiting SF favorite Tau Ceti, and one may be in the star’s habitable zone. What the article does not mention is that the habitable planet is considerable closer to its star than Earth is to the Sun, and at a distance closer than Venus is probably tidally locked on its star. That’s not a dealbreaker, but tidal locking certainly makes the journey from slime to sublime a lot less likely.
  • My ongoing (and slow-going) project of rewriting Borland Pascal from Square One for FreePascal continues, and there’s a new and expanded PDF up on my FTP site. 9 MB. 180 pages done out of about 350 or 400 planned. Not all 800 pages of the original book will be included, because some of it is now mostly useless, and some will be kicked upstream to a Lazarus book that I’m planning.
  • FreePascal contains a clean-room clone of Borland’s TurboVision, which I actually named way back in 1989. (Its original name was TOORTL: Turbo Object-Orietnted Runtime Library.) I’m going to recompile my Mortgage Vision application in FPC with FreeVision and see if it still works. That is, if I can find the source…
  • We’re getting our Mayans, Aztecs, and Oreos mixed up. Actually, I read the oreoglyphics on the cookie and it said that the world will end in 1947.
  • Furthermore, it’s a lot tougher to dunk a Mesoamerican stone calendar in your coffee.

Odd Lots

Odd Lots

  • I’ve installed Lazarus 1.0 without mayhem, and have created a few simple programs with it. So far, no glitches. My recommendation is still cautious. Nonetheless, I’d be interested in hearing other people’s experiences with the new release.
  • Carmine Gallo wonders why more people aren’t doing image-rich PowerPoint presentations. Um…it’s because drawing pictures is way hard compared to writing text. Why is there no mention of this either in the article or in the comments?
  • Here’s a great timesaver: Instead of making political posts on Facebook, point to this. Done! Effortless! (Link courtesy S. Hudson Blount.)
  • And if that doesn’t work for you, this may. (Link courtesy Jim Mischel.)
  • I guess the evidence is piling up: It’s time to stand in front of the bathroom mirror and ask yourself: Does this political opinion make my head look small?
  • I’m glad that somebody else besides me noticed that The Atlantic came back from the dead mostly by publishing articles calculated to raise people’s blood pressure. I was a very satisfied subscriber back in the 90s and early oughts, but I suspect now that I never will be again.
  • Don’t believe what the MSM says about volcanoes. Or about DNA. Or maybe anything else.
  • Maybe we can give them (the MSM) something for Christmas this year. And then tell them to put a sock in it.
  • The article I mentioned in my September 8, 2012 Odd Lots about transistor radio manufacturers tacking unused transistors onto their circuit boards to up the transistor count was in fact “The Transistor Radio Scandal” by H. M. Gregory, in Electronics Illustrated for July, 1967; p. 56. Some manufacturers used transistors for diodes, which was maybe half a notch better. The article includes some mighty weird schematics, too. Worth digging for, if you have piles of old mags somewhere.
  • If our understanding of solar physics is accurate, sunspots might become impossible (at least for awhile) by 2015 or 2020. (Full paper here.) The magnetic fields that create sunspots have been getting weaker by about 50 gauss per year for some time. Field strength is now at about 2000; once that value hits 1500 gauss, some research suggests that sunspots may not form at all. This is not new news, but it’s interesting in that it’s a bit of poorly understood science that most of us will live to see confirmed or falsified. At any rate, I’m guessing we will not be working Madagascar on half a watt into a bent paperclip again for awhile, as the late George Ewing WA8WTE used to say.
  • I’ve identified a new trigger for Creeping Dread: Hearing the fans incrementally rev up on what was assumed to be an idle computer.

Odd Lots

The Last of the 5″ Floppies

TP3Floppy325Wide.jpgThe AC works again, though now that it does, the hot spell has broken and we don’t really need it. (Love that 72 degree stuff!) However, Carol and I have some cleanup to do, as the air handler made a honking puddle on the furnace room floor downstairs, soaking the bottoms of a number of boxes. Some of those contained Christmas stuff, including my old Lionel trains. More intriguing, another, smaller, box contained a stash of 5 1/4″ floppies from the late 1980s and early 1990s. I went through it to see if there were any old backups to be destroyed (there were none) but the commercial software lineup in the box is pretty impressive:

  • Turbo Pascal 2.0 (includig Turbo 87), 3.0, 4.0, 5.0, and 5.5
  • Turbo Pascal for Windows
  • Mystic Pascal
  • QuickPascal 1.0
  • TopSpeed Modula 2
  • TopSpeed C
  • Stony Brook Modula 2
  • Smalltalk/V286
  • Turbo Basic
  • Quick C
  • Reflex 1.0 and 2.0
  • Turbo Lightning
  • Paradox 2
  • WordStar 3.02
  • MS Word 6.0

…and lots of additional stuff from Borland and other companies, most long gone. Falk Data Systems; Software Science, Inc; Digitalk; Adapta Software, and on and on and on.

The box is toast, and I’m thinking that most or all of the disks have long since become unreadable. Still, it would be interesting to see how true that is. I checked my Paradox 4.0 3 1/2″ floppies from 1993 just now and they still read, so I suppose it’s possible. Alas, I haven’t had a 5 1/4″ floppy drive in the house in years. I’ll be going up to OEM Parts later this week to gather a few things to replenish my parts drawers, and I’ll bet they have a drive on the greasy old crap table. I’ve even got a working machine in the to-be-recycled pile with an open front bay to put it in.

I know, I know–bad use of my time. But at very least I’m going to rejoin the Turbo Pascal 2.0, 3.0, and 4.0 floppies with the manuals, which are still on the top here in my office. I’m sure I can part with the rest. Those, well…in a very real sense they helped pay for the house we’re now living in, so I’ll add them to my memoirs archive. And just in case they do read…I can bring up a DOS VM in ninety seconds flat!