Tuesday, June 3, 2014

Meeting #3 Announcement - Introduction to IPython Notebook

Update: a meeting recap.

EAST Knowledge is pleased to announce it's third meeting. Charles Stanhope will be giving a talk on IPython Notebook. All are welcome!

What:Introduction to IPython Notebook
Who:Charles Stanhope
Where:The Computer Lab at the Gresham Library (map)
When:10:30am-Noon, Saturday, June 14th, 2014
Why:Sharing what we know

Come and learn about IPython Notebook interactive computing environment! An open source project used and developed by a community of scientists and engineers, IPython Notebook is a powerful tool that can save time and effort, and allows you to:
  • Rapidly prototype and explore algorithmic ideas
  • Easily share results
  • Replicate work
  • Freely collaborate
  • Leverage a large body of existing libraries
Charles will introduce and demonstrate IPython Notebook. He hopes to have a live system that can be used by the audience. All you will need is WiFi, a web browser, and some curiosity. So bring a laptop!

Sunday, May 11, 2014

EAST Knowledge at East Gresham Community Information Fair

EAST Knowledge will have tech enthusiasts and demonstrations at a table at the 7th annual East Gresham Community Information Fair,

Wednesday, May 28, 2014
6:00 P.M. — 8:00 P.M.

The fair is hosted by 3 of Gresham's Neighborhood Associations and will be held at:

Greater Gresham Baptist Church
3848 NE Division St.
(Just East of Kane/257th)
(google map)

Please drop by to meet other tech enthusiasts, see what we've been up to, and find out more about our group!

The information fair is family-friendly, with exhibitors chock-full of information about — and opportunities in — our east-side community. To see a full list of exhibitors and other useful information, go to:

http://greshamoregon.gov/neighborhoods

and click on

East Gresham Community Information Fair

(last of the 4 links immediately under the "Neighborhood Associations" heading).

Sunday, March 16, 2014

Meeting #2 - Recap

Trying to maintain the momentum established by the previous meeting, EAST Knowledge held its second meeting. Although we won't do the speakers justice, we will once again attempt to relay the talk in a blog post.

Jim Rulla graciously offered to present the second talk of our humble group. Jim is a mathematician, software developer, and consultant. He states that one of his interests is algorithms, and in particular he enjoys exploring algorithms related to generating and analyzing sound. Jim gave an engaging demonstration about the importance of not just having the right model for your problem but also solving it with the best approach.

Jim began the talk making an observation about the importance of accuracy. In particular he said that 3 digits of accuracy had often been considered adequate, but that as applications have become more demanding, this is no longer the case. He gave an example of a company he worked with where 4 digits of accuracy were required to get 10 meter accuracy for their product. Clearly losing a digit of accuracy in that case would produce an order of magnitude worse results.

Using his custom software, Jim demonstrated an analysis of a sound waveform. His example analysis was to determine the pitch of a sound using auto correlation. His software could do this in realtime using either microphone input or a stored waveform. He started off his talk with recordings of plucked guitar strings.
To demonstrate the accuracy of the pitch detection, Jim then switched to a synthetic waveform he called a “Karplus-Strong filter”. This particular filter is easy to implement and produces waveforms with predictable pitches. Jim showed a plot of the pitch detection over time, and showed that the pitch varied and was not constant. However, after a few moments, Jim revealed that what he was actually showing were the results of an “engineer’s correlation”. He then switched to an auto correlation algorithm that was more appropriate for the problem at hand. At that point, the pitch detection went from a wavy line that varied over time to a horizontal line that did not vary at all. The synthetic signal actually had a very stable pitch. What looked like variations in pitch turned out to be the result of inaccurate calculation.
Jim then gave some advice about how to detect and correct numerical problems.
  • If it is bad mathematically, it will be bad numerically. For example, dividing by zero or numbers very close to zero.
  • When trying to solve the problem, attempt to rearrange or propose a different approach.
The group also briefly discussed some of the non-technical issues within organizations that prevent them from getting the best solution to their problem. Some issues identified were pressure to deliver results more quickly than reasonable and relying too much on prior experience when in fact a fresh approach may be required. Pat (who you may remember from the previous meeeting) introduced the group to the term "ad hack" solutions.

After the talk, Jim had people come up and try the software for themselves by speaking or singing into the microphone.
We'd like to thank the Multnomah County Library in Gresham for providing space and equipment for EAST Knowledge to meet. We'd also like to thank the Troutdale Starbucks for the generous donation of a coffee traveler. Last but not least, EAST Knowledge would like to thank Jim for providing our group with a wonderful talk.

We hope to see you next time for stimulating conversation and cookies.

Links to resources:

Jim provided the following references from his talk.
  1. Information about the Karplus-Strong filter:
    Title:Digital Synthesis of Plucked-String and Drum Timbres
    Authors:Kevin Karplus and Alex Strong
    Source:Computer Music Journal, Vol. 7, No. 2 (Summer, 1983), pp. 43-55
    Publisher:The MIT Press
    Stable URL:http://www.jstor.org/stable/3680062
    Copy of paper:http://users.soe.ucsc.edu/~karplus/papers/digitar.pdf
  2. Wiener's original paper wasn't published until it was essentially obsolete, but it is a classic, with Norman Levinson's appendix:
    Title:Extrapolation, Interpolation, and Smoothing of Stationary Time Series: With Engineering Applications
    Author:Norbert Wiener
    Publisher:The MIT Press, Cambridge, MA
    Here is the important quote:
    "Important as is the method of prediction given in this paper, it has strict limitations in practice and should never be used to determine a curve which may be determined in a strictly geometrical manner. Statistical prediction is essentially a method of refining a prediction which would be perfect by itself in an idealized case but which is corrupted by statistical errors, either in the observed quantity itself or in the observation. Geometrical facts must be predicted geometrically and analytical facts analytically, leaving only statistical facts to be predicted statistically."

Tuesday, February 25, 2014

Meeting #2 Announcement - "Don't Touch That Data!"

Update: a meeting recap.

EAST Knowledge is pleased to announce it's second meeting. Jim Rulla will be giving a talk entitled "Don't Touch That Data!". All are welcome!

What:Don't Touch That Data!
Who:Jim Rulla
Where:The Computer Lab at the Gresham Library (map)
When:10:30am-Noon, Saturday, March 8, 2014
Why:Sharing what we know

There's a serious problem: the hardware is spewing out data, but the answer is wrong. It's too late to redesign, and besides, the product ought to work. Another filter and some ad hoc software will have to suffice — until new problems arise.

Sound familiar? If the textbook analysis doesn't apply to your problem, no filter and no software hack will help. The only reliable way to fix the problem is to model it correctly, then solve the model problem.

I will show how incorrect modeling sets back — and in some cases, destroys — product development. The examples:
  • are real,
  • are simple (when solved correctly), and
  • illustrate techniques you can apply to your projects.
The examples include applications from audio, optical, and communications engineering.

The right model is almost always simpler to understand and easier to solve than the wrong models. Come see how you can simplify your project!