Raspbian Jessie – Abandoned with Extreme Prejudice 26Jan22 | 1

The organization behind the Raspberry Pi is very much not the organization behind Debian.  Recently they simply deleted the Raspbian (now called Raspberry Pi OS) Jessie repository straight off their servers.  Running apt update led to a bunch of 404s.  Checking their site, they End-of-Life’d it by dragging it into an alley and murdering it in the middle of the night – no easy to find information on their forums, if they had anything officially posted anywhere I couldn’t find it, and web searches didn’t reveal anyone in my position with a concise ‘now what’ – I found a couple bits and pieces and put together the outcome below, for the one or two people in the future this might help…

If you too decide you want to add screen (or whatever) to an Raspberry Pi Zero happily running Raspbian Jessie that you have no interest in tearing down and rebuilding in the latest flavor of the month, here are the steps to use straight Debian (who thankfully now natively support armhf.)  Note I couldn’t find the required keys in keyring.debian.org as from what little I’ve gathered apt-key has been depreciated?  You may want to update the country codes in the addresses to avoid network traffic crossing national borders.

Apparently you can also sudo apt-get install debian-archive-keyring and then sudo apt-key update, though you’ll be unable to verify the installation of debian-archive-keyring…

I really need to sign up for some kind of mailing lists to stay on top of the non-stop changes in five year old software, I guess…

—-

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7638D0442B90D010
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9D6D8F6BC857C906
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA8E81B4331F7F50

sudo nano /etc/apt/sources.list
  comment out old repos, add the following:
  deb http://ftp.us.debian.org/debian jessie main contrib non-free
  deb http://ftp.us.debian.org/debian jessie-updates main contrib non-free
  deb http://security.debian.org jessie/updates main contrib non-free
  
sudo apt update


Debian Jessie: not so oldstable… 07Nov18 | 0

Dokuwiki media uploads failing?

Edit your /usr/share/dokuwiki/inc/Input.class.php with the following pasted under the __construct function (note WordPress “code” stripped the leading spaces :/):

 


 

/**
* Return a filtered copy of the input object
*
* Expects a callable that accepts one string parameter and  returns a filtered string
*
* @param Callable|string $filter
* @return Input
*/
public function filter($filter='stripctl'){
$this->filter = $filter;
$clone = clone $this;
$this->filter = '';
return $clone;
}

 


 

References:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903948

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908653

https://www.turnkeylinux.org/forum/support/thu-20181004-1916/php-fatal-error-call-undefined-method-postinputfilter

https://github.com/splitbrain/dokuwiki/blob/master/inc/Input.class.php

diy kefir 29Jun18 | 0

Kefir is a complex fermented product very similar to drinkable yogurt.  Unlike yogurt, the fermentation process is incredibly vigorous and strong enough to not need sterilization, works best at room temperature, and doesn’t require much care at all: you can pretty much drop “kefir grains” into a glass of milk, cover it with a sheet of paper, and have kefir after a day or two…it’s truly that simple.

It results in tangy liquid drink and is probably the most potent probiotic you can add to your diet.  I use substantial amounts in my daily breakfast smoothie.

What is kefir, besides something that’s nearly identical to drinkable yogurt?  It’s a diverse group of of bacteria, fungus, and yeast species that over time form a biofilm colony we call “kefir grains”.  With varying conditions, different organisms may “come out ahead” slightly but in general at room temperature and with milk as the food source, the end product of their cohabitation is the fermented food we call kefir.   If you’re the type who likes to read, this is probably the single best reference available on the internet for learning about “what is kefir”: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4626640/ (mirror: fmicb-06-01177)


While folks use a lot of different things to make kefir from (such as A2 milk), I use organic whole milk myself:  I find it created a very rich and satisfying kefir.

When starting up production with a freshly acquired set of grains, it’s customary to get the grains back up to speed by discarding the first few batches.  This allows the ecosystem to stabilize and acclimate to your local environment.

Grain to milk ratio of 1:4 usually works well around room temperatures and a 2 day fermentation cycle, but every situation (and desired outcome) is different.

Longer fermentation makes a more tangy kefir, and less time seems to make a cheese flavor more pronounced.  Experiment and find what works best for you: taste the spoon after each stirring to get used to the flavors that develop, and how long that flavor takes.

Usually stir it three times: briefly when the fresh material is added, briefly after 24 hours, and briefly right before straining the grains out for the next batch.

As things ferment, solids and water will begin to separate.  I find it’s a good reminder to stir when I see this:

If you don’t stir it at all for a few days and don’t keep it in the fridge, it can get an orange-ish discoloration on top which seems to be some relatively harmless organism (likely an airborne bacteria.) You can feel free to skim it off the top and then stir things back up again…I may occasionally simply stir this directly in and try not to think about it too much…

To separate the grains from the kefir, first stir briefly, then place a fine strainer in the plastic container, then a coarse strainer in the fine strainer, and finally pour the fermentation vessel contents in.

Use a spoon to move things around and start gently separating things.


Finally scoop the grains into a new clean glass jar.

In the fine strainer, you’ll often have things that don’t go through into the finished product.   You can eat it directly, add it to the finished kefir, or add it back into the fermentation vessel.  I’m not sure if they’re free-floating proto-colonies, an independent bacteria but they taste like fresh yummy cheese.

Makes sure your fermentation vessel doesn’t seal tight (I removed a plastic seal from mine.)  If you use a ball jar, replacing the metal lid with a paper towel works nicely.


Put a lid on the container and stick it in the fridge.  Regarding storage, it’s usually safe to keep strained kefir in the fridge for up to a month…I keep mine in covered containers and that seems to seal things in nicely.  I’ve read some folks end up getting mold on the top, so if that happens throw out that specific batch (never seen it myself.)  

It will separate a little if it sits untouched for a while, just stir to blend it again.

It’s nearly impossible to screw up. Just keep things reasonably clean while you’re working, no cross contamination, and that’s 99% of it.

Eventually, you’ll have too many grains:  they’ll take up a lot of space in your fermentation vessel, and they’ll start making kefir faster than you can drink it!  While you can compost or flush the excess grains, I’d recommend you try to find a health-conscious friend who’s interested in adding some fresh homemade fermented foods to their diet!


Light additional reading:

 

DIY Hot Sauce 10Jul16 | 0

Homemade Hot Sauce (Similar to Cholula)

Using that as a base, I ran my own taste tests over time and found the following variation to produce something that I really, really like on eggs.  As the original author noted, it tastes better as the flavors blend and mellow so having patience and foresight to have a jar soaking in the cupboard before you need it is highly recommended.

Ingredients

  • 1/2 cup distilled white vinegar
  • 1 1/2 cup filtered water
  • ~2 Tbps of Dried Pequin whole peppers
  • 4 Dried Arbol whole peppers
  • ~2+ tsp Garlic Powder
  • 1 Tbsp Onion Powder or Flakes
  • 1 Tbsp Salt

Notes: The Arbol provide the core spicy taste that makes you say “Cholula!”.  The Pequin are relatively hot, and can be substituted for other peppers such as Guajillo (milder), or pretty much anything…experiment!  Pinches of other peppers (even ground black pepper) are nice for mixing the flavor up.  A teaspoon of cayenne helps if you like some heat and don’t have Pequin handy.

Process: dump everything in the blender, whip for a minute, jar for a week minimum.  Strain pepper flakes if desired (helps guard against unexpected bursts of heat).  Pour into recycled hot sauce container (one with a sturdy removable plastic lid and a relatively large opening).

Enjoy!

Commuting on a bicycle 20May16 | 1

A rough collection of thoughts on clothing and gear based upon twelve months of commuting through four seasons in Pennsylvania…

 

Bike

The machine.  It’s ergonomics and upkeep are the most central and crucial aspect of your entire bicycling endeavor.

‘Flat-free’ Tires.  Some folks are fancy, and they live fancy carefree lives.  I am not those people.   I sure as hell am not going to get a flat on my way to work, because screwing around with pumps and tubes on the road is not an option.   Essential gear.

Fenders.  These keep water off of you when you ride in the rain.  And it’s going to rain.  Essential gear.

Lights.   A nice generic flashlight mount lets you keep a few (you don’t want a dead light when riding at night) LED flashlights on hand for quick swap out for front illumination.  A blinking LED taillight keeps folks from rear-ending you.  To keep from destroying your budget on alkalines, get a small set of Enerloop (or other LSD / low self discharge NiMH) batteries and a good charger.   Essential gear.

Rack.  This gets a backpack off your back, because it lets you hang bags off of it!   Backpacks feel like sweaters when it’s hot out.   At least one rear rack, and one simple rack bag are highly recommended.

Seat. Unless you’re very fortunate, the seat on your bike probably isn’t comfortable for long rides.  There are a wide range of leather saddles that will be comfortable after a few days of break-in, but the length and width are important.  I’ve seen rubber seats that replace the leather with a tough neoprene layer…they don’t need covered in the rain, and are in general highly regarded!  The seat is the last thing to worry about, because the rest of the ergonomics must be in place to find out how comfy the seat actually is: position up and down, front and back all need to be correct before you’ll have your ‘actual’ weight on the seat.  Only then (after a dozens of miles of time in the saddle, and many adjustments to find what fits your body) will your sit bones be where they want to be…and a saddle is going to need to appropriately cradle those sit bones!  Optional, but recommended gear.

Aerobars.  You’re going to want to change positions to shift your weight around at some point.  Or get your upper body down out of the wind (headwinds are demoralizing).  Clamp on aerobars are a hell of a lot cheaper than a new bike, and easier to install than swapping out a conventional handlebar to a dropbar…but they’re pretty dangerous until you’re used to getting into and out of them unless you were a punk as a kid and are used to riding without your hands on the bars.  Optional gear.

Clothing

So, what do you wear for clothing and layers in the winter when riding a bicycle to and from work?  No cotton.  Well, maybe cotton shorts or jeans, but only if you’re not going to sweat in them too much.  Cotton is for dry conditions, and for keeping you warm.   It retains moisture and heat like mad.  If you’re going to need cotton for wherever you’re going, pack it with you or keep a set at your destination.

Comfort is all about layers and effort.  Thin polyester up against your skin (base layer), with additional layers on top as necessary.  Windbreakers.  Insulation.  If you’re too hot and can’t take anything else off, ease up on the effort.  If you’re too cold and can’t put anything else on, PUSH IT.

 

Generally, clothing layers can be broken down roughly like so:

  • Base layer – micro poly tee or long sleeve, no cotton
  • Thin insulate – Patagonia R1 or R3, or any long sleeve thin poly
  • Wind breaker – Patagonia Houdini, or any thin nylon shell
  • Thick insulate – Vest / parka / long sleeve thick poly, a layer of cotton doesn’t hurt
  • Waterproof top – rain coat or thick nylon shell top

 

Generally, temperature ranges can be broken down as such:

  • 15’F and under – everything isn’t enough to keep you warm, especially hands and face.  Sock liners, glove liners, every layer you’ve got and then some…
  • 25’F – heavy layering, especially hands and head
  • 35’F – basic layering, a hat really helps
  • 45’F / no sun – gloves, 2x base poly tee, 1x cotton tee, poly leggings, jeans, windbreaker = barely ok once you’ve got some wind in your face for a half hour…
  • 55’F / no sun – 2x base poly tee, jeans = barely ok
  • 65’F – 1x poly tee, shorts = usually OK

 

Form

If it hurts now, it’s probably only going to get worse.  Adjust seat, position, feet for least pain and most power.  Butt off seat when you need to push:  tighten lower abs, lean forward, cantilever torso, keep your force pushing down on the pedals and keep it off the ligaments of your knee as much as possible.

Fitness

Start slow.  Slow down to speed up.  Build strength, endurance, and THEN push.  Be mindful not to spend your reserves at the bottom of a hill, unless you’re looking to beat your muscles up.  You’re going to be biking every day, some days you need to go relatively easy on yourself.   If you get a heart rate monitor, aim to always have your heart above 130BPM.

Pain

Again, if it hurts now, it’s probably only going to get worse.  Deal with sources of pain.  Muscle pain will pass.  Ass pain may or may not pass.  Knee pain isn’t likely to pass: fix your form and ergonomics.  Numbness in hands isn’t likely to pass: add positions you can move to on your bike, increase core strength to cantilever better, adjust ergonomics of the bike, add gloves or ergo grips, etc.

Weather

It’s going to rain.  It’s going to snow.  Very, very occasionally…it’s going to be impassable.  You’ll need a backup plan, but you also will be commuting in weather most folks wouldn’t think of biking in, on days when impassible ‘actually isn’t’.  Gaiters and rain pants are great for dealing with driving rain and snow kicking up.  A pair of waterproof shoes are in order, or at least a backup set at your destination.  Keeping ‘everything you might need’ in the bag on your bike in case that beautiful spring day turns into blowing wind and snow showers in the afternoon…the weather can be the most delightful, delicate part of the day or the most miserable…

IMG_20160209_211146(1)