[CentralOH] 2014-09-29 會議 Scribbles 落書/惡文?

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Thu Oct 9 03:13:05 CEST 2014


Thanks again to Pillar and Ben Rogers for hosting us at The Forge

Ben Rogers recommends
    Test Driven Development (By Example???) by Kent Beck
likes Microsoft Natural Ergonomic Keyboard 4000
pair programming
One might write test, while other writes code, 
then swap duties for next module

wp:Microsoft_Natural_keyboard#Natural_Ergonomic_Keyboard_4000
close edge of keyboard is high, far edge of keyboard is low
'6' on left bank frustrates traditionally trained touch-typists.
http://blog.codinghorror.com/keyboarding-microsoft-natural-ergonomic-4000/

    It's like, how much more black could this be? and the answer is none. 
    None more black.

    (so get a Ninja keyboard)	

wp:Happy Hacking Keyboard
wp:Model M keyboard
http://blog.codinghorror.com/the-code-keyboard/
http://blog.codinghorror.com/the-keyboard-cult/


There were a number of small presentations.
I like this way of doing meetings.

Jim Prior gave trivial presentation 
echo `echo "print $i + 1" | python`
# How to do above with awk instead of python?
    awk "BEGIN {print $i + 1}"
    echo "$i" | awk '{print $1 + 1}'
http://lists.colug.net/pipermail/colug-432/2014-September/003357.html

http://www.columbusunderground.com/forums/topic/5xnw-pizza-crawl-100214-6pm-starting-at-the-ohio-tap-room
http://theohiotaproom.com/
wp:Beer_bottle#Growler
Andrew Kubera
Growler web framework uses asyncio (URL???)
not https://github.com/miyagawa/github-growler
not Boeing EA-18G Growler
http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/ar01s04.html
wp:Release early, release often
show us your code. What is URL for it? 

Jason Green
colorized prompts (URL for such?, perhaps on https://github.com/gJigsaw???)
Indicating success or failure of previous command in color of following prompt
is cool. That's something I'd not heard of before.
Jason, please post your command prompt code.

Melvyn Ian Drag
optimzing Python code for matrix multiplication
wp:Row-major order
wp:colum-major order
cache friendly 32 KB pages
partial differential equations
    use matrix multiplication to solve them

graphics transformation can use matrix multiplication
    wp:Rotation formalisms in three dimensions
    xrandr transform
    (see 'xrandr --output VGA1 --transform ' commands in 
    https://mail.python.org/pipermail/centraloh/2012-July/001336.html)

numpy arrays can be either
declaration can specify either row-major or column-major order
order: {'C', 'F'}
'C': c-like (row-major order)
'F': fortran-like (column-major order)
see ">>> c = b.reshape(2,3,order='F')"
in http://stackoverflow.com/questions/20341614/numpy-array-row-major-and-column-major

Eric Floehr
Tonight's presentation is brought to you by the letter A (for Ansible).
wp:Ursula K. Le Guin
wp:Ansible
wp:Ansible (software)
https://pypi.python.org/pypi/ansible
setting up multiple machines
chef
puppet
fabric
paramiko
ansible
set up template in a virtual environment
mkvirtualenv ansible-demo
# http://virtualenvwrapper.readthedocs.org/en/latest/command_ref.html
pip install ansible-demo
    jinja2
vi host (list of machine to configure)
Centos 6 virtual machine
base centos OS install
ansible all -m ping -u root --ask-pass
ansible all -m command -a "ls -l" -u root --ask-pass
yaml file playbook
vi base
---
- name: Apply common configuration
  hosts: all
  tasks:
  -name: Update to latest software
   yum: name=* state=latest

  - name: Install packages required by Ansible
    yum: name=libselinux-python state=present

  - name: Add my user
    user: name=eflower comment="Ella Flower" groups=wheel append=yes password=correcthorsebatterystaple

  - name: Generate ssh keys
    authorized_key: user=eflower generate_ssh_keys=yes ssh_key_bits=2048

  - name: Copy over my public key
    authorized_key: user=eflower key="{{ lookup('file', '/home/eflower/.ssh/id_rsa.pub') }}"

  - name: Tighten ssh
# install some favorite packages

ansible-playbook base.yml -u root --ask-pass

mkpasswd --method=SHA512
# What about correct horse battery staple?
If tawodi can fly.

wp:Adventure game
https://pypi.python.org/pypi/adventure
written by Brandon Rhodes to learn Python 3
https://github.com/brandon-rhodes/python-adventure

terminal program that emulates green phosphor
https://github.com/Swordfish90/cool-retro-term
wp:https://en.wikipedia.org/wiki/Swordfishtrombones
wp:Tom Waits
wp:Rumble Fish
http://www.columbusitalianfestival.com/

How are Rumble Fish and The Wizard of Oz (1939 film) alike?
wp:The Wizard of Oz (1939 film)
wp:The Graduate

coursera
windows
    stock values
    pandas
    Python for Data Analysis by Wes McKinney

Peter Carswell
Panda3D
michael dawson
    making games
    http://www.amazon.com/Python-Programming-Absolute-Beginner-Edition/dp/1435455002

wp:Fiat 124 Sport Spider
wp:Ford Pantera

wp:Neodymium
wp:Mountain Pass rare earth mine
wp:Long Now Foundation
wp:Tesla Motors
If Tesla Motors were to cease operations,
how long could Tesla car owners operate their cars?

VGA worked better than usual

continued at Brazenhead
http://www.hdrestaurants.com/brazenhead/5thavenue/index.htm

wp:tcsh

wp:Comparison of command shells

wp:Common_pawpaw
wp:Osage_orange
hand boils in LHC (well maybe not)
wp:LHC
wp:Supercritical fluid
wp:Critical point (thermodynamics)
wp:File:Phase-diag2.svg
wp:Pressure volume diagram
wp:Triple point
wp:Space_suit#Exposure_to_space_without_a_space_suit

wp:Magic_number_(programming)#Unnamed_numerical_constants
wp:Asimina triloba
wp:Watermelon Man (composition)


More information about the CentralOH mailing list