Hacker Public Radio show

Hacker Public Radio

Summary: Hacker Public Radio is an podcast that releases shows every weekday Monday through Friday. Our shows are produced by the community (you) and can be on any topic that are of interest to hackers and hobbyists.

Join Now to Subscribe to this Podcast
  • Visit Website
  • RSS
  • Artist: Hacker Public Radio
  • Copyright: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License

Podcasts:

 HPR2329: Building a Digital Clock Kit | File Type: audio/mpeg | Duration: Unknown

Building a Digital Clock Kit Introduction In April 2017 my son and I decided to each build a digital clock. I had been interested in the idea since seeing Big Clive build one on YouTube, and I think my son had been similarly motivated. He found one, which I have linked to below. It's smaller than the one shown by Big Clive, comes from ShenZhen China, and costs $5.35 (about £4.18) postage free. It takes a long time to arrive, so patience is needed! There are many digital clock kits on eBay, and lots of YouTube videos showing how to build them. I think it's a great project for someone wanting some soldering practice which is a little more demanding than a beginner project. One type to avoid, I think, is the surface mount type. The one I have uses a through-hole PCB, but I have seen some that provide SMD (surface-mounted device) components. That type of soldering is beyond me at the moment (though my son has been teaching himself to do it). Long notes I have provided detailed notes detailing the unpacking and building of this device, with photographs. These are available here. Links Youtube bigclivedotcom: eBay clock kit. Full build and setting guide. eBay item: 4-Digit LED DIY Digital Electronic Micro Controller Kit Clock Time Thermometer Full details of the build with photographs

 HPR2328: Baofeng UV5R VHF/UHF Handset part 8 | File Type: audio/mpeg | Duration: Unknown

In this episode I cover the menus 12 to 24 of the Baofeng UV5R VHF / UHF Hand Held Transceiver Menu 12, T-DCS - Transmitter DCS: [ D023N -- D754I , OFF ], DCS Wikpedia https://en.wikipedia.org/wiki/Squelch#DCS Menu 13, 13 T-CTCS - Transmitter CTCSS [ 67.0 -- 254.1, OFF ], CTCSS Wikipedia https://en.wikipedia.org/wiki/Continuous_Tone-Coded_Squelch_System Menu 14, VOICE - Voice Prompt [ ENG / CHI / OFF ] Menu 15, ANI-ID - Automatic Number ID Baofeng UV-5R Menu 16, DTMFST - DTMF tone of transmit [1, 2, 3, 0] Menu 17, S-CODE - Signal Code [ 1-15 ] Menu 18, SC-REV - Scanner Resume Method (Time, Carrier, Search) [ TO / CO / SE ] Menu 19, PTT-ID - When to send the PTT-ID (Beginning, End Both) [ BOT / EOT BOTH ] Menu 20, PTT-LT - Signal code sending delay. [ 0 -- 30 ] Menu 21, MDF-A - Channel Mode A Display [ NAME / FREQ ] Menu 22, MDF-B - Channel Mode B Display [ NAME / FREQ ] Menu 23, BCL - Busy Channel Lock-out [ OFF / ON ] Menu 24, 24 AUTOLK - Automatic Keypad Lock [ ON/ OFF ] DTMF, Wikipedia https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling

 HPR2327: A Texan's view on Why only a Native Born person can be President | File Type: audio/mpeg | Duration: Unknown

Based on my limited knowledge of our founding documents. I have read them a few times and had a few basic classes about our founding documents. So I am not lawyer or Professor just a normal person with a very normal education. I did see the starting documents at the national archive last sept 2016 and they are real and can be publicly read.

 HPR2326: HPR Community News for June 2017 | File Type: audio/mpeg | Duration: Unknown

New hosts Welcome to our new hosts: Mongo, bjb. Last Month's Shows Id Day Date Title Host 2304 Thu 2017-06-01 Using Gnome 3 for the First Time Shane Shennan 2305 Fri 2017-06-02 Configuring an HP Laptop for Dual Boot Linux and Windows 10 Mongo 2306 Mon 2017-06-05 HPR Community News for May 2017 HPR Volunteers 2307 Tue 2017-06-06 Baofeng UV5R VHF/UHF Handset part 4 MrX 2308 Wed 2017-06-07 Everyday package operations in Guix clacke 2309 Thu 2017-06-08 Crowdsourcing Accessibility Jon Kulp 2310 Fri 2017-06-09 Kdenlive Part 6 Workflow and Conclusion. Geddes 2311 Mon 2017-06-12 Baofeng UV5R VHF/UHF Handset part 5 MrX 2312 Tue 2017-06-13

 HPR2325: Insurance - How It Works | File Type: audio/mpeg | Duration: Unknown

Health policy is difficult and tricky. In the U.S. health care is mostly financed through insurance. How does that work, and what does it imply. There are some hard truths here. Links: https://discoveringwisdom.com/2013/06/07/life-is-uncertain-eat-dessert-first/ https://www.actuary.org/files/publications/risk_pool_july2009.pdf https://en.wikipedia.org/wiki/Moral_hazard http://www.oregonlaws.org/glossary/definition/actuarially_sound http://www.palain.com/?page_id=272

 HPR2324: Opensusecon 2017 and Ubuntu 16.04 | File Type: audio/mpeg | Duration: Unknown

Information about HTOP can be found at https://en.wikipedia.org/wiki/Htop Information about Audacity 2.1.2 can be found at http://www.audacityteam.org/ Overall the opensuse con 2017 was a great event. Lots of talks, they had guy with 16 Raspberry PIs in a storage cluster and list goes on and on. Many of the folks there were suse employees or Open Cloud employees but they really had their passions down. Ubuntu 16.04 is running fine on my MS surface tablet and is wife friendly.

 HPR2323: How to Configure Mumble in Real Time | File Type: audio/mpeg | Duration: Unknown

Links relevant to the show: http://www.evoterra.com/ https://scribl.com/ https://wiki.mumble.info/wiki/Main_Page https://urandom-podcast.info/

 HPR2322: A bit of background on virtualenvwrapper | File Type: audio/mpeg | Duration: Unknown

A bit of background on virtualenvwrapper Or, Linux processes, the process environment and the shell. speaker intro Hi, I'm bjb. I've been using Linux for wow, 20 years now. motivation knox gave a nice podcast on virtualenvwrapper - it was timely for me, I was just trying to use it the other day and not finding all the bits and pieces. So thank you for collecting that info in one place. knox asked why virtualenvwrapper behaves as it does ... introduction virtualenvwrapper is a combination of bash functions and programs. To understand how it works you need to know a little bit about bash and Linux. I know there have been some very good earlier and current! HPR shows on bash. But bash is a huge topic. The man page for it was 3500 lines about 10 years ago ...now it is 4300 plus lines. It has a LOT of functionality, and when you're just trying to get something done, it's overwhelming to look at. So in this HPR episode, I will just answer one or two of knox's questions. It gives me an excuse to make an episode. Also I'm not going to go too deep into the description. In order to keep the podcast short and to-the-point, I'm just going to cover what is needed. There is lots more depth - there are several shells you could use and I'm only going to talk about bash; at startup bash can read more than just the files I mention in this podcast ... I'm just not going to cover all the possibilities. That's what the over 4300 line man page is for : -). If you have questions, ask them in the comments, or make your own podcast and ask them! Maybe you'll get some answers - either from me or from another HPR community member. environment for processes A program that has no inputs is not flexible or powerful. As a simple example, a program that displays the results of a hard-coded search is certainly useful if you want to know about that hard-coded search term. But a program that can search for a term that you specify at run time is so much more useful. You do not have to recompile the program to change the search term. Programs can receive inputs in several ways. On Linux and other unix-like OSs, a program can be run with arguments, read and write to file descriptors (and that includes standard in, standard out and standard error), they can receive signals - and they have another input: the "environment". That is a bunch of key-value pairs that are made available to the program when it starts. Some examples of environment variables are PATH, HOME, EDITOR and PAGER. The name of the environment variable, 'PAGER', is the key, and the thing on the other side of the equals sign, like 'less', is the value - the pair make up a key-value entry in the environment. People who program in C or C++ and maybe other languages know that the program starts with a main function, and that function has some parameters. The first one is a count of arguments and the second one is an array of strings, each string being one of the arguments passed to the program when it is launched. There is a little-known optional third parameter: an array of strings that represents the "environment". The way the program gets these strings is that it inherits them from its parent process. The parent process of programs that are run from the command line is ... the command line itself, bash. Or csh, or whatever your shell is. When the program starts, it gets a copy of the exported parts of the environment of its parent. environment in bash Bash gives you the ability to set these environment variables and mark them as "available for handing to subprocesses", and that is what is happening when you give that "export" command.

 HPR2321: Baofeng UV5R VHF/UHF Handset part 7 | File Type: audio/mpeg | Duration: Unknown

In this episode I cover the menus 6 to 11 of the Baofeng UV5R VHF / UHF Hand Held Transceiver Link to the Free, open-source tool for programming your amateur radio. It supports a large number of manufacturers and models, as well as provides a way to interface with multiple data sources and formats. http://chirp.danplanet.com/projects/chirp/wiki/Home Menu 6, ABR - Display Illumination Time [ 1-5 or OFF ] Menu 7, TDR - Dual Watch, [ ON / OFF ] Menu 8, BEEP - Keypad Beep [ ON /OFF ] Menu 9, TOT - Transmission Time-out-Timer [ 15 -- 600 ] Menu 10, R-DCS - Receiver DCS, DCS Wikipedia https://en.wikipedia.org/wiki/Squelch#DCS Menu 11, R-CTCS - Receiver CTCSS, CTCSS Wikipedia https://en.wikipedia.org/wiki/Continuous_Tone-Coded_Squelch_System

 HPR2302: Bash snippet - nullglob | File Type: audio/mpeg | Duration: Unknown

Bash snippet - nullglob I recently did an HPR show about Bash filename expansion and described the 'shopt' command and its options. One of the options I talked about was 'nullglob' which controls what is returned from an expansion when no files match. When 'nullglob' is enabled, and a pattern does not match, nothing is returned. When it is disabled (the default) then the pattern itself is returned. Although I didn't think I'd ever need to, I recently wrote a script where I used 'nullglob', and thought I would share a snippet of the code to demonstrate what I did. The script is for managing mail messages containing tag and summary updates. I use Thunderbird for my mail and have configured it to drop these messages into a directory so I can process them. I use Thunderbird's message filters to do this. A certain amount of Spam is also received, and sometimes valid messages need a bit of work before they can be processed. The directory where the messages are saved (the spool area) is stored in the variable 'MAILDROP' earlier in the script. 1 # 2 # Find the files and store their names in an array. Use 'nullglob' so we get 3 # nothing when there is nothing, then revert to the original setting 4 # 5 NG="$(shopt -p nullglob)" 6 shopt -s nullglob 7 MESSAGES=( $MAILDROP/*.eml ) 8 eval "$NG" 9 10 # 11 # Exit if there's nothing to do or report what's there 12 # 13 if [[ ${#MESSAGES[@]} -gt 0 ]]; then 14 echo "Files in the spool area:" 15 printf "%sn" "${MESSAGES[@]}" 16 else 17 echo "The spool area is empty" 18 exit 19 fi The variable 'NG' holds the state of 'nullglob' before the script modifies it. Remember that 'shopt -p' returns a list of commands that will revert the named options to their current state. Next (line 6) the 'nullglob' option is enabled. The array 'MESSAGES' is created on line 7 to hold the list of mail files found in the spool area. This is done with a pattern which matches files that end with the string '.eml'. If we didn't have 'nullglob' enabled then when there were no files the array would contain the pattern - which would be misleading. Having collected the file details 'nullglob' is turned off by executing the command in the variable 'NG' on line 8. You might think that the script could just turn 'nullglob' on then turn it off again when it's no longer needed. However, I prefer to use the technique I have shown here because it needs to have no knowledge of the state of the option before it's set, and restores that state afterwards. By line 13 the array 'MESSAGES' either contains a list of files or is empty. The script checks for these two cases by determining how many elements are in the array. Greater than zero means we have files to process and they are listed in lines 14 and 15. The script then goes on to do various things with the files. If there were no files then the script reports this and exits. That's it! This is not the only way to do this, but I like to write scripts that call as few sub-processes as I can, and this way appeals for that reason. Links HPR show 1648 Bash parameter manipulation looks at variables and arrays in Bash HPR show 2278 Some supplementary Bash tips introduces 'shopt' and 'nullglob'

 HPR2301: Baofeng UV5R VHF/UHF Handset part 3 | File Type: audio/mpeg | Duration: Unknown

This episode will be right up your street if you like rambling podcasts. I planned to cover the supplied accessories of the Baofeng UV5R VHF / UHF Hand Held Transceiver however somewhere along the line I rambled off topic and started blathering on about a whole range of topics. I cover the VHF / UHF spectrum, radio frequency, wavelength Omni-directional antennas, mains hum time stamp fingerprinting among other things. Sit back and enjoy. VHF, Wikipedia https://en.wikipedia.org/wiki/Very_high_frequency UHF, Wikipedia https://en.wikipedia.org/wiki/Ultra_high_frequency Radio Frequency, Wikipedia https://en.wikipedia.org/wiki/Radio_frequency Radio Waves, Wikipedia https://en.wikipedia.org/wiki/Radio_wave Wavelength, wikipedia https://en.wikipedia.org/wiki/Wavelength Omni-Directional Antenna Wikipedia https://en.wikipedia.org/wiki/Omnidirectional_antenna New Scientist Magazine, Wikipedia https://en.wikipedia.org/wiki/New_Scientist Found this related article on the BBC website about Mains hum time stamp fingerprinting http://www.bbc.co.uk/news/science-environment-20629671 2 Meter band, Wikipedia https://en.wikipedia.org/wiki/2-meter_band 70 Cm band, Wikipedia https://en.wikipedia.org/wiki/70-centimeter_band

 HPR2300: The first Intel CompuStick | File Type: audio/mpeg | Duration: Unknown

Well basically the stick out of the box was not very usable. I had to struggle with it for a long time to make it work for me doing even the most basic tasks. I went to http://linuxiumcomau.blogspot.com/ and things got better.

 HPR2299: What's in My Bag | File Type: audio/mpeg | Duration: Unknown

A computer instructor explains why there is a flashlight, a flash drive, a set of picture dice, a small notebook, and a cell phone in his bag.

 HPR2298: Phantom Power Drain | File Type: audio/mpeg | Duration: Unknown

disconnect negative battery cable. connect multimeter between battery and cable. read amp draw... 15-20 millivolts milliamps is on the high end. unplug fuses one at a time, until the problem circuit is identified. ... some lip smacking, and vocal fry. Corrected 2017-05-27 - Editor

 HPR2297: More Magnatune Favourites | File Type: audio/mpeg | Duration: Unknown

More Magnatune Favourites After nearly two years Andrew (@mcnalu) and Dave have prepared another show of some of their favourite music from Magnatune for your pleasure. Andrew #1: Album: "Helium" by prettyhowtown Track: Rodrigo (04:25) Genre: Ambient Link: http://magnatune.com/artists/albums/prettyhowtown-helium Dave #1: Album: "The Secret Life of Angels" by SkinMechanix Track: Ultravista (08:44) Genre: Electronica Link: http://magnatune.com/artists/albums/skin-angels Andrew #2: Album: "Sleep Mode" by Mike McGuill Track: Think Tank (04:38) Genre: Electronica Link: http://magnatune.com/artists/albums/mmcguill-sleepmode Dave #2: Album: "General Fuzz" by General Fuzz Track: Ray squared (06:49) Genre: Ambient, Electronica Link: http://magnatune.com/artists/albums/fuzz-fuzz Andrew #3: Album: "Theatralica" by Stanislav Track: Infant (02:35) Genre: Electro Rock Link: http://magnatune.com/artists/albums/stanislav-theatralica Dave #3: Album: "Shop Sessions" by The Dimples Track: Drive (03:33) Genre: World Link: http://magnatune.com/artists/albums/dimples-shopsessions Links Magnatune site Our previous HPR show of Magnatune tracks

Comments

Login or signup comment.