Justin A. Parr - Technologist

Technology, Strategy, Insights, and Tech Support

  • HOME
  • Quick Facts
  • CygUlarn Win32
  • Tech Recommendations
  • Justinisms
  • About Me

Resume Tips – 2020

Posted by Justin A. Parr on May 7, 2020
Posted in: Other Stuff. Leave a Comment

Due to the economic impact of COVID-19 and other factors, there are a lot of people who are out of work right now.

As a hiring manager with over 20 years of management experience, I wanted to offer some resume tips…

Continue Reading

COVID-19 – The Truth About Masks (And Other Stuff)

Posted by Justin A. Parr on April 12, 2020
Posted in: Other Stuff. Leave a Comment

As I have become increasingly frustrated with misinformation in the media, I found it necessary to put this guide together.

Here is some factual information about the virus, what kinds of masks you SHOULD and SHOULD NOT wear, and additional safety measures that you NEED to take when out in public.

Please share this with others, and stay safe.

Continue Reading

COVID-19 – Tips for Working from Home

Posted by Justin A. Parr on March 25, 2020
Posted in: Other Stuff. Leave a Comment

In response to the COVID-19 threat, many companies are implementing a work-from-home policy for office workers.

Although working from home can keep you safe from a global pandemic, it can also be more challenging than it sounds.

Here are some tips and tricks for workers and employers, to help you maximize your time, and keep a remote workforce efficient.

Read on…

Continue Reading

COVID-19 – Don’t Forget About Crock Pot Recipes

Posted by Justin A. Parr on March 24, 2020
Posted in: Food and Cooking, Other Stuff. Leave a Comment

Crock pot recipes are a quick and easy way to feed the family.

Crock Pot Porkchops

    1. Combine pork chops and canned mushroom soup in a crock pot
    2. Cook for 3 hours or until internal temperature hits 170F
    3. Enjoy crock pot pork chops

There are dozens of crock pot recipes online.

Please stay safe.

COVID-19 – Easy Leftover Fried Rice

Posted by Justin A. Parr on March 24, 2020
Posted in: Food and Cooking, Other Stuff. Leave a Comment

Rice or pasta is an easy way to extend a meal.

In addition to how to cook Justin’s Perfect Rice®, here is my recipe for using last night’s meat or veggies as today’s Fried Rice

Please enjoy and stay safe.

 

Continue Reading

COVID-19 – No Bread? Make Tortillas

Posted by Justin A. Parr on March 23, 2020
Posted in: Food and Cooking, The Light Side. Leave a Comment

Stores are out of bread (and tortillas).

Tortillas are easy to make, and they last about a week if stored in an air-tight zip-top bag.

  • Combine 2 cups of flour, a pinch of salt, 3/4 cup of water, and about 3 tablespoons of fat (butter, lard, vegetable oil, olive oil)
  • Mix
  • Roll in to 1″ balls, and then flatten each ball in to a small disc
  • Use a floured tortilla press or a rolling pin on a floured surface to roll out each ball to 10″.
  • In a lightly-greased skillet on medium heat, cook each one on both sides for about 1 minute per side.

Makes 8-10 tortillas.

Here are things you can do with tortillas:

  • Quesadillas
    • Sprinkle some meat and other toppings on half of a tortilla
    • Sprinkle some cheese on it.
    • Fold in half
    • Grill or fry for 2-3 minutes per side, until the cheese melts and the tortilla is golden-brown on both sides
  • Fajitas / Street tacos
    • Cut your meat in to strips.
    • Grill or fry over high heat with onions and peppers
    • Steam some tortillas to warm them, or use a microwave tortilla warmer
    • Serve family-style with cheese, sour cream, pico, and other toppings
  • Nachos
    • Tear tortillas in to strips
    • Bake until crispy
    • Cover with chili, cheese and other toppings
    • Bake until cheese melts
  • Roll / wrap – makes an excellent substitute for a sandwich.  Lay out a tortilla, then stack on lunch meat, cheese, and other sandwich toppings, and simply roll it up.
  • Thin-crust pizza
    • Stack 2 tortillas, with some cheese sprinkled between them
    • on the top tortilla, spread some pizza sauce, spaghetti sauce, or whatever you have laying around
    • Sprinkle some cheese
    • Add toppings
    • Sprinkle some more cheese (do it, or you’re a communist)
    • Bake for 10 minutes until the bottom tortilla is crispy and the cheese is melted
  • Enchiladas.  I’m not quite sure how that works, but my wife does.  I’m sure you can google for a recipe.
  • Burritos
    • Lay out a tortilla
    • Fill with beans, rice, meat, cheese and other toppings
    • Fold carefully
    • Enjoy
  • Chimichanga
    • Take that burrito, and deep fry it

COVID-19 – The Layers of Stupidity Behind Toilet Paper Scarcity

Posted by Justin A. Parr on March 23, 2020
Posted in: Rants, The Light Side. Leave a Comment

Toilet paper isn’t scarce.  The raw material for toilet paper literally grows on trees.  To MAKE it scarce takes layers of stupidity, each with its own nuances.

Continue Reading

COVID-19 – Cheap Bidet

Posted by Justin A. Parr on March 22, 2020
Posted in: The Light Side. Leave a Comment

Not sure who all needs this, but here it is:

In the event that you run out of toilet paper…

Go to your local hardware store, and buy one of these:

This is a 1 gallon “garden lawn sprayer” that you can buy online for about $12, or it should be in your local big-box hardware store for about $16.

Note the angled wand…

After you buy a new one (DO NOT use the one from your garage), wash it out thoroughly.

When you go to the bathroom:

  1. Fill with warm water from the sink
  2. Close the lid, air-tight
  3. Pressurize by pumping the handle a few times
  4. Instant, portable bidet

This is cheaper than modifying your plumbing, and warmer than buying a bidet kit that connects to your toilet’s water supply.

Reduce PDF Size of a Scanned Document

Posted by Justin A. Parr on March 21, 2020
Posted in: Tech Support, Tech Tip. Leave a Comment

Reduce PDF Size of a Scanned Document

I recently had to e-mail a multi-page document – e-mail is that awesome 1990’s technology for submitting documents when the recipient doesn’t have a secure file transfer server – only to find that the attachment size was too large.

I scanned in three separate multi-page documents and then used pdfSAM to combine them all in to a single, 9-page PDF document.

Are you with me so far?

The final file size was over 80 meg!

I didn’t think anything of it, until my e-mail server complained about the attachment size.

After a little bit of thinking…

  • I had used xsane, a GUI front-end for SANE.
  • Where Windows has TWAIN, Linux has SANE. 

    Connecting a scanner to a PC pre-TWAIN used to be a kludge, and TWAIN was the answer: a manufacturer-independent hardware interface and driver standard that provides a scanner user interface, and also allows third-party programs to access any TWAIN-compliant scanner via a standard Application Programming Interface (API).

    SANE works like TWAIN, but separated in to two pieces:  front-end and back-end.  The back-end drivers allow the OS to talk to the scanner hardware, and provides generic access to other applications (like the TWAIN API).  This allows any of several SANE front-end user interfaces to access any SANE back-end, even across a network.  Very cool stuff, and there is even a SANE shim for Windows that provides TWAIN services, while using SANE on the back-end.
  • As my print server is a Raspberry Pi (Linux) and my main PC is Linux, it made the most sense to set the Pi up as a SANE back-end server.
  • I scanned all three multi-page documents using xsane, as mentioned, which allows you to scan a multi-page document and then save it as a single file.
  • While poking around a bit, I noticed that the intermediate format for xsane’s multipage applet is TIFF.
  • Like most other computing standards from the 1980’s, TIFF just isn’t very good, especially compared to modern file formats that use much better compression algorithms. 

    Unfortunately, TIFF was developed as a standard file format for scanners, which means that any time you’re dealing with scanners (or, oh lord, fax machines), be prepared to deal with TIFF, despite the fact that it’s a completely obsolete standard.  I mean, while we’re at it, let’s just fire up the 1200 baud modem and a copy of Telix, and we can XMODEM some TIFF files, shall we??

So it became clear that xsane / sane was just saving a bunch of TIFF files, and then copying them straight in to the PDF.

It turns out that Linux has a built-in command to split a PDF apart:

pdftoppm file.pdf imagefilename -png

This will create an image file for each page of the PDF, stored in PNG format.  For example, if file.pdf is 5 pages, you will get:

imagefile-1.png
imagefile-2.png
...
imagefile-5.png

These can then be recombined using ImageMagick’s convert:

convert imagefile-*.png newfile.pdf

As predicted, the resulting file was around 20 meg – 25% of the original file size.

Internally, PDF probably stores the images as TIFF, but in either case, the round trip through the PNG format is what affected the compression.

PNG performs “filtering” or normalization of the image before it’s compressed, and thus, the resulting image is “more compressible”, and the artifact of this process is that going back to TIFF (or any other format) makes the older compression algorithms perform more efficiently with the normalized image data, resulting in a much smaller file size.

Moral of the story:

If you have a huge PDF (or any kind of source image), try converting to PNG and then back again, which might make the original compression more efficient.

Other options:

  • Subsample the document down to a lower resolution.  I scanned at 300 DPI, but my next option if that didn’t work was going to be to subsample the document down to 150 DPI, which would result in a 4x file size reduction.
  • Go from color to grayscale or black-and-white.  Going grayscale from color usually results in about a 4x reduction in file size, and black and white from color might result in readability issues, but can save 16x or greater from the file size.

Frankenbolt (verb)

Posted by Justin A. Parr on March 6, 2020
Posted in: Good Design - Bad Design, Justinisms. Leave a Comment

Frankenbolt (verb):

To assemble two or more completely dissimilar and poorly integrated components in to one unit, as in the patchwork manner of Frankenstein’s Monster.

Examples

  • “Reporting was an afterthought.  The developers obviously licensed a third-party component and simply Frankenbolted it in place at the last minute.”
  • “Every application should stick to its core mission.  Without a core mission, scope creep always results in an application with modules Frankenbolted all over it, like some bizarre freak-show attraction.”

 

Posts navigation

← Older Entries
Newer Entries →
  • Search!

  • Temperature at Casa de Parr

  • Recent Posts

    • Justin’s Perfect Quiche – Build-Your-Own
    • Troubleshooting FTP
    • Life is a Series of Side Quests
    • Visio Connectors are Broken
    • Working With a Technical Writer
    • Bad Design: WinZip – An Annoying Pop-Up Ad from an Irrelevant Product
    • NON-RECURSIVE Algorithm for Enumerating Permutations
    • Thanks for Misusing My Personal Data!
    • SIMulation vs EMulation
    • Why the Sun does NOT track East-West
  • Topics

    • Analyses and Responses (26)
    • Good Design – Bad Design (26)
    • IT Management (1)
    • Justinisms (8)
    • Main Page (1)
    • Math and Science (26)
    • Other Stuff (28)
    • Quick Facts (8)
    • Rants (15)
    • Tech Support (55)
      • Food and Cooking (10)
      • Tech Recommendations (11)
      • Tech Tip (5)
      • Wordpress Stuff (3)
      • Zen Cart Stuff (1)
    • The Light Side (34)
  • Links

    Log in or Register to post comments

    RSS Feed
    http://justinparrtech.com/JustinParr-Tech/feed

    View my LinkedIn Profile
    http://www.linkedin.com/in/justinparr

    About Me
    Justin A. Parr

    Who is Jill Parr
    Find out here.

  • Older Posts

    • November 2020 (4)
    • October 2020 (1)
    • September 2020 (1)
    • August 2020 (1)
    • July 2020 (1)
    • June 2020 (1)
    • May 2020 (2)
    • April 2020 (1)
    • March 2020 (8)
    • February 2020 (2)
    • January 2020 (1)
    • November 2019 (2)
    • August 2019 (3)
    • July 2019 (1)
    • June 2019 (1)
    • April 2019 (1)
    • February 2019 (3)
    • January 2019 (1)
    • December 2018 (1)
    • November 2018 (1)
    • October 2018 (2)
    • September 2018 (1)
    • August 2018 (2)
    • July 2018 (1)
    • June 2018 (1)
    • April 2018 (1)
    • February 2018 (2)
    • January 2018 (2)
    • December 2017 (1)
    • November 2017 (2)
    • August 2017 (2)
    • July 2017 (1)
    • March 2017 (1)
    • February 2017 (2)
    • January 2017 (1)
    • December 2016 (5)
    • November 2016 (3)
    • September 2016 (5)
    • August 2016 (2)
    • April 2016 (1)
    • March 2016 (3)
    • February 2016 (2)
    • January 2016 (7)
    • December 2015 (3)
    • November 2015 (1)
    • October 2015 (3)
    • August 2015 (5)
    • July 2015 (4)
    • June 2015 (2)
    • May 2015 (4)
    • April 2015 (4)
    • March 2015 (3)
    • February 2015 (4)
    • January 2015 (8)
    • December 2014 (8)
    • September 2014 (1)
    • August 2014 (1)
    • July 2014 (2)
    • June 2014 (4)
    • May 2014 (1)
    • April 2014 (2)
    • March 2014 (3)
    • February 2014 (5)
    • January 2014 (1)
    • December 2013 (2)
    • October 2013 (2)
    • July 2013 (3)
    • April 2013 (1)
    • October 2010 (1)
    • August 2010 (1)
    • July 2009 (1)
    • April 2009 (1)
    • November 2008 (1)
    • October 2008 (1)
    • September 2008 (1)
    • May 2008 (1)
    • March 2008 (1)
    • January 2008 (1)
    • June 2005 (1)
    • May 2005 (4)
Proudly powered by WordPress Theme: Parament by Automattic.