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

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


Help 5150

We are a podcast community looking to help out a friend in need. Recently, our friend, 5150, lost his home that he shares with is father to a house fire. Both were able to make it out ok, but he is in the hospital with 2nd degree burns. His father is elderly and has been moved to assisted care while he is recovering.

We are looking to help 5150 get back on his feet. Our aim is raise $10,000 to help him and his father out. Please help contribute anything you can. We would also like to you share out this campaign to your Facebook, Twitter and Google+ accounts to help spread the word and help us reach this goal.

Thank you for all your support.

SUPPORT NOW

Latest Shows


hpr1579 :: Crowd Sourced Air Quality Monitoring

Klaatu interviews a programmer about new crowd-sourced air quality detection systems

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

Klaatu interviews a programmer about new crowd-sourced air quality detection systems. Big crowds at this Carnegie Melon event, so the sound quality is not great.

Links

CMU CREATE Lab

hpr1578 :: AudioBookClub-08-How to Succeed in Evil:The Novel

The HPR_AudioBookClub reviews How to Succeed in Evil: The Novel by @PatrickEMcLean.

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

In this episode, the hackerpublicradio.org Audiobook Club reviews How to Succeed in Evil: The Novel by Patrick E. McLean.

Three out of four of us liked this book, and we all had some good things to say about it. While it's true that this is an entertaining story set in a super hero world, we found it it more amusing and more thought provoking than your average super hero story.

As usual, during this episode of the AudioBookClub the hosts have each reviewed a beverage of their choice.

Our next audiobook will be Down and Out in the Magic Kingdom by Corey Doctorow http://podiobooks.com/title/down-and-out-in-the-magic-kingdom/ Our next book club recording will be 2014/07/15T23:00:00+00:00 (https://en.wikipedia.org/wiki/ISO_8601#Times) If you'd like a Google calendar invite, or if you'd like to be on the HPR_AudioBookClub mailing list, please get in contact with us on the HPR mailing list 'hpr at hackerpublicradio dot org'

There are several ways to submit feedback for this episode including the HPR mail list hpr@hackerpublicradio.org, and the episode's comment section

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.


hpr1577 :: Introducing Nikola the Static Web Site and Blog Generator

I explain how to use the Nikola Static Web Site and Blog Generator to make a simple site with a page

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

Nikola - The Static Web Site and Blog Generator - http://getnikola.com

Note: Please see developer notes below

What is it? A Static Website and Blog Generator based on Python.
What is a Static Website Generator? It generates posts and pages via commands. You edit those posts and pages in a text editor, then run a command to build the site, and finally, deploy/upload the generated html etc files to your webhost.
That sounds kinda old school are you sure thats web 3.0? Its old and new school. Nikola gives you CMS like features without the overhead of the database server and page rendering engine.
How can I install it? Use PIP and follow the handbook on the getnikola.com website. NOTE: Python 2.6 or newer or Python 3.3 or newer is required

sudo pip install nikola
sudo pip install nikola[extras]

You should be good to go if you can enter nikola help in a terminal and get a list of nikola commands.
Lets create our skeleton website:

nikola init mysite 

You will need to answer some questions now (NOTE a directory to cd into called mysite will be created if you issue mysite.. You should enter your domain name instead - mysite is just an example).
The questions it asks will help populate the conf.py file in the mysite directory.

Site Title: 
Site Author:
Site Author Email:
Site Description:
Site URL:
Languages to support: (default en)
Time zone: 
Which comments system to use:

Once complete your site will be created and in the directory you named the site as - in my case, mysite.
cd into that and take a look at the files with ls.
you will have:

  • conf.py - your configuration file
  • files - where you will place images etc and reference them in blog posts and pages
  • galleries - where you can serve up images in a gallery
  • posts - where your blog posts go
  • stories - where your pages go

Lets create a blog post.

nikola new_post

Type in the title of your blog post and hit enter. I will use foobar in this example
It will report the new post is in posts/foobar.rst
fire up your text editor and edit that file.

There is a header area at the top of the file - most of it is already filled in and you wont need to change it but you should add a Tag because you can see posts by Tag once the site is generated and it gives your readers a way to find all items on that subject. These are separated by commas so enter as many or few as you like. Enter a Description in the Description area.
Now move into the Write your post here area and go to town - erase that or it shows up in your post.
You should read the page on ReStructuredText here: http://getnikola.com/quickstart.html but also just look at the Source by clicking Source on the getnikola website and you can see the markup they used. Some basics are *word* for italics, word for bold, a single * space item for bullet points and for hyperlinks `Tree Brewing Co: <http://treebeer.com/>`_. a Tree Brewing Co hyperlink which will bring you when clicked to treebere.com. Lastly issue: .. image:: /files/imagefilename.jpg to point to an image file that you have placed into the files directory.
Ok lets say you are done your post, save it and exit. Lets now build your site and fire up the built in webserver to display it.

nikola build
nikola serve -b

Your default web browser will launch and you will see your site with blog post. Savour the moment - you have just created your first blog post. Note all the generated files you would upload to your webhost are in the output folder.
Ok so thats great but I want to add pages and have it in my navigation window Ok lets do that.

nikola new_post -p
Enter a name for it and press Enter. In my case I created MyPage

It tells you your page is in the stories directory and shows you how it named the file. In my case its mypage.rst
Open that in a text editor and compose the page - save it when complete.
So that would be great but its not showing up in your navigation yet. You need to put that in your conf.py file.
Open conf.py in a text editor, look for NAVIGATION_LINKS. Observe how the existing pages are linked and follow that format. Here is how I would add mypage: (/stories/mypage.html, MyPage), any page you create will show up in stories so dont forget to put that in the path.

NAVIGATION_LINKS = {
    DEFAULT_LANG: (
        ("/archive.html", "Archive"),
        ("/categories/index.html", "Tags"),
        ("/rss.xml", "RSS feed"),
        ("/stories/mypage.html", "MyPage"),
    ),
}

Save that and rebuild your site.
NOTE:: As of Today Nikola v7.0.1 requires a special command to include the new pages in navigation. This has been fixed in git but currently you must issue:

nikola build -a
nikola serve -b 

Now you are viewing it - nice work - you have a page now.
This site seems a bit plain, how can I theme it? Glad that you asked - issue this command.

nikola bootswatch_theme -n custom_theme -s slate -p bootstrap3

Now you have set it to use the slate bootswatch theme. Review the bootswatch themes on: http://bootswatch.com/
In order to let Nikola know to use this new theme you need to edit the conf.py file and look for THEME and change the value from bootstrap3 to custom_theme.
Now issue these commands at the command line to view the changes:

nikola build
nikola serve -b 

You can modify the themes to your liking and there is guidance on changing the theme on the nikola website.
There are ways to depoly your site via rsync or ftp commands in the conf.py file. There are also other things you can set in the conf file such as google analytics, add an embeded duckduckgo or google search engine, specify options for the image galleries etc.
More things you can do to spify up your posts / pages are to do with using shortcode like sytax for ReStructuredText. You can embed soundcloud, youtube videos etc - here is a list of these: http://getnikola.com/handbook.html#restructuredtext-extensions

I hope this helps you get started on using Nikola and hope you enjoy using it as much as I do. If you have questions or comments, find me in the oggcastplanet.net irc chat room on freenode, or go to http://stevebaer.com click Tags and click HPR and leave a comment on this episodes blog post. Until next time, Cheers!

Corrections to this episode provided by Chris Warrick

http://stevebaer.com/posts/hpr-episode-on-using-the-static-web-site-and-blog-generator-called-nikola.html

Some small corrections:

  1. it is recommended to use a virtualenv, `sudo pip` can be dangerous
  2. `pip install nikola[extras]` is enough, no need to do both steps
  3. new pages can be created with `nikola new_page`, too (both ways are equally supported)
  4. missing quotes around "MyPage" in example navbar code Fixed
  5. you can get rid of /stories/ if you change PAGES[*][1] from "stories" to an empty string.
  6. bootswatch themes are not everything, there is also install_theme that uses a more varied collection from http://themes.getnikola.com/

hpr1576 :: How I got into Linux

This is my story about how I got into computers, computing and GNU/Linux.

Hosted by Inscius on 2014-08-18 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Series: How I Found Linux | Comments (0)

Short Summary: This is my story about how I got into computers, computing and GNU/Linux.

Links:


hpr1575 :: 35 - LibreOffice Calc - Introduction to Functions

Introduction to working with functions in LibreOffice Calc


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

In this episode we review what a function is, discuss the different types of functions available in LibreOffice, discuss the concept of arguments in mathematics, and present a general process for using functions in Calc.

Links:


hpr1574 :: Arts and Bots

robots and programming in liberal arts classes

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

Klaatu interviews a teacher about the use of robots and programming in liberal arts classes. Big crowds at this Carnegie Melon event, so the sound quality is not great.

Links

CMU CREATE Lab

hpr1573 :: Make your own t-shirt with bleach

Making T-shirts with bleach and freezer paper


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

Making T-shirts with bleach and freezer paper

links

be sure to check out side bar at /r/bleachshirts for more tutorials


hpr1572 :: An Open Source News Break from Opensource.com

Fedora Scientific, pharmaceutical research, Apache Open Climate workbench.

Hosted by semioticrobotic on 2014-08-12 and released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. Series: NewsCast | Comments (0)

In this episode: The new Fedora Scientific Spin, open source approaches to pharmaceutical research, and the Apache Open Climate workbench.

Links:


hpr1571 :: Yahoo Mail Forwarder

Build, configure and deploy a self maintaining Yahoo mail forwarding virtual client.


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

Build, configure and deploy a self maintaining Yahoo mail forwarding virtual client.
Needed

  • VirtualBox
  • Fedora 20 LXDE/32Bit iso file.
  • Virtual Hosting Server (currently using VirtualBox, phpVirtualBox with a Centos6 host).
  • Yahoo Account
  • IMAP capable email account for delivery.

Since it will be virtual, isolated, single purpose machine, Security is minimal.

Step by step instuctions at http://james.toebesacademy.com/YahooMailForwarder.html

  1. Build VM
  2. Configure Applications and AutoStart
  3. Configure Mail Forwarding
  4. Configure Automatic Maintenance
  5. Test
  6. Deploy to Virtual Server.

Known Issues:

Occasionally bulk forwards spam folder....

Let me know your thoughts and if you want to hear more about my home server configuration.