1. Fix the bug that causes a blank sheet of expensive paper wasted before getting down to the business of printing the real map.
2. Remember that white is free, other colors consume expensive inkjet ink. Make the background of the printed map white. The road map people had this figured out long ago. Don't make the roads white, they don't show up against the grey background. Roads should be bright primary colors. Color ought to indicate the quality of the road, from interstate down to dirt.
3. Make the printed map fill the page. Most of us have inkjet or laser printers that handle A size paper (8 1/2 by 11). That gives you a target to shoot for.
4. Once you get it working, if you are smart enough to program it, don't change it. Remember, in software there are NO HARMLESS CHANGES.
This blog posts about aviation, automobiles, electronics, programming, politics and such other subjects as catch my interest. The blog is based in northern New Hampshire, USA
Wednesday, October 10, 2018
Archiving all the TV newsbroadcasts
I listened to this piece on NPR yesterday. There is an organization that has been archiving all TV news broadcasts going back to he 1960s. Cool. They went on to describe various obsolete technologies, used on the older archive, videotape, VHS, and how they had transcribed everything to DVD's. And, they plan to move the entire archive to "the cloud" real soon now.
Me, I have serious doubts about the reliability of "the cloud", especially after natural disasters or war. I'd feel better with racks of tapes or DVD's, and the machines to play them, in a nice deep underground site that I owned, outright. A site on high ground and away from city centers.
For that matter, I have never read anything about the life of a home burned DVD. Are they truly permanent? Or does the data fade away after ten years or so? The old floppy disks would become unreadable after a few years in a desk drawer.
Me, I have serious doubts about the reliability of "the cloud", especially after natural disasters or war. I'd feel better with racks of tapes or DVD's, and the machines to play them, in a nice deep underground site that I owned, outright. A site on high ground and away from city centers.
For that matter, I have never read anything about the life of a home burned DVD. Are they truly permanent? Or does the data fade away after ten years or so? The old floppy disks would become unreadable after a few years in a desk drawer.
Sunday, October 7, 2018
Kavanaugh squeaks by the Senate. TV Newsies still talking about it
I was hoping, after the full Senate voted to approve Justice Kavanaugh yesterday that the newsies would move on. Surely there are other things of interest happening somewhere in the wider USA or the wider world. The TV newsies are still talking about the Kavanaugh appointment. Is that all they know about?
Saturday, October 6, 2018
It's all about compression ratio
Compression ratio is the number that sets fuel economy and power output for internal combustion engines. More is better. Inside the engine, the fuel air mixture lights off at top dead center. The piston goes down, expanding the hot combustion gases, cooling them, and converting the heat energy from the burning fuel into mechanical work. Ideally we would keep the piston moving down, expanding the cylinder volumn until the combustion gases had been cooled down to room temperature, extracting all possible mechanical work from the fuel burn.
In real engines, the piston cannot keep going down forever. The piston gets to bottom dead center. Which is about 4 inches in a typical car engine. At which point the exhaust valve opens and the still blazing hot combustion gases go out the tailpipe. At night, running a short straight exhaust pipe, no muffler, you can see the exhaust gas glowing blue-white. That's a lot of heat energy that didn't get converted into useful work.
Compression ratio is the ratio of cylinder volume with the piston at top dead center (as small as it gets) to the cylinder volume with the piston at bottom dead center (as big as it gets). The higher the compression ratio, the more of the heat energy of the fuel gets converted into mechanical work. Gasoline engines in cars have compression ratios as low as 8:1, 10:1 in good engines like the Cadillac Northstar, and 13:1 in outright racing engines.
Why not use a higher compression ratio and get more efficiency? In gasoline engines we put a combustable fuel air mixture into the cylinder at bottom dead center and compress it as the piston goes up to top dead center. As the mixture is compressed, it gets hotter. When it gets too hot, it catches fire and burns before the piston is at top dead center, and tries to drive the engine backwards. You can hear this happening, it is a pinging noise (knocking) from the engine. Good fuel (high octane rating fuel) will suppress knocking for a while, but there is a limit. Call it 10:1 for a "street" engine.
And this is the benefit of the diesel engine. Diesels have just pure air in the cylinder for the compression stroke. Fuel is injected into the cylinder at top dead center. Diesels cannot knock. Which means that diesels can run compression ratios as high as 20:1. Which is why diesels have better gas mileage than gasoline engines.
In real engines, the piston cannot keep going down forever. The piston gets to bottom dead center. Which is about 4 inches in a typical car engine. At which point the exhaust valve opens and the still blazing hot combustion gases go out the tailpipe. At night, running a short straight exhaust pipe, no muffler, you can see the exhaust gas glowing blue-white. That's a lot of heat energy that didn't get converted into useful work.
Compression ratio is the ratio of cylinder volume with the piston at top dead center (as small as it gets) to the cylinder volume with the piston at bottom dead center (as big as it gets). The higher the compression ratio, the more of the heat energy of the fuel gets converted into mechanical work. Gasoline engines in cars have compression ratios as low as 8:1, 10:1 in good engines like the Cadillac Northstar, and 13:1 in outright racing engines.
Why not use a higher compression ratio and get more efficiency? In gasoline engines we put a combustable fuel air mixture into the cylinder at bottom dead center and compress it as the piston goes up to top dead center. As the mixture is compressed, it gets hotter. When it gets too hot, it catches fire and burns before the piston is at top dead center, and tries to drive the engine backwards. You can hear this happening, it is a pinging noise (knocking) from the engine. Good fuel (high octane rating fuel) will suppress knocking for a while, but there is a limit. Call it 10:1 for a "street" engine.
And this is the benefit of the diesel engine. Diesels have just pure air in the cylinder for the compression stroke. Fuel is injected into the cylinder at top dead center. Diesels cannot knock. Which means that diesels can run compression ratios as high as 20:1. Which is why diesels have better gas mileage than gasoline engines.
Friday, October 5, 2018
US Senate votes to have a vote on Kavanaugh
Which is plain stalling, Senate style. They should not be voting to take a vote. That is a pure waste of time, and offers senators a way to vote both yes and no to confuse their constituents. Senate ought to just have a vote on confirming Kavanaugh, and have it right now, not tomorrow.
Representatives should represent their districts
The ancient Greeks invented democracy, some 2500 years ago. They did direct democracy, all the citizens gathered in the Agora and voted on such issues as going to war over Corcyra (which kicked off the Peloponnesian War) or the disastrous expedition to conquer Syracuse on Sicily. Direct democracy is great in principle, but it doesn't scale well (you cannot gather all the citizens of the Roman empire together in one place) and is liable to make poor (disastrous) decisions.
The British invented representative democracy with the institution of Parliament. Each member of Parliament represented all the British subjects of his district. We Americans picked up the idea in colonial times. All the thirteen colonies had representative legislatures by the time of the revolution. So long as the representatives are honest, and truly represent their districts it is a fair system. If the chosen representatives fail to vote in accordance with their district's wishes, it is a corrupt system.
I am running for a seat in the New Hampshire senate. Should I be elected, I will vote the way my district wants, and not the way I may want. As a senator, my duty and my honor call for me to truly represent my district, rather than my personal desires.
The British invented representative democracy with the institution of Parliament. Each member of Parliament represented all the British subjects of his district. We Americans picked up the idea in colonial times. All the thirteen colonies had representative legislatures by the time of the revolution. So long as the representatives are honest, and truly represent their districts it is a fair system. If the chosen representatives fail to vote in accordance with their district's wishes, it is a corrupt system.
I am running for a seat in the New Hampshire senate. Should I be elected, I will vote the way my district wants, and not the way I may want. As a senator, my duty and my honor call for me to truly represent my district, rather than my personal desires.
Thursday, October 4, 2018
More features that Detroit should offer
My 2005 Buick has a feature. After dark, it keeps the headlights on long enough for you to reach your front door. At least that's what it is supposed to do. In real life it either turns the headlights off before you even get out of the car, or it leaves them on too long, causing me to stand out in the rain, watching, to make sure the car does actually turn the headlights off before it runs down the battery. They ought to reprogram the computer so that the headlight timeout does not start until the last car door is closed. This way I could take the groceries out of the back seat and still have some light to climb the front steps and find my door key.
Second feature, a fold down back seat. Folded down, you could fit long stuff like skis and two by fours in from the trunk lid and get them all the way inside the car, and close and latch the trunk lid.
Second feature, a fold down back seat. Folded down, you could fit long stuff like skis and two by fours in from the trunk lid and get them all the way inside the car, and close and latch the trunk lid.
Subscribe to:
Posts (Atom)