[colug-432] 2016-01-28 Scribbles: Raspberry Pi Zero; hats shields arduino ansible noise pdp8 vim block modes screenkey reduce regex pcre python ruby writing sdhc problem qcow2 mate factor eyeballs pleasure findthing things out desch IPv6 GEB bread sco snappy tizen stupidity repair t-maybe Happy Birthday Indeed!!!
jep200404 at columbus.rr.com
jep200404 at columbus.rr.com
Sat Feb 13 12:35:26 EST 2016
Ethan Dicks presented about Raspberry Pi Zero
GPIO Zero and Raspberry Pi programming starter projects
https://opensource.com/education/16/2/programming-gpio-zero-raspberry-pi
B+ 40 pin I/O header
A+ 40 pin I/O header
Pis have "hats".
Arduinos have "shields".
Sense Hat
acceleration
humidity
pressure
temperature
8*8 color LED
$30
python library!!!
http://www.seeedstudio.com/depot/Raspberry Pi Sense-HAT-Make-your-own-AstroPi-p-2534.html
https://www.raspberrypi.org/blog/introducing-raspberry-pi-hats/
https://github.com/raspberrypi/hats
firmata makes arduino an (I/O?) slave to Raspberry Pi
http://playground.arduino.cc/Interfacing/Firmata
https://github.com/firmata/protocol
https://github.com/firmata/arduino
https://github.com/firmata/spark
Cluster computing with Ansible and Raspberry Pi
https://opensource.com/life/16/2/cluster-computing-with-ansible-and-raspberry-pi
thermal noise "true random"
wp: prefix means Wikipedia
To get good answers, consider following the advice in the links below.
http://catb.org/~esr/faqs/smart-questions.html
http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html
Emulated PDP-8 on Raspberry Pi
wp:PDP-8
http://hackaday.com/2015/03/26/hackaday-retro-edition-remaking-the-pdp-8i-with-a-raspberry-pi/
http://penguincentral.com/retrocomputing/ccrs.htm
https://github.com/ethandicks
###############################################################################
Jim Prior presented on three visual block modes in vim.
V whole lines (classic vi)
v start and stop at arbitrary chars (within lines)
^V column mode (rectagular)
insert
cut
copy
paste
<
>
~
change
Used screenkey program to show what keys were being pressed.
Screenkey has several bad things,
but is the least worst program for showing key presses.
Improving it is on todo list.
https://github.com/james-prior/reduce/
who at cohpy:~/20160125$ tr '\r' '\n' <123-13_7TEN_37insec_SLAB.txt | column -t -s " " >123
who at cohpy:~/20160125$ vi 123
who at cohpy:~/20160125$ tr '[0-9]' '[a-z]' <123 >abc
Regular expressions (regexes) were used which led to discussion about them.
They are very useful. You should learn them.
It is easy to overwhelm yourself, so
start with the simple, progress to the complex.
Learn a little bit, then use it until it is boring.
Then learn a little more.
wp:regular expression
study tutorial/howto
https://docs.python.org/2/howto/regex.html#regex-howto
https://docs.python.org/2/library/re.html
later:
Mastering Regular Expressions, 3rd Edition
Understand Your Data and Be More Productive
By Jeffrey E.F. Friedl
Publisher: O'Reilly Media
Final Release Date: August 2006
http://shop.oreilly.com/product/9780596528126.do
There are a number of classic programs that use regexes.
You should learn how to use them.
grep awk sed
(bad) Example Uses Of The Linux grep Command
http://linux.about.com/od/commands/tp/Example-Uses-Of-The-Linux-grep-Command.htm
The badness is that asterisks in the regular expression are never quoted.
This is just plain stupid.
Perl has fancier regexes than classic tools.
wp:Perl Compatible Regular Expressions
Python's regexes and Ruby's regexes are similar to Perl's regular expressions.
should do lightning talk on SimpleHTTPServer
https://en.wikibooks.org/wiki/Learning_the_vi_Editor/Vim/Modes
http://media.vimcasts.org/videos/22/visual_block.ogv
###############################################################################
Jim Prior asked for help with problem writing to SDHC through USB adapter
try rear port of Dell desktop
try conv=fstat option for dd
try native memory port
/dev/mmcblk0 worked flawlessly on laptop's SDHC native port.
so have not tried other suggestions
###############################################################################
5 keys to project success on GitHub
https://opensource.com/business/16/1/five-keys-project-success-github
RethinkDB was at PyOhio last year
http://www.defmacro.org/2014/10/03/engman.html
###############################################################################
Controversy at the Linux Foundation
http://www.linuxjournal.com/content/controversy-linux-foundation
https://opensource.com/life/16/1/6-beginner-open-source
http://contributor-covenant.org/
$10 Orange Pi One pits quad-core Cortex-A7 against Pi Zero
http://linuxgizmos.com/10-dollar-orange-pi-one-pits-quad-core-cortex-a7-against-pi-zero/
qcow2
qcow2 versus raw: tradeoff space versus speed
wp:qcow
https://people.gnome.org/~markmc/qcow-image-format.html
Extremely slow qemu storage performance with qcow2 images
http://serverfault.com/questions/675704/extremely-slow-qemu-storage-performance-with-qcow2-images
Can take qcow2 snapshot of a raw image
http://wiki.qemu.org/Features/Snapshots#Overall_concept
How to mount qcow2 disk image on Linux
http://ask.xmodulo.com/mount-qcow2-disk-image-linux.html
http://www.merriam-webster.com/words-at-play/peruse-usage
Chinese SBC seller FriendlyARM published a new video on their YouTube account
to show us that the Ubuntu MATE operating system runs flawlessly on the NanoPi
2 single-board computer attached to a capacitive touch LCD.
http://linux.softpedia.com/blog/watch-ubuntu-mate-linux-operating-system-running-on-nanopi-2-sbc-499679.shtml
Biomechanical Exoskeleton Allows the Paralyzed to Walk
http://www.breitbart.com/tech/2016/02/03/biomechanical-exoskeleton-allows-the-paralyzed-to-walk/
for i in `seq 2 64`; do echo '############################' $i;n=$(for j in $(seq $i); do echo -n 1;done;echo);time factor "$n";done
Many eyeballs make all bugs shallow.
How many eyeballs were there?
How good was their eyesight?
Crypto flaw was so glaring it may be intentional eavesdropping backdoor
http://arstechnica.com/security/2016/02/crypto-flaw-was-so-glaring-it-may-be-intentional-eavesdropping-backdoor/
Thoughts on Monitoring file changes with Linux over the network
https://www.howtoforge.com/tutorial/monitoring-file-changes-with-linux-over-the-network/
wp:The Pleasure of Finding Things Out
wp:Joseph Desch
wp:James Burke (science historian)
wp:Connections (TV series)
Shodan caught using time-keeping servers to quietly harvest IP addresses.
http://arstechnica.com/security/2016/02/using-ipv6-with-linux-youve-likely-been-visited-by-shodan-and-other-scanners/
What information, if any, did/does Microsoft Windows send in NTP packets to Microsoft's time servers?
http://www.pool.ntp.org/en/
https://duckduckgo.com/html/?q=use+gps+receiver+for+local+ntp+server
Gödel and Bread
http://www.newyorker.com/magazine/2013/11/04/bread-and-women
wp:Gödel, Escher, Bach
SCO slapped in latest round of eternal 'Who owns UNIX?' lawsuit
http://www.theregister.co.uk/2016/02/08/sco_slapped_in_latest_round_of_eternal_who_owns_unix_lawsuit/
SCO's last arguments in 'Who owns Linux?' case vs. IBM knocked out
http://www.theregister.co.uk/2016/02/10/scos_last_arguments_in_who_owns_linux_case_vs_ibm_knocked_out/
Don't force it, use a bigger hammer.
http://www.fakeposters.com/posters/brute-force/
http://www.techinsider.io/github-the-full-inside-story-2016-2
https://github.com/blog/2037-github-is-a-proud-connecthome-partner
"Snappy" Ubuntu for Raspberry Pi 2
http://developer.ubuntu.com/en/snappy/start/raspberry-pi-2/
https://developer.ubuntu.com/en/snappy/
It looks very relevant for embedded stuff.
It uses "snappy" package management.
wp:Snappy (package manager)
http://developer.ubuntu.com/en/snappy/start/using-snappy/
there are versions of gzip that are not deterministic
wp:Entropy encoding
wp:Raspberry_Pi#Tracking_Raspberry_Pi_online_on_a_global_map
Samsung hopes Raspberry Pi can spread Tizen OS adoption
http://www.cio.com/article/3031812/samsung-hopes-raspberry-pi-can-spread-tizen-os-adoption.html
https://wiki.tizen.org/wiki/Raspberry_Pi
http://blogs.s-osg.org/bringing-tizen-to-a-raspberry-pi-2-near-you/
Life is tough, but it's tougher when you're stupid.
http://jimlynch.com/internet/facebook-spied-on-millenial-conversations-about-money/
http://saintsal.com/facebook/
http://www.digitaltrends.com/computing/laptop-made-from-raspberry-pi-zero-and-lapdock/
A New Advocacy Group Is Lobbying for the Right to Repair Everything
http://motherboard.vice.com/read/a-new-advocacy-group-is-lobbying-for-the-right-to-repair-everything
How to Fix Everything
http://motherboard.vice.com/read/how-to-fix-everything?trk_source=recommended
T-Mobile CEO to EFF: ‘Who the [^ ]* Are You?’
http://motherboard.vice.com/read/t-mobile-ceo-to-eff-who-the-fuck-are-you?trk_source=recommended
Yeah!
“Happy Birthday” is public domain, former owner Warner/Chapell to pay $14M
http://arstechnica.com/tech-policy/2016/02/happy-birthday-is-public-domain-former-owner-warnerchapell-to-pay-14m/
Warner To Pay $14 Million In 'Happy Birthday' Settlement; Plaintiffs Ask For Declaration That Song Is In Public Domain
https://www.techdirt.com/articles/20160209/07305133557/warner-to-pay-14-million-happy-birthday-settlement-plaintiffs-ask-declaration-that-song-is-public-domain.shtml
More information about the colug-432
mailing list