Index :: FAQ :: Contact

Featured Media: Basenet Radio

The show has been dormant for some time (years) but its back.

Latest HackerMedia:

November 26, 2015

Hacker Public Radio
HPR1909: Creating an Open, Embedded-Media Music Textbook
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. 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 Calibre: eBook Management software. See also documentation for the Calibre command-line interface, which is what I use to create these counterpoint books. GIMP: the GNU Image Manipulation Program (a robust free alternative to Photoshop) Internet Archive: a non-profit library of millions of free books, movies, software, music, and more. Kimiko Ishizaka's The Open Goldberg Variations and The Open Well Tempered Clavier, released under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication license. Lilypond: Music Notation software for Windows, Mac, and Linux. Marvin: iOS eBook reader app $3.99 in Apple store Project Gutenberg: over 50,000 free ebooks: choose among free epub books, free kindle books, download them or read them online. Symphony Pro: iOS Notation app $12.99 in Apple store E-Reader App Compatibility Chart: see which apps are best suited for reading these counterpoint books Trinkets: Share Code from any Device. Trinket lets you run and write code in any browser, on any device. Terrific for embedding counterpoint exercises on web pages or learning management systems. 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).

November 25, 2015

Hacker Public Radio
HPR1908: Arduino Pumpkin
Code for Pumpkin int ledPin1 = 5; int ledPin2 = 6; int motorPin = 8; int lightPin = 3; int lightVal; int potPin = 0; int potVal; void setup(){ Serial.begin(9600); pinMode(ledPin1, OUTPUT); pinMode(ledPin2, OUTPUT); pinMode(motorPin, OUTPUT); pinMode(potPin, INPUT); pinMode(lightPin, INPUT); digitalWrite(ledPin1, LOW); digitalWrite(ledPin2, LOW); digitalWrite(motorPin, LOW); } void loop(){ potVal = analogRead(potPin); lightVal = analogRead(lightPin); Serial.println(lightVal); if (lightVal < potVal){ animate(); } } void animate(){ digitalWrite(ledPin1, HIGH); digitalWrite(ledPin2, HIGH); digitalWrite(motorPin, HIGH); delay(100); digitalWrite(ledPin1, LOW); digitalWrite(ledPin2, LOW); digitalWrite(motorPin, LOW); }

November 24, 2015

Hacker Public Radio
HPR1907: Charlie Reisinger and Penn Manor
Klaatu interviews Charlie Reisinger about how Penn Manor school district uses of open source...on every student's laptop.

November 23, 2015

Phone Losers
Hobo 4 Life
Gizmo sponsors today's show where I finish up my lube job list and then play a few old classic lube job calls. Again.

Hacker Public Radio
HPR1906: Apt Spelunking 2: tvtime, phatch, and xstarfish
Welcome to the another episode of apt spelunking! If you missed the first episode, I should explain. Apt spelunking is the act of aimlessly searching through your distribution's software repositories, and picking out the gems that you find. I call it apt spelunking because I use Debian, which uses the apt packaging format. Let's jump into the first package: tvtime. tvtime The package tvtime is a simple one, but it does what it does very well. tvtime interfaces with a TV tuner - specialized hardware that allows your computer to process analog television signals, via coaxial or RCA video cables. If you have this hardware, usually an expansion card or USB peripheral, tvtime allows you to use your computer as an analog television. tvtime binds to the card of your choosing, allows you to switch between NTSC and PAL modes (NTSC is what I use, that being the American standard), and shows you a wonderfully grainy video. It has filters that can help smooth out the image a bit, but it's still an analog video. tvtime is video only, so you need to use something else to handle the audio of whatever you are hooking up. Often this is done by the hardware tv tuner somehow; my PCI card tuner has a 3.5mm jack that offloads any sound received over the coaxial wire, and I patch that into my sound card. RCA cables have separate wires for audio, and I plug those into my sound card via a converter cable. I have used tvtime to hook up videogame consoles, VCRs, and older computers like the TRS-80. It's helped me to defeat Eternal Darkness, an old GameCube game that is still worth a look, and it's allowed me to digitize old VHS tapes we have lying around. More on that in another episode. It is a fantastic alternative to keeping an older analog TV around. If you have older equipment that needs to dump analog video somewhere, tvtime and a hardware tuner makes for a great setup. phatch This absurdly spelled program is incredibly good at what it does. Phatch, some sort of unholy combination of "photo" and "batch", is a GUI interface for assembling chains of actions to manipulate image files. I use this program for web development to save time when creating static photo galleries or other types of images with similar constraints. To use phatch, you assemble a set of operations (phatch refers to these as "actions") in an ordered "action list". I'll use my gallery thumbnail action list as an example. There are only two actions in my thumbnail action list: "fit", and "save". Each action has a set of predefined parameters and options that let you tweak what happens to your files. The "fit" action resizes an image without goofing up the aspect ratio. You give it a box to fit the image in, and it fits it fully into that box and cuts off any extra edges. The most important parameters for this action are canvas width, and canvas height - which tells phatch how big the box is. The save action has parameters that let you set which image format to use, which folder to save to, and even what to name the file. For my thumbnails, I have it use the original filename, and append a "_t". Once you have your action list together, you can tell phatch to run on an entire directory and include or exclude different file types. There is much, much more to phatch than just resizing images. Sounds like another episode idea… anyhow, moving on! xstarfish I left xstarfish until the end, because it's so much fun and so very, very weird. xstarfish generates a random, tileable background that can be dumped to a file, or assigned directly to the X display of your choice. It uses some sort of magic randomsauce to pick a color palette, some patterns, and some other distortions to that you get a brand-new, unique background every time you run it. It can also be started in daemon mode, with a timer, to automatically change your wallpaper periodically. There are at least two problems with this. First of all, let's start with the practical. You can set the size of the image xstarfish generates, by either using the -g flag and manually setting the geometry with a pixel width and/or height, or you can use the -s flag and set a general size like "small", "large", or "full". If you use "full", xstarfish automatically generates a full wallpaper for your display. Since xstarfish generates randomness (which is often CPU intensive) and uses that to generate random filters (which can be hard on your CPU) and can be set to do it periodically (which, depending on frequency, could keep your CPU busy), this utility can be a resource hog. I have two monitors, each running 1280x1024 resolution, and when I set it to generate a new background every 10 seconds... well, it didn't. It just maxed out one of my CPU cores, and spit out a background every once and a while. Cutting it down to only generate a single monitor-sized image every 60 seconds made things much more reasonable. The second, more pertinent issue with xstarfish is that it randomly picks colors and patterns. It is exceptionally random about it. Imagine for a moment that you needed to paint a room, and you wanted to pick random colors and patterns for a room in your house. You would begin by blindfolding a friend and pushing them into the paint isle at your nearest hardware store. Whatever three buckets of paint they bump into first, well, that's your color palette. What do you mean you don't like orange, sea foam and gunmetal grey? Then, you take those paint cans and proceed to tie one to your ceiling fan, one to your eight-year-old child and swing the third around your head at a 35 degree angle. Fairly quickly, you'll have your own xstarfish-inspired decor. With all of the potentially awful things that can happen, I really do like xstarfish. It's not something I keep running all the time, and a lot of the options remind me of early 90s Encino Man fashion and school photo backdrops with lasers. But sometimes the patterns are actually quite pleasing, and if I keep the tile size small, it reminds me of 90s web design. That concludes the second installment of apt spelunking. Please don't let me take all the glory; take a tour through your package manager, whatever distro you use, and tell us about some cool stuff you find!

November 20, 2015

Hacker Public Radio
HPR1905: 66 - LibreOffice Impress - Built-In Charts
In the last tutorial we looked at OLE objects, and saw that Charts could be brought into Impress from Calc via OLE. But you can create the Charts directly in Impress. Bear in mind that due to the modular nature of LibreOffice you will be using the same tools to do this as Calc uses: LibreOffice developers never reinvent the wheel if they can avoid it. There is a lot to know about Charts if you are going to use them effectively, and we covered all of this in our Calc tutorials. For more go to Links

November 19, 2015

Hacker Public Radio
HPR1904: Windows Command Line Tips and Tricks
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 &quot;services.msc&quot;. This opens up the services window where you can find the service &quot;print spooler&quot; 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 in the openVPN programs folder to my desktop. I could type: copy &quot;C:Program Files (x86)OpenVPN TechnologiesOpenVPN; &quot;; 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: 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 &quot;C&quot; 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.

November 18, 2015

The Linux Link Tech Show
The Linux Link Tech Show Episode 634
chrome bit, updated chrome cast, barebones systems, fallout 4

Hacker Public Radio
HPR1903: Some further Bash tips
Some further Bash tips Expansion There are seven types of expansion applied to the command line in the following order: Brace expansion (we looked at this subject in the last episode 1884) Tilde expansion Parameter and variable expansion (this was covered in episode 1648) Command substitution Arithmetic expansion Word splitting Pathname expansion We will look at some more of these in this episode but since there is a lot to cover, we'll continue in a later episode. I have written out a moderately long set of notes about this subject and these are available here Links Bash Reference Manual: Tilde Expansion: Command Substitution: HPR episode 1648 &quot;Bash parameter manipulation&quot;: HPR episode 1843 &quot;Some Bash tips&quot;: HPR episode 1884 &quot;Some more Bash tips&quot;:

November 17, 2015

Phone Losers
Sorry I Dinged Your Lube Job
Stan sponsors today's show of lube job customers. It's Stan's fault that half the people I talked to about their lube jobs didn't get angry and just thought I was hilarious.

Hacker Public Radio
HPR1902: My Linux Tool Box
Tools I use: Htop - Command line system monitor Firefox - The best web browser Pluma or Gedit - Great gui text editors Yaourt or Synaptic - Simple yet powerful package managers Gucharmap - Character map for all your unicode needs Markdown - Distraction free, simple document writing. VLC - The one true media player. Cinnamon Desktop Environment - My favorite desktop environment. LibreOffice - For my limited office application needs. Evince or Atril - Simple, effective, reliable PDF readers. mtPaint - Pixel art programme. Inkscape - Vector graphics tool. Great for drawing. GIMP - The Gnu Image Manipulation Programme. Gnome Terminal or Mate Terminal - My preferred GUI terminals. Redshift - Ease your screen viewing when the sun goes down. Alarm Clock Applet - Used for the Pomodoro time management technique. Gparted - My preferred partition management tool. Steam - Lots of freedom hating games. Play on Linux - Tool to play other freedom hating games. Gpick - Simple colour picker and colour scheme generator. Thunderbird - My preferred email client. The best of a boring bunch. Skype - My nessecessity for human contact. Transmission - Torrent client. Great for downloading lots of Linux Distros! Uget - For when I need a large file that doesn't have a torrent. Java - I use OpenJDK and OpenJRE as java is my first language. Asunder CD Ripper - For ripping audio CD collections. Audacity - For recording this podcast! Music Brainz Picard - Tag, accurately, all those freshly ripped CDs. Virtualbox - Try all those .iso Linux distributions you just downloaded! GUFW - GUI Uncomplicated Fire Wall. Does exactly what it says on the tin. Numix Theme - A very complete theme with a lovely icon set. Flat style, very modern.

November 16, 2015

Hacker Public Radio
HPR1901: Instaling Linux programs without internet
http://www.supertuxkart,net/downloads to get your copy of the game

November 13, 2015

Hacker Public Radio
HPR1900: 20 - SSH Basics
So as we saw in the introductory tutorial, SSH uses the Client-Server model. Now, technically a server is just the machine you are connecting to, and there is no reason in principle that it could not be another desktop, a laptop, or even a telephone if it has the appropriate software. and in the previous tutorial we showed how you can easily install and set up an ssh server on your home network using another computer or a Raspberry Pi so that you can experiment with these commands. The model really reduces to you as the client, and the other machine as the server. As with all Internet connections there are standards and protocols involved. The original Telnet communicated over TCP through port 23. Because SSH was conceived as a replacement, it used the same TCP protocols, and was assigned the adjacent port number of 22. For more go to Links:

November 12, 2015

Hacker Public Radio
HPR1899: MyTinyTodo List
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.

Off the Hook
Off The Hook - Nov 11, 2015

November 11, 2015

Hacker Public Radio
HPR1898: Free my music!
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.

November 10, 2015

Phone Losers
Starbucks Red Go Cups
Reefer Badness should be sued by the Starbucks corporate office for allowing this show to happen, where I discuss the red cup controversy with Starbucks employees and customers.

Hacker Public Radio
HPR1897: Installing Windows 7 Ultimate is my blog so feel free to check me out there.

November 09, 2015

Hacker Public Radio
HPR1896: User Local Software
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.

November 06, 2015

Phone Losers
Live Post Halloween Show
Default Cecil sponsors today's live show, and it is 100% his fault that I played Jewel's Foolish Games at least a dozen times in 2.5 hours. Luckily for you podcast listeners, I've cut most of that all out so I don't get sued. Thanks, Incognetoe and Aussie Jack for the numbers I called in this show. I don't really hate them as much as I seem in this show. Just a little.

Hacker Public Radio
HPR1895: 65 - LibreOffice Impress - OLE Objects, Spreadsheets, and Charts
The next topic we want to cover involves something called OLE, which stands for Object Linking and Embedding. This was developed by Microsoft, but has spread to the free software world as well. What it means is that you can use data from two different programs together, and changes made in place are automatically reflected in the other place. A great example comes with spreadsheets, since you create them in a spreadsheet program like Calc, but you might want to take a table created there and put it into a slide to display. For more go to Links

November 05, 2015

Hacker Public Radio
HPR1894: Interview with Davide Zilli and Dr Marianne Sinka of the HumBug Project
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. 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

November 04, 2015

The Linux Link Tech Show
The Linux Link Tech Show Episode 632
docker, registry services, ubuntu 15.10, redhat, chromeos, android

The Linux Link Tech Show
The Linux Link Tech Show Episode 633
debian, ubuntu derivates, couchbase, ordering services, zaman drive enclosure

Hacker Public Radio
HPR1893: My LastPass Alternative
My LastPass Alternative Password Database: KeePass KeePass client is in the fedora repos. Save file to a location that will be synced between devices. Im my case Owncloud. Desktop Client syncs available for Linux, Windows and Mac. Mobile clients for Android, IOS, and even blackberry. Syncing note: I do not launch the desktop client on login. This allows the owncloud client to sync files before launching keepass. Also, I exit keypass before logging out for the same reason. For integration with browser, there are Firefox: Passifox Chrome: chromeIPass Android:; And finally when on machines I don't control: Remote Access: Browser Pass On same server with ownlcloud, can open files

Link to us! is provided by:
Binary Revolution | Infonomicon Computer Club