Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


From Wed 20th December 2017 all the media from the HPR feeds will be served via a redirect towards Archive.org. Please notify admin@HPR of any issues.

Our hosting is kindly provided by Josh from AnHonestHost.com. We would appreciate it if you could donate to help reduce his costs in funding the hosting.
He is also accepting bitcoins to 1KsxJr9HtsdaUeU7yaV9bk9bQi21UPBtUq

In-Depth Series

general


TronScript where have you been all my life! - operat0r | 2018-01-12


free software's long tail - Joey Hess | 2018-01-04

Surprised to see in my podcast feed an episode about an insignificant program which I'd written two decades earlier, I thought I'd record a response with some thoughts on free software's long tail.


Chrome Plugins You Must Have - operat0r | 2018-01-03

https://www.linkedin.com/pulse/block-more-ads-unlimited-cloud-storage-multi-threaded-robert-mccurdy


Getting ready for my new Macbook Pro - knightwise | 2018-01-02

I am about to buy a new macbook pro and talk about the things I do to install and protect it.


Interface Zero RPG Part 5 - klaatu | 2017-12-29

An extra-long episode of the grand finale of the Interface Zero RPG play-through.

Spoilers: Chaiwei dies in combat and Syd runs off with Tina.

At the end of the show are all the credits containing sound effects and source materials. Here they are in text form.

Sound effects were taken from freesound.org. Thanks to the following artists:

  • interfacezero/muzak/70891__spukkin__trumpetmetal.wav

  • interfacezero/muzak/212926__simongray__mojo-cafe-nr-wagamama.flac

  • interfacezero/muzak/243629__lebcraftlp__heavy-rain.flac

  • interfacezero/muzak/382735__schots__gun-shot.flac

  • interfacezero/muzak/186104__marcel-farres__elevator.flac

  • interfacezero/muzak/187866__theomegapixel__metal-grind.flac

  • interfacezero/muzak/66713__sunnysidesound__desk-pound.wav

  • interfacezero/muzak/367222__bluedelta__thunder-rain-low-frequencies-4-channel-48khz.wav

  • interfacezero/muzak/212678__fridobeck__firework-explosion-1.wav

  • interfacezero/muzak/213610__dpoggioli__laser-gun-explosion.wav

  • interfacezero/muzak/100772__cgeffex__huge-rocket-launcher.wav

  • interfacezero/muzak/336735__newagesoup__double-explosion-bright-dark.wav

  • interfacezero/ep2/329877__klavo1985__music-of-the-black-circus-the-very-best-by-kris-klavenes.flac

  • interfacezero/ep2/94914__pcaeldries__lakeside2.flac

  • interfacezero/ep2/153376__inchadney__the-bay.flac

  • interfacezero/ep3/152396__taavi55__big-smash.ogg

  • interfacezero/ep3/135465__joelaudio__quick-smash-001.wav

  • interfacezero/ep3/387177__pfranzen__smashing-a-glass.ogg

Music

  • Lyphrygerator and Wood/Water by William Kenlon, used with permission.

  • All other music by Klaatu.

Story

Want to play this game yourself?


The Alien Brothers Podcast - S01E02 - Strictly Hacking - The Alien Brothers Podcast (ABP) | 2017-12-28

Casper and Rutiger attempt to STAY ON TARGET by discussing hacking… which when you think about it is an utterly pretentious and vague goal for a podcast presented by Hacker Public Radio, especially when considering the end result. Shame on us!

Other topics include Friendsgiving and giving thanks; probably the greatest gaming console of the 1970’s; early “hackings” (sic) committed by the hosts; << >>

References:

  1. The link to the first chapter of Dief Minusky’s seminal the Nature of Systems is freely available here.
    https://www.dropbox.com/s/or5vefjumde4qsk/TNOS%20E-I%20C1%2020030415.pdf?dl=0
    Although we referred to the Chapter 8 material on system network security during the show, Rutiger decided it was better to release chapters, incrementally, in order let listeners gain a fuller appreciation for the work. Rutiger is also attempting to track down the original author, who never publicly released the work, to gain retroactive permission for this link, but for the moment Alien Brothers Podcast takes full responsibility for allowing access to this non-copyrighted work and we’ll just go ahead, you know, feel good about the possibility it will all turn out OK.
  2. Uber Data Breach (2017; CNN.com)
  3. How to Disable the Intel Management Engine Backdoor
    https://beinglibertarian.com/disable-intel-management-engine-backdoor-courtesy-nsa/

The power of GNU Readline - part 2 - Dave Morriss | 2017-12-27

The power of GNU Readline - part 2

In part 1 we looked at some Control key and Meta key sequences as well as the Backspace and DEL keys in the context of GNU Readline.

The full-length notes (available here) contain a brief summary of what we covered and introduce cutting and pasting the GNU Readline way, with some examples.


Hydraulic Heavy Scale Project - David Whitman | 2017-12-26

Hydraulic Heavy Scale Project

by David Whitman

Why? - to weigh a heavy object yourself

Not very difficult. Can be done in about 1/2 hour by someone who has experience doing this type of stuff. Lots longer for beginners.

Things you will need: A drill motor, The right size bit for a small pilot hole and the right size bit for a fitting to connect the jack cylinder to the pressure gauge, A Thread TAP to make threads to connect the hydraulic 90 degree fitting to the jack, Some pipe dope is not a bad idea, A 90 degree appropriately sized fitting to connect a pressure gauge to the jack, a vise is nice, a wrench to dismantle the jack, A way to accurately measure the cylinder bore (best is a caliper) and some oil to refill the jack.

This link is a youtube to help you visualize the steps. https://www.youtube.com/watch?v=ZBmxkWK_OFA

Hate this episode? No problem. Do a better one


Server Basics 105 OpenVPN Client - klaatu | 2017-12-25

In the previous episode of this series, you set up an OpenVPN server. In this episode, Klaatu walks you through:

  1. Installing OpenVPN on a client machine.

  2. Generating a key and certificate request.

  3. Signing a client cert from the server.

  4. Configuring the client.conf file.

  5. Configuring the client routing table to use the VPN subnet.

  6. Pinging the server over VPN!!!

Where to go from here?

Your next steps should be to investigate how your org wants to use VPN, how your clients actually want to join the VPN (Network Manager has some nice features that makes joining a VPN fairly transparent). Have fun!


Android Audio with viper 4 android and magisk - operat0r | 2017-12-22


Org-mode mobile solution - Brian in Ohio | 2017-12-21

brief introduction

myself

Hi, I'm Brian in Ohio

inspiration for show

I wanted to tell a little about my trials and tribulations of finding a solution to taking org mode on the road. What's org mode? Listen to my last episode or do a duckduckgo to find out.

parameters

After switching from using a bullet journal to using emacs-org-mode as my organizing device I immediately saw that lugging a laptop everywhere was not going to work for me. I wanted to be able to access org-mode, especially the agenda view, anywhere I might be. Laptops with limited battery life and a large physical presence were not going to work for me.

mobile-org app

The first solution I tried, and the most obvious, was the mobile-org app. Its available for android or ios. I can only attest to the android version. Its an easy from the play store. This solution didn't work for me for a number of reasons. First, the documentation for the setup is terrible, and I became frustrated by the workflow and could not get useful results using the app. Mobile-org seems to be built around using dropox. In order to get around that I tried various methods of syncing my org files using onboard storage. Seeing this wasn't going to work I bit the bullet setup a dropbox account installed the clients, one on my slackware laptop and the other on my phone only to find dropbox doesn't support this application anymore. A little digging around and it seems the API used by mobile-org isn't up to snuff any more so, fail. I cut my loses and moved on to another possible solution.

pi-top

My next crack at solving the portable org mode problem was getting a pitop laptop https://pi-top.com/. Pitop is a laptop based on a raspberrypi. I won't go into the details of the device here but I'll say my idea for using this device was its advertised 8+ hour battery life. My old linux laptops rarely give me 2 hours of life So even though the pitop was physically larger than I wanted I gave it a whirl. Lets just say the battery does last 8+ hours, it just can't survive many recharges. 2 battery packs later I gave up on the pitop and went looking for something else.

pocketchip

I heard klaatu mention a device called a pocketchip on his gnuworld order podcast http://gnuworldorder.info/. I looked into it and here I thought might be a device that could work. Pocketchip https://getchip.com/pages/pocketchip is a handheld linux computer. After ordering the device I began setting it up for my use case. There are plenty of tutorials on the pocketchip website on how to extend the usefulness of this product. The size of the device was good and the battery life was ok. Some people complain about the chicklet keyboard but I actually did not mind it to much. It took some fiddling to get the emacs keybindings I use to work on the odd keyboard layout, but its a linux computer so there's plenty of information out there. I used a thumb drive as a repository for my org files, wrote a couple of scripts to sync up the files with whatever device the drive was plugged into and wala a mobile org solution! Alas, the pocketchips demise was its build quality. The heart of the pocketchip, the system board's usb mini plug fell off, and then one system tweak later I bricked the device. I'll recover it eventually, you can program it through the gpio pins, but this was a quest for portable-org-mode, not fixing pocketchips, so onward.

raspberry pi tablet

I saw a build of a raspberry pi tablet that looked very nice http://www.stefanv.com/electronics/a-compact-home-made-raspberry-pi-tablet.html. Always up for a challenge, I cobbled together a prototype and tried it out. The reason I eventually dropped this solution because the virtual keyboard didn't work well and I couldn't get the official raspberrypi lcd to rotate from portrait to landscape dynamically. Still a fun project and I'll get some use out of it sometime.

android phone

Well here's the solution I came up with. I was searching around on the internet and found a link telling about running emacs on an android phone. http://endlessparentheses.com/running-emacs-on-android.html. It involves installing the termux app, the hackers keyboard, both available in the google play store and apt-get installing emacs on the phone. After that I had full emacs running, all be it in a terminal so its slightly different then running on the desktop, and with emacs you get, drum roll please, org-mode. With this i have the device I always take with running org-mode. I sink my org files between my laptop and phone using the afore mentioned drop box account. The hackers keyboard works flawlessly and can digest any emacs keybinding I need. I also have a logitech bluetoothkeyboard that I can use if I have a lot of typing to do in org-mode on my phone, such as these shownotes!

conclusions

I find org-mode so useful that I want it available any where I go. And over the course of the last 8 months I went on a journey trying to find a solution to that desire. In the end, the solution was pretty obvious, these portable computers we carry around are amazing and thanks to the developers of termux and the hackers keyboard my phone is now infinitely more useful to me. Thanks for listening.


Server Basics 104 OpenVPN Server - klaatu | 2017-12-19

In this episode, Klaatu demonstrates how to:

  1. Install OpenVPN

  2. Generate certificates for your OpenVPN server

  3. Generate a private key for your OpenVPN server

  4. Configure the /etc/openvpn/server.conf file

  5. Start the OpenVPN daemon

In case it is not clear, you can follow along with Klaatu, using the exact same options and configuration values as he is using for a successful install. You do not need to change

In the next episode, he will demonstrate how to do all of the above for OpenVPN clients.

VPN is a big topic that warrants a whole miniseries unto itself, so this and the next episode concentrate on getting a VPN up and running, with clients connected and pinging back to the server on a dedicated subnet. Additional config options based on your specific use-case are left for you to explore on your own.


Git server and git hooks - klaatu | 2017-12-18

A sample post-receive git hook:


#!/usr/bin/tcsh

foreach arg ( $< )
  set argv = ( $arg )
  set refname = $1
end

set branch = `git rev-parse --symbolic --abbrev-ref $refname`
echo $branch

    if ( "$branch" == "master" ) then
      echo "Branch detected: master"
      echo "Do some stuff here."
    else if ( "$branch" == "dev" ) then
      echo "Branch detected: dev"
      echo "Do something else here."
      else
        echo "Do something entirely different here."
    endif

Information Underground: Backwards Capitalism - lostnbronx | 2017-12-15

The Info-Underground guys consider why capitalism does (or maybe doesn't) work, why people use it as a tool for a better life (or maybe don't), and what the source of ambition, commercial aspiration, and greed truly is (or maybe isn't).


Interface Zero Play-through Part 4 - klaatu | 2017-12-14

The investigation continues!

Guest voice in this and episode 3 by Gort.


pdmenu - Dave Morriss | 2017-12-13

pdmenu

Introduction

Pdmenu is a tool written by Joey Hess which allows the creation of a simple menu in a terminal (console) window. It is in his list of less active projects, and the latest version is dated 2014, but it seems to be quite complete and useful as it is.

I like simple menus. As a Sysadmin in my last job I used one on OpenVMS which helped me run the various periodic tasks I needed to run - especially the less frequent ones - without having to remember all of the details.

I do the same on my various Linux systems, and find that pdmenu is ideal for the task.

Installation

I found pdmenu in the Debian repositories (I run Debian Testing), and it was very easily installed. The C source is available as a tarfile, though I haven't tried building it myself.

Running pdmenu

Simply typing pdmenu at a command prompt will invoke the utility. It uses the file /etc/pdmenurc as its default configuration file, and this generates a menu with a demonstration of some of its features.

This is not particularly useful but it can be overridden by creating your own configuration, which by default is in ~/.pdmenurc. The pdmenu command itself takes a configuration file as an argument, so there is plenty of flexibility.

Full notes and examples

The full notes which describe the use of pdmenu with examples can be found here.


The sound of Woodbrook Quaker Study centre in the Spring - Tony Hughes AKA TonyH1212 | 2017-12-12

This is a recording I made at Woodbrook Quaker Study Centre in Birmingham UK while I was there in April 2017.

I got the idea to release it as a show after listening to hpr2354 :: Night Sounds in Rural Tennessee hosted by Jon Kulp so here it is all 15 minutes of it.

The centre is right by the busy A38 trunk road so hence the constant hum of traffic noise in the background.


Server Basics 103 - klaatu | 2017-12-11

Klaatu walks you through installing, configuring, and running fail2ban, and discusses the basics about firewalls.


Internal Logic of Stories - lostnbronx | 2017-12-07

Lostnbronx rambles on about the structure of stories, and how their internal logic can make or break them.


Server Basics 102 - klaatu | 2017-12-01

Klaatu talks about SSH, changing SSH ports, and using SSH keys for the server you presumably set up after hearing Server Basics 101 in this series.


You were right, I was wrong - Ken Fallon | 2017-11-29

Ken puts the record straight after inaccurate comments during hpr2416 :: HPR Community News for October 2017 about hpr2406 :: Putting Ends onto CAT6 Ethernet Cables by Shane Shennan.

Links


Scanning books - Ken Fallon | 2017-11-24

I want to scan my Son's school books so that he doesn't get back problems lugging books to and from school. Something that for now at least remains legal in the Netherlands.

Steps involved

  1. Scan all the images using the entire length of your scanner. I use scantoimage.bash
  2. Confirm that there are no missing pages, and that every other page is upright and then upside down etc. If they are scan them and rename them so the name fits in between the pages
  3. Back up all the scanned images
  4. Manually crop the areas of the scans outside the area of the page. Usually this is on the side and bottom of the flat bed. Save is as something like ~/x.jpg
  5. Use GraphicsMagick Image Processing System to identify the dimensions of the cropped image.
    gm identify ~/x.jpg
    /home/me/x.jpg JPEG 2477x2609+0+0 DirectClass 8-bit 3.2Mi 0.000u 0m:0.000002s
  6. Crop all the images to that dimension
    gm mogrify -crop 2477x2609+0+0 *.jpg
  7. Rotate every second image by 180 degrees. rotate-every-second-image.bash
  8. Create a directory for the book and in there create a subdirectory for each section of the book. Manually copy all the images to the sub directory for that section.
  9. Then go to the root where there are no files only subdirs and run the command
    for i in *;do echo $i;gm convert "${i}/*.jpg" "${i}.pdf"; done

At the end you will have a pdf file for each section of the book.


git Blobs - klaatu | 2017-11-22

How do you manage large binary blobs, like pictures or video or sounds, when using git?

In this episode, Klaatu explains two popular options:

Thanks to CapsLok at freesound.org for the sound effect.


Server Basics 101 - klaatu | 2017-11-21

Klaatu covers the very very basics of servers: what they are, how to know one when you see one, what one ought to run, and why we have them.


Let's Talk About Addiction - lostnbronx | 2017-11-20

I was partially inspired by Bitbox's really wonderful episode, "hpr2413: personal health care", to ramble on about the need for the HPR community to, maybe, start talking about a mental health crisis that touches pretty much everyone in the modern world: addiction.

Personal Health Care
hosted by Bitbox:
http://hackerpublicradio.org/eps.php?id=2413


Intro to XSL - klaatu | 2017-11-17

Sure, you can use pandoc to process your Docbook XML, but why not learn a little XSL this weekend?

Requirements

You must have xsltproc installed. It's available from your software repository.

Here is some sample XML for you:


<xml version="1.0">
  <para>
    My name is <author>Foo</author>.
  </para>

  <para>
    You're listening to <emphasis role="bold">Hacker Public
    Radio</emphasis>.
  </para>
</xml>

And here's the complete XSL as demonstrated:


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:template match="para">
    <p><span><xsl:apply-templates/></span></p>
  </xsl:template>

  <xsl:template match="emphasis">
    <em><xsl:apply-templates/></em>
  </xsl:template>

  <xsl:template match="emphasis[@role='bold']">
    <strong><xsl:apply-templates/></strong>
  </xsl:template>

  <xsl:template match="author" name="host">
    <xsl:choose>

      <xsl:when test="$host = 'Klaatu'">
        <xsl:text>Klaatu</xsl:text>
      </xsl:when>

      <xsl:when test="$host = 'Gort'">
        <xsl:text>Gort</xsl:text>
      </xsl:when>
    </xsl:choose>
  </xsl:template>
</xsl:stylesheet>

Links


Open Source Gaming #2: Oolite - TheDUDE | 2017-11-15

The game's website. If you're interested in playing, check it out. http://www.oolite.org/

Also here's the forum I was looking up during the podcast to find out if Elite Dangerous was multiplayer or not. https://steamcommunity.com/app/359320/discussions/0/142260718945308887/


Project Interest - lostnbronx | 2017-11-13

This is just a short "episode" wherein I ponder the nature of showmanship and razzle-dazzle regarding the success or failure of FOSS, and other projects that require collaboration. Your comments and opinions are ACTIVELY encouraged.


Netbooks - Keeping an old friend alive - Beeza | 2017-11-10

Beeza uses an Acer Aspire One netbook as a media player (principally audio).

The audio quality sent from the sound card out through the headphone socket really is excellent, so that when fed into a hi-fi amplifier the final reproduction is every bit as good as audio from a CD player - possibly better.

The netbook is over 5 years old. When it was first bought most Linux distros ran very well on it. Since that time, however, the optimal hardware spec for most distros has increased quite considerably, leaving a humble netbook relatively underpowered, having typically 1 Gb RAM and a sedate CPU.

All is not lost, fortunately. Raspbian X86, which is very closely related to the ARM version of Raspbian as used on the Pi, has a very light footprint and delivers performance on a netbook very much like what you would have experienced when they were brand new.

Raspbian X86 is not perfect, though. It works brilliantly straight out of the box, but its security model needs a bit of simple reconfiguration to get the best from it. There are also, tweaks and cheats that can improve the Pixel user interface which, in its default setup, may not be to everybody's liking.

In this episode Beeza explains steps he has taken to get the best from his netbook and, in the politest way possible, tells you what you can do with yours.

POST RECORDING NOTE

"Since recording the show I have installed Pulseaudio on top of Raspbian X86. It's a very simple install using Synaptic (or 'apt-get install pulseaudio'), after which you can run it as a daemon process with 'pulseaudio -D'.

The advantage of Pulseaudio is that it gives you greater control over the audio channels and devices than is possible with just the default ALSA sub-system. This will be handy if you ever record from streams or USB microphones.

If you install Pulseaudio, I strongly recommend installing pavucontrol as well - a mixer designed specifically to work with Pulseaudio".


Alien Brothers Podcast S1E01 - Introduction - The Alien Brothers Podcast (ABP) | 2017-11-09

This was an impromptu inaugural episode recorded in Bethany Beach, DE.

Casper and Rutiger work in the tech field and enjoy video games and popular media. We discuss the enigma that is the Handmaid's Tale, Tim & Eric Awesome Show Great Job!, the movie Kids, video games from paperboy to Quake to Fallout 4. We comedically discuss the disillusionment that one can incur working in the cubical jungle. We also discuss going back to minimum wage after enjoying a high paying tech industry.

We also reference obscure and not well-known music like Slint.

The sound quality is not great in this episode, as it was an impromptu recording. All future episodes will be produced at a much higher quality


Transmeta Crusoe - Fujitsu-Siemens Futro S210 (ThinClient) - Trouble Shooting and Debian 9 Install - JWP | 2017-11-07

I did the long awaited basement clean up project.
lots of old geeky stuff went to the bins and recycle yards :(

The Transmeta company made chips around 2000 and made chip x86 ready though a software layer. Since I love almost anything that is not Intel it was a match made in heaven.

The best info I found about the FSI 210 was at this site:
Fujitsu-Siemens Futro S210 (ThinClient)

If you want to do a project at raspberry PI prices just go to Ebay and type Futro - they have a lot of Thin clients with other chips.

About the chip:
https://en.wikipedia.org/wiki/Transmeta_Crusoe


bullet journal to org mode - Brian in Ohio | 2017-11-03

1 Brief introduction

1.1 Myself

Hi, I'm Brian in Ohio

1.2 Inspiration for show

I heard Shane Shennan on episode 2299 doing a what's in my bag episode where he briefly mentions using a bullet journal. Then I think I heard Ken Fallon wondering about bullet journals on community news for the month with that episode. So I thought a show was in order explaining how I went from using a bullet journal to using emacs org mode.

1.3 Parameters

I'm not an expert on any of the following topics: bullet journal, Getting things done (GTD), orgmode or emacs. I'm someone who has tried these tools, climbed the learning curve and have some observations to make through that process.

2 What's a bullet journal

2.1 Created by ryder carrol

The analog system for the digital age

2.2 Where I found out about it

https://www.relay.fm/penaddict/70

2.3 What it is

Method of laying out a notebook and using it to organize and process ideas and tasks. I won't try to explain exactly how it is set up. The video tutorial http://bulletjournal.com/ is excellent. You can use any notebook and divide it up into index pages, future log, monthly log and daily log there's a visual indexing/ tagging system to help organize stuff. Its extremely customizable.

2.4 How I used it

I bullet journaled for 2 and a half years, initially set it up stock but later put the index at the back. I used it as a daily planner, idea storing device and short term and long term goal setting tool.

2.5 Strengths

Customizable but within framework, gives a method to get organized that you can tailor to your needs. Its pretty easy to find needed info, if you're diciplined about using. It its battery free

2.6 Shortcomings

Need to be disciplined. Can be tedious to enter items in month, daily and index sections. It takes time to set up. I think Shane's use case he mentioned in podcast as sort of a project/idea book sounds pretty cool and might be a really good use case for this system. Hard to edit, this may be a strength for some people, but for me as a daily planner it was a little daunting to use. Adding stuff to something requires either leaving space ahead of time or indexing to a new page. The monthly log was always a mystery to me on how to use it. If you lose it you've lost it, no easy way to back it up

3 What is org mode

3.1 Created by Carsten Dominik

3.2 what it is

Is an editing and organizing mode for notes, planning, and authoring in the free software text editor Emacs.

3.3 How I found out about it

3.3.1 emacs

3.3.1.1 Wanted a commandline C development environment for microcontroller project development
3.3.1.2 IDE

Worked with vim/ a bash shell as a sort of minimal IDE. I specifically was using it on a laptop that didn't have X installed on it. Just for fun, not my bread and butter.

3.3.1.3 Wanted to try something new

Knew about emacs, had tried it didn't like it

3.3.1.4 Thanks to klaatu for emacs hpr emacs episodes
3.3.1.5 Thanks to youtube found out about org mode

Rainer Konig - getting yourself organized with org-mode
https://www.youtube.com/channel/UCfbGTpcJyEOMwKP-eYz3_fg

3.3.2 Switched in october 2016

3.4 How I use it

At its heart an org-mode is an outliner. I use org-mode to set up daily todo tasks, organize projects, jot down notes. Org-mode has a subsystem call agenda view that can generate daily planner views from your org-mode files. I initially tried to mimic the bullet journal in org-mode, but found that it was better to approach org mode relying on its strengths, which are different, as you can imagine, from a Bullet journal.

3.5 Strengths

I like it because its editable, searchable and customizable. Projects can be broken down into as fine a detail as you want and that detail level can expand or contract as necessary. The power of org-mode comes out when you use it to capturing ideas, tasks and information. Capturing these events is done via capture templates that you can create. This new data is then saved to the appropriate org file then shows up in your agenda view. Its extremely easy to back up, it's text based and therefore future proof. There are many good tutorials and resources online

3.6 Shortcomings

Need to know a little about emacs and that can feel overwhelming to try. This new tool will require you to use your brain. Emacs keybindings

4 What's next

Trying to find a good way to use orgmode portably. mobile-org app for android doesn't work for me. This has led to trying a couple of different solutions which I will record other hpr episodes about. Thanks for listening. If you have ideas on Bullet Journals or Org-mode I'd love to hear an episode about it. I'll put links into the show notes, this is Brian in Ohio signing off.


personal health care - Bitbox | 2017-11-01

This show was created while sitting in my tractor cab (I'm a truck driver), it took less than 10 minutes to record. The slight background noise is my truck getting bounced around by the forklift running in and out of my trailer.

The audio was recorded on an 'Olympus VN-1000PC' pocket dictation recorder (purchased at Walmart about 10 or 12 years ago, I think, for about $20.00-US), on the built in mic. The recorder will accept a mic and/or headphone with a 3.5mm jack size. Mini usb out as a mass storage device so its easy to offload your files. The device is simple enough for a monkey to use, or a trucker...

The_Ultra_Hi_End_Recorder.jpg

Photos from my Android phone, a samsung s7 active. Photos transferred to my laptop using the KDE connect application (I know, I know, how 'bout an episode...)

Photo editing in "Gwenview", a gui application with fast cropping and resizing capability, plus much much more (I know, I know, how 'bout an episode...)

Audio editing in "Audacity", of course. All I did was pull the silences, and the "uh, ummmm's" out, and then export into a flac mono. (I know, I know, how 'bout an episode...wait, no that one's been done, and done,...)

Expensive_Audio_Editing_Software_Suite.jpg

The digital scale in the picture below was purchased at 'bedbath&beyond' for less than $20.00 -US, several years ago and seems quite accurate

OMG_scale_reading.jpg

The Omron BP cuff...lists at about $80-$90.00 US on their site. I didn't pay for that though. My mom the retired nurse did.

Omron_BP760_data_plate.jpg Omron_BP760_machine.jpg

SHAKUBUKU - from the wikipedia entry...
Shakubuku "break and subdue" (折伏) is a term that originates in the Chinese Śrīmālādevī Siṃhanāda Sūtra. Although often associated with the teachings of Nichiren, the term appears often in the SAT Daizokyo and the works of the Chinese Tiantai patriarachs Zhiyi and Zhanran. The term has historically been used to indicate the rebuttal of false teachings, and thereby break negative patterns in one's thoughts, words and deeds.

Personally, I heard the term defined first on the movie, "Gross Pointe Blank" with Minni Driver, John Cusack, Alan Arkin and Dan Akroyd. Minnie Driver's character described SHAKUBUKU thusly,"It's a swift, spiritual kick to the head that alters your reality forever."

Both of these definitions work for me, the first being the more definitive, and the second being the somewhat simplistic, hipster/millennial definition, although the line was actually recorded around 1997 when the movie came out.

Thank you all for listening.

-bitbox


OLF 2017 Report - Ahuka | 2017-10-27

Ohio LinuxFest 2017 is a Free and Open Source Software convention in Columbus, Ohio, and presents a variety of talks over the entire weekend. In this episode I tell you about my own personal experience at Ohio LinuxFest this year.

Links:


RPG Counternote - lostnbronx | 2017-10-26

I started with tabletop role-playing games just about forty years ago. Klaatu recently did a two-part episode on the merits of RPG's, and it prompted some thoughts.

KLAATU'S RPG EPISODES:


The Lost Episode Part 2 - NYbill | 2017-10-24

A follow up to “The Lost Episode”. Flashing the blank Atmega328p chip to get bring a nonworking Transistor Tester Kit to life.

There are a lot of these kits out there. Different shapes, colors, and capabilities. In my case the kit was called a: 2578AY-AT. The firmware for this particular kit is: mega328_color_kit.

    lsusb (get bus and device ID numbers.)
    sudo chmod +777 /dev/bus/usb/*bus_ID/*device_ID

    avrdude -c ‘your programmer’ -p ‘your chip’
  • In my case:
    avrdude -c usbasp -p m328p

Avrdude should communicate with the programmer and verify the chip is ready to receive instructions.

From here Avrdudess helped as I was able to use the ‘verify’ options after a write to see there was an error. Avrdudess also let me correct the error by changing the E-lock value to 0x04. Then the flash would write.

Remember to write the hex file first and the eep file second as hex would over write a eep file if it was written first.


Putting Ends onto CAT6 Ethernet Cables - Shane Shennan | 2017-10-23

This is the graphic that I used to learn how to feed the wires correctly into the plastic end piece in the right order:
https://3.bp.blogspot.com/-Sec-OmiRuDk/WOLMmb0yXJI/AAAAAAAAARE/ay3qkpPmIq4__PJc3RJoPWv9RNnxXauJQCEw/s1600/CAT6%2Bcat5%2BWiring%2BDiagram%2Bstraight%2Bthrough%2Bcable%2Bcolor%2Bcode%2Brj45%2BethernetTIA%2B568B.jpg


Open Source Gaming #1: Meridian59 - TheDUDE | 2017-10-19

Check out the game

Edited 2017-10-11T16:59:43Z (Wednesday) ken

Meridian 59

From Wikipedia, the free encyclopedia

Meridian 59 is known as the first 3D graphical massively multiplayer online role-playing game (MMORPG) and stands as one of the longest running original online role-playing games. Developed by Archetype Interactive, the team included John Hanke who later founded Niantic, Inc. and codeveloped Google Earth and Pokémon Go.

First published by the now defunct 3DO Company, the game was first launched online in an early form on December 15, 1995 and released commercially on September 27, 1996 with a flat-rate monthly subscription. Meridian 59 is currently available as open source software and is being run by original developers Andrew Kirmse and Chris Kirmse.

Links


Music Theory Hara-Kiri - TheDUDE | 2017-10-16

Yeah just want feedback on what to do with a music theory show, since I see it was on the requested lists and no one was really doing it that I've seen.


My commute into work - thelovebug | 2017-10-13

In this episode, Dave records an episode across his entire commute into work.

Hacker Public Radio episodes by me so far:

How am I recording

I'm recording this episode, in my car, on a Samsung Galaxy A5 with a Neewer lavalier microphone (as recommended by HPR's own Jon Kulp) attached to my jacket, recording using the Auphonic Edit Android app (also on iOS).

Post-recording, I also ran the audio recorded using AuphonicEdit to the Auphonic website for levelling.

My portable podcasting setup

(previously mentioned on hpr2117) and used to record Sat On My Doorstep 1 - Alex, published to Anchor on 2017-09-13)

As an aside*

Both Caroline and I use that particular microphone each to record The Bugcast each week. Both the Samson and AudioTechnica microphones have been recommended by Daniel J Lewis of The Audacity To Podcast for those podcasters who cannot afford professional level equipment.

The cars I have owned

This list may contradict the detail provided in the episode... that's because I may have made a few errors in recollection when I was recording.

Shameless plugs

I also guested on:

Drive statistics

  • From Conisbrough to New Ollerton (rough location map)
  • roughly 28 miles
  • roughly 36 minutes

Using Super Glue to create Landmarks on Keyboards - dodddummy | 2017-10-12

Using Super Glue to create Landmarks on Keyboards

AutoHotkey Master of Automation ? - operat0r | 2017-10-11


The Urban Astronomer - Dave Morriss | 2017-10-10

The Urban Astronomer

I'm interested in Astronomy and listen to a number of Astronomy podcasts. I have listed a few of these in the past when doing HPR shows about the podcast feeds I subscribe to (shows 1516, 1518 and 2339).

One of the recent additions to my podcast list that I have been listening to this year is called "The Urban Astronomer", which has a website here and a podcast feed here. The site and podcast are run by Allen Versfeld, who is based in South Africa.

To quote from the website:

Allen is an amateur astronomer, an IT professional, a podcaster, a father of five beautiful kids and a barely competent chess player. He is also the director of the Astrophotography Section of the Astronomical Society of South Africa, where he coordinates and promotes the activities of people who are far better photographers than him.

I have been enjoying Allen's episodes a lot. There are some great interviews with some very interesting people in the world of Astronomy. Allen has a relaxed interviewing style which I find appealing.

I wrote to him, commenting on one of his episodes, and I mentioned Hacker Public Radio in my email. He has subscribed to HPR and has been kind enough to mention it on a recent podcast. I'm offering you a chance to listen to one of his episodes here.

The episode is number 12 of "The Urban Astronomer", from June 16, 2017. It is an interview with Jen Millard, a first year Astronomy PhD student at Cardiff University in the UK. Jen is also a host on the "Awesome Astronomy" podcast, as mentioned in the episode.

I hope you enjoy listening to this example episode.


Information Underground: State of independence - lostnbronx | 2017-10-09

Deepgeek, Lostnbronx, and Klaatu talk about the state of independent art.


Obamacare - Ahuka | 2017-10-06

In previous episodes we set the stage by examining insurance, the marketplace, competing interests, tradeoffs, and costs. With that we can now understand what Obamacare attempted to do and give a tentative evaluation of the legislation and its effects.


The Lost Episode - NYbill | 2017-10-05

NYbill puts up a ‘Lost Episode’ recorded in October, 2016. A comment for Ep. 2369 asking if I have ever built one of the many Transistor Kits available jogged my memory. I still had the recording so, I’ll just throw it up. I’m not sure how many pics I can find for the episode. I’ll put up what I can.

And just for Mike Ray, I’ll leave in some bench noises I would usually edit out. ;)

The soldering vice being used:

https://www.amazon.com/Aven-17010-Adjustable-Circuit-Holder/dp/B00Q2TTQEE/ref=sr_1_3?ie=UTF8&qid=1505162033&sr=8-3&keywords=soldering+vise

Solder sucker:

https://www.amazon.com/Electronix-Express-060820-Solder-Desoldering/dp/B00L2HRW92/ref=sr_1_4?s=industrial&ie=UTF8&qid=1505162388&sr=1-4&keywords=solder+sucker

The kit (This looks like the one I ordered. But, it's been about a year gone by now. This one shows firmware running on the chip in the pics. You can take a gamble on it if you’d like):

http://www.ebay.com/itm/2016-DIY-GM328-Transistor-Tester-LCR-ESR-meter-PWM-Square-wave-Signal-Generator-/272234590655?epid=2013312516&hash=item3f627231bf:g:Y5oAAOSw3mpXLEvU

Pics for the episode:

http://media.gunmonkeynet.net/u/nybill/collection/2016-diy-transistor-kit/


PWGen - A password generator - Xoke | 2017-10-04

  • Download PWGen here
  • Download the 5 letter word list here

Weather, Ogg Camp, Server Room, ITO collection - JWP | 2017-10-03

A short show about the weather in Texas and Germany, Oggcamp 2017 and my Server room. I have been having trouble with my Raspberry Pi collection being too large and new in the box.


Thoughts on Lifetime Learning - b-yeezi | 2017-09-28

Thoughts on Lifetime Learning

For some of my other thoughts on this topic, consider reading this blog post.


Free Weights and a Bicycle - Frank Bell | 2017-09-26

Frank discusses his long experience with trying not to get fat by using free weights and a bicycle. Free weights are, without question, the geekiest form of exercise, having a versatility and flexibility unmatched by any alternative.

Here are some sample programs:

Sample Programs:

  • Procedure: 3 sets × 8 reps, increasing to 10 reps, then add five pounds and start over with 8 reps.

  • Exercises (* = requires bench, **= bench desirable):

    • Program One: Leg Raises,* Leg Curls,* Dumbbell Flies,** Barbell Curls, Triceps Pull-Overs, Forward and Reverse Wrist Twists (using pipe with rope to raise and lower weights)

    • Program Two: Dumbbell Lunge, Bench Press,* Bent-Over Rows, Dumbbell Kickbacks, Zottman Curls, Forward and Reverse Wrist Curls

    • Program Three: Half Squats, Bench Press, Concentration Curls, Dumbbell Kickbacks, Forward and Reverse Wrist Curls.

As stated in the podcast, Frank has not found many weight-training websites appealing. The websites tend to be for fanatic bodybuilders or for pitching products. This one, though, has a pretty good catalog of exercises: http://www.weight-training-exercises.com/. Note that the same exercise may be known by several names, depending on the speaker.

Free Weights:

Free Weights

A bicycle:

A bicycle


The Decline and Fall of Tcl - clacke | 2017-09-25

Tcl is an interesting language that does many things "wrong", especially if you're coming from a LISP perspective, and especially-especially if you're coming from a Scheme perspective. Examples are all over the C2 wiki, but probably DynamicStringsVsFunctional is the epicenter.

It also forms an important part of modern Scheme history, as the Tcl War led to the creation of Guile.

What happened after that? Where Tcl and Tk went wrong, by David N Welton

TL;DL: Tcl was successful because it found its niche as a lightweight yet capable language able to both integrate and be integrated with C code, but it fell behind on Tk look-and-feel compared to GNOME and KDE and also on other mainstream development phenomena, it ossified because it was afraid to upset its installed base, it got stuck between not-slim-enough and not-featureful-enough, the syntax is too weird, and it spiraled into losing touch with the rest of the free software world, which ultimately also affected business use.

Further notes

  • Guile (again) faces several of these same challenges.
  • Haskell tries to avoid success at all costs, in order to not lose the freedom to improve the language.
  • Python and Perl both have Tk integrations and Python's IDLE is even implemented in it. Lua had ltk, but it's no longer maintained. There is even a Tcl/Tk package for R.
  • Ousterhout pronounces it OH-stir-howt, which may or may not be how I pronounced it. I think the guttural sound may be reserved for the Dutch "G" and have nothing to do with "H".

Potential episodes

  • Fossil
  • Tcl

Healthcare Costs - Ahuka | 2017-09-22

The big driver to changing the healthcare system in the U.S. was the inexorable rise in healthcare costs. These costs kept rising for a number of reasons, which we look at at in this episode.


Slackware in Scotland - Andrew Conway | 2017-09-21

Beni aka @Navigium visited Andrew aka @mcnalu in Scotland as part of a cycling tour and they decided to record a follow up to their previous HPR show on Slackware to mark the release of Slackware 14.2, or rather the first anniversary of its release.

Some points and links mentioned are:

  • Arch is for fruitflies, Slackware for elephants?
  • Destroying a hard drive hammer or drill?
  • Grub vs Lilo?
  • Changes in Slackware - no changes an end user would notice! Pulseaudio now included as needed for bluetooth support. In Andrew's experience of 14.1 and before, only one package needed Pulseaudio, namely the game VVVVVV and even then it just wanted to see it installed, didn't need it for sound to work!
  • You can get gnome for slackware with dropline GNOME.
  • Digression: Trains in Switzerland vs Scotland
  • Beni and Andrew generally build our packages using the slackbuilds.org. There can be dependency issues but it's rare. Worst case is Pandoc with its Haskell deps but sbopkg queue files are a great help there. Beni recommends sbotools as an alternative that deals with this and feels like portsnap on FreeBSD.
  • Digression: Recommend this HPR show on open-sourcing of Colossal Cave Adventure by ClaudioM.
  • Managing WiFi networks: wicd vs NetworkManager vs rc.inet1 (slackware network config script).
  • When camping and cycling, power is precious. Beni explains how to pack a bicycle for air travel.
  • Expect Slackware in Switzerland!

The hosts wish to clarify that no Italian Arch linux users nor fruitflies were harmed during the recording of this show.


A Non Spoilery Review of "git commit murder" and "Forever Falls" by Michael Warren Lucas - FiftyOneFifty | 2017-09-19

A Non Spoilery Review of "git commit murder" and "Forever Falls" by Michael Warren Lucas

I met Michael at Kansas Linux Fest 2017 where he was a speaker. Turns out we've probably been walking past each other in the halls at Penguicon the last three years that I have attended. Michael is a BSD guy and one of us. As well as being an open source advocate, he works professionally as a systems admin and network engineer. I bought his texts "SSH Mastery" (because I've always needed help getting my head around reverse IP tunneling), "Networking for Systems Administrators", and "$ git commit murder", his latest novel. Because I was a good customer, Michael threw in "Forever Falls" for free.

"git commit murder" takes place at a BSD convention. The gathering in the novel is slightly less informal than the Linux conferences I've attended. The conference is targeted at the users, contributors, and managers of the fictional "SkyBSD". Our protagonist, Detroit native Dale Whitehead has come to Canada to deliver a talk on his mesh networking project. The conference is disrupted when attendees start to die in what appear to be unrelated accidents. Dale is unwilling to accept these deaths as accidents, and puts his analytical mind to discovering the killer. He also employees his hacking skills, having already created an admin account on the host university's server within minutes of checking in. This makes him understandably reluctant to discuss his theories with the authorities until he has positively identified a culprit.

The SkyBSD community is not without contention. A significant number of contributors want to move from Subversion to git for version control and just as many are vehemently opposed. Also, the recent release of candid photos meant to embarrass a contributor has many calling for a Code of Conduct and the banning of violators. Others think this is going too far. Dale has to contemplate whether either of these is reason for murder? Perhaps it is a struggle by an old guard who is not ready to surrender leadership to a younger generation?

At first, it was hard to get to like Michael's protagonist, Dale Whitehead. Dale suffers from an extreme form of Attention Deficit Disorder which requires medication and causes him to actively shun the company of other people. The same affliction that allows him to get "in the zone" when programming also makes being in crowds a fresh hell for Dale. He is in constant terror that some aberrant behavior on his part will reveal his condition to his companions and he finds it much easier to deal with other humans via e-mail or IRC. It's clear Michael Lucas has an understanding of the condition, either via research or contact with someone who suffers ADD.

At least one character in the story seemed to me to bear a passing resemblance to a familiar conference fixture in real life. Michael told me the sequel might be set at an open source/Sci Fi convention in a city near the great lakes. Time will tell if the Tuesday Afternoon Solaris Overview or a kilt wearing organizer will make an appearance.

"Forever Falls" is also a mystery, as well a SciFi story. Ella Forecourt is a recruit right out of college for the Montague Corporation. As a corporate security officer, she is assigned to investigate the death of a Montague research scientist at the Freefall installation. In the course of the novel, you learn that Montague has proprietary technology that allows them to "portal" into other universes or dimensions where the laws of physics are different from those of our universe. In Freefall, gravity runs parallel to the surface of the world. In other words, you don't fall down, you fall sideways, and with no ground to stop you, if you fall, you fall forever.

Montague has a research facility built into the "Cliff". With gravity travelling sideways, the surface of the planet appears as an endless cliff. "Above" the facility is a huge metal awning to deflect falling boulders. On top of the awning is where the security team discovers the body of Dr. Devin Grupper. The damage to the body suggests Dr. Grupper impacted with terminal velocity. Even in the lighter gravity of Freefall constant acceleration means terminal velocity is governed by air resistance. Montague does use airships for transport, but there are no records of how Grupper could have secured transportation and a pilot to wind up smashed on the awning without a ship going missing. Thus Security Second Ella Forecourt is assigned to the case. "Forever Falls" is but one in a series of Montague Portal novels by Michael Lucas. I look forward to reading the rest of the series.

https://www.amazon.com/Michael-Warren-Lucas/e/B001JP9NEY


Benefits of a tabletop - klaatu | 2017-09-18

Klaatu talks about the benefits of tabletop gaming over computer gaming.


sending a text message from the command line - Jezra | 2017-09-14

Notes? We don't need no stinking notes!

Edited 2017-09-08 by Ken
I beg to differ :).

This show was recorded on Audacity using a Logitech headset.

In episode hpr1892 :: my chicken coop jezra went to great lengths to protect his chickens. His system based on a BeagleBone Black ensures the door opens and closes only during the day.

In this show jezra explains how he gets the system to send him an email, and a text message using mailx and his phones providers free SMS to Email gateway.


Why Docbook? - klaatu | 2017-09-13

What's so great about Docbook, any way? Glad you asked.


A Rambling Drive Into Work - MrX | 2017-09-12

Please excuse the audio quality in the episode & feel free to skip if it's too painful on the ears. In the episode, I mainly talk about my two most recent cars as I couldn’t think of anything else to talk about off the cuff.


Competing Interests - Ahuka | 2017-09-08

The Health Care Marketplace in the U.S. has 6 major partipants: Doctors, Hospitals, Insurance Companies, Employers, Government, and Individuals. Each of them has interests and incentives, and they tend to clash. How we resolve those competing interests has consequences for the systems we create.


Docbook - klaatu | 2017-09-05

Forsake markdown now! Klaatu walks you through writing in Docbook, processing and rendering output.


Who is HortonWorks? - JWP | 2017-09-01

Just a quick show about Hortonworks and what they do.

They are the biggest contributor to the Apache Hadoop project.

https://hortonworks.com/


Little Meters - NYbill | 2017-08-31

Listen to more things clicking and beeping!

NYbill does a quick review of two more inexpensive multimeters, ANENG models AN8002 and AN8008.

Bonus noises! I recorded next to an open window on a gusty day. Oops…


Every cloude has a silver lining - mirwi | 2017-08-30

Just some rambling about HPR and that you should record a show!

The world's going down, the HPR queue is low.
Be one of the saviours, RECORD A SHOW!

Whatever topic, you are not alone.
Feel free to seek help, if you can't do on your own.

One will have to struggle, to find a friendlier crowd
with that wide range coverage from the simplest to "clouds".

From toy to high tech and from jokes to wise words.
Embracing you all. - Not just the nerds.

It's not a "service", HPR is WE!
So contribute the stuff, you'd like more of to see.

If YOU like it, others surely too will.
Diversity defines the realm, we are aiming to fill. 

Sure, there are heroes, lifting most of the weight.
But we all are the foundation, deciding HPR's fate.

Be thankful, you slackers, who leave those free slots,
for those few prolific, still filling the spots.

Please don't keep the burden on shoulders so few.
Chime in with some topic, by sharing your view.

High praise to those, stepping in a first time!
We need more of you though, to strengthen the lines. 

Like an episode? - Please let us know!
It's positive feed back, that's keeping us go.

Comment on the page or record a reply.
There's no reason for hiding or being overly shy.

It's a community effort to make the thing we love stay.
Because failing would mean, that HPR goes away.

But it takes more than bad times to make HPR disappear!
Together we stand, and we all are still here.

Bit by bit, sharing knowledge and fun,
building the confidence that HPR WILL go on. 

It's up to us, so just pick up the ball
and keep the show rolling, for the sake of us all.

How I create and post a show to HPR - MrX | 2017-08-29

Below are my original rough show notes I used to guide me along my rambling path of describing how I record a show

  • How I record a podcast

    • Start recording the show go through setting up recording level & adjusting my microphone, then do my usual introduction at the beginning.
  • How I record and post a show

    • First talk about folder structure

    • Write show notes. If I don’t know the subject well enough or perhaps want to go into some detail, Wikipedia can be very handy here.

    • Record it using cheap gaming headset with boom microphone, about 2 minutes into my show I give a demonstration of a badly placed microphone. I fully expected this to produce a lot of wind noise in the recording, this unfortunately didn't happen, the boom microphone I'm using is obviously much less susceptible to this than my previous microphone. Still it's always advisable to never place your microphone directly in front of your mouth. I tend to put mine at about chin level while making sure my chin never actually touches it.

    • Record it by pushing the record button and talking

    • Listen to it once or twice I tend to remove any bad stutters large silences, mistakes and some ums and ah’s.

    • Add my own theme music to the beginning of the track (Explain)

    • Intro and outro not required as HPR add this

    • Highlight track with voice on it and select compression

    • Write up show notes using LibreOffice writer while listening to show one more time.

    • Export track in flac format, don’t add any information when exporting such as artist title etc as this is added later by HPR

    • Go to the HPR calendar page pick a free slot

    • HPR will send you a time limited link via email

    • Click on link to open the upload page for your show

    • Fill in the required details from the show notes prepared in LibreOffice writer

    • Browse to final flac show

    • Submit show, job done

Just a little note if all this seems a bit complicated it doesn't have to be, this is how I normally produce a show you could instead just hit record on your recording device. Record it in just about any audio format, click on the free slot link on the HPR calendar page and upload the show without any show notes, HPR will do the rest.


Rolling out a radio-based internet service in rural England - Beeza | 2017-08-25

In the UK there is a lot of competition in the telecoms business but, in reality, most of the players rely on infrastructure owned and operated by one company - BT.

Urban customers benefit greatly from this competition and probably have the cheapest telecom services in Europe as a result. The emphasis of the providers is, understandably, areas of high population concentrations. The problem is that nowadays a lot of people living in rural areas need fast and reliable internet connections to do their jobs and run their businesses.

What do you do when you live in a remote area and the major internet providers have no plans to roll fast connections out to where you live?

In this episode Beeza describes how he found a solution and managed to get it implemented.


Managing Your Android with AirDroid - Frank Bell | 2017-08-24

Frank Bell talks about the Android app, AirDroid, a utility for managing your Android phone via your browser. You can use it to transfer files back and forth between your phone and a computer, edit your contacts, control your camera, and much more.

Website: https://www.airdroid.com/

Some screenshots:

AirDroid "Accept Connection" Screen:
http://pineviewfarm.net/weblog/wp-content/uploads/2017/08/AirDroid_Accept.jpg

"AirDroid Devices" Screen:
http://pineviewfarm.net/weblog/wp-content/uploads/2017/08/AirDroid_Devices.jpg

AirDroid Browser Interface:
http://pineviewfarm.net/weblog/wp-content/uploads/2017/08/AirDroid_file_view.jpg


Cancelling my TV licence - Dave Morriss | 2017-08-23

Cancelling my TV licence

I get a letter

In July 2017 I received a letter from the TV Licensing organisation telling me they'd be taking £147 from my account on the 1st of August. I had set up a "Direct Debit" arrangement with my bank many years before which allowed them to do this, and had forgotten all about it.

When my kids were small, and later in their teens, a lot of TV was watched in my house. We used to watch all the over the air channels, and when things started to move towards digital in the UK I bought a PVR (aka DVR) which converted the Freeview channels into a signal for my analogue TV, and also recorded stuff on demand.

I watched some TV after I retired in 2009, but by 2013 with my kids having left home (to all intents and purposes), and the quality of what was available having fallen to a record low, I stopped.

When this letter arrived I realised I'd been paying for this licence to watch TV for several years without using it.

I throw out my TV

The old analogue, CRT TV sitting in the corner of my room (and the associated Freeview PVR) had not been turned on for 4 years, so it was time for them to go. So I took my TV to the recycling centre with the help of my son. The PVR will be hacked for useful components.

I cancel my licence

Next step was to stop paying this annual licence. The letter told me what to do. I discovered I fulfilled all the requirements listed there:

  • I never watch or record programmes as they are being shown on TV
  • I never download or watch BBC programmes on demand
  • I don't do this on a TV, desktop computer, laptop, mobile phone, tablet, games console, digital box or DVD/VHS recorder.

I called the number on the back of the letter and cancelled.

The guy I spoke to said I'd get a letter of confirmation soon. I asked if they'd cancel the Direct Debit or whether I should. He advised me to cancel myself, so I did it immediately.

I get my confirmation letter

A number of days later I received a letter entitled (rather oddly) "Your No Licence Needed confirmation". It told me my no licence was valid from July 2017 and expired July 2019.

The letter did point out that I might receive a visit to "confirm that a licence isn't needed".

A friendly leaflet accompanying the letter contained the question and answer:

Can I be prosecuted for watching BBC programmes on BBC iPlayer without a licence?

Yes. From 1 September 2016, you risk prosecution and a fine of up to £1,000 plus any legal costs and/or compensation you may be ordered to pay.

I get an urgent letter from TV Licensing

On the 12th August I received a letter from TV Licensing which asked me to call them urgently because my bank had declined a Direct Debit payment request.

I called on the 14th August and was told that this was a mistake and the letter could be ignored.

However, to get this answer I had to navigate 4 menus and give my details to a robot. Of course the person I eventually contacted asked for the details all over again! This made me wonder if the robot is there for any purpose other than to be a deterrent to callers. The same goes for the 4 menus.

I get a phone call from TV Licensing

On 17th August I found a message on my answering machine asking me to call TV Licensing. I did so, and navigated the 4 menus again. This time the robot asked for my licence number, but since I reasoned I didn't have one I gave it the reference number of my no licence. That didn't work.

It then asked for my postcode, street name, house number and payment details. It confirmed the address stuff but when I said I didn't pay for a licence it passed me to a human.

The lady I was speaking to then asked for my name, address, postcode, etc. I asked why I was being asked for this again having just given it to a robot. Apparently these weren't passed through because I "failed" to answer all the questions properly. That's odd because the same happened last time when I got the questions "right"!

This time it turned out that the problem was that my no licence had been cancelled. No reason was given.

I asked why, if a thing I had carefully set up with the expectation of it remaining in place for 2 years had been cancelled, I hadn't been notified. I didn't get an answer.

Conclusion

It seems that TV Licensing has one of the worst systems for managing its "customers" on the planet. I told the representative that this was my opinion while I was on the phone.

I'm wondering what's next in the saga. Will it be the "heavies" at the door (I'm not obliged to let them in without a warrant, I discovered), a legendary TV Detector van outside my house (I'd like to see one and take a picture of it), another spurious money demand or unexplained loss of my details?

However, although it has been bad, this story did give me something to write and talk about for HPR so it's not all bad!


Raspbian X86 on Lenovo x61s - Tony Hughes AKA TonyH1212 | 2017-08-22

This show is about putting the new Raspbian image onto one of the Lenovo x61s laptops that I have previously talked about.

These laptops do not have a DVD drive so normally I would create a boot flash drive using USB image writer in Linux Mint, but I had received a DVD of Raspbian with the MagPi magazine so I connected a portable USB DVD drive that I have and used the disc to install to the laptop.

On booting to the DVD drive you get several options including a live session with persistence (this allows the saving of data and system changes to a flash drive during the session if wanted), but the option I chose was to install to hard drive.

This gives a simplified Debian installer and for new users with no previous experience of installing Linux it recommends one of the options at each stage. The only issue I had was at the stage it asks where to install Grub it does not automatically highlight the main drive (Sda) a small gripe but for a newcomer it could confuse.

That said the install went flawlessly and upon first boot I was left with the PIXEL desktop with the task bar at the top of the screen and a short cut for the recycle bin. The boot time on this laptop with a Core2Duo 4Gig Ram and 120Gig SSD was about 30 seconds which is good also it was only using 87mb of the available RAM on start up, this shows the credentials of an OS built to run on the original 256mb Pi.

First job is to navigate to Raspberry config from the menu bar by going to:

Open Menu > Preferences > Raspberry Pi Configuration.

From here you have a number of options but the important one is to change the default password from raspberry to something a little more secure.   After this I connected the Laptop to my WiFi network which is flawless on the x61s as it is an Intel WiFi card, I can't comment on other cards here.

The next task that I did was to run the terminal commands 'sudo apt update' & 'sudo apt upgrade'. This will result in an updated system with all the security fixes installed and any package upgrades that are available.

The one thing I was not happy about is that Raspbian allows 'sudo' access for terminal commands without requesting a password by default, this can be fixed if you feel this is a major issue depending on what you are using the device for.

https://raspberrypi.stackexchange.com/questions/7133/how-to-change-user-pi-sudo-permissions-how-to-add-other-accounts-with-different  

After completing the upgrade I decided to add the 'Synaptic' package manager to the install as this makes finding software a little easier if you not sure exactly what you're looking for. This is as simple as 'sudo apt install synaptic' in the terminal and once installed you'll find a link to it under preferences in the menu.

One thing that I found that did not work out of the box was Audio, I had to install some Alsa packages and audacity to collect the needed dependencies for the audio to work. So I installed Alsa player, Alsa mixer GUI and Audacity and after this and a reboot miraculously audio now worked.

Also there was not battery monitor installed so I installed Batmon so that I could check the battery status of the laptop.   On the whole given that Raspbian has been built to be compatible with all iterations of the Raspberry Pi board the software installed by default while minimal includes all the basics for web use - Chromium, email - Claws and office work - Open Office suit, along side all the Pi favourites such as Scratch (including Scratch 2) and Python programming tools.   Would I use Raspbian x86 as a daily driver, with a few tweaks, I might, particularly on an older PC/Laptop. I need to try it on an old Atom Net Book to see if it will work well on a really low specified system but a Pentium 4 with a couple of gig of RAM should work reasonably well as a development and homework PC for a school student so could extend the life of an old machine you may have kicking around. But a Core2Duo is definitely a goer, even with a basic 1Gig of Ram it should work quite well and 2Gig or better no issues at all.

There is a link to the iso download via HTTP or torrent here:

http://www.zdnet.com/article/raspbian-gnulinux-new-release-includes-installable-x86-image/


Tradeoffs in the US Health Care System - Ahuka | 2017-08-18

Health care is a service, and like all services it needs to be paid for one way or another. This means making choices, and there are consequences and implications to whichever choice you make. But there is no free lunch, you have to pay.


Android ROM and PAIN - operat0r | 2017-08-17

http://www.nirsoft.net/utils/usb_devices_view.html

https://forum.xda-developers.com

https://www.bignox.com/


Amateur radio round table #2 - Various Hosts | 2017-08-16

This time only the two of us:

  • Steve, KD0IJP
  • Michael, DL4MGM

A lot of off the cuff technical explanation.

Starting from the comment by David Whitman to the last round table, we talk about frequency, wave length, propagation velocity and their relations. https://en.wikipedia.org/wiki/Wavelength. Approximate wave length values are commonly used to reference to entire "frequency bands", which are the frequency spectrum portions allocated to a certain radio service in proximity. Status of (amateur) frequency allocation may vary with band or country. They may not be "exclusive" and there can be "primary" and "secondary" radio services sharing that spectrum. Secondary services must not interfere with primary ones, while the other way round has to be accepted.

What frequency is most powerful? - It depends! We ramble a bit how different frequencies have different propagation depending on certain factors like daytime, time of year, sun spot cycle. - Please help out with more in depth information here! Join us. There is a varying maximum and a minimum useable frequency for ionospheric propagation. https://en.wikipedia.org/wiki/Maximum_usable_frequency

VHF (globally > 30MHz) and UHF (> 300 MHz) waves have a more line of sight propagation. Steve shortly introduces the concept of repeater stations. Usually at an exposed location, a repeater retransmits the signal that is received at another frequency, thus extending communication range. Participants only need to reach the repeater in order to be able communicate with each other. We hint at additional propagation modes for VHF, like sporadic E-layer propagation, but are not able to go into detail. - Please tell us, if you have experience in those fields!

Some thoughts about RF output power and how it is less important if conditions are right.

Modulation: Putting "information" onto a radio frequency signal. Staring out as a clean "carrier wave", its parameters are modified according to the modulation scheme. We start out and explain the basic concepts of amplitude modulation, AM, where the amplitude of the radio wave is altered by the modulating signal. Then frequency modulation, FM, where the modulation process influences frequency of the output signal. We use voice audio as an example as modulation content, but this can of course be of digital nature. SSB, single side band modulation. It is the standard voice modulation mode for short wave amateur communication. We give a very brief explanation of one possible way of generating it. We discuss how it is more efficient than AM in regard to occupied frequency spectrum use and transmit power.

This leads to ideas how great it would be if someone could record a show about those things, including audio examples. We further digress in how it may be a good idea to single out individual topics separate shows. The "rabbit holes" (tm MrX I think) we fall in while explaining other stuff. Make them available to be simply referenced in later shows and we can concentrate on the topic at hand.

There will be a place to put ideas and draw inspiration for shows here: https://etherpad.net/p/HPR-HAM-TOPICS

Next we pick up the discussion of frequency shift caused by the Doppler effect and its effect on satellite operation. This was triggered by a question in "hpr2216 :: Working AO-85 with my son" (http://hackerpublicradio.org/eps.php?id=2216). https://en.wikipedia.org/wiki/Doppler_effect

We ramble a bit how in the wide field of amateur radio no one can know everything right from the beginning. Take the jump start provided by the knowledge required for the test and go on with learning by doing.

How cool would it be to have shows from "Ham fests" like the "Dayton Hamvention", the "HAM RADIO" or any other event. A brief mention of the "ARRL Fieldday".

We have a mini poll and want to get feed back from the audience, if they would be interested to have some sort of decoding riddle in future shows.


Air Soft Mini Howto - operat0r | 2017-08-15

http://airsoftjunkiez.com

get off the computer !


Safely enabling ssh in the default Raspbian Image - Ken Fallon | 2017-08-14

In this post I will show you how to take a default Raspbian Image and safely enable ssh by allowing remote access only with authorized keys.

Recently, and correctly, the official Rasbian Pixel distribution disabled ssh with the note that from now on SSH will be disabled by default on our images.To understand why this is a good thing please read A security update for raspbian pixel. In short, having 11 million computers out there in the hands of non security professionals, with a known username and password, is not a good idea.

That said there are many cases where you want to access your Pi remotely, and a key part of that is the ability to access it securely via ssh.

The Raspberry Pi site offers a solution for how to reactivate ssh. One option is via the GUI, Preferences > Interfaces> SSHEnabled. Another is via the console sudo raspi-config > Interfacing Options > SSHYes > Ok > Finish. The third offers a more interesting option.

For headless setup, SSH can be enabled by placing a file named ssh, without any extension, onto the boot partition of the SD card. When the Pi boots, it looks for the ssh file. If it is found, SSH is enabled, and the file is deleted. The content of the file does not matter: it could contain text, or nothing at all.

This is exactly what we want. Normally you would burn the image, then boot it in a Pi with a keyboard, screen and mouse attached, and then add the file. A shortcut to that would be to burn the image, eject it, insert it again, mount the sdcard boot partition, and then create a file called ssh.

I don’t like either of these solutions as they involve varying amounts of user intervention. I want a solution that will automatically leave me with a modified image at the end without any intervention (aka human error) on my part.

So I want to build a script that can handle the following steps:

  • Download the latest image zip file
  • Verify it is valid
  • Extract the image itself
  • Enable ssh
  • Change the default passwords for the root and pi user
  • Secure the ssh server on the Pi

I could add to this list and customize every aspect of the image, but my experience has shown that the more you modify, the more maintenance you will need to do. When changes are made to the base Rasbian image, you will need to fix your scripts, and worse is the job of updating all those already deployed Pi’s.

A better approach is to use the base images and control them with automation tools like Ansible, chef, puppet, cfengine, etc. This allows the images to be treated as Cattle rather than Pets, to see what that means see Architectures for open and scalable clouds, by Randy Bias, VP Technology at EMC, Director at OpenStack Foundation.

Another approach to consider would be to Network Boot your Raspberry Pi and in that way the sdcard is barely used, and all traffic is run off the network. If you are deploying a lot of pi’s in a area with a good physical network then this is a great option as well. This has the advantage that all the files are kept on the network and can be completely controlled from a central location.

If you can’t be bothered to stick around and find out how I did it, you can download the script fix-ssh-on-pi.bash. Remember that it is intended more as inspiration rather than a working tool out of the box. I deliberately wrote it so you must edit it to make it fit your needs.

See the complete show notes for the step by step instructions that lead to the creation of the script file, with credit been given to the sites that offered each part of the solution.


Wii and WiiU Software Modding - operat0r | 2017-08-11

https://wiiu.guide/ A complete guide to Wii U custom firmware, from stock to Coldboot Haxchi.


Night Sounds in Rural Tennessee - Jon Kulp | 2017-08-10

Upon arriving at my parents' house tonight, I was struck anew by the incredible sounds of wildlife where they live in the woods. I decided to record and share with the HPR audience.


RoboThermometer - Epicanis | 2017-08-09

Sorry this is such a short episode. I don't know what came over me, I was just listening to Mr.X talking about doing something with Python in Hacker Public Radio episode 2340, and for some reason I just felt a compulsion to record some kind of episode myself. It was so strange. I'm way behind on my Hacker Public Radio contribution duties anyway, so here's a quick, geeky tutorial about a thing I did with a Raspberry Pi just to try it.

The temperature sensor I'm using is one of the many "1-wire" protocol devices supported by established kernel drivers, hence the reference to loading the modules for it:

sudo modprobe w1-gpio
sudo modprobe w1-therm

The part about adding "dtoverlay=w1-gpio" to /boot/config.txt and then rebooting is also necessary, otherwise the modules load but no devices show up in /sys/bus/w1/devices/ .

Part of the fun was coming up with a way of extracting the temperature reading in useful form without having to write a bunch of unnecessary python code. Not that there's anything wrong with python, but I get the impression that some people think everything "RaspberryPi" has to be written in python. An example of this that amused me is the piFM project, which cleverly abuses the first-generation Raspberry Pi spread-spectrum circuitry to turn it into a surprisingly powerful FM radio transmitter. This project had two ways to run it - the actual compiled C program that takes input audio and makes FM radio come out...and a python "module" that was literally just a system call that...ran the C program that takes the audio and makes FM radio come out.

Examples of reading the temperature data that I ran into tended to also be short python scripts, so I took it as a challenge to do without, resulting in the fun-to-recite command in the episode, which on my system is:

echo "scale=3; (`grep -o "[[:digit:]]\{5\}" /sys/bus/w1/devices/28-05167380f6ff/w1_slave`/(5000/9))+32" | bc

As an example of what you get with a correctly connected and configured DS18B20 module on a Raspberry Pi, in my case the device shows up as:

/sys/bus/w1/devices/28-05167380f6ff/

Your device's number after the "28-" will be different, so just replace my example with your own device's number.

If you read the "w1_slave" virtual-file in that directory, you get something that looks similar to this:

67 01 4b 46 7f ff 0c 10 c4 : crc=c4 YES
67 01 4b 46 7f ff 0c 10 c4 t=22437

To be completely proper, one probably should validate that output to make sure the CRC matches so you know for sure that the read of the temperature data was correct, but I've had Zabbix checking my living-room temperature once every minute for a couple of days now and seen no odd readings or failures, so I'm not going to bother making anything more complicated than my hypnotic one-liner, unless I ever try to use the same kind of setup to monitor something more important, like a tank of expensive fish or a bioreactor full of beer.

If you want some more detailed connection instructions for the DS18B20 temperature sensor and the Raspberry Pi, here is one of the many online pages with the whole process:

https://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing/hardware


Ahuka Insurance - Understanding The Marketplace - Ahuka | 2017-08-04

In the U.S., health care, like most things, is driven by a private marketplace. We take a look at the principles that govern this marketplace in this episode.


An Intro to Apache Hadoop - JWP | 2017-08-01


Fixing a toilet roll holder - Ken Fallon | 2017-07-28

In this episode Ken discusses how a simple "life hack", turned a source of frustration, into an engineering problem with a simple solution.

Toilet roll holder without roll in place

Toilet roll holder with roll in place


Healthcare in the Netherlands - Ken Fallon | 2017-07-26

In show hpr2325 Ahuka describes how Health Insurance and How It Works.

In this episode Ken reads the current state of Healthcare in the Netherlands by reading the Wikipedia entry.

Links


Wherein our hero fails to repair a garage door. - Christopher M. Hobbs | 2017-07-25

My garage door failed spectacularly for a second time. I make an attempt to repair it but find that my extension cables are a bit too short. I hope I can explain a little about how garage doors work along the way.


Tracking the HPR queue in Python - MrX | 2017-07-21

In this episode I explain how I use python to track the number of shows in the HPR queue and then turn on a blinkstick to indicate the size of the queue.

Python code included below

#!/usr/bin/env python3

### This is a scratchpad file I've created to try out snippets of code in python

# The script below is for use with Python 3
# This script should work out of the box on most systems running a version of Python 3 
# If you happen to have a blinkstick lying about then your can uncomment the blinkstick module
# and uncomment the references at the bottom of the program that call the blinkstick functions
# Regards, Mr X


# Imported modules
from time import sleep          # used to pause program
#from blinkstick import blinkstick  # used to control blinkstick nano attached to usb port of raspberry pi
import urllib.request           # used to capture hpr webpage content to get the number of HPR shows in the que
import re               # regular expressions, used to find sting in HPR webpage (get_hpr_que)


# These functions control a blink stick nano attached to my raspberry pi USB port #################
# They can be ignored or deleted if you don't have one


def bstick_off():
# Search for all attached blinksticks and turn them all off
    for bstick in blinkstick.find_all():
        bstick.turn_off()   # Turn front blinkstick LED off
        bstick.set_color(channel=0, index=1, name="black")  # Turn rear blinkstick led off
        print("Blinkstick: " + bstick.get_serial() + " turned off")


def bstick_on(colour):
# Turn blinkstick on and set led colour to string value stored in var colour
# valid colours are, black, silver, gray, white, maroon, red, purple, fuchsia, green, lime, olive, yellow, navy, blue, teal, aqua
    for bstick in blinkstick.find_all():
        bstick.set_max_rgb_value(30)        # Sets max blinkstick RGB value to 15, makes LED dimm
        bstick.set_color(name=colour)       # Turn blinkstick on, var colour determines colour
        print ("Blinkstick: " + bstick.get_serial() + " | Colour: " + bstick.get_color(color_format="hex") + " [" + colour + "]")
#hex

def bstick_on_random():
# Turn blinkstick on colour random
    for bstick in blinkstick.find_all():
        bstick.set_random_color()
        print ("Blinkstick: " + bstick.get_serial() + " | Colour: " + bstick.get_color(color_format="hex"))


def bstick_blink_red():
# Flash blinkstick colour red
    for bstick in blinkstick.find_all():
        bstick.blink(name="red")
        print ("Blinkstick: " + bstick.get_serial() + " | Colour: " + bstick.get_color(color_format="hex"))

################################################################################


def get_hpr_que():
# Goto hacker public radio calendar page and extract the number of shows in the queue
# then return the number of shows as an integer
# also turns on blinkstick LED and sends number of HPR shows in the que to the display

    url = 'http://hackerpublicradio.org/calendar.php'   # HPR url for calendar page
    try:
        html_content = urllib.request.urlopen(url).read()   # Try to read hpr calendar page
    except:
        print("ERROR: Problem acessing url " + url)     # if error accessing url then return -1
        hpr_shows = -1
        return hpr_shows
    html_page = str(html_content)   # convert to string
    line_begin = html_page.find('There are only <strong>') # find position of string in html page
    line_end = line_begin + 70 # Store line end position (start position + 70)
    line = html_page[line_begin:line_end]  # Capture string line
    #print(line) # DEBUG Print line string
    digit = re.findall(r'\d+',line)         # Find digits in line
    #print(digit[0])    # print the 1st digit
    try:
        hpr_shows = int(digit[0])   # convert digit list to integer days
    except:                         # If show numbers not found then return -1
        print("ERROR: Problem getting number of HPR shows in que.")
        hpr_shows = -1
        return hpr_shows
    #print(hpr_shows) # DEBUG
    #return hpr_shows
    if hpr_shows > 9:       # If hpr show que > 9 turn on green LED
        print("Turn on green blinkstick LED")
        #bstick_on("green")
    elif hpr_shows > 5:     # Else if hpr show que > 5 turn on blue LED
        print("Turn on blue blinkstick LED")
        #bstick_on("blue")
    elif hpr_shows > -1:    # Else if hpr show que > -1 turn on ref LED
        print("Turn on red blinkstick LED")     
        #bstick_on("red")
    else:
        print("Flash red blinkstick LED")
        #bstick_blink_red() # Else blink LED to show error
    print("The are " + str(hpr_shows) + " shows in the HPR que...")
    sleep(4)
    print("Turn off all blinkstick LED's")
    #bstick_off()           # Turn blinkstick off


# Main program
get_hpr_que()

Binaural recording 2 off to work - Quvmoh | 2017-07-19

This is a follow up to show 0785 where I explained how and why I was recording 3d sound using my home made Binaural head phones, this episode is a standard morning commute waiting for Phantom Hawk to pick me up in his big yellow bus, enjoy.


The Kobo Aura eReader - Jon Kulp | 2017-07-18

I recently acquired a refurbished Kobo Aura e-book reader. This episode is a brief review.

Links


Our Adventure Begins! - Claudio Miranda | 2017-07-13

In this HPR episode, I discuss the open-sourcing of Colossal Cave Adventure (a text adventure computer game), my childhood exposure to text adventure games, and passing along the text adventure torch to my middle son thanks to the "bsdgames" package.

Opening sound clip taken from "The Hobbit: An Unexpected Journey." Closing song is "The Free Software Song" performed by Mark Forry, Yvette Osborne, Ron Fox, Steve Finney, Bill Cope, Kip McAtee, Ernie Provencher, Dan Auvil (http://www.gnu.org/music/free-software-song.en.html).

E-mail: claudio@linuxbasement.com
IRC: ClaudioM on irc.freenode.net, #oggcastplanet


VirtualenvWrapper for Fish Shell - b-yeezi | 2017-07-12

In this episode, talk about how I created my own virtualenvwrapper-like interface using Fish Shell.

Fish Shell is "a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. It excels in tab completion and ease of use, but virtualenvwrapper does not support it.

Virtualenvwrapper, like the name suggests, is a wrapper around python's virtualenv functionality, which allows you to use different versions of python packages in separate environments. To learn more, listen to BJB's show called A bit of background on virtualenvwrapper.

Functions and aliases in my fish config file:

# Set virtual directory root
export set WORKON_HOME=$HOME/Envs

# List virtual environments
alias lsenvs="ls -m $WORKON_HOME | sed 's/\///g'"

# Create python2 virtual environment
function -d "Like virtualenvwrapper for python2" mkvirtualenv2
    virtualenv -p python2 $WORKON_HOME/$argv;
    and source $WORKON_HOME/$argv/bin/activate.fish;
    and echo "Virtual environment created."
end

# Create python3 virtual environment
function -d "Like virtualenvwrapper" mkvirtualenv
    virtualenv -p python3 $WORKON_HOME/$argv;
    and source $WORKON_HOME/$argv/bin/activate.fish;
    and echo "Virtual environment created."
end

# Source a virtual environment
function workon
    source $WORKON_HOME/$argv/bin/activate.fish; and echo "Switch to virtual environment."
end

# Delete a virtual environment
function -d "Like virtualenvwrapper" rmvirtualenv
    if test -n "$VIRTUAL_ENV"
        deactivate
    end
    rm -rf $WORKON_HOME/$argv; and echo "Virtual environment deleted."
end

Installing DD-WRT on ASUS RT-N66U - Ironic Sodium | 2017-07-11

Notes

  • This worked for me, but it’s no guarantee it’ll work for you
  • It’s been a couple weeks and I’m doing this from memory with the help of the resources I used, so I may have missed or misremembered a step
  • Read the relevant documentation for yourself
  • DO NOT use the router database to determine the firmware version to use

Resetting and Clearing

  • Recovery Mode (use Reset Button):
    • With router unplugged, press reset button
    • Plug in power
    • Hold reset button for ~10 seconds until the power LED is blinking slowly
  • Clear the NVRAM (use WPS Button):
    • With router unplugged, press WPS button
    • Plug in power
    • Hold WPS button for ~10 seconds
    • Note: NVRAM is where the settings for the router are stored
  • 30-30-30 Reset
    • Push reset button with the router powered on for 30 seconds
    • Pull the power cord for 30 seconds while holding the reset button
    • Plug the power cord in for 30 seconds, while holding the reset button

Upload via Web GUI

  • Tried using the Web GUI method, but ASUS firmware checks to see if it’s an official version (i.e. signed by ASUS), and will only install it if it is
  • DD-WRT isn’t an official version, obviously, but not all is lost, uploading via recovery utility works

Upload via Recovery Utility

  • Download router firmware: dd-wrt.v24-26138_NEWD-2_K3.x-big-RT-N6UU.trx
    • big version includes more tools than mega version
  • Make the following network config information on the computer you’ll upload the firmware from:
    • IP = 192.168.1.12
    • Subnet = 255.255.255.0
    • Default Gateway = 192.168.1.1
  • Perform 30-30-30 Reset
  • Perform Clear NVRAM
  • Perform Recovery Mode
  • Navigate to 192.168.1.1 and follow screen directions to upload DD-WRT firmware
  • It may take up to 10 minutes to reboot (don’t think it took that long, but I waited that long)
  • Perform Recovery Mode
  • Navigate to 192.168.1.1 and select Reset NVRAM
  • Navigate to http://192.168.1.1/do.htm?cmd=nvram+commit, and then select reboot and wait ~10 minutes
  • Perform 30-30-30 Reset
  • Navigating to 192.168.1.1 should now bring you to your new DD-WRT installation
    • Remember to secure it
  • Note: installing mini version (referenced in online directions) isn’t necessary prior to installing the big/mega version

Resources


Building a Digital Clock Kit - Dave Morriss | 2017-07-06

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.


A Texan's view on Why only a Native Born person can be President - JWP | 2017-07-04

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.


Insurance - How It Works - Ahuka | 2017-06-30

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.


Opensusecon 2017 and Ubuntu 16.04 - JWP | 2017-06-29

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.


How to Configure Mumble in Real Time - Thaj Sara | 2017-06-28

Links relevant to the show:


A bit of background on virtualenvwrapper - bjb | 2017-06-27

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.

You can view all the currently defined variables that have been marked for export by using the "env" command with no arguments. E N V - echo november victor. Or, env, short for environment.

Since these variables are passed down the generations from parent to child, it is usually sufficient to define it once at the top level.

The command line itself is a program called bash. It reads some files at startup.

As an example of the "generations", you can call bash from within bash. And you can call bash again from within that bash. Then the first bash is the parent of the second one, and the second one is the parent of the third. The third bash is the child of the second.

You can see the environment changing: Set a variable fred=one in the first shell and export it:

export fred=one

then run bash. In that bash you can echo $fred, and see that fred is one. Now you can change fred to two:

export fred=two

and run the third bash. In the third bash, you can see that fred is two:

echo $fred

now exit bash with the exit command.

If you echo $fred, you will see fred is still two, since we set it to two just before we ran the third bash. But if you exit again, you will be back to the first bash, and you will see that fred is now one. This is the environment that bash had, just before you launched the second bash. The second and third environments are gone - those processes terminated when the exit command was given on their prompts; and when they did, their environments were cleaned up and removed.

In the show notes, I have another exercise to help with understanding this environment thing.

Here's another exercise to illustrate this principle. Type bash and
enter, and you will be in a subshell. If you show a process listing
in a hierarchical format, with children indented from their parents,
you will see that the bash you are currently in is a child of
another bash. The command to see the list of running processes in
hierarchical format is:

    ps -efH

There are several bash processes. In order to pick out the bash
instance that I'm running, I look for the ps process, because it has
a uniqe string in the arguments: -efH. In the less session, search
for 'efH' by typing "/efH". The screen will jump to where the
ps -efH process is, and highlight the "efH" string that you searched
for. The line you searched for will be at the top of the display
... to see the few lines above, type "kkkk" (one k for each line to
move up). To exit from less, type q.

Go ahead and export another made-up variable - perhaps your street name:

   export CHESTNUT=rizwan

Make sure it is there with the env command:

   env | grep CHESTNUT

and then run another subshell, and search for it again:

   bash
   env | grep CHESTNUT

Exit the various shells with the "exit" command or by typing ^D. If
you exit the subshell, and the shell in which you created the
CHESTNUT environment variable, you can run the env command and
search for that environment variable - it will not be there. The
program in which the environment variable was created has terminated,
and its environment has been discarded.

bash startup files

When bash is a login shell, it reads ~/.bash_profile. When it is not a login shell, but some subshell of the login shell, it reads ~/.bashrc.

So for things that you only need to set once, you can put them in ~/.bash_profile. For things that you have to run for each new subshell, you put them in .bashrc.

(Note that most distributions will set up the user accounts so they will run ~/.bashrc from .bash_profile for interactive shells)

the PATH

This is important, because of two things. The first is the PATH. The PATH is one of the environment variables that is used by the system to look for executables. So if you want to run a program, it should be in one of the directories on the PATH, or you will have to specify the full path to the program when running it.

When you first get your account on a system, there is a default version of the .bashrc and .bash_profile files. In .bash_profile there should be a definition of the PATH. It contains the system directories like /usr/bin and /bin - you don't want to remove those from your path or your shell will become next to useless - you will have to use full paths for all commands. So the way that people add directories to the PATH is to assign the existing value of PATH to itself, plus the desired new directories. For example:

PATH=$PATH:/home/bjb/bin

But if you put this in .bashrc, then every subshell will have another copy of the directory /home/bjb/bin tacked onto the end of the PATH. So the right place to put this definition is in ~/.bash_profile, where it will be executed once and then inherited by all the subshells.

shell functions and aliases

However not everything you need in the shell is inherited from the parent program. It turns out that another facility that bash supplies and that virtualenv uses is the ability to define and execute bash functions. Bash also has aliases.

A bash function is a series of bash commands that have been given a name, and that you can run by typing that name. It can also receive arguments that can influence how the function will behave. HPR episode 1757 by Dave Morriss called "Useful Bash Functions" talks about bash functions.

You can see the list of currently defined bash functions by using the bash command: declare -F

An alias is a simpler version of a function - it is (usually) just a shorter string to represent a longer or more complicated command, to make command line use easier (assuming you can remember all the aliases in the first place).

You can see the list of currently defined aliases by using the bash command: alias

virtualenvwrapper makes use of bash functions. This has consequences.

the bash builtin command 'source'

One is that you need to define those functions in every subshell. That's why you need to put "source /usr/local/bin/virtualenvwrapper.sh" in your bashrc.

Well it seems that on a Debian system virtualenvwrapper puts the workon shell function into your shell via a more convoluted route. I will describe it in the show notes. But in the end, the virtualenvwrapper file that defines the virtualenvwrapper adds the function workon to your shell by sourcing the file /etc/bash_completion.d/virtualenvwrapper whenever .bashrc is sourced. (Note that "." is shorthand for the bash "source" built-in command.) The "workon" function is defined in /etc/bash_completion.d/virtualenvwrapper (the definition is about in the middle of the file.)

- ~/.bashrc sources /etc/bash_completion or /usr/share/bash-completion/bash_completion
  (whichever one it finds first);
- which sources /usr/share/bash-completion/bash_completion;
- which sources all the files in /etc/bash_completion.d
- one of which is virtualenvwrapper.sh
- which defines the bash function workon.

Look at that, on a Debian system "apt-cache show virtualenvwrapper" does indeed list bash-completion as a dependency. The virtualenvwrapper upstream does not assume you will be using command completion, and in the comments at the top of the /etc/bash_completion.d/virtualenvwrapper file tell you to put "source .../virtualenvwrapper.sh" into your ~/.bashrc file.

A description of bash-completion could be a topic of another podcast (I'm not actually volunteering to do this one, heh, just suggesting it as a topic).

life cycle of environment

Another consequence is this: When you run a program, it will inherit a copy of the environment of its parent. When it is done, it will exit and that environment will disappear. So, you cannot run a program or subshell to try to affect your environment. It will affect the subshell or program environment, and as soon as the command is done, that updated environment will disappear.

The "source" built-in bash command is meant to allow you to run a bunch of commands in a file as if they had been typed on the command line. So you can put commands that affect the environment, and the environment will still have the changes when the sourcing is done.

back to virtualenvwrapper: conclusion

So, virtualenvwrapper is mainly changes to the environment. It consists of a few files that are stored in ~/.virtualenvs, with names like postactivate and premkvirtualenv. They are basically hooks to add functionality before and after the commands you would issue for virtualenv, so you can customize virtualenv.

To understand virtualenvwrapper, let's have a quick look at virtualenv first. The things you do with virtualenv are to create a virtualenv, destroy one, and activate one.

So the things you can do with virtualenvwrapper are to run some script or scriptlet before or after you create a virtualenv, destroy a virtualenv, or activate a virtualenv.

The main thing to customize is the "where to find the activate file" and the "what to do after activating 'postactivate'".

It does this by setting environment variables (like PATH and PYTHONHOME) appropriately and by defining bash functions to do things like change directory to where the project is.

You just have to edit .virtualenvs/postactivate to contain the location of your project files. You also define WORKON_HOME to be the directory that contains all your virtualenvs (for me that is /usr/local/pythonenv, but for most people it will be some directory in their home directory.

Summary

virtualenv manipulates the environment in order to allow you to have different python setups for your different projects - handy if you have one project that depends on different versions of python packages than another project and you want to run both.

But virtualenv leaves a few rough edges, like leaving it up to you to find the virtualenv in order to source the activate script. That is where virtualenvwrapper comes in.

We have talked about the environment, and how virtualenvwrapper manipulates the environment to make it easier to work with the virtualenvs that you have created.

The environment refers to the set of environment variables that are defined and passed to child processes. We also discussed the process hierarchy and that a new environment is created for a new process, and it is destroyed when that process exits. We covered sourcing a file of shell commands, so that if those commands affect the environment, then when the sourcing is done, the environment left is the one that was changed and the changes persist past the source command. We talked about the .bash_profile and the .bashrc files.

HPR exhortation

You've been listening to Hacker Public Radio. Anyone can make a show -if I can do it, so can you.


Living Computers: Museum + Labs - JWP | 2017-06-23

From Wikipedia:

Living Computers: Museum + Labs (LCM+L) is a computer and technology museum located in the SoDo neighborhood of Seattle, Washington. LCM+L showcases vintage computers which provide interactive sessions, either through time-sharing operating systems or single-user interfaces. This gives users a chance to actually use the computers on-line or in person in the museum. An expansion adds direct touch experiences with contemporary technologies such as virtual reality, self-driving cars, the internet of things, and robotics. This puts today's computer technology in the context of how it's being used to tackle real-world issues. LCM+L also hosts a wide range of educational programs and events in their state-of-the art classroom and lab spaces.


Minimal Music Site 17.05.39 now available on sourceforge.net - mattkingusa | 2017-06-22

Hey this is MattKingUSA doing an update of my project Minimal Music Site. And also a review of my new laptop! Thanks for listening!


Talking about my thinkpads - swift110 | 2017-06-21

https://support.lenovo.com/us/en/solutions/pd015734

https://support.lenovo.com/us/en/solutions/migr-75044


Penguicon 2017 Report - Ahuka | 2017-06-16

Penguicon 2017 is a combined technology and science fiction convention in Southfield, Michigan, a suburb of Detroit, and presents over 500 hours of programming over the entire weekend. Of this, around 100 hours are open source, tech-related. In this episode I tell you about my own personal experience at Penguicon this year.


Bad Caps - NYbill | 2017-06-15

NYbill talks about repairing a motherboard.

Errata:

Even though I go into a bit about different types of capacitors I didn't plan on this being an episode about capacitors themselves. Even though I mention some different types. Bonus, there are also Trimmer Caps.

And yes, I know LCD's don't have a trace. The old school CRT user popped out there. You all knew what I meant.

Also, I know I mentioned getting a 90 piece cap set from Banggood. I decided to order proper Nichicon replacements from Digikey. Had this been a repair for myself, I would use the no name caps I ordered from China. But, being this repair is for a friend, I figured I better get the real deal. ...BTW they were 220 uf caps.

(Thanks Jezra for the musical interlude. We were joking calling it, "Time Passing".)

Pics for the episode:


Troubleshooting Websites with XAMPP - Frank Bell | 2017-06-13

Using XAMMP To Toubleshoot a Website

XAMMP is package containing a complete LAMPP stack configured to work out of the box. It is avalable for Mac, Windows, and Linux from ApacheFriends.org and includes

  1. Apache
  2. MariaDB
  3. PHP
  4. Perl

XAMPP is excellent for testing a new website, testing updates for an existing site, or troubleshooting a misbehaving site.

In this podcast, Frank tells how to set up XAMPP against the background of having recently had to troubleshoot his own recalcitrant website.

XAMPP startup messages:

# cd /opt/lampp
# ./lampp start
Starting XAMPP for Linux 5.6.30-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.

Kdenlive Part 6 Workflow and Conclusion. - Geddes | 2017-06-09

Hello HPR listeners this is Geddes with part 6 the final article in this Kdenlive series entitled Workflow and Conclusion.

The topics included are:

  • The Gold Master
  • The render menu and the gold master
  • Encoding Workflow
  • Post production workflow
  • Conclusion

Here's the link to the original article.

https://opensource.com/life/12/1/kdenlive-part-6-workflow-and-conclusion


Everyday package operations in Guix - clacke | 2017-06-07

Back at hpr2198 :: How awesome is Guix and why will it take over the world I wrote a comment about how I use guix in everyday practice. Here's the full episode for that comment.

The most common operations I do are:

  • guix environment --ad-hoc ncdu, where ncdu stands for something I heard about and want to try out, or something I only use once a month. It is then “installed” in the spawned sub-shell only. This is an awesome feature.
    • If you haven’t heard about ncdu, look it up.
    • Also in ~/.bash_aliases
    • Also in ~/.local/share/applications
      • Using stow, of course
  • guix package -i ncdu if it turned out to be something I like and use every day
  • guix pull to get the latest definitions for this user
  • guix package -u to upgrade my permanently installed stuff for this user
  • guix package -d to erase history of what I had installed before and release these references for collection
  • guix gc to reclaim my precious disk space

  • Followup episode material:

    • What's in my .bash_aliases?
    • Decentralized source control, for real this time, with git-ssb
    • What's so great about execline?
    • What's a stow?
      • How I got rid of stow and learned to love guix to the fullest (Future episode. That's not where I am today.)
      • Listen kids, stow is not a package manager (warning: fediverse drama ahead). It's a symlink farm manager that I use for package management.
    • Very short episode: ncdu, eh?

Configuring an HP Laptop for Dual Boot Linux and Windows 10 - Mongo | 2017-06-02

This presentation describes the installation of Ubuntu GNOME 16.04 to dual boot with Windows 10 Home on an HP Spectre x360-13 laptop. Previously, I had been using Linux in a virtual machine on Windows. After the update, there was a very significant improvement in performance working in Linux without the Windows/VM overhead. It turned out to not be difficult and was certainly worth doing.

I found a lot of helpful information here: https://askubuntu.com/questions/666631

Get Clonezilla here: http://clonezilla.org/


Using Gnome 3 for the First Time - Shane Shennan | 2017-06-01

Here are the three Gnome 3 extensions I am enjoying:


Kdenlive Part 5 All About Audio - Geddes | 2017-05-31

Hello again HPR listeners this is Geddes with you again with Kdenlive part 5 All About Audio. The topics included are:

  • Audio Recording and Synchronization

  • Best Practices for a Basic Mix

  • Exporting

Here's the link to the original article. https://opensource.com/life/11/12/kdenlive-part-5-all-about-audio


The first Intel CompuStick - JWP | 2017-05-26

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.


Phantom Power Drain - brian | 2017-05-24

  1. disconnect negative battery cable.
  2. connect multimeter between battery and cable.
  3. read amp draw... 15-20 millivolts milliamps is on the high end.
  4. unplug fuses one at a time, until the problem circuit is identified.

... some lip smacking, and vocal fry.

Corrected 2017-05-27 - Editor


More Magnatune Favourites - Dave Morriss | 2017-05-23

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.


Activities with a Toddler - Shane Shennan | 2017-05-18

Here is the list I check when I am looking for something to do with my toddler. Note that these are good indoor activities.

[ ] Milk and TV
[ ] Duplo
[ ] Dollhouse
[ ] Meal preparation
[ ] Mixing bowl
[ ] Crafts or painting
[ ] Sink time
[ ] Chasing and tickling
[ ] Reading
[ ] Cat videos
[ ] Container of similar things

Arch on CELES - Hannah, of Terra, of Sol | 2017-05-15

ArchLinux on a CELES

Samsung Chromebook 3

Before begining

How-to

  1. Remove HW write-protect screw
  2. Developer mode
    • Enable Developer mode

...press, and hold the Esc + F3 (Refresh) keys – then press the Power button. This enters Recovery Mode...

...press Ctrl + D. It will ask you to confirm, then the system will revert its state and enable Developer Mode...

...press Ctrl + Alt + F2 (F2 is the "forward" arrow on the top row, →)

...Use chronos as the username...

  1. SU & FW
    • Escalate privileges. sudo -i
    • ChromeOS Firmware Utility Script
      1. Install RW_LEGACY
      2. Set GBB Flags (1 second, SeaBIOS/Legacy)
      3. Remove ChromeOS Bitmaps (To look cool)
  2. OS & Kernel
    • Install ArchLinux
    • Install yaourt
    • Install kernel with IRQ patch:
    • yaourt -G linux-galliumos-braswell&&cd !:2
    • makepkg -sifCc --skipinteg
    • Install galliumos-braswell-config:
      • yaourt -S --force galliumos-braswell-config
  3. Grub
    • Regenerate Grub configuration file
      • grub-mkconfig -o /boot/grub/grub.cfg

Extra

Sources

/etc/default/grub

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash irqpoll"
GRUB_CMDLINE_LINUX=""
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
GRUB_TERMINAL_INPUT=console
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_DISABLE_LINUX_UUID=true
GRUB_DISABLE_RECOVERY=true
GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
GRUB_SAVEDEFAULT="true"

/etc/pacman.conf

RootDir     = /
DBPath      = /var/lib/pacman/
CacheDir    = /var/cache/pacman/pkg/
LogFile     = /var/log/pacman.log
GPGDir      = /etc/pacman.d/gnupg/
HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
CleanMethod = KeepInstalled
UseDelta    = 0.7
Architecture = auto
IgnorePkg   =
IgnoreGroup =
NoUpgrade   =
NoExtract   =
UseSyslog
Color
TotalDownload
CheckSpace
VerbosePkgLists
ILoveCandy
SigLevel = PackageRequired
LocalFileSigLevel = Optional
RemoteFileSigLevel = Required
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
[arch-anywhere]
Server = http://arch-anywhere.org/repo/$arch
SigLevel = Never

lscpu

Architecture :        x86_64
Mode(s) opératoire(s) des processeurs : 32-bit, 64-bit
Boutisme :            Little Endian
Processeur(s) :       2
Liste de processeur(s) en ligne : 0,1
Thread(s) par cœur : 1
Cœur(s) par socket : 2
Socket(s) :           1
Nœud(s) NUMA :       1
Identifiant constructeur : GenuineIntel
Famille de processeur : 6
Modèle :             76
Nom de modèle :      Intel(R) Celeron(R) CPU  N3050  @ 1.60GHz
Révision :           3
Vitesse du processeur en MHz : 642.089
Vitesse maximale du processeur en MHz : 2160,0000
Vitesse minimale du processeur en MHz : 480,0000
BogoMIPS :            3200.00
Virtualisation :      VT-x
Cache L1d :           24K
Cache L1i :           32K
Cache L2 :            1024K
Nœud NUMA 0 de processeur(s) : 0,1
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch epb tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat

lspci

00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 21)
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21)
00:0b.0 Signal processing controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller (rev 21)
00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 21)
00:1b.0 Audio device: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller (rev 21)
00:1c.0 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 (rev 21)
00:1c.2 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #3 (rev 21)
00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 21)
02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)

How to change the height of your Ironing board - Ken Fallon | 2017-05-12

Tired of having back ache after Ironing

Check out this amazing episode to hear how you too can transform a dull chore into an enjoyable experience !!!!

Ironing board modification


Sendy Send. Tell if your email has been read!! - sigflup | 2017-05-11

http://ss.theadesilva.com/


Installing and using virtualenvwrapper for python - Knox | 2017-05-10

Installing Virtual env wrapper in linux

Best documentation I have found for working with virtualenvwrapper:
http://python-guide-pt-br.readthedocs.io/en/latest/dev/virtualenvs/

Assuming you have pip installed.

  1. Install virtualenv
    sudo -H pip install virtualenv
  1. Install virtualenvwrapper
    sudo -H pip install virtualenvwrapper
  1. Modify your .bashrc file to include that following lines:
    export WORKON_HOME=~/Envs
    source /usr/local/bin/virtualenvwrapper.sh
  1. Test the commands:

    • mkvirtualenv <project_name>
    • rmvirtualenv <project_name>
    • lsvirtualenv (Lists all virtual environments you have created.)

    • workon <project_name>
    • deactivate

  2. Don't use SUDO when installing inside the virtualenv


Desparately Seeking Saving RMS - Introduction - dodddummy | 2017-05-09

My start towards the RMS ideal.


Surviving a Stroke - Tony Hughes AKA TonyH1212 | 2017-05-08

First off a disclaimer: anything I say here is my experience and is in no way intended as advice to anyone, everyone who experiences or is at risk of a stroke is different and you must make your own lifestyle choices based on professional advice.

That clear lets get on with my show. On the 2nd February 2017 I had a Stroke, it came completely without warning. I was out with my wife, just about to start a Bridge class we were attending. I sat down at the table and just after sitting down was blasted with what I thought was White Noise from faulty hearing aids. After quickly removing them without any effect I thought I was having a sudden severe migraine, which I have from time to time. However I was unable to communicate what was happening and after several minutes my wife wrote on a paper the words “Home” and “Hospital” and I pointed to hospital. An Emergency ambulance was duly called and I was transferred to the local Emergency Department. Several hours later in the early hours of the next morning they admitted me, still not sure what had happened. It was only after a scan that afternoon that they concluded that I had had a Stroke.

I was seen by a consultant that evening who confirmed this and as I still had residual problems on my right side concluded that it was a stroke, and not a TIA (Transient Ischaemic Attack) or a mini stroke as it is sometimes called. I spent the next 12 days in hospital having further tests, including another scan, an MRI as opposed to the previous CT scan I had had on admission. After seeing the results of this scan the Consultant was amazed that I was not more severely affected, in other cases of the type of stroke I suffered the physical and cognitive damage is much more severe. It was looking like I had thankfully, dodged a bullet.

That is not to say there were no effects. My right side was effected and the fine motor control was damaged. Coordination in using my right hand and arm were initially difficult as was writing (I am predominantly right handed). Also my mouth felt like I was wearing someone’s false teeth, even though I have all my own. However the main effect has been fatigue, initially severe, but as I write this 6 weeks later this is starting to improve, although I still tire after 2-3 hours doing things that I could have done all day previously. I also still have a little feeling of weakness in my right hand and arm and writing is still an issue, thankfully most of my writing is done on a keyboard.

So what caused it I hear you yelling, well the truth is they don’t know. The most serious risks are to people that Drink alcohol excessively, Smoke and have a high fat diet. Also those over weight particularly the obese, and people with diabetes are high risk. Another major risk factor is genetic, and I remembered afterwards that my Grandfather and an Uncle had major strokes that ultimately led to their deaths. Also stress and high blood pressure can be a factor.

I don’t drink or smoke and have been a vegetarian for many years, also my blood pressure is checked regularly and was always seen as within normal range. However I was at the time of the stroke 21lb over weight, but even before it happened I had lost 7lb. Since the stroke the blood tests also show I am pre-diabetic so I need to increase my exercise (again something I had started to do), and alter my diet to reduce my blood sugars. Not major issues as I had started to attend a gym and walk more as part of the weight loss plan, and I actually prefer healthy food, and now have a reason to say to people when I’m in company why I eat what and the way I do.

The main effect for me has been the restriction on my mobility as the Consultant will not let me drive until 3 months post discharge (14th May), which means I have to rely on others or get public transport, this is not the problem but having to walk from transport stops to where I’m going is due to the fatigue. Roll on May 14th.

I thought I would record this show as a bit of a warning, and for listeners to realise that a Stroke can and does happen to anyone. On a positive note there is life after stroke and even for those who are more seriously disabled by a stroke many can and do recover most if not all the function they had before hand.

Further info on Stroke can be found here:

https://www.stroke.org.uk/

http://www.nhs.uk/conditions/stroke/pages/introduction.aspx


The Tick Conspiracy - TheDUDE | 2017-05-05

Reminder: This show is released in .ogg a non patent encumbered format.


Resurrecting a dead ethernet switch - mirwi | 2017-05-04

In this episode I simply let you participate with me replacing an electrolytic capacitor in the power supply of an Ethernet switch.

The broken capacitor shows a bulge in its housing and was therefore easily identifiable. The supply voltage in the fault condition could be observed with an oscilloscope to completely collapse when load is turned on. Both facts are illustrated in the image below.

Replacing the capacitor fixed the switch and brought it back in service.

Faulty capacitor


Saving money shaving with double and single edge safety razors - Dave Yates | 2017-05-03


The first Intel CompuStick sound fix with LUbuntu - JWP | 2017-04-27

https://allaboutmynonexistedworld.wordpress.com/2014/06/03/lubuntu-hdmi-sound-output/


Outernet and other projects - m1rr0r5h4d35 | 2017-04-25


First Microsoft Surface Pro Ubuntu 16.04 Dual boot - JWP | 2017-04-20

Hi. I purchased the first MS Pro on ebay after hearing of a like project on the Linux Action Show. I do a lot of traveling and I am always feeling bad about not having a something with open source on it.

So one of the best for travel is the MS surface pro.

In short it works great with Ubuntu.


Fountain Pens - m1rr0r5h4d35 | 2017-04-19

For a good basic rundown of the parts of a fountain pen, The Goulet Pen Company has a fairly decent page at: https://www.gouletpens.com/anatomy-of-a-fountain-pen

Fountain pens on Youtube:


In Which Our Hero Takes 4 Hours to Install Hyper-V Server 2012 - OnlyHalfTheTime | 2017-04-18

So we had this server.

As all servers are wont to do, this one had run successfully for a number of years. Everything worked perfectly until it didn’t.

It ran, to my knowledge, only Hyper-V Server on its system drive, and had a second set of drives for hosting the VM that ran Microsoft Deployment Toolkit to service our depot. Our depot was on its own physical network, sharing with production only an ISP demarc.

I had long since abandoned the depot and its trappings, thinking it someone else’s domain, thinking my time better spent on client systems, thinking that I didn’t need to know what happened in the oft-ignored part of our operation. I assumed that it was set up properly since it had been so stable for so many years. But you know the old saying:

When you make assumptions you make an ass out of you and muptions.

The Problem.

Our monitoring systems reports the two depot servers offline, both the hypervisor and its virtual. I sent our depot technician to take a look. They come back online and he tells me that it needed to be rebooted. Having divested myself of giving a damn about the depot, I barely found the energy to shrug.

Then it happened again. I again sent the technician and promptly got wrapped up in some client-facing issue. I forgot about the servers until:

They went offline a third time. I didn’t have to tell my depot tech; he was watching the same feed as I. He rummaged a bit and came back with a story of defeat and virtual disks not being found.

“The server won’t boot because the Virtual disk can’t be found” he said.

“Ok, so you mean the virtual won’t come up, but what about the physical?” I replied.

“No, that’s what I mean. It won’t get past BIOS. It’s complaining of a virtual drive not being found.”

“Sounds bogus, let’s look.”

He was not wrong; that is what the screen said. And what it meant was RAID failure. I slid off the front of the server case and sure enough, one of the drives had popped.

Oh, did I mention? No backups.

The Rabbit Hole.

Drives pop sometimes, ain’t no thing. We build systems to be resilient. You slap a fresh one in there and it starts re-silvering and you get on with your day. Not this time, gentle reader.

While digging through the RAID controller, I found, to my amazement, horror, and utter confusion, that whatever chucklefuck set up this server put the two system drives in a RAID 0. As I stared at the screen and at the blinking amber drive light, all that could pass my lips was a quiet “Oh my god, why?”

In this scenario, I didn’t see any way forward, but through. So far, it had been demonstrated that the bad drive would behave for about 2 hours, then throw a fit. I shut down the server and took some time to think about how to proceed. In that time, I re-discovered some of the things the virtual machine was serving.

Things like: MDT, DNS, DHCP, PXE boot, but most importantly: the lone DC for depot.local (MDT needs a domain). Oh, and it was the only machine that was set up to manage the hypervisor through the Hyper-V console and Server Manager.

GREAT.

Compounding the issue, the virtual was not stored on the separate set of RAID 1 disks in this server as I had assumed. It was stored on the system drive. Oh joy, oh rapture.

My new mission: Rescue that virtual.

The Struggle.

First things first. I assume I’ll only have one chance to rescue this data before this drive bites the dust for good. I plug in the VGA and keyboard. Take a deep breath.

I turn on the server.

It fails to boot into the operating system. “Come on, you little shit.” Take out the drive and put it back in. Success. We boot into the OS and I’m presented with a log on screen. Password.

There are no logon servers available to process your request.

Shit, that’s right. The virtual is the only DC. K, local admin it is. Login successful. Presented with a command like and SConfig. Grab the terminal and start poking about. cd to C: and dir. Find a folder named VMs. Bingo. Started copying the VHDX to the RAID 1 set.

cp “C:\vms\Hyper-V Replica\Virtual hard disks\{guid}\{guid}.vhdx” E:\

The server moves the data at a respectful 700Mbps, considering its current degraded state. It eventually finished the transfer after about 10 agonizing minutes. Shut down the physical to preserve the bad drive.

We are out of the woods, but it’s still a long way to Gramma’s house.

The King is Dead; Long Live the King.

I have a plan. Now that I have the VHDX, and since we clearly need a replica server, I’ll push my luck. I’ll build a new server and see if I can replicate the virtual. I happen to have a disused server sitting right next to the bad server. It’s admittedly dissimilar hardware, but shouldn’t be a problem. I don’t know why it’s lying dormant or what it was used for in the days of yore, but it’s mine now. Eminent domain.

And here is the story of how it took me 4 hours to install an OS that usually takes 3 minutes.

We need to load up Hyper-V 2012 on this “new” server first.

As is standard practice, I disconnect all but one drive from the mobo. I do this because sometimes the Windows installer decides that the “SYSTEM” partition belongs on a different drive from the C partition and it makes me cry. I used rufus (what a fantastic little utility, really. I need to donate to that guy) to make a HV 2012 boot disk from ISO.

You know how it takes a few times to get a USB to go into it’s slot correctly? Not me. I whipped that bad mamma-jamma like a shuriken from 30 feet away and it slid perfectly into the front of the server. Fireworks, 100 doves, the works.

Boot it, get to the installer part where it asks you upon which drive you wish to install it. Boom, error:

Setup was unable to create a new system partition or locate an existing system partition.

Weird. Sounds like a problem with the disk, right? Open up diskpart, clean it, format, create partition, assign it a letter. No go. Try a different drive? Nope. Disconnect the cd drive maybe. No dice. Connect all the drives and try each one. Nada. Boot up into Ubuntu and use GParted to re-do what I did in diskpart. Zilch. Re-create the install media. Goose egg. Try the back USB ports. I’m running out of ways to say no, but in essence, nothing was making this error go away.

Screw it. Maybe this is why this server was sitting unused? Maybe it’s a bad mobo or something and frankly, I don’t care. Part out the drives and junk it.

We happen to have a literal pile of servers to pick from, so I grab the one on top because it’s the most similar to the bad server and because you must be out your damned mind if you think I’m digging through that mound of junk. This’ll do nicely.

Remember how I said I didn’t want to have anything to do with the depot? I still don’t. I want this new server to be unkillable, may he reign for a thousand generations. So, I may have gone a little overboard with the RAID setup for one simple hypervisor, which is going to be backed up and replicated.

That there is a 1TB RAID 1 with a hotspare and a 500ish GB RAID 5 with a hotspare. I never want to hear from this server again.

OK, so we start the Windows server install and:

THE SAME ERROR.

No way. I have done this dozens of times, this is insane. I have used this exact same USB drive to do it! I can use it on an ancient spare laptop and go through the install perfectly fine. I have dug through pages of posts on forums and tried every last solution suggested except one. I find, on page 3 (!) of Google, someone say that it only failed for them when they used a USB 3.0 drive to install. I look at the end of my USB install media, see blue, then see red. NO. WAY.

So I hunt around for a USB 2.0 drive. Takes me a few minutes, but we had one holding up the leg of a table. Rufus took a bit longer this time. When the drive was cooked, I gingerly placed it in the receptacle and crossed my fingers. If this didn’t work, then I was all out of ideas. No clue.

It worked. I could not believe it. USB 3.0. Why, Windows, WHY?

Playing with Fire.

Creating a new domain is a pain in the ass. I considered a number of possibilities, but now that I had the re-install of this server figured out, I figured let’s go nuts and join the new hypervisor to the old domain depot.local. If you’ll remember from 6 years ago when I started telling you this story, the sole virtual server performed DCHP, DNS, and DC functions.

I powered up the bad physical server. It complained, but complied. Started the virtual, no issue. Waited a few minutes, then joined the shiny new server to the domain depot.local. From there, with the DC up and running it was a simple matter of using the Hyper-V console to set up replication. After about an hour of pacing back and forth like I was awaiting the birth of my first child, the virtual made it and was failed over successfully.

There were a few more issues to resolve, like the DNS server having the wrong IPs for just about everything even though they have been using statics for years, DHCP not responding on port 4011 for MDT for PXE Boot, DHCP being handed out by the virtual AND by the router on the same subnet (?!?!), and the DNS server refusing to connect over the HyperV vSwitch, but now at least I don’t have a knot in my stomach. I don’t know how this environment ever worked like this. What a mess to clean up.

I ripped the bad half of the RAID 0 out of the server like a man possessed. I nailed it to the wall behind my desk. There is a sign under it that reads: “RAID 0 is not RAID. If you use RAID 0 on anything, I will throw this hard drive at your head. I have good aim. It will probably hit your mouth.”


Managing tags on HPR episodes - 3 - Dave Morriss | 2017-04-14

Managing tags on HPR episodes - 3

Introduction

This is the third (and last) show looking at the subject of Managing Tags relating to HPR shows.

In the first show we looked at why we need tags, and examined the advantages and disadvantages of the present system of storage. We considered the drawbacks of this design when searching the tags.

Then in the second show we looked at a simple way of making a tags table and how to query it in order to fulfil the requirements defined in the first show.

In this show we’ll look at a more rigorous, efficient, “normalised” solution.

Long notes

I have written out a set of longer notes for this episode and these are available here.


Chocolate Milk - venam | 2017-04-13

More on https://nixers.net/showthread.php?tid=1991


Fish On! - Bill "NFMZ1" Miller | 2017-04-12

Whether hitting your local lake or planning a day trip out, it is always good to consult tech that can help out making the trip as successful as possible. Here are the items mentioned in the podcast:


Our Digital Art - sigflup | 2017-04-11

Sigflup's art!!!

Siss's art!!!!


Sigflup's Book!!!


Siss's books!!

WattOS on Lenovo X61s - Tony Hughes AKA TonyH1212 | 2017-04-07

This is a follow on show from the one about WattOS on the Acer AspireOne I did recently.

I talk about installing and running of the OS on this 10+ year old laptop and how they are still a viable option as a cheap laptop.

Note all the recording, and uploading to HPR of this episode was done on the X61s

http://planetwatt.com/new/

https://www.cnet.com/uk/products/lenovo-thinkpad-x61s/review/

https://support.lenovo.com/gb/en/documents/pd012148


At The Library - Bill "NFMZ1" Miller | 2017-04-06

Check out your local library.

If you are a cord cutter or looking for cheap alternatives to some of the following:

  • Ebooks
  • Emagazines
  • Audibooks
  • DVD's
  • Blu rays
  • CD's
  • And much much more!

Freak Does Geek - fth | 2017-04-05


Abstracting Nurse Jesus - Eric Duhamel | 2017-04-04

NOTE: the audio recording appears to have periodic jitter. As I recorded at 44.1 Khz this time, I wonder if my S2 just handles recording at a lower quality better, and if so I'll prefer lower quality over jitter in the recording.

In this episode I explain why and how I abstracted random number and choice generation into self-sustainable methods for objects.

  • A superclass was needed so that all the classes of object in the game engine would have access to these random generation methods.
  • I preferred to use methods in this case so objects would be self-sufficient and wouldn't depend on extra modules imported at the top of my code.
  • The syntactic sugar achieved by using customized methods instead of i.e. random.randint(0, 99) makes the code easier to write and understand at a glance.
  • Nurse Jesus is a pun on the acronym RNG for Random Number Generator
  • Let me know if you get the reference at 2:00 ;-)

I recorded this episode in parts using a program called Urecord on my pocket computer (mobile phone).

I program using Pygame, post on a GNU Social account, and maintain a personal website at NoxBanners.NET. I study programming techniques at Refactoring.com, style at Python.org, and sometimes patterns at Portland Pattern Repository


Managing tags on HPR episodes - 2 - Dave Morriss | 2017-03-31

Managing tags on HPR episodes - 2

Introduction

This is the second show looking at the subject of Managing Tags.

In the first show we looked at why we need tags, examined the present system and considered its advantages and disadvantages.

In this episode we will look at a solution using a separate table of tags.

Long notes

This is a detailed subject so I have written out a set of longer notes for this episode and these are available here.


Minidiscs: A Response to HPR 2212 - Jon Kulp | 2017-03-30

This is a walking-and-talking response to hpr2212 (meanderings Cyberpunk and the Minidisc, The Cyberpunk history of the Sony Minidisc, hosted by Quvmoh on 2017-01-24) with my own uses and recollections of this awesome legacy medium.

Video about my USB power supply hack:
https://www.youtube.com/watch?v=v53k2RCT-lA

Links


Modular Game Scaling - Eric Duhamel | 2017-03-27

NOTE: the audio didn't cut together as smoothly as I remember from the first time, probably because I forgot to record at 44.1 KHz

In this episode I explain in broad terms how I programmed a game system to adjust its display resolution using three distinct modules operating individually and in concert.

  • The "metagame" (launcher) module accepts an argument describing the size of the window available for display
  • The "gameplay" module is informed of the space available as a 'window' into the game world and uses it for one thing or another
  • The "graphics" module opens a window at the specified size and modifies the graphical assets if needed

Once again I recorded in parts using a program called Urecord on my pocket computer (mobile phone).

I program using Pygame, post on a GNU Social account, maintain a personal website at NoxBanners.NET, and study programming techniques at Refactoring.com, style at Python.org, and sometimes patterns at Portland Pattern Repository


The Good Ship HPR - Dave Morriss | 2017-03-24

The Good Ship HPR

Hacker Public Radio

What is it?

The podcast called Hacker Public Radio (HPR) is an amazing phenomenon. It has been providing an episode a day every weekday for years, and these episodes originate from the community.

I heard someone refer to HPR as “Crowd Sourced” which seemed like a good way of describing things. It is an open access resource which is managed under various Creative Commons licences, usually CC-BY-SA.

The content is very broad in scope. Anything “of interest to Hackers” is acceptable, which is interpreted in a wide variety of ways.

Access to shows is open to all through the HPR site, where shows back to episode 1 can be browsed, notes read, etc. There are feeds which propagate various updates: to shows, series, comments and email. Current shows are archived to the Internet Archive (archive.org) within a few days of appearing in the main feed, and older shows are gradually being archived this way with the intention of eventually storing everything there.

For example, to find show 1999 on archive.org look for https://archive.org/details/hpr1999. The entire HPR collection can be browsed at https://archive.org/details/hackerpublicradio.

Some history

As you can see, if you examine the details on the website statistics page the predecessor of HPR started more than 11 years ago as “Today With A Techie”, transforming into “Hacker Public Radio” over 9 years ago.

Started:            11 years, 4 months, 12 days ago (2005-10-10)
Renamed HPR:        9 years, 1 months, 20 days ago (2007-12-31)

In the earlier days the frequency of show release was not the predictable 5 per week, every weekday, that it is now. There were gaps, sometimes of several days, and occasionally shows came out on the weekend. Stability was achieved in October 2012 and there have been no gaps since then!

There are currently 280 hosts who have contributed shows at some point in the history of HPR, and at the time of writing in February 2017 show number 2230 has been released. The number of episodes and hosts will be greater when the episodes from “Today With A Techie” are incorporated into the archive.

The Hacker Public Radio experiment has been very successful over the years, but there is a certain fragility in the way it works.

Long notes

The longer notes for this episode which are available here, talk about the details of the problem facing HPR and go on to suggest some solutions.


Introduction to Model Rocketry - Steve Saner | 2017-03-23

Introduction to Model Rocketry

In this episode I introduce the hobby of model rocketry. I specifically highlight some of the advanced elements of the hobby to show how model rocketry goes from being a fun activity for kids to a serious hobby enjoyed by many adults.

Outline

  1. History of model rocketry.
  • Early amateur experimentation with rocketry.
  • G. Harry Stine develops the model rocket motor.
  • Vern Estes develops a way to mass produce motors.
  1. Basic model rocket components and flight.
  • Airframe, nose cone, and fins.
  • The part of the model rocket motor.
  • Recovery mechanism (parachutes and streamers).
  • The launch pad
  • The basic flight profile of a model rocket.
  • Building a typical model rocket kit.
  1. Scratch building your own designs.
  • Using commercial components.
  • Using ordinary materials for rockets.
  • Fabricating components: Lathes, laser cutters, CNC machines, etc.
  • Using CAD and simulation software.
  1. Craftsmanship and scale modeling.

  2. Model rocket competition.
  • Regional, national, and international meets.
  • Events: Altitude, duration, advanced recovery methods, payloads, egglofting.
  1. High power rockets.
  • Large rockets.
  • High altitude rockets.
  • Supersonic rockets
  • Composite motors.
  • Regulations
  • Certification
  • Materials
  1. Complex rocketry.
  • Motor clustering.
  • Staging.
  • Dual deployment.
  1. Electronics
  • Altimeters
  • Flight computers
  • Tracking
  • Cameras
  1. Experimental motors.

  2. National associations.
  • National Association of Rocketry (NAR).
  • Tripoli Rocketry Association (TRA).
  • Safety codes.
  • Liability insurance.
  • Local clubs.
  1. Safety.

  2. A little about my personal interests in model rocketry.

Resources

The following is a non-exhaustive list of companies that manufacture and/or sell model rocket kits and suplies. I've primary listed those that I'm most familiar with. There are certainly others.

These are some of the major manufactures of high power composite motors.

These are the two United States national model rocketry associations.

Resource for competition rocketry.

Here are a number of other interesting links

Errata

In the show I said that G. Harry Stine worked at the White Sands Missile Base. The correct name for that facility is White Sands Missile Range. But, during the time that Stine worked there, it would have been called the White Sands Proving Ground. http://www.wsmr.army.mil/


How to make and use a stencil - @einebiene | 2017-03-22

To make a stencil you need

  • a motif
  • thick foil/cardboard/metal sheet
  • sharp knife/scalpel

To use a stencil:

  • stencil
  • tape
  • paint
  • sponge/spray can
  • a surface to put it on
  1. Find a motif or make your own
  2. Copy/print motif on thick foil
  3. Cut out the black parts carefully
  4. Tape stencil to surface
  5. Apply paint with sponge
  6. Carefully take off stencil
  7. Tadaaaaaaa

Stencil


HPR New Year show episode 6 - Various Hosts | 2017-03-21

HPR new years eve show episode 6


HPR New Year show episode 5 - Various Hosts | 2017-03-20

HPR new years eve show episode 5


HPR New Year show episode 4 - Various Hosts | 2017-03-17

HPR new years eve show episode 4


HPR New Year show episode 3 - Various Hosts | 2017-03-16

HPR new years eve show episode 3

  • Carrie Fisher
  • voting / politics
  • heritages
  • Wikipedia for news
  • pizza gate
  • why we love Linux
  • text editors
  • forum fun
  • coffee is great
  • making money with free software
  • free software in the workplace
  • Single board computers

HPR New Year show episode 2 - Various Hosts | 2017-03-15

HPR new years eve show episode 2


HPR New Year show 1 - Various Hosts | 2017-03-14

HPR new years eve show episode 1

  • FiftyOneFifty’s home network
  • FiftyOneFifty talks guns
  • Reg A talks about his early days of computing
  • Caganer nativity scenes:
  • The US Air Force
  • booze food and cpap machines
  • earliest memories
  • discuss our early days of computing
  • knightwise and mobile computing
  • drw’s early days of computing and linux

My Custom RSS Comic and Security Feed - operat0r | 2017-03-13


Managing tags on HPR episodes - 1 - Dave Morriss | 2017-03-10

Managing tags on HPR episodes - 1

Introduction

We have been collecting and storing tags for new HPR shows for a while now with the intention of eventually offering a search interface. In addition, a number of contributors, including myself have been adding tags (and summaries), to shows that do not have them, since August 2015. There is still a way to go, but we’re making progress. At the time of writing (2017-01-31) 56.29% (1248) of all HPR shows (2217) have tags.

In recent times the way in which we should use these tags has been discussed. In show 2035 on 2016-05-20 droops suggested:

The website, which is a lot of work, needs to have related shows listed on each individual show’s page. This will take a tag system and someone to tag all of the almost uncountable previous episodes.

This episode begins a discussion about some of the ways that tags can be stored, managed and accessed efficiently in the HPR database.

I started planning a show about this subject in the summer of 2016, and the amount of information I have accumulated has grown since then. There is now quite a lot, so I am going to split what was originally going to be one show into three.

The subject becomes quite technical in the later shows, discussing database design techniques, and all three of the shows contain examples of database queries and scripts. If you are not interested in this subject than feel free to skip past. However, you might find this first episode more palatable, and any thoughts you might have on the subject would be appreciated.

Long notes

I have written out a set of longer notes for this episode and these are available here.


building lineageOS - brian | 2017-03-09

i am too ignorant to build for the device that i want.

i mention a dev from xda.

i am running debian sid... also mention arch and the importance of shownotes.

following lineage wiki, i merge the extra commands from a 14.1 device page.

install adb fastboot repo with package manager and you can ignore creating ~/bin, chmod command, and PATH update as these tools were installed by your package manager.

install list given on the wiki of packages...some will not exist... search to find out their names.

cd into the location for your project.

$ mkdir -p ./android/system
$ cd android/system
$ repo init -u https://github.com/LineageOS/android.git -b cm-14.1
$ repo sync
$ repo sync
$ repo sync

successful new 50G on my drive.

$ nano android/system/.repo/local_manifests/roomservice.xml

add the needed lines from the muppets and ignore extracting proprietary blobs.

$ repo sync
$ source build/envsetup.sh
$ breakfast spyder
$ export USE_CCACHE=1
$ prebuilts/misc/linux-x86/ccache/ccache -M 50G
$ export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"
$ export WITH_SU=true
$ croot
$ brunch spyder

ran 99% and errored... xmllint command not found.

search for and install libxml2-utils.

rerun build and get an out of memory error... go to bed... try tomorrow... shutdown machine.

sift through old information as things have changed regarding file names and such.

$ nano ~/.jack-server/config.properties

change jack.server.max-service=4 to 2

start from envsetup.sh again.

$ cd $OUT

boot phone to recovery and install

$ adb sideload ./lineage-14.1-20170202-UNOFFICIAL-spyder.zip

i remove some apps and install fdroid.


My Quick Tips E01 - operat0r | 2017-03-08

-rmccurdy.com


Amateur Radio Round Table - Various Hosts | 2017-03-03

HPR Amateur Radio Round Table

2017-01-27, 0300 UTC

Participants:

  • cmhobbs KD5RYO
  • Jon KT4KB
  • Steve KD0IJP
  • Michael DL4MGM
  • Tyrel KG5RHT

After a short introduction of the hosts, we start discussing the question that came up on the mailinglist:

How do you get started at all? How do you get the license to participate in amateur radio?

Probably the amateur radio organisation in your country will provide the essential information required for obtaining an amateur radio license. Start looking at the International Amateur Radio Union at http://www.iaru.org and track down your country. From there you can search for information about your local area and local groups. In the US, look for the ARRL at http://www.arrl.org.

If you do not chose to get involved with the local club before taking the test to get the license, we suggest you do so after that. Local events and clubs can provide the insight into the vast possibilities amateur radio has to offer. This will allow you to chose much better, where your personal interests are and where to start. Radio "nets", are mentioned as a good starting point to actually get "on the air" and to overcome any possible shyness.

Acronyms explained along the way

  • VFO: Variable Frequency Oscillator. The thing behind the main tuning dial to adjust the frequency, an important building block of radio equipment. In modern gear the VFO-mode is the mode where you can continuously change the frequency in certain increments, as opposed to memory mode, where you normally select from a set of fixed frequencies previously stored.
  • CW: Continuous Wave. Used to reference to Morse code telegraphy as an operating mode.
  • VHF: Very High Frequency. Generally this references the frequency range 30 Mhz to 300 MHz. In the context of a radio user, it normally means the sub range in there, that is assigned to the specific use.
  • UHF: Ultra High Frequency. 300 MHz to 3 GHz
  • HF: High Frequency. Range 3 MHz to 30 MHz. Also referenced to as "short wave" frequencies. Several amateur radio "bands" are spread out in that frequency range.

We often reference frequency ranges by wavelength. E.g. the "20m band", which is the frequency allocation for amateur radio at 14 MHz. The connection is: Wavelength = c / frequency, with c being the speed of light. A rule of thumb is: Wavelength [m] = 300 / frequency [MHz]

Hint: The manufacturer Tektronix offers a nice poster with the world wide frequency assignments worked in: http://info.tek.com/rs/tektronix/images/eGuide-to-RF-Signals.pdf

We went on describing a bit where our personal interests in amateur radio are.

Our combined interests cover all the way from Morse code over voice communication to digital modes and "foxhunt" (the radio sport of Amateur Radio Direction Finding). Note that there are many other facets to amateur radio. Even our combined interests are just a small segment of the possible activities within the avocation.

We talk about getting started with just listening to amateur radio traffic on the short wave frequencies.

Why do you need a license, why not just do it?

First, without a license, it is ILLEGAL.

Law makers have acknowledged that one important goal of amateur radio is education and experimentation. We are allowed to modify equipment or even build it completely from scratch and operate it legally on the assigned frequencies. This is a unique privilege that sets amateur radio apart from any other radio users which have to use certified equipment.

We give some amateur related podcast recommendations, among those: Linux in the ham shack (http://lhspodcast.info) and HamRadio 360 (http://hamradio360.com).

The Next Edition of the Amateur Radio Round Table

Next ham radio round table will be held in about a month, with a time that will be better suited for European time zones. We welcome anyone to participate, whether or not you are a licensed ham. Watch the HPR email list for announcements and details.


making jerky - Jezra | 2017-03-02

  • Slice meat thin and against the grain
  • Season the meat
  • Dehydrate the meat

enjoy!


Do you care? - Curtis Adkins (CPrompt^) | 2017-02-28

CPrompt talks about one of his pet-peeves. The phrase "I could care less"


Hoarding Raspberry Pis - b-yeezi | 2017-02-27

Show Notes

In this episode, I discuss my growing obsession with building a Raspberry Pi data center.

Tower of Pi

Items referenced in this episode:

Hope this was enjoyable, if not, informative!


FOSDEM 2017 K (level 1, group B and C) - Ken Fallon | 2017-02-08

Table of Contents


ReactOS

http://www.reactos.org/

ReactOS® is a free open source operating system based on the best design principles found in the Windows NT® architecture (Windows versions such as Windows XP, Windows 7, Windows Server 2012 are built on Windows NT architecture). Written completely from scratch, ReactOS is not a Linux based system, and shares none of the UNIX architecture. The main goal of the ReactOS® project is to provide an operating system which is binary compatible with Windows.

Listen to the interview with Colin Finck

Links


Haiku

https://www.haiku-os.org/

Haiku is an open-source operating system that specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful.

Listen to the interview with François Revol

Links


Gentoo

https://www.gentoo.org/

Gentoo is a free operating system based on either Linux or FreeBSD that can be automatically optimized and customized for just about any application or need. Extreme configurability, performance and a top notch user and developer community are all hallmarks of the Gentoo experience.

Listen to the interview with Matthew Thode

Links


CoreOS Linux

https://coreos.com/

Container Linux by CoreOS (formerly CoreOS Linux) is an open-source lightweight operating system based on the Linux kernel and designed for providing infrastructure to clustered deployments, while focusing on automation, ease of application deployment, security, reliability and scalability. As an OS, Container Linux provides only the minimal functionality required for deploying applications inside software containers, together with built-in mechanisms for service discovery and configuration sharing.

Listen to the interview with Brian Redbeard

Links


Debian

http://www.debian.org/

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run.

Listen to the interview with Sebastiaan Couwenberg

Links


PostgreSQL

https://www.postgresql.org/

PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, and correctness. It runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, SGI IRIX, Mac OS X, Solaris, Tru64), and Windows. It is fully ACID compliant, has full support for foreign keys, joins, views, triggers, and stored procedures (in multiple languages).

Listen to the interview with Robert Juens

Links


Nextcloud

https://nextcloud.com

Nextcloud is a suite of client-server software for creating file hosting services and using them. It is functionally very similar to the widely used Dropbox, with the primary functional difference being that Nextcloud is free and open-source, and thereby allowing anyone to install and operate it without charge on a private server. In contrast to proprietary services like Dropbox, the open architecture allows adding additional functionality to the server in form of so-called applications.

Listen to the interview with Frank Karlitschek

Links


Bazel

https://bazel.build/

Bazel is Google's own build tool, now publicly available in Beta. Bazel has built-in support for building both client and server software, including client applications for both Android and iOS platforms. It also provides an extensible framework that you can use to develop your own build rules.

Listen to the interview with David Stanke

Links


Open Build Service

http://openbuildservice.org/

The Open Build Service (OBS) is a generic system to build and distribute binary packages from sources in an automatic, consistent and reproducible way. You can release packages as well as updates, add-ons, appliances and entire distributions for a wide range of operating systems and hardware architectures.

Listen to the interview with Richard Brown

Links


OpenQA

https://openqa.opensuse.org/

openQA is an automated test tool for operating systems and the engine at the heart of openSUSE's automated testing initiative.

Listen to the interview with Richard Brown

Links


Free Software Foundation Europe

https://fsfe.org/index.en.html

Free Software Foundation Europe is a charity that empowers users to control technology. Software is deeply involved in all aspects of our lives; and it is important that this technology empowers rather than restricts us. Free Software gives everybody the rights to use, understand, adapt and share software.These rights help support other fundamental freedoms like freedom of speech, press and privacy.

Listen to the interview with Florian Snow

Links


Vikings

https://vikings.net/

Libre Hosting Provider

Listen to the interview with Thomas Umbach

photo from the booth

photo from the booth

Links


Tor Project

https://www.torproject.org/

Tor is free software and an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.

Listen to the interview with A Volunteer at the Booth

Links


Tails Project

https://tails.boum.org/

Tails is a live operating system that you can start on almost any computer from a DVD, USB stick, or SD card. It aims at preserving your privacy and anonymity, and helps you to: use the Internet anonymously and circumvent censorship; all connections to the Internet are forced to go through the Tor network; leave no trace on the computer you are using unless you ask it explicitly; use state-of-the-art cryptographic tools to encrypt your files, emails and instant messaging.

Listen to the interview with A Volunteer at the Booth

Links


Frënn vun der Ënn

https://www.enn.lu/

Luxembourg based non-profit organization defending civil rights on the internet. We provide high-bandwidth Tor nodes all over the world to protect online privacy, anonymity, freedom of speech and fight censorship!

Listen to the interview with A Volunteer at the Booth

Links


Nos oignons

https://nos-oignons.net/Services/index.en.html

Nos oignons is a not-for-profit organization created to collect donations in order to run Tor exit nodes. Tor enables users to create anonymous connections and bypass censorship on the Internet. Tor is at the same time a piece of software, a network of relays made of more than 7,000 servers and a project around which fortyish people gravitate.

Listen to the interview with A Volunteer at the Booth

Links


Xen Project

http://www.xenproject.org/

The Xen ProjectTM is the leading open source virtualization platform that is powering some of the largest clouds in production today. Amazon Web Services, Aliyun, Rackspace Public Cloud, Verizon Cloud and many hosting services use Xen Project software. Plus, it is integrated into multiple cloud orchestration projects like OpenStack.

Listen to the interview with Julien Fontanet

Links


OpenStack

https://www.openstack.org/

Open source software for creating private and public clouds. OpenStack software controls large pools of compute, storage, and networking resources throughout a datacenter, managed through a dashboard or via the OpenStack API. OpenStack works with popular enterprise and open source technologies making it ideal for heterogeneous infrastructure. Hundreds of the world's largest brands rely on OpenStack to run their businesses every day, reducing costs and helping them move faster.

Listen to the interview with Aurélien Joga

Links


oVirt

http://www.ovirt.org/

oVirt is a virtualization management application used to manage hardware nodes, storage, and network resources, as well as deploying and monitoring virtual machines running in your data center.

Listen to the interview with Yaniv Kaul

Links


Foreman

https://www.theforeman.org/

Foreman is a complete lifecycle management tool for physical and virtual servers. We give system administrators the power to easily automate repetitive tasks, quickly deploy applications, and proactively manage servers, on-premise or in the cloud.

Listen to the interview with Greg Sutcliffe

Links


Gluster

https://www.gluster.org/

GlusterFS is a scalable network filesystem. Using common off-the-shelf hardware, you can create large, distributed storage solutions for media streaming, data analysis, and other data- and bandwidth-intensive tasks. GlusterFS is free and open source software.

Listen to the interview with Mohamed Ashiq Liyazudeen / Kaushal M / Jiffin Tony Thottan

Links


ownCloud

https://owncloud.org/

A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms

Listen to the interview with Holger Dyroff

Links


CAcert

http://www.cacert.org/

CAcert.org is a community-driven Certificate Authority that issues certificates to the public at large for free. CAcert's goal is to promote awareness and education on computer security through the use of encryption, specifically by providing cryptographic certificates. These certificates can be used to digitally sign and encrypt email, authenticate and authorize users connecting to websites and secure data transmission over the internet.

Listen to the interview with Eva Stöwe

Links


secure-u

https://www.secure-u.de/

Der Verein fördert die Wissenschaft, Forschung und Verbraucherberatung. Insbesondere ist Zweck des Vereins die Förderung der Sicherheit im Internet und die Unterstützung von Anwendern bei der Anwendung sicherer Kommunikation.

Listen to the interview with Eva Stöwe

Links


FOSDEM 2017 K (level 1, group A) - Ken Fallon | 2017-02-07

Table of Contents


KDE

http://www.kde.org/

KDE is an international community that creates Free Software for desktop and portable computing. Among KDE's products are a modern desktop system for Linux and UNIX platforms, and comprehensive office productivity and groupware suites. KDE offers hundreds of software titles in many categories including web applications, multimedia, entertainment, educational, graphics and software development.

Listen to the interview with Jonathan Riddell

photo from the booth

photo from the booth

Links


GNOME

https://www.gnome.org/

GNOME 3 is an easy and elegant way to use your computer. It is designed to put you in control and bring freedom to everybody. GNOME 3 is developed by the GNOME community, a diverse, international group of contributors that is supported by an independent, non-profit foundation.

Listen to the interview with Bastian Ilso

Links


LibreOffice

https://www.libreoffice.org/

LibreOffice is the most widely used free open source office software. It is a community-driven project of The Document Foundation. LibreOffice is developed by professionals and by users, just like you, who believe in the principles of free software and in sharing their work with the world in a non-restrictive way. At the core of these principles is the promise of better-quality, highly-reliable and secure software that gives you greater flexibility at zero cost and no end-user lock-in.

Listen to the interview with Italo Vignoli

Links


Kopano

https://www.kopano.io/

Kopano is a thoroughly modern communication stack. It's fully MAPI based server (Core) provides access to email, contacts, calendaring through a web interface (WebApp), on the desktop (DeskApp) and can be used with mobile devices. Integration with online meetings tools based on WebRTC (Web Meetings) and integration with file storage services (Files) provide a complete set of tools to work together.

Listen to the interview with Michael Kromer

Links


CiviCRM

https://civicrm.org

CiviCRM is an open source CRM built by a community of contributors and supporters, and coordinated by the Core Team. CiviCRM is web-based software used by a diverse range of organisations, particularly not-for-profit organizations (nonprofts and civic sector organizations). CiviCRM offers a complete feature set out of the box and can integrate with your website.

Listen to the interview with Alain Benbassat

Links


GNU Taler

https://taler.net/

Taler is an electronic payment system providing the ability to pay anonymously using digital cash. Taler consists of a network protocol definition (using a RESTful API over HTTP), a Mint (which creates digital coins), a Wallet (which allows customers

Listen to the interview with Christian Grothoff

Links


pEp foundation

https://pep.foundation

The Swiss-based PEP foundation that intends to encrypt all digital written communication fully automatically giving "Privacy by Default"

Listen to the interview with Hernâni Matques

Links


FreeBSD Project

https://www.freebsd.org/

FreeBSD is an advanced computer operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

Listen to the interview with Benedict Reuschling

Links


illumos

http://illumos.org/

This is the home of the illumos project, the open source fork of Sun's OpenSolaris. Launched in 2010, the project enjoys financial and technical support from several key companies which rely on the illumos kernel as the technological foundation for their own products, as well as the backing of a growing developer community.

Listen to the interview with Hans Rosenfeld

Links


OpenSUSE

https://www.opensuse.org/

openSUSE, formerly openSUSE Leap 42.1 and openSUSE Tumbleweed, is a international Linux project with different distributions sponsored by SUSE Linux GmbH and other companies. It is widely used throughout the world, particularly in Germany. The focus of its development is creating usable open source tools for software developers and system administrators, while providing user friendly desktops, and a feature rich server environment.

Listen to the interview with Douglas DeMaio

Links


CentOS

http://www.centos.org/

The CentOS Project is a community-driven free software effort focused on delivering a robust open source ecosystem. For users, we offer a consistent manageable platform that suits a wide variety of deployments. For open source communities, we offer a solid, predictable base to build upon, along with extensive resources to build, test, release, and maintain their code.

Listen to the interview with Fabian Arrotin

Links


Fedora Project

https://getfedora.org/en/

Fedora is an operating system based on the Linux kernel, developed by the community-supported Fedora Project and sponsored by Red Hat. Fedora contains software distributed under a free and open-source license and aims to be on the leading edge of such technologies.

Listen to the interview with Justin W. Flory

photo from the booth

Links


Taking apart a tablet - laindir | 2017-02-03

My son's tablet stopped working a few days ago, so I took it apart to see if I could find the problem. I discuss my kit and give a sound seeing tour of the disassembly.


The Musings of a Novice Cable TV Cord Cutter - Reg A | 2017-02-02

I've included various websites of the items I discussed in the podcast.

One thing I didn't mention in my podcast is that to use Roku streaming applications you go to the Roku store via your Roku device or via a computer browser and set up a Roku account. Once you have an account you have downloading access to the apps. Most of these apps are free but most premium service require a monthly fee which can be paid through Roku or the streaming service.

Roku Channel Store: https://channelstore.roku.com/browse

For apps not in the official Roku Channel Store there is an unofficial Roku Private Channels store. These are applications for Roku devices similar to the Kodi/XBMC plug-ins:

http://mkvxstream.blogspot.com/2016/08/roku-private-channels-roku-channels.html


I AM NOT CONDONING PIRACY OR BREAKING OF DMCA LAWS!!!

DMCA Wikipedia: https://en.wikipedia.org/wiki/Digital_Millennium_Copyright_Act


I found a couple of apps in the Roku Private Channels store that can provide me access to ESPN if I wish to use them.

I don't condone piracy so use at your own risk:

http://mkvxstream.blogspot.com/2016/08/roku-private-channels-roku-channels.html


General Roku information:

  1. Roku Wikipedia Info: https://en.wikipedia.org/wiki/Roku
  2. TCL Roku TVs: http://www.tclusa.com/roku/
  3. Roku TVs Sold by Amazon: https://www.amazon.com/gp/search/ref=a9_asi_1?rh=i%3Aelectronics%2Cn%3A172282%2Ck%3Aroku+tv&keywords=roku+tv&ie=UTF8&qid=1485043393
  4. Roku Boxes: https://www.roku.com/roku-tv
  5. Amplified TV Antennas Review: http://www.tomsguide.com/us/best-tv-antennas,review-2354.html
  6. Indoor Amplified TV Antennas Sold by Amazon: https://www.amazon.com/s/ref=nb_sb_ss_i_4_5/159-5067263-7652968?url=search-alias%3Delectronics&field-keywords=amplified+indoor+hdtv+antenna&sprefix=ampli%2Cundefined%2C148&crid=14O1SJA572XSH
  7. Cox Communications: https://www.cox.com/residential/home.html

Cool Stuff pt. 5 - Curtis Adkins (CPrompt^) | 2017-02-01

  1. Android App: Opera Mini
  2. Website: CharacterMap
  3. Music: Gilad Hekselman

building a new voice input device - Jezra | 2017-01-31

CHIP computer: https://getchip.com/pages/chip

Post about the build: http://jezra.net/post/2017-01-10_phonos.html

Now I can get crackin on "How I make beef jerky" :)


Working AO-85 with my son - Christopher M. Hobbs | 2017-01-30

Working AO-85 with my son!

Given all the talk about Amateur Radio on the mailing list, I decided to record a live operation show. In this episode my son and I try to make a contact on AO-85. He eventually loses interest and it's just me yelling into a microphone.

We don't manage to make a successful contact but we do pick up the bird. One person toward the end tried to pull us out of the noise but there were simply too many people utilizing the satellite for us to make contact. Part of that may have been my Doppler shift settings.

Here is the pass data from gPredict (in CST) for this particular attempt:

Pass details for AO-85 (orbit 5478)
Observer: KD5RYO, Siloam Springs, Arkansas
LAT:36.20 LON:-94.48
AOS: 2017/01/16 15:03:52 Local
LOS: 2017/01/16 15:17:45 Local
-----------------------------------------------------------
 Time                  Az      El  Range Footp  Dop   Loss 
-----------------------------------------------------------
 2017/01/16 15:03:52 212.06  -0.00  3075  5738  2194 142.16
 2017/01/16 15:04:33 212.46   2.48  2801  5720  2195 141.35
 2017/01/16 15:05:15 212.94   5.23  2527  5701  2191 140.45
 2017/01/16 15:05:57 213.52   8.35  2254  5682  2179 139.46
 2017/01/16 15:06:38 214.26  11.99  1983  5663  2157 138.35
 2017/01/16 15:07:20 215.23  16.38  1716  5644  2117 137.09
 2017/01/16 15:08:02 216.60  21.92  1455  5624  2048 135.66
 2017/01/16 15:08:43 218.69  29.25  1207  5604  1924 134.03
 2017/01/16 15:09:25 222.35  39.50   979  5584  1692 132.22
 2017/01/16 15:10:07 230.57  54.21   793  5564  1245 130.39
 2017/01/16 15:10:48 261.54  72.25   683  5544   461 129.09
 2017/01/16 15:11:30 347.38  69.68   687  5524  -524 129.14
 2017/01/16 15:12:12  11.72  51.01   804  5503 -1288 130.50
 2017/01/16 15:12:53  18.88  36.54   995  5483 -1720 132.35
 2017/01/16 15:13:35  22.23  26.49  1225  5463 -1946 134.16
 2017/01/16 15:14:17  24.21  19.28  1476  5442 -2069 135.78
 2017/01/16 15:14:58  25.54  13.82  1739  5422 -2139 137.21
 2017/01/16 15:15:40  26.52   9.47  2009  5402 -2180 138.46
 2017/01/16 15:16:22  27.28   5.85  2283  5381 -2204 139.57
 2017/01/16 15:17:03  27.91   2.74  2559  5361 -2218 140.56

Finally, here's AO-85's page on AMSAT: http://www.amsat.org/?page_id=4690

73 DE KD5RYO


Upgrading Vehicle Lights From Halogen to LED - Jon Kulp | 2017-01-26

This episode is about the process of upgrading halogen vehicle lights to LED. I did this on my pickup truck for the interior dome light, the brake lights, the third brake light, front and back turn signal lights, the backup lights, and also for the license plate lights. While I'm talking about this process, I also install new LED brake light bulbs on our Honda CR-V. I almost forgot to talk about the necessity of installing resistors to handle the problem of hyperflashing with the blinker lights.

Click on the image below to view the photo album associated with this podcast.

LED Vehicle Light Upgrades

Credits


Clay Body - brian | 2017-01-25

Before we create ceramics, we will begin with some basic theory.

Added by HPR Admins after the show was released


meanderings Cyberpunk and the Minidisc - Quvmoh | 2017-01-24


My podcast workflow - Dave Morriss | 2017-01-23

My podcast workflow

I have been listening to podcasts for many years. I started in 2005, when I bought my first MP3 player.

Various podcast downloaders (or podcatchers) have existed over this time, some of which I have tried. Now I use a script based on Bashpodder, which I have built to meet my needs. I also use a database to hold details of the feeds I subscribe to, what episodes have been downloaded, what is on a player to be listened to and what can be deleted. I have written many scripts (in Bash, Perl and Python) to manage all of this, and I will be describing the overall workflow in this episode without going into too much detail.

I was prompted to put together this show by folky’s HPR episode 1992 “How I’m handling my podcast-subscriptions and -listening. Thanks to him for a very interesting episode.

Refer to the full notes for the details: http://hackerpublicradio.org/eps/hpr2211/full_shownotes.html


On Freedom of Speech and Censorship - m1rr0r5h4d35 | 2017-01-20

In this episode, I discuss some of issues that can arise with Freedom of Speech, as well as some of the finer points of what constitutes "censorship".


Calibre eBook Server - Jon Kulp | 2017-01-19

You can share your Calibre ebook library by running the calibre-server daemon, either from your desktop machine or on a server that is available on your local network. (Or, if you have it set up that way, it can be outward-facing to the wide world.)

To share your library from the desktop Calibre application, choose Connect/share from the menu at the top of the window, then choose Start Content Server. Make a note of the IP address and port, and then you can use other devices on your network to access the library at that address. Normally I use the "Get Books" function of the Marvin ebook app on my iPad, or else the "Experimental Browser" on my Kindle and download the books directly to the devices. On my Android phone, I use the Chrome browser and then long press on the link to an Epub file, choose to save to device, and then open it using FBreader.

To share the library from your GNU/Linux server, you'll have to install Calibre on the server and then put a copy of your ebook Library on the server as well. To start and stop the server daemon, you need to put a service startup script in the /etc/init.d directory with all of the other system startup scripts. An example is given below—fill in with the appropriate paths and user data for your setup. (See the calibre-server user manual for a full list of options and their descriptions.) When the script is in place and has executable permissions, you start and stop the service as follows (as root):

service calibre-server start|stop|restart

Service Startup Script

#!/bin/bash

CALIBRE_LIBRARY_PATH="/path/to/CalibreLibrary"
PIDFILE=/tmp/calibre-server.pid
USER=<run_as_user>        # run daemon as this user
LOGIN=<end_user_username> # to log into library (optional)
PW=<password>             # to log into library (optional)
PORT=3456

start() {
        echo "Starting Calibre server..."
        su -c "calibre-server --with-library=\"$CALIBRE_LIBRARY_PATH\" --username=$LOGIN --password=$PW -p $PORT --pidfile=$PIDFILE --daemonize" & 
        if [ $? -ne 0 ]; then
                echo "Could not start calibre-server."
        fi
}

stop() {
        echo "Stopping Calibre server..."
        if [ -e $PIDFILE ]; then
                read PID < $PIDFILE
                ps aux | grep "$PID" | grep 'calibre-server' > /dev/null
                RUNNING=$?
                if [ $RUNNING -eq 0 ]; then
                        kill $PID
                        if [ $? -eq 0 ]; then
                                rm $PIDFILE
                        fi
                else
                        echo "Could not find a calibre-server process with PID $PID."
                fi
        else
                echo "Could not find pidfile: $PIDFILE"
        fi
}

restart() {
        stop
        start
}

status() {
        if [ -e $PIDFILE ]; then
                read PID < $PIDFILE
                echo "calibre-server is running with PID $PID."
        else
                echo "calibre-server is not running."
        fi
}

unknown() {
        echo "Unrecognized command: $1"
        echo "Try one of the following: (start|stop|restart|status)"
}

case $1 in
        start ) 
                start
                ;;
        stop )
                stop
                ;;
        restart )
                restart
                ;;
        status )
                status
                ;;
        * )
                unknown
                ;;
esac

Links

  • Calibre ebook Management Software
  • Marvin ebook app for iOS
  • FBreader open-source multi-platform ebook reader.

Kayak Camping - droops | 2017-01-18

I talk about my setup for camping out of my kayak and ways to do this for very little money using stuff you already have and getting good cheap gear.

Getting out into nature is my favorite thing and I love going where I will not see others for days at a time.


NATO phonetic alphabet - Hannah, of Terra, of Sol | 2017-01-17

NATO phonetic alphabet in block diagram:

[ English 26 letter alphabet ] --> [ Phonetic Function Box-machine-phone ] --> [ Output ]

A - Alfa
B - Bravo
C - Charlie
D - Delta
E - Echo
F - Foxtrot
G - Golf
H - Hotel
I - India
J - Juliett
K - Kilo
L - Lima
M - Mike
N - November
O - Oscar
P - Papa
Q - Quebec
R - Romeo
S - Sierra
T - Tango
U - Uniform
V - Victor
W - Whiskey
X - X-Ray
Y - Yankee
Z - Zulu
~ - ~
0 - Zero
1 - One
2 - Two
3 - Three
4 - Four
5 - Five
6 - Six
7 - Seven
8 - Eight
9 - Niner

Mike India Charlie Romeo Oscar Bravo Echo FULL-STOP Tango Victor

Charlie Oscar November Golf Romeo Echo Sierra Sierra India Oscar November Alfa Lima Delta India Siera Hotel FULL-STOP Charlie Oscar Mike

X-Ray BREAK Mike India November Uniform Sierra BREAK Oscar November Echo

Hotel Alfa Charlie Kilo Echo Romeo BREAK Papa Uniform Bravo Lima India Charlie BREAK Romeo Alfa Delta India Oscar

Please take care, TTFN, neighbor.

rttykitty


Quick Tips Roomba and silicone Packets - operat0r | 2017-01-13

  • First bit is about Roomba and keeping them clean and happy!
  • 2nd bit is about reusing Silicone Packets by baking them in the toaster oven!

MASSCAN - operat0r | 2017-01-12

I chat about my issues with our vuln scanner and destroy the discovery scan times from 5-8 days to 1hr with Masscan.

masscan   -p21,22,23,25,53,80,88,110,111,113,135,139,143,220,264,389,443,445,449,524,585,636,993,995,1433,1521,1723,3306,3389,5900,8080    --rate=14114 --open --excludefile BLACKLIST --ping  172.16.0.0/12 -oX  172.xml

NOT SO SMART - operat0r | 2017-01-11

(tracer32.exe) and LogExpert regex (warn|\berr|fail|unabl|can|not|fault)

rsync --info=progress2 ( need to compile from source ... )
grub-install --force --removable --boot-directory=/s/boot /dev/sdd

grub-mkconfig -o /s/boot/grub.cfg

boot.ini ?!?!? ..( never could figure out how to boot my windows XP part from GRUB ...thought this would help with no luck )

multi(0)disk(0)rdisk(0)partition(2)\WINXP="Microsoft Windows XP Professional"
multi(0)disk(0)rdisk(1)partition(2)\WINXP="Microsoft Windows XP Professional"
multi(0)disk(0)rdisk(2)partition(2)\WINXP="Microsoft Windows XP Professional"
multi(0)disk(0)rdisk(3)partition(2)\WINXP="Microsoft Windows XP Professional"
multi(0)disk(0)rdisk(4)partition(2)\WINXP="Microsoft Windows XP Professional"
tune2fs -c 1 ( check drives on boot )

Linux provides other I/O schedulers such as the Noop scheduler, the Anticipatory scheduler and the Deadline scheduler.

Dec 31 14:59:46 plexserver console-kit-daemon[1463]: missing action
Dec 31 15:01:45 plexserver smartd[1038]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 113 to 112
Dec 31 15:01:45 plexserver smartd[1038]: Device: /dev/sdc [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 112 to 111

40-50C range are optimal.


Makers on YouTube - Dave Morriss | 2017-01-10

Makers on YouTube

Introduction

I have always enjoyed making stuff. I was born and brought up in the 1940’s and 1950’s when the UK was recovering from WW2, and in my experience everyone I knew repaired and made stuff. Most of them grew their own food as well.

I have never been particularly good at making stuff, but I have built some basic furniture, built storage solutions for the house, built a rabbit hutch and run for my children’s pets, and so on and so forth.

In high school, even though I went to a Grammar School, all boys attended mandatory lessons on metalwork and woodwork. We learnt how to use hand tools and some power tools, make joints in wood, we also learnt to do basic metal work like soldering and brazing, and so forth.

Learning this stuff at school was great but I have used the woodworking techniques more than the metalwork - other than soldering.

I stopped watching TV in 2013, preferring reading and listening to podcasts. In recent times I have subscribed to a number of YouTube channels which share woodworking and metalworking techniques and projects. In general these people are Makers and Artists who can turn their hands to many skills. I thought I would share some of my favourites via HPR.

Long notes

I have written out a moderately long set of notes for this episode and these are available here http://hackerpublicradio.org/eps/hpr2202/full_shownotes.html.


Matthew "Lord Drachenblut" Williams - HPR Volunteers | 2017-01-09

Eulogies for Lord Drachenblut, including:

  • Klaatu
  • Randy Noseworthy
  • ClaudioM
  • Brian Proffitt (writing for Fedora Project)
  • Ahuka
  • Joe C. Hecht (ref: google+)
  • Lostnbronx
  • Knightwise

Incidental music by Severed Fifth


Episode one of the future of free software series - spaceman | 2017-01-06

Spaceman introduces a series on the future of free software as he sees it.

The full series is available on my hidden service: http://qzc3ou3vccr3yjyg.onion/free-software-podcasts/the-future-of-free-software/

You can access the site using the Tor Browser available here


Replacing the Throttle Position Sensor on My Truck - Jon Kulp | 2017-01-05

When the "check engine" light came on in my truck again, it turned out to be the throttle position sensor just like when I very first bought the truck about a year-and-a-half ago. That time, I was able to fix it by spraying contact cleaner on it, but this time that didn't work. I ordered a new part. In this episode I talk while I replace the part and I also talk about the nifty diagnostic tool that I used to get the trouble code and how it sends the information to your smartphone.

Throttle Position Sensor Pics

What you can gather with the torque diagnostic tool for Android:

  • View live OBD engine data on your Android phone - Connect to your vehicle ECU
  • Fully customisable dashboard screens - Design your own layouts and custom dials, use your own themes
  • Retrieve Fault Codes (DTCs) and clear Check Engine lights - View fault descriptions using the built-in databases
  • Upload live OBD2 data to your webserver or the torque web viewer in realtime
  • Check the performance of your vehicle with BHP / Torque / 0-60 & Quarter Mile widgets

Links


How awesome is Guix and why will it take over the world - clacke | 2017-01-04

I heard a "holy crap" somewhere in there, so I guess this show is explicit. That's about the level you can expect. :-)

I recorded this together with @cwebber@identi.ca over a year ago, on 2015-12-01. I told him I was hoping to get it out in time for FOSDEM. I didn't clarify which FOSDEM. :-D

So this thing has been lying around, and I've been polishing it and I've been thinking "man, 90 minutes is a bit rich for an HPR episode, I should edit this thing at some point". Procrastinator strikes again!

Well, that point never came in the course of one year, and HPR needs episodes, so this is what you get. I skipped around in it for QA reasons (audio sync) and I found that I wanted to listen to it again myself, so if your interests are anything like mine, I think it will be able to hold your attention. We had great fun recording it, and now that I've got it out of the gate, maybe I won't be ashamed to ask Chris to record another one about one of the many topics that came up during this show.

In the year since we recorded this, Guix has released versions 0.10.0, 0.11.0 and 0.12.0. It has functioning GNOME (based on Wingo's elogind) and can boot from a LUKS-encrypted drive.

DMD, the Daemon-Managing Daemon that was at the core of GuixSD, is now Shepherd, and still at the core of GuixSD.

Chris's project 8Sync is at version 0.2 and has a real GNU homepage (generated from S-expressions by Haunt!) and Guile 2.2 is closer than ever. 8Sync 0.2 uses some experimental features available in Guile 2.1 snapshots.

Guix and Software Conservancy still need your money (The FSF accepts Bitcoin!), and FOSDEM is still, or again, around the corner. I won't be going there this year, though, due to scheduling conflicts.

On my latest laptop I'm running NixOS and it's running just great. My Guix VM on the other machine is no longer running Enlightenment, now that GNOME is ready. :-)

I haven't fixed clusterssh in either Nix nor Guix, but tmux-cssh works pretty great too!

Someone should still write guix-bisect!

GuixOps has been dormant during 2016, but as late as two months ago there was some slight movement on the mailing list.

Links to various things and people mentioned in the show:


Why you should not say Free Software - Ken Fallon | 2017-01-03

As we all know the word Free has two meanings in the English language. Free of cost and Free from Freedom. So we get the expression "free as in Beer" and "Free as in Freedom" - or Free with a lower or upper F. Having disambiguity in a computer program is bad. So let's translate that problem to computer languages, and I'm going to deliberately pick the C language. So for example were the word "exit" (which is a function), and you wanted to use it as a variable.

set exit = 1;

This leads to problems as the computer can't tell if the references to "exit" the function or is it the "variable".

For that reason the "The GNU C Library Reference Manual" makes it clear that this is not allowed

1.3.3 Reserved Names
The names of all library types, macros, variables and functions that come from the ISO C standard are reserved unconditionally; your program may not redefine these names. All other library names are reserved if your program explicitly includes the header file that defines or declares them. There are several reasons for these restrictions:

Other people reading your code could get very confused if you were using a function named "exit" to do something completely different from what the standard "exit" function does, for example. Preventing this situation helps to make your programs easier to understand and contributes to modularity and maintainability.

It avoids the possibility of a user accidentally redefining a library function that is called by other library functions. If redefinition were allowed, those other functions would not work properly.

This was written by "Sandra Loosemore with Richard M. Stallman, Roland McGrath, Andrew Oram, and Ulrich Drepper for version 2.18".

In terms of the English Language, this results in:

  • segfaults where people just get confused.
  • Buffer overflows, where there is too much information to take in.
  • time outs where the amount of time available to explain has been exceeded.

Now you can get around the problem by prefixing the variable name with a name space, which is very common in XML.

set my:exit = 1;

However that's cumbersome and causes extra cycles to be expended, or abnormal termination of the program. Not many cycles but a few and it adds up over time. The more you use it the more wastage occurs. When you have two Bob's working in a company. You always need to specify if it's "Bob in Accounting" or "Bob in Sales".

It is often pointed out that this is not an issue in other languages, for example Dutch has "Vrij" for freedom and "Gratis" for without cost. However the FSF is a US organisation, in a English speaking area. So we should focus on the fact that the English compiler should have rejected at use of "Free" when it was first proposed because it was obviously disambiguous.

The GNU project was started in 1983 and looking at the software available around then I find it very hard to believe that the concept of "software you pay for" was not widely known. https://en.wikipedia.org/wiki/History_of_software

  • WordStar, "By early 1980, MicroPro claimed in advertisements that 5,000 people had purchased WordStar in eight months"
  • WordPerfect, "The program was originally developed under contract at Brigham Young University for use on a Data General minicomputer in 1979."
  • VisiCalc, "It sold over 700,000 copies in six years"
  • Lotus 1-2-3, "Lotus 1-2-3 was released on 26 January 1983, and immediately overtook Visicalc in sales."

Looking at the archives of the Byte Magazine there are numerous examples where software "Free/free" and proprietary closed software was for sale as far back as 1979. Even the term freeware was coined in 1982 by Andrew Fluegelman.

So it would seem that the word "Free Software" was a bug from the start. Not that there is probably anything we can do about it now but if this bugs you then go over to the FSF and donate. If it doesn't bug you then donate. If you could care less, or indeed if you couldn't care less then also donate.


All you need to know when uploading a show - Ken Fallon | 2016-12-30

It has become clear that not everyone is aware of what the HPR community is, how it's run, and what the policies are. While these policies are valid at the time of recording, they may have been modified by the time you hear this.

As everyone was sick, I had to get a text to speech engine to read it out. See https://text-to-speech-demo.mybluemix.net/ for more information.


The low-down on what's up in the Taiwan Strait. - clacke | 2016-12-29

Wow, my aim was really to be strict about the terminology and always talk about Beijing/PRC or Taipei/ROC, but I noticed that I was saying "China" and "Taiwan" a lot of the time. Lucky I'm not trying to be the President, eh?

I'm sorry it's so long, but on the other hand I think I speak pretty slow, so it's probably pretty amenable to sped-up listening. :-)

Or, you can skip ~27 minutes in to go straight to my overview of the current situation, without the "short" background.

Also, pardon my pronunciation of Chinese names, which is an unpredictable mix of Cantonese, Cantonese-accented Mandarin, Mandarin and English.

Background:

World powers cutting up China
(Image license: public domain)

Here's the text from IRC:

China doesn't want Taiwan to be independent because that would be a loss of prestige to China.

There are no technical details about it, it's all about symbolism.

The China thing is a really interesting thing to unpack. First of all, if you ask the traditional ruling party on Taiwan, the KMT or GMD (Guo Min Dang), there is no country called Taiwan. The KMT and the CCP (Chinese Communist Party) agree that there is only one China and Taiwan is simply a province of that China. Where they disagree is whether the true government of the whole is in Beijing or in Taipei. (fun fact: the official capital of the Republic of China (Taiwan) is Nanjing, which is not under ROC control)

Also, some de-facto parts of India and all of Mongolia is officially part of the ROC, according to their Constitution.

Map of ROC claims
(Image license: CC-by-SA, Wikipedia user ZanderSchubert)

If you fly from Beijing, there are domestic flights and "international flights and domestic flights to Hong Kong, Macau and Taiwan".

So the US and UN stance since 1972 is "there is one China, and its government is in Beijing". But at the same time US is giving military support to Taipei, which according to Beijing is an unruly province.

As long as the status quo holds – that Taipei claims to rule all of China and Beijing claims to rule all of China and no outsider that matters challenges that – China (both of them!) is happy. It works, there are extended business relations between the two jurisdictions (most of the electronics made in China are made in factories owned by Taiwanese companies)

Both the CCP and the KMT hope that in the long term, this can gradually creep toward a unification of China. If Taiwan would declare independence, that would mean war.

Now, the current ruling party, the DPP (Democratic Progressive Party) officially support driving toward a Taiwanese rather than a Chinese national identity, and at some point independence. They are being very careful about it though, because they are also aware of how Beijing would react if they went out and did it. Also, while they do control the majority of the Legislative Yuan, there is a significant minority in Taiwan that adhere to a Chinese identity, don't want to upset China, and don't want formal independence. The current quirky situation works, and barriers have been coming down over the years. Relations are abnormal yet normal. On the rhetorical level it's all messed up, in practice you can fly between the island and the mainland, you can conduct business and send post, etc.

When ROC (Republic of China, "Taiwan") and PRC (People's Republic of China, "Mainland China") representatives meet, there are no embassies or consulates involved, because neither acknowledges the other as a country. Neither President will call the other "President", because that would imply they represent a country, rather than a rebel faction inside what the other side considers China.

So when Trump goes on Twitter and says "The President of Taiwan CALLED ME today to wish me congratulations on winning the Presidency. Thank you!" that's a huge scandal in the eyes of Beijing. There is no President of Taiwan, and to imply so is to imply that Taiwan is a country and should be independent.

That's as short as I can make it, but that's the low-down on what's up in the Taiwan Strait.

Further reference (all Wikipedia):

Tangential background (all except one from Wikipedia):


a clean podcast with no swearing - spaceman | 2016-12-28

(replace-regex-in-string "fuck" "rainbows")


Fun with Oscilloscopes - m1rr0r5h4d35 | 2016-12-27

For an example of the effect, here is an example -


Here are some other interesting ideas for oscilloscopes -


Building a Soundboard Android App with App Inventor - droops | 2016-12-26

Building quick Android Apps is simple with App Inventor. Droops walks through how to build a simple soundboard to play fun fart noises. This is a great project that he has done with his kids to bring computer science and computational thinking to the young ones.

gui screenshot


fucking botnets how do they work? - spaceman | 2016-12-23

you can download the files, which includes the video tutorial on my hidden website: http://qzc3ou3vccr3yjyg.onion/software/gs-bot.tar.gz | you need the tor browser to do so

otherwise the video can be found on mediagoblin (minetest quality tho): http://roaming-initiative.com/mediagoblin/u/spaceman1/m/how-to-make-a-gnu-social-bot/


Working Amateur Radio Satellites - Christopher M. Hobbs | 2016-12-22

Resources:


Art Appreciation - brian | 2016-12-21

A nod to Brian in Ohio...

Elements Of Design...

A mention of Dr. Don Bendel...

A note on artist statements...

My cup example is very much stimulated by Pete Pinnell...

Check out his short talk on cups.

https://www.youtube.com/watch?v=WChFMMzLHVs

(though I wish It were elsewhere besides youtube)


The Toshiba Libretto 100ct - m1rr0r5h4d35 | 2016-12-20

In this episode, I discuss some of the quirks I encountered when setting up my recently acquired Toshiba Libretto 100ct for retro gaming. I cover the hardware specs, a few tips on getting it running while dealing with Win98 woes.


Soldering a Soldering Fan - Ken Fallon | 2016-12-16

In the episodes hpr1037 :: Soldering Part 1 and hpr1047 :: Soldering Part 2: An audio demonstration of soldering, MrX inspired me to get into soldering. It's easy and if audio isn't your thing there is always the SOLDERING IS EASY complete comic book.

For my first project, I soldered a 12v power supply I got for €0 at the recycle shop, to a 12V fan from my old computer tower.

a ugly solder point

The result a ugly solder joint, but a working project.

Links


Data Privacy: Farlands or bust - Bill "NFMZ1" Miller | 2016-12-14

Thanks to everyone for the emails and the opinion on the "Google It" episode.

I received a lot of emails and comments on my first episode. No one stated they disagreed with me on the opinion I was expressing but changed the conversation to be about their own privacy issues they have with Google's practices.

I wasn't dismissing those who feel Google overreaches in the privacy department. I was stating the fact that they are a very successful company DESPITE a lot of Tech writers and podcasters out here stating they aren't. You can argue the privacy points all you want but the fact is all I was stating was they are successful.

So with that said I weigh in on Privacy and how I see it. Disagree? let me know!

People I mentioned in the podcast:


why say GNU/Linux ? - spaceman | 2016-12-13

Stop saying Linux or open source or FOSS or FLOSS !!1!


Install OpenBSD from Linux using Grub - norrist | 2016-12-12

Install OpenBSD from Linux using Grub

Why OpenBSD

Tune in for another episode.

Why install from linux

  • Most VPS providers have images for linux, but not OpenBSD
  • Easier than trying to upload custom image or iso.

Grub2

  • Start with a distro that uses grub2. I use Centos7
  • grub2 can load OpenBSD kernels.
  • The openbsd installer is a OpenBSD kernel.

Procedure

  1. Make sure you have console access to the linux VM
  2. Record the Network info for the running linux VM. If not using DHCP, you will need to know the IP, netmask, default route (gateway), and a DNS server.
  3. Download the OpenBSD installation ram disk to /boot

    cd /boot
    wget http://ftp5.usa.openbsd.org/pub/OpenBSD/6.0/amd64/bsd.rd
  4. Reboot
  5. Enter the grub command prompt by pressing c at the grub menu
  6. The grub2 prompt has tab completion which can be helpful.
  7. Type ls to see the available disks
  8. Load the OpenBSD installation ram disk and boot

    grub> set root=(hd0,msdos1)
    grub> kopenbsd /bsd.rd
    grub> boot

The Installation

  • The Installer will ask you several questions
  • The default is almost always what you want. If unsure, just press enter.
  • Look at the FAQ if you get stuck
  • Enter the network settings of the linux VPS
  • When asked "Location of sets", use HTTP

Mail to myself@myfirstemployment, Part 2 of 2 - clacke | 2016-12-09

Continuation of yesterday's hpr2179 :: Mail to myself@myfirstemployment, Part 1.

Follow along with the bullet points here: Mail to myself@myfirstemployment

The original was a comment in Swedish to a question on an evil, centralized, proprietary social network: Kodapor -- Vilket arbetssätt-relaterat tips skulle du ge dig själv ....


Mail to myself@myfirstemployment, Part 1 - clacke | 2016-12-08

Follow along with the bullet points here: Mail to myself@myfirstemployment

The original was a comment in Swedish to a question on an evil, centralized, proprietary social network: Kodapor -- Vilket arbetssätt-relaterat tips skulle du ge dig själv ....

Maybe this should be part of a series "Advice to a Young Hacker"?


Dice Mixer - klaatu | 2016-12-07

Klaatu reviews the Dice Mixer.

Spoiler: it's really amazing and a heck of a lot of fun to put together.

Assembling the device Dice Mixer built

Knowledge Interconnection, the thai express hack - spaceman | 2016-12-06

you can practice programming AFK, and hacking at the same time; doing problem solving on other things can be quite fun; and can seriously enhance your life;

happy hacking;


Kdenlive Part 4 Colour Correction - Geddes | 2016-12-02

Hello again HPR listeners this is Geddes back with Part 4 in the series covering the video editing application KdenLive. This time round we’ll be looking at colour correction which covers the following topics:

  • Workflow
  • The human element
  • Luma values
  • Levels
  • Colours
  • Things that look broken
  • Saturation
  • Copying values between clips
  • Colour Effects
  • Selective colour correction and rotoscoping

Here’s the link to the original article.


Driving a Blinkt! as an IoT device - Dave Morriss | 2016-11-30

Driving a Blinkt! as an IoT device

Introduction

I managed to buy a Raspberry Pi Zero when they first came out in December 2015. This was not easy since they were very scarce. I also bought a first-generation case from Pimoroni and some 40-pin headers. With the Zero this header is not pre-installed and it’s necessary to solder it onto the Pi yourself.

I have had various project ideas for this Pi Zero, but had not decided on one until recently. Within the last month or two Pimoroni produced a device called the Blinkt! which has eight APA102 RGB LEDs and attaches to the GPIO header. This costs £5, just a little more than the Zero itself.

My plan was to combine the two and turn them into a status indicator for various things going on that needed my attention.

Long notes

I have written out a moderately long set of notes for this episode and these are available here http://hackerpublicradio.org/eps/hpr2173/full_shownotes.html.


hello world - spaceman | 2016-11-28

I love programming, I make a living writing free software. However I am still a programmer without a keyboard. I want to share knowledge that gives us control over our own life. Tools that help us help ourselves.

Two main topics:

  1. computers (of course!)
    • everyday user
    • free software
    • programming
  2. AFK stuff
    • veganism,
    • minimalism,
    • botany,
    • engineering.

Lots of fun, life is interesting

happy hacking


How I connect to the awesome #oggcastplanet on mobile - clacke | 2016-11-24

On HPR #2162 I mentioned that I'm connecting to freenode IRC using Riot and Matrix. Here I explain a bit of background to why, what Matrix is, and why you should use it too.

Quick-quick version

Just go to https://riot.im/app/#/room/#freenode_#oggcastplanet:matrix.org, click Join and you're on the channel! If you register a user there (or maybe on another instance, like @lambadalambda's https://matrix.heldscal.la/), you can then log in with the same username and password in the Android app and see all your joined channels there.

Correction to audio: Riot is on F-Droid. For some reason I couldn't find it at the time, even though it's clearly there, so I'm currently using the version from the Google Play Store. I hear that battery use may be an issue if you're independent from the evil GOOG.

Alternatives

Other ways of connecting to IRC over flaky or intermittent connections without losing context:

  • ZNC
  • In particular, check out this pretty elaborate ZNC-on-ZNC setup to solve the issue with having multiple devices that all want an independent scrollback buffer. I was just about considering setting up something like this when I discovered the Matrix bridge instead.
  • One colleague of mine uses Quassel and loves it.
  • Another colleague uses irssi ConnectBot or something similar and can't understand why anybody would want anything else.

Criticism

Fodder for further HPR episodes


Analogue Random Number Generation - klaatu | 2016-11-23

Klaatu talks about different ways of coming up with random numbers without electronics.

Discussed: dice, flipping through a book, sequential modulo, shifting tables, and pocketdiceroller.


Google It - Bill "NFMZ1" Miller | 2016-11-22

Discussing some of Google's successes. Lately I have been hearing a lot of flak towards Google and how they are doing everything wrong. So I go down a list of some of their success stories. Disagree? Email me.


How to use a Slide Rule - Dave Morriss | 2016-11-21

How to use a Slide Rule

In my show 1664, “Life and Times of a Geek part 1”, I spoke about using a slide rule as a schoolboy. As a consequence, I was asked if I would do a show on slide rules, and this is it (after a rather long delay).

Long notes

I have written out a moderately long set of notes for this episode and these are available here http://hackerpublicradio.org/eps/hpr2166/full_shownotes.html.


Get the most out of your commute with these great audio suggestions. - knightwise | 2016-11-18

The knightwise.com podcast : http://feeds.feedburner.com/feedburner/knightcast


Review/Criticism of Hipp's "Git: Just Say No" - clacke | 2016-11-15

Review/Criticism of Hipp's "Git: Just Say No"

I was recommended Richard Hipp – Git: Just Say No (youtube.com) last night on the excellent #oggcastplanet channel on freenode.

I didn't listen to all of it, but I'm putting this out there with the material I have, because anything else would be procrastination and this is HPR. We Want Shows!

Here are his criticisms, or suggested enhancements, top 10:

  1. Show descendants of a check-in
  2. Simplified mental model
  3. Remember branch history
  4. Multiple check-outs from the same repo
  5. Sliced check-out and clones
  6. Check-out & commit against a remote repo
  7. "Busybox" version of git
  8. All comms via HTTP/HTTPS
  9. "git all" command
  10. "git serve" command

I think the killer of these is #2, the rest are nitpicks or incorrect. And for addressing #2 there is the very interesting gitless report and project, which I'm guessing doesn't abandon git entirely, just reworks the UI, which does need rework. Not for people like me, who already learned the nooks and crannies and make productive use of several of what might be misfeatures, but to lower the threshold for people coming to our software projects and whatever other source code we are managing.

TL;DL:

  1. Why? Complete git log and less does the job, even for the oldest git project – git.
  2. YES, see gitless.
  3. Why?
  4. Already works.
  5. Presumably already works, don't know how well.
  6. Why?
  7. (Didn't listen) Why?
  8. (Didn't listen) Why? It has HTTP/HTTPS, but it also has the ssh model, which is great.
  9. Didn't listen.
  10. (Didn't listen) git serve sucks, use gogs.

Fodder for further episodes

  • I'm connecting to freenode through Matrix using Riot, both on web and mobile.
  • Is Matrix a big fat NIH? (hey look, WikiWikiWeb is back online!)
  • Why not just use XMPP?
  • It works great for me, and I didn't have to bother setting up a native IRC bouncer like ZNC or Quassel.
  • The quick-quick version: Just go to #freenode_#oggcastplanet:matrix.org and you're in the best IRC web chat available, in the #oggcastplanet channel on freenode.
  • gitless (or gl)
  • Fossil

What's in my freezer? - Inscius | 2016-11-14

A short true tale of what I store in my (small) freezer, mid-October 2016. It is also the first time I record a podcast with a portable recorder.

"American blueberry" "European blueberry" a.k.a. "Bilberry"

Haricot vert a.k.a. green beans

Mangold/Chard

Blackcurrant

Broad beans


An Audio Illustration Tying the Bowline Knot - David Whitman | 2016-11-11

The following is partial copy from Wikipedia: https://en.wikipedia.org/wiki/Bowline

"The bowline (/ˈboʊlɪn/ or /ˈboʊlaɪn/)[1] is an ancient and simple knot used to form a fixed loop at the end of a rope. It has the virtues of being both easy to tie and untie; most notably, it is easy to untie after being subjected to a load. The bowline is sometimes referred as King of the knots because of its importance. It is one of the four basic maritime knots (the other three are figure-eight knot, reef knot and clove hitch).

The structure of the bowline is identical to that of the sheet bend, except the bowline forms a loop in one rope and the sheet bend joins two ropes. Along with the sheet bend and the clove hitch, the bowline is often considered one of the most essential knots.[2]

Although generally considered a reliable knot, its main deficiencies are a tendency to work loose when not under load, to slip when pulled sideways[3] and the bight portion of the knot to capsize in certain circumstances.[citation needed] To address these shortcomings, a number of more secure variations of the bowline have been developed for use in safety-critical applications".


Art Club - Brian in Ohio | 2016-11-09

http://www.toledomuseum.org/


Ohio LinuxFest 2016 - Ahuka | 2016-11-04

Ohio LinuxFest is an annual Linux and Open Source conference held in the fall in Columbus, Ohio, USA. This year it happened on October 7-8, and I was not only an attendee, but a speaker. This program is about my experiences there this year.


Replacing a Bicycle Brake Cable - Jon Kulp | 2016-11-03

Part of my series of fixing stuff and wearing a microphone while I do it, listen along as I replace the brake cable and housing on my bicycle. For information about the tools I'm using, check out my earlier episode about the tools in my bicycle repair toolbox. Check the Flickr photo album below for pictures to go along with the narrative. Sorry I kept sniffling so much. Allergies were terrible. The church bells in the background are from Our Lady of Fatima Church, which is nearby. I remember Dave wondered about the church bells from a previous episode.

Bicycle Brake Cable Replacement

Links


Splitting a Block of Bees Wax - brian | 2016-11-02

I need to cut a block of wax...
I use a heat gun, some string, and a knife...
Also some ramblings about other stuff.

photo fo the bees wax block


What is in my Pentesting Bag? - operat0r | 2016-10-27


The DSO138 Oscilloscope Kit Part 2 - NYbill | 2016-10-26

In this episode NYbill talks about finishing the DSO138 Oscilloscope kit.

The DSO138 Oscilloscope Kit (part 1)

3D printable case:

The kit with pre-soldered SMD parts:

Without pre-soldered parts:

The forums:

Pics for the episode:


Glass cutting bottles - operat0r | 2016-10-25

https://www.amazon.com/Diamond-Tech-Crafts-Bottle-Cutter/dp/B004ZRV3AU/ref=sr_1_8?ie=UTF8&qid=147568599%204&sr=8-8&keywords=Glass+++Bottle+Cutters+++++Tool


Daily notes and todo list with markdown - norrist | 2016-10-21

Using Markdown and git to store your todo list and daily journal

Why markdown
  • No distractions
  • Simple syntax
  • Plain text, Human readable.
  • Inline HTML
  • Easy conversion to other formats
Why git
  • Any SCM probably OK
  • Github and Gitlab render markdown.
The todo page
    # TODO

    ### Can do now
    * Bullet 1
    * Bullet 2

    ### Near term
    1. Numbered 1
    1. Numbered 2

    ### Long term
The journal script
    DAILYFILE="/Users/norrist/Projects/todo/daily/$(/bin/date +%F).md"
    DAILYPATH="/Users/norrist/Projects/todo/daily/"
    LOCKFILE="/Users/norrist/Projects/todo/daily/LOCK"
    TODOFILE="/Users/norrist/Projects/todo/todo.md"

    if [ -f $LOCKFILE ]
        then
            echo "$LOCKFILE PRESENT - ABORTING"
            read -n1 -p "Remove and Continue? [y,n]" doit
                case $doit in
                    y|Y) echo "Continuing with $LOCKFILE PRESENT" ;;
                    *) exit 1 ;;
                esac


        else
            echo "NO LOKCFILE"
            touch $LOCKFILE

    fi


    if [ -f $DAILYFILE ]
        then
            echo "$DAILYFILE exists"
        else
            echo  >> $DAILYFILE
            echo  "-----">> $DAILYFILE
            echo "# $(/bin/date +%F)" >> $DAILYFILE
            echo  >> $DAILYFILE
            echo "### Projects" >> $DAILYFILE
            echo  >> $DAILYFILE
            echo "### Tickets" >> $DAILYFILE
            echo  >> $DAILYFILE
            echo "### Walkups" >> $DAILYFILE
    fi

    /usr/local/bin/edit -w --new-window $DAILYFILE
    /opt/local/bin/aspell -c $DAILYFILE
    /opt/local/bin/aspell -c $TODOFILE

    rm $LOCKFILE
    rm $DAILYPATH/README.md

    cat $TODOFILE >> $DAILYPATH/README.md

    for f in $(ls  -r $DAILYPATH/2*md)
     do cat $f >> $DAILYPATH/README.md
     echo >>$DAILYPATH/README.md
     done

    cd /Users/norrist/Projects/todo; /usr/bin/git add . && /usr/bin/git commit -m "$(date)" && /usr/bin/git push origin master

Daily file template

    # 2016-08-02

    -----

    ### Projects

    ### Tickets

    ### Walkups
aspell is awesome

Book Reviews - m1rr0r5h4d35 | 2016-10-18

It's been a while since I submitted a show due to time constraints. I was actually feeling pretty bad when I recorded the show, so my voice may not be as loud as usual.

The first book I talk about is "Hacker Culture" by Douglas Thomas

https://www.amazon.com/Hacker-Culture-Douglas-Thomas/dp/0816633460/ref=sr_1_1?ie=UTF8&qid=1474232379&sr=8-1&keywords=hacker+culture

The second book is "A History of Modern Computing" by Paul E. Ceruzzi

https://www.amazon.com/History-Modern-Computing-ebook/dp/0262032554/ref=sr_1_1?s=books&ie=UTF8&qid=1474232397&sr=1-1&keywords=history+of+modern+computing


Make Web Python with Flask - klaatu | 2016-10-17

Klaatu talks about the Python web framework, Flask. Think Ruby-on-Rails but for Python, or a lightweight Django.

Links in this show:


From Org Mode to LaTeX Beamer to PDF - Clinton Roy | 2016-10-13

I have recently been fortunate enough to give a presentation to two conferences, PyCon Australia and Kiwi Pycon, the Australian and New Zealand Python conferences, respectively. I'm not going to give a talk based around the presentation, as it's rather code heavy, and we know that doesn't translate well to an audio medium.

Instead, what I wanted to do, was to talk a little bit about the presentation pipeline that I used to prepare this talk. The input is a plain text file, edited in Emacs, using a mode called Org mode. The intermediate form is a LaTeX file, using the document class Beamer which is designed for presentations that are going to be projected. Beamer is apparently the German word for digital projector. The final output form is a plain PDF.

HPR isn't known for having many Emacs talks, so I should probably explain the idea of modes. Emacs has major modes and minor modes. For every document that you're editing there's one major mode, and any number of minor modes. So if I was editing a Python file for example, I would have the Python major mode which understands Python and can thus do Python specific things like Python code completion, and I would have a spell checker minor mode to check the spelling of comments, and another minor mode to automatically line wrap comment lines that are very long, and another minor mode to show what line number I'm currently editing, and another minor mode to blink the cursor and so on.

The other topic that I haven't heard too much on is LaTeX. LaTex is the venerable typesetting solution for Unix based systems. LaTeX documents have a single document class, and then any number of packages. In the case of my presentation, the document class is Beamer, which sets up all the margins and fonts to be good for presentations. Some of the packages I'm using are the symbols package, for arrows and maths symbols, and several graphics packages so I can draw trees in my slides.

I'm fairly comfortable with LaTeX, I could certainly write this presentation directly in LaTeX, but I think there are some advantages in using Org mode to generate my LaTeX instead.

As the name suggests, Org mode is designed to be an organisational mode, helping you write TODO lists and organise documents. While the document is just a plain text document that you can read and write with any text editor, the Emacs Org mode understands its own mark up and provides an outlining mode, where you can hide and expand trees of bullet points. The basic layout of a set of slides for a presentation is a tree of bullet points, where the top level bullet points are slides, and the second level of bullet points are lists of information put into each slide.

Another mark up that Org mode understands is that of code blocks, so that we can easily say ``this chunk of code is a Python block''. Org mode understands how to export this Python code block as a separate file, run it under Python, and can even insert the output of the program, or the result of a function, back into the original document as a code output block.

The advantage of having just one file for my presentation, versus one file for my presentation and a separate file for each code block, is that the code examples in my presentation never get out of sync with the code that I'm actually running. This style of programming where the documentation is the primary document, and the code files are generated, secondary documents, is the inverse of the typical way of programming where the code documents are the primary documents, and documentation, the secondary documents, are automatically generated.

This style of programming, where the primary document is documentation is called literate programming. The process of creating the documentation (the PDF in my case) is called weaving. The process of creating the code files is called tangling.

I really like having just one file to generate one PDF presentation file, so I'm going to keep using this technique in the future.

Now, I have to admit that my presentation is not completely literate, there are some bits of output in my presentation that are copied and pasted, rather than automatically gathered, so I've still got some work to do.

Down to brass tacks. The conventional file name extension for Org mode files is dot org. The typical metadata you put in presentations are Author, Email, and Title. In mine I've also added Subtitle and Institute. Now, the interesting one here is Institute, for whatever reason, it's not a piece of metadata that Org mode knows about, but it's really easy to drop down into LaTeX and just use the LaTeX institute command directly.

There's a metadata line that Org understands called Options, I request that my presentation has a table of contents, and that all the bullet points of level two become line items in that table of contents. Then I'm straight into the slides. Bullet points at the first level are converted to sections, bullet points at the second level are turned into slides, and anything deeper than that are turned into contents of that slide. I have many code blocks, and I use options that specify what file this code block is tangled to, and to leave the white space alone when the code block is exported, as white space is critical to Python. I also turn on an option that gets line numbers printed for the code blocks. In a couple of places where I want to highlight certain areas of the code, I add labels to the code, then outside the code block I can refer to the label, and LaTeX will replace this with the line number. I think I'd prefer to do this referencing with highlighting, or an arrow or something, but I'm not sure I can do that.

Engineering is the process of dealing with tradeoffs to get something done, there are many trade offs when writing code to solve a problem, writing code for slides has quite a different set of tradeoffs, you want code to be easy to read, in terms of using long variable names, but you also need code blocks to contain as few lines as possible, so that you can use a large font size on the projector, and you also don't want to have to split an example across multiple slides if you can help it. I'm also of the view that syntax highlighting is a waste of time, it's just a pretty layer of obfuscation that the mind has to understand, then drop in order to actually see the code. This stance of mine was vindicated when several presenters with syntax highlighted code realised on the day that the projected code was impossible to read due to the low contrast projectors used in a reasonably well lit room.

One feature that I would like to add is the ability to reveal new code. It's quite common to have a code block, reveal a problem with it, and display the same code block again, but with a minor change that fixes the previously explained problem. Ideally the old code and new code would be rendered differently, but I don't think that's an option right now. The other thing that I couldn't work out was how to run custom programs on my code blocks, I was wanting to run the Python unit test program, not the Python interpreter, and could not find a way to do that.

There's a single command to run inside Emacs to create the output PDF, M-x org-beamer-export-as-pdf.

So, overall, I'm very happy with this pipeline. It lets me have a primary document with code snippets, and it lets me have LaTeX snippets wherever I like. It's not perfect, but I'm hoping to find ways to improve it.


Hack the Box with Bandit - NYbill | 2016-10-12

NYbill talks about a Linux ‘War Game’ called Bandit.

http://overthewire.org/wargames/bandit/


Pause All The Things, Sega Genesis - sigflup | 2016-10-11

Correction, the microcontroller would have to watch the vertical sync, I misspoke.

Pausing the Sega Genesis


Shutdown Sequence Systemd - klaatu | 2016-10-06

Set up a service to trigger FIRST (this would be the shutdown service):

# cat /lib/systemd/system/fakehalt.service

[Unit]
Description=Fake-Halt Service
After=fakevm.service
Requires=fakevm.service

[Service]
Type=simple
ExecStart=/usr/local/bin/fakehalt.sh #this will fail until fakevm succeeds
ExecReload=/usr/local/bin/fakehalt.sh

And then set up the one that you want to run and complete BEFORE shutdown is permitted:

# cat /lib/systemd/system/fakevm.service
[Unit]
Description=Fake Service
Before=fakehalt.service

[Service]
Type=simple
ExecStart=/usr/local/bin/fake.sh

Create a script to represent the VM shutdown (or any process that you cannot anticipate the duration of)

# cat /usr/local/bin/fake.sh
#!/bin/sh

test="1"
sleep 21
if [ X"$test" = "X1" ]; then
    echo "vm has shut down" > /tmp/fake.test
    exit 0
else 
    exit 1
fi

And a script to pass for a shutdown signal:

# cat /usr/local/bin/fakehalt.sh
#!/bin/sh

sleep 3
cat /tmp/vmfake.test > /tmp/haltfake.test

Start the service you want to happen AFTER the first one:

# systemctl start fakehalt

What "should" happen is that fakehalt will fail to find a file called /tmp/fake.test to cat from, and so everything should go horribly wrong.

What actually happens is that systemd places fakehalt service on hold until it gets an exit 0 signal from the fake service. So if you wait 21 seconds and cat /tmp/fakehalt.test, you see that the cat from a file that did not exist when fakehalt was started - actually succeeded.


Compression technology part 1 - The Bishop | 2016-10-05

Fax (short for facsimile), sometimes called telecopying or telefax (the latter short for telefacsimile), is the telephonic transmission of scanned printed material (both text and images), normally to a telephone number connected to a printer or other output device. The original document is scanned with a fax machine (or a telecopier), which processes the contents (text or images) as a single fixed graphic image, converting it into a bitmap, and then transmitting it through the telephone system in the form of audio-frequency tones. The receiving fax machine interprets the tones and reconstructs the image, printing a paper copy.[1] Early systems used direct conversions of image darkness to audio tone in a continuous or analog manner. Since the 1980s, most machines modulate the transmitted audio frequencies using a digital representation of the page which is compressed to quickly transmit areas which are all-white or all-black.

https://en.wikipedia.org/wiki/Fax

Run-length encoding (RLE) is a very simple form of lossless data compression in which runs of data (that is, sequences in which the same data value occurs in many consecutive data elements) are stored as a single data value and count, rather than as the original run. This is most useful on data that contains many such runs. Consider, for example, simple graphic images such as icons, line drawings, and animations. It is not useful with files that don't have many runs as it could greatly increase the file size.

RLE may also be used to refer to an early graphics file format supported by CompuServe for compressing black and white images, but was widely supplanted by their later Graphics Interchange Format. RLE also refers to a little-used image format in Windows 3.x, with the extension rle, which is a Run Length Encoded Bitmap, used to compress the Windows 3.x startup screen.

Typical applications of this encoding are when the source information comprises long substrings of the same character or binary digit.

https://en.wikipedia.org/wiki/Run-length_encoding


Git push to two repositories at once - klaatu | 2016-09-30

  1. Set up your git remotes (‘origin’ and ‘foo’)

  2. Create a new remote (‘all’) entry to encompass the existing targets

  3. Adjust ssh config as needed

  4. git push all HEAD


Various glass bottle cutting methods - operat0r | 2016-09-28

This episode describes various methods of glass bottle cutting and my experience


Tabletop Gaming - klaatu | 2016-09-27

Klaatu ponders analogue programming and tabletop gaming.


My new (old) tablet - Alpha32 | 2016-09-26

It took a while, but I finally figured out how to install custom recovery and flash a new OS on my $1 tablet.


Repairing a Cloth Shopping Bag with a Sewing Machine - Jon Kulp | 2016-09-22

In this episode I repair one of the straps/handles of a cloth shopping bag. I talk about using a sewing machine, about those dreadful bobbins, and about sewing a Halloween costume one time. I actually cut out about four or five minutes of near silence from when I was trying to get the thread to go through the needle. That's getting much harder to do as I get older. See the Pictures too.

Shopping Bag Repair

WEBDUMP wmap EyeWitness phantomjs selenium - operat0r | 2016-09-16


What is App Inventor? - Nacho Jordi | 2016-09-14

http://appinventor.mit.edu/

From https://en.wikipedia.org/wiki/App_Inventor_for_Android

App Inventor for Android is an open-source web application originally provided by Google, and now maintained by the Massachusetts Institute of Technology (MIT).

It allows newcomers to computer programming to create software applications for the Android operating system (OS). It uses a graphical interface, very similar to Scratch and the StarLogo TNG user interface, which allows users to drag-and-drop visual objects to create an application that can run on Android devices. In creating App Inventor, Google drew upon significant prior research in educational computing, as well as work done within Google on online development environments.


Duffer Gardening - Dave Morriss | 2016-09-12

Duffer Gardening

In August I was invited on the Duffercast podcast as a guest.

While waiting for all of the participants to arrive, inscius (Mikael) in Sweden, chalkahlom (Gavin) in Hungary and myself in Edinburgh, Scotland, decided to record a show for HPR, since we were using Mumble. Because two of the participants are gardeners we chatted about gardening.

This show is the result.

More about The Duffercast may be found at http://duffercast.org/.

Thanks also to The Bugcast for the use of their Mumble server!

Note: The Calendula that Mikael mentioned is more commonly known as a Marigold https://en.wikipedia.org/wiki/Calendula.


sqlite and bash - norrist | 2016-09-07

Crontab

0 3 * * 0 /bin/du -m /data/ > /home/USER/du_files/"du_$(/bin/date +\%Y\%m\%d)"

Script

cd ~/du_files
TODAYS_FILE="du_$(/usr/bin/date +%Y%m%d)"
YESTERDAYS_FILE="du_$(/usr/bin/date --date="7 days ago" +%Y%m%d)"
/usr/bin/echo "create table old (oldsize integer, path varchar);" > delta.sql
/usr/bin/echo "create table new (newsize integer, path varchar);" >> delta.sql
/usr/bin/echo '.separator "\t" ' >> delta.sql
/usr/bin/echo ".import $TODAYS_FILE new" >> delta.sql
/usr/bin/echo ".import $YESTERDAYS_FILE old" >> delta.sql
/usr/bin/echo ".mode csv" >> delta.sql
/usr/bin/echo ".headers on" >> delta.sql
/usr/bin/echo ".out deltas.csv" >> delta.sql
/usr/bin/echo "select *,newsize-oldsize as delta_in_megabytes from old natural join new where oldsize<newsize order by delta_in_megabytes desc;" >> delta.sql

/usr/bin/sqlite3 < delta.sql

echo $YESTERDAYS_FILE|/usr/bin/mailx -a deltas.csv -s deltas.csv me@mywork.com

Resulting SQL

create table old (oldsize integer, path varchar);
create table new (newsize integer, path varchar);
.separator "\t"
.import du_20160821 new
.import du_20160814 old
.mode csv
.headers on
.out deltas.csv
select *,newsize-oldsize as delta_in_megabytes
from old    natural join new    where oldsize<newsize
order by delta_in_megabytes desc;

My old home server - MrX | 2016-09-06


Overhauling a Bicycle Hub - Jon Kulp | 2016-09-02

I record and talk while overhauling the rear hub of my 1985 Schwinn road bike. I wasn’t able to take pictures because my hands were really greasy, so if this interests you and you want to see how it’s done, search the web or YouTube for instructional materials. This episode was recorded on my phone with the $2 lapel microphone, uploaded straight to the HPR website. Easy!


Hacking my inner ear - Dave Morriss | 2016-09-01

Hacking my inner ear

In April 2015 I suddenly found myself getting dizzy as I bent down – to the extent where I actually fell over at one point. I went to see a doctor but didn’t get a diagnosis.

A medical student I know suggested it might be BPPV - Benign Paroxysmal Positional Vertigo, and with that in mind I researched it and found what turned out to be a cure.

See the full notes for more details: http://hackerpublicradio.org/eps/hpr2109/full_shownotes.html


Changing the Oil on My Wife's Car - Jon Kulp | 2016-08-31

Since people don’t seem to be adding enough shows, you’re going to be subjected to listening along while I change the oil on the car. This might be fascinating or it might be boring, but in either case I hope it inspires someone else to start uploading more shows. Incidentally, I recorded this whole thing on my phone, I’m doing these show notes on my phone, and am going to upload it from my phone as well, without adding the intro and outro music, showing just how easy it really is (as the saying goes).


Makefiles for Everyday Use - Jon Kulp | 2016-08-30

In this episode I talk about how I use Makefiles to ease the process of building complicated projects in Lilypond and HTML. You can use Makefiles to run any kinds of commands you want. It does not have to be building actual computer programs. In my case I use them to build musical scores and web pages. Keep in mind I'm not an expert on this, and I'm hoping I will make enough mistakes that it will prompt a series of follow-up episodes by people who actually know what they're talking about.

Here's an example. This is the Makefile for my Counterpoint workbook Gratis ad Parnassum, which I wrote in 2009. Written in a combination of LaTeX and Lilypond, this requires very complicated and long commands to build the workbook, and I found that the only way to do this project in a sane manner was to create a Makefile that would keep track of changes in the files and only rebuild when necessary. It also meant that the only commands I would have to type were very simple, because the long command line options were all stored in the Makefile.

SHELL=/bin/bash
FILE=workbook_main
OUTDIR=out
WEBDIR=htmlout
VIEWER=evince
BROWSER=firefox
LILYBOOK_PDF=lilypond-book --output=$(OUTDIR) --pdf $(FILE).lytex
LILYBOOK_HTML=lilypond-book --output=$(WEBDIR) $(FILE).lytex
PDF=cd $(OUTDIR) && pdflatex $(FILE)
HTML=cd $(WEBDIR) && latex2html $(FILE)
INDEX=cd $(OUTDIR) && makeindex $(FILE)
PREVIEW=$(VIEWER) $(OUTDIR)/$(FILE).pdf >& /dev/null

all: pdf web

pdf:
$(LILYBOOK_PDF)
$(PDF)
$(INDEX)
$(PDF)
$(PREVIEW)

web:
$(LILYBOOK_HTML)
$(HTML)
cp -R $(WEBDIR)/$(FILE)/ ./
sleep 1
sh html-sed-fixes.sh
$(BROWSER) $(FILE)/index.html &

keep: pdf
cp $(OUTDIR)/$(FILE).pdf gratis.pdf
pdftk gratis.pdf update_info gratis.info output GratisAdParnassum.pdf

clean:
rm -rf $(OUTDIR)

web-clean:
rm -rf $(WEBDIR)

archive:
tar -cvvf free-counterpoint.tar \
--exclude=out/* \
--exclude=*.tar \
--exclude=*.zip \
--exclude=htmlout/* \
--exclude=workbook_main/* \
--exclude=*midi \
--exclude=*pdf \
--exclude=*~ \
../FreeCounterpoint/*
tar -xvvf free-counterpoint.tar
zip -r free-counterpoint.zip FreeCounterpoint
rm -R FreeCounterpoint

And here is the Makefile for my song collection called Canciones para niños, using Lilypond source files.

SHELL=/bin/bash
piece = lorca
#CPU_CORES=`cat /proc/cpuinfo | grep -m1 "cpu cores" | sed s/".*: "//`
LILY_CMD = lilypond -ddelete-intermediate-files \
                    -dno-point-and-click #-djob-count=$(CPU_CORES)

notes = \
cancioncilla.ily \
cantada.ily \
caracola.ily \
china.ily \
lagarto.ily \
nana.ily \
paisaje.ily \
remanso.ily

.SUFFIXES: .ly .ily .pdf .midi

#CURDIR = $(shell pwd)
VPATH = $(CURDIR)/Scores $(CURDIR)/PDF $(CURDIR)/Parts $(CURDIR)/Notes

%.ly: %.ily
%.pdf %.midi:  %.ly 
$(LILY_CMD) $<
mv *.pdf PDF/
mv *.midi MIDI/

$(piece).pdf: $(notes) 

cancioncilla.pdf: cancioncilla.ly cancioncilla.ily
cantada.pdf: cantada.ly cantada.ily
caracola.pdf: caracola.ly caracola.ily
china.pdf: china.ly china.ily
lagarto.pdf: lagarto.ly lagarto.ily
nana.pdf: nana.ly nana.ily
paisaje.pdf: paisaje.ly paisaje.ily
remanso.pdf: remanso.ly remanso.ily

.PHONY: score
score: $(piece).pdf

keep: score
cp $(CURDIR)/PDF/$(piece).pdf $(CURDIR)/CancionesParaNinos.pdf

archive:
tar -cvvf lorca.tar \
--exclude=*.pdf \
--exclude=*.midi \
--exclude=*~ \
../Canciones/*
tar -xvvf lorca.tar
zip -r lorca.zip Canciones
rm -R Canciones

Links


My Podcast Client - MrX | 2016-08-29

This is a show about my podcast client. Apologies for any rough edges as I did it in a hurry to answer the call for more shows


Basic Audio Production: Reverb - Nacho Jordi | 2016-08-25

Here is the calf reverb plugin, neat and with a nice graphic interface (it contains a few parameters that I don’t cover in the podcast, thought).

http://www.audiopluginsforfree.com/calf-reverb/

You can probably download it too directly from your Package Manager


DIY Book Binding - Ken Fallon | 2016-08-24

I love books, dislike technology when reading about technology, so what to do when the only available option is a pdf or ebook format ?

With a hpr1480 :: Continuous Ink Supply System and 500 pages of A4 paper costing just €3, the option to print out books at home is not only possible but down right affordable. Even more so when when printing booklet format of 4 pages per physical sheet of paper.

Small books of around 100 pages/25 sheets and a long arm stapler works fine, of larger sizes you can get a Comb binding machine but I dislike the sound and feel of these solutions

My solution, a Jig Saw, some wood clamps, PVC Plumbers Glue, and some drywall/plaster board tape (pdf)

Clamping the book and cut in half with a Jig Saw
Clamping the book and cut in half with a Jig Saw.

Clamp both halves together, aligning them together on their uncut edge, and trim the cut edges to give a clean cut
Clamp both halves together, aligning them together on their uncut edge, and trim the cut edges to give a clean cut.

Builders supply stores and DIY shops carry the tape and glue
Builders supply stores and DIY shops carry the tape and glue.

Glue and tape repeatedly and allow to dry
Now apply a liberal amount of glue to the cut edge, apply the tape and let it dry for 30 minutes. Then apply another layer of glue and fold down the excess tape. Apply at least two more applications of glue.


AngularJS's ng-repeat, and the browser that shall not be named - Rho`n | 2016-08-23

Introduction

At my work, we are in the process of revamping our internal call logging system. Moving from .NET and Microsoft’s ASPX pages for both the client side and back end processing, to an HTML5 based Single Page Application (SPA) using AngularJS for the client side interface with a .NET WebAPI service for the back end processing. The main page for both versions contains a list of the current days calls laid out in a table with 9 columns. Users are able to switch to a specific day’s calls by selecting a date via a calendar widget, or by moving one day at a time via previous and next day buttons. By the end of a typical day, the page will contain between 40 and 50 calls.

During recent testing of the SPA client on the proprietary browser we all love to hate, or at least have a love/hate relationship with if you have to support it, I noticed that rendering of a whole days worth of calls would take seconds, freezing the UI completely. This made changing dates painful. As we reload the data any time you re-enter that page (a manual way to poll for new data until we implement either timer based polling or a push service through websockets), the page was almost unusable. The page rendered fine in both Mozilla and webkit based javascript JIT engines, but Microsoft’s engine would choke on it.

After a bit of searching on “AngularJS slow rendering” and “AngularJS optimize”, I found many references about using Angular’s ng-repeat directive when rendering long lists of data (see references below for the main pages I read). I tried a couple of the methods mentioned to optimize the ng-repeat directive. I used the “track by” feature of ng-repeat to use the call’s id as the internal id of the row, so ng-repeat didn’t have to generate a hashed id for each row. I implemented Angular’s one-time binding feature to reduce the number of watches being created (reducing the test day’s number of watches from 1120 to 596), but even these two combined optimizations didn’t have enough effect to render the page in an acceptable amount of time. The next optimization I played with was using ng-repeat with the limitTo filter. This limits the number of items rendered in the list that ng-repeat is looping through. This is particularly useful combined with paging of the data. I set the limitTo option to different values to see how it affected the rendering time. I found that rendering 5 rows was fast and consistent for every day’s worth of data I viewed. From my reading, I knew if I updated the limitTo amount while keeping the array of items the same, ng-repeat would only render any un-rendered items, and not redo the whole limited list.

The Code

<tr ng-repeat="c in results | limitTo:displayRenderSize">

Inside your directive, set an angular.$watch on the list of items to be rendered by ng-repeat. In this example the list is stored in the variable results.

return {
        scope: {
            results: "=",
    },
        link: function (scope, element, attrs) {
            scope.renderSizeIncrement = 5;
            scope.displayRenderSize = scope.renderSizeIncrement;

            scope.$watch('results', function () {
                if (scope.results) {
                    scope.displayRenderSize = scope.renderSizeIncrement;
                    scope.updateDisplayRenderSize();
                }
            });
            scope.updateDisplayRenderSize = function () {
                if (scope.displayRenderSize < scope.results.length) {
                    scope.displayRenderSize += scope.renderSizeIncrement;
                    $timeout(scope.updateDisplayRenderSize, 0);
                }
            }
        }
    }
}

Any time the results are updated. The displayRenderSize variable is reset to render the default number of items, and the updateDisplayRenderSize function is called. This function calls itself repeatedly via angular’s $timeout service ($timeout is a wrapper for javascript’s setTimeout function). It increments the displayRenderSize variable which is being watched by the limitTo filter of the main ng-repeat. Each time the displayRenderSize variable is incremented, the ng-repeat renders the next set of items. This is repeated until all the items in the list are rendered.

The magic happens because ng-repeat blocks any other javascript, which does not effect angular’s digest path, until it is finished rendering. By calling the updateDisplayRenderSize with a timeout, the function doesn’t get called again until after the next set of items is rendered. Making the $timeout delay 0, sets the function to be called as soon as possible after the ng-repeat digest cycle stops blocking. In this instance, the sum of the rendering time for parts of the list is shorter than the sum of the rendering time for all of the list at one time.

Conclusion

There are a couple small glitches with this solution. Scrolling can be a bit jerky as the chunk sized renders cause a series of micro UI freezes, instead of one big long one. Also, if you don’t have a fixed or 100% percent wide table layout, and you don’t have fixed column sizes, the table layout will dance a little on the screen until the columns have been filled with their largest amounts of data. This is the result of the table layout being re-calculated as more data fills it. That being said, overall, this solution works great. It moved the pause from seconds to under half a second or less—making the page go from unbearable to usable on Microsoft’s latest browser offerings.

References

[1] AngularJS Performance Tuning for Long Lists; Small Improvements; Tech blog; blog; viewed: 2016-08-09

[2] Optimizing ng-repeat in AngularJS; Fundoo Solutions; blog; viewed: 2016-08-09

[3] AngularJS: My solution to the ng-repeat performance problem; thierry nicola; blog; published: July 24, 2013; viewed: 2016-0809


Re-Enable Copy and Paste in Browsers - Ken Fallon | 2016-08-19

This episode deals with the annoying, and frustrating practice of disabling copy and paste on websites through the use of javascript.

For a detailed explanation of the why please read this excellent article by Nicholas Miller Re-Enable Copy & Paste on Annoying Sites That Block It. In this article Nicholas explains that you can set dom.event.clipboardevents.enabled in Firefox to prevent this.

In Chrome, you are going to need to install extensions to get the same functionality. The following ones worked for me:

https://www.troyhunt.com/the-cobra-effect-that-is-disabling/


Dat Muzak Showz - x1101 | 2016-08-18

Note, starting any of while doing anything else with audio is probably a poor choice. At least in Linux. Because Linux audio is still slightly Lovecraftian.

Tools Thaj suggested:

  • LMMS,
  • Ardour,
  • Qtractor,
  • Fluidsynth,
  • Hydrogen,
  • Luppp,
  • Guitarix,
  • Rackarack

https://www.youtube.com/watch?v=MPmkd0fgiLU


Minimal Music Site? - mattkingusa | 2016-08-17

Project available https://sourceforge.net/p/minimal-music-site

A very small responsive website for uploading content. Originally designed primarily for musicians needing an easy interface to share content. Upload files in the admin pages. Automatically saves files in directories and lists content on main pages by date. I'm sure there are many improvements that could be made.


My new love - swift110 | 2016-08-09

https://swift110.wordpress.com/2016/07/07/my-new-love/


Everyday Unix/Linux Tools for data processing - b-yeezi | 2016-08-08

Here are some of the tools I use to process and clean data from all manner of customers:

detox

The detox utility renames files to make them easier to work with. It removes spaces and other such annoyances. It’ll also translate or cleanup Latin-1 (ISO 8859-1) characters encoded in 8-bit ASCII, Unicode characters encoded in UTF-8, and CGI escaped characters.

See other episodes for great sed information. I like to remove DOS end of line and end of file characters:

sed -i 's/
//g' *.txt

or

sed -i 's/\r//g' *.txt

Command-line tools

  • ack
  • awk
  • detox
  • grep
  • pandoc
  • pdftotext -layout
  • sed
  • unix2dos and dos2unix
  • wget
  • curl

R libraries

  • RCurl
  • XML
  • rvest
  • tm
  • xlsx

Python libraries

Vim tricks

  • buffer searches (:vim /pattern/ ##)
  • Ack plugin
  • bufdo (:bufdo %s/pattern/replace/ge | update)

Other tools


A Docker Dialog - Thaj Sara | 2016-08-05

Thaj and Lyle (x1101) have a discussion about Docker and its use.


Solving a blinkstick python problem - MrX | 2016-08-04

This is a show describing how I solved a problem of using my new Blinkstick Nano in Python, the problem occurred because I inadvertently installed the blinkstick module to the wrong version of Python as I have multiple versions of python installed on my raspberry pi.

A blinkstick is a USB powered device with attached RGB led’s, it can be controlled using a wide range of languages, and supports the Raspberry Pi, Linux, Microsoft Windows & Apple

As a side note I forgot to mention that the blinkstick hardware and software is Open Source

Initially I blindly followed the advice given at https://www.blinkstick.com/help/raspberry-pi-integration which recommended the following commands

sudo apt-get install -y python-pip python2.7-dev
sudo pip install blinkstick
sudo blinkstick --info
blnkstick --add-udev-rule

I discovered that the blinkstick module was not being found when I ran my python script, this turned out to be because I was invoking a different version of python in my script from that which I installed the blinkstick module. I installed the blinkstick module to Python 2.7, my script was running python 3.2

I ran the following commands to rectify the problem

sudo apt-get install -y python3-pip
sudo pip-3.2 install blinkstick
sudo blinkstick --info (Run in my script)
blinkstick --add-udev-rule (Not required 2nd time round)

Here are some links I looked at to get some understanding of what was going on

You can get a list of your installed python modules by first going to the python interpreter by typing python at the command prompt and issuing the following command

>>> help('modules')

You can list your python search path by first going to the interpreter by typing python at the command prompt and issuing the following commands, the search path is the list of system directories that python will search to run things like commands and modules

>>> import sys
>>> sys.path

Magazines I read Part 2 - Tony Hughes AKA TonyH1212 | 2016-08-02

Hi Hacker Public Radio this is Tony Hughes again with the second episode about the magazines I like to read. All of the magazines I’ll be talking of today I read on my Magzter (www.magzter.com) Application on my tablet. I have a Magzter Gold subscription which gives me access to literally 100’s of magazines.

  • Vegetarian Times (www.vegetariantimes.com)
    I’m a bit of a foodie and have been a vegetarian for many years, so access to good food magazines is important to me. This is a US publication so not all the advertised products are available in the UK but the articles and recipes are excellent.

  • Feel Good Food (www.womanandhome.com/recipes/534618/feel-good-food-mag)
    A British magazine aimed at Women but non the less still a source of some brilliant recipes for delicious food for food lovers everywhere. Not a veggie magazine but there is usually something of interest. Like most of the food magazines I read I dip into them find recipes I like save them and move on.

Moving on from food to Sci Fi and cult fiction.

I’ve grouped these together as they both deal with this subject. They review the latest books, films, TV, comics and audio recordings for this genre . They also cover classic examples, often examining work from the so called golden age of a particular subject. Along with Total Film magazine (www.gamesradar.com/totalfilm) you will always have access to reviews of the latest films & TV and if they are worth the price of a cinema ticket or space as a series record on your PVR.

Another armchair hobby of mine is archaeology I’ve loved Time Team from the beginning. So my next magazine on Magzter is Archaeology (archaeology.org) this is a bi monthly magazine published in the US, but covering the latest archaeological news from around the world. For someone into my modern technology its interesting to read about what the latest technology was hundreds or even thousands of years ago.

Moving on, one of my other interests over the last 20 years has been motorcycles although I no longer ride I still retain an keen interest so a Bike magazine has to be something I dip into to drool over shiny metal every so often. So I currently have Back Street Heroes (www.backstreetheroes.com) as a favourite in Magzter and dip into it when I need a shiny metal fix.

Finally a more active hobby of mine is photography so there has to be a photography magazine in this list. Amateur Photographer (photographer.magazinesdirect.com) claims to be the worlds oldest weekly photography magazine. It covers all aspect of photography and the equipment you need. From high end Professional stuff to point and shoot cameras, and all the other stuff from bags to flash lights.


Cleaning the Throttle Body on My Pickup Truck - Jon Kulp | 2016-07-28

In this episode I take you along for the ride as I do a little bit of maintenance on my pickup truck. I've been trying to track down the source of of a rough idling problem that sometimes turns into stalling out. I already replaced the fuel filter (did not solve the rough idling problem but probably was due anyway), and here I make an audio recording as I clean the throttle body, which apparently is one of the first things you should do when your vehicle is idling roughly and stalling out. Still not sure if I have totally fixed it but it seems to run OK so at least I did not mess it up any worse.

Throttle body photos for HPR

Links


Basic Audio Production - Equalization - Nacho Jordi | 2016-07-26

The bread and butter of open source audio production:


Fixing my daughter's laptop - Dave Morriss | 2016-07-25

Fixing my daughter’s laptop

My daughter is a student at university and uses her laptop with a headset most of the time. She shares a flat with a friend and they are both studying, so they don’t want to annoy each other with noise.

The headset my daughter uses has a very long cable and earlier this year she tripped over it. The microphone jack was OK, but the headphone jack snapped off at the first ring and the remaining piece was left in the socket.

This episode is about my attempt to remove the broken piece of the jack plug. To find out more about the method I used and how successful it was see the full notes with pictures here.

Note: The Amazon links below are for information. I have no financial involvement with Amazon; these are not Affiliate links.


Kdenlive Part 3: Effects and Transitions - Geddes | 2016-07-22

Hello again HPR listeners this is Geddes back with Part 3 in the series covering the video editing application KdenLive. This time round we’ll be looking at effects and transitions which covers the following topics

  • Layout Mods
  • Fades
  • Dissolves
  • Slides and wipes
  • Chroma Key, aka green screen
  • Composited images and titles

Here’s the link to the original article. https://opensource.com/life/11/11/effects-and-transitions-kdenlive


Everyone Loves Some Acid House - sigflup | 2016-07-21

In this episode of hpr sigflup makes some acid house. She uses Technobox2, which simulates the tb-303 and the tr-808

Roland TB-303 and TR-808


libernil.net and self hosting for friends and family - Christopher M. Hobbs | 2016-07-19

What is libernil.net?

libernil.net is an island of pseudo-freedom. This project was established in order to pursue ideals of Free Software, Free Culture, ethically sourced hardware, self hosting, and sharing with others. Generally it consists of personal content, though some community resources reside here as well.

The name came from an old programming group and was repurposed. I would really like to find a new name!

Similar networks

  • tilde.club
  • sdf.org

The network

Set in three physical locations: two in Northwest Arkansas, one (a VPS) in Sweden.

One recycled shuttle rig called “summernight”, one ThinkPenguin nano called “aprilshowers”, and a VPS known as “eremit”. Two or three inaccessible machines for backups and other automation.

Wireless access provided in the openwireless.org model at both US physical locations.

Services

  • Websites
  • Shell accounts
  • DNS
  • wireless access
  • XMPP
  • IRC Bots
  • Git
  • MediaGoblin

Future services

  • Game servers
  • pump.io and GNU Social instances
  • mail server
  • PBX with DID lines
  • data service

Events and community

The community is very loosely organized and rarely operates under the name of the network, though we sometimes gather for events in the same location as the machines. In the past we’ve had a cryptoparty and I am trying to organize a FreeDOOM LAN party.

How to host your own services

  1. Acquire a machine, any machine! Could be a junk rig, an old laptop, or a fancy single board computer.
  2. Install your favorite distro or try freedombone/freedom box.
  3. Get a domain name with your favorite registrar.
  4. Get a static IP from your ISP if possible or go with Dynamic DNS
  5. Install Bind or set up your router to manage DNS.
  6. Invite some friends to play on your new server! Maybe have a party!
  7. Set up backup scripts.

What Magazines I read Part 1 - Tony Hughes AKA TonyH1212 | 2016-07-18

Magazines I Read

Hi This is Tony Hughes for Hacker Public Radio, I'm trying to do a show once a month or so and I was thinking of ideas that might be of interest to the listeners out there.

While there are regular shows on 'What's on my pod-catcher' I've never heard one about what magazines that people in the HPR community like to read. With the advent of digital media and subscription services such as Issuu, Magzter, Google Play Newsstand and I'm sure many others which offer both Free and subscription content I'm sure many of you like me have quite a number of magazines you regularly read, and some you dip in to from time to time. So this show is about the Magazines I like to read.

First I'd like to say that to facilitate regularly reading of digital media I feel for me a 10" tablet is the smallest format for comfortable reading (although for those of you with young enough eyesight to be able to read small fonts with no difficulty you may feel different). However my Tablet of choice is the 12" Samsung SM-P900 which I purchased in February 2015. My only gripe with this tablet is I'll probably never get Android 6 on it as it's now over 2 years since original release. While I agree with Apple that the 4:3 screen configuration for reading on a tablet is more user friendly I can not bring myself to spend that kind of money or be tied to the Apple ecosystem.

So what Magazines do I actually read?

  • Linux Voice (https://www.linuxvoice.com) This is a Linux magazine that was set up a couple of years ago by some of the former editorial team from Linux Format after a successful Kick Starter Campaign. Good content for and about Linux and the Linux community and they support the community by distributing 50% of their annual profits back to the Open Source Community after a ballot of readers. They also release issues of the magazine with a creative commons licence 9 months after publication. This is the only magazine I currently have a Paper subscription to (it also comes with a free DRM free PDF copy for subscribers)

  • Linux Format (http://www.linuxformat.com) Similar in content to Linux Voice but without quite the same community philosophy, but still a very good publication.

  • MicroMart (http://subscribe.micromart.co.uk) This is a more general computer magazine that started in 1985, as a place you could buy and sell computers and components but is now more of a regular weekly magazine format with news, reviews and articles about all things computer and technology related. As I said in my Journey to Linux show this was the Magazine that introduced me to Linux in the late 90's early 00's. They still have a weekly Linux page and regular Raspberry Pi and other Linux related content.

  • MagpPi (https://www.raspberrypi.org/magpi) This is the official Monthly magazine of the Raspberry Pi Community and as you will have worked out is focused on all things Raspberry Pi. Lots of Good content including: News, tutorials, and reviews of new peripherals for the Pi, and since being brought in house by the foundation it has a very professional look and feel about it. All the content is provided by members of the Raspberry Pi Community both from inside, and outside the Foundation. You can get a free Creative commons PDF from the website or to support the foundation you can subscribe to both Print and digital copies if you wish to.

  • Full Circle Magazine (http://fullcirclemagazine.org/) This is a completely community driven magazine for all things related to Ubuntu Linux and its derivatives. They carry news of what is happening in the World of Ubuntu and articles and tutorials of how to use Linux software for both the beginner and more experienced users. This is a Creative Commons and can be downloaded free from the website in both PDF and e-book formats.

  • PCLinuxOS Magazine (http://pclosmag.com/index.html) This is another community driven magazine from The PCLinuxOS community and is similar to Full Circle in its content, with the aim of helping users of this distro to get the most out of it they can. Also available as a free Creative Commons PDF download from their website.


Skin cancer - Clinton Roy | 2016-07-15

This is a very personal podcast, discussing minor surgery. If that sort of stuff makes you cringe at all, this may not be the recording for you. I should also point out that I am not a medical professional, you should not take this recording as medical advice, if you have any concerns about your skin, seek professional medical advice.

I am a very white person living in Queensland, Australia. Our state has amongst the highest rate of skin cancers in the world, I believe we're in a tussle with New Zealand for first place at the moment.

There are two main types of skin cancer, melanoma and non-melanoma. The non-melanoma type is slow growing, and rarely spreads to other parts of the body, while melanoma is fast growing and spreads to the rest of the body.

Both my parents have had multiple lesions excised, so something like this was always on my mind. We live in a sunny, sub-tropical environment, the sort of clothing you'd want to wear for comfort is light, breezy, and not covering much skin, exactly the wrong sort of clothes you'd need to wear to protect yourself from ultraviolet (UV) rays that help cause skin cancer.

According to the Australian BoM FAQ http://www.bom.gov.au/uv/faq.shtml the per capita risk of skin cancer in Australia is ten times higher than America and sixty times higher than the UK.

The UV scale rarely gets above eight in the UK, in Brisbane the UV scale is above eight for roughly eight months of the year.

There are a lot of variables when it comes to UV. Cloud cover is probably the most important. Something that I can't stress enough is that heat and UV are not correlated, you can definitely be exposed to lots of UV when it's cold (see New Zealand, they're much more south, much more cold, and have more exposure due to the ozone hole). Another example is snow, UV will bounce off the snow and back at you.

The link between skin cancer and UV is quite strong, 95-99% of skin cancers are caused by excess sun exposure. (http://www.cancer.org.au)

So, with all that history, I started getting yearly skin checks a couple of years ago. I'd had a couple of skin checks when I was very young, and now that I'm more advanced in years I wanted something less ad-hoc. Someone working for one such organisation gave a talk at one of the user groups I attended, and i made an appointment with Molemap. It's a full on procedure where your entire body is photographed, and each mole, freckle, bump and lump that is of possible concern is photographed from a few centimetres off the skin, and with the magnification lens sitting right on top of the mole.

I have some near 200 spots on myself that are of interest, so my follow up appointments take about two and half hours to go over all these spots, plus looking for new ones. The hope is that, by doing this close to yearly, small changes in all these spots won't go unnoticed, and we can get on top of any cancers early.

Interestingly, the spot that was actually a problem was a new one, so under a year old, and was hiding underneath my beard, so in future I'm definitely going to have my skin checked clean shaven.

The other thing I want to communicate is that early detection is key, all the skin cancers have a 90% plus survival rate (at five years) if caught early enough. This does potentially mean that a yearly check is not enough, but it's already proven it's worth to me.

Molemap only does photography of spots, and visual diagnosis. It does not do any treatment or biopsies or excisions, therefore there it has no self interest in recommending treatment on borderline cases. Molemap sprang out of a University of Queensland project, which is my alma mater. After receiving the diagnosis (via an online form, secured with a second factor sent to my phone) and panicking a fair bit, I contacted my regular doctors practice (we call them general practitioners in Australia, I'm sure they're called different things elsewhere) for an appointment with a GP who had experience with skin cancers. In QLD, most medical centres will have at least one doctor with experience in this area. As it turns out, my regular GP has such experience and I got an appointment for the following week.

I wasn't really sure what to expect from my GP appointment, but I was mostly expecting to get the diagnosis confirmed, and either get sent to a specialist to deal with it, or organise another appointment at the GP.

What actually happened was it took all of five minutes for my doctor to confirm the diagnosis, then work how he had time in his schedule, and there was a nurse free, to excise the lesion straight away. I was given a local anaesthetic, so I felt no pain whatsoever, but you still feel the doctor pulling on your skin up, down left and right, so that the complete lesion can be removed, as well as a small amount of surrounding skin in case the cancer has spread.

Here I should mention that melanomas spread very fast, and when they're excised up to a centimetre of skin may need to be removed, where as for a non-melanomic, a millimetre or so is good enough.

I got four sutures put in, they stayed for a week (we have a long easter break in Australia) so it ended up being closer to a week and a half. I had no problems, my scar healed up quickly and nicely. Now, a couple of months later, there's a little redness along the scar line, but that's about it.

So. The take aways. UV is not correlated to heat, you can get a lot of UV exposure in cold environments. If you're travelling through a high UV area, take precautions (clothes that cover a lot of your skin, hat, sunglasses, sunscreen). If you live in a high UV area, get your skin checked regularly. Also, keep an eye on your own skin. Use a diary to record any new bumps, lumps, spots etc.


Experience With A Neighborhood Cat - brian | 2016-07-14

An old friend comes home...


The power of GNU Readline - part 1 - Dave Morriss | 2016-07-13

The power of GNU Readline - part 1

We all use GNU Readline if we we use the CLI in Linux because it manages input, line editing and command history in Bash and in many tools.

I have been using Unix and later Linux since the 1980's, and gradually learnt how to do things like jump to the start or the end of the line, delete a character backwards up to a space, or delete the entire line.

I think that learning GNU Readline is worthwhile since it contains a lot more features than what I just described. I thought I would do a few episodes on HPR to introduce some of what I consider to be the most useful features.

I want to keep the episodes short since this is a dry subject, and, if you are anything like me, you can't take in more than a few key sequences at a time.

The source of my information is the GNU Readline Manual. This is very well written, if a little overwhelming.

To read the rest of the notes for this episode follow this link: http://hackerpublicradio.org/eps/hpr2073/full_shownotes.html


That Awesome Time I Deleted My Home Directory - sigflup | 2016-07-12

Omg, Sigflup deletes her home directory! Commands in this episode include:



grep -b -a "what you remember" /dev/sd0a > /tmp/log
dd if=/dev/sd0a bs=1 skip=12345 of=/tmp/out count=123456


This is a capture of the program that sigflup recovered. It's a mouth tracker. https://www.youtube.com/watch?v=gf2NJrXGT4U


Adventures with Jonathan Slocum - David Whitman | 2016-07-08

A 3 layer Birthday Cake

With Frosting

May I suggest that you partake of the layers in this order?

  1. Voyage of the Liberdade by Joshua Slocum
    Find the book at Gutenberg Press
    “Project Gutenberg offers over 50,000 free ebooks: choose among free epub books, free kindle books, download them or read them online.
    We carry high quality ebooks: Our ebooks were previously published by bona fide publishers. We digitized and diligently proofread them with the help of thousands of volunteers.
    No fee or registration is required, but if you find Project Gutenberg useful, we kindly ask you to donate a small amount so we can buy and digitize more books. Other ways to help include digitizing more books, recording audio books, or reporting errors.
    Over 100,000 free ebooks are available through our Partners, Affiliates and Resources”.

    Find the book in all available forms (HTML, EPub, Text, Kindle) at: http://www.gutenberg.org/ebooks/18541
    The text file is here: http://www.gutenberg.org/cache/epub/18541/pg18541.txt
    First create an espeak of the text file:
    Voyage of the Liberdade by Joshua Slocum
    http://www.gutenberg.org/ebooks/18541
    To create an espeak run this commmand against the text file:

    espeak -f location_text -w output_file_here(.whatever_extension_you_want)

    Or read the book old school

  2. Sailing Alone Around the World by Joshua Slocum (Audio Book read by Alan Chant)
    https://librivox.org/sailing-alone-around-the-world-by-joshua-slocum/

  3. A YouTube Movie that explains more about Captain Slocum.
    https://www.youtube.com/watch?v=iciZer5cbJ8

The Cremation of Sam McGee Robert W. SERVICE (1874 - 1958) Read by Kristin Hughes http://ia600202.us.archive.org/28/items/cremationsammcgee_0711_librivox/sammcgee_service_klh.mp3


Haste - the pastebin alternative - John Duarte | 2016-07-05

Haste

A walk through of installing haste as an open source federated pastebin.com alternative.

See the project at hastebin.com

I ran into project this while following John Kulp’s notes on his blather intro.

Installing node.js

Installing via a package manager. See nodejs website for most up-to-date information. Commands given below are just for reference.

RedHat based systems

curl --silent --location https://rpm.nodesource.com/setup | sudo bash -
sudo yum install -y nodejs

Debian based systems

curl --silent --location https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y nodejs

Upgrade npm

npm install npm -g

haste-server

Take a look at the haste-server project on github

Clone haste-server git repository

git clone https://github.com/seejohnrun/haste-server.git
cd haste-server

Choose storage method

Choices

  • file system
  • redis
  • memcached

If you will be using the file system storage method, delete storage section in config.js using your favorite text editor.

Install

npm install
npm start &

Use server

You can now browse to your new haste-server at the server name or ip at port 7777. Follow the icon links on the page for usage.

http://<servername>:7777

Using shell to add content

Create a bash alias to pipe files to the haste file server.

Add the following to your .bashrc file:

HASTE_SERVER='http://myserver:7777'
haste() { a=$(cat); curl -X POST -s -d "$a" $HASTE_SERVER/documents | awk -v server="$HASTE_SERVER" -F '"' '{print server"/"$4}'; }

References


Test-Driving Devuan - Frank Bell | 2016-06-30

Frank Bell takes the Devuan Beta for a test drive and finds it accelerates smoothly, corners nicely, and rides comfortably.

Links:


Now The Chips Are Definitely Down - MrX | 2016-06-28

I’d like to start by apologising for the rather fast and excited speaking style of this show particularly towards the end, hope it doesn’t spoil the content too much, it was all done in rather a hurry.

In this show I describe a thought provoking documentary I stumbled upon from 1977, the documentary is about the the silicon chip and explores the far reaching implications it will have on society.

The title for the original documentary was “Now the chips are down”.

I came up with the altered title “Now the chips are definitely down” to signify that not only have the changes already happened but that it’s also had a massive cost reduction impact as my newly purchased piece of equipment demonstrates.

The new piece of equipment that I bought only became so affordable because of the great advances and massive reductions in cost over time. A similar piece of equipment cost me around £120 maybe ten years ago and due to inflation you can probably double the cost again. The price of my new piece of equipment was astonishingly cheap I thought though on reflection its cheap price may also be down to it being a more mass produced item than normal amateur radio equipment.

Links to Horizon documentary

Standard C510A /C510E links

Baofeng UV-5R links

Chirp links


Handwriting - droops | 2016-06-27

Yesterday I listened to an episode of Freakonomics (http://freakonomics.com/podcast/who-needs-handwriting/) on handwriting. As a child I disliked penmanship and was horrible at it (still am). Eventually my teachers just told me to print so that they could read my answers. This is also a tech show, which should have an audience that leans toward the fact that computers are awesome. But most of you fine listeners should be interested in what is the best solution to a problem. Especially if that solution is contrary to conventional thought.

Many reasons were given for handwriting to be a thing of the past and I think most of them are a lot of bull.

First some more qualifications for me. I am a college dropout that did eventually graduate. Until last week I was a teacher who worked with students who were not always the best. I have been without a cell phone for two years and I love fountain pens. This probably does not qualify me for much, as I am certainly not a doctor or a scientific researcher, but I do have some real world experience and have been experimenting on my students (all in a good way).

So here are some of the cons:

  • Handwriting is old fashioned – true
  • Typing is faster – true. Cursive is on average 30 words per minute.
  • Hands hurt after writing – true
  • Lack of success as a child demotivated me, left me “school damaged” – true

These are all excuses that I have made and are all excuses my students have made. As a computer science teacher, I require all of my students to keep a handwritten notebook in my classes and they can use it on all of their tests, quizzes, and assignments. What an old fashioned stick in the mud I must be (they must have a cooler way to say this).

There is nothing wrong with using tech to help with anything, but if you do not understand concepts of why and how, all the tech in the world will not help you and many people try to use tech as a crutch.

Typing is faster, most students get to the point they can type everything that is said in a lecture. This skips a crucial part of learning where you use your brain to analyze what is being said. Writing is slower but should force you to put content in your own words by thinking about it and being an active listener.

The pain in your hand should go away with practice, good form, and proper tools. I like fountain pens as they glide over the paper and you do not have to hold them in a death grip. Form means to use your arm, not your wrist, to write. With practice this can be done.

I was bad at handwriting as a child and my teacher was wrong to tell me to stop. Part of education is to teach about failure and difficulty. If people only do the easy things who will do the hard ones? A person interviewed on Freakanomics said their school put too much emphasis on handwriting so they moved their child to a different school as this was having too much of a negative effect on his feelings. Way to teach your child to run away from hard things. I hope no college professor ever hurts his feelings to requires too much from them. Life gets harder, education should be hard to prepare students for the work of life.

So enough cons, how about some pro argument.

Laptops are full of distractions, most adults I know cannot focus with their email and social media trying to grab their attention.

In an independent study talked about on Freakanomics, two researchers found that handwriters and laptopers had no difference in learning faces, unless they were allowed to review their notes before the quiz, where handwriters gained an edge. Concepts on the other hand, handwriters always held and almost like they thought about the concepts more than the students who just typed everything that was said.

Something not really covered was writing new content. I give my students fountain pens as rewards and this makes writing so much more special. They take more time to write things and think more about what they are trying to say. This is a win-win.

Now everyone is different. Please try handwriting for a few weeks and see if it helps you retain more. If you are not a student, watch a lecture on the internet or read a book and see if you learn more.

Finally handwriting is personal. I am willing to mail a postcard to almost anyone that sends me their address (droops @ gmail) so that they can get that personal feeling.

So I made some arguments, handwriting makes you smarter, helps you develop grit, makes you feel special, and gives you super powers. Hopefully you will try it out.

This has been droops and this is Hacker Public Radio… HPR.

Fountain Pen Suggestions


More Tech, Less Magic - Todd Mitchell | 2016-06-23

This was my first show for HPR! I wanted to offer up something unique–hopefully not too much so to enjoy.

In this episode I talk a bit about the differences between how my son will grow up with gaming technology, and how I did. There’s a lot of nostalgia, a little humor, and also a bit of language.

All in-show music was created by me.


GNU Nano Editor - JWP | 2016-06-17

I recently heard an HPR Podcast where it was mentioned that Nano was not a real text editor. That somehow VI or Emacs or Kate or Gedit were in some way better than Nano. I just wanted to set the record straight that Nano is a serious editor that has a huge following and a facebook page.


My 2nd HPR Beer Podcast - JustMe | 2016-06-15

Hi everyone,

It's MeToo here again recording for HPR with a follow on beer tasting podcast. Let me first apologize for the audio quality of this and the next eleven beer podcasts. They were all recorded live on my phone in the Nobody Knows Bar, so there is a bit of a background noise. I just hope it's not too distracting.

The following twelve beer podcasts were recorded over a period of several months. A couple of them, even though they were recorded at the same "sitting", I've chosen to break up into several podcasts, just so as to add more podcasts to HPR.

In a few cases, it's obvious that I get a little tongue tied. Please forgive me. I normally tend to just have one beer per sitting, but the beer is so good and I'm with friends, and as such have had more than one per sitting at those times.

But enough of the explanations and apologies. Let's get on to the heart of the podcast: my impressions of several beers.

One more thing before we start. The beer in this podcast is Old Foghorn. I mislabeled it in the recording as Old Fog.

hand holding beer

[Audio from pre-recorded report]

Well. there you have it. Not one of my better recordings. But I hope you liked it nonetheless.

So, this is MeToo here signing out until next time, wishing you happy trails and happy beers.


A Nerdy Conversation With Linden About Technology - sigflup | 2016-06-14

In this episode of HPR sigflup interviews Linden who specializes in databases. The subject of this interview varies wildly. All the way from databases to python and arch linux

You can contact Linden on twitter at @tesherista


Developing Black & White Film - handsome_pirate | 2016-06-10

  • Intro to the film and the chemicals used
  • Mixing chemicals with water
  • Load developing tank with film
  • Live recording of the developing process itself.

My Raspberry Pi Home Server - knightwise | 2016-06-09

Knightwise talks about how he uses his Raspberry Pi to get things done, and keep his connection to the Internet secure and private when he's away from home. He also discusses a number of command line tools that he uses on the Pi which help to keep the workflow simple and clutter-free.


The Hubot chat-bot - John Duarte | 2016-06-08

Hubot

Intro

Hubot is a chat-bot written by the folks at GitHub. It is a node.js application written in CoffeeScript.

Hubot has a variety of adapters that allow it to connect to a variety of chat platforms. These range from IRC to Slack. So, the platform you are interested in probably already has an adapter available for it.

Hubot uses individual CoffeeScript scripts to provide chat-bot functionality. There are a slew of existing scripts available in the npm. Just search for hubot-scripts.

You can also write your own in order to make sure that Hubot provides the functionality that you need.

Install

Hubot is available as an npm package. So, you will need to install node.js and npm on your system. I will leave this as an exercise for the listener.

I will however, throw out a tip for those of you using a Raspberry Pi for this. The node.js platform should be deployed on an ARM system using the armhf (ARM hard float) architecture. The nod e.js stack needed to run Hubot will not properly install if you are using the armel (ARM soft float) architecture.

Once you have node.js and npm installed, you can install hubot and its dependencies with the following command.

npm install -g hubot yo generator-hubot coffee-script

You create your own instance of hubot by using yeoman generator. You need to do this as a non-root user. When you create your bot, you will give it a name and specify the adapter to use. These can be specified as command line flags, or the generator will prompt you for this information.

  • Owner
  • Name
  • Description
  • Adapter

Interactive

yo hubot

Providing the answers

yo hubot --name mybot --description "My Helpful Robot" --adapter shell --defaults

Running

Once hubot is installed, you can run it with the following. I will use the shell adapter, which provides an interactive shell from which to trigger hubot scripts.

./bin/hubot --adapter shell

Our Hubot instance is now active and ready to receive commands. We will start with a simple ping command.

mybot> mybot ping
mybot> PONG

We can see the available commands by asking Hubot for help

mybot> mybot help
mybot adapter - Reply with the adapter
mybot animate me <query> - The same thing as `image me`, except adds a few parameters to try to return an animated GIF instead.
mybot echo <text> - Reply back with <text>
mybot help - Displays all of the help commands that Hubot knows about.
mybot help <query> - Displays all help commands that match <query>.
mybot image me <query> - The Original. Queries Google Images for <query> and returns a random top result.
mybot map me <query> - Returns a map view of the area returned by `query`.
mybot mustache me <url|query> - Adds a mustache to the specified URL or query result.
mybot ping - Reply with pong
mybot pug bomb N - get N pugs
mybot pug me - Receive a pug
mybot the rules - Make sure hubot still knows the rules.
mybot time - Reply with current time
mybot translate me <phrase> - Searches for a translation for the <phrase> and then prints that bad boy out.
mybot translate me from <source> into <target> <phrase> - Translates <phrase> from <source> into <target>. Both <source> and <target> are optional
ship it - Display a motivation squirrel

We will try a couple more.

mybot> mybot echo "Hello world"
"Hello world"
mybot> mybot the rules
0. A robot may not harm humanity, or, by inaction, allow humanity to come to harm.
1. A robot may not injure a human being or, through inaction, allow a human being to come to harm.
2. A robot must obey any orders given to it by human beings, except where such orders would conflict with the First Law.
3. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.

Adding Scripts

npm scripts

npm install hubot-simpsons

Add hubot-simpsons to the array in the external-scripts.json file.

mybot> mybot simpsons quote
mybot> Disco Stu⦠likes disco.

Writing scripts

https://github.com/github/hubot/blob/master/docs/scripting.md

You can add your own custom scripts by adding them to the scripts directory. An examples.coffee script was included when Hubot was installed. It includes a variety of examples of things Hubot can do. I will illustrate by paring this down to a simple single script that responds to requests to open doors. Our simple script will open most doors, but will politely refuse to open the 'pod bay' doors.

The script uses the respond method on the robot module. This method takes a regex patten to respond to. It returns a result that contains a match array when the pattern has been detected. In our script we capture the group between 'onen the' and 'doors'. We then use this to determine which response to provide. The response is triggered with the robots reply method.

module.exports = (robot) ->

 robot.respond /open the (.*) doors/i, (res) ->
   doorType = res.match[1]
   if doorType is "pod bay"
     res.reply "I'm afraid I can't let you do that."
   else
     res.reply "Opening #{doorType} doors"

Restart Hubot by...

Now we can use our new, useful Hubot script.

mybot> mybot open the french doors
mybot> Shell: Opening french doors
mybot> mybot open the pod bay doors
mybot> Shell: I'm afraid I can't let you do that.

Aliases

A rose by any other name... If you would like your Hubot to respond to another name, you can assign your Hubot aliases to respond to. I really like this feature and I assign the '!' as my Hubot alias. This allows me to invoke Hubot with a single character.

mybot> ! open the pod bay doors
mybot> Shell: I'm afraid I can't let you do that.

Adapters

Obviously the shell adapter is not very useful aside from allowing us to play with or develop Hubot scripts. Hubot comes with several adapters that allow it to integrate with existing chat systems. These include: * IRC * XMPP * Campfire * HipChat * Slack * IRC * IRC

Conclusion

I hope this gives you a sense of what Hubot can do and how you can utilize it. Personally, I use Hubot in a variety of ways ranging from silly entertainment to useful communication tool. Using the eight-ball script, I can see if I will have a good day.

mybot> mybot eight-ball Will I have a good day?
mybot> Shell: Most certainly!
mybot> :-)

Using a modified version of of the sms script, I can send text messages to my family members who are not available online.

mybot> mybot sms trinity   See you on the other side!
mybot> Shell: Sent sms to 3125550690
mybot> :-)

Neo Fetch 1.5 - JWP | 2016-06-07

I was reading Linux Voice I heard Dave Morriss talking about shows and made a sort one about Neofetch 1.5. Its a command that displays system information.


Bring on the Power! - NYbill | 2016-06-02

It this episode NYbill talks about power supplies used for electronics work.


My First Beer Podcast - JustMe | 2016-06-01

Hey. It's MeToo here again. On this episode, were diverging from my last podcast of coffee and switching topics to, wait for it. Wait for it. BEER.

Now, you might think to yourself, "What the heck! Beer?" I know. I know. It's so plebeian, right?

Well. I too, use to think like that. What with the shades of Budweiser, Michelob, Iron Horse, Iroquois, Genesee, etc... All squaw piss. Right?

I was raised on wines & cocktails. But, over recent years, especially after listening to many of you guys' podcast on beer-making and drinking, I became interested in wanting to try some of these artisan beers you all have spoken of. But, being overseas in a foreign country, my chances of such are like a snowball's chance in hell. Or so I thought.

Then came one night when I was on my way to teach a class at one of the local universities, and passed by a newly opened bar with the humorous name of "Nobody Knows Bar." Where, when I glanced in the window and to my amazement, were many of the very beers you all had been talking so much about. Wow! Here was my chance to partake. So, I went to class and afterwards stopped in to the bar.

So, I tried a beer. It just happened to be an IPA. Now, don't get me wrong. Many, many years ago I had tried an IPA and found it far from my liking. So, my first choice wouldn't have been an IPA normally. Again you ask, "Why did you choose an IPA this time?" Well, the reason was bartender recommended it.

And again to my amazement (to coin a phrase), it was great. I guess the reason for enjoying it over before is that, as like everyone, my taste buds had changed. And truthfully speaking, I've come to like IPAs over many others.

So, to no longer digress. Let me tell you what I chose and my opinions on the beer.

The beer? A 12oz. 8.2% Alc. by vol., glass bottled Lagunitas Brewery's Lagunitas Unlimited Release Maximus IPA Maximus Ale. I love the labeling. It reads: "Life is uncertain. Don't dip." Also, "If some is good, more is better." And one final one, "Instant gratification isn't fast enough." What a lark!

Enough diddle dallying. On to the tasting: The nose on this beer is crisp and light. The first mouthing brings a floral, fruity semi-sweet taste. The fruitiness continues into the aftertaste with an added semi-dryness. And yet, despite the alcohol content, doesn't ring your clock. The longer after flavor is strongest on the underside of the back of the tongue. Very pleasant.

So. There you have it. My first beer tasting. I hope you found it telling. And maybe you too will try a bottle. I highly recommend it. I will continue these tasting over the course of time. Now don't get me wrong. I'm no sot. And I still like my coffees, but I have now found a new "like" and it's artisan beers.

hand holding beer bottle

Until next time. This is MeToo signing out and wishing you happy trails and happy beers.


Router Antennas More = better ? - Lyle Lastinger | 2016-05-30

Really complicated phasing of radio signals.

Diagram of a router with 4 antennas

Alternative antenna

Lyle Lastinger


Attempting to fix a plastic boat - Jezra | 2016-05-25

I'm on a boat!


Glasgow Podcrawl 2016 - Dave Morriss | 2016-05-23

Glasgow Podcrawl 2016

Kevie and Dave Morriss chat about the upcoming Glasgow Podcrawl. This year's event takes place on the 29th of July 2016 and kicks off at 6pm in the State Bar, Holland Street.

The event is open to anybody with an interest in podcasting, open source software or creative commons music. Whether you're an enthusiast or just interested in finding out more, also if you're a member of a band, then we would love to have you along for a yarn over a few pints.

Check out http://kmacphail.blogspot.co.uk/2016/04/glasgow-podcrawl-2016.html for more details and a map of how to get to the bar.

Music on this episode is "Beer" from Darkman Sounds https://www.jamendo.com/track/1182203/beer


Building Community - droops | 2016-05-20

This is droops and this is also Hacker Public Radio.

I love HPR and noticing our current need for shows, I put it on my list that I needed to help out. But what to talk about?

Let’s talk about growing HPR. It is a cool show and project, but if the community does not grow the show will end. People run out of shows to host and others have to fill that space.

I think we do a great job doing outreach to the community by going to conventions, getting mentioned in articles and magazines, and being cool with everyone. But as a community we could do a little more to get to the 4000 show mark. Even my lazy butt can help with these things.

First, let’s bring more traffic to the site. To do this we need content, which is really all we have. But we need to be more clever with how we use it.

We need to transcribe all of our shows. This allows search engines to better index our content and bring more people to our site. Maybe they won’t subscribe or even listen to a show with the content being readable, but they were not going to listen anyway by not finding us. This is a big chore and we would need a team with leadership to do it.

We need more popular hosts (this sounds bad taken at face value) to guest host shows and mention HPR on their shows. We used to do this by sending in bumpers like “this is droops from Hacker Public Radio and we live whatever this show is. Hacker Public Radio is a daily show created by the community”. Let’s make a list of podcasters we want to guest host or mention our show and go after them.

Speaking of guest hosts, let’s work on interviewing more people who will put our show on their blog/social media. We did this in the early days of Twatech with Moka5 and we got a lot of traffic from this. I do know that we already do this, but not everyone who listens contributes a show and this is an easy way to do it.

What if we made it easier to record shows? Maybe have an Android/iOS app to record and submit shows from.

We could have a tool to submit show topics or do a survey to find out what people are interested in. This may prompt people to record shows by knowing that someone would be interested in it.

Someone could get some free stock photos (or better yet we could just take our own) and put show titles over the images to share on social media. People click on images. I will do this so that everyone can see my ugly face.

a photo of droops

On that note, how about a video that explains what HPR is. This may be a good droops project. That would be something awesome to share on social media.

The website, which is a lot of work, needs to have related shows listed on each individual shows page. This will take a tag system and someone to tag all of the almost uncountable previous episodes.

One of my favorite show formats is reviews of software/media. This is so much in our community to keep up with and HPR is perfect for this. Everyone should do a show about some unique software they use or a cool book they are reading or a cool documentary they watched. Five minutes about something cool would bring me into learning more about it.

Currently my classes are watching a documentary about the Silk Road called Deep Web (http://www.deepwebthemovie.com/). I should do a show on it to talk about privacy, government, all the cool things it brings up. We have not gotten far into the documentary yet as we keep stopping it to have discussions.

Also I love stickers, we should set up a store to sell stickers and t-shirts. Heck this is HPR, we should have tote bags. We can either sell them at cost or make a profit to pay for hosting or swag to give away.

Hacker Public Radio is driven by the community and our community as a whole is much smarter than I am. Let’s put our minds together and grow our show.


Distro Review: Bodhi Linux - m1rr0r5h4d35 | 2016-05-18

As with my last episode, you may hear some sniffling or pauses as I catch my breath. It is springtime in Kentucky, and my allergies are full force right now.

In this episode, I take Bodhi Linux for a test drive. I'll tell you what I liked, what I didn't like, and how well or bad it performed on my test machine.


How I Came to Linux - Steve Saner | 2016-05-17

I tell the story of how I learned about computers and eventually came to be an avid Linux user.

I've been using Linux as my primary operating system for almost 20 years now. My primary distribution of choice has always been Slackware, but I have branched out to some more "modern" distributions as well, particularly for workstation environments.

I have been an HPR listener now for several months and this is my first show. I enjoy the podcast very much and hope to see it continue for many more years. Thank you to the administrators and leaders to make it all possible. And, of course, thank you to everyone that contributes shows.


A quick intro to OBD2 with Android - pope523 | 2016-05-16


Book Review: The Pocket Ref - m1rr0r5h4d35 | 2016-05-13

Recorded this episode while suffering from some severe seasonal allergies, so please disregard any sniffing, wheezing or coughing that may have crept in.

This is a brief introduction to the Pocket Ref by Thomas Glover. In this episode, I don't go into great depth of the books many topics, primarily due to the nature of the book itself. It is meant to be a reference book, and as such it contains a treasure trove of reference material from a very broad range of topics.

Also, I mention a few other titles in this series - links below.


The DSO138 Oscilloscope Kit - NYbill | 2016-05-12

In this episode NYbill talks about building a DSO138 Oscilloscope kit.


Some basic info on alarm systems - schism | 2016-05-11

A very basic bit of information on some alarm equipment.


Old Engineers and New Engineers - Gabriel Evenfire | 2016-05-10

This is a short episode about a puzzle that I got for my birthday from my in-laws. I gave the puzzle to two of my children to solve after I'd taken a crack at it. It was amusing to see see how and old engineer thought about the problem compared with young ones. Pictures of the puzzle are attached. The object is to get one ball in each notch at the end of the block at the same time.

half moon puzzle from side

top view showing bearings in the centre hollow

bearings are at the far rims of the cresent


Using a Smarphone as a microphone - njulian | 2016-05-06

Hello citizen of the Internet, my name is njulian, and in my first Episode for HPR I want to talk about an App called "Microphone". This App is available for Android in the F-Droid repository, link is in the Shownotes.

All it does is sending the audio input from the microphone directly into the audio output. This causes horrible feedback loops, if the output happens to be the Phone's speakers. But if you plug a Male-to-Male 3.5mm cable into your Phone and the other end into your Computer you can use your Smartphone as a Microphone. Actually I am using this right now to record this show with Audacity on my Laptop. The reasons for that are pretty simple: I don't have enough free space on my Phone to record a show with Urecord and the other is that I was curious if this app really works.

Well, actually there is not much more I could tell about the App. It has no menu, no way to customize it, and as you can hear no noise suppression.

That's about it, thanks for listening.

The App: https://f-droid.org/repository/browse/?fdfilter=microphone&fdid=net.bitplane.android.microphone

The Cable: https://en.wikipedia.org/wiki/Phone_connector_%28audio%29


Remapping Keys with xmodmap - Jon Kulp | 2016-05-05

In this episode I talk about how I tried to implement an idea that my son had when we were talking one day. I was complaining about file names with spaces in them, and he asked what if the computer automatically changed the spacebar so that it made underscores whenever somebody was trying to save a file? I thought this was a great idea. I even thought of a way implement it, though not quite as magically as he had envisioned. My solution involves the use of the command-line tools xev and xmodmap, and one blather voice prompt to launch the xmodmap command that will remap the spacebar to make underscores instead. Maybe somebody a whole lot smarter than me can figure out how to make this happen automatically whenever a save dialog box is open.

First you need to find the keycode for your spacebar. Run the xev command and then press the spacebar to see which key code it is. Here's the output on my laptop:

KeyPress event, serial 48, synthetic NO, window 0x4e00001,
    root 0xc0, subw 0x0, time 116149126, (-739,-226), root:(448,358),
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XmbLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

As you can see, my spacebar has the keycode of "65." Now we use xmodmap to reassign keycode 65 to make underscores:

xmodmap -e "keycode 65 = underscore"

Now to test it out. While xev is running, press spacebar. Notice that now when the spacebar is pressed it makes an underscore:

KeyPress event, serial 57, synthetic NO, window 0x2600001,
    root 0xc0, subw 0x0, time 116190619, (-520,-247), root:(667,337),
    state 0x0, keycode 65 (keysym 0x5f, underscore), same_screen YES,
    XLookupString gives 1 bytes: (5f) "_"
    XmbLookupString gives 1 bytes: (5f) "_"
    XFilterEvent returns: False

And to change it back:

xmodmap -e "keycode 65 = space"

Now whenever I want to change the spacebar to make underscores or switch it back, I speak one of the following commands, which are in my blather configuration file.

MAKE UNDERSCORES: xmodmap -e "keycode 65 = underscore"
MAKE SPACES: xmodmap -e "keycode 65 = space"

Links

  • xmodmap man page: xmodmap is a utility for modifying keymaps and pointer button mappings in X
  • xev man page: use xev print contents of X events

Video Demonstration

https://www.youtube.com/embed/hKEax8IqxAU


Setting up my Raspberry Pi 3 - Dave Morriss | 2016-05-04

Setting up my Raspberry Pi 3

I bought a Raspberry Pi 3 in March 2016, soon after it was released. I want to use it as a server since it's the fastest Pi that I own, so I have tried to set it up in the best way for that role.

In this episode I describe what I did in case you want to do something similar.

Refer to the full notes for the details: http://hackerpublicradio.org/eps/hpr2023/full_shownotes.html


Automotive Billing - brian | 2016-04-29

I get a call to look at my friend's broke down car.


a pi project and an owncloud project - Matt McGraw (g33kdad) | 2016-04-28

HPR - A couple of Projects I've been working on

  1. Intro

    • Please record a show!!!!!
    • Couple of Projects
  2. Pi Project

    • Love of Music
    • Digital, of course and webradio
    • Sonos, other proprietary solutions
    • Got a Pi2 for XMas
    • Pi Music Box
    • RuneAudio
    • Arch Based
    • underlying tech is MPD
    • flash SD Card
    • boot with network cable attached
    • add music and webradios to library
    • .pls and .m3u files
  3. PhotoFrame Project

    • proprietary items
    • tablet/smart phone lying around
    • ownCloud
    • update for my parents on the road

Links and other Goodies

Pi Project
SomaFM
Capital Public Radio
Sonos
Samsung Shape
PiMusicBox
Rune Audio
Music Player Daemon
USB Audio Dongle (amazon link... NOT an affiliate link)

PicFrame Project
ownCloud
Kindle Fire HD 6
PicFrame
PicFrame Android App

Contact Info
Matt McGraw - matty at the strangeland dot net
Stay-At-Home G33k Dad ~ Fatherhood in the digital age
@sahg33kdad
Google+ www.google.com/+MattMcGraw

The following link includes a photo of the RPi in the bookshelf with the stereo as well as a screenshot of the Rune Audio app running on my Android phone.
https://cloud.thestrangeland.net/index.php/s/CdbU1povrcproZQ


Here are my thoughts on a 3D printer Kit. - cheeto4493 | 2016-04-26

I purchased a 3D printer kit from AliExpress.

http://www.aliexpress.com/item/Free-shipping-High-Quality-Precision-Reprap-Prusa-i3-DIY-3d-Printer-kit-with-2-Roll-Filament/32424257787.html

Here are some after thoughts on how I liked it, a little overview of 3D printers and why I bought this one.

Pictures of the printer as assembled, and a few items I printed http://www.travestylabs.com/3Dprinter/

I hope to make this into a series about software, tips and modifications, and other thoughts I have to share about it.


Echoprint - laindir | 2016-04-25

Ken's message asking about programmatically checking for the intro and outro: http://thread.gmane.org/gmane.network.syndication.podcast.hacker-public-radio/1039

The Echoprint website: http://echoprint.me

Codegen source code: https://github.com/echonest/echoprint-codegen

Echoprint - An Open Music Identification Service: https://www.ee.columbia.edu/~dpwe/pubs/EllisWP11-echoprint.pdf

Server source codehttps://github.com/echonest/echoprint-server


Linux in the Church - Joe | 2016-04-22

Linux has been my exclusive OS for many years. When I became the tech director at my church I wanted to utilize the power and freedom of Open Source so I'm gradually implementing it on many of my projects.

Photo of the rig in the church


A first look at the Owon B35T Part 2 - NYbill | 2016-04-21

In this episode of HPR you get to hear more of the things on NYbill's electronics bench that make clicking noises.

The review of the Owon B35T's continues. Bluetooth is now working. And we get an inside look at the meter.


Understanding the GNU/Screen Hardstatus line - Curtis Adkins (CPrompt^) | 2016-04-14

Links

https://github.com/CPrompt/configs/blob/master/.screenrc (CPrompt's .screenrc file)
https://www.gnu.org/software/screen/manual/html_node/String-Escapes.html (GNU Man page on String Escapes)


HPR needs shows to survive. - Ken Fallon | 2016-04-13

You can help out the Hacker Public Radio project by recording a show today.
See http://hackerpublicradio.org/contribute.php for more information.


My new laptop - Dave Morriss | 2016-04-12

My new laptop

I attended OggCamp15 in Liverpool at the end of October 2015. As usual I bought some raffle tickets as a contribution to the expenses of the (un-)conference, not paying much attention to the prizes.

Actually, the star prize was a laptop donated by Entroware, a significant sponsor of the event, one of the most impressive prizes ever offered at OggCamp. There was quite a lot of excitement about this prize.

I attended the drawing of the raffle at the end of proceedings on the Sunday. Dan Lynch (of Linux Outlaws, and a frequent organiser of OggCamp) was in attendance overseeing the selection of the raffle tickets. Various smaller prizes were won and the tension built up as the final drawing approached.

Things got very tense when the first number drawn for the laptop was called and nobody responded. Then another draw was made.

Imagine my shock and surprise when I realised I had the winning ticket! I had won the star prize in the OggCamp raffle!

See the full show notes here http://hackerpublicradio.org/eps/hpr2007/full_shownotes.html for the details of the laptop.


How I prepare and record my HPR Kdenlive voiceover shows. - Geddes | 2016-04-08

Hi HPR listeners this is an episode on how I prepare and record the voice over narrations of the Kdenlive article series of which I’ve produced two so far. I run through how I prepare the text for spoken delivery, how I record the article and the hardware gear and software I use. Below are some shots of my recording gear mentioned in the show.

AT2020

AT2020

Lexicon

Lexicon

SM58

SM58

Soundcraft

Soundcraft

SRH440

SRH440

A First Look at the Owon B35T - NYbill | 2016-04-07

You are along for the ride as NYbill takes his first look at another inexpensive Multimeter.

This is part 1 of a quick look at the Owon B35T True RMS multimeter with Bluetooth.


Just got a Raspberry Pi Zero - swift110 | 2016-04-05

http://anthonyvenable110.wordpress.com


How to Point a Satellite Dish - Ken Fallon | 2016-04-01

This show is dedicated to Procrastination, the avoidance of doing a task which needs to be accomplished.

I've been trying to record this particular show for ages but I can never seem to finish it. I find the topic just too interesting. When I start then I get distracted by some other aspect. Every time I try to record it Murphy gets in the way, with lost recordings and broken cards etc. This is the email that prompted this show.

-------- Forwarded Message --------
Subject: TWAT - Satellite communications
Date: Tue, 13 Dec 2005 12:00:54 +0100

Hi Droops,

I heard your call for content and I'd like to send you some shows. I
don't have a lot of spare time with work and a young family so I can't
do a regular show but I can send you a series on a topic. I was
thinking of doing a series on Satellite Communications.
...
Ken

https://en.wikipedia.org/wiki/Murphy%27s_law

So after eleven years, I set the deadline of episode 2000 to force myself to finish this show.

Let's start.

What are orbits ?

https://en.wikipedia.org/wiki/Orbit

In physics, an orbit is the gravitationally curved path of an object about a point in space, for example the orbit of a planet about a star or a natural satellite around a planet. Orbits of planets are typically elliptical, and the central mass being orbited is at a focal point of the ellipse.

Newton's cannonball was a thought experiment Isaac Newton used to hypothesize that the force of gravity was universal, and it was the key force for planetary motion. It appeared in his book A Treatise of the System of the World.

https://en.wikipedia.org/wiki/Newton%27s_cannonball

https://upload.wikimedia.org/wikipedia/commons/7/73/Newton_Cannon.svg

  • No orbit
  • Suborbital trajectories, trajectory intersects the atmosphere so that it does not complete one orbital revolution.
  • Orbital trajectories (or simply "orbits")
  • Open (or escape) trajectories

It is worth noting that orbital rockets are launched vertically at first to lift the rocket above the atmosphere (which causes frictional drag), and then slowly pitch over and finish firing the rocket engine parallel to the atmosphere to achieve orbit speed.

Once in orbit, their speed keeps them in orbit above the atmosphere. If e.g., an elliptical orbit dips into dense air, the object will lose speed and re-enter (i.e. fall). Occasionally a space craft will intentionally intercept the atmosphere, in an act commonly referred to as an aerobraking maneuver.

Types of orbits

There are many ways to classify orbits

https://en.wikipedia.org/wiki/List_of_orbits

The choice of which orbit to use is based on the intended purpose of the satellite.

  • Centric classifications: Based on what they orbit
  • Altitude classifications: Based on how high they are
  • Inclination classifications: Based on the angle of rotation with respect to the Equator.
  • Eccentricity classifications: Based on their path
  • Synchronicity classifications: Based on how often they rotate

Low Earth orbit (LEO)

0 to 2,000 km (0–1,240 miles).

  • 0 km / mi - Sea Level.
  • 37.6 km / 23.4 mi - Self Propelled Jet Aircraft Flight Ceiling (Record Set in 1977).
  • 215 km / 133.6 mi - Sputnik-1 The first artificial satellite of earth.
  • 340 km / 211.3 mi - International Space Station.
  • 390 km / 242.3 mi - Former Russian Space Station MIR.
  • 595 km / 369.7 mi - Hubble Space Telescope.
  • 600 - 800 km / 372.8 - 497.1 mi - Sun-synchronous Satellites.

These satellites orbit the Earth in near exact polar orbits north to south. They cross the equator multiple times per day and each time they are at the same anglewith respect to the sun. Satellites on these types of orbits are particularly useful for capturing images of the Earth’s surface or images of the sun

Medium Earth orbit (MEO)

Geocentric orbits ranging in altitude from 2,000 km (1,240 miles) to just below geosynchronous orbit at 35,786 kilometers (22,236 mi).

GPS (Global Positioning System) Satellites reside here. These Satellites are on a Semi-synchronous Orbit (SSO) meaning that they orbit the earth in exactly 12 hours (twice per day)

Geosynchronous orbit (GSO) and Geostationary orbit (GEO)

Orbits around Earth matching Earth's sidereal rotation period. 42,164 km (26,199 mi). Sidereal time is a "time scale that is based on the Earth's rate of rotation measured relative to the fixed stars" rather than the Sun. https://en.wikipedia.org/wiki/Sidereal_time

Geosynchronous satellites orbit the Earth at the same rate that the Earth rotates. Thus they remain stationary over a single line of longitude. A geostationary satellite will remain in a fixed location as observed from the surface of the earth, allowing a satellite dish to be alligned to it.

File:Geostationaryjava3D.gif

High Earth orbit

Geocentric orbits above the altitude of geosynchronous orbit 35,786 km (22,240 miles).

Polar orbits

They are often used for earth-mapping, earth observation, capturing the earth as time passes from one point, reconnaissance satellites, as well as for some weather satellites. The Iridium satellite constellation also uses a polar orbit to provide telecommunications services. The disadvantage to this orbit is that no one spot on the Earth's surface can be sensed continuously from a satellite in a polar orbit.

Molniya orbit

Orbita was a system that consisted of 3 highly elliptical Molniya satellites, Moscow-based ground uplink facilities and about 20 downlink stations, located in cities and towns of remote regions of Siberia and Far East. Each station had a 12-meter receiving parabolic antenna and transmitters for re-broadcasting TV signal to local householders.

https://en.wikipedia.org/wiki/Molniya_orbit

A perfectly scaled diagram showing the orbital altitudes of several significant satellites of earth. all planets and orbital distances are drawn to scale and the altitude data was collected from many Wikipedia articles and various other sites.

https://upload.wikimedia.org/wikipedia/commons/8/82/Orbitalaltitudes.jpg

Atmospheric electromagnetic opacity

Atmospheric electromagnetic opacity

Satelites

Sputnik 1

https://en.wikipedia.org/wiki/Sputnik_1

Sputnik 1 was the first artificial Earth satellite. The Soviet Union launched it into an elliptical low Earth orbit on October 4, 1957. It was a 58 cm (23 in) diameter polished metal sphere, with four external radio antennae to broadcast radio pulses. It was visible all around the Earth and its radio pulses were detectable. This surprise success precipitated the American Sputnik crisis and triggered the Space Race, a part of the larger Cold War. The launch ushered in new political, military, technological, and scientific developments.

ProtoStar II Mission Overview

http://www.ilslaunch.com/sites/default/files/pdf/A2G_MO.pdf

ASTRA 2G SATELLITE MISSION

ASTRA 2G is the third spacecraft of a three satellite investment programme (ASTRA 2E, 2F and 2G) that SES contracted with Airbus Defence and Space in order to provide replacement as well as incremental satellite capacity in the orbital arc of 28.2/28.5 degrees East.

ASTRA 2G carries 62 Ku-band transponders as well as 4 Ka-band transponders. The different beams provide coverage over the UK and Ireland, Europe and West Africa.

The footprint over Ireland and the UK

http://www.ses.com/4628824/astra-2g

Components of a Communications Satelites

  • Rocket motors
  • Fuel tanks
  • Solar panels
  • Batteries
  • Computer
  • Antennas and transceivers/transponders

https://en.wikipedia.org/wiki/Transponder_%28satellite_communications%29

The word "transponder" is derived from the words "transmitter" and "responder."

A communications satellite's transponder is the series of interconnected units that form a communications channel between the receiving and the transmitting antennas. It is mainly used in satellite communication to transfer the received signals.

A transponder is typically composed of

  • An input band limiting device (a band pass filter)
  • An input low-noise amplifier (LNA), designed to amplify the (normally very weak, because of the large distances involved) signals received from the earth station
  • A frequency translator (normally composed of an oscillator and a frequency mixer) used to convert the frequency of the received signal to the frequency required for the transmitted signal
  • An output band pass filter
  • A power amplifier (this can be a traveling-wave tube or a solid state amplifier)

http://www.jsati.com/why-satellite-how-Spacesegment4.asp

Boeing commercial communications satellites geosynchronous orbit

boeing commercial communications satellites geosynchronous orbit

http://www.boeingimages.com/Docs/BOE/Media/TR3_WATERMARKED/1/a/2/a/BI231995.jpg

Finding Astra 28.2E

This is one of the many sites that will give you a birds eye view of where you need to point your dish.

http://www.dishpointer.com/

Terms needed when pointing a dish

The azimuth is the angle formed between a reference direction (North) and a line from the observer to a point of interest projected on the same plane as the reference direction orthogonal to the zenith

http://commons.wikimedia.org/wiki/File:Azimut_altitude.svg

screen shot of the dispointer page

The Dish, on Kens Roof.

Ken Sat Dish

Reading the elevation from the dish assembley.

FreeSat

Freesat is broadcast from the same satellites (Astra 28.2E and Eurobird 1) as Sky Digital.

This is a list of all of the free-to-air channels that are currently available via satellite from SES Astra satellites (Astra 2E/2F/2G) located at 28.2 °E.

https://en.wikipedia.org/wiki/List_of_free-to-air_channels_at_28%C2%B0E

Here is a link to a page on how to get mythtv working with FreeSat.

http://parker1.co.uk/mythtv_freesat.php


How I record a full band under Linux - noplacelikeslashhome | 2016-03-31

How I use Ardour, Jack audio, and a Presonus interface to record an entire band practice under linux.

  • Tools:

    • Ardour
    • Calf studio gear
    • Invada Plugins
    • ArtyFX
    • Jack
    • Qjackctl
  • Hardware

    • Dell Latitude e6320
    • Presonus studiolive 16.4.2
    • various Microphones

Truck Repair: Serpentine Belt Replacement - Jon Kulp | 2016-03-24

Come along for the ride as I repair my pickup truck. The job is to replace the serpentine belt, idler pulley, and belt tensioner in the hope of getting rid of a very annoying loud chirping sound that was coming from my engine. Even after cutting out the long pauses where I was staring at my engine trying to imagine how I was going to get the belt to go in the indicated pattern, this episode still tops out at about one hour. Be warned. There are several sections where you're just kind of listening along to sounds of nature as I work.

Here's the instructional video I watched to learn how to do it:

https://www.youtube.com/watch?v=alXnTNxO9qw

Credits


Can your window manager do this? - Nacho Jordi | 2016-03-23


How I'm handling my podcast-subscriptions and -listening - folky | 2016-03-22


Adventures installing Linux on an Asus EeeBook X205A - b-yeezi | 2016-03-21

High-level steps to install Ubuntu Mate on the Asus Eeebook X205A

Information compiled from Here, Here, and Here

Download and create startup disk

Download the 64-bit version of the iso, then create a bootable USB. I recommend using dcfldd.

Getting grub 32-bit

Compile or download grubia32.efi (see links), then move it into the /EFI/BOOT directory on the USB.

Installation

Boot from the disk (assuming you already disabled secure boot from the BIOS). Install the system as you like.

First Boot

Reboot, but leave in USB. Type c when grub loads, then enter in:

linux (hd1,gpt2)/boot/vmlinuz.... root=/dev/mmcblk0p2
initrd (hd1,gpt2)/boot/initrd....
boot

Wi-Fi

To get wi-fi working, put in terminal:

sudo cp /sys/firmware/efi/efivars/nvram-XXXXXX /lib/firmware/brcm/brcmfmac43340-sdio.txt

Then reload the brcmfmac driver:

sudo modprobe -r brcmfmac
sudo modprobe brcmfmac

Fix bootloader

Fix Bootloader with the following commands as root:

sudo apt-get install git bison libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev flex libfont-freetype-perl automake autotools-dev libfreetype6-dev texinfo

# from http://www.gnu.org/software/grub/grub-download.html
git clone git://git.savannah.gnu.org/grub.git

cd grub

./autogen.sh

./configure --with-platform=efi --target=i386 --program-prefix=""

make

cd grub-core
sudo su
../grub-install -d . --efi-directory /boot/efi/ --target=i386
cd /boot/efi/EFI
cp grub/grubia32.efi ubuntu/
exit

Then, we can just install grub-efi-ia32:

sudo apt-get update
sudo apt-get install grub-efi-ia32

Edit the grub configuration file:

sudo nano /etc/default/grub

Find the line starting GRUB_CMDLINE_LINUX_DEFAULT and add intel_idle.max_cstate=1 before quiet splash".

Then ctrl-o, ctrl-x to save & exit, and type: sudo update-grub to update Grub.

Remove the USB stick and reboot, and you should now have a self-sufficient booting system.

Conflict between sdhci-acpi and brcmfmac

Due to some conflict between sdhci-acpi and brcmfmac (https://bugzilla.kernel.org/show_bug.cgi?id=88061), a parameter has to be changed for the sdhci-acpi driver. There are several ways to do this, but a quick fix is to add this line in /etc/sysfs.conf (make sure you have the package sysfsutils installed), this way the option is passed before the brcmfmac driver is loaded :

# Disable SDHCI-ACPI for Wireless, otherwise WLAN doesn't work
bus/platform/drivers/sdhci-acpi/INT33BB:00/power/control = on

microSD Card Reader

Create a file /etc/modprobe.d/sdhci.conf with the following content:

# Adjustment to make micro SD card reader work
options sdhci debug_quirks=0x8000

Then run

update-initramfs -u -k all

After a reboot the card reader should be working.

Links


WDTV Makes Me Itch - Epicanis | 2016-03-17

This half-hour-long episode describes the complete process for turning an old, limited thin-client terminal (an HP T5740) - and incidentally just about any other kind of hardware - into a simple automatic media-playing kiosk-style device, running VLC on a hand-made minimalist Arch Linux installation. I've tried to describe the procedure I came up with in enough detail that anyone with a little bit of Linux experience can hopefully follow and potentially replicate the whole thing, but not so much detail that it gets horrifically tedious. Some of the extra details I glossed over in the audio are here in the show notes if you want them.

This episode will mostly be of interest to people with a little bit of Linux experience, but may hopefully be interesting to a few others. Mac and Windows partisans take note: before you start giggling about how "complicated" it is to set up Linux as you listen to what I describe here, I will reiterate that I chose to do the install "by hand" like this, and I assure you a more typical Linux install is quite a bit simpler (having just spent several months brutally installing Windows systems on innocent computers, getting and ordinary Linux installation finished is not only easier but faster. ("Windows is getting ready to start to prepare to configure updates. Please wait 5 hours and don't turn off your computer...") So there.

I'm also going to try posting an "enhanced" version of this episode in .opus format with chapter markings and so on at my site: http://hpr.dogphilosophy.network Additional information may be found there as well, especially if anyone asks for it.

Some Linuxable Hardware I Mentioned:

Installing linux on old computers, laptops, etc. is such a well-established tradition that I don't see any reason to hunt down specific examples, but I also mentioned:

I assume I don't need to explain that the Dead Badgers thing isn't entirely serious... It's not entirely a joke, either: http://www.instructables.com/id/Compubeaver---%3E-How-to-case-mod-a-beaver---in-29-e/

[Match]
Name=en*

[Network]
DHCP=ipv4

Autostart X on tty1 only: https://wiki.archlinux.org/index.php/Xinitrc#Autostart_X_at_login

[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx

I actually have also tried the "web browser kiosk" thing with the browser loading up a particular web page on start. It actually works just fine, except that the Windows DHCP server seems to be kind of slow, and if I just let the system start without checking the browser initially just shows an "internet no work" sort of message. I got around this nicely by adding a couple of steps to .xinitrc before starting the web browser. First, I created a graphic to use as an X background that just has text that indicates that it's waiting for the network to come up. Then, I put a loop in .xinitrc that checks for a hostname on the internet to see if it resolves to an IP yet, which would tell me the internet had come up. I didn't want to have to install any specific additional software utilities or, ideally, to have to do any special parsing. It turns out that you can just use "getent ahosts4 google.com" (or other internet hostname) as a test for this - it will return nothing if the name doesn't resolve, so you only need to test if the response is not a blank. I used "sleep 1" to pause one second between tries. Once the resolution returns something, I had xsetbg change the background graphic to a more appropriate default and continue starting the browser, the VNC server, etc.

The .xinitrc for that looks like this:

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
    for f in /etc/X11/xinit/xinitrc.d/?* ; do
        [ -x "$f" ] && . "$f"
    done
    unset -f
fi

xset s off
xset -dpms
xsetbg -fullscreen WaitingForNetwork.png
#vlc --extraintf=http --http-host 0.0.0.0:8080 --http-password 'PutPasswordHere' -L playlist.m3u &
#Not sure this is necessary - chromium seems to retry on its own
while [ `getent ahostsv4 google.com` -eq '']
do
##wait one second then check again to see if network is up
sleep 1
done
xsetbg NetworkNowUp.png
##The URL below is a "test to see if you can connect to a conference" link
chromium --incognito --app=https://www3.gotomeeting.com/join/406552062 &
x0vncserver -display :0 -passwordfile /home/tech/.vnc/passwd &
exec openbox-session

If you have any questions or comments, you can leave them at either

http://hackerpublicradio.org/eps.php?id=1989

or on my own blog at

https://hpr.dogphilosophy.net


Linux from Scratch - Brian in Ohio | 2016-03-16


Fixing Bug 1092571 - Ken Fallon | 2016-03-11

After a windows server upgrade in work, I was no longer able to mount samba network drives from my laptop. Basically it boils down to not been able to mount drives on the console, but been able to browse them in the GUI. After investigating and trying all the options presented, I filed a bug with Fedora.
https://bugzilla.redhat.com/show_bug.cgi?id=1092571

Despite filling in all the information, the bug remained untouched by human hands. Robots shut it, I reopened it. To be honest I thought it might be my set-up as nobody else was reporting it as an issue. Sure there were other people reporting problems but not attached to this bug.

Anyway I happened to be at FOSDEM (http://hackerpublicradio.org/series.php?id=89) and spotted Jeremy Allison from the SAMBA project who I had the pleasure of interviewing previously http://hackerpublicradio.org/eps.php?id=1451).

Jeremy was immediately able to pinpoint the issue to the kernel probably only supporting SMB version 1, while user space uses libsmbclient that supports smb1/smb2.


A Love Letter to linux.conf.au - Clinton Roy | 2016-03-10

Linux.conf.au, is the name and website of my favourite conference. Known by insiders as simply lca, it is an annual technical conference, focusing on Linux and Open Source technologies. LCA is a roaming conference, going to a different city of Australia and New Zealand every year. I've helped organise the two lca's in my home town of Brisbane, Queensland, and it was in fact the first of these that introduced me to lca. This year lca was held in Geelong, down in the state of Victoria and it counts as my fifteenth linux.conf.au. Clearly this conference has become quite a big part of my life and it's probably a mature thing to stand back and have a look at why.

lca is a technical conference, it's not a sales oriented conference, as an engineer having non-salesy, technical content makes me feel at home. For the most part, the paper committee only accept talks from people directly working on a project, so the speakers we select know their topic. lca is explicitly an open source conference, and mostly a low level conference.

lca is a week long conference, so I often add some extra time on the end to make a holiday out of it. A fair percentage of our attendees are from overseas, and it makes sense for them to do the same. I have taken the train to a Perth (Western Australia) lca, that's the Indian Pacific train, a three day trip from one side of the country to the other. I've done a day trip on a train in New Zealand, from Auckland to Wellington. I've done a couple of motorcycle trips, down to Ballarat and Geelong (both cities in the state of Victoria). Those two tours are roughly a 3600km (or 2200 mile) round trips taking three to four days each way.

I've done a motorcycle tour of Tasmania (an island state of Australia) after a Tasmanian lca. Next year, the conference is back in Tasmania for the Hobart lca, I'm planning on doing a week long hike of about 85kms (50 odd miles) before the conference along the South Coast Track.

There are a bunch of people that I only get to see at lca, from year to year, sadly some of these come from my own home town. Keeping these connections strong is an important part of lca for me.

Every year, the parent organisation of lca, Linux Australia holds their Annual General Meeting during lca. I've been an Ordinary committee member on the Linux Australia council a couple of times now. This year I didn't get enough votes, which means I have more time to devote to other things, like HPR recordings :)

Registration for lca normally starts Sunday afternoon, there's often a beginners guide to the conference. After fifteen years, I don't think I've ever attended one, but I should probably help lead it next year..

It's very common for lca to choose a charity to raise money for. For many years this meant a loud, long, often raucous auction. In recent years we've had a raffle over the full length of the conference. We've helped many worthy charities over the years, the one that comes to mind was the 'Save the Tasmanian Devils' fund, for which we raised a substantial amount of money, something around forty thousand dollars, partly based on the auction prize of changing the linux's kernel logo from Tux to Tuz, the lca mascot for that year. Tuz is a Tasmanian devil wearing a costume Penguin beak to cover over his case of the Devil Facial Tumour Disease, a communicable cancer, that is threatening their existence. This was also the conference where Linus shaved bDale's beard off to raise money for the charity.

We often hold lca at a university, and we often use student dormitories as accommodation. If we're lucky, this means that a large percentage of attendees can meet up in common areas of the accommodation at the end of the day and continue the conference long into the night. A particularly memorable lca on this front, somewhere in New Zealand, I forget which city, had a whole level of a student accommodation centre set aside as a common area, so a large percentage of the conference were able to fit and continue the conference late into the evening.

The first two days of the conference are generally reserved for miniconferences, or miniconfs as we refer to them. These miniconfs go for one or two days and are organised around a particular topic, and separately to the main conference. The miniconfs change every year, but commonly include miniconfs focused on the kernel (this is primarily attended by kernel coders), hardware (based around ardunio, raspi, and this year espy), multimedia and music, sysadmin, OpenRadio, Open Source in Government. A highlight from the second Brisbane lca was the rocketry miniconf, where 25 odd rockets were put together and later launched. We've been blessed over the years to have miniconfs working to improve and enlarge our community, including LinuxChix, Haecksen and the Community Leadership Summits.

After the miniconf days are done, the conference proper begins. These days start off with a keynote, have four or more streams of talks during the day, with longer tutorials running for half the day.

My favourite keynote from this year was Genevieve Bell, from Intel. From previous years, Tim Berners Lee, Eben Moglen and Kathy Sierra have left long term marks. These are people who have fundamentally created the world I live and work in now, their contributions cannot be understated.

There are a bunch of talks from every year that change the way I think about something, or the way I work. This year, I reckon the Record/Replay talk will probably change the way I debug programs. RR is a Mozilla tool, you run the buggy program under rr, which records exactly what the system calls the program runs, what state effects the program has, then you run that recording under the standard debugger, gdb. Typically with gdb you can only step forwards into the program, but with rr you can actually step back in time as well!

A hardware talk that really caught my attention this year was the Linux Microwave, a regular microwave with a set of scales and a thermal imaging camera added, so that whenever you heat/warm/defrost something, the microwave will never ever burn/under/over cook the food!

The other bit of hardware that I feel warrants a mention was the large loom that one of our venues, the National Wool Museum was built around. It is programmed by a large bunch of punch cards! There's always local attractions that add something to the conference.

During the week, ad-hoc groups form around common interests, we call these Birds-of-feather sessions. I usually end up attending the Emacs BoF. A recurring BoF is the jobs BoF, where employers and hopeful employees come together.

I don't tend to attend too many tutorials myself. A number of years back I ran a tutorial on Antlr, a recursive descent parser toolkit.

There are a number of social events that happen most years, the conference dinner, the speakers dinner, and the professionals session. These events target the different audiences at the conference. A favourite spin on this was during a Melbourne lca where diners were given food and drink tokens to use around a market, rather than a traditional sit down dinner. The speakers dinner is a smaller, more private thank you to the speakers, many of whom have flown in from overseas. The professionals session tends to be the most varied, as it tends not be a full meal, but just a place where folks can meet, greet and swap business cards.

I can't say it's always been a bed of roses, I've had a couple of hospital trips over the years, one for myself where, along with almost half of the conference, I came down with the dreaded noro-virus, a gastro bug that is prevalent on cruise ships. During another lca when I was chaperoning another attendee to hospital I figured my lca was over, but then I struck up a conversation with our ambulance driver, and it turned out he'd been working on pdp-11s during his uni days!

The other awful lca experience I have to mention was the flooding that occurred just one week prior to our second Brisbane lca. All of our venues were affected, some were destroyed completely. We had to shift our main venue about 5kms up the road, hire buses, find new caterers at the last minute, a whole world of pain.

For many years now, most of our talks have been recorded, using our own recording system. All of these videos are up on the Linux Australia server and youtube. This means that weeks, months after the conference is finished, I find myself watching a recording that someone has recommended, and it takes me back to that one week in every year where the world makes sense to me.

As I mentioned previously, the next linux.conf.au is in Hobart, January 2017, I hope to see some hpr listeners there.


Review of Sony Vaio VPC - swift110 | 2016-03-09

  • i3 cpu
  • 4 gb ram (can go up to 8 gb)
  • 5400 rpm hdd
  • linux mint 17.3

Fixing An Audio Problem while having a rant - MrX | 2016-03-04

This podcast details how I solved an audio problem I discovered while trying to record another episode for HPR. I'll hopefully get around to recording my original idea at a later date.

The recording was done in a bit of a hurry and I was a bit flustered so please excuse the fast talking and ranting.

Link to article that solved my problem http://blog.tiger-workshop.com/ubuntu-rear-microphone-not-working-on-ad1988b-sound-chip/

Command I used to install the app that solved my audio problem. App is from the standard Ubuntu 14.04 repo

sudo apt-get install alsa-tools-gui

Command to run from terminal to launch gui tool that solved the problem

hdajackretask

Ultra High Vacuum: loading samples - Amunizp | 2016-03-02

I hope this is the correct version of my introduction to Ultra high vacuum systems and loading samples.

Please consult with a professional before using nitrogen and ultra high vacuum system.

Nitrogen is dangerous in close environments as it displaces oxygen so please consult the health and safety risks.


Ubuntu Community donations, Governance and Hardware - JWP | 2016-02-25

I went to https://Ubuntu.com - https://Xubuntu.org, https://getfedora.org/ and https://www.opensuse.org/ to see how donations with the linux vendors worked.

The only one that I found was non profit was debain. It a real nonprofit certification in the USA.


Free/Libre/Vrije Software: The Goal and the Path - Ken Fallon | 2016-02-24

NOTE for mp3 subscribers: On the request of RMS, we are not distributing this show in mp3 format.

This is a live recording of the presentation given by Richard Stallman as part of FOSDEM fringe. It was recorded at Auditorium D0.03, Campus Etterbeek, Vrije Universiteit Brussel, Pleinlaan 2, 1050 Ixelles, Belgium on Jan 29, 2016. You may remember that pokey interviewed Richard Stallman in episode hpr1116 (http://hackerpublicradio.org/eps.php?id=1116)

The slides for the presentation are available at https://static.fsf.org/nosvn/RMS_Intro_to_FS_TEDx_Slideshow.odp

Richard Matthew Stallman (born March 16, 1953), often known by his initials, rms,[1] is a software freedom activist and computer programmer. He campaigns for software to be distributed in a manner such that its users receive the freedoms to use, study, distribute and modify that software. Software that ensures these freedoms is termed free software. Stallman launched the GNU Project, founded the Free Software Foundation, developed the GNU Compiler Collection and GNU Emacs, and wrote the GNU General Public License.
Stallman launched the GNU Project in September 1983 to create a Unix-like computer operating system composed entirely of free software. With this, he also launched the free software movement. He has been the GNU project's lead architect and organizer, and developed a number of pieces of widely used GNU software including, among others, the GNU Compiler Collection, the GNU Debugger and the GNU Emacs text editor. In October 1985 he founded the Free Software Foundation.
Stallman pioneered the concept of copyleft, which uses the principles of copyright law to preserve the right to use, modify and distribute free software, and is the main author of free software licenses which describe those terms, most notably the GNU General Public License (GPL), the most widely used free software license.
In 1989 he co-founded the League for Programming Freedom. Since the mid-1990s, Stallman has spent most of his time advocating for free software, as well as campaigning against software patents, digital rights management, and other legal and technical systems which he sees as taking away users' freedoms, including software license agreements, non-disclosure agreements, activation keys, dongles, copy restriction, proprietary formats and binary executables without source code.
As of 2014, he has received fifteen honorary doctorates and professorships.

BlinkStick - Dave Morriss | 2016-02-22

BlinkStick

Introduction

In late 2013 I noticed the local Edinburgh Hacklab were offering soldering courses building a BlinkStick. I offered to sign my son Tim up to the next course since he wanted to learn to solder. He couldn't afford the time at that point, but we agreed to buy some BlinkSticks to build at home.

This episode describes some of our experiences with building and using the device.

The version we bought and built was the v1.0 release, since that and the BlinkStick Pro were all that was available. The base version now available is v1.1, and there are several other products available from the manufacturer in addition to these. The company is called Agile Innovative Ltd, based in the UK.

I have written out a moderately long set of notes about this subject and these are available here http://hackerpublicradio.org/eps/hpr1971/full_shownotes.html.


Horrors of Spam (and the Greater Horror of filtering it) - Josh Knapp | 2016-02-18

Spam Filtering isn't magic. A lot of work goes into helping keep your inbox clean, but there is still more hosting providers could do.


Advanced Terminal Usage: byobu - Jon Doe | 2016-02-17

Long time listener, first time caller, here! My name is Jon Doe, but you can call me Jon.

Today, I am going to be talking about a more advanced usage of the terminal in linux. This basic tutorial assumes that you have a basic knowledge of getting to the terminal, and installing software, so we can skip that, and make my job easier.

First, you have software that you may want to run, and keep running, even if we disconnect, or even if we walk to another machine. Classically, there was 'screen' for this, but times change, and needs advance. My current favorite is byobu, a wrapper for the screen or tmux terminal multiplexers, tmux by default, now, which is a change since featured on episode 770 of HPR.

To run byobu, simply type it's name at the terminal, and watch it's magic. When we say it is a wrapper, this is in double context. It encapsulates the tmux or screen binary in script, and it provides some useful enhancements to the already awesome capabilities of a basic multiplexer, including a nice bar at the bottom, detailing the system stats, configurable to whatever stats you need to display.

A screen multiplexer is an application that allows the running of multiple terminals, and their applications, within a single remote or local window, allowing you to change tasks with relative ease, similar to a window manager in X, but with no mouse needed.

For a basic test, go ahead and hit F2, and you will get a second terminal, the textual task tray at the bottom indicating your current and available terminals. F3 and F4 allow you to cycle between tasks, and F2 spawns additional.

For those following along, go ahead and hit F6, you will drop back to a shell, with byobu running everything in the background, and you can exit the terminal, or run whatever else you need to, outside of byobu's control. Use the byobu command again to reconnect, note that your session has remained open, and all terminal sessions are available for you to peruse. Also note that you can open byobu again, as the same user, both remotely and locally, and keep all of your terminals going, even on multiple systems and screens, at the same time. You can even share the session with others, assuming their ability to login, and cross code, or monitor usage of their session, for educational purposes, or group coding.

A popular and useful feature of terminal windows is the ability to maintain a scroll back buffer, and using a multiplexer, ostensibly, destroys this ability on the graphical side, assuming you are using it in a graphical environment, keeping the text for itself. Fear not, good hacker, for the simple application of F7 will activate scroll back mode, and allow your cursor (or arrow) and page keys to scroll up and down the text buffer. Enter settles you back to the end, allowing quick access to whatever just happened in that specific task windows while you were away.

This has been an introduction to advanced terminal usage, brought to you by Jon Doe.

And for those NPR nerds out there, "This is HPR, Hacker Public Radio"

http://byobu.co/


Adding SQLite as a datasource to SQLeo - Ken Fallon | 2016-02-12

I have been looking for a tool that will graphically and programmatically track identifiers as they pass through systems. I could have done this in Inkscape after following the excellent tutorials on http://screencasters.heathenx.org/, however I also wanted to be able to describe the relationships programmatically.

This got me to thinking about graphical query builders for databases. The idea is to show each system as a table block and then draw lines between them to show how "Field_X" in "System_A" will map to "Field_Y" in "System_B". Many of the proprietary and some free database solutions allow this type of view. However I also want to easily package the entire thing up, so that someone else could access it without needing to pay for or install any specialized software. That limited the choice of database to SQLite, which is small, supported on many platforms and is released into the Public Domain.

SQLite is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. The code for SQLite is in the public domain and is thus free for use for any purpose, commercial or private. SQLite is the most widely deployed database in the world with more applications than we can count, including several high-profile projects.
Please follow the instructions on the SQLite site for information on how you can install it on your system. For me on Fedora it's simple to install via dnf/yum. You might also want to install some GUI managers if that's your thing.
dnf install sqlite sqlitebrowser sqliteman
I created a small database for demonstration purposes, consisting of two tables and one field in each.

Next step is to download SQLeo Visual Query Builder which has support for a graphical query builder.

A powerful SQL tool to transform or reverse complex queries (generated by OBIEE, Microstrategy, Cognos, Hyperion, Pentaho ...) into diagrams to ease visualization and analysis. A graphical query builder that permits to create complex SQL queries easily. The GUI with multi-connections supports virtually all JDBC drivers, including ODBC bridge, Oracle, MySQL, PostgreSQL, Firebird, HSQLDB, H2, CsvJdbc, SQLite. And top of that, everything is open-source!
SQLeo is a Java Tool and there is a limited version available on the web site which is limited to 3 tables per graph and 100 rows. Now as the program is released under the GPLv2.0, you could download the code and remove the restrictions. You can also support the project to the tune of €10 and you will get the full version ready to rock.

Unzip the file and enter the newly created directory, and run the program as follows:

java -Dfile.encoding=UTF-8 -jar SQLeoVQB.jar
One slightly confusing thing, and the reason for this post, is that I could not find support for SQLite listed in the list of databases to connect to. A quick search on the support forum and I found the question "Connection to SQLite DB". I found the answer a bit cryptic until I read the manual related to JDBC Drivers, which told me how to add the sqlite library.

SQLeo uses a standard Java sqlite library that is released under the Apache Software License, Version 2.0. You can download it from the SQLite JDBC MVNRepository and save it into the same directory as SQLeo.

Right Click in the Metadata explorer window and select new driver.

For step by step instructions please see http://hackerpublicradio.org/eps/hpr1965.html


HPR New Years Show Episode 4 - HPR Volunteers | 2016-02-11

HPR NEW YEARS EVE SHOW EPISODE: 4

  • Can you buy a NEW CHEAP computer that can run GNU Linux?

  • Is ARM the future

  • The HPR audio book club

  • After hours fun at Linux conferences

  • Christmas light displays

  • Southern living and booze

  • Visit Orlando

  • Fun with etching

  • Pronunciation of town names

  • Pranks

  • Naval warfare

  • Some of TwoD's background story

  • Scanning photos and kids' art

  • Strange Steam badge: https://gj.reddit.com/r/'/comments/3yyju8/how_to_get_the_red_herring_steam_badge_holiday/

  • Happy 2016 to everyone


HPR New Years Show Episode 3 - HPR Volunteers | 2016-02-10

HPR NEW YEARS EVE SHOW EPISODE: 3


HPR New Years Show Episode 2 - HPR Volunteers | 2016-02-09

HPR NEW YEARS EVE SHOW EPISODE: 2


HPR New Years Show Episode 1 - HPR Volunteers | 2016-02-08

HPR NEW YEARS EVE SHOW EPISODE: 1

http://photos.jdulaney.com/train/models/hon30/GEDC0157.JPG

http://photos.jdulaney.com/train/models/hon30/GEDC0158.JPG Standard gauge N scale:

http://photos.jdulaney.com/train/models/n/GEDC1995.JPG

http://photos.jdulaney.com/train/models/n/GEDC0145.JPG

http://photos.jdulaney.com/train/models/n/GEDC0137.JPG

http://photos.jdulaney.com/train/models/n/GEDC0013.JPG

http://photos.jdulaney.com/train/models/n/GEDC0010.JPG 3D printed N scale:

http://photos.jdulaney.com/train/models/n/3d_printed_lima_0.jpg

http://photos.jdulaney.com/train/models/n/3d_printed_lima_1.jpg


Install Open Street Map on a Garmin 60CX - David Whitman | 2016-01-29

  1. First go to this site: http://garmin.openstreetmap.nl/
  2. Then select your map type
  3. Select and download the predefined area or tiles you want. You can download it directly or have the web page build it for you by entering your email address and pushing the button BUILD MY MAP.
    a) If you choose the email option then you get an email that the map is being built and another (later on) that the map is ready.
  4. Unzip the file
  5. Rename the downloaded map to gmapsupp.img
  6. Save your old map (that's on your device) entitled to a different name and then backup
  7. Put the map you unzipped and renamed in its place and make sure it is renamed to 'gmapsupp.img' (omit the single quotes I have used in these show notes)
  8. Use your device and thank OSM

Reasons why I like OSM for use on my Garmin 60CX and Garmin E-trex Vista

OSM maps have more data for my area than the Garmin supplied map World Wide maps are available. See where Peter64, Ken Fallon or even 5150 lives. It's cheaper than buying a commercial map Trails, points and other improvements I put on OSM can be on my map I like the OSM concept and community.

These older GPS's can be purchased for bargain prices. Apparently the suction cup receiver - Garmin Windshield devices can also use OSM maps with other free software.


Grandpa Shows Us How to Turn Custom Pens - Jon Kulp | 2016-01-28

Grandpa Shows Us How to Turn Custom Pens on a Lathe

Warning: this show is kind of long, even though I cut out about half of the original raw audio. While my parents were visiting during the holidays, my dad taught me, the wife, and the kids how to turn pens on his mini lathe. We made a few mechanical pencils, a pen and I also made a giant workshop pencil. Click on the image below to look at the gallery of photos on Flickr.

Pen Turning

[my wife's lovely mechanical pencil]

Links

Credits


An Interview with David Willson of the Software Freedom School - David Whitman | 2016-01-27

David Whitman interviews David Willson of Software Freedom School


Kdenlive Part 2: Advanced Editing Technique - Geddes | 2016-01-22

Hello again HPR listeners this is Geddes back with Part 2 in the series covering the video editing application KdenLive.

Last time in part one we looked at Installing, First launch, Your workspace, Importing footage, Three-point editing, and lastly The basic tools.
http://hackerpublicradio.org/eps.php?id=1925

This time round we’ll be looking at advanced editing technique and Part 2 covers the following topics:

  • A Brief History of the Editing Workflow
  • Editing in the Timeline,
  • Audio Splits and Grouping Clips,
  • Basic Navigation in the Timeline,
  • Notes on Video Formats.

Here’s the link to the original article.
https://opensource.com/life/11/11/advanced-editing-kdenlive


The Kindle/Kobo Open Reader (KOReader) - Jon Kulp | 2016-01-21

In this episode I talk about installing an alternate ebook reader app on your Kindle paperwhite. The one I'm using is called the Kindle/Kobo Open Reader (KOReader), and it has many features that the stock Kindle reader does not have:

  • Epub support
  • Word-breaking hyphenation
  • PDF reflow
  • Take screenshot with diagonal swipe
  • Export highlights to Evernote
  • Fills more screen space
  • User-installed fonts

How to get it running:

  • Jailbreak your Kindle, refer to this post. Jailbreaking doesn't give you any new programs. What it does is unlock the potential of the device and allows you to install different launchers and applications.
  • Install alternate launcher, such as KUAL, the Kindle Unified Application Launcher. This is a framework that allows developers to create menu items that will launch applications on a jailbroken Kindle.
  • Install KOreader. Instructions
  • Install Dictionary files for whatever languages you want to have (optional)
  • install Tesseract language data (optional)

You can allow KOreader to take over styling of whatever book you're reading. If you don't like the style rules it applies, you can hack the epub CSS file located here: /koreader/data/epub.css

Links


ocenaudio - lostnbronx | 2016-01-19

ocenaudio is a cross-platform, easy to use, fast and functional audio editor. It is the ideal software for people who need to edit and analyze audio files without complications. ocenaudio also has powerful features that will please more advanced users.

ocenaudio supports VST (Virtual Studio Technology) plugins, giving its users access to numerous effects. Like the native effects, VST effects can use real-time preview to aide configuration.

LOSTNBRONX

http://www.cavalcadeaudio.com

OCENAUDIO

There's not much documentation out there for Ocenaudio. Here are a couple links to articles that might help:


The Quassel IRC System - FiftyOneFifty | 2016-01-15

Quassel is a centralized IRC hub that allows several client computers to appear as only one connection to the IRC server, i.e. Freenode. About the same time NYBill posted Episode 1869 "IRSSI Connectbot", I was wondering how to merge all my simultaneous IRC connections from multiple hosts to the same channel on the same server into one connection. I did a search on "GUI front end IRSSI" and came up with Quassel instead. I think NYBill and I are trying to solve pretty much the same problem. I'm not trying to say my solution is better than NYBill's, I'm just saying it's the one that appeals the most to me.

Problem: IRC servers (or at least Freenode) do not allow simultaneous connection from multiple hosts using the same user identifier. I.E., if I was logged in on the PC on my desk via XChat as FiftyOneFifty, if at the same time I was connected to IRC via a PC on the kitchen counter, I would have to use "Kitchen5150" as my identifier. If I was away from home, but left a computer connected to IRC back home, if I connected againover Android I'd have to be Andro5150. I could adopt all these other personas as aliases, which protected them from theft and allowed me to still have admin rights on channels where I was admin depite using a different login. These multiple versions of me running in IRC inevitably lead to confusion about which was the "real" FiftyOneFifty, a situation which MrJackson is all too familiar with, I'm sure.

IRSSI Solution: Connect to a server via ssh, then login into IRC using the IRSSI terminal client inside a GNU screen or TMUX session. When moving between local hosts, disconnect from the current screen or tmux session, ssh into the server from the new host, and reconnect to the session running irssi. The irssi ncurses interface may not be as pretty or easy for some users as a GUI, but I understand it is quite functional.

Quassel Solution: Connect to IRC server via a single host running quassel-core. Connect multiple simultaneous clients to the core via quassel-client. All clients share the same IRC display at the same time, all the while transparent to the server (i.e. Freenode), which only sees the one login from the host running quassel-core.

There are two components two this system, quassel-core and quassel-client. You want to install quassel-core on to a system with a persistent Internet connection, say a home or cloud server. I first used Arch on and RPI model 2, so quassle-core setup for Arch may be found here: https://wiki.archlinux.org/index.php/Quassel .

A. Install the core

  1. Install quassel-core on the server [sudo pacman -S quassel-core]

  2. Generate a certificate

  3. Start core (i.e. sudo systemctl start quassel)

  4. Enable quassel on every startup (sudo systemctl enable quassel)

    • There is something in the wiki about a but preventing the enable fundction from working. "systemctl enable" just creates a sysmlink into the proper startup directory, so the wiki replaces it with a copy command "cp /usr/lib/systemd/system/quassel.service /etc/systemd/system/"
  5. Set up Port Forwarding on your router. I suggest you use an external port other than the default 4242 (Security Through Obscurity, see my Port Forwarding episode).

All the configuration is done by the client!

B. Install quassel-client

  1. All you need to connect is an IP address and the external port number. The first account you create will be master and the only account with the ability to create other users. In other words, if someone else had your server's IP address and the port Quassel-core is listening on, they could beat you to establishing a master account and controll Quassel on your server.

  2. Once you have established a connection to a core and set your password, you can set up the default IRC servers and channels. It's a GUI interface, so I'm not going to walk you through the menus and various inputs. I only had success setting up one IRC server (Freenode) in the initial setup on the first client (as you connect addition clients, you will find your channels are already configured), and then only if I avoided ssl connections. Channels are entered into a list in the normal way (#channel_1, #channel_2, etc), but once you connect to a server, /join commands become persistant. I added a second IRC server, tllts, once I finished the initial setup.

The user interface is similar to XChat,but not quite as polished.

  1. You get popup notifications when someone uses your handle in a chat, but scrolling back to find it, rather than being in a different color, it shows up in a garish reverse text. Easier to spot, but not as eligant.

  2. No way to search back posts for your handle or anything else.

  3. Links posted by others only have "copy this link function", not "open this link in default browser"

  4. I don't seem to have spellchecking enabled in my IRC client. I discovered spell checkwas central in Linux, rather than every app having it's own version (i.e. I assume FireFox under Windows has it's own spellcheck libraries as Office has it's own library). I wonder if I installed hunspell on the Quassel core server, if I would suddenly get spellcheck ( http://hackerpublicradio.org/eps.php?id=1356 ).

There is a perfectly adequate Android client for Quassel. Like AndChat, YAAIC, and the others, it seems to drop the connection unless you actively participating, but since the server is persistent, you never miss out on what was said while your client was disconnected.

The last time I was awy for the weekend, I shut off all my PC's and network devices. One drawback of a local Quassel server would be my LAN and Quassel Core server would need to be up even when I was away from home.

Migrating Quassel from my local server to the cloud: About a week after I'd set up Quassel, a buddy anounced he had secured a Digital Ocean Droplet ($5 a month, limited storage, limited bandwidth). He was open to letting his friends use the service, as long as their requirements were low impact. I jumped on the oppurtunity to move my quassel-core over to the "cloud". Remember the five and a half steps to setting up quassel-core under Arch? According to my friend who manages the Digital Ocean Droplet running Ubuntu Server, it was pretty much "sudo aptitude install quassel-core". Once the core was running I then configured the new core from one of the clients (i.e., pointed quassel-client to a new IP and port number, then created an account and password). Since I was on a new server, I had to set up connections my IRC channels again. After that, every client I migrated to the new core inherited those channels from the server. A week or so after moving the core to the cloud, I came home to find my Internet had been down for a few hours. Cycling the power on the ISPs tranceiver and my router fixed my Internet connection, and since Digital Ocean had experienced no interruption, I was still able to scroll back to the five hours of IRC I missed.


sshfs - Secure SHell FileSystem - FiftyOneFifty | 2016-01-14

This is a topic Ken Fallon has been wanting someone to do for some time, but I didn't want to talk about sshfs until the groundwork for ssh in general was laid. Fortunately, other hosts have recently covered the basics of ssh, so I don't have to record a series of episodes just to get to sshfs.

From the sshfs man page: SSHFS (Secure SHell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used.

In short, sshfs offers a dead simple way of mounting remote network volumes from another system on at a specified mount point on your local host, with encrypted data communications. It's perfect for at hoc connections on mobile computers or more permanent links. This is tutorial is going to be about how I use sshfs, rather than covering every conceivable option. I really think my experience will cover the vast majority of use cases without making things complicated, besides, I don't like to discuss options I haven't used personally.

There are other ways to mount remote storage, most noteably SAMBA, but unless you are trying to connect to a Windows share, sshfs is far less trouble to set up, escpecially since most distros come with ssh-server already installed.

The first thing to do when preparing to use sshfs is to create a mountpoint on your local computer. For most purposes, you should create a folder inside your home folder. You should plan to leave this folder empty, because sshfs won't mount inside a folder that already has files in it. If I was configuring sshfs on a machine that had multiple users, I might set up a mount point under /media, then put symlinks in every user's home folder.

The sshfs command syntax reminds me of many of the other extended commands based ssh, like scp. The basic format is: sshfs username@<remote_host>: mountpoint

To put things in a better perspective, I'll use my situation as an example. My home server is on 192.168.2.153. If you have a hostname set up,you can use that instead of an IP. For the sake of arguement, my mountpoint for network storage is /home/fifty/storage . So, I can mount the storage folder on my server using:

sshfs fifty@192.168.2.153: /home/fifty/storage

By default, your whole home directory on the remote system will be mounted at your mountpoint. You may have noticed the colon after the IP address, it is a necessary part of the syntax. Lets say you don't wish to mount your whole remote home folder, perhaps just the subdirectory containing shared storage. In my case, my server is an Raspberry Pi 2 with a 5Tb external USB drive which is mounted under /home/fifty/storage . Say, I only want to mount my shared storage, not everything in my home folder, I modify my command to be:

sshfs fifty@192.168.2.153:storage /home/fifty/storage .or. sshfs fifty@192.168.2.153:/home/fifty/storage /home/fifty/storage

Except that generally doesn't work for me, and I'll come to that presently. The 5Tb USB drive on the server isn't actually mounted in my home folder, it automounts under /media. The directory /home/fifty/storage on the server is actually a symlink to the actual mountpoint under /media. To make sshfs follow symlinks, you need to add the option '-o follow_symlinks', so now my sshfs command looks like:

sshfs fifty@192.168.2.153: /home/fifty/storage -o follow_symlinks

You may have noticed, the "-o" switch comes at end the end of the command. Usually switches come right after the command, and before the arguements.

This will allow sshfs to navigate symlinks, but I've discovered not all distros are comfortable using a symlink as the top levelfolder in a sshfs connection. For example, in Debian Wheezy, I could do:

sshfs fifty@192.168.2.153:storage /home/fifty/storage -o follow_symlinks

Other distros, Ubuntu, Mint, Fedora so far don't like to connect to a symlink at the top level. For those distros, I need to use:

sshfs fifty@192.168.2.153: /home/fifty/storage -o follow_symlinks

and walk my way down to storage.

Other related options and commands I haven't used but you may be interested in include -p , for Port. Lets say the remote server you want to mount is not on your local network, but a server out on the Internet, it probably won't be on the default ssh port. Syntax in this case might look like:

sshfs -p 1022 fifty@142.168.2.153:storage /home/fifty/storage -o follow_symlinks

Reading the man page, I also find "-o allow_root" which is described as "allow access to root" . I would expect, combined with a root login, this would mount all of the storage on the remote system, not just a user's home directory, but without direct expertience, Iwouldn't care to speculate further.

The mount can be broken with 'fusermount -u <mountpoint>'.

At this point, I could explain to you how to modify /etc/fstab to automatically mount a sshfs partition. The trouble is, /etc/fstab is processed for local storage before any network connections are made. Unless you want to modify the order in which services are enabled, no remote storage will ever be available when /etc/fstab is processed. It makes far more sense to encapsulate your sshfs command inside a script file and either have it autoloaded with your desktop manager or manually loaded when needed from a terminal.

One thing to watch out for, is saving files to the mountpoint when the remote storage is not actually mounted, i.e., you save to a default path under a mountpoint you expect to be mounted and is not, so all the sudden you have files in a folder that is supposed to be empty. To remount the remote storage, you have to delete/move the paths created at your designated mountpoint, to leave a pristeen, empty folder again.

Weihenstephaner Vitus - The label says it's a Weizenbock, so we know its a strong, wheat based lager

IBU 17 ABV 7.7%


Kobo Touch N-905 E-Reader - klaatu | 2016-01-12

Klaatu reviews the Kobo Touch N-905 e-reader.

Too Long; Didn't Listen: it's a positive review and the device mostly works well with Linux. There are some exceptions, such as the need to hack around the registration process; luckily, that's easy:

http://gedakc.users.sourceforge.net/display-doc.php?name=kobo-desktop-ereader-setup

That being "the ugly", here are the Good and the Bad:

Good:

  • works with Linux, after one initial hack
  • uses file manager or calibre
  • great format support (EPUB, EPUB3, PDF, MOBI, JPEG, GIF, PNG, BMP, TIFF, TXT, HTML, RTF, CBZ, CBR)
  • e-ink
  • great battery life (lasts a month on one charge, with every evening and weekend filled with reading)
  • a little more interactive and configurable than expected
  • one device, one app, one purpose
  • small, lightweight, convenient
  • cheap ($60 USD)
  • expansion up to 32gb

Negative

  • requires registration (or a rego hack)
  • rearranges your books by meta data; no override to respect your dirs
  • touch screen
  • slow (though not annoyingly slow)
  • long time to index books
  • hard to keep track of books you are currently reading
  • sleep/off screen should be more configurable

Collating Pages with pdftk - Jon Kulp | 2016-01-07

I'm moving into my new office at work, and among many things I had to move are file boxes full of old class notes from graduate school. The academic hoarder in me doesn't want to recycle them—I might need these things again! I'm scanning.

I've inherited an excellent scanner/copier with a feeder that lets you scan stacks of pages with one click. This works great for single-sided documents, but most of my handwritten notes are double-sided. I scan one side, then turn the stack over and scan the other side, and I end up with two PDFs for a single stack of pages—one with the front pages and the other with back pages in reverse order. The difficulty is to collate the pages of those two files so that the front and back sides appear in a single PDF in the correct order. Sounds like a job for a shell script!

The script takes two CLI arguments. The first argument is the PDF containing front pages, and the second is the PDF of the back pages.

The first job is take the backsides and reverse the page order, because they were scanned in last-page-to-first. This is very easy with pdftk:

pdftk back.pdf cat end-1 output backfix.pdf

Now that the pages are all in the correct order it's time to collate them. We're going to use the burst function of the PDF toolkit to explode each of the two PDFs into separate pages. After that, we recombine the separate pages in the correct order. The trick is finding a way to do this efficiently. In concept, it's not hard to collate pages in whatever order you want after they've been burst. You simply keep giving pdftk CLI arguments for all of the files you want to combine and then output them as a single file. However, if you have 40 or 50 pages, it's extremely tedious to provide that many CLI args one at a time. This must be automated!

The way I figured out how to do this was to ensure that the burst command would output files that would appear in the correct order automatically when using the ls command inside the working directory. The burst command automatically numbers the output files, but you can specify certain filename formatting parameters if you want to. I chose a format that would begin the filename with the numerical page count in at least three digits with leading zeros (001, 002, etc), followed by an underscore and either the word "front" for the front pages or "reverse" for the back pages.

So here are the burst commands:

pdftk front.pdf burst output %03d_front.pdf
pdftk backfix.pdf burst output %03d_reverse.pdf

At this point a bunch of new files appear, looking something like this:

001_front.pdf
001_reverse.pdf
002_front.pdf
002_reverse.pdf
003_front.pdf
003_reverse.pdf
...

Notice how the front and back pages all appear in the correct order? Now, instead of typing in the filename for every page, we can use the output of the ls command, filtering out any files not beginning with numbers.

pdftk $(ls |grep ^[0-9]) cat output collated.pdf

And it's done. The entire script loks like this:

#!/bin/bash

# Requires: pdftk

front=$(readlink -f "$1")
back=$(readlink -f "$2")
basedir=$(dirname $front) 
stem=$(basename $back .pdf)
backfix="$stem"-fixed.pdf
new=$(basename $front .pdf | sed -e 's/[Ff]ront/Combined/')

cd $basedir
pdftk $back cat end-1 output $backfix &> /dev/null
pdftk $front burst output %03d_front.pdf &> /dev/null
pdftk $backfix burst output %03d_reverse.pdf &> /dev/null
pdftk $(ls |grep ^[0-9]) cat output "$new".pdf

Links


How I prepare HPR shows - Dave Morriss | 2016-01-06

How I prepare HPR shows

Introduction

I have been contributing shows to Hacker Public Radio since 2012. In those far off days (!) we sent everything in via FTP, and had to name the files with a combination of our host id, our name, the slot number and the title. The show notes had to contain a chunk of metadata in a defined format to signal all of the various attributes of the show. I found myself making numerous mistakes with this naming and metadata formatting and so started designing and writing some tools to protect myself from my own errors.

I started developing a Bash script in mid-2013 which I called hpr_talk. I used Bash since I thought I might be able to make something with a small footprint that I could share, which might be useful to others. The script grew and grew and became increasingly complex and I found I needed to add other scripts to the toolkit and to resort to Perl and various Perl modules to perform some actions.

Then in 2014 Ken changed the upload procedure to what it is now. This is a much better design and does away with the need to name files in odd ways and add metadata to them. However, this left my toolkit a bit high and dry, so I shelved the plans to release it.

Since then I have been enhancing the hpr_talk toolkit, adding features that I found useful and removing bugs, until the present time. Now it is probably far too complex and idiosyncratic to be of direct use to others, and is rather too personalised to my needs to be easily shared. Nevertheless, it is available on GitLab and I am going to describe it here in case it (or the methods used) might be of interest to anyone.

I have written out a moderately long set of notes about this subject and these are available here http://hackerpublicradio.org/eps/hpr1938_full_shownotes.html.

Audio Notes

I had to record this in two parts. In the second part there was a constant background hum which I tried to remove. My removal process was not particularly successful I'm afraid, so it cuts in and out. I'm still learning how to do this sort of thing in Audacity!


Quick Bashpodder Fix - Charles in NJ | 2016-01-01

Bashpodder is a great Bash script for downloading the latest episodes of podcasts and other media from their feeds.

There are a few feeds that are not handled properly by Bashpodder, namely, the TED Talks podcast feed and the NPR digest show called the TED Radio Hour.

The URLs for the audio files have a number of additional fields at the end of the string after the media file name, and Bashpodder picks up the last field as if it were the media file name for the show. So every TED Radio Hour episode is called "510298". If you download more than one episode at a time, only the last episode to be saved will survive. Each new file clobbers the last one, because they all get the same filename.

Charles in NJ made a simple fix to Bashpodder.shell to correct this problem, and he shares it in this episode.

Links:

Additional Resources:

  1. Original version of Bashpodder.shell
    http://hackerpublicradio.org/eps/hpr1935-bashpodder_original.shell
  2. Revised version with fixes to pick up TED-related podcast files
    http://hackerpublicradio.org/eps/hpr1935-bashpodder.shell
  3. Abbreviated example of bp.conf configuration file that tells Bashpodder what resources to fetch
    http://hackerpublicradio.org/eps/hpr1935-bp.conf
  4. Abbreviated example of podcast.log that shows how Bashpodder stores its history, including some sample TED links.
    http://hackerpublicradio.org/eps/hpr1935-podcast.log

Happy New Year from Charles in NJ.


Experiencing the Meegopad T-02 Part two - A Shadowy Figure | 2015-12-31

Part 2 of "Experiencing the Meegopad T-02.

Many thanks to all the HPR contributers that inspire such great stories.

Glossary of slang terms to be updated upon show release, along with the list of sound effects contributers.

Special thanks to the following individuals from freesound.org for their sound effects used throughout this episode.
Rutgermuller
jaredi
hybrid34
lintphishx
timbre
cameronmusic
cr4sht3st
husky70
mojomills
ultradust
conleec
ingolyrio
dapperdanial
robinhood76
unfa
kwahma-02
stephsinger22
lonemonk
reg7783
Higher quality stereo copies of this episode in .Flac, Ogg, and MP3 format can be found at the following link.
https://drive.google.com/folderview?id=0B6BAm4vn8c7QWnZLbnFib0JPc2M&usp=sharing
Glossary of slang terms used in this episode:
"Came unglued" = going berzerk
"Sang a little song" = provided information to law enforcement
"Still" = whiskey making apparatus
"Scoring Barbies" = Picking up women
"G-Men" = Government employees. (Federal agents)
"Makerspace" = 3-D Printing facility
"Johnny Law" = Law Enforcement
"C-Note" = $100.00 bill
"Speakeasy" = illegal drinking establishment in prohibition era United States
"68 Chevelle" = 1968 Chevrolet 2-door automobile
"Ratting me out" = informing on someone
"Frank Nitty" = 30's era Gangster, Al Capon's right hand man (Enforcer)
Disclaimer:
All characters are fictitious renditions of HPR contributers.
Nothing about any individuals character is based on anything other than my personal convenience of using their likenesses in fictitious storytelling.
No disrespect is intended in any way.
The genre that the character A Shadowy Figure lives in is hard boiled Noir.
Noir reflects a past history that had different standards than we do now.
I do not personally hold those antiquated world views. Nor do I promote them through this work of fiction. I would like to think this artistic creation does provide an opportunity to see how far we've come as a society.
But most of all, I'd like to think that you the listener, are entertained and/or inspired by this presentation.
Thank you all for your support.
A Shadowy Figure

Atomic force microscopy - Amunizp | 2015-12-28

I give a quick overview of what is nanotechnology. go over some of the tools used to view the small scale. I go a bit more in depth with atomic force microscopy.

I left many things out that I would like to have said but mostly you can get further information here:

https://en.wikipedia.org/wiki/Atomic_force_microscopy


A systemd primer - Clinton Roy | 2015-12-25

1 What is systemd?

A dependency system for unix services.
And, a set of basic unix services to make a unix system usable.
And, a growing list of not quite so basic services

  • NTP, networkd, timers (crond/atd)

From a programmers perspective, it's the mainloop phenomenon.

2 Alternatives

Solaris: Service Management Facility
Mac OSX: launchd
Ubuntu: upstart (until recently)

3 Replaces

SYSV
LSB (actually implements LSB deps)

4 Terminology

units

  • [auto]mount
  • swap
  • path (inotify triggers)
  • socket
  • timer (crond/atd)
  • service
  • slice (cgroup)
  • pseudo
    • device
    • snapshot
    • scope

targets

  • replace run levels
  • default target at boot
  • can isolate to just one target

5 Advantages - Design

Proper, explicit dependencies between system compontents
Starts components in parallel
A proper separation of concerns, lots of situations covered.

  • configuration files are regular, simple to understand generally small
  • OTOH, there are LOTS of options

Configuration is not runnable shell.

[Unit]
Description=CUPS Scheduler
Documentation=man:cupsd(8)

[Service]
ExecStart=/usr/sbin/cupsd -l
Type=simple

[Install]
Also=cups.socket cups.path
WantedBy=printer.target

Separate system and user daemons.

6 Advantages - Sysadmins

Modify configuration without modifying upstream configuration
Service watching (startup, watchdog, failure modes)
systemd-delta

[EXTENDED]   /lib/systemd/system/rc-local.service → /lib/systemd/system/rc-local.service.d/debian.conf
[EXTENDED]   /lib/systemd/system/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
[EQUIVALENT] /etc/systemd/system/default.target → /lib/systemd/system/default.target

3 overridden configuration files found.

7 Advantages - Programming

Removal of some error and security prone code

  • socket activation (e.g. privileged ports)
  • user/group changing

8 Advantages - Provisioning

standardized cgroup controls
containers
debootstrap ; systemd-spawn-boot * systemd takes care of all pseudo file systems for you

9 Advantages - Users

quick to boot
can reduce load later on (services start & stop as required)

10 Examples

Color legend:

  • black = Requires
  • dark blue = Requisite
  • dark grey = Wants
  • red = Conflicts
  • green = After

systemd-analyze blame

systemd-analyze plot

systemd-analyze plot gdm.service

11 Disadvantages

Journald

  • It’s really nice in theory, but in practice I’ve found it to be slow and buggy

It’s a little new, so LTS distros necessarily have older versions

  • el7 has something like 200 patches

network-online.target is a bit flakey
DBUS

  • Unix is a graveyard of IPC, I don't feel DBUS is much better
  • KDBUS means it will probably be around for ever.

12 Quandries

Deeply hooked into linux specific details, not portable

  • kernel api, cgroups, udev etc.

Some cool features relient on file system e.g. btrfs for snapshot

13 Future

I haven’t had a chance to play with networkd yet, but it sounds like it’s going to be very good.

14 Questions

Migrating

  • It depends…
  • systemd only supports start/stop/reload
  • work with the daemon: oneshot/simple/forking/inetd
  • integrate with systemd: notify, watchdog

Userspace

  • Every login, a separate systemd -> user is spawned
  • Can override with .config/systemd files

I Found a Flashlight - Jon Kulp | 2015-12-24

I Found a Flashlight

A couple of weeks ago on the way to work I found a flashlight (or a "torch," for those folks across the pond). It was rolling around on the street getting run over by cars and seemingly not suffering any damage as result. As soon as it was safe, I walked out into the street and grabbed it and took it with me. A little poking around online showed me that this was no ordinary device, but a police-grade flashlight.

I contacted the Lafayette Police Department to find out what kind of flashlights they used and whether anyone had reported one missing. Ordinarily when I find something I don't worry about this, but I discovered that this thing cost quite a lot of money—around $125 on Amazon with a retail price of $225—and if a police officer had lost it I certainly didn't want him going into his own pocket to replace it if I could just give it back to him. The police department wrote back to me saying, yes, this was the kind of flashlight that they issued to their officers but no one was missing one. I also asked the University Police and they said they don't normally issue flashlights but that sometimes officers bought their own and no one had reported missing one.

After seeing the amazing build quality and absolutely unbelievable light quality this thing produced, I decided to keep it and so I had to buy a charger to recharge the battery. This cost about $28 and now I'm the proud owner of a Streamlight SL-20L flashlight. This is truly one of the greatest tools I've ever had. Listen to the show to hear me sing its praises!

Links


National Measurements Institutes - Amunizp | 2015-12-21

I give a short personal view on what are National Measurements Institutes. More info can be found here:

One thing not mentioned but related is ISO:

https://en.wikipedia.org/wiki/International_Organization_for_Standardization


Kdenlive Part 1: Introduction to Kdenlive - Geddes | 2015-12-18

This article has been written by Seth Kenlon and is narrated for you by Geddes. It was first published on 2011-11-16 and some of the commands may have changed slightly. Please see https://opensource.com/life/11/11/introduction-kdenlive for the complete text.

Seth Kenlon is an independent multimedia artist, free culture advocate, and UNIX geek. He is one of the maintainers of the Slackware-based multimedia production project, http://slackermedia.ml

GNU/Linux has infamously been wanting for a good, solid, professional-level free video editor for years. There have been glimpses of hope here and there, but mostly the editors that have the look and feel of a professional application are prone to blockbuster-worthy crashes, and those that have been stable have mostly been stable because they don't actually do anything beyond very basic editing. Kdenlive changes all of that.

At the film production facility at which I work, Kdenlive is the Linux editor in production use, and it performs (and frequently out-performs) the Mac boxes in cost, upkeep, flexibility, speed, and stability. This article series seeks to illuminate for professional editors how Kdenlive can replace proprietary tools, nearly as a drop-in replacement.

A good video editor is one that is suitable for anyone wanting to edit video, with powerful features that enable the video professional to do any task required of the job, yet with the simplicity that allows a hobbyist to quickly cut together footage off of a phone or point-and-click camera. Kdenlive can be both of those things, but regardless of the scope of your video project, there are right and wrong ways of doing things. Over the course of five articles, we will review the practical usage and the common set of best practices that will ensure your projects are successful.


The case to backup Google email. - Archer72 | 2015-12-15

Google Takeout, good for backup of gmail, or anything else from the Google-verse.

Thunderbird email client

ImportExportTools for Thunderbird


How to run a conference - Clinton Roy | 2015-12-14

The slides that this podcast are based upon can be found here:

https://docs.google.com/presentation/d/1_fkpXmW7ruYXOZBzXG5wGuNeFV_JPCA7G2A7qTMlN8g/edit?usp=sharing


Waking up - Jezra | 2015-12-03

When I first heard Windigo's episode about waking up, I literally uttered "Windigo, yer fucking killing me, man".

http://hackerpublicradio.org/eps.php?id=1838


The Linux Experiment - The Linux Experiment | 2015-12-02

Is free software ready for the mainstream? Has Linux progressed far enough in its evolution to be a practical desktop environment for those who dont have degrees in computer science? Can a user really just switch off Windows or Mac and be as productive on a completely open source operating system?

The Linux Experiment is relatively simple in its goals. Friends, all with varying degrees of experience with Linux in general (even some with zero experience and others who have experience with multiple distributions), will install some distribution or another of Linux on their home computers for four months.

Over the course of these four months, the users will administrate, tinker with, and use Linux as their primary home operating system, utilizing the power of open-source operating systems and applications to see just how productive they can be. Updates will be made on this very site along the way, providing an in-depth look into how each user is adapting to their new environment. The trials, tribulations, triumphs, and other nouns beginning with t will all be laid out here, bare for everyone to see.

By the end of the four month cycle, each user has imposed their own goals as to where they want to be with Linux; running a server environment? Comfortable to tinker with bash commands? Time will tell.

For now, sit back, relax, and enjoy this isnt your normal experiment. We are the guinea pigs.


Thoughts on GUI v CLI and the best distro - Ken Fallon | 2015-11-30

Promotion of GUI to new users

Deciding which GUI to present to a non techie, is simply a non issue as they can and do use different OS's all the time. We all have family and friends who have managed to operate phones, TV's and tablets as they iterate through their UI changes. Think about the changes in phones from Symbian to Android, iOS. The move from up and down channel tv's to DVR's, STB's and smart TV's. An then they all managed to get the hang of iPads and tablets without even calling you.

Promotion of GUI to tech savvy users.

Teach someone to use a GUI and they can use that computer.
Teach someone the command line and they can use any computer.

GUI's change and do so all the time. This happens across the board. On all OS's Windows, Mac, KDE, Android, Gnome, Nokia.
https://en.wikipedia.org/wiki/History_of_the_graphical_user_interface

On the other hand, if you learn to computer via the command line ONCE, then you know how to operate computers from 46 years ago, and most likely in 46 years. If you plans involve a career in the tech industry, you need to be using the command line.

Most of the issues are the fear of not been the expert any more.

Is Linux is ready for the Desktop ?

Yes. Android
http://www.businessinsider.com/iphone-v-android-market-share-2014-5?IR=T

IS GNU/Linux is ready for the Desktop ?

But you cry "Android isn't Linux".

Yes. ChromeOS is now shipping more units to educational market than Apple.
http://www.forbes.com/sites/anthonykosner/2014/12/01/google-unseats-apple-in-u-s-classrooms-as-chromebooks-beat-ipads/
https://events.linuxfoundation.org/sites/events/files/slides/chrome.pdf

Summary

Don't worry about it. Find what works for you and use it. Try and learn as much as you can. Learning stuff that will be around in 5 years is a good investment, but that is your choice.


QMMP--The Qt-based MultiMedia Player - Frank Bell | 2015-11-27

Qmmp is an audio and video player for Linux, BSD, and Windows that's similar in appearance and functionality to Wimamp and XMMS. The Linux and BSD version are capable of playing video as well, through an mplayer plugin.

If you like eye candy, it's skinnable; a library of skins is available from the maintainer. In addition, it works nicely with legacy XMMS and Winamp skins.

Screenshots:

Qmmp interface.

Qmmp video play:

Qmmp settings dialog:

Links:

Homepage: http://qmmp.ylsoftware.com/

Slackbuilds links: Qmmp: http://slackbuilds.org/repository/14.1/audio/qmmp/ Qmmp Plugins: http://slackbuilds.org/repository/14.1/audio/qmmp-plugin-pack/

Wikipedia article: https://en.wikipedia.org/wiki/Qmmp

Playlist (*.m3u) specification: https://tools.ietf.org/html/draft-pantos-http-live-streaming-17

Skinamp: http://www.saschahlusiak.de/skinamp/

Librivox: https://librivox.org/


Creating an Open, Embedded-Media Music Textbook - Jon Kulp | 2015-11-26

Re-Invigorating the Wheel: Creating an Open, Embedded-Media Music Textbook for the Digital Age

This is a recording of a presentation I gave on November 7th, 2015, at the national joint meeting of the College Music Society (CMS) and the Association for Technology in Music Instruction (ATMI) in Indianapolis, Indiana. I even have some action photos! Click on the first image below to visit the Flickr photo album, which also includes the slides from my presentation.

ATMI 2015 photo Album on Flickr

Books

  • Percy Goetschius. Counterpoint Applied in the Invention, Fugue, Canon and Other Polyphonic Forms. New York: G. Schirmer, 1902. Download
  • ________. Exercises in Elementary Counterpoint. New York: G Schirmer, 1910. Download
  • Kent Kennan. Counterpoint, 4th ed. Englewood Cliffs, NJ: Prentice-Hall, 1999.
  • Jonathan Kulp, Gratis ad Parnassum: A Free Workbook for 18th-Century Counterpoint. Lafayette, LA: [no publisher] 2009. view pdf
  • Friedrich J. Lehmann. A Treatise on Simple Counterpoint in Forty Lessons. New York: G Schirmer, 1907. (This is the one I found on Project Gutenberg that I did not think was suitable as a textbook for my class)

Resources Mentioned

Watch My Workflow:

Serious Nerds Only

Many of the tedious repetitive processes I had to do on image files and audio files are done by bash scripts that are launched by voice commands, as demonstrated in the YouTube video above. The processes I'm talking about are things like renaming files according to my filenaming conventions, putting the files in the right place, resizing images, converting images to different formats, optimizing them for file size, converting audio from MIDI to ogg and mp3, and reducing audio from two channels to one in order to reduce file size. Below are the main tools I use for this, apart from the Linux bash shell itself. If you're interested in actually seeing the scripts I wrote to perform the magic, I am happy to share. Just drop me an email.

  • Calibre command-line tools: these were essential to automate the process of converting the source HTML file into the various versions and eBook formats of the book. Without this I might have thrown up my hands in defeat long ago.
  • ImageMagick: command-line image-manipulation tools
  • sox: command-line audio-manipulation tool, "the Swiss Army knife of sound processing programs."
  • optipng: command-line png optimizer. This is important to keep the book's file size as small as possible.
  • jpegoptim: command-line jpeg optimizer.
  • TiMidity++: an open-source, command-line MIDI-to-WAVE converter and player.
  • LAME: high quality MPEG Audio Layer III (MP3) encoder licensed under the LGPL.
  • oggenc (part of vorbis-tools): Several tools to use, manipulate and create Vorbis files (vorbis is a free audio codec).

Windows Command Line Tips and Tricks - OnlyHalfTheTime | 2015-11-19

Hello, HPR. I am OnlyHalfTheTime, the Reluctant Windows Admin. I am a Linux user at home and at heart. I run VPSs on Digital Ocean, host websites all in Linux, mostly Ubuntu. By day, however, I work for an Managed Services Provider which deals with all Windows boxes.

Today, I would like to talk about some tips and tricks I have come across while being forced to make the best out of a Windows environment. Being a Linux user, I find that many functions are more quickly completed if you drop to a Command Line Interface. This holds true for many Windows functions as well.

First, let's establish the kind of environment you will need.

Unfortunately, there is no sudo command built in to Windows. What we will need to do is run a command prompt as an administrator. On Windows 7, you can accomplish this by clicking the start menu, typing cmd, then rightclicking the command prompt program and choosing 'run as administrator'. In Windows 8 and 10, you can right click the start menu directly and click Command Prompt Admin.

This is almost the equivalent to running as root. You can affect almost anything except some system protected files. No rm -rf /* for you! The windows user most like root would be SYSTEM. Running a command prompt as SYSTEM is possible to accomplish a few ways, but is very very rarely needed. I can make another podcast about that later, but it is out-of-scope here.

Lets get into our first example: User creation is so much easier at the Windows command line. For example, I want to add a local user to a system with administrative rights. From an admin command prompt, I type:

net user john hunter2  /add

this creates the user john with the password hunter2. Then I type:

net localgroup administrators john /add

This adds john to the local group administrators. This group has admin rights on this local machine. Say john abuses this privilege and needs to have his permissions revoked.

net localgroup administrators john /delete

This is much easier than going to the control panel, searching for users, adding a user, defining a password, choosing to make it an admin user. For me at least.

Another thing the net command is used for is restarting services. Does that sounds silly to you? I agree! Regardless, let say you want to restart the print spooler on a troubled workstation. You could open a run prompt by hitting Windowskey+R and type "services.msc". This opens up the services window where you can find the service "print spooler" and right click it to restart. or you could just type:

net stop spooler
net start spooler

This is easier to script as well, in case a user is always having trouble printing. Provide a simple batch file (the equivalent of a shell script) to resolve and get on with your day.

Affecting files can be a pain in Windows as the paths tend to be esoteric and alien to a Linux user. For example. Let's say I want to copy file foo.bar in the openVPN programs folder to my desktop. I could type:

copy "C:\Program Files (x86)\OpenVPN Technologies\OpenVPN Client\etc\profile\foo.bar" "C:\Users\john\desktop\foo.bar"

Gotta remember those doublequotes since Windows has spaces AND parentheses in the full path. Wow. Even with tab completion, that's a lot of work. I have a better solution if you have access to the GUI. Find the file you wish to copy and drag and drop it into the command window. Windows will enter the full path into the prompt. If the files does not already exist where you want it you can't drag it into the prompt. There are variables that can speed up this process. It may not be as elegant and simple as ~, but Windows does have a variable for the local user's home directory. You can type:

%HOMEPATH%\desktop\foo.bar

But you are saying, wait OnlyHalfTheTime, this doesn't save me any time or keystrokes! This is true in this specific case, but in scripting, it becomes important to use variables instead of full paths. I may not have Windows installed in the "C" drive for example. Also, some are real time-savers. if you use %APPDATA% for example, it maps to C:{username}.

Now, let's say I am going to be doing a lot of work in a specific directory. I could keep entering the full path, but come on, no one likes that guy. I could open a command prompt and cd or change directory, just like in Linux. or I could find the directory in the file explorer and right click in the folder while holding down shift. This gives you and extra option in the context menu named 'open command windows here' which does exactly that. You will get a command window opened with the working directory set as the folder in which you right clicked.

Hopefully some of these methods will help folks like me: Windows admin by day, Linux enthusiast by night. This is OnlyHalfTheTime, the Reluctant Windows Admin, signing off.


Instaling Linux programs without internet - swift110 | 2015-11-16

http://www.supertuxkart,net/downloads to get your copy of the game


MyTinyTodo List - Jon Kulp | 2015-11-12

This show is about my favorite tool to keep track of stuff I have to do, stuff I want to do, gift ideas for my family, books I want to read, HPR topics to record, etc. It's called MyTinyTodo. It's a web app that you can host on your own server and access from any device that has a web browser.

The website claims that it is already mobile friendly, but I did not like the mobile interface they had, and also did not like the fact that I had to use a different URL to get the mobile interface, so I hacked the stylesheet and the index.html file in the code to make it a responsive design. Now it looks great on all of my devices.

Features

  • Multiple lists
  • Task notes
  • Tags (and tag cloud)
  • Due dates (input format: y-m-d, m/d/y, d.m.y, m/d, d.m)
  • Priority (-1, 0, +1, +2)
  • Different sortings including sort by drag-and-drop
  • Search
  • Password protection

System requirements

  • PHP 5.2.0 or greater;
  • PHP extensions: php_mysql (MySQL version), php_pdo and php_pdo_sqlite (SQLite version).

Installation

Setup is very easy as these things go. Check out the installation instructions at their website.


Free my music! - Alpha32 | 2015-11-11

How I got my music library transferred from my Mac to my Linux box, thereby allowing me to fully switch to Linux. This is a problem I've been neglecting for a while that has been keeping me tethered to iTunes whenever I want to hear my music. This probably isn't the best or simplest solution, but it's how I felt comfortable doing it.


Installing Windows 7 Ultimate - swift110 | 2015-11-10

http://anthonyvenable110.wordpress.com is my blog so feel free to check me out there.


User Local Software - Eric Duhamel | 2015-11-09

In this recording I describe how I decided where to store software that I downloaded manually, as opposed to software that is installed and organized automatically by GNU/Linux systems.

SPOILER: I settled on ~/local/src/ and ~/local/opt/

Happy Halloween.

This is my first time recording a podcast. I recorded this in an afternoon when no one else was around except the furry kids and the neighbors outside. I've had the idea for this episode for a while, but having never recorded before didn't really know when/where/how to do it until just now.

The perspective of this episode comes from a GNU/Linux user since Sept. 2012, and a little bit of experience from 2002-2004. I'm interested in easy, simple solutions that everyone can use to solve problems or use new things.

Special thanks to Clacke for recommending in his recent episode the free/open-source Android recording application uRecord available from F-Droid. The resulting audio sounds great and uRecord is very easy to use. I recorded several separate paragraphs and concatenated them with Audacity.


Interview with Davide Zilli and Dr Marianne Sinka of the HumBug Project - Ken Fallon | 2015-11-05

Back in 2012 I put up a blog post on my site related to the need for an Open Source Mosquito Locator. Mosquitoes are the greatest killer of humans per year.

Recently Alexandre Azzalini left a comment pointing me to the HumBug project which is dedicated to Mosquito Detection and Habitat Mapping for Improved Malaria Modelling. I got in touch, and so today I talk to Davide Zilli, and Dr. Marianne Sinka who were winners of the Google Impact Challenge UK 2014.

Royal Botanic Gardens Kew: Crowdsourcing data to help prevent mosquito-borne diseases

Mosquitoes are responsible for the spread of some of the most deadly and costly diseases, with more than half the world's population living in areas where they are routinely exposed to disease carrying mosquitoes. One of the most deadly diseases that they transmit is malaria, that kills over 600,000 people every year. The Royal Botanic Gardens Kew will equip villagers in rural Indonesia with wearable acoustic sensors to detect the sound of mosquitoes. Each species has its own wing beat allowing the research team to record the occurrence of different species, as well as daily readings of critical environmental conditions. Combined with detailed vegetation maps, this will be able to track disease-bearing mosquitoes. Over the next three years, Kew Gardens will work with Oxford University to turn this project into a reality, creating a downloadable smartphone app and a range of wearable acoustic detectors. This novel technology will be trialled in 150 rural households in Indonesia with the aim of preventing and managing outbreaks of mosquito-borne disease. This prototype technology has the potential ultimately to be rolled out in every region of the world where mosquito-borne diseases pose a threat to life.
https://impactchallenge.withgoogle.com/uk2014

Their approach is to use a Goertzel algorithm running on either a dedicated device or on a smart phone to identify species. This data will then be used for Habitat Mapping and Vector modeling to try and target only species that are a danger to Humans.

Reach them on Twitter @humbugmozz

Links


my chicken coop - Jezra | 2015-11-03

Door hardware build: http://www.jezra.net/blog/GNU_Linux_chicken_coop_door_hardware

The twilight checker: http://www.jezra.net/blog/The_magic_starts_at_330AM_a_coop_story


A short walk with my son - thelovebug | 2015-10-30

We start the show by saying ta-ra to the wife and daughters and starting on our walk.

Note to self: record an HPR episode about coffee

This episode inspired by jonkulp's emergency HPR episode entitled "biking2work", as mentioned on his GNUsocial post: http://micro.fragdev.com/notice/1425116

I give a brief introduction to who I am, and where I live.


Neewer Lapel Microphones from Amazon UK http://www.amazon.co.uk/dp/B005DOTSM4/

The lapel mic issue at our church. £1.50 a piece, rather than £25+ for an official replacement.


Background to my 7½ year podcasting history:

Other music podcasts too

Note to self: record an HPR episode on my journey into podcasting
Note to self: record an HPR episode on my journey into Linux


Metric vs Imperial measurements

Note to self: record an HPR episode on variances between different measurement systems

A comparison between my Nexus 7 and my Olympus DM-3 recorder, both with and without the lapel mic. http://media.thelovebug.org/u/thelovebug/m/lapel-microphone-comparisons/

Small glitch in the recording resulted in about 5 seconds being dropped, so it sounds a little disjointed at one point


Opinion around acceptable audio quality.
"If you can hear it, it's good enough."

Note to self: record an HPR episode on Auphonic and how to improve audio quality with very little effort

http://auphonic.com/


What would happen if Alex slipped and rolled down the hill.
Alex gives a quick introduction to himself.
He's also the slowest human in history.


I did run this episode through Auphonic, which didn't do a bad job in the slightest.
Settings used: Adaptive Leveler, Filtering, Noise and hum reduction set to Auto.
According to the processing results, hum reduction wasn't needed.

It would appear as though I've promised Ken 5 new shows - no pressure, eh.


Contact me:



experiencing the meegopad T-02 part one - A Shadowy Figure | 2015-10-29

This is HPR episode ${1889r) entitled "${experiencing the meegopad T-02 part one}". It is hosted by ${A Shadowy Figure} and is ${13} minutes long. The Summary: "${And now for something completely different}"

Apologies to speed listeners. I just couldn't make this episode speed-listener-friendly.

This episode was made out of respect and admiration for the HPR contributers mentioned throughout the show.

Disclaimer:

I barely have a clue of what I am doing. And there are mistakes all over the place in this episode. It's just something I wanted to through out there to change things up a little, and pay homage to those I admire, and with a little luck, inspire others to use their creativity to record an episode of their own.

You can do better. And I want to hear what you have to offer.

The meegopad T-02 turned out to be something I wouldn't recommend to others, and the follow-up episode to this one will be a walk through of what it takes to "hack" the T-02 into being something that is usable.

Depending on the feedback to this episode, I can either follow the theme I started with this show, or do a more traditional HPR episode with a no frills walk through of the process of hacking the T-02 to work as advertised. So let me know what you prefer.

Apologies to listeners from outside North America. The many slang terms used throughout the episode are representative of the hard boiled genre of noir to give this episode a certain "feel".

  • Dames = women
  • lucky strikes = cigarettes
  • Barbies = women
  • Kung fu grip = a GI jo action figure feature from the 70's
  • 70 Roadrunner = High performance American Muscle car by Plymouth
  • Posi traction = both rear wheels turn at the same rate at all times
  • Thermoquad = High performance carburetor
  • The elusive split tail blond fox = a pretty woman
  • Dough = money
  • Fence = seller of stolen goods
  • Capt'n Crunch = an American brand of breakfast cereal
  • Multimeter modifier = NYBill an HPR contributers
  • Rig = computer
  • Telnet = the way we used to communicate digitally before the world wide web was developed
  • TRS-80 = an early personal computer
  • clams = American dollars
  • Jacksons = $20 dollar bill
  • sega master system = the predecessor to the sega genesis gaming console (circa 1986)
  • Sony Trinitron = discontinued telivision set
  • Netgear 600= wifi router

Products mentioned in this episode

All music contained within, courtesy Kevin MacLeod of Incompitech.com http://incompetech.com/wordpress/

Sound effects courtesy

  • Lonemonk
  • Rutgermuller
  • dhoy42
  • henaway
  • tuben
  • soundmary
  • knankbeeld
  • inchadney
  • kraftwerk2k1
  • elonen
  • gurdonark
  • cubic-archon
  • confusion music
  • zachfbstudios
  • husky70
  • solis2
  • magixmusic
  • dapperdaniel
  • robinhood76
  • djfroyd
  • boilingsand

of Freesound.org. http://freesound.org


Moral Volcano's Linux Tips & Tricks podcast for Hacker Public Radio - Moral Volcano | 2015-10-26

Welcome to my first podcast for Hacker Public Radio.

  1. Like Gnome 3? Good for you.
  2. Don't like Gnome 3 or like Gnome 2 more? Then, get a Linux distro with the Mate desktop. Mate desktop was forked from Gnome 2. Gnome 2 development was stopped by the Gnome 3 team.
  3. After installing the Mate desktop, install the Nimbus theme and Compiz desktop effects.
    https://www.dropbox.com/s/47579lbgjsqgazz/nimbus-icon-theme_0.1.4-2_all.deb?dl=0
    https://www.dropbox.com/s/ndei6yi4lj2zmid/gtk2-engines-nimbus_0.1.4-2_amd64.deb?dl=0
    I don't have the 32-bit edition.
  4. Have a USB wireless modem? Use wvdial or gnome-ppp with "stupid mode" enabled.
  5. Change gnome-terminal color scheme to Green-On-Black and the the following line to your .bashrc for a colorful and usable terminal window.
    PS1="\a\n\n\e[31;1m\u@\h on \d at \@\n\e[33;1m\w\e[0m\n$ "
    http://www.vsubhash.com/article.asp?id=13&info=Ubuntu_and_Gnome_Diary#change_terminal_prompt
  6. Install CMU fonts from
    http://canopus.iacp.dvo.ru/~panov/cm-unicode/
  7. Download Google fonts using this bash script
    wget https://googlefontdirectory.googlecode.com/hg/ofl/ -r -nc -nd -np -A.ttf
    This command takes a while to parse all the pages and find the fonts that need to be downloaded.
    https://www.youtube.com/watch?v=Cj6zhjW7ZS0
  8. Good Artists Copy, Great Artists Steal; Jonathan Schwartz; March 2010
    https://jonathanischwartz.wordpress.com/2010/03/09/good-artists-copy-great-artists-steal/
  9. Undead Myths In The Wake Of iDead Steve Jobs; V. Subhash; November 2011
    http://www.vsubhash.com/article.asp?id=112&info=Undead_Myths_In_The_Wake_Of_iDead_Steve_Jobs
  10. Support free software
    https://my.fsf.org/donate
    http://mate-desktop.org/donate/
    http://www.linuxmint.com/donors.php
  11. Firestarter firewall - I think it needs only a little attention from Linux developers before it can be extremely useful again. Most of it still works.
    http://fs-security.com/

Don't Get Locked In - knightwise | 2015-10-21

In this episode Knightwise talks about the cross-platform tools he uses for his day job as a freelance IT consultant. All three of the major OS platforms (Linux, OS X and Windows) have their strengths, so by leveraging systems from across all ecosystems Knightwise can use what he feels is the best tool for any individual task.

Use the tool that's right for you without letting the fanboys or the zealots get in your way.


How I Compute Away From My Computer - Thaj Sara | 2015-10-20

Here is a list of the stuff I bought, as well as the apps I list in the episode:

Free/Open Source Android Apps:

  • AntennaPod
  • Atomic
  • ChatSecure
  • Connectbot (honorable mention to Irissi Connectbot)
  • FB Reader
  • F-Droid
  • HN
  • NewPipe
  • K9 Mail
  • Orbot
  • Orweb
  • Owncloud
  • OwnNote
  • Pixel Dungeon
  • Plumble
  • RedReader
  • Termux
  • Twidere
  • VLC

Not so Free/Open Source Android Apps:

  • LastPass
  • ezPDF Reader
  • News+

Hacking a Belt to Make it Fit - Jon Kulp | 2015-10-15

In this episode I talk while I'm performing a belt hack. I bought a belt at Goodwill that is in excellent condition but does not fit me. To make it fit I need to cut off 6.25 inches and then put it back together.

This is the belt as I got it. Notice the very small screws holding the buckle to the belt.

The Buckle

The screws are out, the belt removed from the buckle. You can see here the two holes that accommodate the screws as well as the rectangular notch.

Buckle detached from belt

I've cut off 6.25" from the belt, ready to make the holes and notch in the remaining part.

6.25" cut off

Here I've clamped the part of the belt that I cut off to the remaining part to use as a template for making the holes and the notch.

Hole-and-notch template clamped to the belt

Holes and notch cut in the remaining part of the belt. Doesn't look as nice as the original but it should work.

Holes and notch are cut

All done. Belt is reassembled and I'm wearing it, fits just right!

Perfect fit


Recording HPR on the fly on your Android phone - clacke | 2015-10-13

This episode was produced entirely on my phone, including upload.

Apologies for the atrocious sound quality and the low volume. Consider it performance art. I know I need to speak closer to the phone next time. There's DroidGain, but I guess it only accepts mp3.

TL;DL: Install Urecord from F-Droid, choose 44.1 kHz, RECORD!

I estimate the total amount of time spent on this episode at:

  • 20 mins – installing apps on two phones
  • 20 mins – evaluate apps on two phones (while cooking!)
  • 6 mins – record episode
  • 10 mins – update HPR user profile
  • 30 mins – write show notes (while having dinner!)
  • 15 mins – figure out how to upload this thing from a phone
  • ?? – upload episode

A large part of the typing time was angle brackets. HATE screen input. I want a modern phone with sliding QWERTY like the good old X10 Mini Pro, or maybe the slightly larger HTC Desire Z. Apparently the market doesn't. :-(

Wow, turns out the difficult part was to upload the file. Had to use a file manager as a "provider" for Firefox to get the "document" from.


MicrobeLog, or: On Shaving Yaks and Doing Things - clacke | 2015-10-12

The MicrobeLog overview: https://gitlab.com/microbelog/manifest

hpr1726 :: 15 Excuses not to Record a show for HPR: http://hackerpublicradio.org/eps.php?id=1726

I think I've pretty much had to fight excuses 5, 7, 10 and 12. :-)


Interview with Droops - Ken Fallon | 2015-10-08

We started producing shows as Today with a Techie 10 years ago this weekend. To mark the project we track down droops one of the founders and ask him about the early days.

About HPR.

Hacker Public Radio (HPR) is an Internet Radio show (podcast) that releases shows every weekday Monday through Friday. HPR has a long lineage going back to Radio FreeK America, Binary Revolution Radio & Infonomicon, and it is a direct continuation of Twatech radio. Please listen to StankDawg's "Introduction to HPR" for more information.

What differentiates HPR from other podcasts is that the shows are produced by the community - fellow listeners like you. There is no restrictions on how long the show can be, nor on the topic you can cover as long as they "are of interest to Hackers". If you want to see what topics have been covered so far just have a look at our Archive. We also allow for a series of shows so that host(s) can go into more detail on a topic.

You can download/listen to the show here or you can subscribe to the show in your favorite podcatching client (like BashPodder) to automatically get our new shows as soon as they are available. You can copy and redistribute the shows for free provided you adhere to the Creative Commons AttributionShareAlike 3.0 License.

We do not filter the shows in any way other than to check if they are audible and not blatant attempts at spam.

Hacker Public Radio is dedicated to sharing knowledge. We do not accept donations, but if you listen to HPR, then we would love you to contribute one show a year.

In the Press.

Links


Sim City BuildIt September 2015 - swift110 | 2015-10-06

Definately focus on getting enough golden keys as it allows you to get some very good buildings


Irssi Connectbot - NYbill | 2015-10-01

NYbill talks about setting up Irssi Connectbot on a Android phone to access IRC.

https://f-droid.org/repository/browse/?fdid=org.woltage.irssiconnectbot

I don't know him. But, thanks for this handy guide on setting up key pairs with Connectbot, Michael:

http://michaelchelen.net/0f3e/android-connectbot-ssh-key-auth-howto/


Glasgow Podcrawl review - Dave Morriss | 2015-09-30

Glasgow Podcrawl review

The second Glasgow Podcrawl took place on the 10th of July 2015. The participants were:

The event started at 6pm in the State Bar on Holland Street, moved on to the Bon Accord, the Inn Deep and finally to the Three Judges.

Dave Morriss departed after visiting the second bar to head back to Edinburgh, but everyone else lasted to the very end!

In this episode hear the details of this singular event, and a whole lot about many other things.


The Lafayette Public Library Maker Space - Jon Kulp | 2015-09-29

The Lafayette Public Library Maker Space

Exterior photograph of the downtown Lafayette Public Library

The Renovated Main Library

Large table with sewing machine

Sewing Area

Display case in maker area with laser etched rolling pin

Rolling pin with laser-etched π symbols

Array of comfy chairs in a circle with a basket of knitting materials nearby

Knitting Area

Triangular table with laptops and tubs of Lego robotics parts

Lego Robotics Space

One of the 3d printers in the maker space

The Ultimaker2

Close up image of the display panel on 3d printer

Trying to print my Kindle paperwhite stand.

The other 3d printer in the maker space

The Taz 3D printer by Lulzbot

The finished Kindle stand:

My new Kindle stand printed using blue filament

It worked! Bad part of this design is that it does not accommodate the case that I have on my Kindle, so to use the stand with the Kindle I'll have to remove the case. The next photo shows my son's nook color sitting sideways on it. I might try to modify the design so that it will accommodate the Kindle with its case and also prop it up a bit more vertically. Still, this was a really fun experiment with my first 3d printout.

Kindle stand holding a Nook Color in landscape position

Links

Credits


An awkward talk with two young computer users - Quvmoh | 2015-09-28

Quvmoh speaks with Eric 15 and Emily 10 about their computer usage and implore others to contribute to HPR


Turning an old printer into a network printer - Dave Morriss | 2015-09-24

Overview

I have a USB printer I bought back in 2005 when I bought a Windows PC for the family. It's an HP PSC 2410 PhotoSmart All-in-One printer. This device is a colour inkjet printer, with a scanner, FAX and card-reading facilities. It has been left unused in a corner for many years, and I recently decided to to see if I could make use of it again, so I cleaned it up and bought some new ink cartridges for it.

It is possible to use this printer on Linux using CUPS for the printing and SANE for scanning. I connected it to my Linux desktop for a while to prove that it was usable. However, rather than leaving it connected in this way, I wanted to turn it into a network printer that could be used by the rest of the family. My kids are mostly away at university these days but invariably need to print stuff when they pass through. I searched the Internet and found an article in the Raspberry Pi Geek magazine which helped with this project.

Full Notes

Since the notes explaining this subject are long, they have been placed here: http://hackerpublicradio.org/eps/hpr1864_full_shownotes.html.

  1. HP PSC 2410 PhotoSmart All-in-One printer: http://h10025.www1.hp.com/ewfrf/wc/product?cc=uk&lc=en&product=303753
  2. CUPS.org main web site: https://www.cups.org/
  3. CUPS Wikipedia entry: http://en.wikipedia.org/wiki/CUPS
  4. HP Linux Imaging and Printing (HPLIP): http://hplipopensource.com/hplip-web/index.html
  5. Scanner Access Now Easy (SANE): http://en.wikipedia.org/wiki/Scanner_Access_Now_Easy
  6. "Converting the Raspberry Pi to a wireless print server" from the Raspberry Pi Geek magazine: http://www.raspberry-pi-geek.com/Archive/2013/01/Converting-the-Raspberry-Pi-to-a-wireless-print-server
  7. Linux Foundation OpenPrinting work group: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/
  8. Arch Wiki on CUPS - Linux Server Windows Client: https://wiki.archlinux.org/index.php/CUPS_printer_sharing#Linux_server_-_Windows_client
  9. Internet Printing Protocol (IPP): https://en.wikipedia.org/wiki/Internet_Printing_Protocol

The Awesomely Epic Guide To KDE Part 2 - Geddes | 2015-09-23

Hello my name is Geddes and this is my second HPR Episode. Its part 2 of an audio voice recording of an article entitled THE AWESOMELY EPIC GUIDE TO KDE. This is a tutorial on the KDE Desktop, which I did for Linux Voice Magazine back at the start of 2015. In this half the topics I cover are - Upgrade Launch Menu, File Management, Window Management, and Visual Effects.


The Awesomely Epic Guide To KDE Part 1 - Geddes | 2015-09-22

Hello my name is Geddes and this is my first HPR Episode. Its part 1 of an audio voice recording of an article entitled THE AWESOMELY EPIC GUIDE TO KDE. This is a tutorial on the KDE Desktop, which I did for Linux Voice Magazine back at the start of 2015. Its primarily in response to the call from HPR for more shows, but in my introduction I've also mentioned a few other reasons which I hope listeners will find interesting, a couple are around the issues of diversity and accessibility.


Cool Stuff pt. 4 - Curtis Adkins (CPrompt^) | 2015-09-21

CMUS

A great command line music player

CMUS Home Page: https://cmus.github.io/

A good guide: http://www.tuxarena.com/static/cmus_guide.php

Song Exploder

Podcast where musicians take apart their songs bit by bit

http://songexploder.net/

Mr. Robot

http://www.imdb.com/title/tt4158110/

"Follows a young computer programmer (Malek) who suffers from social anxiety disorder and forms connections through hacking. He's recruited by a mysterious anarchist, who calls himself Mr. Robot."

The pilot for Mr. Robot was directed by Niels Arden Oplev (The Girl With The Dragon Tattoo)

Directed by:

  • Sam Esmail

Starring:

  • Rami Malek
  • Christian Slater
  • Carly Chaikin
  • Portia Doubleday
  • Martin Wallstrm

Multimeter Mod's Part 2 - NYbill | 2015-09-16

NYbill talks about the second modification to his UNI-T UT61E multimeter. In this episode the switch and auto-timeout circuitry is installed.

This is a follow up to Multimeter Mod's Part 1:

A video of Asphere's 3D printer in action:

Pictures for the episode:


ssh config - klaatu | 2015-09-14

Put a file called 'config' into ~/.ssh and you can define any option you would normally provide as part of the command as an automatically-detected configuration.

For example:

host foo
    hostname foo.org
    identityfile /home/klaatu/.ssh/foo_rsa
    port 2740
    protocol 2

Makes the command 'ssh klaatu@foo' look like this to SSH:

ssh -p2740 -i ~/.ssh/foo_rsa klaatu@foo.org

Installing Ubuntu on the Asus TP500L - Jon Kulp | 2015-09-10

  1. Getting to BIOS
    1. In Windows, go to Settings
    2. Search for advanced startup options
    3. Follow your nose to Boot to UEFI settings
    4. Can also get there by doing Shift+click on the Restart or Shutdown buttons then clicking through to advanced options until you find "enter setup." Pressing F2 never worked for me
  2. In the BIOS
    1. Security tab: disable "Secure Boot Control"
    2. Boot tab: disable "Fast Boot"
    3. Boot tab: Here Asus support says to enable "launch CSM" (Compatibility Support Mode) but it wouldn't boot from the Ubuntu USB image this way. It worked when I left CSM disabled. I bet CSM works with a Windows or DOS USB.
  3. Plug in USB with Ubuntu image on it
  4. Restart computer and hold ESC key down, forcing windows boot menu to appear
  5. Choose the USB drive to boot from, off you go!

Links


I <3 Vista - Alpha32 | 2015-09-09

I talk about how Vista got me into Linux, and my computing experience in general.


Operation Wallacea - Dave Morriss | 2015-09-08

Operation Wallacea

This summer my daughter Clara spent a month as a volunteer Research Assistant on Hoga Island in Indonesia learning to dive and helping to survey the coral reef and other habitats.

In this episode we talk about Clara's experiences with Operation Wallacea.

Photos

1 Welcome to Hoga Island
1 Welcome to Hoga Island
2 Relaxing near the Lodge
2 Relaxing near the Lodge
3 Beach
3 Beach
4 Soft and hard corals
4 Soft and hard corals
5 Divers and soft corals
5 Divers and soft corals
6 Upside-down jellyfish
6 Upside-down jellyfish
7 Mangroves
7 Mangroves
8 Humbug Damselfish
8 Humbug Damselfish
9 Blue Damselfish
9 Blue Damselfish
10 The hut from inside
10 The hut from inside
11 The hut's verandah
11 The hut's verandah
12 The Shop
12 The Shop

Links


LinuxLugCast Episode-004 Outtakes - Kevin Wisher | 2015-09-03

Some good content that we do not publish to the show http://linuxlugcast.com/?p=197


Introduction to w3m, a Command Line Web Browser - Frank Bell | 2015-09-02

W3M is a text browser with image and tab support which supports both keyboard and mouse navigation. (Image support is not available in some terminals, but does work in Xterm and rxvt, but images may be opened in a external viewer)). Mouse and keyboard navigation are supported, but I recommend learning the keybindings. Keybindings are case sensitive.

The manual is 12 pages long and quite exhaustive. Here are some useful keybindings to get started with.

  • Open new tab: SHIFT-T
  • Close tab: CTRL-Q

  • Open URL: U (opens text dialog at bottom of window)
  • See URL of current page: u (displays current URL at bottom of window)
  • Close tab: CTRL Q

  • Go left one tab: {
  • Go right one tab: }

  • Back in the same page: b

  • Page Up: - (hyphen) or PG UP
  • Page Down: SPACE or PG DOWN

  • Previous page ("Buffer"): B
  • There is no "forward" button, but you can use view History: CTRL-h

  • Search in page: / (opens search dialog at bottom of window)

  • Help: H

  • Add bookmark: ESC-a
  • View bookmarks: ESC-v

  • Run shell command: # (Opens a dialog at the bottom of the window. Exit with B.)

  • Paste into dialogs (e. g., passwords): Middle mouse button.

  • Scroll left: . (period)
  • Scroll right: , (comma)


Client Side C- WTF Is Wrong With You? - sigflup | 2015-09-01

This is the link to the emulator: http://theadesilva.com/web_nes

emscripten's website is here http://kripken.github.io/emscripten-site


UNI-T UT61E Review - NYbill | 2015-08-31

NYbill does a quick review of his favourite multimeter for electronics, the UNI-T UT61E:

A photo of the inside and outside of the meter:
picture of the inside of the meter

I forgot to mention or show a picture of the data logging cable. I never use this feature so I tend to forget its there.


The Marantz PMD 660 Professional Solid State Recorder - Jon Kulp | 2015-08-27

The Marantz PMD 660 Professional Solid State Recorder

I inherited a really nice audio recorder and microphone from my mother-in-law recently and in this episode I talk all about it and use the new device to record the show.

Links

Credits

------------------------------------------------------------

Running external commands in Kate - Ken Fallon | 2015-08-21

Kate is an excellent text editor. The "Text Filter" - enables easy text filtering, which by pressing Alt + Backslash pops up a screen that allows you to enter commands.

popup window showing the command

Settings > Configure Kate > Plugins > Text Filter

Kate (short for KDE Advanced Text Editor) is a text editor developed by KDE. It has been a part of KDE Software Compilation since version 2.2, which was first released in 2001. Geared towards software developers, it features syntax highlighting, code folding, customizable layouts, regular expression support, and extensibility.

Source: https://en.wikipedia.org/wiki/Kate_(text_editor)


My "New" Used Pickup Truck - Jon Kulp | 2015-08-20

My "New" Used Pickup Truck

After 16 years my wife and I decided to become a 2-vehicle family, and as a result I got myself a 2004 Ford Ranger. In this episode I talk about the process of finding and purchasing the truck, and then about some repairs I did and some other stuff related to it.


The Statusnet Shuffle - NYbill | 2015-08-17

Theru and NYbill talk about moving a Statusnet instance to a new server. Also, upgrading an existing Statusnet instance to GNU-social.


Resurrecting an IBM T40 - swift110 | 2015-08-12

laptop image

http://www.thinkwiki.org/wiki/Category:T40


Simplify writing using markdown and pandoc - b-yeezi | 2015-08-11

Show Notes

I write almost exclusively in Markdown http://daringfireball.net/projects/markdown when writing documents and taking notes. I use the program, Pandoc http://www.pandoc.org to convert markdown to different formats, including odt, docx, and pdf.

The original purpose of Markdown: 1 > Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

Markdown has since been extended to include more features and functionality. Extended versions include Github-flavored markdown https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet and multi-markdown http://fletcherpenney.net/multimarkdown.

Some of the basic syntax:

  • Headings - use one or more # to make headings
  • bold - use __ or ** for bold
  • italics - use _ or * for italics
  • hyperlinks - use [text](link) for hyperlinks
  • images - `alternative text for images
  • tables - Head1 | Head2 | Head3 ---- | ------ | ----- stuff | stuff | stuff
  • lists - use - or * or + at the beginning of a line
  • quotes and code - ` for single code item, > for block quote, tab for block code, ``` for fenced code. Highlighting is available

Pandoc: 2 Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki markup, OPML, Emacs Org-Mode, Txt2Tags, Microsoft Word docx, EPUB, or Haddock markup to

  • HTML formats: XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides.
  • Word processor formats: Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML
  • Ebooks: EPUB version 2 or 3, FictionBook2
  • Documentation formats: DocBook, GNU TexInfo, Groff man pages, Haddock markup
  • Page layout formats: InDesign ICML
  • Outline formats: OPML
  • TeX formats: LaTeX, ConTeXt, LaTeX Beamer slides
  • PDF via LaTeX
  • Lightweight markup formats: Markdown (including CommonMark), reStructuredText, AsciiDoc, MediaWiki markup, DokuWiki markup, Emacs Org-Mode, Textile
  • Custom formats: custom writers can be written in lua

I use Ubuntu because it is the only distro that does not bundle pandoc in the haskell libraries. With pandoc, you can specify the template that you are using, so that the same one document can be formatted quickly in many different ways and file formats.

Workflow:

  1. Write using vim or other text editor. When I was starting, I used a markdown previewer
  2. Create the template for the client
  3. Convert document appropriately

Use markdown for:

  • taking notes
  • creating SOPs
  • Creating User guides (Image Magick mogrify)
  • Creating things for my website

Other programs and tools:

  • Retext
  • Haroopad
  • discount
  • stackedit.io
  • atom
  • texlive for going direct to pdf

Are speed listening and slow background music compatible? - A Shadowy Figure | 2015-08-10

This is A Shadowy Figure speaking to you from southwest Florida on Hacker Public Radio,

Brought to you by An Honest Host Dot Com where you can Get a 15% discount on all shared hosting with the offer code HPR15 thats H P R one five. Better webhosting that honest and fair at An Honest Host Dot Com.

Not only do I mention An Honest Host Dot Com out of commitment, but also out of respect. I've listened to the interview by Ken Fallon of the man behind An Honest Host Dot Com Josh Knapp not long ago, and came away with a certain amount of appreciation for what Josh does. Which is basically keeping Hacker Public radio alive, along with the many other things he does. Thanks Josh, your generosity does not go unnoticed.

I've been listening to HPR for about a year now and just recently purchased a Blue Yeti Microphone off of Ebay which turned out to be misrepresented and not in the condition it was claimed. As a side note, the day I received the Blue Yeti in the mail, I found the same microphone brand spanking new on Amazon.com for the same price as the used one I purchased on ebay. At one time I would have been disappointed by such a situation, but if theres anything I've learned from experience, no matter how hard you punch the wall, the train still left at 4 o'clock If I were to devote an emotion to every real or perceived injustice I come across, I wouldn't have time to devote any emotions to the things enjoy.

Anyway, My computing background goes all the way back to the original TRS-80. The experience of writing basic for 4 hours to create a pathetic facsimile of the game pong turned me away from computing until the graphical user interface of windows 3.11 came along. I was alright with the direction of where computing was moving along once windows matured, but I never had any love for microsoft products, Mac's were prettier, but a lot more expensive, and had great hardware to boot, but I never caught the mac addiction either.

Slackware caught my interest, but wasn't ready for prime time, and red hat was a bit more complicated than I was comfortable with in the mid 90's

since 2006 I've been using debian based operating systems exclusively, but still keep a macbook pro and a windows 8.1 laptop nearby for specific tasks I don't want to taint my linux box with.

KDE plasma has been my desktop of choice since 2010, and I don't use google, facebook, twitter, or any other corporate tracking devices. Including cell phones. Smoke signals and email are about the best way to get a hold of me, and smoke signals have been notoriously ineffective in the past.

Moving alone,

My day job includes leadership training, which was a big step up from my old job in one of the most reviled professions known to man, yes that's right, I used to be a used car salesman, (you thought I was going to say lawyer didn't ya?) no, but I date a lawyer, but I try to keep that a secret.

So now that I've tainted my reputation for good with the hacker public radio audience, I may as well plow forward and see what other damage to my reputation I can do. You can think of my handle A Shadowy Figure as damage control for all the stupid things I end up doing by mistake. (like buying things of ebay).

Anyway, I thought I'd share with the HPR audience my experience as a listener, and what I feel I can do to contribute. I love the mission statement behind HPR, and feel the need to do my part to see to it HPR continues to offer something of value to the hacker community.

Like many listeners and contributers to HPR, I listen to dozens of podcasts each week. Many of which belong in their spot of most downloaded podcasts, but I find a certain amount of charm in the grass roots nature of HPR.

Much like the Norwegian trend of engaging in slow media content. As mentioned in a recent hpr episode, I actually found myself hypnotically engaged in 5150's whats in my pickup toolbox episode. I found myelf cheering on 5150 to come up with a pair of lugnuts to an unknown vehicle.

I was looking for solidarity there, being as for some reason, my prior toolboxes always seemed to have a couple of unknown parts, or even broken tools that should have been thrown out years ago, like 5150's wire strippers.

I have to admit, Ken Fallons Amazing life hack episode of how to tell your left earbud from your right, lived up to its claim of setting a low bar. Ken has given some terrific episodes in the past, but this one fell a bit short of his standard of excellence. But I must admit, his goal was achieved. As I listened, I said to myself, even I can top that! And thus, Ken inspired me to step over that low bar of quality he set, and record my own episode.

After reading up on the procedures for contributing a show, I came across the advice to not use bedding or background music, due to the diverse listening style of many HPR listeners.

One of those listening styles Im vaguely familiar with was listening to podcasts speeded up. Somewhere I read about some people really really speeding up their recordings to the point most people can only hear a rapid fire series of blips and clicks. I don't know if that is typical, but I'm inclined to think that is something found on the fring, and that most speed listeners fall in the range of 2 to 3 times normal rate.

I'm also aware of a trend of some people to listen to music slowed down to the point of being one long drone that changes pitch every now and then.

Perhaps in the future, depending on what sort of feedback I receive, I'd like to experiment with combining the two.

Basically, recording Normally recorded vocal content, with an ultra slow music soundtrack that would balance out with speed listening. In essence, hacking the audio, to provide speed listeners with a soundtrack.

On the flip side, one could hack the audio to appeal to slow listeners, speeding up the soundtrack, and changing the pitch of the vocals to account for slow listening. But that would probably kill some speed listeners with weak hearts, so I'll steer away from that unless there is enough demand to justify that.

It seems like a concept that's destined to fail, but it's something I was pondering and would try if there were an audience for it.

If there were any interest, what I'd need to know is how fast do speed listeners listen to their audio. Which is probably all over the map, making any effort futile.

But it's just a thought I thought I'd throw out there, along with introducing myself to the HPR audience, and saying thanks to all the people who make HPR possible.

This is a Shadowy Figure signing out.


How Holland Works: GreenWheels - Ken Fallon | 2015-08-07

No longer owning a car of our own, we use the car-sharing service GreenWheels, which for a subscription of €5 per month, we are allowed to rent any of the hundreds of cars confidentiality parked all around the Netherlands.

How it works

Subscribe

Once you subscribe you get mailed a credit card sized RFID card and a PIN code.

Booking

Go to the website and enter in your location using ZIP/postcode or town name. You specify the times range you want to use it for and then press find to list the available options. A Google Map will appear with the availability of the cars displayed green for available and red for booked. Pick the one you want, login and confirm.

screen shot of website

Pickup

Go to the car location and then open the car by placing the RFID card next to the RFID reader located just above the steering wheel. The central locking will open the doors allowing you to get in.

Take the controller out of the glove compartment and enter your pin code to unlock the ignition system.

You can confirm that there is no damage, or log any damage that has occurred. Take the regular key and use that to start the car.

Refueling

If you need to refuel then go to any [gas|petrol] station and refuel. Make note of the current distance travelled on the Odometer, and take the fleet refuelling card from the glove compartment. Instead of paying yourself, the bill will be charged directly to GreenWheels. Return the refuelling card and receipt to the glove compartment.

Drive

Loads to see in the Netherlands.

Returning

When you are finished, return the car and after checking that you have all your stuff, answer yes to the question "Have you returned to the start point ?". Then leave and use the RFID card to lock the car.

Links


My "New" Used Kindle DX - Jon Kulp | 2015-08-06

I talk about my latest gadget, a used Kindle DX, which is a discontinued model with a 9.7 inch epaper screen. I talk about its features, limitations, how to navigate it, and I demonstrate its text-to-speech capabilities. Incidentally I really low-balled the original price of the Kindle DX. Looking around a little bit, I find that the original retail price was $479, which was then reduced to just under $400. Mine now seems like a bargain at $128 used.

Kindle DX


Multimeter Mod's Part 1 - NYbill | 2015-08-05

NYbill talks about modifying his UNI-T UT61E multimeter to add two features he finds lacking.

In part one an LED back light gets installed for the LCD screen. Part two will cover the second mod, a auto-time out feature to save the units battery.

Links


I'm Learning Some Python - Jon Kulp | 2015-07-30

I'm Learning Some Python

Lately I'm finally getting around to learning some Python. I wouldn't go as far as to say I'm learning it properly—that's not really my way—I'm kind of poking around in the dark learning things on an "as-needed" basis, but I'm finding that it's incredibly powerful and making me much more efficient in my daily life. In this podcast I discuss some of my favorite ways of using it and some of the cool modules and libraries that I've found that make things surprisingly easy in Python that used to be difficult for me in bash.

What I Use It For

  1. Website build scripts, both for the School of Music and for my personal website. Converted from bash, tested and working fine on Windows and Mac.
  2. Text manipulation scripts, used in conjuction with blather. These do things like change text case, remove spaces, and so forth.
  3. Text entry. Voice commands insert various kinds of text templates or canned email responses for my classes. Also used in conjunction with blather.
  4. Adding or stripping HTML tags to/from selected text.
  5. Getting current weather conditions and forecasts, having results spoken back to me using system text-to-speech engine.
  6. Fun blather commands where I interact with my computer and have it talk back to me.

Favorite Python Modules/Libraries

pyperclipA cross-platform clipboard module for Python. (only handles plain text for now) https://pypi.python.org/pypi/pyperclip/1.5.11
pyttsxA Python package supporting common text-to-speech engines on Mac OS X, Windows, and Linux. https://pypi.python.org/pypi/pyttsx
bs4HTML parsing library. Beautiful Soup Documentation
htmlminA configurable HTML Minifier with safety features. https://pypi.python.org/pypi/htmlmin/
smartypantssmartypants is a Python fork of SmartyPants, which easily translates "plain" ASCII punctuation characters into “smart” typographic punctuation HTML entities.
titlecaseChanges all words to Title Caps, and attempts to be clever about SMALL words like a/an/the in the input. https://pypi.python.org/pypi/titlecase
swnamerA name generator that uses Star Wars characters, species and planets to create un fisique names. https://pypi.python.org/pypi/swnamer/0.1.0

Demo Screencasts


Some tips on using ImageMagick - Dave Morriss | 2015-07-28

Some tips on using ImageMagick

I like to use images in HPR shows if I can. I have experimented with various ways of preparing them since I first started contributing, but I'm particularly impressed with what I am able to do using ImageMagick.

The ImageMagick system contains an enormous range of capabilities, enough for a whole series of shows. I thought I would talk about some of the features I use when preparing episodes to give you a flavour of what can be done.

I'm the rawest amateur when it comes to this kind of image manipulation. Just reading some of the ImageMagick documentation (see links) will show you what an enormous number of possibilities there are. I am only using a few in this episode.

I have prepared longer show notes and demonstrated some scripts to explain how I process images. These can be found here.


Review of HPR's Interview Recorder: Zoom H1 - FiftyOneFifty | 2015-07-22

The Hacker Public Radio network owns a Zoom H1 digital voice recorder. If you are going to attend an open source event and think you would like to record interviews for Hacker Public Radio, make inquires to the mailing list and the correspondent with the recorder in their possession (currently FiftyOneFifty) will send it to you. This episode is a review of the devices features and how to use them.

Manufacturer page: https://www.zoom-na.com/products/field-video-recording/field-recording/zoom-h1-handy-recorder

How to use the H1 as an USB Mic https://www.youtube.com/watch?v=GG8hZ6PvfrQ


Gathering Parts - NYbill | 2015-07-21

The web site that started this all:

Big Muff Pi:

Parts Distributors:

Hammond Box:

Joe Knows:

Picture of the gathered parts:

When I made the reference to "two red lips" regarding resistor colors I didn't quite explain what that meant. It was a way I learned, way back when, to remember which color was which number on a resistor. I hadn't thought about it in years. It used rhyming and references scheme to line the colors up with values.

0- Black - It's a "no" color, a zero
1- Brown - 'brow-one'
2- Red - Two red lips
3- Orange - Orange tree
4- Yellow - Yell for help
5- Green - a five dollar bill is green
6- Blue - Blue and sick
7- Violet - Violet heaven
8- Gray - Great
9- White - White wine

Visualising HPR tags - Dave Morriss | 2015-07-20

As you know, HPR asks for tags to be added to the episodes we contribute. These are intended to be used to produce some kind of improved topic search at some point in the future.

I find it difficult to decide what tags to add to my shows, and I expect many people feel the same way about it. Should I use common tags like Linux or does that not differentiate it enough? How many tags should I add, should the words be plural or singular?

We have recently been asked to contribute to the task of adding tags to previous shows, so it's very much a hot topic at the moment.

In thinking about this I wondered if there was a way in which existing tags could be represented in a visual way to help with the process of choosing and rationalising tags. It was the type of thought that occurs to you in the shower or while out for a walk.

In my last job I occasionally used a package called GraphViz to generate graphical representations. I used it to generate a chart showing how the organisation (a university) was divided up into schools, departments, sections and so on in a hierarchical manner. I wondered if it could be used for this task.

I decided to use my currently preferred scripting language, Perl, and found there was a module which let me access GraphViz. I started putting together a script.

The script was created in an evening and is still rather rough. It performs a very simple query on the database to obtain the show numbers of shows with tags, their titles and their tags. It then uses a CSV parser to parse the tag list and builds a hash table indexed by tags, where the contents per tag are the show numbers that use this tag.

Having built this hash table it is used to generate GraphViz data by making each tag and each show number a node and joining them together.

Finally the script processes the graph to produce output in SVG format which is available to view.

Bear in mind that this is not a finished project - it may never be finished! The script may not be ideal. My understanding of GraphViz may be insufficient, and the rendering of the SVG may not be good (I got various results on different browsers).

However, you might find it interesting or even useful. Feedback on the idea is welcome.


Custom Context Menus in GNU/Linux GUI File Managers - Jon Kulp | 2015-07-16

On Nautilus

On Nautilus you have to put your scripts into the Nautilus scripts folder, which on my system is located here:

~/.local/share/nautilus/scripts

You can either put copies of the scripts in there, or you can do like I did and make symlinks from the Nautilus scripts folder to your /home/bin folder. (I prefer to make symlinks instead of copying the files in there, just in case I make any changes to my scripts. If I have made a symlink instead of copying the file, then I only have to change original script and the symlink will automatically use the updated version.) Once you've done that, you right-click on a file and choose scripts then <yourscriptname> to run your script on the file.

Thunar

On Thunar you don't have to put your scripts anywhere special. It actually handles custom actions much better than Nautilus, in my opinion. What you do is go to the Edit menu and choose Configure custom actions. Then you get a dialog box with two tabs. The first tab is where you can give your custom action a name and then tell it what command to run, and also tell it whether to apply the custom action only to the selected file, to all files in the directory, or to all selected files. On the other tab you choose the context in which this custom action will appear. You can select categories of files—like images, audio files, or text files, and so forth—or you can specify filetypes by extension, so that your custom action will only appear if you right click on a file that has the extension.

Links


Headphones and a $2 Microphone - Jon Kulp | 2015-07-14

In this episode I use a http://www.amazon.com/gp/product/B005DJOIHE $2 microphone to record as I walk from home to my office. The topic is the 5 pairs of headphones I have and their various features, qualities, drawbacks, etc.

Headphones Mentioned in Podcast

  • Neewer 3.5mm Hands Free Computer Clip on Mini Lapel Microphone
  • Bose Quiet Comfort 15
  • Sennheiser HD 550A
  • Aftershokz Sportz M2 Bone-Conduction Headphones
  • Sony MDR-J10 H ear headphones with non-slip design
  • Howard Leight 1030110 sync noise-blocking stereo earmuffs

My "New" Used Kindle Touch - Jon Kulp | 2015-07-09

In this show I talk about why I like to buy stuff used whenever possible, whether it be printers, routers, shirts, books, or my latest acquisition, a used Kindle Touch, which in many ways is much better than my (much newer) Kindle paperwhite. Just for fun, I allow the Kindle Touch itself (using its built-in text-to-speech capabilities) to tell me the ways in which it's better than the Kindle Paperwhite.


David Whitman reads 'The Shooting of Dan McGrew' written by Robert W Service - David Whitman | 2015-07-08

from The Project Gutenberg EBook of Songs of a Sourdough, by Robert Service

This eBook is for the use of anyone anywhere at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it under the terms of the Project Gutenberg License included with this eBook or online at www.gutenberg.org

The orginal work published 1907. Copyright expired in U.S. See the Project Gutenberg website for their copyright notices

Bibliographic Record
Author Service, Robert W. (Robert William), 1874-1958
Title Songs of a Sourdough
Language English
LoC Class PR: Language and Literatures: English literature
Subject Yukon River Valley (Yukon and Alaska) -- Poetry
Category Text
EBook-No. 25546
Release Date May 20, 2008
Copyright Status Public domain in the USA.
Downloads 55 downloads in the last 30 days.
Price $0.00

Title: The Spell of the Yukon

Author: Robert Service

Posting Date: July 11, 2008 EBook http://www.gutenberg.org/ebooks/25546
Release Date: January, 1995

http://hackerpublicradio.org/eps/hpr1808_Songs_of_a_Sourdough.pdf

Interesting Info at https://en.wikipedia.org/wiki/The_Shooting_of_Dan_McGrew


Arch Linux Development Environment: Ep1 - cjm | 2015-07-07

  • Checking the network
  • Partitioning
  • Making the filesystems
  • Mounting the filesystems
  • Installing the base packages
  • Generate the fstab
  • Chroot and Configuration
  • Boot Loading

Complete show notes: http://hackerpublicradio.org/eps/hpr1807.html


How to tell your left earbud from your right - Ken Fallon | 2015-06-29

AMAZING LIFE HACK

Tie a knot in your left ear bud lead, and you can feel which is which without looking.


YouTube Video Subscriptions - Ahuka | 2015-06-26

Although my wife and I have a Cable TV subscription, I have maintained I could give it up easily because so much of what I am interested in is online anyway. For many people that might mean Netflix or Hulu, but for me it means YouTube. This is the golden age of narrow-casting, as opposed to broadcasting, because YouTube gives so many creators the opportunity to find their own audience for things that dont appeal to the masses. For more go to http://www.palain.com/?p=243

Links:

Links

(Added)


Posting From the Command Line on Open Social Networks - Jon Kulp | 2015-06-25

Posting From the Command Line on Open Social Networks

You can post to your open social media timelines from the command line using API access. Why would you want to do this?

  • Script automated postings.
  • Bots
  • Post from terminal environments.
  • Post from wherever else you are without having to go to the social media site or to the client that you use to access it.
  • Trigger postings via voice command (what I do).

On GNU Social

Here is the basic format for the command to post a message to a Statusnet / GNU Social timeline:

curl -s --basic --user <username:password> --data status="Hello World" --output /dev/null http://instance.domain.com/api/statuses/update.xml

And here is the script I use to post a message to my timeline, launched by a blather voice command:

#!/bin/bash

# SN account info
user=johndoe
pass='password123'

# a place to store the text message 
text=/tmp/message.txt

# Virtual keystrokes to copy selected text to the clipboard
xdotool key Control+c

# pipe text out of clipboard into the text file
xclip -o > $text

# rest for half a sec
sleep .5

curl -s --basic \
--user $user:$pass \
--data status="$(cat "$text")" \
--output /dev/null \
http://instance.domain.com/api/statuses/update.xml 

rm $text

exit 0

On Pump.io

On pump.io you have to install the pump.io software on your computer. You don't have to be running a server, you just have to have the binaries so that you can run the commands. I will not go into how this is done on this podcast, but there's a link to the pump.io website below and there should be installation instructions available there. Once you have the software installed, you also have to allow command-line access to your account and get the token for authentication, maybe authorize the user too:

pump-register-app -s instance.domain.com -P 443 -t CLI
pump-authorize -s instance.domain.com -P 443 -u username

Finally you can post to your timeline from the command line:

pump-post-note -s instance.domain.com -P 443 -p -u username -n "Hello World."

My script to post a message to the pump.io timeline, launched by a blather voice command:

#!/bin/bash

# a place to put the text. 
text=/tmp/message.txt

# --------------------------------
# Since markdown is possible, I run 
# the text through markdown to get
# a bit of formatting and save it
# as a separate file 
# --------------------------------
pump=/tmp/pump.txt

# Virtual keystrokes to copy selected text to the clipboard
xdotool key Control+c

# pipe text out of clipboard into the text file
xclip -o > $text

# run Markdown
markdown $text > $pump

# Post message
pump-post-note -s instance.domain.com -P 443 -p -u username -n "$(cat $pump)"

sleep 1

rm $text
rm $pump

exit 0

Links


12-Tone Music and My Random 12 Tone Row of the Day - Jon Kulp | 2015-06-18

12-Tone Music (Dodecaphony) and My Random 12 Tone Row of the Day

In this episode I cover a bit of music theory as well as some bash scripting. The topic is the Twelve-Tone System of music composition and the scripting of a random 12-tone row to be generated daily. For a full transcript of the show click here.

randomly generated 12-tone
 row

Links


Some thoughts about the Go language - Stilvoid | 2015-06-17

Show_Notes:

Here are some useful links when learning Go:

And here are some links to things I mentioned during the show:


An Interview with Andrea Frost - David Whitman | 2015-06-16

I interview Andrea Frost at LinuxFest Northwest.

Andrea Frost

Andrea Frost holds a B.A. in German language and a concentration in mathematics from Western Washington University. A passionate advocate of youth and education, Frost has a wide spectrum of volunteer experience with youth organizations.

She is currently an office assistant for Kids Council Northwest and finishing a post-graduate degree in computer science from Western.

http://awc.cs.wwu.edu/ Western Washington University Association for Women in Computing

http://www.bellinghamherald.com/news/local/article22275924.html


The Ubuntu Quickly Ebook Template and Ebooks in General - Jon Kulp | 2015-06-11

Ubuntu Quickly Ebook Template

I recorded this conversation with Mike Hingley about a year ago (12 June 2014) but never released it because I thought the audio didn't sound very good and I didn't feel like editing it at the time. Honestly I forgot all about it until now when the HPR queue is low again. I apologize for the slightly clippy quality of my audio, I must have had my microphone too hot on the mumble. It's really interesting to listen to this conversation a year later because I have worked out so many of the problems that I was mentioning to Mike, including the automation of the entire build process using command-line tools from Calibre.

Links

Credits


Podcrawl Glasgow 2015 - Kevie | 2015-06-10

Dave Morriss and Kevie have a yarn about the upcoming Glasgow Podcrawl. The event takes place on the 10th of July 2015 and kicks off at 6pm in the State Bar, Holland Street. The event is open to anybody with an interest in open source software or creative commons music. Whether you're an enthusiast or just interest in finding out more, also if you're a member of a band then we would love to have you along for a yarn over a few pints.
Check out http://kmacphail.blogspot.co.uk/2015/01/podcrawl-glasgow-2015.html for more details and a map of how to get to the bar.


What is MapReduce? - Charles in NJ | 2015-06-08

Shownotes in pdf format
Shownotes in docx format

What is MapReduce, Anyway?

MapReduce is inspired by three approaches from functional programming for applying a function to each item of a collection of data, namely, Map, Filter and Reduce. That is pretty abstract, so I will try to bring some of these ideas down to Earth. I'll use lists to represent the “data” in any examples, but the concepts in MapReduce can apply equally well to any data source: multiple streams from the Internet, a number of internal data stores from multiple sites, and even user keystrokes/mouse moves.

If a function (or operation) can be applied to each item in some kind of input data, you may be able to use map, filter and reduce.

Defining Terms

Map

When we use the expression Map(function: f, data: [1,2,3,4,5,6]), we are declaring that we want to apply the function "f" to each element in the data. In this case, we have a list of numbers, but the data could be names, employee records, or URLs for Internet documents from the Internet that we would like to parse to extract useful information.

Example: function f is square(x) = x * x, and the data is our list [1..6].

Map( square(x), [1,2,3,4,5,6]) = [square(1),square(2), ..., square(6)], or [1, 4, 9, 16, 25, 36]

Filter

Filtering data is essentially a variation of Map. You could think of it in two stages:

  1. Apply a "test" function to Map each item to either True or False ("In" or "Out")

  2. Use the results of that Map operation to drop any item that fails the test (False)

Having said this, a Filter does not have to be implemented in this way. By declaring that we want to use a Filter operation, we have specified WHAT we want to do. It really does not matter HOW it gets done.

Most functional programming tutorials would illustrate a Filter by selecting prime numbers from a list of integers, or to isolate numbers that are not multiples of 3. A more useful illustration of Filter is a search filter that reviews documents in a repository, or a set of search engine results, and returns only those that pass the "relevance test". The test itself could be defined using a "fuzzy" criterion for relevance (0-20% Not, 20-50% A Little, 50-75% Fairly, > 75% Very -- or what have you), but the end result is that you'll choose some documents to accept, and omit the rest.

In a filter operation on a large number of data items, you might want to drop the items as early as possible. There is no law that requires you to make these decisions in advance when you offer Map or Filter operations on a server.

In a MapReduce context, Map and Filter will often end up lumped together. This is fine, because you don't want to waste processing time to perform potentially expensive transformations on data or documents that you can rule out immediately with a less computationally expensive filter.

Reduce

A Reduce operation on a collection of data is any kind of aggregate operation that boils down all of the detail items into one or more summary metrics computed on the (filtered) data. The canonical examples of a Reduce operation would be a Sum or a Count, but there are other possibilities.

Reduce is usually defined as an operation:

Reduce(function(accumulator, data item) -> new accumulator value; initial value; data).

Sometimes, you may see the Reduce operation defined recursively:

Reduce( function: f, initial_value, data = {first_item, all_other_items} ) is equal to 
Reduce ( function: f,  new_value = f(initial_value, first_item),  data: {all_other_items})

If you follow that script, you can just rinse-and-repeat until you've processed all of the items.

Why is this some kind of technological advance?

If you look at this characterization of Map and Reduce, you'll see that these operations are fairly abstract. The declarations typically state only what needs to be done, and the implementation steps that specify how it is to be done are left open.

For operations on data items that are fairly independent of each other, there are advantages in defining things in this way. If there are no dependencies between data items, in the sense of the two rules listed below, you can use distributed processing across several "servers" to get to the result for the entire data collection much faster.

Basic ground rules for the simplest case (Exceptions and additional constraints will apply in real projects):

  1. Computations for each data item do not depend on those for other data items, so no communication, coordination or shared memory is needed between "worker" machines.

  2. The order of the computations does not matter.

Under these conditions, Map and Reduce operations could be outsourced from a MapReduce server installation to a fleet of "worker" computers that can take on pieces of the overall computation, and send their results back to the Aggregation Server (or "Boss" machine). That could give you a tremendous speed-up over the alternative of running on a single computing cluster. So there can be speed advantages that come from MapReduce.

With the right infrastructure, you can relax these constraints and still get many of the same benefits on data that needs to be ordered or preprocessed into some kind of table structure.

Another advantage of the Boss/Workers paradigm for MapReduce operations, which may be less obvious, is fault tolerance. Computers sometimes fail to complete their assigned tasks. Network connections can be lost. In a Boss/Workers setup, a Worker could send a status report back to the Boss machine (or a Supervisor, since even the Boss role can be shared) that either contains a SUCCESS status flag and the results of its assignment, or a FAILED flag.

If a Boss receives a FAILED message, that piece of the overall computation could be re-assigned to other Worker(s). In the case of a network outage, the Boss could respond to a Timeout event for the Worker, flush that assignment to that Worker, and re-assign the unfinished task to other resources with a new unique ID. Any homework that is turned in after the Timeout event can then be ignored.

Note: This is just one way to build in parallelism and fault tolerance.

An additional advantage to this sort of vague definition of MapReduce tasks is the ability to work with distributed data in a way that allows greater use of local processing. A central server (Hub) processing model forces remote sites to transmit all the original data to the Hub, wait for the Hub to do the processing, and then possibly transfer the processed results back from the Hub to the remote data repository. That's a lot of network traffic, any part of which could be lost, corrupted or even intercepted by third parties.

In a Reduce operation, where everything is boiled down to some [set of] summary measures, the local site could do much of the processing work, and transmit only the needed intermediate results to the Boss back at the Hub for inclusion in the final totals over all Worker machines.

Summary: Leaving the implementation details out of the MapReduce specification allows for flexibility and some degree of optimization in getting these operations done in the most beneficial way.

  • You can optimize to save time, even if that means spending more on hardware and communications.

  • You can design to save money (local processing, servers that are easier to replace, etc.).

Whatever your objectives, you can adjust your implementation to get the best result for your application.

Enter Hadoop.

Hadoop is an open source project from the Apache Foundation that lets you set up massively parallel distributed processing schemes for computations that can be fit into the MapReduce paradigm. The best part is that you can make Hadoop work on varying types of hardware, so you don't need to run the pieces of computational work solely on high-end, expensive supercomputers or complex computing cluster installations.

Hadoop makes it possible to farm out the bits of computational "homework" to "commodity hardware" – whatever that may mean for your installation. Commodity hardware is also an abstract term. In practice, you can match the level of computing power for Workers to meet the requirements of the assigned work. The worker machines could be set up on computers that are easy to provision and replace, so you won't have to buy special-purpose servers that require extended periods for setup and configuration.

MapReduce does NOT refer to the process of splitting up a large data processing job into assignments. The concepts behind MapReduce help us to think about and plan classes of processing tasks that are frequently applied to large datasets, or to a lot of data streams that are coming in from many sources and locations.

So far, it sounds like MapReduce and Hadoop are a kind of silver bullet that can eliminate the time and expense required to solve “Big Data” problems. As helpful as these ideas and their supporting technologies may be, not every potential MapReduce job can be optimized as much as we might like. Hadoop will not offer a cure-all for every problem.

We still have to understand the problem, determine what is needed, and work hard to do the right thing.

But when there is a good fit between the problem and this approach toward providing a solution, Hadoop and MapReduce can be very helpful.


Intro to the Fugue and the Open Well-Tempered Clavier - Jon Kulp | 2015-06-04

Intro to the Fugue

This episode of HPR is inspired by the recent release of a new recording by Kimiko Ishizaka of J.S. Bach's Well-Tempered Clavier, Book I. This is a very special recording because it is free and open, licensed to be shared freely forever. The recording was crowdfunded and immediately released with a public license after editing. This allows for legal remixing and sharing, and also makes it perfect for stuff like I do in this episode—cutting the recordings up for inserting as musical examples and then presenting the whole thing for your listening enjoyment.

Full Show Notes

Please see the full show notes for detailed descriptions of the parts of a fugue and a few musical examples as well.

Links


Windows To Linux - Better Late Than Never. - GNULinuxRTM | 2015-06-03

This is a story of my last days as a Windows Users at home and my eventual switch to Linux. My name is Kevin and my online name is GNULinuxRTM. The name GNULinuxRTM was recently created for a project I am working on. But maybe Ill talk about that another time.

Although I listened to every single episode of Linux Reality, many episodes of Linux Outlaws, Linux Link Tech Show, The Bad Apples aka GNU World Order, and other Podcast shows, I just recently listened to my first episode to Hacker Public Radio. What caught my attention was the plea for content to keep Hacker Public Radio going. So I have been HPR binging and I have to say that the fact that this kind of Podcast format exists, is amazing.

Yes, I had heard the words Hacker Public Radio before, but I just thought it meant that this was some kind of show for extreme Hacker types, which I didnt think described me.

Another confession, my day job is mostly in a Windows environment. And although I kept myself up to date on the progress of Linux, I had very few opportunities to use Linux at work. I had enough challenge keeping up to technology I had to know to do my job. Although I heard and understood the significance of making a commitment to use Linux, I never did make the switch. Sure I dabbled with Linux as a Server platform and maybe to get some use out of some old hardware. But not on my most powerful and most used home machine. The computer I use every day for my own personal projects was, until last Summer, a Windows PC.

You see I hate wasting effort and time, something we all have a limited amount of. I remember after a particularly frustrating bout with Linux I turned to a Co-Worker and said "Windows, because Lifes too short".

Also, I am one of those weirdos who loves the little red Trackpoint on IBM Thinkpads. Last Spring I traded in my old Thinkpad plus some cash for an off-lease Lenovo Thinkpad W510 Notebook. I got it cheaper because they didnt have the original power supply, instead it came with a 3rd party power supply. Eventually it got to me that it took more than twice as long to charge the notebook, so i spent the money to replace it with a higher wattage power supply. "In a for penny, in for a pound", why not upgrade to 8Gb of RAM too.

Shortly after the 90 day warranty I started having weird lockup issues. The hard drive light would go solid and the machine would just freeze. Ive seen this before. Suck it up and back to local computer store to replace the Hard Drive. But "In for a penny, in for a pound", why not get one of those slick new SSD drives. Got home, do a drive copy and I am back in business Or so I think. After a while I realize I am still suffering from intermittent Lockups. Time for a fresh install.

Install Windows 7, Windows Update, Reboot, Windows Update Reboot, Windows Update Reboot almost done. Blue-Screen-of-Death. Reboot, Blue Screen of Death. Start over, Re-install Windows 7, trickle install Updates, Save System State, Reboot, Repeat, Blue Screen, Ahhhhh!!@!!! System Restore, its that update, Blue Screen, not its that update, Blue Screen, Blue Screen, Blue Screen Ahhhhh!!##$

Is it my new RAM, switch that out. No difference. Power Supply? Nope. Go back to Non-SSD drive? Still No Change. Different Windows Install Disc? No, No and No.

Now Im really "In for a Pound" with this machine and I cant use it. Deflated, I put the computer down in the corner of the room and try to forget about it. The sleek black Thinkpad just sits there mocking me every time I walk by, but I am determined to ignore it. Weeks go by, now a month. Ive gone back to my desktop, but its no use, I miss having a notebook. Im an easy-chair Notebook guy now. I dont want to regress down the evolutionary scale and hunch over my desktop anymore. Im at home, I should be reclining!

Like a bad hangover, time has numbed the memory of the pain. I pick the Thinkpad, its time to drink again! Im back baby and Ive got that "You cant beat me" Techy Battle cry pumping through my veins. "LINUX! Ill try Linux!" At least that is the way I prefer to remember it. But really, I was thinking that Ive spent sooo much money on the piece of Crap, Ill use it even i have to switch to Linux.

Lets see Ive got to approach this logically. Uhhh, choose a Distro, Desktop, hmmmm. Video on Richard Stallman spanking Ubuntu on Amazon Deal, hmmm. Ok, Linux Mint 17 is based on the LTS release of Ubuntu, 5 years Support, Cool! Top of the Distrowatch charts. Looks like a good start.

I install Linux Mint 17 and it is up and running in no time. Run the Update Manager and hold my breath. Wow! It updated 100%, no Crash Screen of Doom!

Now what? What do i do now? Google "First things to do after install Linux Mint 17", wow Direct hit, Yeehaw! Oh cool, Steam Games, Yummy. PlayOnLinux, Bonus! What a blast. But the fun of discovery was better than any game I played.

Alas, my machine was running great but still had a locked up issue, just not as often. But it was a victory nonetheless. Besides, I had a mostly working machine and I would just ignore the problem. An infrequent lockup didnt seem to bother Linux Mint, it just boot back up fine.

After about a month on Linux Mint a little message popped up, I cant remember exactly what it said. But it was like machine was talking to me. "Hey Buddy, this battery in your notebook, uhh it kinda sucks. And you might want it replace because well I need steady power to you know, breath. And it sure would be a lot easier if I could Huh Huh Huh AHHHHH count on some steady air flow".

Yeah, you know I was elated, but even more so amazed! I had installed no diagnostic software, I had spent no additional time troubleshooting, I had just installed Linux and started using it. And my computer just told me what was wrong with it.

New battery arrived and now the machine is solid as rock. Did I go back to Windows 7, Hell No! I had kicked the habit once a for all and I was not missing Windows at all.

I distinctly remember a standout moment when I was working on my brother-in-law's wedding video. Circumstances were that the key family members could not be at the Wedding and the they were anxiously waiting for the Wedding Video. I didnt want to delay finishing the project and was reluctant to do anything else with the computer during the Render process. Rendering the Video took quite a bit of time and was very CPU intensive. But I had broken the Wedding into several segments and there was lots of Rendering and getting feedback.

Kdenlive lets you assign how many processors would be used during Rendering, and I had set that to four. There were processors to spare, maybe I can do something else while I am waiting for the Render.

Ill read a few emails. Hey, I dont notice any performance difference. Maybe Ill surf a bit. Still fine. Youtube Video, smooth, now in HD, wow! no problem or no slow down. Multi-tasking as it should be!

Next day at work, I cant help but talk about it with my Co-Workers. "Why not get a Mac?" they say. it wasnt a question, it was a strong suggestion. Most of them had written off Linux years ago. I start talking about how great my system is working for me and how I have been able to get so much done with 100% open source applications. "So what", they say. "You can install most of those applications on the Mac and Windows as well".

Its no use, I guess I am not much of an evangelist. Or maybe I just work with cynical people. But it does cause me to question. Why am I so excited about Open Source Software now? At this point in history. Really most of the fundamental building blocks of Open Source Software have already happened. It seems to me we are now in a fine tuning stage.

I think it is that maturity that appeals to me. No longer do you have to say, you can install Linux, BUT. And word "But" lands with a thud. There is very little creative work that you cannot do on Linux and Open Source software, right now.

I dont regret a single moment I have invested in switching to and learning Linux.

My story continues, but well save that for another time. I hope to tell you more about my project and the hurdles Ive gone through in a future HPR episode.

Bye for now, GNULinuxRTM signing off.


Cowsay and Figlet - Jon Kulp | 2015-05-28

Basic commands

Make default cow speak:

cowsay "Hacker Public Radio"

Result:

 _____________________
< Hacker Public Radio >
 ---------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Modes

  • -b Borg mode;
  • -d dead;
  • -g greedy mode;
  • -p causes a state of paranoia to come over the cow;
  • -s makes the cow appear thoroughly stoned;
  • -t yields a tired cow;
  • -w is somewhat the opposite of -t, and initiates wired mode;
  • -y brings on the cow's youthful appearance.

Use "tired" cow mode:

cowsay -t "Ken is tired of begging for shows"

Result:

 ___________________________________
< Ken is tired of begging for shows >
 -----------------------------------
        \   ^__^
         \  (--)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Specify different images with -f

Threaten someone with a dragon:

cowsay -f dragon 'record and upload a show OR ELSE!'

Result:

 ___________________________________
< record and upload a show OR ELSE! >
 -----------------------------------
      \                    / \  //\
       \    |\___/|      /   \//  \\
            /0  0  \__  /    //  | \ \    
           /     /  \/_/    //   |  \  \  
           @_^_@'/   \/_   //    |   \   \ 
           //_^_/     \/_ //     |    \    \
        ( //) |        \///      |     \     \
      ( / /) _|_ /   )  //       |      \     _\
    ( // /) '/,_ _ _/  ( ; -.    |    _ _\.-~        .-~~~^-.
  (( / / )) ,-{        _      `-.|.-~-.           .~         `.
 (( // / ))  '/\      /                 ~-. _ .-~      .-~^-.  \
 (( /// ))      `.   {            }                   /      \  \
  (( / ))     .----~-.\        \-'                 .~         \  `. \^-.
             ///.----..>        \             _ -~             `.  ^-`  ^-_
               ///-._ _ _ _ _ _ _}^ - - - - ~                     ~-- ,.-~
                                                                  /.-~

On Linux, praise Ahuka with a Random Cow:

echo 'Ahuka Rocks!' | cowsay -f $(locate *.cow | shuf -n1)

One Result:

 ______________
< Ahuka Rocks! >
 --------------
        \    ,-^-.
         \   !oYo!
          \ /./=\.\______
               ##        )\/\
                ||-----w||
                ||      ||

               Cowth Vader

Figlet

Make ASCII banner text with figlet. This one uses the default font and wraps the lines at 45 characters:

figlet -w 45 "Hacker Public Radio"

Result:

 _   _            _             
| | | | __ _  ___| | _____ _ __ 
| |_| |/ _` |/ __| |/ / _ \ '__|
|  _  | (_| | (__|   <  __/ |   
|_| |_|\__,_|\___|_|\_\___|_|   
                                
 ____        _     _ _      
|  _ \ _   _| |__ | (_) ___ 
| |_) | | | | '_ \| | |/ __|
|  __/| |_| | |_) | | | (__ 
|_|    \__,_|_.__/|_|_|\___|
                            
 ____           _ _       
|  _ \ __ _  __| (_) ___  
| |_) / _` |/ _` | |/ _ \ 
|  _ < (_| | (_| | | (_) |
|_| \_\__,_|\__,_|_|\___/ 
                          

Use an alternate font with -f option:

figlet -f digital "Community News"
+-+-+-+-+-+-+-+-+-+ +-+-+-+-+
|C|o|m|m|u|n|i|t|y| |N|e|w|s|
+-+-+-+-+-+-+-+-+-+ +-+-+-+-+

Links


Magnatune Favourites - Dave Morriss | 2015-05-26

Magnatune Favourites

Andrew Conway and Dave Morriss, who each have a lifetime membership with Magnatune, talk about the label and share some favourite tracks.

About Magnatune

Magnatune Logo
Magnatune Logo

Magnatune is an American independent record label based in Berkeley, California. It was founded in 2003 by John Buckman.

When first set up music could be bought from Magnatune through a download interface on the website with a "pay what you like" pricing model. Later it was possible to purchase physical CDs and in 2007 complete albums and individual tracks could be bought through Amazon.com.

Magnatune moved to a membership plan in 2008 and in 2010 dropped the CD printing service. The subscription model offers monthly or lifetime membership. Members can download as much as they want, or with a streaming membership can stream as much as they want. Many download formats are available and all music is without DRM.

Magnatune encourages buyers to share up to three copies with friends. All of the tracks downloaded free of charge are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike (BY-NC-SA) License.

It's legal to play Magnatune music on a non-commercial podcast without paying collecting society fees to organisations such as ASCAP, BMI or SoundExchange.

Music Choices

The picture we mentioned when discussing the artist Kalabi
Picture from Kalabi's page on Magnatune
http://magnatune.com//artists/img/kalabi2.jpg

See also http://www.museumwaalsdorp.nl/en/airacous.html if you want more.

  1. Wikipedia entry on Magnatune: https://en.wikipedia.org/wiki/Magnatune
  2. Magnatune site: https://magnatune.com/
  3. Wikipedia entry on Creative Commons: https://en.wikipedia.org/wiki/Creative_Commons_license
  4. John Buckman's blog: http://john.redmood.com/
  5. Web-based Magnatune player: http://greattuneplayer.jit.su

Sonic Pi - Steve Bickle | 2015-05-22

In this review of the Sonic Pi software I have mentioned a couple of programs that I wrote the listings are here:

============================
The Hippopotamus Song
============================
use_bpm 180
# use_transpose -12
use_synth :fm
2.times do
play_pattern_timed [:D3,:G3,:G3,:G3], [1,1,1,1]      # 1 extra note from bar an bar 2
play_pattern_timed [:G3,:D3,:B2,:G2], [0.5,0.5,1,1]  # 3
play_pattern_timed [:a2,:b2,:c3], [1,1,1]            # 4
play_pattern_timed [:b2,:b2,:a2], [2,0.5,0.5]        # 5
play_pattern_timed [:g2,:g3,:g3], [1,1,1]            # 6
play_pattern_timed [:fs3,:g3,:e3], [1,1,1]           # 7
play_pattern_timed [:d3,:d3], [4,1]                  # 8 9
play_pattern_timed [:g3,:g3,:g3], [1,1,1]            # 10
play_pattern_timed [:g3,:d3,:b2,:g2], [0.5,0.5,1,1]  # 11
play_pattern_timed [:a2,:b2,:c3], [1,1,1]            # 12
play_pattern_timed [:b2,:b3,:a3], [2,0.5,0.5]        # 13
play_pattern_timed [:g3,:fs3,:e3], [1,1,1]           # 14
play_pattern_timed [:a3,:fs3,:e3], [1,1,1]           # 15
play_pattern_timed [:d3,:d3], [4,1]                  # 16 17
play_pattern_timed [:a3,:a3,:a3], [1,1,1]            # 18
play_pattern_timed [:e3,:e3,:e3], [1,1,1]            # 19
play_pattern_timed [:a3,:a3,:a3], [1,1,1]            # 20
play_pattern_timed [:e3,:a3], [2,1]                  # 21
play_pattern_timed [:c4,:b3,:a3], [1,1,1]            # 22
play_pattern_timed [:a3,:b3,:gs3], [1,1,1]           # 23
play_pattern_timed [:a3,:d3], [4,1]                  # 24 25
play_pattern_timed [:e3,:fs3,:g3], [1,1,1]           # 26
play_pattern_timed [:fs3,:d3,:d3], [1,1,1]           # 27
play_pattern_timed [:e3,:fs3,:g3], [1,1,1]           # 28
play_pattern_timed [:fs3,:d3,:d3], [1,1,1]           # 29
play_pattern_timed [:c4,:b3,:a3], [1,1,1]            # 30
play_pattern_timed [:g3,:fs3,:e3], [1,1,1]           # 31
play_pattern_timed [:fs3],[1], sustain_level: 0.6, sustain: 1, decay: 3   # 32 sustain note into next bar
play_pattern_timed [:g3,:fs3], [1,1]                 # 32
play_pattern_timed [:e3,:d3,:fs3], [1,1,1]           # 33
play_pattern_timed [:g3,:d3],[3,3]                   # 34 35
play_pattern_timed [:c3,:b2,:a2], [1,1,1]            # 36
play_pattern_timed [:d3],[3]                         # 37
play_pattern_timed [:g3,:fs3,:g3], [1,1,1]           # 38
play_pattern_timed [:e3,:a3,:g3], [1,1,1]            # 39
play_pattern_timed [:fs3,:e3,:fs3], [1,1,1]          # 40
play_pattern_timed [:d3,:d3],[2,1]                   # 41
play_pattern_timed [:b3,:b3,:a3], [0.5,1.5,1]        # 42
play_pattern_timed [:g3,:d3,:d3], [0.5,1.5,1]        # 43
play_pattern_timed [:c4,:c4,:b3], [1,1,1]            # 44
play_pattern_timed [:a3,:e3,:d3], [0.5,1.5,1]        # 45
play_pattern_timed [:e3,:fs3,:g3], [1,1,1]           # 46
play_pattern_timed [:d3,:b2,:g2], [1,1,1]            # 47
play_pattern_timed [:a2],[3], decay: 3               # 48
play_pattern_timed [:a2,:b2,:a2], [1,1,1]            # 49
play_pattern_timed [:g2],[3], decay: 3               # 50
play_pattern_timed [:g2],[1]                         # 51
sleep 2
end

=======================================
The HPR Outro theme - hack on this improve it and make a show
=======================================
in_thread do
  use_bpm 180
  use_transpose 24
  use_synth :beep
  19.times do
    play_pattern_timed [:a,:as,:a,:a], [0.5],release: 0.02, amp: 0.3 #
    play_pattern_timed [:as,:f,:as,:a], [0.5],release: 0.02, amp: 0.3  #
  end
end
use_bpm 180
sample :elec_hi_snare
sleep 0.5
sample :elec_hi_snare
sleep 0.5
sample :drum_bass_hard
sleep 0.5

use_transpose -0
use_synth :saw
2.times do
  play_pattern_timed [:a,:a,:a,:a], [0.5,1,0.5,1] # 3
  play_pattern_timed [:a,:as,:a], [1,1,1]
  play_pattern_timed [:c5], [3], decay: 2   # 6
  play_pattern_timed [:a,:a,:a,:a], [0.5,1,0.5,1] # 3
  play_pattern_timed [:a,:as,:a], [1,1,1]    # 6
  play_pattern_timed [:f], [3], decay: 2   # 6
end
use_synth :dsaw
play_pattern_timed [:f],[1]
play_pattern_timed [:c5],[2], decay: 1.5
play_pattern_timed [:as,:a,:as],[1,1,1]
play_pattern_timed [:a],[1]
play_pattern_timed [:c5],[2], decay: 1.5
play_pattern_timed [:f],[1]
play_pattern_timed [:c5],[2], decay: 1.5
play_pattern_timed [:as,:a,:as,],[1,1,1]
play_pattern_timed [:a],[1]
play_pattern_timed [:f],[2], decay: 1.5
play_pattern_timed [:f],[1]
play_pattern_timed [:c5],[2], decay: 1.5
play_pattern_timed [:as,:a,:as],[1,1,1]
play_pattern_timed [:a],[1]
play_pattern_timed [:c5],[2], decay: 1.5
play_pattern_timed [:f],[1]
play_pattern_timed [:c5],[2], decay: 1.5
play_pattern_timed [:as,:a,:as,:a],[1,1,1,1]
play_chord [:c4,:f], decay: 4
===========================
------------------------------------------------------------

Router Hacking - Jon Kulp | 2015-05-21

Router Hacking

What

  • Flashing a router with alternate firmware

Why

  • Provide additional features
  • Improve performance
  • Privacy (gets rid of unwanted spyware)
  • Fun

Where

How: Steps for My Latest Hack

  1. Find used Netgear WNDR3400 router on shelf at local Goodwill store, priced at $3.99.
  2. Use my smartphone to check the dd-wrt database to see if this router is hackable.
  3. Grin broadly upon seeing the green "Yes" beside router WNDR3400.
  4. Double-check that power supply is included, find an AC outlet and plug in to be sure it powers on and my phone sees its ESSID. Yep and yep.
  5. Take router to cashier and purchase.
  6. Do hard reset of router to clear any previous configuration.
  7. Hook a laptop up to router using ethernet patch cable (turning off WiFi adapter on laptop).
  8. Access router's configuration in web browser at default router address of 192.168.1.1 just to confirm that it works.
  9. Go back to the dd-wrt router database and find the router again, then download the corresponding "mini" and the "mega" versions of dd-wrt firmware (The mega version has the most features—including USB support, which I wanted—but on many routers, including this one, you have to install the mini version first or else you could brick the router)
  10. Read over the dd-wrt wiki page for this specific router just to see if there's anything unusual about the hack. There's not.
  11. Go to the router's stock configuration page again and find the "Firmware upgrade" button.
  12. Click the button and choose the "mini" version of the dd-wrt firmware, and click upgrade, then wait while crossing fingers until it says firmware successfully upgraded.
  13. Refresh the configuration page at 192.168.1.1 and see the new dd-wrt configuration interface.
  14. Pat myself on the back because I have just hacked another router. Hray!
  15. Find the upgrade firmware area on the new dd-wrt interface, and this time choose the "mega" firmware file and submit, then wait and cross fingers as before. Celebrate when it works.
  16. Configure newly hacked router as wireless bridge (this is NOT going to be my main router), enable the USB and printer support, hook up our formerly-usb-only printer to the router, and configure household computers to be able to print wirelessly to the newly-networked printer.
  17. Enjoy kudos from appreciative family.

Random thoughts - swift110 | 2015-05-19

http://anthonyvenable110.wordpress.com

https://anthonyvenable110.wordpress.com/2014/05/07/lovely-walk-in-may-part-1/

My blogsite as well as just one of the many posts on my site that deal with what I appreciate about my life in general


Sox of Silence - Ken Fallon | 2015-05-11

Many of you may be aware of the "truncate silence" filter in audacity. As I already use SOX to speed up my podcasts, I wanted to see if it could also remove silence as well. While the man page is detailed, it is difficult to follow. http://sox.sourceforge.net/

Fortunately Jason Navarrete posted an excellent article on digitalcardboard.com called The SoX of Silence which went through the process step by step http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/

The Script

    # -S, --show-progress
    # -V verbose
    # tempo Change the audio playback speed but not its pitch. 
    # remix Select and mix input audio channels into output audio channels. 
    # remix - performs a mix-down of all input channels to mono.
    # silence Removes silence from the beginning, middle, or end of the audio.
    # http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/
    # 
    sox -S -v2 "${FILENAME}" "${FILENAME}-faster-${SPEED}.ogg" -V9 tempo ${SPEED} remix - silence 1 0.1 1% -1 0.1 1%

Introduction to Rogue Class Linux - Frank Bell | 2015-05-07

Rogue Class describes itself as "a toy Linux distribution for playing games and reading books. RCL favors turn-based games, such as puzzles and rogue-like games. "

What are Rogue Class games? According to a link at the Rogue Class website, Rogue Class games are characterized by

  • "Tactical play. The unit of action is based on the individual adventurer. The game is not twitch oriented (like Quake, rewarding reflexes & well trained actions) nor is it strategy oriented (like Civilizations or Warcraft, requiring working on the large picture)
  • "Based in Hack and Slash. A roguelike isn't primarily about plot development or telling a story. It is about killing things and acquiring treasure.
  • "Random games. A roguelike is a dungeon crawler where no two games are the same. The maps are different, the items are different, there are no guaranteed win paths.
  • "Permadeath. You die, that is it. No restoring a savegame. Good roguelikes delete your save game after loading them. This is compensated by the replayability of the game.
  • "Complex interactions of properties. While the commands for a roguelike are simple, the potential interactions are not. My favourite example is equipping a silver ring as a weapon in order to damage a creature vulnerable to silver, but not one's other weapons. [Editor: This matches the Hack branch of the roguelike tree, not the Angband branch]
  • "Steam rolling monsters. If a critter is in your way, and weak, you shouldn't even notice it is there."

(Source: http://www.zincland.com/powder/?pagename=about)

Rogue Class contains four dozen or so games, two of which are actually categories which in turn contain additional games, as well as a number of utilities, including a network manager, an IRC client, and more. Some representative games include the following, picked quite at random: Angband, Fargoal, Magus, Moria, Nethack, and Tome.

If you liked the old games, give Rogue Class a spin.

Website: http://rogueclass.org/

The Rogue Class forum is located at Linux Questions.org: http://www.linuxquestions.org/questions/rogue-class-106/

You can see an interesting chart of Rogue Class's graphics subsystems at this link: http://www.linuxquestions.org/questions/rogue-class-106/rcl-graphics-sub-systems-4175522637


Intro to Homebrewing - Alpha32 | 2015-05-06

I talk a bit about homebrewing, how to do it, what it is, and how to get started. If there is interest, I will do more in-depth shows on the topic, otherwise I will let it stand alone.

Links

I ramble on about brewing your own beer. Here are a few internet resources to help you along:

This is my first episode ever, so any advice is greatly appreciated. My email is amneher007@gmail.com


pdftk: the PDF Toolkit - Jon Kulp | 2015-05-01

Hacking Apart and Re-Assembling PDFs

Extract pages 3–5 from file foobar.pdf:

pdftk foobar.pdf cat 3-5 output excerpt.pdf

Same thing but also grab the cover page:

pdftk foobar.pdf cat 1 3-5 output excerpt.pdf

Combine multiple PDFs:

pdftk file1.pdf file2.pdf file3.pdf cat output combined.pdf

Reassemble a 50-page document with all of the pages in reverse order (I once actually did this for my wife and she was very grateful—she had scanned an article at the library and it ended up with all of the pages in the wrong order from last to first. This command solved her problem in about one second.):

pdftk wrongorder.pdf cat 50-1 output rightorder.pdf

Check the pdftk man page for all kinds of other manipulations you can do, including "bursting" a PDF into its component pages, rotating pages in any direction, applying password protection, etc.

Embedding “Bookmarks” as a Table of Contents

You can also use pdftk to embed a table of contents in a flat PDF file. This is incredibly useful, as it can make large, unwieldy files very easy to navigate. All you have to do is add some bookmark data in a fairly straightforward format as shown below. As a starting point you should that dump the current metadata content of the file with this command:

pdftk foobar.pdf dump_data_utf8

Save the contents of this data dump in a text file and then add bookmark information just below the NumberOfPages value. Here is an excerpt from the huge anthology of public-domain scores I assembled for my music history class:

InfoBegin
InfoKey: ModDate
InfoValue: D:20150106100000-06'00'
InfoBegin
InfoKey: CreationDate
InfoValue: D:20150106100000-06'00'
InfoBegin
InfoKey: Creator
InfoValue: pdftk 2.02 - www.pdftk.com
InfoBegin
InfoKey: Producer
InfoValue: itext-paulo-155 (itextpdf.sf.net-lowagie.com)
PdfID0: ece858bf9affbcad3b575cf3891a187f
PdfID1: 23f89459e103dd43c6e7bc92028245c0
NumberOfPages: 765
BookmarkBegin
BookmarkTitle: Beethoven: Symphony no. 5 in C minor Op. 67
BookmarkLevel: 1
BookmarkPageNumber: 205
BookmarkBegin
BookmarkTitle: Beethoven 5: I. Allegro con brio
BookmarkLevel: 2
BookmarkPageNumber: 205
BookmarkBegin
BookmarkTitle: Beethoven 5: II. Andante con moto
BookmarkLevel: 2
BookmarkPageNumber: 235
BookmarkBegin
BookmarkTitle: Beethoven 5: III. Allegro
BookmarkLevel: 2
BookmarkPageNumber: 256
BookmarkBegin
BookmarkTitle: Beethoven 5: IV. Allegro
BookmarkLevel: 2
BookmarkPageNumber: 275

And here is the command to update the PDF with the table of contents embedded. This tells it to take the input file foobar.pdf and update its metadata using the file foobar.info (with utf8 encoding) and output the results as foobar_with_toc.pdf.

pdftk foobar.pdf update_info_utf8 foobar.info output foobar_with_toc.pdf

Links

Update

I made a screencast as a follow-up, showing the process of embedding bookmarks to make a table of contents: https://m.youtube.com/watch?v=5dv_02v0zzc


A brief review of Firefox OS - Stilvoid | 2015-04-30

This is phone I'm using: http://www.geeksphone.com/#the-phone

And here are some useful links about Firefox OS:

The marketplace (app store): https://marketplace.firefox.com/

The marketing site: https://www.mozilla.org/en-US/firefox/os/2.0/

Developer documentation: https://developer.mozilla.org/en-US/Firefox_OS


Cool Stuff part 3 - Curtis Adkins (CPrompt^) | 2015-04-29

Radiotopia

http://www.radiotopia.fm/

A part of PRX (Public Radio Exchange), they are a collection of story-driven podcasts sponsored in part by the Knight Foundation.

PRX : http://www.prx.org/

Knight Foundation : http://www.knightfoundation.org

Headed up by their flagship podcast 99% Invisible which is based on architecture and design and hosted by Roman Mars

urxvt256c

rxvt = Roberts XVT. X = X Window System, VT = VT102 terminal

VT Terminal : http://www.en.wikipedia.org/wiki/VT100

rxvt started as a replacement for xterm. Written by Rob Nation http://en.wikipedia.org/wiki/Rxvt

Forked by Marc Lehmann and called rxvt-unicode or urxvt. Gave features such as transparency, Perl extensions and better font support http://en.wikipedia.org/wiki/Rxvt-unicode

Uses the .xdefaults configuration file in your home directory for customizations.

Phil Plait's Crash Course Astronomy

Also known as The Bad Astronomer

Wikipedia : http://en.wikipedia.org/wiki/Phil_Plait

Blogs at Slate : http://www.slate.com/authors.phil_plait.html

Ted Talks : https://www.ted.com/speakers/phil_plait

Crash Course on YouTube: https://www.youtube.com/playlist?list=PL8dPuuaLjXtPAJr1ysd5yGIyiSFuh0mIL


Ranger File Manager - b-yeezi | 2015-04-27

From Man Page:

DESCRIPTION
ranger is a console file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. The secondary task of ranger is to figure out which program you want to use to open your files with.

This manual mainly contains information on the usage of ranger. Refer to the README for install instructions and to doc/HACKING for development specific information. For configuration, see the files in ranger/config. They are usually installed to /etc/ranger/config and can be obtained with ranger's --copy-config option.

Inside ranger, you can press 1? for a list of key bindings, 2? for a list of commands and 3? for a list of settings.

  • Project page: http://ranger.nongnu.org/. Has pretty good documentation
  • Available on Debian, Arch, Probably others, git and mailing list available as well.

screenshot

Features

  • 3-pane view:
    • Previous -> current -> next
    • When current is a file, uses file magic and other programs to preview the file
    • optional dependencies for previews:
      • img2txt from caca-utils for ASCII-art
      • highlight for syntax highlights
      • atool for archives
      • lynx/w3m/elinks for html
      • pdftotext for pdfs
      • transmission-show for bittorrent information
      • mediainfo or exiftool for mediafile info
    • Color coded, with three themes to choose from
    • One more over to the right opens the file from other programs

Configuration

  • located in ~/.config/ranger directory
  • rc.conf = keybindings and settings
  • commands.py = command-mode items
  • rifle.conf = file launcher options, which let you make custom file opener commands
  • scope.sh = custom file preview scripts, like mdview
  • up, down, left, right, or h,j,k,l
  • gg top G Bottom
  • E edit
  • pageup/down

Command commands

  • spacebar to mark or :mark for pattern
  • dd, yy, pp
  • :touch, :mkdir, :grep
  • del
  • rename and bulkrename (change from ranger.container.file import File to .fsobject.)
  • zh - toggle hidden
  • gn - new tab, gt or gT to navigate tabs
  • / search vile
  • V visual mode
  • :open_with
  • 1? = list key bindings
  • 2? list commands
  • 3? list settings
  • ? main help

D7? Why Seven? - Jon Kulp | 2015-04-23

In this episode I respond to one of the community-requested topics ("Music Theory") and try to explain what seventh chords are and why they are used. Below are some of the terms that I use in the course of the discussion.

  • Interval: The distance between two pitches (sounded either consecutively or simultaneously)
  • Consonance: Relatively stable sound between two or more pitches
  • Dissonance: Relatively unstable sound between two or more pitches. Dissonance often needs a "resolution" to consonance
  • Chord: three or more notes sounded together
  • Chord progression: a succession of chords
  • Triad: a chord with 3 pitches, the adjacent pitches separated by the interval of the 3rd.
  • Seventh chord: a chord with 4 pitches, the adjacent pitches separated by the interval of the 3rd.
  • Tonality: harmonic system that governs the use of major and minor keys
  • Tonic: the central tone of a piece of music
  • Mode: major or minor [e.g. Symphony no. 5 in C minor]
  • Modulation: the process of changing keys within a piece of music
  • Scale: Ascending or descending series of notes that define a key or tonality, with a specific arrangements of half-steps and whole-steps. Major and Minor scales are most common in Western music

Free public-domain music reference book: Music Notation and Terminology by Karl Wilson Gehrkens: http://www.gutenberg.org/ebooks/19499 (see ch. 18)

Free Online Music Dictionary: http://dictionary.onmusic.org/


Introducing a 5 year old to Sugar on Toast - Amunizp | 2015-04-22

This was me introducing my 5 year old to her new laptop with Sugar on Toast.

A family member had no use for an old 7 year old netbook so I installed the trisquel version of Sugar, the one laptop per child operating system.

This is a response to this episode: http://hackerpublicradio.org/eps.php?id=1726 I find it ticks all the boxes.

Recorded with a phone and spoken mainly in a different language. I did conversion to FLAC from a mono mp3 probably the same if I just uploaded the MP3 directly. No editing was done.


Scale 13x Part 6 of 6 - Lord Drachenblut | 2015-04-16

I am 13 years old and live in Santa Barbara. I have participated in the Open Source community for several years. My dad has been on the SCALE leadership team for a long time, and he introduced me to programming. My favorite programming languages are HTML and Javascript with Enyo because I like creating websites and webOS apps. I also program in Shell and some Python, and like making short animations using Blender. I have recently made the world's first emulator for the WITCH, the first currently working fixed-point decimal computer. I recently earned my Technician Amateur Radio license and enjoy attending radio club meetings. Besides geeking, I like to swim, act, and do fun events with the Boy Scouts.


Scale 13x Part 5 of 6 - Lord Drachenblut | 2015-04-15


Scale 13x Part 4 of 6 - Lord Drachenblut | 2015-04-14


Scale 13x Part 3 of 6 - Lord Drachenblut | 2015-04-13


Scale 13x Part 2 of 6 - Lord Drachenblut | 2015-04-09

Josh Berkus Postgres SQL in Space

headshot

logo
Website: http://www.postgresql.org/

Josh Berkus has been a member of the PostgreSQL Core Team since 2003 and has been working as a database consultant since 1995. Josh's work experience includes 8 years of independant consulting on database applications, primarily building applications for the legal and HR industries. He was also head of Sun Microsystem's PosgtreSQL support staff for 2 years and helped launch BI startup Greenplum.

Bryan Lunduke

headshot

logo
Website: http://lunduke.com/
LinkedIn: https://www.linkedin.com/in/bryanlunduke
Twitter: https://twitter.com/bryanlunduke

OpenSuSe Build Service with Markus Feilner and Lance Albertson

logo

Markus Feilne

headshot

Website: https://plus.google.com/+MarkusFeilner/about
LinkedIn: https://www.linkedin.com/in/markusfeilner

Open mind. Vigil. Proud citizen and honorable diplomat of the Conch republic. Minister of the Universal Life Church. Jedi knight. Owner of Lunar property. Linux and open source human, occasional and highly provocative Apple troll (#iTroll)

Lance Albertson

headshot

Website: http://osuosl.org/about/people/lance-albertson

Director | Cat Herder
Lance became OSL director in early 2013. He has managed all of the hosting activities that the OSL provides for more than 160 high-profile open source projects since joining the lab as lead systems administrator and architect in 2007. Lance’s involvement in the open source community began in 2003, when he became a developer and package maintainer with Gentoo Linux. Prior to joining the OSL, Lance was a UNIX Administrator for the Enterprise Server Technologies group at Kansas State University. In his free time he helps organize Beaver BarCamp and plays trumpet in local jazz group The Infallible Collective.
Lance can be reached at lance-at-osuosl-dot-org

Scale 13x Part 1 of 6 - Lord Drachenblut | 2015-04-08

Introduction

headshot

Lord Drachenblut introduces himself


Website: http://www.gofundme.com/gysc0o

Greetings everyone. I'm Matthew ”Lord Drachenblut" Williams. I'm currently working on gathering the fund to attend the Southern California Linux Expo aka SCALE. As many of you already know I have spent the last year struggling against esophageal cancer. I am nearing a point which I can start traveling and attending conferences again. My goal is to raise the funds so that in February of 2015 I can attend Scale. I am also working on a talk that I hope to give at SCALE. My sincerest thanks to the community that has been there for me during my recovery and to those that will help me in this endeavor. Should I raise more funds than needed to attend SCALE my goal will be to submit my talk to other conferences and to give my talk at those as well.

Docker

headshot

Listen to the interview with Jérôme Petazzoni.

logo
Website: https://www.docker.com/
LinkedIn: https://www.linkedin.com/profile/view?id=18390427
Twitter: https://twitter.com/jpetazzo

Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Consisting of Docker Engine, a portable, lightweight runtime and packaging tool, and Docker Hub, a cloud service for sharing applications and automating workflows, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments. As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.

Fedora Activity Day

The Fedora Activity Day (FAD) is a regional event (either one-day or a multi-day) that allows Fedora contributors to gather together in order to work on specific tasks related to the Fedora Project.

Fedora interview with Matthew Miller

headshot

logo
Website: https://getfedora.org/en/

The Fedora Project is a partnership of free software community members from around the globe. The Fedora Project builds open source software communities and produces a Linux distribution called "Fedora." The Fedora Project's mission is to lead the advancement of free and open source software and content as a collaborative community.


How to Get Yourself On an Open Source Podcast - Presentation for Kansas Linux Fest, 22 March 2015 - FiftyOneFifty | 2015-04-07

Howdy folks, this is 5150 for Hacker Public Radio. What you are about to hear is a presentation titled "How to Get Yourself on an Open Source Podcast" that I delivered at Kansas Linux Fest on 22 March 2015. Since it was not recorded (I was told the SD card was full), and there has been interest expressed by my fellow podcasters, I thought it might be worth re-recording. I am afraid Mike Dupont is not satisfied with any of the video from KLF 2015, this may be the only talk from that event you get to hear. However, show notes are extensive, http://lanyrd.com/2015/klf15/schedule/ All I can tell you is, three out of the four audience members seemed to enjoy my presentation. I shall deliver the rest of this podcast as if you gentile listeners were my live audience.

A. Howdy folks, my name is Don Grier. I'm an IT consultant and farmer from South Central Kansas. I am also a podcaster. You might recognize my voice from such podcasts as Hacker Public Radio, the Kernel Panic Oggcast, or Linux LUG Cast, where I use the handle, FiftyOneFifty.

I. When fellow Hacker Public Radio host Mike Dupont told me KLF would be a reality, I struggled to find a topic that I knew well enough to give a talk about. It was almost in jest that I said I could talk about "How to Get Yourself on an Open Source Podcast". Actually, since that was as far as my proposal went, I was shocked and honored to find myself on the same roster with so many other speakers with impressive credentials and technical topics.

II. This afternoon, I hope not only to chronicle my personal history with Linux and open source related podcasts, but to show you why I believe podcasting can be as an important part of giving back to the community as contributing code, or documentation, or cash. Linux podcasts bind the community by providing education, both as basic as Linux Reality or as specific as GNU World Order. Podcasts announce new innovations, and tell us of Free and Open Source software adoption and opposition in corporations and governments. Podcasts herald community events like this one, and provide a little humor at the end of a long day.

B. Some of you may wonder why I'm using old school technology to organize my notes at a high tech conference. At this point, 5150 holds up several stapled sheets of paper in large print. The plain and simple truth is that I can't read my phone or tablet with my glasses on; and I'm already using bifocals. It just seems every time I get new glasses, the lower lenses work for about two weeks, then I have to take then off to see the phone. But this last time I figured I'd outsmart my the system and just order a single focus lenses. I was still congratulating myself on my thriftiness when I put my new glasses on, sat down at the computer, and realized I couldn't read the keyboard.

C. Before I talk about my history as a podcaster, I think I should tell you my history with Linux.

I. My first experience with Linux was with a boxed set of Mandrake 7.2 around 2002. I always maintain at least a second running system in the house, in case the primary machine coughs up a hairball. I'd always been a geek alternative OS's, and I wanted a tertiary machine on my network that wouldn't be affected by the propagation of Windows viruses.

a. There wasn't much flash to Linux apps in those days, I recall I was not impressed by whichever browser shipped with Mandrake. I don't recall what I knew about installing additional applications from repositories, but in any case I was still on dialup.

b. The Pentium I that I installed Mandrake on had both a modem and an Ethernet card. The installer asked which one I used to reach the Internet, and only set up one of the two devices. This annoyed me as I'd planned to use the Linux box as a gateway to see if it would save a few CPU cycles on the P4 I used as a gaming machine back then. I really wouldn't have know where to go on the Internet for help, and I expect help would not be as forth coming 13 years ago.

II. My next experience with Linux came around 2007. The school I consulted for had several Windows 98 machines not compatible with the software they wanted to run. Even though the machines were P4's, we determined the cost of XP plus memory upgrades could better be applied to new machines. As a result, I was able to bring several of the machines home. Over time, I boosted their memory with used sticks from eBay, and even the odd faster processor. As a noob, I installed Feisty Fawn on a system out in the machine shed, and spent a lot of that winter hacking on that box when I should have been overhauling tractors. Just as I was delving into NDIS wrappers, Gusty brought support for my Gigabyte wireless card, which combined with a double fork isolating power box, gave me reasonable certainty that the box out in the shed was safe from lightning storms. About six months later, I rescued up a refugee from a major meteorological event and set it up in my house running Mint. For the first time I didn't have to leave the house to get my Linux on.

D. Just before I set up that first Linux box, we finally got broadband out to the farm, and I'd discovered podcasts. I figured there must be Linux podcasts to go along the general tech and computing podcasts I followed, as well as a fondly remembered weekly SciFi revue show that started out as a Sunday afternoon show on a Wichita radio station, was canceled twice, and re-emerged as a semi weekly podcast, only to disappear forever a couple months after I started listening again, but not before I download all the episodes I missed.

I. In my initial search for Linux related content, all I came up with were four drunk off their ass Scots discussing the minutia of Ruby on Rails. While I liked the format, I lacked the commitment to become a Ruby programmer so I could understand the show.

II. A few days later I came across "The Techie Geek". Russ Wenner mixed tutorials with reviews of new applications and upcoming events. Better yet, he introduced me to a world of other Linux podcasts. Through "The Techie Geek", I learned of the irreverent banter of the "Linux Outlaws", the subdued studiousness of what was then called "The Bad Apples", the contained chaos of the "Linux Cranks", the classroom like atmosphere of the "Linux Basement" during Chad's Drupal tutorial period, tech hints and movie reviews delivered at the speed of 75 miles per hour by Dave Yates of "Lotta Linux Links", the auditory dissonance of "The Linux Link Tech Show", and the constant daily variety of "Hacker Public Radio".

E. In 2010, I made my first contribution to Hacker Public Radio. The great thing about HPR is that there is no vetting process, we only ask your audio be intelligible (not polished, not even good, we just have to be able to understand you) and that the topic be of interest to geeks. If you consider yourself a geek, any topic that interests you is welcome. There is no maximum or minimum runtime, just get the show uploaded on-time. While topics tend concern open source, this is not a requirement. I believe my second HPR concerned how to migrate Windows wireless connection profiles between systems. I'd spent a few hours figuring it out one day for a customer and I thought I should consolidate what I learned in one place. HPR provides a podcasting platform at no cost to the podcaster. It serves as both a venue for broadcasters without the resources to host their own site or without the time to commit to a regular schedule. It can also serve as an incubator for hosts trying to find their own audience. It's never been easier to become a podcaster with HPR. I would start with an e-mail introduction (as a courtesy) to admin@HackerPublicRadio.org. Next, record you audio. When you have a file ready to upload, select an open slot in the calendar page and follow the instructions, be prepared to paste in your shownotes.

F. I also credit HPR for getting me my first invite to participate in my first podcast with multiple hosts. Once a month, Hacker Public Radio records a Community News podcast, recorded on the first Saturday afternoon after the end of the previous month (exact times and server details are published in the newsletter). All HPR hosts, and indeed listeners are invited to participate, it is just asked that you have listened to most the the past month's shows so you can participate in the discussion.

I. Like most multi-host audio podcast's, HPR uses Mumble to record shows, including the annual New Year's Eve show, which has dozens of participants. There is a Mumble tutorial on LinuxLUGCast.com to help you get started.

II. I started to take part in Hacker Public Radio's Community News a few months after recording my first podcast. I did it because I wanted to take a greater part in HPR, not because I considered it an audition, but it is a good way to show other people that you can politely and intelligently participate in a group discussion. (Actually, I have a tendency to wander off into tangents and unintentionally dominate the topic, something I struggle with to this day).

III. Another way to join in a round table discussion on HPR is to participate in the HPR Book Club. Once a month, we take an audio book that is freely available on the Internet and share our opinions. Recording schedules and the next book to be reviewed are available in the HPR newsletter.

G. I believe sharing one or more Community News with Patrick Dailey (aka pokey) influenced him to invite me into the cast of Dev Random. The semi weekly Dev Random recorded of the Saturdays Kernel Panic didn't. While we sometimes accidentally talked about tech and open source, we always saved the most disturbing things we'd seen on the Internet in the previous two weeks for discussion on the show, things that could not be discussed on other podcasts. Despite rumors to the contrary, dev random is not dead, only resting, and shall one day rise again to shock and disgust new generations of listeners.

H. Sometimes you just have to be in the right place at the right time. I won't insult the Kernel Panic Oggcast by calling it a sister show to Dev Random, it just recorded on opposite Saturdays and had some of the same cast members in common. Anyway, I'd been participating in the forum for a while, suggesting topics from FOSS stories I'd come across in social media during the week. I was idling in #oggcastplanet on Freenode when Peter Cross asked for people from the channel to participate in the show on a day only a couple of the regular cast showed up. Dev Random used the same Mumble server, so I used my existing credentials to take Peter up on his offer, and for better or worse I've been a KPO cast member ever since.

I. While we are on the topic, having a presence on Freenode IRC chat is a great way to get your name or handle known in the podcasting world. Many podcasts have their own channel set up that listeners participate in during live streaming podcasts. Saying something helpful, (or more likely smart alecky) might get you mentioned on the show and make you familiar to the shows audience. I've seen several individuals move from regular forum or chat participants to the hosts of their own show or contributors to HPR. From my own experience, after spending several weeks as silent participants in Podbrewers, listening to the stream and commenting in the chat, RedDwarf and myself were invited to bring our own beers and join the cast.

I. While many podcasts still have their own IRC channels, other than providing a conduit between the hosts, they are most active during live broadcasts. Between shows, many of the podcasters I listen to gravitate to hanging around in Freenode's #oggcastplanet , since podcasters typically have a chat client open during work and leisure hours. In fact, at KPO we use #oggcastplanet as our primary communications channel during live streaming.

II. I still recall the day monsterb and Peter64 asked me about the origin of my handle, given it's similarity to their colleague, threethirty. I'd heard both on podcasts I followed, and I felt like I was talking to rock stars.

III. Now that I am a podcaster in my own right, with a presence in #oggcastplanet, I try to make a point to say hello when I see an unfamiliar handle in the channel. I expect the spambots consider me the nicest guy in IRC.

IV. As it happens, IRC was also responsible for my involvement in the Linux LUG Cast. LLC was conceived after the re-imaginging and final demise of Steve McLaughlin's project, "Linux Basix". Kevin Wisher, chattr, and honkeymaggo wanted to do a show along the same lines while incorporating the spirit of the unrecorded online LUG that always preceded it on the mumble server. I was brought along by the simple expediency of never having closed the #LinuxBasix channel in my chat client. We have been going for a little more than a year and have attracted a following, but frankly we have not found the listener participation we were looking for. This was meant to be a true online Linux Users Group for people couldn't travel to a LUG. So far, it's usually been the same four of five guys talking about what Linux projects succeed, what failed, and what we we're going to try next. I've learned a lot in the past year, and I expect the listeners have as well, but we are always hoping to get more live participation. Rural areas like the midwest are our target audience. The details of the Mumble connection are posted at LinuxLUGCast.com, we always monitor the Freenode.org IRC channel #linuxlugcast while recording, and the Feedback link is posted on the website.

Thank you for your time and attention this afternoon, especially considering the caliber of talks running in the other two channels. I can be contacted at FiftyOneFifty@LinuxBasement.com . Are there any questions?


Mailing List Etiquette - Dave Morriss | 2015-04-03

Mailing List Etiquette

Overview

In February 2015 I created a script to add a section to the monthly Community News show notes. The added section summarises the discussions on the HPR mailing list over the previous month. My script processes the messages archived on the Gmane site and reports on the threads it finds there.

In writing this script I noticed the number of times people made errors in replying to existing message threads and initiating new threads on the list. I thought it might be helpful if I explained some of the do's and don'ts of mailing list use to help avoid these errors.

Full Notes

Since the notes explaining this subject are long (the size limit is 4000 characters), they have been placed here: http://hackerpublicradio.org/eps/hpr1740_full_shownotes.html

Experimental EPUB Notes

For this show I have tried generating an EPUB version of the full notes. This can be found here: http://hackerpublicradio.org/eps/hpr1740_full_shownotes.epub. Comments on this idea are welcome.

  1. Gmane archive of the Hacker Public Radio mailing list: http://dir.gmane.org/gmane.network.syndication.podcast.hacker-public-radio
  2. Wikipedia article on message groupings referred to as conversations, topic threads, or threads: http://en.wikipedia.org/wiki/Conversation_threading
  3. A brief note on how to punctuate the phrase "do's and don'ts": http://www.visualthesaurus.com/cm/wc/dos-and-donts-or-dos-and-donts/
  4. Wikipedia article on Usenet: http://en.wikipedia.org/wiki/Usenet
  5. Thunderbird add-on ThreadVis: https://addons.mozilla.org/en-US/thunderbird/addon/threadvis/
  6. Wikipedia article on the RFC document: http://en.wikipedia.org/wiki/Request_for_Comments
  7. Text of RFC5322: http://www.rfc-editor.org/rfc/rfc5322.txt
  8. Wikipedia article on Email: http://en.wikipedia.org/wiki/Email
  9. Wikipedia article on MIME used in email: http://en.wikipedia.org/wiki/MIME
  10. Description of a threading algorithm from Jamie Zawinski: http://www.jwz.org/doc/threading.html
  11. Text of RFC1153: http://www.faqs.org/rfcs/rfc1153.html
  12. Wikipedia article on posting style: http://en.wikipedia.org/wiki/Posting_style
  13. A recent large thread on the Mailman-Users mailing list discussing the subject of replying to lists: http://www.mail-archive.com/mailman-users%40python.org/msg66089.html

How I run my small business using Linux - b-yeezi | 2015-03-30

Hardware

  • System76 Galago Ultrapro - Ubuntu 14.04
  • Synology DiskStation DS213j
  • LG G2

Proprietary Applications

  • Synology Cloud Station
  • Wireframe Sketcher

Free Applications

  • pandoc
  • discount -firefox
  • chromium
  • gvim
  • libreoffice
  • planner
  • hamster
  • todo.txt
  • gnucash
  • virtualbox
  • thunderbird
    • enigmail
    • stationary
  • california
  • ranger
  • L2TP/IPSEC vpn client
  • meld
  • deja-dup -> Box
  • Systemback
  • rsync

Links


LinuxLugCast Episode-003 Outtakes - Kevin Wisher | 2015-03-25

Some good content that we do not publish.

http://linuxlugcast.com/?p=162


Renovating another Public-Domain Counterpoint Textbook - Jon Kulp | 2015-03-24

I mistakenly referred to episode 1516 while I was speaking. I meant to say 1512. The two musical bumpers I used in the show are by J.S. Bach, examples 90 and 91 in the textbook "Applied Counterpoint," by Percy Goetschius. These are my own MIDI renditions so they have no copyright burden upon them.

My html-to-epub conversion command (requires calibre):

ebook-convert foobar.html foobar.epub \
--output-profile=tablet \
--disable-font-rescaling \
--smarten-punctuation \
--change-justification=left \
--preserve-cover-aspect-ratio \
--cover=./pathto/cover.jpg \
--use-auto-toc \
--level1-toc "//h:h1" \
--level2-toc "//h:h3"

Links


Upgrading an old laptop - swift110 | 2015-03-23

In July of 2010 I was given a laptop to repair by one of my friends, I couldn’t figure out what was wrong with it despite hours of trial and error so eventually I got so frustrated with it that I just set it aside and forgot about for a while. Meanwhile my friend got another laptop so he told me I could keep it.

For the rest of the post see:
https://anthonyvenable110.wordpress.com/2011/10/10/upgrading-my-laptop/


Shield's Up - Wood Stove Heat Shield Project - David Whitman | 2015-03-19

The Problem: Wood stoves get really hot
The solution: metal heat shield and airspace
I describe how I used common materials and self designed a wood stove heat Shield.
Hopefully there are pictures attached to this episode show notes so you can see just how well I described my project

http://hackerpublicradio.org/eps/hpr1729-Pictures_Shield_Up-Wood_Stove_Heat_Shield.pdf


Basic Mutt - Frank Bell | 2015-03-17

Using a text email client such as Mutt is quite a learning experience. Here is some information to help you get started.
The programs that Frank used to set up Mutt:
Getting and Sorting Mail:
Fetchmail http://sourceforge.net/projects/fetchmail/
Procmail and Formail http://www.procmail.org/
Reading and Composing Mail: Mutt http://www.mutt.org/
Sending Mail: msmtp http://msmtp.sourceforge.net/
These are the references that Frank found most helpful:
Configuring Mutt:
Quickstart Guide to Mutt: http://docs.huihoo.com/gentoo/resources/document-listing/guide-to-mutt.html
Calmar on Mutt: http://www.calmar.ws/mutt/
Feeding the Cloud: Handling multiple identities/accounts in mutt: http://feeding.cloud.geek.nz/posts/handling-multiple-identitiesaccounts-in/
Procmail (the UMBC link is a great introduction to procmail and procmail's regex):
Mail Filtering with Procmail: http://userpages.umbc.edu/~ian/procmail.html#example
http://www.linux-mag.com/id/826/
Some Text Browsers (for help in parsing HTML emails)
Lynx http://lynx.isc.org/
Links http://www.jikos.cz/~mikulas/links/
elinks http://elinks.or.cz/
w3m http://w3m.sourceforge.net/

15 Excuses not to Record a show for HPR - knightwise | 2015-03-16

Inspired by a recent meeting with Ken Fallon at Fossdem, Knightwise presents 15 excuses not to record for Hacker Public Radio.

  1. I don't have the right Gear
  2. It doesn't sound so polished
  3. I don't know how to upload
  4. I don't have a radio voice
  5. I don't have the time
  6. I'm shy
  7. I don't have anything to say
  8. The stuff I know about is realy niche and noone will be interested
  9. What if I get negative comments
  10. Who would listen to my show anyway
  11. I've never done this before
  12. I'll get around to it someday
  13. I recorded a show but I'm too afraid to submit it
  14. It takes me a long time to edit out the "um" and "er"
  15. I don't know enough about audio editing yet

Success With Students - Kevie | 2015-03-11

For his second attempt at a solo episode of HPR, Kevie talks about a very positive experience he had introducing school pupils to podcasting. From this he was able to discuss the benefits of Creative Commons music and using open source, cross platform software. The ultimate success came when three students took the plunge and installed Linux on their own computers.

Music included in this episode:


Kansas Linux Fest 2015, March 21-22, Lawrence KS - FiftyOneFifty | 2015-03-10

We are pleased to announce the first annual Kansas Linux Fest (http://KansasLinuxFest.us), hashtag #KLF15. It will be hosted by the Lawrence Public Library, Lawrence Kansas, March 21-22, 2015. The Kansas Linux Fest is a project of the Free/Libre Open Source and Open Knowledge Association of Kansas (http://www.openkansas.us) and other organizations.

Special recognition needs to be paid to Hacker Public Radio contributor James Michael DuPont for taking point in making a community event in the central United States a reality. Speakers (http://www.kansaslinuxfest.us/pages/schedule.html ) include Open Source Advocate Dave Lester, Hal Gottfried, cofounder of the Open Hardware Evangelist Kansas City Open Hardware Group, David Stokes, MySQL Community Manager at Oracle, Ben C. Roose, Technology Consultant for Live Performance, Kevin Lane, Technical Consultant IV at HP Enterprise Services, Jonathan George, CEO @boxcar, and podcaster and open source evangelist, FiftyOneFifty.

Registration for conference tickets can be found on the KLF website. Fan tickets are free, but supporter level tickets may be purchased with a free will donation which will go towards marketing and food.

You will find links on the http://KansasLinuxFest.us homepage that will allow you to follow the conference on social and other media, as well as an RSS feed. There is also information on how to become involved with Free/Libre Open Source and Open Knowledge Association of Kansas.


Cross-compilers Part 2 - Mike Ray | 2015-03-09

In part 1 I described cross-compiling, what it means and why you might want to, or even need to use it.

I also described how to create a cross-compiler tool-chain using crosstool-ng.

In this show I will demonstrate using one of the cross-compilers which I created as described in the last show to compile a Raspberry Pi Linux kernel.

As usual with my shows the show-notes can't be squashed into 4k, so there is an HTML version at:


The Linux Tree Command - JWP | 2015-03-05

tree - list contents of directories in a tree-like format.

Synopsis

tree [-adfghilnopqrstuvxACDFNS] [-L level [-R]] [-H baseHREF] [-T title] [-o filename] [--nolinks] [-P pattern] [-I pattern] [--inodes] [--device] [--noreport] [--dirsfirst] [--version] [--help] [--filelimit #] [directory ...]

Description

Tree is a recursive directory listing program that produces a depth indented listing of files. Color is supported ala dircolors if the LS_COLORS environment variable is set, output is to a tty, and the -C flag is used. With no arguments, tree lists the files in the current directory. When directory arguments are given, tree lists all the files and/or directories found in the given directories each in turn. Upon completion of listing all files/directories found, tree returns the total number of files and/or directories listed.

By default, when a symbolic link is encountered, the path that the symbolic link refers to is printed after the name of the link in the format:

name -> real-path

If the '-l' option is given and the symbolic link refers to an actual directory, then tree will follow the path of the symbolic link as if it were a real directory.

http://linux.die.net/man/1/tree


Visualizing electricity - tcuc | 2015-03-03

Current

  • Amps (what it's measured in)
  • amount of water. (what i compare it to)

Volts

  • voltage (what its measured in)
  • pressure (what i compare it to)

Resistor

  • Ohms (what it's measured in)
  • valve (what i compare it to)

Problems with video software in Linux - swift110 | 2015-02-23

Cheese:
Guvcviewer:


Hacking Your Teeth - MrX | 2015-02-19

This podcast details my experiences with dentists along with a smattering of free advice.

Link to the commonly known sunscreen song http://en.wikipedia.org/wiki/Wear_Sunscreen

Wikipedia article about gum disease http://en.wikipedia.org/wiki/Periodontitis

Wikipedia page on Interdental tooth brushes http://en.wikipedia.org/wiki/Toothbrush#Interdental_brush

Teeth with gum disease, notice that the gum doesn't form a sharp point between the teeth http://www.kmperio.co.uk/editor/assets/049B193B-857E-4FE7-BAC6-48F695DEFCBE.JPG

Healthy gums, gum forms a sharp point between teeth. http://www.wisdomtoothbrushes.com/sites/default/files/styles/475_width/public/wisdom-oral-health-healthy-gums.jpg?itok=-KhFJ6Pb


GNU/Nano Editor - JWP | 2015-02-18

JWP Editor GNU/Nano
                :::                         The                   
  iLE88Dj.  :jD88888Dj:                                           
.LGitE888D.f8GjjjL8888E;        .d8888b.  888b    888 888     888 
iE   :8888Et.     .G8888.      d88P  Y88b 8888b   888 888     888 
;i    E888,        ,8888,      888    888 88888b  888 888     888 
      D888,        :8888:      888        888Y88b 888 888     888 
      D888,        :8888:      888  88888 888 Y88b888 888     888 
      D888,        :8888:      888    888 888  Y88888 888     888 
      D888,        :8888:      Y88b  d88P 888   Y8888 Y88b. .d88P 
      888W,        :8888:       "Y8888P88 888    Y888  "Y88888P"  
      W88W,        :8888:                                         
      W88W:        :8888:      88888b.   8888b.  88888b.   .d88b. 
      DGGD:        :8888:      888 "88b     "88b 888 "88b d88""88b
                  :8888:      888  888 .d888888 888  888 888  888
                  :W888:      888  888 888  888 888  888 Y88..88P
                  :8888:      888  888 "Y888888 888  888  "Y88P" 
                    E888i                                         
                    tW88D             Text Editor       

Website: http://www.nano-editor.org/

nano is a text editor for Unix-like computing systems or operating environments using a command line interface. It emulates the Pico text editor, part of the Pine email client, and also provides additional functionality. In contrast to Pico, nano is licensed under the GNU General Public License (GPL). Released as free software by Chris Allegretta in 1999, today nano is part of the GNU Project.

A tour round my desktop - Beeza | 2015-02-17


Cross-compilers part 1 - Mike Ray | 2015-02-16

Cross-compilers, Part 1

In this show I'll introduce the concept of cross-compiling software, explain what it is and why you might want/need to do it.

I'll also talk about a great piece of kit for creating cross-compiler tool-chains on Linux; crosstool-ng.

As with most of my shows, the show notes are far too long to fit into the restricted size, so there's an HTML version as well, at:

http://hackerpublicradio.org/eps/hpr1706/index.html

Here are some bullet-points:

  • cross-compilers, why and what?
  • crosstool-ng
  • Cross-compiler tool-chain generation gotchas
  • Raspberry Pi cross-compiling tool-chain generation with crosstool-ng
  • Compiling a kernel on a Pi takes 15 hours
  • On my not-so-screaming quad-core Debian machine it takes 15 minutes

Links:

There are a few files for this show, the ct-ng .config files downloaded from Arch Linux ARM and a README.md about them. The original markdown source of the full show notes is in the tarball as well http://hackerpublicradio.org/eps/hpr1706/282-Mike_Ray-hpr1706-Cross-compilers_Part_1.tar.gz.


Introducing Jeffrey Powers aka Geekazine - daw | 2015-02-12

I was asked to do a followup to my Introduction to the Netizen Empowerment Federation. Specifically, I was asked to talk a bit more about the goals of Sportazine.com and how it fits into free culture. I thought the best way to do that was to introduce my Sportazine.com co-founder, Jeffrey Powers.

A May 2011 estimate puts the sports industry at 350-450 billion ($480-$620 billion) http://www.atkearney.com/en_GB/paper/-/asset_publisher/dVxv4Hz2h8bS/content/the-sports-market/10192 -- it is inarguably foolish to ignore it. I don't think you are going to convince anyone to change their ways by shouting at them, or quietly being condescending.

Listen to find out Jeff's answers!

How has Sportazine changed from your initial vision when we created it almost 5 years ago?

What is JMP?

We're recording on Jan 16. What's the tech history bit people should check out on your site for today?

Do you do interviews for any of your sites?

How do you vet interviewees?

What is the best way for someone to get in touch with you if they'd like to be an interviewee?

Where are you speaking to you today from Jeff?

What are your favorite sports to watch or play?

How far do you think the Packers will go this year? We're recording on Jan 16, but there aren't open slots on HPR for a while, so people may get to see if you are right.

Professional video game players get athletic visas in the US, and are covered by ESPN (http://kotaku.com/some-sports-fans-upset-espn-is-airing-video-game-tourna-1608298005) so I suppose we might as well. How much do you cover video games on your various sites?

What is the name of your band, and where can people find the band?

Is there anything else you would like to tell the listeners?


Open Source CD Rippers - Kevie | 2015-02-11

For a first attempt at flying solo for an episode of HPR, Kevie takes a look at a variety of open source CD ripping software. Looking at graphical applications https://wiki.gnome.org/Apps/SoundJuicer: Sound Juicer and http://littlesvr.ca/asunder/: Asunder along with the command line tools http://bashburn.dose.se/: Bashburn and http://bach.dynet.com/crip/: Crip. Along with considering if it is worth having a dedicated ripping tool when a fully fledged audio suite https://wiki.gnome.org/Apps/Rhythmbox/: Rhythmbox and http://www.videolan.org/vlc/: VLC will also allow ripping.

Regular listeners to the http://unseenstudio.co.uk/category/tuxjam-ogg/: TuxJam podcast will know that Kevie is a big fan of creative commons music and this episode is no different with the tracks by http://20lb.net/: 20lb Sounds and http://bridgesplosion.bandcamp.com/: Blowing Up Bridges.

Music included in this episode:


Today with a Techie episode two thousand - Ken Fallon | 2015-02-06

Hacker Public Radio (HPR) is an Internet Radio show (podcast) that releases shows every weekday Monday through Friday. HPR has a long lineage going back to Radio FreeK America, Binary Revolution Radio & Infonomicon, and it is a direct continuation of Twatech radio. Please listen to StankDawg's "Introduction to HPR" for more information.

Knowing how much I hate editing, I hope everyone can get a sense for how much I appreciate all the people who took the time to contribute to the project.

If you haven't contributed a show yet, well today is a perfect day to get involved. Just click our contribute link: http://hackerpublicradio.org/contribute.php


My APOD downloader - Dave Morriss | 2015-01-29

My APOD Downloader

Astronomy Picture of the Day

You have probably heard of the Astronomy Picture of the Day (APOD) site. It has existed since 1995, is provided by NASA and Michigan Technological University (MTU) and is created and managed by Robert Nemiroff and Jerry Bonnell. The FAQ on the site says "The APOD archive contains the largest collection of annotated astronomical images on the internet".

The Downloader

Being a KDE user I quite like a moderate amount of bling, and I particularly like to have a picture on my desktop. I like to rotate my wallpaper pictures every so often, so I want to have a collection of images. To this end I download the APOD on my server every day and make the images available through an NFS-mounted volume.

In 2012 I wrote a Perl script to perform the download, using a fairly primitive HTML parsing method. This script has been improved over the intervening years and now uses the Perl module HTML::TreeBuilder which I believe is much better at parsing HTML.

The version of the script I use myself also includes the Perl module Image::Magick which interfaces to the awesome ImageMagick image manipulation software suite. I use this to annotate the downloaded image with the title parsed from the HTML so I know what it is.

The script I am presenting here is called collect_apod_simple and does not use ImageMagick. I chose to omit it because the installation of this suite and the related Perl module can be difficult. Also, I do not feel that the annotation always works as well as it could, and I have not yet found the time to correct this shortcoming.

A version of the more advanced script (called collect_apod) is available in the same place as collect_apod_simple should you wish to give it a try. Both scripts are available on Gitorious under the link https://gitorious.org/hprmisc/hprmisc.

The Code

The script itself is described in the full show notes, available here: http://hackerpublicradio.org/eps/hpr1694_full_shownotes.html


DD fun - Cibola Jerry | 2015-01-28

Storing info outside the file system with the DD command.


Some useful tools when compiling software - Rho`n | 2015-01-21

introduction

Hi this is Rho`n and welcome to my first submission to Hacker Public Radio. I have been working on an application using the Python programming language with the Enlightenment Foundation Libraries (EFL) libraries for the GUI interface. After acquiring a new laptop and installing a fresh copy of Ubuntu on it, I decided to set up the build environment I needed to be able to work on my project. I have been building from source the EFL libraries along with the Python-EFL wrapper libraries. For the last couple machines on which I have built the software, I would use the standard configure, make, and make install procedure. This time around I decided to create a debian package to use for installing the libraries. It had been a few years since I had created a .deb, so I googled for some tutorials, and found mention of the checkinstall program. After reading a couple blog posts about it I decided to try it out. checkinstall is run instead of "make install" , and will create a .deb file, and then install the newly created package.

cut and tr commands

To help speed up the configure process, I had previously created a file from my other builds that is a grep of my history for all the various "apt get install" commands of the libraries the EFL software needs to compile. Since my current operating system was a freshly installed distribution of Ubuntu, I needed to install the build-essential package first. After looking through my install file, and I decided to create a single apt-get install line with all the packages listed, instead of running each of the installs seperately. I knew I could grep the file, and then pass that to awk or sed, but my skill with either isn't that great. I did a little searching to see what other tools were out there and found the cut command and the tr command. Cut lets you print part of a line. You can extract set a field delimeter with the -d option and then list a range of fields to be printed with the -f option. The tr command can replace a character. I used this to replace the new line character that was printed by the cut command to generate a single line of packages which I piped to a file. A quick edit of the file to add "sudo apt-get install" at the beginning, add execute permissions to the file, and now I have a nice, easy way to install all the needed libraries.

apt-file and checkinstall

At least that was the idea. After installing the libraries, and running configure, I still received errors that libraries were missing. The machines from which my list of libraries was generated, had all been used for various development purposes, so some needed libraries were already installed on them, and so their installation had passed out of my history. Besides echoing to standard out the file configure can't find, it also creates a log file: config.log. Between the two it is relatively easy to figure out what library is needed. Often the libraries needed included their name in the .deb which has to be installed, and finding them is easy with an apt-cache search and grep of the library name. The hardest ones to find were often the X11 based references. In this case, I needed the scrnsaver.h header file. After googling, I found a reference to the needed package (libxss-dev) on Stack Exchange. The answer also showed how to use the apt-file command to determine in which package a file is included. I wish I had run into this before, there a few times where it took a number of searches on the internet to figure out which package I needed to install, and "apt-file find" would have saved time and frustration. A very handy tool for anyone developing on a debian based distribution. As it turns out, that was the last dependency that needed resolved. After a successful configure, and successful compile using the make command, I was ready to try out checkinstall. Running sudo checkinstall, brings up a series of questions about your package, helping you fill out the needed .deb meta-data. I filled out my name and email, name for the package, short description of the package, and let everything else go to the suggested defaults. After, that hit enter and checkinstall will create a debian package and install it for you. If you run "apt-cache search <name of package>" you will see it listed, and "apt-cache show <name of package>" will give you the details you created for the package. There are warnings on the Ubuntu wiki not to use this method for packages to be included in an archive or in a ppa. It does work great for a local install, and would use it to install on machines on my local network.

conclusion

After a short side trip into development setup, I'm back writing my application on my new laptop. While I am a big fan of binary packages, Debian being the first GNU/Linux distribution I ever used, sometimes you need to dive in and compile software from source. For me running configure, make, make install has been the easiest way to do this, and these days it usually isn't too difficult to get even moderately complex applications and libraries to build. The most tedious part can be resolving all the dependencies. Now, with apt-file in my tool belt, it will be even faster and easier. I will also be using checkinstall for future compiles. I do like being able to use package management tools to install, and un-install software.

I hope others find these tools useful. I have posted links in the show notes to the pages about cut, tr, apt-file and checkinstall that led me to these tools. If you've made it this far, thanks for listening to my first post to HPR. As Ken Fallon points out, it's not an HPR episode until you have uploaded it to the server. So let those episode ideas flow from your brain, into your favorite recording device, and up to the HPR server. Let's keep HPR active, vibrant, and a part of our lives for years to come.


Introduction to the Netizen Empowerment Federation - daw | 2015-01-13

This is my first HPR release and I'm going to keep it short. If anyone is intertested in hearing more about any of the projects I mention here, I'm happy to do another show.

First, I just want to say that everything on Netizen Empowerment Federation (NEF) is released under a free culture license, though not all of the music selected by our presenters is free culture. Right now we are blog and podcast focused, but we would like to add digital creators of all types.

  • http://opensourceplayground.org/ I'm doing these sites in the order they were created, though I'm not sure if OSP or Sportazine was created first. Since OSP is the most closely related to HPR, I'm going to start with that. OSP started as a shared hosting gift for new developers. The idea was I could make people accounts on Dreamhost and they could test the latest free software. Since it wasn't a business, I didn't really promote it. It never took off. I had a few people in Wisconsin make accounts, but they barely used them. It's not really important why that idea failed, but eventually it just became a place for me to talk tech. lnxw48 aka lnxwalt is our current systems administrator and occasionally writes pieces for the site. Like all of our sites, we are always looking for contributors!
  • http://sportazine.com/ As far as I'm aware, Sportazine is the only site dedicated to sports and free culture. This means a lot of things. First it means, making sure online sports viewing works in free formats. It also means that there are free software fantasy sports implementations and that sports journalism happens under free culture licenses. Sportazine is a weird beast because we partnered with JMP Enterprise.
  • http://www.musicmanumit.com/ This is a collection of shows about remixable music. The main show features me and Tom of the band Lorenzo's Music. You can find his band on Jamendo, Spotify, Free Music Archive, and I'm sure plenty of other places.
  • http://law.musicmanumit.com/ The Lawcast is on hiatus and when it comes back will likely be less law focused and more just a catchall for more academic and policy-related stuff than we do on the main show. I'll probably talk a lot more about free software on the reboot, because it's not a topic Tom really cares much about. Tom is a GNU/Linux user, but he refuses to use anything but Skype or Hangout for recording the shows. I'll probably have on musicians that we wouldn't otherwise have on and thus a topic of conversation on those shows will be "Why won't you use Skype or Hangout?" I suspect most of the reasons will be free software focused, but they may also be privacy focused (not that they are unrelated).

  • http://punk.musicmanumit.com The punkcast is pretty much what it sounds like it is. Eventually I want to bring it back. Right now though, I need to focus on finding funding, because if I don't, my wife is going to kick me out. I hope this is resolved by the time you hear this. I'm recording on December 19.
  • https://cyberunions.org/ I think Cyberunions.org may have started before any of these, but I put it here due to the start of the Cyberunions podcast, which is currently on hiatus. Stephen now works for the FSF, so you know free software is important to him. I'm not going to say much about the show, because aside from being a one-time guest, I'm not involved in the project. If people want to know more about Cyberunions, I suggest you pester Stephen (aka mv) about doing a show.
  • http://rynothebearded.com/ RTB really refers to two music shows, one called OO (pronounced "oh-oh") and one called Unformatted. The site also has a stream that carriers a variety of shows, including Cerebral Mix, Rage and Frustration, and the last NEF show I am going to discuss.

New Year Show Part 8 of 8 - HPR Volunteers | 2015-01-12

2015-01-01T08:00:00Z
Mumble-2015-01-01-00-04-59-ch1.teamspeak.cc-Mixdown.ogg
  • Greetings to the western region of the United States, some regions of Canada and 2 more: Los Angeles, San Francisco, Las Vegas, Seattle.
  • pants.... really this is intelligent conversation
  • Pants are optional, I think. It's -20C.... pants are not optional
  • kilts are kreepy? or not. No they are not.
  • cobra2 thinks that ken should pay attention to show notes for editing lol. 
  • pokey thinks this may be the show that finally convinces Ken to edit.
  • 2nd there is a good hour that should not go onto the feed. it was rough on the stream
  • YAY TMI!!!
  • This is not the creamy part of the oreo. :(
  •  this is the creamy salty part... of the oreo. 
  • Sliders - tvshow added late by pegwole
  • dogs giving birth sounds better than singing over mumble



2015-01-01T09:00:00Z

  • Greetings to Alaska and French Polynesia: Anchorage, Fairbanks, Unalaska, Juneau.
  • pokey  issues a challenge to the NYE participants: Judging by the show notes, we've spent the last 6 hours taking every joke to the lowest common denominator. I'd like to see an hour of greatest common factor.
  • Ken Talks about xmlstarlet and converting xml

2015-01-01T09:30:00Z

  • Greetings to Marquesas Islands/France. Taiohae.


  • handsome_pirate talks about his model trains; he models the original Norfolk Southern in N scale
  • Some talks about about Scottish things, innacuracies in Braveheart, Gaidhligh has no 'W'

2015-01-01T10:00:00Z

  • Greetings to small region of the United States and 2 more: Honolulu, Rarotonga, Adak, Papeete.
  • Youngins!
  • Kens Children talk about taking hard disks apart and put together an Ikea bookshelf.
  • Discussion on accessability in mumble Emil Ivov, the project lead of Jitsi. http://hackerpublicradio.org/eps.php?id=1454 Jits



2015-01-01T11:00:00Z

  • Greetings to American Samoa, Midway Atoll and 1 more: Alofi, Midway, Pago Pago.
  • Use of federated tools like gnusocial quitter.se 
  • Tech in Hungary - Internet tax
  • Irish expats can't vote
  • Scottish independance
  • http://duffercast.org/about/the-hosts/
  • Ken shares his saga on getting a Linux Laptop
  • UK Support say "Lenovo UK does not restrict anything on the unit. You can install any  Operating system on the unit however we can only support the original  configuration of the unit. "
  • Ken Asked "Lenovo have shipped the IdeaPad Flex 10, without the ability to boot other operating systems, restricting the owner to running only the installed Windows 8.0 operating system."
  • Lenovo Replies: "The first wave of this CPU model from Intel can only support Windows, this is not Lenovo design, all product with this wave CPU were not able to support other OS except Windows. After this wave, the follow on Flex10 will support other operating systems."
  • Open phones. http://en.wikipedia.org/wiki/List_of_open-source_mobile_phones

2015-01-01T12:00:00Z

Auld Lang Syne

Should auld acquaintance be forgot, 
And never brought to mind? 
Should auld acquaintance be forgot, 
And days o’ lang syne!

Chorus:
For auld lang syne, my dear 
For auld lang syne, 
We’ll tak a cup o’ kindness yet 
For auld lang syne!               
We twa hae run about the braes, 
And pu’d the gowans fine, 
But we’ve wander’d mony a weary foot 
Sin’ auld lang syne.
             
We twa hae paidl’t in the burn 
Frae morning sun till dine, 
But seas between us braid hae roar’d 
Sin’ auld lang syne.
             
And there’s a hand, my trusty fiere, 
And gie’s a hand o’ thine, 
And we’ll tak a right guid willie-waught 
For auld lang syne!
             
And surely ye’ll be your pint’ stoup, 
And surely I’ll be mine! 
And we’ll tak a cup o’ kindness yet 
For auld lang syne!

Count down script
$ while [[ $(date +%Y) -ne 2015 ]];do figlet $(($(date -d 2015-01-01  +%s)-$(date +%s)));sleep 1;clear;done;figlet 'Happy New Year!'

Thanks To:
Mumble Server: John Neusteter
HPR Site/VPS: Joshua Knapp - AnHonestHost.com
Streams: Kevin Wisher - http://www.linuxlugcast.com
Admin Support: cobra2    
EtherPad: Russ Woodman - K5TUX

Peak Listeners on stream: 45
Mumble Participants: 74
Arjun.ext
b
bambiker
Beeza
Bill_MI
Broam
chalkahlom
claudiom
cobra2
cogs
Colin
danns
Danyel_Tiger
davidWHITMAN
deltaray
delwin
DrSeussOfPorn
dude-man
Epicanis
fatherfinch
FiftyOneFifty
FlyingRichHCSC
fredmorcos
FXBOY4EVA
HarryGuerrilla
honkeymagoo
hpirate
jkib
jnadeau
jneusteter
JoeRess
JonDoeLocksmith
Jon-KT4KB
JonTheNiceGuy
K5TUX
ken_fallon
Knightwise
kt4kb_
KWisher
lgx
linuxinsider
Lord_D
MarkWaters
mcnalu
MikeRay
Mint-Jack
mpbaird
MrGadgets
mrx
n0wje
neurosis
notklaatu
perlist
pokey
popey
riddlebox
RobH
SamWhited
schism
sebsebsebMageia4
Seetee
Shadow
SndChaser
Tally
Thaj
thelastknowngod
ThistleWeb
threethirty
tjwehrley
Underruner
Urugami
useruser
Velkro

Podcasts:


http://www.jupiterbroadcasting.com/show/techsnap/ (TechSNAPP - sysadmin techy stuff)
http://www.jupiterbroadcasting.com/show/unfilter/ (political media coverage)
http://www.dancarlin.com/common-sense-home-landing-page/ (politicial media)
http://www.dancarlin.com/home-hh-54/ (hardcore history, for history buffs)
http://podcasts.joerogan.net/ Joe Rogan interviews all types of people
http://www.linuxlugcast.com
http://duffercast.org/about/the-hosts/
http://www.todayifoundout.com/index.php/category/podcast/

http://hackerpublicradio.org/eps/hpr1681_mumble.log
http://hackerpublicradio.org/eps/hpr1681_irc.log

New Year Show Part 7 of 8 - HPR Volunteers | 2015-01-09

2015-01-01T05:00:00Z

  • Greetings to the eastern region of the United States,regions of Canada and 12 more: New York, Boston, Rochester NY, Rochester NH, Millinocket, Maryland, Washington DC, Detroit, Havana, Atlanta.
  • fireworks and meth labs go up in celebration of the new year. Pgggy went to watch...
  • and we are really not family friendly now
  • Kerbal Space Platform is a game. People like it.
  • notKlaatu didn't get busted transproting lockpick tools from the US to New Zealand
  • OpenSource HTML5 IRC client: https://kiwiirc.com/
  • Gnu Social servers: http://quitter.se and http://micro.fragdev.com/



2015-01-01T06:00:00Z

  • Greetings to the midwest region of the United States, some regions of Canada and 8 more  Mexico City, Chicago, Guatemala, Dallas.
  • Hillbilly Tracking of Low Earth Orbit [30c3]
  • https://www.youtube.com/watch?v=ktnQ7nBCuqU
  • Etherpad is the BOMB!
  • arrrr
  • No more possum drops in Brasstown, NC
  • fecal matter.... lots of it.... don't listen to this hour...
  • Threethirty's S2 has epic audio over 3G
  • Summer/Winter breaks
  • What we did when we were kids.
  • Best memories of 2014
  • 5150 fire
  • NSFW..... NSFAA
  • NSFBWA
  • well cobra2 attempted to reign in the chaos.... bah... this is pointless. 
  • ehhh, warn them I hate being the judgemental type.
  • I'm not logged in as an admin. else I'd do it myself
  • pokey considers banishing people to the competitive drinking room...
  • if you can't beat em... join em? That was reeling it in.Might bring it  to stories
  • HPR NYE goes off the rails for a bit, and Cobra2 dropps the gentile hammer.
  • then we find out just how drunk 50 is.....

2015-01-01T07:00:00Z

  • Greetings to the mountain region of the United States, some regions of Canada and 1 more: Calgary, Denver, Edmonton, Phoenix.
  • cobra2 injests first cup of coffee that is needed to stay awake
  • Weak
  • This hour is NSFW too.
  • More Copyright discussion.
  • finally coffee.......
  • Coffee in New Zealand is pretty darn good ~ Klaatu
  • OMG there was an alien in the Navy. robot.
  • and someone prods the bear


New Year Show Part 6 of 8 - HPR Volunteers | 2015-01-08

2015-01-01T03:00:00Z

  • Greetings to regions of Brazil, Argentina and 7 more: Buenos Aires, Santiago, Asuncion, Paramaribo.
  • SoundChaser doesn't sound pasty white. 
  • Genetically modified discusion continues (not as good the second time)
  • Genetically modified discusion continues (time to fast forward)

2015-01-01T03:30:00Z

  • Greetings to Newfoundland and Labrador/Canada  St. John's, Conception Bay South, Corner Brook,Gander.
  • Systemd discussion about server logs
  • we still don't understand why they do time on a 30 min break.... come on people just use UTC
  • UTC FTW
  • Watch chat
  • Drink-o-meter chat this is a fabulous idea, 50 should do it. 
  • guns and good chinchillas



2015-01-01T04:00:00Z

  • Greetings to Atlantic Canada and cobra2 and 26 more: Saint John, La Paz, San Juan, Santo Domingo, Halifax.
  • guns... again pokey talks about how he rebuilt an air gun to something special that ended in epic fail (bent barrel)
  • Pokey has a Bad Barrel
  • pokey has a new job!!!
  • pokey is building the internet at his new job. Trans-oceanic cables don't build themselves afterall.
  • books

2015-01-01T04:30:00Z

  • Greetings to Venezuela Caracas, Barquisimeto, Maracaibo, Maracay.
  • retro games that are must plays
  • Metroid NES
  • Super Metroid SNES
  • Legend of Zelda NES
  • Ninja Gaiden
  • Lolo Land NES
  • You Don't Know Jack PC
  • Delwin makes a cameo appearance

2015-01-01T05:00:00Z

  • Greetings to the eastern region of the United States,regions of Canada and 12 more: New York, Boston, Rochester NY, Rochester NH, Millinocket, Maryland, Washington DC, Detroit, Havana, Atlanta.
  • fireworks and meth labs go up in celebration of the new year. Pgggy went to watch...
  • and we are really not family friendly now
  • Kerbal Space Platform is a game. People like it.
  • notKlaatu didn't get busted transproting lockpick tools from the US to New Zealand
  • OpenSource HTML5 IRC client: https://kiwiirc.com/
  • Gnu Social servers: http://quitter.se and http://micro.fragdev.com/




New Year Show Part 5 of 8 - HPR Volunteers | 2015-01-07

2015-01-01T00:00:00Z

  • Greetings to United Kingdom and 24 more: London, Casablanca, Dublin, and Lisbon.
  • ...continuing the Dr. Who / media distribution discussion
  • ThistleWeb watches Dawson's Creek 
  • Bluetooth controllers, Bethoven and jousting http://arstechnica.com/gaming/2014/12/microsoft-tells-j-s-joust-devs-their-game-is-not-possible-on-windows/
  • Lord Drakenblut Has a crowd funding campaign to get to SCALE. http://www.gofundme.com/gysc0o . Sadly, he is ill.
  • I (JonTheNiceGuy) joined the feed, and the podcast I produce (CCHits.net *plug*) was mentioned ;)
  • KLAATU IS HERE!!!!
  • now we are talking about things that he cannot speak about. 
  • reading the books is faster than watching the movies?
  • Book and movie spoiler time =D yolo
  • Books, Movies...
  • Bad cantina music



2015-01-01T01:00:00Z

2015-01-01T02:00:00Z


New Year Show Part 4 of 8 - HPR Volunteers | 2015-01-06

2014-12-31T22:00:00Z
Mumble-2014-12-31-14-00-23-ch1.teamspeak.cc-Mixdown.ogg

  • Greetings to Greece and 30 more: Cairo, Ankara, Athens, and Bucharest.

  • kinda quiet
  • camera buying with dann.... kinda
  • topic hopping
  • speculation on how windows will work without IE.
  • proprietary marketing skills
  • mass brainwashing of the world (Apple, anyone?)



2014-12-31T23:00:00Z

  • Greetings to Germany and 43 more: Brussels, Madrid, Paris, and Rome.
  • Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, Coppies, coppyright, 
  • we are living the future, we are all our own gutenbergs
  • The wave is really the Mexican Wave!
  • George Orwell was an incredible human being
  • Was George Orwell a time traveler who invented the salng word "Pig" for police?
  • Star wars discussion
  • Dr. Who talk
  • Distribution of entertainment media around the world shouldn't be delayed
  • Best comic book remakes

2015-01-01T00:00:00Z

  • Greetings to United Kingdom and 24 more: London, Casablanca, Dublin, and Lisbon.
  • ...continuing the Dr. Who / media distribution discussion
  • ThistleWeb watches Dawson's Creek 
  • Bluetooth controllers, Bethoven and jousting http://arstechnica.com/gaming/2014/12/microsoft-tells-j-s-joust-devs-their-game-is-not-possible-on-windows/
  • Lord Drakenblut Has a crowd funding campaign to get to SCALE. http://www.gofundme.com/gysc0o . Sadly, he is ill.
  • I (JonTheNiceGuy) joined the feed, and the podcast I produce (CCHits.net *plug*) was mentioned ;)
  • KLAATU IS HERE!!!!
  • now we are talking about things that he cannot speak about. 
  • reading the books is faster than watching the movies?
  • Book and movie spoiler time =D yolo
  • Books, Movies...
  • Bad cantina music




New Year Show Part 2 of 8 - HPR Volunteers | 2015-01-02

2014-12-31T14:00:00Z
hpr1675 :: New Year Show Part 2 of 8
http://hackerpublicradio.org/eps.php?id=1675
  • Greetings to Queensland/Australia and 5 more Brisbane, Port Moresby, Guam, Cairns.

2014-12-31T14:30:00Z

  • Greetings to Northern Territory/Australia, Darwin, Alice Springs, Uluru.
        Flying Rich arrives!
2014-12-31T15:00:00Z

2014-12-31T15:15:00Z

2014-12-31T16:00:00Z

2014-12-31T17:00:00Z

  • Greetings to much of Indonesia, Thailand and 7 more: Jakarta, Bangkok, Hanoi, Phnom Penh.
  • We're off by one!
  • Broam pokes Pegwole for some photography gear talk
  • Etymology of IRC handles / nicknames
  • RP - https://en.wikipedia.org/wiki/Received_Pronunciation
  • Which shortcut key to use in mumble?
  • thistleweb sayings "

2014-12-31T17:30:00Z

  • Greetings to Myanmar and Cocos Islands, Yangon, Naypyidaw, Mandalay, Bantam.
  • Dude man has us wondering what "1 inch below is worth 2 above" 
  • "its connected with cutting hay... when your using a scythe which is really advanced tech and basicly led to the masive dependance on grain consumption believe it or not. But when cutting grass for hay for winter feed... cutting lower at the bottom by 1 inch gave bigger return for your effort and quality than have the grass 2 inches tailer


New Year Show Part 1 of 8 - HPR Volunteers | 2015-01-01

2014-12-31T10:00:00Z
hpr1674 :: New Year Show Part 1 of 8
http://hackerpublicradio.org/eps.php?id=1674
Welcome to the 4th Annual Hacker Public Radio show. It is December the 31st 2014 and the time is 10 hundred hours UTC. We start the show by sending Greetings to Christmas Island/Kiribati and Samoa Kiritimati, Apia.
Announcements: Even with editors  volunteering, we need some folks to record as backup (Ken said ogg is  fine). Bruce Patterson is looking for a new host for the Distrowatch  Weekly Podcast fixing 5150s mike problems because he was half alseep.   Talking new PC and components prices and construction theory

2014-12-31T10:15:00Z
It is December the 31st 2014 and the time is 10 15 hundred hours UTC 
  • Greetings to Chatham Islands/New Zealand Chatham Islands.
Marcus cobra2 and 5150 talk  movies, the ease of use of HPR, focusing on one topic when podcasting   We talk Canadian and New Zealand TV.  Steam on Linux. 

2014-12-31T11:00:00Z

  • Greetings to New Zealand with exceptions and 5 more  Auckland, Suva, Wellington, Nukualofa.
FiftyOneFifty and Dudeman discuss single board computers, being on fire, and herding cattle.  The cameras dude-man uses with Zone-Minder http://www.hikvision.com/Es/Products_show.asp?id=7326  Various old man ailments, diet and exercise.

2014-12-31T12:00:00Z

  • Greetings to small region of Russia, Marshall Islands and 5 more Anadyr, Funafuti, Yaren, Tarawa.
Time zones again tailoring your distro to get what you want

2014-12-31T12:30:00Z

  • Greetings to Norfolk Island, Kingston.
Efficient Ubuntu spins to put on older hardware

2014-12-31T13:00:00Z

  • Greetings to much of Australia and 5 more  Melbourne, Sydney, Canberra, Honiara.
Announcement: Bruce Patterson is looking for a new host for the Distrowatch Weekly Podcast  The N900, and mobile Linux computing

2014-12-31T13:30:00Z

  • Greetings to small region of Australia Adelaide, Broken Hill.
Zoneminder and a Pi connected to a webcam


Systemd for Learner Drivers - Steve Smethurst | 2014-12-30

systemd For Learner Drivers

A graphic to help out: http://hackerpublicradio.org/eps/hpr1672.svg

This is a subject that attracts controversy, but I am not today going to be controversial, I hope. Many Linux systems are moving away from SysV Init and adopting systemd instead; both Linuxes that I use, Fedora and Mint have adopted systemd, and I understand that Debian has now forked to allow both sides of the argument to have their way. I am not going to get into the debate here. My personal stance is that I see both sides of the argument and I will continue to perch on top of the fence until systemd either proves itself or fails to do so.

In this HPR I am going to try to fill a gap that I have seen in the systemd discussion; that is - how to operate it. I am not an expert on systemd, I have just tried to work it, and in doing so I have fished around in my file system and in the documentation. If you want to know what I found, then keep on listening. By way of opening I will remind myself, and you also, what systemd is replacing.

SysV initd works with runlevels, the most common being

  • 5 for graphical multiuser networked
  • 3 for cli multiuser networked
  • 1 for single user
  • 6 for reboot
  • 0 for halt

In moving to a runlevel, unwanted services are shut down and wanted services are started up. For most users on most systems the most appropriate default runlevel is 5 giving multiuser, GUI & networking. Services can be started and stopped on demand by inetd.

systemd works differently. It has target units. For most users on most systems the most appropriate default target is the graphical.target, which does a similar thing to runlevel 5 . Units are configured by unit configuration files. These files may start other units and stop other units. They can impose sequence and dependancies. There is a lot of cascading going on, with unit launching unit launching unit. Units also can be started and stopped on demand by systemd.

Units

The term Unit refers to a resource that systemd is taking under its control. There are 12 different types of Unit.

systemd.service
that starts/stops daemons
systemd.socket
activates network connections
systemd.device
activates kernel devices
systemd.mount
controls mount points
systemd.automount
provides on-demand mounting of file systems
systemd.swap
does for swap what systemd.mount does for filesystems
systemd.scope
starts/stops external processes
systemd.target
groups of services akin to init level 3, init level 5
systemd.snapshot
saves/restores the momentary state of other units
systemd.timer
triggers units based on date/time
systemd.path
trigger units based on changes in file system objects
organises units in a hierarchical tree of cgroups, for resource management purposes

Units files called by systemd live in /etc/systemd/system. But these are symbolic links to the real ones stored in /usr/lib/systemd/system

There is a parallel /etc/systemd/user structure which does not seem to do anything on my computers, so I work for now like its not there.

There is also a /run/systemd/system structure which appears to contain runtime configuration files with names like session-xxxx.scope. These are the unit type for external processes.

Table 1. Directory structure for systemd
Path Description
/etc/systemd/system Local configuration
/etc/systemd/user User configuration
/run/systemd/system Runtime units
/usr/lib/systemd/system Units of installed packages

Directives

The next thing we need is Directives.

The unit configuration files contain directives to start/stop a unit, and directives that cascade to other unit configuration files that start/stop dependant units. Directives may impose conditions on whether or when to call a unit. There are a whole bunch of different directives listed in man systemd.unit. These are a few.

  • Requires= list of units to start. If any required units fail then abort this one
  • Conflicts= list of units to stop
  • After= the order in which units will start
  • Before= the order in which units will start
  • Wants= list of units to start. If any fail just continue anyway

As well wanted units listed by the WANTS directive, there may also be a 'wants' directory below the unit directory. So the unit conf file /etc/systemd/system/default.target will cause two further unit conf files to be read in from the /etc/systemd/system/default.target.wants/ directory.

Each required unit and wanted unit from the directives, as well as those in the wants directory are added to a job queue. If directives cascade to other unit files containing more directives then all of these dependences are also added to the job queue. A directive may start or stop another unit, or that change the detail of a job already in the queue. All directives ultimately cascade down to starting or stopping one of the base units in /usr/lib/systemd/system.

To get a feel for how this all pans out in practice I will walk us through the cascade of unit files from bootup.

From Bootup

First, the default.taget is activated, which on my system is just a link to graphical.target

graphical.target

[Unit]
Description=Graphical Interface
Documentation=man:systemd.special(7)
Requires=multi-user.target
After=multi-user.target
Conflicts=rescue.target
Wants=display-manager.service
AllowIsolate=yes

Cascades to

  • start multi-user.target
  • start display-manager.service
  • stop rescue.target

Also we have a wants directory /etc/systemd/system/graphical.target.wants/ that

  • starts accounts-daemon.service (for logging)
  • starts rtkit-daemon.service (for realtime scheduling)

multi-user.target

graphical target cascaded to multi-user.target.

[Unit]
Description=Multi-User System
Documentation=man:systemd.special(7)
Requires=basic.target
Conflicts=rescue.service rescue.target
After=basic.target rescue.service rescue.target
AllowIsolate=yes

Cascades to

  • start basic.target
  • stop rescue.service
  • stop rescue.target (again)

Also we have a wants directory /etc/systemd/system/multi-user.target.wants/ that

- abrt-ccpp.service
- abrtd.service
- abrt-oops.service
- abrt-vmcore.service
- abrt-xorg.service
- atd.service
- auditd.service
- avahi-daemon.service
- chronyd.service
- crond.service
- cups.path
- irqbalance.service
- libvirtd.service
- mcelog.service
- mdmonitor.service
- NetworkManager.service
- nfs.target
- remote-fs.target
- rngd.service
- rpcbind.service
- rsyslog.service
- smartd.service
- vmtoolsd.service

display-manager.service

graphical.target also cascaded to display-manager.service which is not present on F20 so I guess we don't need it.

basic.target

So multiuser.target cascaded to basic.target, which itself cascades to

- sysinit.target
- sockets.target
- timers.target
- paths.target
- slices.target
- firewalld.service

sysinit.target

basic.target cascaded to sysinit.target which itself cascades to

- local-fs.target 
- swap.target
- dmraid-activation.service
- iscsi.service
- lvm2-monitor.service
- multipathd.service ( which looks like all the file system daemons)

sockets.target

basic.target also cascaded to sockets.target which itself cascades to

- avahi-daemon.socket
- cups.socket
- dm-event.socket
- iscsid.socket
- iscsiuio.socket
- lvm2-lvmetad.socket
- rpcbind.socket

End point

Now we start reaching the end-points of this trail at

- systemd.sockets
- systemd.timer
- systemd.path
- systemd.slice
- systemd-fstab-generator

By the time all of that has finished, if I type the command

# systemctl list-units --type service

I see that 58 services are listed as running

Running and Configuring Services

If we are going to work with systemd we will have to give it instructions. In systemd parlance

  • active = running, currently in use
  • loaded = enabled, available for use

These terms crop up in the output from commands

Many instructions are given to systemd by the systemctl command.

Now to compare line up some common SysV init tasks with their systemd equivalent

Table 2. SysV init commands and their systemd equivalents
command SysV Init systemd
Check status # service bluetooth status # systemctl status bluetooth
Start # service bluetooth start # systemctl start bluetooth
Stop # service bluetooth stop # systemctl stop bluetooth
Enable # chkconfig --level 35 ntpd on # systemctl enable ntpd
Disable # chkconfig --level 35 ntpd off # systemctl disable ntpd

Journalctl Logging

Much has been said about the desirability or otherwise of binary logs, but systemd gives us these so we had better know what to do with them.

Journal instructions are given to systemd by the journalctl command

To view all log entries in one go. This is verbose, mine came out at ~9000 lines
# journalctl
To view from a specific date
# journalctl --since="2014-05-07"
To view kernel logs
# journalctl -k
To follow a log in realtime ... and then to close
# journalctl -f
...
# ctl-c
To view log entries associated with a given PID
# journalctl _PID=1
To view log entries associated with a given service
# journatlctl -u bluetooth

Interrogating the system

More systemd information

Get/Set system information. Works like uname, but is more verbose
# hostnamectl
Get/Set timezone & timedate info
# timedatectl
Table 3. SysV init information and their systemd equivalents
SysV Init Info SysV Init command systemd info systemd command
What services are available for init.d to manage # ls /etc/init.d What service units are available for systemd to run # systemctl list-units --type service --all
What services are configured to be run by init.d for each run level # chkconfig --list What service units are currently active # systemctl list-units --type service

References


LinuxLugCast Episode-002 Outtakes - Kevin Wisher | 2014-12-29

Preshow and aftershow banter that does not get published through our normal feeds.

http://linuxlugcast.com/?p=115

New Retro Computing - NYbill | 2014-12-25

Sorry for the bad audio in places here. My mic was giving me troubles. Also, I know I called MythTV, Mythbox. (Mythbox was the name I gave the computer that ran MythTV here way back when.)

Links


How to start a Blog - Rill | 2014-12-23

So you want to start a blog?

Here are some of the tings to think about:

  • Why do you want to do a blog?
  • What do you want to say?
  • Who are your audience?
  • Do you mean to promote the blog to a wider audience or do you just want to write?

There are a number of popular and well known blogging engines and services, these are just some of them:

Nikola is an excellent system for creating a web-site that includes both static pages and a blog. It has been covered before on HPR and it was that show that started me using it.

Links

Here are links to a couple of my blogs:


LinuxLugCast Episode-001 Outtakes - Kevin Wisher | 2014-12-16

Some good content that we do not publish.

http://linuxlugcast.com/
http://linuxlugcast.com/?p=75


Trying out Slackware - beni | 2014-12-12

mcnalu wrote a article about Slackware in Linux Voice, Issue 6.

tux smokes a pipe with the hpr logo

http://www.linuxvoice.com/issue-6/

Beni read this article which lead to him trying out Slackware and being very impressed by its simplicity.

That's why he asked mcnalu to do a HPR episode about Slackware, which is probably the oldest Linux Distro that's still around and whose developer follows a no-nonsense strategy and is very conservative when it comes switching to new stuff that comes up in the Linux world (like PAM or systemd)

The distro is one of the if not the most Unix-like Linux distro. It uses a BSD style init system instead of widely used sysvinit.

Beni and mcnalu talk about the installation process, finding dokumentation and why the website is outdated.

Further they discuss the package manager and what it means that it doesn't resolve dependencies. They also explain why this isn't necessariliy a bad thing and where to find binary packages.

In the end they talk about where the Slackware community meets and who is in charge of Slackware.

http://www.slackware.com/ https://en.wikipedia.org/wiki/Slackware

Slackware documentation isn't as good the BSDs dokumentation or the Arch Wiki. But it's definitely getting better

http://docs.slackware.com/

and there is also 'Slackware essentials', a book that's also available online:

http://www.slackware.com/book/

The Slackware forum on Linux Questions is pretty much the official Slackware forum: http://www.linuxquestions.org/questions/slackware-14/

mcnalu announced his Article in the Linux Questions forum: http://www.linuxquestions.org/questions/slackware-14/linux-voice-issue-6-a-4175513762/

To support the development of Slackware you could buy yourself a Christmas present from the Slackware store:

https://store.slackware.com


Cool Stuff Part 2 - Curtis Adkins (CPrompt^) | 2014-12-10

Today I Found Out: http://www.todayifoundout.com/

Daily Knowledge Podcast: http://www.todayifoundout.com/index.php/category/podcast/

Command Line Tips: using CTRL + Left / Right arrow will allow you to move through a long command word by word instead of moving through each letter. Makes making adjustments to a long command much quicker.
Use the "cd -" to move back and forth between previous directories. cd into a directory, then cd into a different one. Now do "cd -" and you will be back to the first directory.

XFCE : script that uses xdtool to move window from one monitor to the next http://makandracards.com/makandra/12447-how-to-move-a-window-to-the-next-monitor-on-xfce-xubuntu

Hyperkin Pixel Art Controller: http://hyperkin.com/hyperkin-pixel-art-controller-for-pc-mac-computers-1265.html. Use with the SNES9x emulator. Works very well


Hacking Gutenberg eBooks - Jon Kulp | 2014-12-09

Links to stuff I mentioned in the podcast:


My audio player collection - Dave Morriss | 2014-12-08

My Audio Player Collection

I got broadband installed in my house in 2005 after I'd bought my first PC. I'd owned a lot of PCs before that, but they had all been cast-offs from the university I was working at, and I accessed the Internet via dial-up to my work.

This was around the time I got sick of listening to the radio and first discovered podcasts, and so I decided I wanted a portable audio player (or MP3 Player as they tended to be called back then).

Since then I have been listening to podcasts pretty much all of the time and have worked my way through a number of players. I thought it might be interesting if I chronicled the devices I have owned in the past 9-10 years.

The full show notes for this episode are available at: hpr1656_full_shownotes.html


Using AS numbers to identify where you are on the Internet - Ken Fallon | 2014-12-04

I have a laptop and I want it to use different configurations depending on where I am. If I’m on wifi at home, I don’t want my NAS mounted, but if I’m on a wired connection I do. If I’m at work I want to connect to various servers there. If I’m in the train I want to setup a vpn tunnel. You get the idea.

My solution to this was to approach it from the laptop and go out. So to look around and see what network I was on. There are a few ways to approach this, you could look at your IP address, the arp tables, try and ping a known server in each location. The issue with looking at an IP address is that most networks use Private Networks. Very soon you will find that the wifi coffee shop happens to have picked the same range as you use at home and now your laptop is trying to backup to their cash register.

Then I was thinking that I’m approaching this problem from the wrong angle. Why not start with my public IP address range, which has to be unique, and work back from there to my laptop. From there I was planning on maintaining a look-up table of public IP addresses, along the lines of the GeoIP tools developed by MaxMind.

By Accident I found out that geoiplookup supports AS Number

From WikiPedia: Autonomous System (Internet)
http://en.wikipedia.org/wiki/Autonomous_System_%28Internet%29
ISP must have an officially registered autonomous system number (ASN). A unique ASN is allocated to each AS for use in BGP routing. AS numbers are important because the ASN uniquely identifies each network on the Internet.

So what that is saying is that every network in the Inter(connected)Net(work), must have it’s own unique AS Number. From there I was able to write a script to easily manage my laptops behaviour based on both location and connection type

See http://kenfallon.com/scripts-based-on-your-network-location/ for the complete article and scripts.


Ruth Suehle at Ohio Linux Fest 2014 - Ahuka | 2014-12-03

Ruth Suehle gave the next-to-last keynote at Ohio LinuxFest 2014 on 2014-10-25. In this talk she discusses the significance of open hardware and maker culture, and how this is something we all should participate in. Maker culture is an essential part of the free and open culture we belive in when we talk about open source. And we need to be vigilant to protect our values in the hardware space. As an example she tells us about Bre Pettis and Makerbot, which at one time were very open, but have turned aginst this value as they became more successful. In the final analysis, it is up to us to protect open hardware by voting with our dollars/euros/whatever.


GeekSpeak 2013-06-01 - Various Creative Commons Works | 2014-12-02

As part of Hacker Public Radio's continuing effort to showcase Creative Commons Works, we are proud to present GeekSpeak. GeekSpeak is produced as a radio show for community based station KUSP in Monterey CA, and rebroadcast as podcast, available from GeekSpeak.org. It is a generally a lighthearted and humorous general technology news show, with topics including electronics, computing, robotics, and green tech. Often guest speakers and authors from the technology world will come on for interviews. The shows are just about an hour long.

The regular hosts are Bonnie Jean Primbsch, Lyle Troxell, Miles Elam, and Ben Jaffe (see GeekSpeak.org/geeks/for the full roster). You can often hear them thanking the "Puppetmaster" for letting them continue to use the name GeekSpeak. After broadcasting for several years, it was discovered the term "GeekSpeak" had been registered as a service mark by David Lawrence for a podcast of his own. You might remember Lawrence as the actor who played the character on "Heroes" with the telekinetic ability to physically manipulate other characters against their will.

GeekSpeak has a long standing tradition of using Devo's "Through Bein' Cool" as intro music, so only those episodes that employ user contributed music instead are actually released Creative Commons. What you are about to hear, from the 1st of June of 2013, is just such an episode.

Links


OCPLive2014 Night Life In Elysburg PA - FiftyOneFifty | 2014-11-28

A running commentary by FiftyOneFifty and Tankenator on the nightlife in Elysburg PA


Raspberry Pi Accessibility Breakthrough - Mike Ray | 2014-11-27

Since April last year the text-to-speech using eSpeak in the Raspberry Pi console has stuttered very badly and regularly crashes the kernel.

Here's how I fixed it.

Cloning my github repo:

git clone https://github.com/cromarty/ttsprojects.git

Installation:

cd ttsprojects/raspberry-pi/libilctts/build
sudo ./build.sh
cd ../../piespeakup
sudo ./build.sh

Bingo! Speech should work.

This has only just been released and there is still work to do on the documentation.

Note: I am not connected to the Raspberry Pi Foundation in any way and anything I say or do is not endorsed by them.

My email address is connected with a Freelists email list I set up and an accompanying web site:

http://www.raspberryvi.org/

The 'VI' is for 'Visually Impaired' and I DID check with the Foundation about the similarity of the web address before I created it.

To join our email list send an email to:

raspberry-vi-request@freelists.org

With 'subscribe' in the subject.

Mike


Unison Syncing Utility - FiftyOneFifty | 2014-11-19

Unison is a file syncing/backup utility, similar to SyncBack on Windows, available in most repros.

  1. The graphical interface requires the installation of unison, and unison-gtk.. Unison may be installed w/o the graphical component, but all operations must be initiated from a system running the GUI.
    • Network backups require RSH or SSH to be installed on both machines
  2. The standard wisdom seems to be the rsync does not do a true 2 way sync, i.e., to sync to the newest file version going both ways you would have to do rsync ~/LocalFolder you@server:/home/you/RemoteFolder then turn around and do rsync you@server:/home/you/RemoteFolder ~/LocalFolder. Add that to the fact that like cp, or scp, rsync requires separate commands for files with extensions, files without, and hidden files, creating a bash script for syncing files is more complex than creating a Unison profile.
  3. Step One: If, like me you are syncing only Documents, make your subfolder structure the same on both machines, ergo, if one PC has /home/you/Documents/recipe and second PC has /home/you/Documents/Recipes, edit your folder structure to be the same on both PCs to avoid duplicate files and folders
  4. Launch Unison and create a backup profile First use, create a profile
    • Name of profile
    • Synchronization kind (Local, SSH, RSH, TCP)
    • "First" Directory (you can browse your mounted volumes)
    • "Second" Directory, if you chose Local
    • Host Machine Name (or IP Address)
    • User Name (If you haven't registered SSH keys, you will be prompted for a password on every synchronization.
    • Check whether you want to use compression, (on fast networks or slow processors, compression may create more overhead than it's worth).
    • Target directory (If it's on a remote server, you will need to type the full path, there is no browsing to the folder.)
    • Tell Unison if either folder uses FAT (say an un-reformatted USB stick)
    • If you are backing up to another system, Unison needs to be installed on both. If you are backing up to a server with no GUI desktop manager, you can install just the unison package without unison-gtk, but all the syncs will have to be initiated from the machine with a GUI. (Of course, if you back up to a remote volume that is mounted locally, it should be completely transparent to Unison). If you choose to sync via ssh (recommended), you will need ssh and ssh-server installed appropriately on each machine.
  5. Select and run your profile.
    • The first time, expect to get a warning that no archive files (index files that speed up the synchronization scan) were found. They will be created on the first sync.
    • Unison will look for differences between the files in the two selected directories. The differences will be displayed graphically, with arrows pointing left or right, indicating which directory contains the most current version of the file (by modification date). You can choose to merge files either left or right (a conventional backup), do a merge (i.e., Unison itself decides how to combine data from files with the same name (obviously, that could be messy), or to do a sync (ergo, the most current version of a file overwrites older version, regardless of location). Click "Go" to do a true sync.

The real reasons for using Linux - johanv | 2014-11-17

I am a Linux user since the end of 1999. Which is 15 years already. I've also been trying for almost 15 years to convince other people to try Linux. And I must confess that I very often used wrong arguments doing this. After 15 years it is time to ditch some fake arguments, and to tell you the real reasons why you should switch to Linux. :-)

I apology for the bad audio quality. A full transcript of this episode can be found on my blog.
http://blog.johanv.org/posts/why-linux.html


Ken Starks at Ohio Linux Fest 2014 - Ahuka | 2014-11-13

Ken Starks gave the closing keynote at Ohio LinuxFest 2014 on 10/25/14. In this talk he discusses his work with the REGLUE project (formerly the Helios Project) which bulds computers to give to disadvantaged kids in Texas. And if you look there may be something like this in your town that you can help with. And if not, why not start one? This talk was recorded by Randy Noseworthy, and he asked me to post it to HPR.


Surviving A Roadtrip: Food - Windigo | 2014-11-12

As we are all human to some degree, we require sustenance. When on a roadtrip, this can prove to be challenging - but it is also an opportunity to save money and enjoy yourself!

Bringing Food
---

- Buying all your food on the road is a good way to empty your pockets
- Convenience stores do not have your health in mind; their food is generally
  over-salty or over-sugary
- Stopping for snacks can add lots of extra time to a trip
- A quick stop at the grocery store before your trip is not a bad idea
        - Stock up on non-perishable snacks
        - Nuts and trail mix are a classic for a reason. They're full of protein and
          fiber, and easy to munch on in a vehicle
        - Fruit are sweet, healthy, and also usually easy to eat in a vehicle.
          Apples and grapes are super easy, bananas less so, and oranges are tricky.
          You can pre-peel fruit to make it more accessible, but it won't last as long.
- Water is important. Make sure to have a gallon jug with you, and refill as
  necessary. I don't mind tap water, but if you're picky, there are water
  filters designed for camping that are compact and quick. Keep yourself
  hydrated!
- Your options for variety of food increase a lot with a cooler
        - Things like cheese and sandwich meats should do fine
        - Make sure to fill it with ice or freezer packs when you set out in the
          morning, and maybe during the afternoon depending on weather
        - Check to see if your lodgings have refrigeration; your cooler will be
          useless if you don't have something more substantial to use in-between
          legs of your journey.
  

Stopping To Eat
---

- Saving money and being efficient is all well and good, but roadtrips are not
  all about getting from point A to point B.
- A great way to experience an area is by ingesting a small part of it
- Add an hour or two to your travel time for a meal stop
- Pick lunch or dinner
        - Lunch may suit your timetable better if you are an early riser
        - Lunch menus often offer slightly less food for a reduced price
        - Restaurants may be less crowded for lunches
        - Dinner might be a better choice if you like waking and driving late
        - Dinner menus are more comprehensive, but often more on the expensive side
- Avoid chain restaurants all the time, but especially on a roadtrip
- Local restaurants and eateries are usually found in downtown areas, away from
  highways. They are well worth the diversion.
- Different areas have vastly different cuisines, and trying new things can be
  very rewarding. Crawfish: who knew?
- Find something on the menu that you don't recognize, and eat it.
- If you are a picky eater, try not to let your preconceptions stop you from
  trying something. For instance, coconut soup is surprisingly unlike any other
  coconut dishes that I've had.
- Be polite, be patient. Many tourists are rude, and there is a chance that
  the person helping you gets to deal with those tourists frequently.
- Do not be afraid to ask questions. Figure out what you can, but ask for
  clarification if something on the menu is unusual.
- If you have food-based allergies or special dietary requirements, these might
  not be accommodated in all areas. If you are a vegetarian or vegan, or are 
  allergic to gluten, peanuts, or dairy, your options may change drastically
  depending on the region you are in.
  - A little research into local restaurants  could help you determine which
        places you can eat without stopping at each restaurant in town.
- Overall, try to enjoy yourself. Roadtrips can be high-stress affairs, and a
  meal break can do wonders to relieve some of the stress that's built up over
  the day. Relax, and give yourself plenty of time to eat

Communities Are Made of People - FiftyOneFifty | 2014-11-11

http://facebook.com


Banana Pi - First Impressions - Mike Ray | 2014-10-30

The Banana Pi - First Impressions

They say duplication is the sincerest form of flattery, substitute the word of your choice for 'duplication'.

The Banana Pi is made in China and bears an uncanny resemblance to the Raspberry Pi.

Not just the name, the board is fractionally larger, some of the features on the board are similarly placed:

  • 26-pin GPIO
  • 3.5mm analogue audio jack
  • RCA composite video jack
  • SD card slot

There are things the RPI does not have:

  • Power button
  • uBoot button
  • Microphone
  • USB-otg port (otg = on-the-go, a bi-directional USB port)
  • SATA connector

The processor is a dual-core running slightly faster than the Raspberry Pi, although to be fair, of course, the RPI can be over-clocked.

The Banana Pi has twice the RAM and a dual-core processor.

The SoC is the ARM Allwinner A20.

Getting my Hands on a Banana Pi

My first Banana dropped through the letterbox a couple of days ago.

Thanks to some kind soul on the Raspberry Pi Facebook group who described the connectors on the edges of the board I narrowly avoided plugging the power supply into the USB-otg port. The power micro-USB is on the underside of the board between the SATA power and data connectors which are on the upper side of the board.

Can't really say much about it because I can't actually see the build quality, but it feels nice. The PCB is fractionally thinner than the RPI.

Problems

I had an initial struggle to find a download link for any images.

The downloads page of lemaker.org has a two row table on it which appears to be upside-down and it has links to Google-drive, two different public DropBox links, a MS One-Drive link, and something I didn't initially find, an FTP link.

Both of the DB links are duff because they have suspended the account because of excessive traffic.

This is the FTP download link:

http://filez.zoobab.com/bananapi/mirror/

Available Images

When I found the FTP page I grabbed images for:

  • Arch Linux
  • Bananian-latest
  • Lubuntu
  • Raspbian

I downloaded and extracted all of these images to my Debian desktop machine and tried to write and boot them in succession.

The first I tried was Arch, on the assumption that would not have a desktop installed.

After writing the card I looked at it on my Debian machine with parted and it appeared to have two partitions. As with the Raspberry Pi there is a small FAT16 partition and a bigger ext4 partition.

The FAT partition contained the same files as the Raspberry Pi:

  • config.txt
  • cmdline.txt
  • kernel.img

And some others I can't remember.

In addition it contained:

  • uEnv.txt
  • uImage

It appears uEnv.txt is equivalent to the Raspberry Pi cmdline.txt file, and uImage is, of course, the kernel.

So oddly it has the files for the RPI and it's own in the FAT partition.

Then I tried Bananian, and this appears to be Debian Wheazy for ARM.

Similar story with the FAT partition.

It is a very minimal installation which has little more than the Linux Standard Base (LSB) packages. I like this because I like to have control.

Sound and Stuff

I found a review from April this year that said the sound driver snd-bcm2835 was not available. At the name snd-bcm2835 my heart sank because I expected the BPI to have the same stuttering text-to-speech problems as the RPI.

Not expecting much I did, as root:

apt-get install alsa-base alsa-utils

Looking through /lib/modules/... blah blah I found a driver called:

snd-aaci.ko

I did:

modprobe snd-aaci

And then:

speaker-test

And I got pink noise!

Next I did:

apt-get install espeakup
update-rc.d espeakup defaults
modprobe speakup_soft

And speakup burst into life with no stuttering!

Immediate Conclusions

The online community and code-base for the Banana Pi is not yet very mature, and because the origin of the beast is China, a lot of what's out there is in Chinese.

But it is growing. And after all, it took the RPI a while to take off and go ballistic.

At the moment I would say the Banana Pi is not for the faint-hearted or the total newbie, although, a lot of newbie questions are generic and don't have machine-specific answers.

Links

LeMaker page:

http://www.lemaker.org/

Australian community page with forums:

http://www.bananapi.com/

The worst thing about the Banana Pi is, when writing emails about it, and these show-notes, typing the word 'banana' and knowing when to stop!


Howto Use Webfonts - klaatu | 2014-10-13

Klaatu reveals the secret of webfonts WITHOUT using Google. How can this be? Listen and find out.


What's in a nickname? - Inscius | 2014-10-08

How I came to use Inscius as my Internet nickname.

Links:

https://en.wiktionary.org/wiki/inscius


Don't Forget the Referbs - NYbill | 2014-10-07

NYbill talks about getting a refurbished Lenovo X61 and making it more functional with a tool or two. There is also some talk of PLC's (Programmable Logic Controllers). A more in depth explanation of PLC's could be an episode in itself and might be some day. Stay tuned...

Pics for the episode: http://media.gunmonkeynet.net/u/nybill/collection/hacking-a-lenovo-x61/

Lenovo after market BIOS. Allows Ctrl-Fn swap in older systems. (Use at your own risk!): http://forum.notebookreview.com/lenovo/474396-fn-ctrl-swap-all-lenovo-laptops-solved.html


Sigil And The Process Of The Epub In FOSS - lostnbronx | 2014-10-02

Here are some links to the software discussed in this episode


Migrating from Drupal 6 to Nikola - johanv | 2014-09-30

I talk about the migration of my blog from Drupal 6 to Nikola. I explain why I wanted to migrate, and I tell about the script I used.

Details and scripts can be found on my blog: http://blog.johanv.org/posts/drupal-nikola.html

See also:


Howto VNC - klaatu | 2014-09-29

Klaatu talks about how to get VNC up and running. It focuses on x11vnc but basically it applies to any variety.

Virtual Network Computing
From Wikipedia, the free encyclopedia

In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network.
VNC is platform-independent – There are clients and servers for many GUI-based operating systems and for Java. Multiple clients may connect to a VNC server at the same time. Popular uses for this technology include remote technical support and accessing files on one's work computer from one's home computer, or vice versa.
VNC was originally developed at the Olivetti & Oracle Research Lab in Cambridge, United Kingdom. The original VNC source code and many modern derivatives are open source under the GNU General Public License.
There are a number of variants of VNC which offer their own particular functionality; e.g., some optimised for Microsoft Windows, or offering file transfer (not part of VNC proper), etc. Many are compatible (without their added features) with VNC proper in the sense that a viewer of one flavour can connect with a server of another; others are based on VNC code but not compatible with standard VNC.
VNC and RFB are registered trademarks of RealVNC Ltd. in the U.S. and in other countries.


Howto Install LAMP - klaatu | 2014-09-22

If you're just starting out as a web developer or designer, you should know about LAMP and how to use it. This episode introduces you to the basics.

LAMP (software bundle)
From Wikipedia, the free encyclopedia
LAMP is an acronym for an archetypal model of web service solution stacks, originally consisting of largely interchangeable components: Linux, the Apache HTTP Server, the MySQL relational database management system, and the PHP programming language. As a solution stack, LAMP is suitable for building dynamic web sites and web applications.
https://en.wikipedia.org/wiki/LAMP_%28software_bundle%29


Extravehicular Activity - Steve Smethurst | 2014-09-16

EVA - The Rules for Extravehicular Activity

Here I dip into the NASA experience of and rules for Extravehicular Activity, prompted at first by watching a film called The Europa Report, directed by Sebastian Cordero (2013).

WARNING - THIS PODCAST CONTAINS SPOILERS

While I have some gripes about the film, I was impressed by its general failfulness to the science

  • It thought to find life on Europa, a moon of Jupiter considered by real exobiologists and planetary scientists to be a good candidate
  • Neil deGrasse Tyson made a cameo appearance
  • The portrayal of Europa's geography and character
  • Having to drill through the ice to get at the sea below
  • The behaviour of the crew as scientists and engineers

Science consultant on the film was Kevin Hand, an astrobiologist and expert on Europa at NASA's Jet Propulsion Laboratory

To my mind, the scientists were behaving like scientists and the engineers behaved like engineers. To follow along it might help to recall their names

  • Captain - Willam Xu
  • Pilot - Rosa Dasque
  • Chief scientist - Daniel Luxembourg
  • Marine biologist - Katya Petrovna
  • Junior engineer - James Corrigan
  • Chief engineer - Andrei Blok

All was going scientifically until the director drove the plot forward with two EVA incidents

EVA-1 : Flash back episode, engineers James and Andre go out to fix a failed communications circuit

  • Andre rips his suit
  • James gets squirted with rocket fuel
  • Only one astronaut survives

I have problems with this because it's just too clumsy for trained professional astronauts. Where are the decontamination procedures, the tethers, the special tools?

EVA-2 : Down on the surface, Marine biologist Katya decides to walk out alone

  • Tourtured debate in the ship
  • Of four able and expendable crew members, none go with her
  • Katya does not come back alive

With this I am shouting at the screen "No Way! Where's the fracking operating manual? No one goes EVA on their own"

So, that is why I researched the NASA rules for Extravehicular Activity. And I found that none of these events would have happened the way they were shown, had the crew, who were so professional in every other way, followed the NASA procedures.

The two astronauts issue

  • The most recent occasion where an astronaut went solo EVA was in 1971, when David Scott stuck his head out of the airlock of Apollo 15.
  • Most recent before that was in 1966, when Buzz Aldrin went EVA from Gemini 12 (Gemini craft only had two crew).
  • Since 1971, there have been 358 space walks and every single one has had two crew.
  • I found no written regulation, but de-facto, nobody leaves the spacecraft alone.

NASA procedures

NASA documents on the internet discuss in exhaustive detail all considerations for EVA. What I present is a cherry-picked handful. I could not cover all of it

  • reasons for EVA
  • alternatives
  • planning
  • hazard mitigation
  • procedures for safe conduct
  • fall-back procedures
  • failure handling
  • accident control

International Space Station (ISS) EVA Procedures Checklists

  • Presuming that all the equipment maintenance checks, and readiness checks have alread been done
    • 30 minutes of Airlock preparation and testing
    • 30 minutes of changing components for the suit to fit the astronaut
    • 170 minutes of EVA-Prep
  • Then you are ready to depressurise and leave the airlock
  • EVA might last 2 - 8 hours
  • Post EVA
    • 30 minute procedure to take the suit off
    • 10 minute procedure to disconnect internal equipment
    • Recharge & maintain the Extravehicular Mobility Unit (EMU)
    • Clean & maintain the Suit

Although this podcast is about EVA, it does reference the science in a film that I enjoyed and respect very much, so here is a gem that I only came across while researching the landing site. In the scientific journal Nature, Volume 479, 16 November 2011, Britney Schmidt et al, of University of Texas, Austin, published a paper titled "Active formation of 'chaos terrain' over shallow subsurface water on Europa." In the paper these authors suggest that in the Conemara zone of the Chaos Terrain, an area on the surface of Europa, the ice may be as little as 3 km thick. Then in the film the Conemara Chaos was the targetted landing zone and the drill broke through the ice