New episodes every weekday Monday through Friday. This page was generated by The HPR Robot at
Welcome to HPR, the Community Podcast
We started producing shows as Today with a Techie on 2005-09-19, 19 years, 0 months, 23 days ago. Our shows are produced by listeners like you and can be on any topics that "are of interest to hackers". If you listen to HPR then please consider contributing one show a year. If you record your show now it could be released in 4 days.
Call for shows
We are running very low on shows at the moment. Have a look at the hosts page and if you don't see "2024-??-??" next to your name, or if your name is not listed, you might consider sending us in something.
Known in the Hacker world as the Ham Radio Guy at FOSDEM,
Kristoff Bonne ON1ARF, and
Ken Fallon
PA7KEN/G5KEN sit down to
discuss
"vergrijzing,
changing attitudes, and increasing participation in the Amateur Radio
Community."
The Artifice Girl is a 2022 science fiction psychological thriller
written and directed by Franklin Ritch, produced by Aaron B. Koontz and
released direct to VOD. It stars Tatum Matthews, Sinda Nichols, David
Girard, Lance Henriksen, and Franklin Ritch. NGO agents discover a
revolutionary Artificial intelligence (AI) computer program that uses a
digital child to catch online predators, it advances far more rapid than
they could have imagined, posing unforeseen challenges for the
relationship between humans and AI.
Shows the EPROM (Erasable Programmable Read Only Memory) fitted with a
label marked JAF7. EPROM's can be erased by removing the sticker and
exposing the device to strong ultraviolet light. I incorrectly refer to
it as a PROM (Programmable Read Only Memory. Below it is the old leaking
PLL backup battery.
Link
/ example of a Fluke 77 DMM (Digital Multi Meter) I mention that I
used it to check the battery voltage of the original PLL backup battery
which I think was manufactured around 1984. I was very surprised to find
that the battery which is likely 40 years old had a battery voltage of
3.2V which is a healthy voltage. The battery still needed changed due to
liquid (probably acid) which can be seen in picture 1 being present on
the top surface of the battery.
Picture 2
Shows me extending the new battery terminal using the leg of a 1.8 kilo
ohm resistor. Note that the resistor leg is shiny because this time I
scraped away the surface oxidation using pliers prior to soldering it in
place. This improves the final solder joint.
These are comments which have been made during the past month, either to shows released during the month or to past shows.
There are 23 comments in total.
Policy decisions surrounding HPR are taken by the community as a whole. This
discussion takes place on the Mail List which is open to all HPR listeners and
contributors. The discussions are open and available on the HPR server under
Mailman.
The threaded discussions this month can be found here:
This is the LWN.net community event calendar, where we track
events of interest to people using and developing Linux and free software.
Clicking on individual events will take you to the appropriate web
page.
Any other business
Repairing
shows where external files have been lost
The further back in time we go with these repairs, the more
challenging they tend to become because of the variations in the way
shows were put together. It has been difficult to process more than five
a day, and there have been a few breaks along the way!
The current state of the project is that it has been
completed:
All of the processed shows have access to their transcripts, which
are held on archive.org. However, there remains the need to make
transcripts available to the older shows which have no external
files.
This is a look at the very first serial of Doctor who, and how the
cast was first put in place. It is in many ways an unlikely story for a
show that has gone on for 60 years and counting. I find the early
stories to be charming and worth a look, and many things from these
early stories come back in later stories as well.
Dual-fuel design allows you to power the headlamp with 3 AAA
alkaline batteries (included) or the rechargeable BD 1500 lithium-ion
battery and charger (not included)
Settings include proximity and distance modes, dimming, strobe, red
LED night vision, and lock mode
White LED outputs up to 400 lumens on max setting, 200 lumens on
medium and 6 lumens on low
PowerTap™ Technology allows instant adjustment between max output
and dimmed power
Brightness Memory allows you to turn the light on and off at a
chosen brightness setting without it reverting back to the default
setting
Red LED night vision has dimming and strobe modes, and is quickly
activated without cycling through the white mode
Multifaceted optical efficiency lens technology
Integrated battery meter display shows the percentage of power
remaining so you know when to replace the batteries
Digital lockout feature prevents accidental use when stored in a
pack or pocket
IPX8 waterproof protection rated to operate at least 1.1 meters
underwater for 30 minutes—perfect should you be caught in a
downpour
If submerged, water may enter the battery compartment, but it will
still operate; it should be completely dried out after use in wet
conditions
Dirt Simple Photo Gallery is the program that started me down the
Plain Text Programs path. It predates my own thinking about Plain Text
Programs by at least a decade. Ever since I wrote it I use it all the
time. It is now my preferred web page generator for all kinds of web
pages, not just galleries.
Like most of my programs I wrote it because I needed it. Vivian and I
were putting on music events like Blues Fest, Sunday In The Park, Jazz
Thursday, New Jazz In Jonesboro, and Bebopalooza. I recorded all the
shows. Sometimes video, always audio. And we loved taking pictures of
the musicians singing and playing.
After the shows we would dump the photo files to a hard drive, make
all the original photos read only, and back them up to a CD or DVD. We
really enjoyed scrolling through the photos, picking the ones we liked,
cropping them and enhancing them, and resizing them for the
internet.
And then that's where it fell apart. We recorded the show. We took
the pictures. We cropped the pictures and had them ready to go for our
Delta Boogie website. And we didn't want to write the html.
Some days we would have five or six bands playing. We usually had ten
to twenty photos of each band that we picked out of hundreds of photos
taken. Do the math. That's a lot of typing HTML code like a href =, img
src, etc. A lot a captions to write. A lot of work to get done in a
week. Because the next weekend we had another show. Another set of
photos. Another bunch of html backlog.
And the thing I found out. If we didn't get the pages posted right
away we almost never had time to post them later. I mean we had kids to
raise, cooking to do, cars to fix, school to attend, not to mention
work.
So, I loved writing programs more than I loved marking up html. And I
could write one program and avoid marking up tons of html. And so I
wrote the Dirt Simple Photo Gallery.
Even back in the dark ages of the internet also known as the nineties
there were photo gallery programs. And just like today they were
cumbersome and running them was a lot like data entry. You know what I
hate worse than writing html? Data entry.
I had this idea. I would take all the photos we had ready for a
gallery and I would upload them to a directory on our server. Then I
would upload an index.php file and we'd have a photo gallery.
And that's just how Dirt Simple Photo Gallery works. And if that's
really all you need you're done.
It wasn't quite all we needed. So I added a title.txt file and a
notes.txt file so there could be a bit more than just the photos and
captions on the web page. I was careful that I didn't have to write any
html in the notes.txt file. The program even automatically turns copy
and pasted links into hot links.
Now, you can include html in the notes.txt file. You can even embed
iframes if you want to include an audio or video player. But you don't
have to. Also, iframe embeds are just a copy and paste exactly like
links. Easy peasy.
There's also the problem of the captions and the sort order of the
photos.
Captions
I use the file names to carry the meta data required for captions and
sort order.
These are the characters I use in the file names. Alphanumeric,
commas, apostrophes, dashes, and underscores. I don't use spaces but the
underscores are converted to spaces in the captions. I use Thunar and I
love the bulk rename option where I can search and replace a set of file
names and change all the spaces into underscores.
I have code that allows you to include special characters in your
captions by using html character sets but it's confusing to think about.
And I discovered the only special characters I really needed were
dashes, commas, and apostrophes. All three of these characters are legal
in file names on all major systems. Dashes are not problematic. Commas
can cause problems if you are using comma delimited data but, I'm not,
so no worries. Apostrophes can also be an issue because in php they are
used as single quotes and can be used to delimit strings in the code.
There is a way around this with php. Use double quotes to surround the
entire string. If there is a place inside of that string where you would
use single quotes, which is not uncommon in html, replace the single
quotes with escaped double quotes, that is ". So that's what I did.
So now I can use all the apostrophes I want in my file names and they
fly right through my code, never accidentally truncating a string and
throwing errors.
Commas and apostrophes are important in captions. Captioning group
shots without commas leads to misunderstanding people's names. And if
your caption has a possessive in it like Joe's Garage leaving the
apostrophe out is just wrong.
Using double quotes in a file name will truncate strings in the php
code and throw errors. Usually, anywhere you would want a double quote a
single quote will do.
There are other special characters, like dashes, that aren't
problematic. Forward slashes and back slashes should not be used in file
names ever. Some special characters may work on some systems and not on
others. I've been using this program for almost 25 years and I really
want commas and apostrophes and don't really care about other special
characters in captions. You may have special needs for special
characters I don't. That's why it's open source. If you need something
the program isn't designed to provide test it. Fix it. Right now there
are fewer than 100 lines of code in the program. I have confidence in
you.
Sorting
Default sorting of images is alphabetical by file name. If you just
name your files with good captions and don't add any numbers as a prefix
that's what you'll get. Alphabetical by caption. This may be just what
you need.
If, however, you want some other sort order you can prefix your files
with nnn- where n is any integer.
000-filename.ext displays the picture at the top of the page. If the
photo is narrow enough, the text from notes.txt will wrap around it to
the left.
All the photos numbered 001- to 999- will display in a single column
below the text. Unnumbered photos will also display below the text in
alphabetical order. So if you want a photo at the top of the page add
the prefix 000- to the file name. If alphabetical order is what you want
for the rest of the photos you don't have to rename them.
Permitted extensions are jpg, png, or gif. (It's hapeg stupid!) It's
easy to add other permitted extensions in the code but, of course, they
have to be rendered by a browser. I did not include the jpeg extension
choosing to rename jpeg files to jpg. This made it slightly easier to
code.
There is a config.inc file where you can set your table width. The
default is 700. I resize my photos to be 600 max width. I usually use
jpg files with a quality level of 90. This reduces storage space and
enables fast loading of images. The config.inc file also allows you to
change background color, text color, link color, etc. There is also a
CSS section in the config.inc file so you can change the font, the
headline sizes, etc. Or add your own CSS.
If you have trouble getting the text wraparound to look good on your
page there is a way to disable it in the config.inc file.
Install the page with ftp. Make a directory, where you want it on
your website, and give it a good name. Upload index.php, title.txt,
notes.txt, config.inc, and the image files into the directory. Go to
your website and check it out. That's it.
Page maintenance is the same. Fix captions by renaming files. Add and
delete images. Update the title or the text in notes.txt and upload the
changes. Change the font, colors, or CSS in config.inc and upload the
changes.
I will include links there to the demo site, the link to the comment
thread for this podcast on Mastodon, and the link to the git repository
on Codeberg.
If you can't find Dirt Simple Photo Gallery use the search
feature.
Good Samaritan laws offer legal protection to people who give
reasonable assistance to those who are, or whom they believe to be
injured, ill, in peril, or otherwise incapacitated. The protection is
intended to reduce bystanders' hesitation to assist, for fear of being
sued or prosecuted for unintentional injury or wrongful death.
A duty to rescue is a concept in tort law and criminal law that
arises in a number of cases, describing a circumstance in which a party
can be held liable for failing to come to the rescue of another party
who could face potential injury or death without being rescued. The
exact extent of the duty varies greatly between different
jurisdictions.
A duty to rescue arises where a person creates a hazardous situation. If
another person then falls into peril because of this hazardous
situation, the creator of the hazard – who may not necessarily have been
a negligent tortfeasor – has a duty to rescue the individual in
peril.
Spouses have a duty to rescue each other in all U.S. jurisdictions.
A tort is a civil wrong, other than breach of contract, that causes a
claimant to suffer loss or harm, resulting in legal liability for the
person who commits the tortious act. Tort law can be contrasted with
criminal law, which deals with criminal wrongs that are punishable by
the state. While criminal law aims to punish individuals who commit
crimes, tort law aims to compensate individuals who suffer harm as a
result of the actions of others.
In common, civil, and mixed law jurisdictions alike, the main remedy
available to plaintiffs under tort law is compensation in damages, or
money.
Title: Good Samaritan Law. License: Text is available under the Creative Commons
Attribution-ShareAlike License 4.0; additional terms may apply. Source(s): wikipedia: Good Samaritan Law.
Title: Duty to rescue. License: Text is available under the Creative Commons
Attribution-ShareAlike License 4.0; additional terms may apply. Source(s): wikipedia: Duty to rescue.
Title: Tort. License: Text is available under the Creative Commons
Attribution-ShareAlike License 4.0; additional terms may apply. Source(s): wikipedia: Tort.