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

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


Latest Shows


hpr1563 :: Starting Programs at boot on the Raspberry Pi

Hosted by MrX on 2014-07-30 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Comments (0)

How I start programs at boot on my Raspberry Pi. Below is a copy of the /etc/rc.local file I use on my raspberry pi.

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

################## Added by MrX 28/12/12, ############################################################
#  V1, 21/03/14, titied up script, added explination, run didiwiki and got detached screen working at boot

# items are run in a subshell enclosing command in ( and )
# the commands are terminted with a & to run as background task
# by default programs are run as root if this is not required "su" is used to switch user to pi
# becuse each program is run as a subsheel they all run in parallel this is why the sleep
# command is needed, each sleep command must be longer than the sum of the sleeps before
# which ensures the commands are run in sequence and not together
# exit 0 was from the original file to ensure the file exited with status 0
# if the script doesn't exit with status 0 then the pi will not fully boot


# At boot fources audio aoutput to headphones socket (Analogue output)
# from magpie magazine pdf, issue 3 page 4
(sleep 1; /usr/bin/amixer cset numid=3 1) &


# At boot run the command didiwiki as user pi, listening on IP 192.168.1.13 port 8000
(sleep 3; su pi -c "/usr/bin/didiwiki -l 192.168.1.13 -p 8000") &


# run a detached screen session at boot
(sleep 6; su pi -c "cd /home/pi ; /usr/bin/screen -dmS pi-debian -c /home/pi/.screenrc.multiwin") &

exit 0

hpr1562 :: Android For The cli/c Junkie


Hosted by sigflup on 2014-07-29 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Comments (0)

These are the places your sdk/ndk/ant goes:

/usr/local/share/android-ndk-r9d
/usr/local/share/android-sdk-linux
/usr/local/share/ant

This is an archive of /usr/local/share/android-sdk-linux/bin, which is the directory you create.
http://theadesilva.com/hpr_bin.tar.gz

This is what /etc/profile.d/android.sh looks like:

export ANT_HOME=/usr/local/share/ant
export JAVA_HOME=/usr/
export PATH=$PATH:/usr/local/share/android-sdk-linux/bin:$ANT_HOME/bin

here's the example app:
http://theadesilva.com/pants.tar.gz
uncompress it and type "make", that produces app.apk to run on your device.


hpr1561 :: How I got into Accessible Computing

Hosted by Mike Ray on 2014-07-28 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Comments (0)

Accessibility tools for the visually impaired

A short explanation of how I personally got involved with accessible computing, a definition of the term 'accessible' as it is applied to anything in relation to persons with physical or cognitive impairment, and very short list of the most commonly used adaptive tools to improve accessibility to Windows and Linux.

Windows

Linux

  • The Orca screen-reader: https://help.gnome.org/users/orca/stable/
  • The brltty refreshable Braille display driver: http://mielke.cc/brltty/
    brltty has to be the most impressive example of well-documented Open Source.
  • Debian Accessibility: https://www.debian.org/devel/debian-accessibility/
    Debian has a fully accessible installer. I have installed Debian 7.4 from the net install CD ISO image. The installer is text-based and presents no problem for even the totally blind.
    See the Debian Accessibility page linked to above.
  • Ubuntu Accessibility: https://help.ubuntu.com/community/Accessibility The Ubuntu 'Ubiquity' graphical installer is totally accessible. Installing from a live CD or DVD image is simple. See the page linked above.
  • Vinux (an Ubuntu variant which is accessible out-of-the-box): http://vinuxproject.org/ This is an Ubuntu variant which comes up talking from the first. Not only is the installer accessible, but considerable attention has been paid to including only applications which are accessible on the CD and DVD images. Applications which are either inaccessible or which simply have little or no relevance to the visually impaired are excluded.
  • Talking Arch: http://talkingarch.tk/ Chris Brannan created an accessible ISO image of Arch Linux.
    This uses the speakup console-mode screen-reader to provide a way of installing Arch Linux for the visually impaired. Console-mode only, but providing a great starting-point. I have tried various desktops on top of this installation, including mate, LXDE and others.
    Talking Arch is now maintained by a couple of names which will be familiar to the Linux VI community; Kyle and Kelly. Erm...embarassingly I can't find their last names right now.

Mike Ray. June 2014




hpr1558 :: Lunch Breaks


Hosted by Christopher M. Hobbs on 2014-07-23 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Comments (3)

Back after a year of HPR silence, I'll talk a little about how I like to spend my lunch breaks and how you can explore your workplace. Put down those tater tots, we're going on an adventure!

In this episode I'll give some information about my lunch history, ways you can maximise your time, gear you'll need to start short stealth/urban exploration, techniques for finding places to explore, and ways to handle being spotted.

If this goes well enough and the audio isn't too garbled, I'll record episodes for the "How I Got Into (GNU) Linux" series.

Here are a few links related to the episode. Note that I link to Amazon and Google. I don't necessarily condone or endorse either service, I just didn't know of any better sources for product information.

Links

Sample sit pads:


hpr1557 :: Encrypting E-mail on Android; Importing Keys


Hosted by Ahuka on 2014-07-22 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Series: Privacy and Security | Comments (0)

We have looked at e-mail encryption on both Thunderbird and G-Mail, and that is good, but in 2014 a lot of people use mobile phones and tablets for their e-mail. So it makes sense to look at how we can do this. The solution I am going explore here involves two components, the K-9 Android mail client, and APG, the Android Privacy Guard. I am going to stick to what I know, so if you are looking for help with iPhone or iPad, the best I can do is suggest that you try a Google search. On Android, while many people use Gmail, K-9 is a very popular client for people looking for a more traditional POP3 or IMAP client to handle their e-mail needs. So this should be a good solution for many people. As regards APG, I am not aware that anyone has done an audit of this program. It seems to be the most widely recommended, and is probably OK, but I am making no larger claims for it. - For more go to http://www.zwilnik.com/?page_id=602

Links:


hpr1556 :: Screenplay Writing On Linux and Chromebooks

Hosted by Thistleweb on 2014-07-21 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Comments (0)

Writing screenplays for TV or movies is a very precise thing. The industry expects a standardised style and format. ThistleWeb explores a couple of dedicated screenplay writing solutions. Both are dedicated applications that do one job and do it very well. The first is Trelby. It's a GPL cross platform application. It has lots of additional features such as auto completion of character names, summaries and stats.

The second application is a cloud service called Raw Scripts. It's a Chrome extension although I think that's just a link to the site. You log in with a Google or Yahoo account. It's like a dedicated Google Docs web app. It does most of the things Trelby does. It also exports to Google if you want. You can share and collaborate with Raw Scripts. It's hosted on their server, although it's AGPL going forward, so it shouldn't be long before you can host it on your own server.

I've just started to explore screenplay writing as a writing skillset. Both of these applications make the styling and formating incredibly easy, allowing me to concentrate on the actual story.

Links:


hpr1555 :: 33 - LibreOffice Calc - Creating Charts


Hosted by Ahuka on 2014-07-18 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Series: LibreOffice | Comments (0)

In creating a chart or graph you have a number of options that can make your chart easier to read and understand. In this episode we look at these options and explain what each of them does.


hpr1554 :: 07 - The Crown Conspiracy

Hosted by HPR_AudioBookClub on 2014-07-17 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Series: HPR_AudioBookClub | Comments (1)

SPECIAL ANNOUNCEMENT HPR_AudioBookClub SNEAK PREVIEW!!! Sometime in the not-too-distant future we'll be reviewing Street Candles by HPR's very own David Collins Rivera (aka Lostinbronx). Street Candles is not finished yet, but is available via RSS and Lostinbronx publishes a new episode each week. This book is excellent, and you'll want to say you were there to see it happen. Head over to LNB's site for all the details http://www.cavalcadeaudio.com/ and remember to subscribe to his RSS feed:

In this episode, the HPR_AudioBookClub reviews The Crown Conspiracy by Michael J. Sullivan. This book received thumbs up from all of this month's participants. You can download this audiobook for free (or voluntary donation) from http://podiobooks.com/title/the-crown-conspiracy/ and it's also available in paperback on Amazon: http://www.amazon.com/Crown-Conspiracy-Michael-J-Sullivan/dp/0980003431 . You can find more content (including podcasts) from Michael J. Sullivan http://riyria.blogspot.com/ Many of his books are also available in paper and ebook editions on amazon.com.

As usual, during this episode of the AudioBookClub the hosts have each reviewed a beverage of their choice. Morgellon drank a Bourbon and soda, but not during the show because he was driving. He recommends both Woodford Reserve http://www.woodfordreserve.com/ and Evan Williams Bourbons http://www.evanwilliams.com/ x1101 drank Wild Turkey 101 proof Bourbon http://wildturkeybourbon.com/ pokey drank a cup of Oolong tea. It was probably a little stale, but pokey is a knuckle dragger, so he didn't notice at all. http://www.foojoyteas.com/teabag.php . This was the first time that pokey has reviewed an NA beverage for the AudioBookClub, so we apologize if the show has suffered because of it. Thaj won the Non-Alcoholic division hands down with a glass of fresh squeezed lemonade. Colin couldn't make it to this recording because of time zone differences, but he did write in. I'll add his note to the episode comments. Please add your own comment as well. His beverage however was an Innis and Gunn Original http://www.innisandgunn.com/the-range/core-range/original/ to which he gives his thumb up.

Our next audiobook will be How to Succeed in Evil: The Novel by Patrick E. McLean http://podiobooks.com/title/how-to-succeed-in-evil-the-novel/ (not to be confused with How To Succeed in Evil: The Original Podcast Episodes by Patrick E. McLean) This book was suggested by Morgellon. Our next book club recording will be 2014/06/10T23:00:00+00:00 (https://en.wikipedia.org/wiki/ISO_8601#Times)

There are several ways to submit feedback for this episode including the HPR mail list hpr@hackerpublicradio.org, and the episode's comment section Morgellon is reachable via twitter @lowtekmorgellon or email morgellon@gmail.com x1101 can be reached via twitter @x1101, StatusNet @x1101/micro.fragdev.com and email x1101@gmx.com Thaj can be reached by email thajasara@gmail.com pokey prefers his feedback to come via the HackerPublicRadio comment system, but is also usually available on StatusNet @pokey/micro.fragdev.com

Please remember to visit the HPR contribution page. We could really use your help right now. http://hackerpublicradio.org/contribute.php

We had a great time recording this show, and we hope you enjoyed it as well. We hope you'll consider joining us next time. Thank you very much for listening.

Sincerely, The HPR_AudioBookClub

P.S. Some people enjoy finding mistakes. For their enjoyment, we have included a few.