Polls

Do you GNU?

View Results

Loading ... Loading ...

QSK Episode 9: Show Notes

OwnCloud and WebDAV
OwnCloud
  • http://owncloud.org
  • Requires a Web server like Apache or nginx
  • Needs PHP support
  • In nginx, this is handled through FastCGI
  • Native support is available in packages for Debian, Fedora, etc.
  • Easy-to-read installation instructions for standard installs
  • http://owncloud.org/support/setup-and-installation/linux-server/
  • Can be installed on Windows and MacOS X as well
  • Supports file sharing via the Web
  • Has built-in shared document editor (Google Docs)
  • Has built-in media player
  • Purported to be a Dropbox and Google Docs killer, or perhaps a proprietary cloud services killer
  • Most important piece of this puzzle is WebDAV and CalDAV
 WebDAV (and CalDAV)
  • DAV = Distributed Authoring and Versioning
  • WebDAV = DAV for the WWW
  • CalDAV = DAV for calendar access
  • In a nutshell, DAV is an extension of HTTP which allows for write as well as read access
  • It’s a well implemented standard defined in RFC 4918. It is supported in some manner on all operating systems.
  • Windows
  • Support for WebDAV shares is built in, but only for Windows Vista and Windows 7. Windows 7 support is a bit flaky. I found help on getting it to work for me here:
  • http://shon.org/blog/2010/03/04/howto-fix-windows-7-64bit-webdav/
  • The important bit is the registry change. Once done, WebDAV shares worked perfectly on my system.
  • MacOS X
  • I tried this using Leopard (10.5) and Snow Leopard (10.6)
  • No matter what I tried, shares were read-only. Not good.
  • Third-party client called Cyberduck allowed me to access my OwnCloud via WebDAV. Not elegant, but usable.
  • http://cyberduck.ch/
  • Linux
  • I use Debian systems, including LMDE. YMMV when it comes to Fedora, RH, CentOS, Gentoo, Arch or other non-Debian systems.
  • GNOME 2 (and presumably 3) has built-in support for WebDAV shares via Nautilus.
  • Go to Places, select Connect to Server.
  • Select WebDAV or Secure WebDAV depending on whether or not you have set up your OwnCloud with http:// or https:// via your Web server.
  • Enter the server name in the appropriate field.
  • Under Folder enter “/files/webdav.php”
  • Create a bookmark if you wish.
  • Voila. You should now have a WebDAV share with RW access on your desktop and in your Places dropdown menu.
  • A slightly more elegant solution for my purposes was to use davfs2. You can install this on Debian systems (including Ubuntu) with a simple “apt-get install davfs2″
  • This allows you to create WebDAV mounts on your filesystem by including them in your /etc/fstab file.
  • (Explain fstab procedure including davfs2.conf, turning locking off, and the secrets file)

QSK Episode 8: Show Notes

Here is the link to the video of this talk from SELF 2011. The video is also embedded from YouTube.

http://www.youtube.com/watch?v=UmTdQco9VYg

QSK Episode 7: Show Notes

No show notes for this episode.

QSK Episode 6: Show Notes

My talk at the Ohio Linux Fest 2010 entitled “The Origin of Open Source.” You can find the slide deck here.

QSK Episode 5: Show Notes

No show notes for this one, all. The content is pretty self explanatory.

QSK Episode 4: Show Notes

AM vs. FM
  • Carrier Wave (Carrier)
  • In telecommunications, a carrier wave, or carrier is a waveform (usually sinusoidal) that is modulated (modified) with an input signal for the purpose of conveying information. This carrier wave is usually of much higher frequency than the input signal. The purpose of the carrier is to transmit the information through space as an electromagnetic wave.
  • Amplitude Modulation
  • Carrier Wave is modified by varying amplitude based on the volume and pitch of the input signal
  • Power inefficient (2/3rds lost to Carrier Wave)
  • Transmits two sidebands of equal bandwidth, which are mirror images of each other
  • Power can be enhanced by eliminating one sideband (SSB)
  • Power can further be enhanced by suppressing carrier power
  • When the carrier is missing, a BFO (beat frequency oscillator) must be used to recreate it on the receiving end
  • Frequency Modulation
  • Carrier Wave is modified by varying frequency based on the volume and pitch of the input signal
  • Requires wider signal bandwidth than AM
  • More resistant to noise and interference
  • Better sound reproduction
  • Because FM has wider bandwidth it was used for high fidelity FM radio (really VHF radio)
  • Lower frequency AM radio signals may propagate at night due to F-layer skip
  • Frequency and transmission mode do not correlate
  • Other modes are possible:  SSB, F (or P) SK, CW (Morse Code)
  • Communication proven from below 9kHz to above 10GHz

QSK Episode 3: Show Notes

Handicapped Parking
  • Scope (Missouri)
  • Benefits
  • Problems
  • Stairs, Landings, Ledges, Curbs
  • Ramps (Placement, Missing)
  • Door Width (36″+)
  • ADA (Americans with Disabilities Act) and Grandfathering
  • Abuses
  • Teenagers at the Mall
  • Evil Eyes of the Elderly
  • Ramps and Crosshatches
  • Vehicle Spacing
  • Confrontations
  • Enforcement
  • Legalities
Relevant Missouri Statutes
301.141.  1.  Fraudulent procurement or use of disabled-person license plates or windshield placards shall be a class B misdemeanor.
2.  Any physician or other health care practitioner authorized to issue a physician’s statement or certificate to enable persons to obtain disabled license plates or windshield hanging placards pursuant to section 301.142 who issues, signs, or furnishes such statement or certificate to any person who does not meet one or more of the conditions set forth in subsection 1 of section 301.142, if there is no basis for the diagnosis given, or who issues, signs, or furnishes such statement for a condition, the diagnosis of which is outside the scope of such health care provider’s license, is guilty of a class B misdemeanor.
301.142.  1.  As used in sections 301.141 to 301.143, the following terms mean:
(4)  “Physically disabled”, a natural person who is blind, as defined in section 8.700, RSMo, or a natural person with medical disabilities which prohibits, limits, or severely impairs one’s ability to ambulate or walk, as determined by a licensed physician or other authorized health care practitioner as follows:
(a)  The person cannot ambulate or walk fifty or less feet without stopping to rest due to a severe and disabling arthritic, neurological, orthopedic condition, or other severe and disabling condition; or
(b)  The person cannot ambulate or walk without the use of, or assistance from, a brace, cane, crutch, another person, prosthetic device, wheelchair, or other assistive device; or
(c)  Is restricted by a respiratory or other disease to such an extent that the person’s forced respiratory expiratory volume for one second, when measured by spirometry, is less than one liter, or the arterial oxygen tension is less than sixty mm/hg on room air at rest; or
(d)  Uses portable oxygen; or
(e)  Has a cardiac condition to the extent that the person’s functional limitations are classified in severity as class III or class IV according to standards set by the American Heart Association; or
(f)  A person’s age, in and of itself, shall not be a factor in determining whether such person is physically disabled or is otherwise entitled to disabled license plates and/or disabled windshield hanging placards within the meaning of sections 301.141 to 301.143;
15.  At the time the disabled plates or windshield hanging placards are issued, the director shall issue a registration certificate which shall include the applicant’s name, address, and other identifying information as prescribed by the director, or if issued to an agency, such agency’s name and address.  This certificate shall further contain the disabled license plate number or, for windshield hanging placards, the registration or identifying number stamped on the placard.  The validated registration receipt given to the applicant shall serve as the registration certificate.
14.  The placard shall be renewable only by the person or entity to which the placard was originally issued.  Any placard issued pursuant to this section shall only be used when the physically disabled occupant for whom the disabled plate or placard was issued is in the motor vehicle at the time of parking or when a physically disabled person is being delivered or collected.  A disabled license plate and/or a removable windshield hanging placard are not transferable and may not be used by any other person whether disabled or not.
27.  Fraudulent application, renewal, issuance, procurement or use of disabled person license plates or windshield placards shall be a class A misdemeanor.  It is a class B misdemeanor for a physician, chiropractor, podiatrist or optometrist to certify that an individual or family member is qualified for a license plate or windshield placard based on a disability, the diagnosis of which is outside their scope of practice or if there is no basis for the diagnosis.
301.143.
4.  Any person who parks in a space reserved for physically disabled persons and is not displaying distinguishing license plates or a card is guilty of an infraction and upon conviction thereof shall be punished by a fine of not less than fifty dollars nor more than three hundred dollars.
6.  Any person who, without authorization, uses a distinguishing license plate or card issued pursuant to section 301.071 or 301.142 to park in a parking space reserved under authority of this section shall be guilty of a class B misdemeanor.
American Heart Association Cardiac Guidelines
Class I. Patients with cardiac disease but without resulting limitation of  physical activity. Ordinary physical activity does not cause undue fatigue, palpitation, dyspnea or anginal pain.
Class II. Patients with cardiac disease resulting in slight limitation of physical activity. They are comfortable at rest.  Ordinary physical activity results in fatigue, palpitation, dyspnea or  anginal pain.
Class III. Patients with cardiac disease resulting  in marked limitation of physical activity. They are comfortable at rest. Less than ordinary activity causes fatigue, palpitation, dyspnea or anginal pain.
Class IV. Patients with cardiac disease resulting in inability to carry on any physical activity without discomfort.  Symptoms of heart failure or the anginal syndrome may be present even at rest.  If any physical activity is undertaken, discomfort increases.
Punishment for Crimes by Missouri Statute
Class A Misdemeanor:  Up to $1000 fine and 6-12 months in prison
Class B Misdemeanor:  Up to $500 fine and 30 days to 6 months in prison

QSK Episode 2: Show Notes

MP3 vs. OGG

  • Software Patents
  • Individual countries where patents apply:
  • Japan, China, India, United States
  • Group countries with patent offices:
  • European Union
  • Questions occur when the definition of “non-obviousness” is questioned
  • PNG developed to avoid GIF patents
  • OGG developed to avoid MP3 patents
  • Patent Pledges (agreements to not enforce patents on free/open source projects)
  • Royalty-free patents (Apple, Nokia, Novell, Red Hat, etc.)
  • 150,000+ software patents
  • Patent Trolls (Intellectual Ventures, Acacia Technologies)
  • Anti Patent-Troll Troll (Open Innovation Network)

OGG

  • Started in 1994 by Chris Montgomery
  • Founder of Xiphophorus and Xiph.Org
  • Allegedly patent free
  • BSD Licensed
Copyright (c) <year>, <copyright holder>
All rights reserved.Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • Container format
  • Vorbis is audio codec (.oga or .ogg)
  • Theora is video codec (.ogv)
  • Multiplexed audio/video (.ogx)
  • Speex -> Highly lossy speech compression codec
  • FLAC -> Free Lossless Audio Codec (Josh Coalson)
  • OggPCM -> Lossless, Pulse Code Modulation (Alec Reeves, 1937) in OGG container

MP3

  • MPEG-1 or MPEG-2 Audio Layer 3
  • Moving Picture Experts Group
  • Finalized in 1993
  • Fraunhofer Society, University of Hannover, AT&T-Bell Labs, Thomas Brandt, CCETT
  • Thomson Multimedia claims current patents
  • Alcatel-Lucent claims ownership of previous AT&T-Bell Labs patents
  • MP3 should be patent free sometime between 2012 and 2017
  • Lossy

Decoding:

Additionally, patent holders declined to enforce license fees on free and open source decoders, which allows many free MP3 decoders to develop. Thus, while patent fees have been an issue for companies that attempt to use MP3, they have not meaningfully impacted personal use.

Encoding:

  • http://www.mp3-tech.org/patents.html
  • http://www.mp3licensing.com/
  • http://www.mp3licensing.com/royalty/emd.html

QSK Episode 1: Show Notes

Attached to this post you will find two of the pictures I took that show how the movie windows look when Devil’s Pie is applied. Sorry that they are a little bit grainy as they were taken with my iPhone (no flash) in a darkened room.

You can find the Devil’s Pie application in many distributions. For Debian, Ubuntu and other .deb based distributions, you may install using:

apt-get install devilspie

For Red Hat, Fedora, OpenSuSE and other .rpm based distributions:

yum install devilspie

Find the source code and revision history for Devil’s Pie here:

  • http://burtonini.com/blog/computers/devilspie

Find the GTK GUI configuration tools here:

  • http://code.google.com/p/gdevilspie

You may run Devil’s Pie at the command line, but the recommended way is to put it as a startup application. In Ubuntu, use the System menu, go to Preferences and then Startup Applications. Use /usr/bin/devilspie as the application. Call it something meaningful.

Here is the s-expression code for my xmbc.ds file which is located on my system in /etc/devilspie. You can also use ~/.devilspie as a directory for your .ds files if you just want them to work for your specific login.

/etc/devilspie/xmbc.ds:
(if
  (contans (application_name) "xbmc")
     (geometry 1180x720+49+49)
     (undecorate)
  )
)

There are many other options you can specify in Devil’s Pie. You can have any number of combinations based on single applications, or you can use a globalized configuration if you have a .ds file which excludes (if) statements.

Other Devil’s Pie Options

  • (center) - Center a window in your desktop
  • (focus) - Give a window focus upon initial draw
  • (below) - Open a window below other windows
  • (fullscreen) - Make a window fullscreen
  • (opacity x) - Set opacity to x (0 - 100)
  • (pin) - Pin a window to all workspaces
  • (set_workspace x) - Open window on workspace x
  • (maximize) - Maximize
  • (minimize) - Minimize
  • (debug) - Enable debugging