Wednesday, August 17, 2011

concatenating lines in a pipe


I often have to munge multiple lines together, and I finally found a good way:

echo -e "1\n2" | awk '{ ORS="+"; print; }'

Note that this adds the separator on the end, so I have to  handle that:

echo -e "1\n2" | awk '{ ORS="+"; print; }' | awk '{ print $1 "0" }' | bc

Friday, July 15, 2011

Today's SLC Tech Breakfast

Bitcoin, the distributed currency

Technical pioneers that suddenly went dark:
- Satoshi Nakamoto (Bitcoin)
- why the lucky stiff (Ruby)

What motivates us?  Dan Pink says Autonomy, Mastery, Purpose: http://www.danpink.com/drive

New OSX features in Lion, such as versioned filesystem and saving to the cloud

The Obviousness of Anarchy: http://faculty.msb.edu/hasnasj/GTWebSite/Obvious.pdf

Friday, June 17, 2011

Today's SLC Tech Breakfast

From today's SLC Tech Breakfast:

Ruby fibers vs threads, and a web server Goliath that allows you to write in a more comfortable linear fashion.

Testing methodology and unit tests, and how we improve software and really engineer while handling business needs and reality.

Dan: can we train developers to schmooze with managers? See maker's schedule vs manager's schedule
(See the video on "the internet in a box".)

Developers get better with age.

Friday, May 20, 2011

Today's SLC Tech Breakfast

From today's SLC Tech Breakfast:

Staying secure with guns; Dan recommends TheBoxOTruth.com for gun education

passwords and sharing
- SpiderOak (Makani doesn't recommend for UI)
- LastPass.com (password sharing)
- locking password file: KeePassX, OnePassword, LastPass

For security, Dan wants a hand-held retina-scanner (not a hand-held-retina scanner)

Quantum entanglement, Dan will look up whether a recent experiment that supposedly allowed faster-than-light communication

Sharing code from different languages
- one way is to use JVM-based languages that can be compile-time checked (Josh)
- in C# shop, wants to use Java tool (Flying Saucer) to convert documents, used IKVM.net, also see JNBridge.com (Dan)
- make web-services the architectural organization (Josh)... that's how we organize in FLUX networking (Ryan)

Enterprise security: we share an encrypted DB (KeePassX), but if an employee leaves...?
The best solution is an OAuth-style, revokable auth

OAuth is recommended for phones, too... including web auth (Josh)

How good are your unit tests? (Dan)
- We have over 10% coverage with Sonar (Josh)
- Continuous build: Hudson, Cruise Control

How do we manage DB versioning? (Dan)
- custom system, which builds at any version (Makani)
- each DB change represented by create SQL and hopefully reverse SQL, table with version number in DB (Josh & Makani)
- potentially: make each change a non-breaking change with previous version, so code roll-back is easy, eg. rename is add followed by drop later (Makani)


"No fluff just stuff" conference downtown SLC (Josh)
Jsconf JavaScript conferences
Defrag conference in Denver (Trent)
Javascript libraries: Require, Promise interface, dojo for apps (Josh)

Friday, February 11, 2011

Today's SLC Tech Breakfast

 From today's SLC Tech Breakfast:

create a secure internal network, still open to neighbors:
- use two routers, a secure internal one behind an external open one
- open WRT or DDRT
- by default they're all bridged, which can be changed
- might be easier to do with multiple SSIDs

RiffTrax (funny running movie commentary) came up again... maybe we should create our own

parselet, a PEG (vs LALR, etc) parser

Payvment.com: your own shopping cart with items from other sites with a rich API

pidye.com, with this (beta) that's 100% client-side javascript cart

Google create specifications for searching/indexing rich AJAX web-pages
(Update: I just noticed a storm of complaints about the hash-bangs, eg. Tim Bray.)

HtmlUnit: java testing for web-pages

search engines for the large invisible web (eg. where structured data may take a few steps to access)

blekko.com (which Josh mentioned but I had to leave... can anyone summarize in the comments)

Friday, November 26, 2010

Star Tours door numbers

The doors on Disneyland's Star Tours had the following symbols below the numbers given.  I still can't figure out their pattern, but I hope to someday.

1  00   1
2  00   11
3  000  1
4  00   111
5  0    0111

Thursday, November 18, 2010

Some Spammers I Know

At my company we have to deal with spammers.  They cause problems for everyone in a variety of ways.  So here are some people who have used spamming techniques against us, for all the world to see.

  • Morgan Fagerman, morgan@ShopForGroceriesForFree.com, ShopForGroceriesForFree.com, 727-230-4930
  • David James, Echod Graphics Inc., David.j.j@EchodGraphics.com, www.EchodGraphics.com, 877-963-7446 
  • James Hughbanks, James Hughbanks & Associates, james@jameshughbanks.com, www.jameshughbanks.com, 941-896-3239