Free Software Consulting

LuftHans Consulting, LLC

Consulting specializing in:

  • Linux service architecture

  • Linux system administration ( Ubuntu, Debian, Red Hat and more )

  • Linux security

  • MySQL database administration

  • system programming

  • training

LuftHans Consulting is available in Phoenix or remotely worldwide.

Jobs BoF resume reviews at SCaLE17x

At this year’s Jobs BoF we will be reviewing resumes. Bring resumes for review by tech industry veterans at the SCaLE 17x jobs BoF.

Friday night at 19:00 we will have tech engineering managers and recruiters on hand in Ballroom C. Resume reviews will run for an hour with informal career networking continuing for at least another hour in Ballroom C.

Hugin and Krita for February East Valley Meeting

PLUG 25th anniversary banner

We have two topics for February’s PLUG meeting. Brian will cover "An introduction to the Hugin Panorama Stitcher" and Phil will cover "Krita basics, drawing assistants and G’Mic".

PLUG is 1/3 of SCaLE 17x LibreGraphics track

This year PLUG members are providing 1/3 of the talks for the SCaLE 17x LibreGraphics track!

The LibreGraphics track runs all day Friday the 8th of March.

Brian’s An introduction to the Hugin Panorama Stitcher talk will be at 13:00 in Ballroom C.

Ups and Downs

I started a new PLUME blog. Unfortunately, fediverse.blog hasn’t been allowing new posts for over a week. It’s the holidays, so I wasn’t expecting a quick response on a volunteer service.

Cooperative Competition, a Free Software Advantage

Free Software flourishes via cooperative competition. Cooperative competition is an enterprise environment where projects compete with each other while simultaneously benefiting from cooperation.

Free Software projects compete for resources in a truly Free Enterprise market. Licensing and the openess of projects allows them to also cooperate and benefit from each other. The cooperative competition brings advantage for those using the software.

Competition provides incentive for the Free Software ecosystem in many ways.

Comparing Strings in the Shell: Pattern Substitution Operator

One problem with using the truncate operator for string matching is case matching.

In the truncate operator example, ${foo%%*ATE} matches SENATE.


DALEK$ foo=SENATE
DALEK$ if [ '' = "${foo%%*ATE}" ] ; then echo "$foo! $foo!"; fi
SENATE! SENATE!
DALEK$

It will not match Senate because ate and ATE are different cases.


DALEK$ foo=Senate
DALEK$ if [ '' = "${foo%%*ATE}" ] ; then echo "$foo! $foo!"; fi
DALEK$

Comparing Strings in the Shell: Truncate Operator

While creating materials for my bash class I needed to create some globbing exercises for my students.

It occurred to me that a string operator and a comparison to the null string can be used to check if something is a substring of another value.

Sure, you can use Substring Expansion to see if the substring is at a known location such as "Does the value of $foo start with 'bar'?", but length and location are often unknown.


$ foo=barfood
$ if [ 'bar' = "${foo:0:3}" ]; then echo $foo; fi
barfood
$

Pages

Subscribe to LuftHans RSS