Thursday, June 14, 2018

Ubuntu Reinstall on Chromebook

There are many guides to installing Linux on a Chromebook. What I don't see are too many guides on what needs to be done afterwards. Using Crouton gives a very basic experience with Ubuntu, so a lot of things need tweaking.

One step that I often forget is switching to Dev Mode on a Chromebook can require a restart. Also, walking through the Ubuntu install also requires a restart. You can combo these together or do them one at a time. It doesn't really matter. What does matter is the restart option in Ubuntu will turn off your Chromebook. Think ahead.

I find the best way to get software easily is the Software Center. I know it can be buggy and odd, but it is a good place to start. Under the standard install of Ubuntu via Crouton, it isn't there and the terminal is the best option. First things first, make sure your install is up to date:

sudo apt-get update

This should only take a few seconds. Now you can get the software center:

sudo apt-get install software-center

The Software Center takes much longer to download and install. For whatever reason, sometimes the Software Center doesn't work. Simply repeat the command:

sudo apt-get update

The next thing I hit is a proper browser. NetSurf is 3 years old and kind of funky. It works fine in a pinch but doesn't offer a lot of features. I like Chromium.

A good word processor is a must and I am a fan of Libre Write. Write isn't the only game in town, you could simply use Google Docs, Abiword or WPS Writer. WPS Writer has the look and feel of MS Word, Abiword is a stripped down word processor which is easy to use and distraction free.

Stay tuned for more ideas of how to extend your Chromebook's usefulness.

Sunday, June 10, 2018

Using GIMP to Resize Photos to a Specific Size

This afternoon I am editing photos for a website. I would like to take some images from 4992x4000 down to exactly 620 px across. I will be using Gimp and a little math to make this happen in seven steps.

First things first, I could do the math in my head, but I want to make this a step by step process. The second thing is, unpwnd doesn't require a specific size so the images in this walkthru will not be 620 px. That is not lost on me, I happen to Blogger as my platform and it has very different tools from Wordpress.

Step one. Open the image.
Step two. Click on Set Image Canvas Size. The dialog box will open and show that the image is currently 4992x4000. That is nothing like 620 px across.
Step three. I am going to adjust the width and the height. For the width, I need to lose those to extra pixels, it is so small no one will notice. So width becomes 2992-2=2990.

Height is another story. I am going to take away a multiple of 620. I decided that I would go with 620 times 2, so what I end up with is 2760. That is 4000-1240=2760.

Before I hit resize, I clicked the Center button. It just so happens that my subjects are dead center and this works. If it did not, I could have adjusted this manually.
Step four. I want to point out that I have been working with Canvas Size and not Image Size. Essentially, I am cropping the image to a particular size based on some math rather than an eye for photographic composition. Actual photographers have a great eye for composition and would not use this method.

Anyway, I think I can trim a little more of the edges and when I do that, I want my height and width to be an exact multiple of 620. I take the width of 2990 and divide by 620 which gives me 4.822 and some change. I do the same for the height which gives my 4.451 and change.

Now for a trick. I am going to take four away from each number leaving 0.822 and 0.451. Both of these numbers need to multiplied by 620. 620 is the only number I know for this process, which is why it keeps popping up. The results are 510 and 280.

2990-510 is 2480 and 2760-280 is also 2480.  2480 divided by 620 is 4.

Again, I am using the center bottom so I don't clip away my subjects. Also, this could a manual process.
Step five. Scale the image. I could do this part 2 ways. I picked the easy way: I scaled the image to 620. I could have also used the drop down box to select percent and typed in 25. There is no difference.
Step six. This is the result, an image that appears way too small. But not really, GIMP didn't change the scale of the display and the image is actually much bigger.
 Step seven. I set my view to 1:1. Looks good.
While all of this seems labor intensive, it is. But only once. Changes are your camera always outputs the same size image so you can save this as a macro making the process automatic.

And here is the final output at 620 px.

Neat, eh?

Monday, May 28, 2018

Security Update

I've been reviewing my websites for security issues and noticed my robot.txt fell off and the https settings were wrong. Both have been fixed. I'm adding more content this week and hope that I can appeal to a greater readership.

To that end, I will be reviewing software and apps that pull in blogs.

Monday, January 16, 2017

Clamshell iBook Hard Drive Replacement Alternative

My aging Blue iBook is suffering from a lack of space. This machine shipped with a 10 GB hard drive way back in 1999. Since I launched theseoldgames.com, the need for installation space has gone up noticeably.

Ifixit.com has wonderfully detailed instructions for repair of a variety of consumer products, including the iBook. They are my "go to" site for most repair projects. However, replacing the iBook drive has 10 sections, 36 steps and no time listed for the upgrade. It is also marked difficult. Since I trust them, I believe that this is within my skill range, but will exceed my patience for the task.

When I upgraded my old computers hard drive the task took all of an hour. This is a much bugger project, one I am not convinced that I ready to start.

I had been using a USB thumb drive as an alternative to upgrading the drive, but having a little dongle sticking out the side of the computer was always a recipe for disaster. What if I broke the one and only USB port?

Well, that is where the SanDisk Cruzer Fit USB drive comes in. It's a tiny USB drive with more than adequate storage. This 32 GB drive was less than $20.00, on Amazon. Now you can get several of them for a little less than $35.00.

The SanDisk Cruzer would not be my first pick because I am clumsy and forgetful. Under normal circumstances, I would lose this thing in less than a day. However, once it is plugged into the iBook, it's sleek, small form is perfect for this machine. As you can see in the next picture, the SanDisk Cruzer doesn't extend past the edge of the case.

Perfect! Drive problem solved, no particular downsides other than loosing the use of the USB. Aside from a floppy drive and Wacom Table, I have nothing that uses that port. To be honest, I won't need to use either one for this laptop.

One caveat when plugging any drive into a OS 9 Mac - Sometimes the Mac will want to initialize the disk into a flavor or form it can use. Most modern machines do not have this problem, so plugging the drive into the Mac first, formatting if needed, then putting information on it using a different machine is the route to go.

In a perfect world I'd upgrade the hard drive, but this solution is so handy compared to the real fix, I'm gonna run with it.

Pros: Cheap and easy.
Cons: Can't boot from USB. Utilizes the only USB port on the machine.

Saturday, December 31, 2016

The Fraser Cain Experiment

Screen Cap from Universe Today.
Fraser Cain and the Universe Today are offering a free ebook, 101 Astronomical Events in 2017 by David Dickinson. If you are a reader on Universe Today, you are likely very familiar with Mr. Dickinson's work.

According to Mr. Cain this is a test:

"Will you download and actually use it? If so, then expect us to release a new edition every year."

I'd personally love that. Go check out the Universe Today website and enjoy a free ebook. If you like it, don't forget to share with your friends, families and local astronomy clubs. Double down and reshare Mr. Cain's post while you are at it.

I would be remiss if I didn't mention the other quality projects Mr. Cain is involved in. Try out Astronomy Cast with Dr. Pamela Gay and Fraser Cain for a week dose of astronomy. The Bad Astronomy, Universe Today forums have moved to CosmoQuest.com and continues to be an active and vibrant community. And of course, CosmoQuest.org is still running high quality, citizen science experiments.

Editor's note - there is no link directly to the book from unpwnd.com. There is a choice of pdf or epub plus Mr. Cain is running this as an experiment. Unpwnd loves the high quality productions of Mr. Cain, Universe Today and Cosmoquest and would like to see him receive as much traffic as possible for future reference.

Friday, December 30, 2016

Theory of Rey

I have read a lot of theories of who is Rey's parents on the Internet. I have my own.

Fact: Leia feels something for Rey.
Fact: Han feels something for Rey.
Fact: Han has spent all of his money on a useless search of Jakku.
Fact: Kylo Ren seems to know who Rey is, but neither Rey or Kylo have met.
Fact: The map to Luke's location was found on Jakku.

Rey must be Luke's daughter.

What?

Here is my logic on this. Luke had a daughter, Han and Leia had a son, Ben. Luke and the Solos swapped children, Ben for Rey. Ben knows who Rey is, but they haven't met or at least haven't spent any significant amount of time together.

Ben received his training from Luke and Han and Leia take care of Rey. It's an uneven exchange because Ben is not very well adjusted while Rey is much younger and cute. The Solos are pleased with the arrangement and Luke is happy to have another Jedi candidate.

Ben goes nuts and kills off the Jedi candidates and destroys Luke's temple. Luke goes on the run, stealing Rey back from the Solos. He doesn't have a lot of time, the First Order is on his back. He simply snatches Rey away and dumps her on Jakku with a map as a fail safe in case Luke cannot return. Somehow, the map lands in the villagers hands and Rey ends up with Unkar. Luke probably didn't expect this, his ability to see the future is rather darkly tinged and dream-like.

Unkar isn't dumb, he know that Rey is important to Luke which makes her important to the First Order. Rey has an odd relationship with him because he doesn't want a blaster or lightsabre in his face. Once the First Order shows up, he becomes more threatening to Rey.

Han and Leia are crushed. First they try to find Ben, but his situation is intractable. They know where he is, but they can't get him back from Snoke. Oh, I bet they they tried.

With nothing else to be done, Han goes after Rey. He loses his Falcon on Jukku. He continues the search under the guise of trying to win back his ship. He isn't going to tell anyone why he is searching, he'll let them guess wrong. He doesn't really care about the Falcon, he wants Rey.

Nothing puts pressure on a family like long distances, financial issues plus losing a child and Han's search wipes them out on several levels. Leia on the other hand is perfectly willing and able to tackle the First Order, no matter the cost. The search and war campaign destroys the Solos small fortune, burns too many favors and Han starts double dealing people while Leia sets about taking the First Order apart by force.

Rey isn't the child Leia is looking for and Han is rather surprised that he has succeeded. So continuing in the Han Solo faulty logic chain, he offers Rey a job. One that will allow him to casually return her to Leia as a peace offering. You don't screw up your life and your marriage then expect to tell your spouse, "Not only was I right, I got the job done. We can start over now." Han knows that will not work. Chewie probably warned him about that one.

What do you think? Share in the comments below.

Tuesday, December 27, 2016

"I know."

Carrie Fisher passed away at age 60, according to E! Online.

The title of this post says it all.