Difference between revisions of "Meeting-20100612"

From WPLUG
Jump to: navigation, search
(Speaker/Presentation)
(Speaker/Presentation: change to replacement topic)
Line 9: Line 9:
 
== Speaker/Presentation ==
 
== Speaker/Presentation ==
  
David Kraus, Sr. Automation Engineer at [http://www.isquaredt.com Integrated Industrial Technologies, Inc.], will be giving a presentation on [http://en.wikipedia.org/wiki/OPC_Unified_Architecture OPC-UA] and its implementation by [http://www.inductiveautomation.com/products/ignition Ignition] from [http://www.inductiveautomation.com/ Inductive Automation].
+
[[User:Vance|Vance Kochenderfer]] will be talking a bit about the UNIX text processing utilities such as grep, sed, awk, cat, wc, and the like.
  
OPC-UA expands into the title Object Linking and Embedded (OLE) for Process Control Unified Architecture.  OPC is an open standard for data exchange originally developed by Microsoft and maintained by the OPC FoundationIt is based the aging OLE, COM, and DCOM technologies.  The recent OPC-UA specification provides means to develop cross-platform implementations of OPC.
+
However, you don't get to just sit on your butt and listen; this is an audience-participation eventWhat we're going to do is take a couple simple tasks, and then explore how you could accomplish them using various UNIX utilities.
  
While OPC-UA and Ignition are not open source, they are cross-platform and supported on Linux and Microsoft Windows alike.
+
The goal is not solely to find the standard, quickest, or simplest solution, but to try out as many different whacked-out options as we can.  So don't stop thinking once you've got an answer, even if it's a good one - see what else you can come up with!
 +
 
 +
We'll talk over all the suggestions and how they work (or don't work), so hopefully we'll all learn something new.
 +
 
 +
Start thinking about these, and bring your ideas to the meeting:
 +
 
 +
=== EXERCISE ONE ===
 +
 
 +
You have a large text file.  Some lines contain text; others are
 +
blank.  Your goal is to figure out how many non-blank lines are in
 +
the file.
 +
 
 +
I can think of at least six ways of doing this, how about you?
 +
 
 +
=== EXERCISE TWO ===
 +
 
 +
Determine whether a given value is numeric (decimal).
 +
 
 +
Example numeric values:
 +
  123      45.6789  -3.4567  -0        000123    .01234
 +
  54321.    00000.    -0.987    -.987    -0123.    012
 +
  0.0      .0        -.000
 +
 
 +
Example non-numeric values:
 +
  hello    3f        3F        AB        0xAB      0.0.
 +
  -0-      3.0E8    3.0e-08  .-0123    1.23.4    5.678-
 +
  --98      a space  a tab
 +
 
 +
As a bonus, make your command also consider a value numeric if it starts with a + instead of a -.
 +
 
 +
I haven't thought about this one as much, and only have one solution so far. Maybe you can come up with something using bc or some other non-obvious method?
  
 
== Meeting Minutes ==
 
== Meeting Minutes ==

Revision as of 04:53, 12 June 2010

WPLUG will have a General User Meeting and presentation on Saturday, June 12th, 2010, starting at 11am at the Wilkins School Community Center.

Schedule for the Day

10:30am - Doors open, set up
11:00am - Business Meeting starts
11:30am - Featured Presentation
12:30pm - Meeting ends, everyone out. We are likely to go to D's 6pack or Square Cafe for lunch.

Speaker/Presentation

Vance Kochenderfer will be talking a bit about the UNIX text processing utilities such as grep, sed, awk, cat, wc, and the like.

However, you don't get to just sit on your butt and listen; this is an audience-participation event. What we're going to do is take a couple simple tasks, and then explore how you could accomplish them using various UNIX utilities.

The goal is not solely to find the standard, quickest, or simplest solution, but to try out as many different whacked-out options as we can. So don't stop thinking once you've got an answer, even if it's a good one - see what else you can come up with!

We'll talk over all the suggestions and how they work (or don't work), so hopefully we'll all learn something new.

Start thinking about these, and bring your ideas to the meeting:

EXERCISE ONE

You have a large text file. Some lines contain text; others are blank. Your goal is to figure out how many non-blank lines are in the file.

I can think of at least six ways of doing this, how about you?

EXERCISE TWO

Determine whether a given value is numeric (decimal).

Example numeric values:

 123       45.6789   -3.4567   -0        000123    .01234
 54321.    00000.    -0.987    -.987     -0123.    012
 0.0       .0        -.000

Example non-numeric values:

 hello     3f        3F        AB        0xAB      0.0.
 -0-       3.0E8     3.0e-08   .-0123    1.23.4    5.678-
 --98      a space   a tab

As a bonus, make your command also consider a value numeric if it starts with a + instead of a -.

I haven't thought about this one as much, and only have one solution so far. Maybe you can come up with something using bc or some other non-obvious method?

Meeting Minutes

(TBA)

Meeting Staff

If you would like to volunteer to assist with this meeting, please add your name to one or more of the categories below.

Carpooling

  • Your name/location here