Title photo
frugal technology, simple living and guerrilla large-appliance repair
Mon, 01 Feb 2016

Learning more Perl for my Ode Counter add-in

I learn better, or should I say I only learn how to program when I have an actual problem to solve.

My current "problem" is figuring out how to generate more data out of my Ode blog's filesystem for my Ode Counter add-in.

I already report on the number of blog entries, how many are "real" entries and how many are Ode-generated social-media updates, plus how many images are in the filesystem and how many of those appear in actual blog posts.

Another thing I have wanted to do since I began using Ode was have the system generate a Categories/directories list in HTML for both a dedicated "site map" page as well as a sidebar display.

Read the rest of this post

Sat, 30 Jan 2016

Computer science and me and computer science and me

I might as well come right out with it.

I'm going back to school. Community college. For computer science.

Ilene thought I should do it at least a year ago. She's smart that way. It took me awhile to come around. Back then I thought a curriculum anchored in the C++ language (with smatterings of C, Java and C#) and not today's languages of the web (Javascript, Python and Ruby ... OK, really just Javascript) was not for me.

I was ready to do it all on my own: find a language and a framework and a reason to learn them and go. (A few months ago, I even learned a little Go.)

Read the rest of this post

Thu, 28 Jan 2016

I think Brave is going to be big

The @brave browser is going to be big if it can meld the speed of Chrome with a users-first mentality

Linux advice: How to get started with Debian (or any Linux) web server

I answered this question on Quora and figured that I might as well put the answer here, too:

The question: Are there any good resources (Books) to get started on a Linux (Debian) web server?

Here is my answer:

You should definitely get The Debian Administrator's Handbook.

Then there is everything on the Debian documentation page.

And the good thing about Debian is that most posts and other references that explain how to do something in Ubuntu will also work for Debian.

With that in mind, just about any book or site that helps you run any kind of Linux web server will help you with Debian.

O'Reilly is releasing a new version of The Apache Cookbook in two months. I highly recommend it.

I also recommend two No Starch Press books: How Linux Works: What Every Superuser Should Know and The Linux Command Line: A Complete Introduction

This part is not on Quora:

I've been thinking for years that the technical publishing industry has thought of Linux as "done," and would continue to wind down their previously robust book schedules.

That pretty much happened, but seeing a new "Apache Cookbook," plus these two excellent titles from No Starch as well as a third, The Linux Programming Interface: A Linux and Unix System Programming Handbook, I see four very compelling Linux books that aren't woefully out of date.

They may not be focused on individual distros, but that is a strength, not a weakness.

Mon, 25 Jan 2016

The year ahead in C++

The year ahead in C++ http://meetingcpp.com/index.php/br/items/cpp-in-2016.html

Dave Cross: Why learn Perl?

Dave Cross: Why learn #Perl? http://perlhacks.com/2016/01/why-learn-perl Plus his whole site is great: http://perlhacks.com

Sat, 23 Jan 2016

I'm enjoying GNOME 3 today. That is all.

Today I'm enjoying GNOME 3 in Fedora 23.

The GNOME desktop, at this stage in the 3.x series, is definitely in the iteration stage after a long time in the "sorry about the lack of functionality but not sorry" stage.

If my Citrix apps didn't suffer a bit more in GNOME than in Xfce (mainly because Citrix doesn't care all that much and my apps' developers don't care at all), I could see myself in this environment more of the time.

The dark theming helps. I do the same in Xfce, and in some ways dark theming (aka Adiwata Dark) is maybe a little bit further along in GNOME because it meets with the project's minimalist goals.

Or that's how I'd like to think about it.

In related dark-theming news, Fedora did fix yumex-dnf to work with dark themes (no more dark blue type on black). Now it has to fix the trouble with kernel updates (in which old kernels are NOT deleted, while they are in regular ol' console dnf).

One unfortunate thing: The Eclipse IDE looks like HELL with dark theming. Eclipse developers, you wound me.

Wed, 20 Jan 2016

Geany builds Java and C++ programs, does it on everything

As I ease in to learning how to code in C++, I have a couple of "real" IDEs at my disposal (chiefly Netbeans and Microsoft Visual Studio), I was pleased to find out that my favorite not-quite-an-IDE Geany will build and run both Java and C++ code.

And Geany can do this on Linux/Unix, Windows and Macintosh computers. (It uses the Unixy g++ even in Windows for C++ code.

I even tested a Perl script in Windows, where I'm using Strawberry Perl. Geany will automatically run a Perl script (on a Perl-equipped Windows computer) when I click on the "Execute" button. It opens Perl in the Windows terminal and runs the script without needing to leave the "IDE."

Note: I did install Microsoft Visual Studio Community because I have a feeling I'm going to need it (though instinctively I lean toward Netbeans, and practically am using Geany).

One thing I'm learning about C++ as I dip the very tips of my toes into its vast waters: Like Perl but more so, there is definitely more than one way to do it.

Tue, 19 Jan 2016

Twitter intermittent this morning and last

Both today and yesterday, Twitter has been less than healthy

Mon, 18 Jan 2016

Go has been updated in Fedora

Go has been updated to 1.5.3 in #Fedora http://koji.fedoraproject.org/koji/buildinfo?buildID=711203 #golang

Right now, this is the current Go release. That makes Fedora a great platform for Go programmers.