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.
Technical support topics that can’t easily be found elsewhere.
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.
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.
Makes 8-10 tortillas.
Here are things you can do with tortillas:
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…
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:
Freezer burn occurs in meat and other frozen items (especially meat), where the water sublimates (goes from a solid to a gas) and then condenses as ice crystals. This leaves the food severely dehydrated, with a stiff, stringy texture that most people consider to be quite disgusting.
Especially in a zip-top bag, once the bag is frozen, the plastic becomes stiff and unpliable. Although the moisture content within the bag would normally be in constant equilibrium, once you start shuffling through the freezer, plastic zip-top bags can fracture and create tiny holes that allow dry air in, and moisture out. This is also the reason why most freezer bags leak once you pull them out of the freezer.
Once the zip-top bag has a few nicks and dents, freezer burn will quickly form in the vicinity of any holes in the bag, as moisture is allowed to sublimate and simply leave the bag through the tiny holes, to form ice crystals on the inside wall of your freezer!
As the moisture leaves, the food left behind is destroyed on the cellular level, making it tough, stringy, and unpalatable.
Typically, you either need to cut off freezer-burned portions, or throw away food that has become severely freezer burned.
Freezer burn can start to form in as little as 3 months, and by 12 months, the food in question is probably ruined.
If you vacuum seal your food, this removes air, reducing air pressure and preventing sublimation. The plastic liner used for vacuum sealing is much thicker and tougher than a freezer bag, and thus, the food will last a lot longer.
Vacuum-sealed food lasts much longer – up to 2 years.
Freezer burn forms when food is exposed to air inside the freezer, which allows the moisture in the air to sublimate and then migrate elsewhere, leaving behind stringy, nasty food.
This is one of the main reasons that the grocery store packaging for most meat products is not your friend. It’ s better to re-package them in a zip-top or vacuum-sealed bag before freezing.
The trick is to pack your food, especially meat, in fat or liquid before it freezes.
This eliminates contact with the air, preventing sublimation.
Notes:
What began as an apparently simple task ended up as a trip down the rabbit hole.
Read on, or just download here.
It’s rare to find a tool that’s simple, small, versatile, and useful.
It’s even more rare for me to realize that I had been staring at such a tool for years, and never realized it.
Thou shalt protect your data.
Passwords are the most versatile and effective way to protect your data, but most people break these simple rules.
Using a weak or ineffective password strategy in an always-connected world means that your money, data, and identity are at risk.
Thou shalt follow these commandments in order to protect yourself, both online and offline.
The default star rating system in zen cart, for registered users who post a review, is less than spectacular.
Here is how to fix it with CSS + Javascript
Read on…
Many retail stores want you to go out early on a cold Friday morning to stand in line for that TECHNOLOGY DEAL THAT’S TOO GOOD TO PASS UP.
There are no good technology deals on Black Friday.
Watch Out for Personal Computing Door Busters
Regardless of what you see on TV, or what it says in the newspaper flyer this week, DON’T BUY IT.
Don’t buy:
The retail stores know how to manipulate the specs so that they can sell you a cheap piece of crap at a “discounted” price.
Instead, all online retailers, including the brick and mortar stores, are offering great deals online all week, and you can probably get a “real” deal next week during Cyber Monday as well.