Archives 2005 - 2019    Search

Wireless microphone options for video presentations

published Aug 18, 2014 10:55   by admin ( last modified Aug 18, 2014 11:02 )

I am currently researching wireless microphones for video presentations. I considered lavalier type microphones, which you clip on to your clothing, but decided to go for the earmic type, where the microphone is mounted on a wire around your ear.

To me the earmic seems to be in a position that is more predictable than clipping a lavalier mic onto whatever clothing you may be wearing at the moment. Ear mics may possibly pick up smacking and hissing from your mouth as you are talking to a larger degree than a lavalier type mice would, but I will take that risk. A lavalier type microphone also has the problem of picking up noise as it scratches towards your clothes.

These ones I've found interesting so far:

AKG WMS 40 Mini Earmic ISM3 - Thomann UK (~ €100)
the t.bone TWS Headset 863 MHz - Thomann UK (~ €100)
the t.bone TWS One C Headset - Thomann Sverige(~ €50)


t.bone is Thomann's own brand, apparently AKG compatible on the mic connector side. The AKG seems to have better sound quality

A video report on two of the units listed above, including the AKG (in German): Link - Mit Nackenbügelmikrofon aufnehmen - YouTube


Getting Skype to work again in Linux

published Aug 13, 2014 02:56   by admin ( last modified Aug 13, 2014 02:56 )

If you are on Skype 4.2, it has stopped working on Linux. You will not get an upgrade message, just a cryptic "Can't connect" message. The recommended solution is to upgrade to 4.3, which is supported by Microsoft. However that alone did not work for me, even when uninstalling the old version with "purge" (getting rid of old config files).

 

I also needed to delete the hidden Skype folder in my home directory:

 

First get rid of the old skype from repo: sudo apt-get purge skype Second, delete your ~/.Skype folder rm -R ~/.Skype


Read more: Link - Skype can't connect - Ask Ubuntu


Tip on masking tape when painting

published Aug 05, 2014 02:45   by admin ( last modified Aug 16, 2014 07:37 )

Basically when painting in two colours with masking tape, after you have done the masking over the "Base" colour, paint the base colour again on the non masked areas where you want the accent colour, let it dry an apply the accent colour. In this way the base colour will bleed under the tape, and seal and prevent bleeding from the accent colour.

 

The base is the color that's under the tape. Doing it this way lets that color bleed under the tape, but you won't see it because that's what color that part of the wall already is.


Read more: Link - icaruscoil comments on We painted our bedroom orange and grey, and threw up a neat wall pattern. No more boring brown walls.

 

masking, maskeringstejp, painting, måla, måleri


Discussion on avoiding spam in comments

published Jul 30, 2014 03:02   by admin ( last modified Jul 30, 2014 03:02 )



I run a custom-designed and developed system on my webforms. While the implementation is typically specific to a site, CMS, forms plugin, or what have you, the concepts behind it are general enough to be applied anywhere you have a form. It doesn't prevent 100% of spam, but by targeting the primary behaviors spambots use it prevents the majority of spam on web forms. There's two basic behavior-blocking elements at play in it:


Read more: Link - Strycken1 comments on Your users deserve better than Disqus


Skriv på bästa amerikanska

published Jul 23, 2014 12:04   by admin ( last modified Jul 23, 2014 12:04 )

Assisterar med att ta bort passivum, använda verb istället för adverb med mera, i engelska språket.

 

 


Read more: Link - Hemingway


A handbook on how to build trust and topple dictators

published Jul 12, 2014 06:05   by admin ( last modified Dec 17, 2014 06:45 )

Written by Gene Sharp. Can be downloaded here: http://www.aeinstein.org/wp-content/uploads/2013/09/FDTD.pdf


Deals with how to build trust between people and slowly strengthen the civil society until the dictator can be toppled (and something better come in his place).

 

From Dictatorship to Democracy, A Conceptual Framework for Liberation


Read more: Link - From Dictatorship to Democracy - Wikipedia, the free encyclopedia


Python's dateutils: "Generic parsing of dates in almost any string format"

published Jun 28, 2014 03:19   by admin ( last modified Jun 28, 2014 03:19 )

Worked like a charm for me:

 

Generic parsing of dates in almost any string format;


Read more: Link - python-dateutil - Labix


How to share a global variable across python modules

published Jun 19, 2014 12:30   by admin ( last modified Jun 28, 2014 03:22 )

How can you have a global object or variable that you can share across modules in python? Each module in python has its own name space and is happily unaware of anything defined in the others' name spaces. You can however import a variable from another name space, and then you can modify that and it will be visible in other modules that do the same. Except that you can't, because now it is in your name space and not the same as what the others have imported. What you can do however is to import the module in which it is defined, and then it gets changed everywhere.

 

Basically this won't work:

from flum import bletch

bletch = 67

That change will not be picked up by any other modules that do the same kind of import.

But this will work:

import flum

flum.bletch = 67

Because there is only one instance of each module, any changes made to the module object get reflected everywhere. For example:


Read more: Link - How do I share global variables across modules?


A quick way to switch keys and values in a python dictionary

published Jun 12, 2014 01:55   by admin ( last modified Jun 12, 2014 01:55 )
{value:key for key, value in a_dictionary.items()}

 

Tested in python 2.7


This may be a book worth reading

published May 28, 2014 01:35   by admin ( last modified May 28, 2014 01:35 )



Liberalism: The Life of an Idea. By Edmund Fawcett.Princeton University Press; 468 pages; $35 and £24.95. Buy from Amazon.co.uk (ISBN=unknown)


Read more: Link - Liberal thought: On the barricades | The Economist


Virusexperiment inte värt risken

published May 21, 2014 02:04   by admin ( last modified May 21, 2014 02:04 )



But in a report on Tuesday, researchers at Harvard and Yale universities argue that the benefits of the work are outweighed by the risk of pathogenic strains escaping from laboratories and spreading around the world. They calculate that if 10 high-containment labs in the US performed such experiments for 10 years, the chance of at least one person becoming infected was nearly 20%. If an infected person left the laboratory, the virus might then spread more widely.


Read more: Link - Virus experiments risk unleashing global pandemic, study warns | World news | The Guardian

Blod kan göras ungt igen och föryngra hela personen

published May 04, 2014 03:20   by admin ( last modified May 05, 2014 03:20 )

Verkar det som, mycket intressant om de kommer nånvart med detta:

 

The Harvard teams went on to show they could replicate the anti-ageing effects of young blood with injections of a single blood protein called GDF11. The amount of GDF11 in the blood slumps when mice grow old. The injections restored the protein to more youthful levels.


Man kan f ö köpa GDF11 över Internet. Nån gamling kanske vill prova?

Read more: Link - Infusions of young blood may reverse some effects of ageing, studies suggest | Science | The Guardian


Install Oracle Java on Ubuntu the easy way

published Apr 19, 2014 04:59   by admin ( last modified Apr 19, 2014 04:59 )

I cannot vouch for the quality or integrity but my guess is that it is legit.

 

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer


Read more: Link - 10 Things To Do After Installing Ubuntu 14.04 Trusty Tahr To Get A Near Perfect Desktop ~ Web Upd8: Ubuntu / Linux blog


Om: A ClojureScript interface to Facebook's React

published Apr 19, 2014 01:25   by admin ( last modified Apr 19, 2014 01:25 )

Note to self:

ClojureScript interface to Facebook's React

 

A clojurescript interface to a javascript library

 


A python script to download videos from video sites, including youtube

published Apr 12, 2014 02:20   by admin ( last modified Apr 19, 2014 01:27 )

Update: Did not work that well on my Ubuntu 13.10; seems to have hard coded names for stuff that have other names on Ubuntu.

Requires package libav-tools on Ubuntu 13.10 .

 

youtube-dl is a small command-line program to download videos from YouTube.com


Read more: Link - youtube-dl


MoviePy - video editing from python

published Apr 12, 2014 02:15   by admin ( last modified Apr 13, 2014 02:15 )

Impressive demos, including picture in picture. Uses ffmpeg and numpy.

 

 


Read more: Link - MoviePy — MoviePy 0.2 documentation


How to find out your OpenSSL version

published Apr 08, 2014 04:30   by admin ( last modified Apr 08, 2014 04:33 )

Summary:

Type

openssl version

With the recent disclosure of the long standing heartbleed bug, it is a god idea to check what version of openSSL you are actually running. Just type openssl on the command line followed by the word "version". According to this page, the versions that are compromised are

  • OpenSSL 1.0.1 through 1.0.1f (inclusive)

OpenSSL cheat sheet


Tunneling of VNC over ssh in one command

published Mar 27, 2014 03:35   by admin ( last modified Jan 03, 2015 12:53 )

Well actually two, but you stick them in one file that gets executed in bash:

ssh -fN  -L 5900:localhost:5900 remotserver.example.com
vncviewer -encoding tight -quality 5 localhost:0

 

The -N switch prevents commands to be sent to the remote host, the -f switch allows the terminal to come back and prompt for a vnc password that is triggered by the second line.

Warning: Haven't figured out how to exit cleanly. However the top rated answer here might do the trick:

Bash script to setup a temporary SSH tunnel - Stack Overflow
 


A reasonable setting for low bandwidth VNC over SSH

published Mar 27, 2014 03:30   by admin ( last modified Mar 27, 2014 03:30 )

Tightvnc used in this case:

vncviewer -encoding tight -quality 5 localhost:1

Making a python 2.4 virtualenv buildout on Ubuntu 10.4 & Debian 7 as of 2014-03

published Mar 16, 2014 11:20   by admin ( last modified Mar 18, 2014 01:05 )

It gets harder and harder to install a python 2.4 buildout on Ubuntu and Debian. Basically, the different scripts involved will try to execute code that is not compatible with python 2.4 at every step of the way. I need python 2.4 for some old Plone 2.5 sites. Here is what I did to get it running this time, tested both on Ubuntu 10.4 and Debian 7:

Use a separate virtualenv script, so do not rely on the one installed in the system which is made for another python version. Instead download a standalone script of some vintage:

wget --no-check-certificate https://raw.github.com/pypa/virtualenv/1.7.2/virtualenv.py

Setup the virtual environment like so:

python2.4 virtualenv.py .

It will crash when trying to install setuptools, but by then it has installed python.

Now you should have a working python.

Time to install a setuptools that actually works. Version 1.4.2 works (somewhat selected at random, you can try newer ones if you like). That version is not linked from the https://pypi.python.org/pypi/setuptools page, but with some detective work it can be found at:

https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz

Download and unpack it and install it in the old-fashioned way:

./bin/python setuptools-1.4.2/setup.py install

Time to install easy_install. Download the script from:

http://peak.telecommunity.com/dist/ez_setup.py

Then install easy_install with:

./bin/python ez_setup.py

Time to install zc.buildout:

./bin/easy_install zc.buildout==1.4.4

In your buildout.cfg file, you must also pin setuptools to the version you have installed. Otherwise, you guessed it, zc.buildout will download and fail to run a newer incompatible version of setuptools:

[versions]

setuptools = 1.4.2

And there you go:

./bin/buildout