Tumbleweed Box

tumbleweedbox

This box is actually a makeover for another box named after one of my former kitties.  This machine has an older Enermax Ostrog case, which has plenty of room to work.  It was terrific to work inside this thing.  You could play racquetball inside this case!

I’m thinking the motherboard was an MSI 970 Gaming, but I forget.  The CPU is an AMD FX-8350 with a Cooler Master T3 air cooler.  The graphics card is a Radeon RX 470 with 4 GB of GDDR 5.  There’s 16G RAM for the system.  There’re two WD 1TB HDs and a 500GB SSD from Crucial.

That Radeon RX 470 is still rather new, so I had to use a bleeding edge Linux kernel to support it.  OpenSUSE Tumbleweed’s kernel gets updated very frequently, so that was no problem here.  This testing distribution seems to run fine on this box.  No problems yet.  Well, there was one teensy little problem.  My Gnome terminal didn’t have a transparent opacity function in this distro like it does on OpenSUSE Leap.  Horrors!  I use my shell a lot, and I gots to haz ma transparent opacity!  So I switched to XFCE terminal.  Works fine now, and I can’t really tell the difference between the two terminals!  So it’s not really a problem. Some people don’t like transparency.  I love it.

I was afraid this box was going to run warm because of the CPU.  AMD has that reputation. But no suchness!  It typically runs a chilly 18C inside there.  I’m sure the big green 120mm fan on the T3 helps.

This box is named after one of my earliest kitties.  Her name is holy, so I don’t utter it.  But I love her always.

Enterprise

enterprise

So this was a fun build.  I started about a year ago I think with an i7-4790K cpu and 16G of RAM on an ASRock Z97 Pro board with an ASUS GTX 980Ti GPU.  I added four SSDs and one HD, plus an 802.11ac wireless card.  It dual boots Win 10 and Linux Mint 18 (“Sarah”).  I never have been a huge fan of water cooling, since I don’t overclock much.  A nice big Hyper 212 CPU cooler like this should work just fine in this case.  But as it has turned out, I came into possession of a large Corsair H110i water cooler that needs a larger case like this to fit in.  It has 140mm fans and this case will take them and the radiator they attach to. This case is a Corsair 760T in white, and some white LED fans might pimp the whole thing out nicely.

Since I just run out of room for all my PC projects, perhaps I need to simply evolve the PCs I’ve already built and that already have a legitimate physical place in my house!  Somehow I’ve got to keep from building more new computers.

Enterprise is the only host on my home network that isn’t named after a pet kitty.  I named it after NCC-1701.  Let’s see, was the WW2 aircraft carrier named after that too?  Nope, the chronology doesn’t line up!  (Just kidding, of course.  We learn the real truth from Star Trek Enterprise on the opening credits!!!

I have wasted many hours in front of this machine, playing Call of Duty.  And Doom.  And Wolfenstein.  And a bunch of things I can’t even remember.  So this is one of my favorite boxes.  Not the prettiest, necessarily, but certainly one of the most capable.  And it’s also fun to watch it run Linux.  Mint looks fabulous on it!

Fedora BlueBox

 

postingnow

So all of this blog stuff is happening on a mATX PC powered by an AMD FX 6300 CPU with 16G of RAM and a 250GB SSD and a 1TB HD.  The motherboard is an old MSI 7641 ver 3.0 and doesn’t even have USB 3.0.  But I actually used the PCI x1 slot for a PCI to PCI Express adapter card that gave me an extra PCI-E slot.  And I put a USB 3.0 adapter card in that.  Two half-height cards in one ancient PCI x1 slot.  Cool!

The graphics card is a humble GeForce GT610 card.  Nothing fancy, but it does an easy 1080p display, which is what I need on my Acer K242HL.  Plenty of display for me.  I spend a lot of time in a terminal window as you can see in the picture above! Occasionally I use a graphical editor, like Sublime or Atom or something, but most often it is easiest just to use Vim in a terminal.

blue_fedora_box

The box has a bunch of blue LED case fans from Corsair.  I love Corsair.  I use their products all the time!  The case is an 88r, which is one of my favorites.  Doesn’t take up much space, yet it doesn’t waste any either.  It doesn’t look like it, but there is lots of space behind the motherboard for cable management.  There’s room for a couple of SSDs, a couple of HDs, and even a DVD, which I use to watch reruns of Magnum, PI and other old TV shows I have on DVD.

Sound is provided by a pair of Logitech Z130 speakers.  Very inexpensive.  But to my ears they sound much more expensive! They sound great.

You’ll notice my desktop is the Cinnamon Environment ver 3.0.7.  It’s Fedora 24 and kernel 4.7.7.  Oh, and I’m running an 802.11ac card, so I have wicked fast wireless.  I had some adventures getting the card recognized by the kernel, but once I enabled 3rd party kernel mod repos, I could patch my source tree and compile the new support in.  Broadcom’s sources are proprietary, and hence the heartburn in a Fedora system.  Running the driver requires that I ‘taint’ my kernel, apparently.  Okay.  But it works, and I like it.  Sorry RMS!

The box is still awaiting a place to live.  Um, I’m out of space at the moment.  This box is named “peanut,” after one of my earliest Himalayan kitties.  All the boxes are named after famous pets, pretty much.  There’s one box that doesn’t follow that scheme.  I have 13 boxes right now, and I seem to have a slight PC building addiction.  I built four boxes earlier this month, and they’re looking pretty nice too.  Two Mint and two OpenSUSE boxes.  One is Tumbleweed and the other is Leap 42.1.  And both the Mint boxes are 18 (“Sarah”).  Some of the boxes dual boot from Windows.  I only boot to Windows to play Steam games, typically.  The rest of the time I’m at home in Linux.  Yep, Linux is my home!

OpenSuse 42.1 Leap

OpenSuse 42.1 Screenshot

I recently built a new budget workstation for about for about $500 or so.  Of course, the OS was free (in all senses of the word!).  This is my first foray into OpenSuse; my last experience was with Novel Suse 9.2, which ran great until the PC died.  For some reason, I just hadn’t tried Suse again in all these years.  And I’m sorry I missed out, because it’s great!

My thoughts on Linux distros are basically that Linux is Linux.  A distro is a different choice of lipstick and heels.  It’s actually more complex than that, but not terribly more complex.  So basically, you can make any Linux distribution do whatever you want.  Pretty much.  At least that’s where I start from.  So Linux distros, to me, are basically artistic expressions of their respective communities.  And there’s plenty of technology in art.  And OpenSuse has plenty of art in their technology.

What differentiates Suse perhaps most is the excellence of their Yast admin tool.  Not only is it known for being robust and complete, but I think it’s actually attractive.  Indeed, the distro seems to hum along without much complaint at all.

If I had to find a gripe, it would simply be that the “Geeko” is kind of ugly. I don’t really get him.  But whatever; he’s original.

Suse Enterprise Linux has grown quite a bit these last few years.  Novell was recently acquired (I forget by whom), and Suse is now in a more favorable environment.  They have a larger budget and more creative license than they ever had before, and the company appears to be flourishing.  In fact, they’ve even started making music videos that help with their marketing.

Here’s one of my favorites, which is a parody of Maroon 5’s “Sugar, Yes Please.”  Ylvis did a song called “What does the Fox Say?”, and Suse thought people would like to know what the “Geeko” says.  Oh, by the way, he’s really a Chameleon.  (I still don’t get it, but the video is pretty funny.  “Geeko” can dance!!)

Without a doubt, my favorite video Suse video is this one:

I hadn’t heard of the Bruno Mars video this parodies, and so these lyrics were the ones that stuck in my head. Only later did I learn that Uptown Funk was actually a thing before Uptime Funk was.  Who knew?

So I was primed to try OpenSuse again.  I’m using this workstation primarily for development and occasionally for watching DVDs and basic net surfing.  It’s part of a flock of workstations in my office, but right now it’s perhaps the prettiest.

GreenStation

And lately, it’s been the most musical!

Thoughts on Pantani: Accidental Death of a Cyclist

Pantani: Accidental Death of a Cyclist

I just finished watching this movie, and I have to say it was one of the most fair and respectful treatments I have ever seen of doping in professional cycling. The movie starts with Pantani getting his first bicycle at a young age, catching the thrill of competition, which he was obviously gifted for, and eventually arriving at the top of the professional sport by winning both the Giro and the Tour in the same year.

Unfortunately, this victory came at a steep price, because pro cycling was very corrupt at this time.  Perhaps it still is. Perhaps it always was.  Perhaps professional sports is just that way.  But, in this movie, you can try to answer those unanswerable questions for yourself as you see the interviews, watch the clips, and listen to those who were close to Pantani both in professional sports and out.  

I think there was something significant about someone (Greg Lemond?) saying that cycling is a haven for those who feel pain deeply, because you can be isolated on the bike and use the physical suffering to quell the emotional pain.  I’m sure endurance athletes have discovered relief from the inner demons by dancing with the physical suffering for hours on end.

There was another point in the movie that caught my attention:  when Marco first joined a professional team in Italy, it was a turning point for him.  I believe he told his mother, “I have joined the Mafia.”  It was obvious that the rules had changed from amateur sports competition to professional competition, and that there would be a price to be paid for big money.  You could have the money and the fame and the exaltation, but you needed to deliver and perform, and that might not just be about winning.  There might be more than just winning in order to “deliver.”

So, if there are all these huge interests in sports–investors, gamblers, businesses, endorsements, and so forth–what is it that makes a guy like Pantani so valuable to them?  How could he possibly threaten them?  Well, if the game is rigged somehow, and it gets out that the game is rigged, then couldn’t that threaten the game itself?  Isn’t that like killing the cash cow in the first place?  If you have a magic bean stalk, don’t you want to keep it a secret that it’s magic?  Or a pot of gold that keeps replenishing itself?  Well, it seems to me that if you are too good, or perform too well, it raises suspicion, and people are going to wonder if the game is rigged, and why are they investing their money in this rigged game?  I think the movie identifies some times where Pantani threatened these interests.  He won too much.  He was too strong.  He could be a threat.

In retrospect, he was one of the best of a generation of doping cyclists.  If sport had been honest, they would have had a “red” jersey and just let the dopers compete against each other.  But since there wasn’t a good test for identifying EPO users then, there was nothing to catch cheating riders.  From what i understand, the tests they did administer only measured certain hemacrit ratios that might identify someone who could have used EPO.  It was not fool proof certainty that you were using EPO.  Your hemacrit was above the allowable 50% threshold, so you were out of the Tour, or Giro, as Marco was in, was it 2002?   I don’t remember.  I didn’t really start watching until 2004.

What gets me is how he seemed to need the wins.  He needed to humiliate other riders, and if that didn’t seem to work, he seemed to feel humiliated himself.  So when he was expelled from the Giro, that was the worst public humiliation imaginable for him.  There probably could be no greater shame.  And winning on the top of Alp Du ‘Ez  (or however you spell that) was the greatest validation. Cases like Pantani’s seem to prove what Brene Brown says about shame resilience.  She has been a leading shame researcher for her career, and she has made integral connections between high levels of shame (low shame resilience) and addiction, crime, violence, isolation, suicide, and lots of bad stuff.  And I think you can see that in Pantani’s life.  Validation was why Pantani needed the win.  Why was validation so important?  It made the pain go away like nothing else.  Validation was THE drug.  There was no denying he was a gifted cyclist, with or without EPO.  But to prove that, he would need EPO, because that’s what his rivals were using.  To a normal person, this whole scenario would seem weird and simply make you ask, why would you do pro cycling at all?  Couldn’t you get the same validation as an amateur?  No way.  As a pro, you can become a national hero.  And Pantani did.  

Now that he had tasted validation at that level, how could he ever be an amateur again? Of course, the real addiction was to the external validation.  And I think Brene Brown would say that if Pantani had been able to learn internal validation instead, he might have extracted himself from the eventual crashing failure and humiliation his life became.  It was a very sad story, since he basically died of a drug overdose on the floor of a very nice hotel suite bathroom.   He broke the hearts of millions.  And I was struck at how responsible they felt for his death.  In a rather real way, I suppose anyone who patronizes professional sport could feel this emotion.  But I think that’s because we’d rather not know whether the game is really rigged or not.  Because it’s such a fun game just the way it is.  Except when it’s not, and Pantani is perhaps the clearest example of when sport ends very badly.  There are many, many other sad stories.  There have been hundreds of deaths linked to EPO in professional sports.   Athletes in their prime would die in their sleep because their blood would not circulate properly when their heart rates got too low.  I guess those athletes found the external validation from their victories worth the risks also.

So what’s the answer?  Well, in a perfect world, we would all be too incorruptible to enjoy a corruptible sport.  We would care whether the sport was corrupted or not.  We would care about the athletes as human beings.  And we would care about ourselves.  But most of us don’t enjoy sports of our own more than we enjoy watching others do sports on TV.  The superstars become our celebrities, and we expect them to live through them vicariously.  It’s more interesting to watch their victories on Alp Du Ez than for us to dust the cobwebs off our bikes and ride up the neighborhood hill. There’s probably a reason why the cameras almost never show us the “groupetto” on the long climbs.  (That’s the group of riders who are substantially slower than the peleton; these riders are not climbers.  They’re just trying to make the time cut-off so they can stay in the tour.)  The reason why we never see the groupetto is that it’s too much like how we actually climb in real life.  We suffer, most of us.  And who wants to be reminded how much it hurts to climb at our own glaical pace?  It’s much more entertaining to fantasize and watch how Pantani climbs.  Fantasizing that you’re climbing like Pantani, now that’s quite a fantasy!  Climbing like I do, well, that’s not such a sweet fantasy.  Not much entertainment value there.  Don’t need to watch TV or see commercials for that.

I guess cycling is kind of like a beauty pageant: it takes a lot for anyone to get there in the first place, but we fantasize about number 1.  And maybe therein lies the rub.  Why is it not as fun to fantasize about being the best us possible instead?  Why fantasize about being someone else?  Why is it so easy to treat someone on TV as a virtual object, even if we treat ourselves as a virtual object in the same exchange?  If I ever find out, I’ll let you know.

It’s fun to fantasize.  Most of us cannot help ourselves.  Pantani had a chance to live out a huge fantasy in real life.  I cannot begrudge him for doing that.  But he’s also a cautionary tale: beware addictive allure of external validation.  Do your emotional homework.  Or else it could cost you big time.

Charleston and Gun Control? Really?

Okay, I had wanted to not get political here, but sometimes it’s hard to stay mum.  I’m anti-gun-control, by the way.  I’m pro-common-sense and pro-Constitution.  So I’m pro-not-being-handled by misinformation.

It’s very hard to look at people being victimized and not feel outrage and empathy on their behalf.  And politicians, I’m sorry to say, capitalize in these very tragedies to exploit our emotional state with their narrative.  Unfortunately, most people don’t have enough first-hand experience, these days, with either firearms or deadly force encounters to understand the truth from the fiction.  Most people today gain their firearms experience from television and movies.  Those are fantasy, for the most part.  And you can pretty easily dismiss as nonsense most of what you see in television and movies as “not based in reality.”

I would say it takes about 3-5 years of firearms training for a civilian to start being aware of truth versus fiction in deadly force encounters.  This includes multiple 5-day training schools, perhaps some weekend competition, ongoing local training, and ongoing affiliation with other “gun people.”  It takes a fair amount of time to undo the bullshit factor we all inherit from Hollywood, and from untrained family and friends.  When you get your own concealed carry license, you begin to understand that a lot of what you hear in the media is partisan bullshit.  It’s designed to mold (manipulate) your opinion according to an external agenda.  It’s not designed to inform you at all.  So during this 3-5 years, you’re actually beginning to make sense of the national conversation about guns and gun control.  It’s been going on from a long time, long before our lifetimes, and it’s hard for us to make sense of it if we’re just coming from the outside.

First, I’ll say this gun conversation is not a conversation.  It’s an argument.  It’s a heated argument.  People are very divided on it, so there’s not a lot of open-mindedness that is apparent.  When you try and have an open-minded conversation, where reason rules, it oftentimes fails.  That’s just not the norm.  And the hugely partisan political nature of this argument doesn’t help at all.

Second, the conversation isn’t really about guns or violence in America.  If you listen carefully, you can get this yourself.  For example, the mass shootings that take place happen, for the most part, in “gun free zones.”  Basically, the people who do the mass shootings (and I refuse to learn their names), are disturbed individuals who want the world to feel their pain.  They choose gun-free zones specifically because they know ahead of time that they want a high body-count.  So gun-free zones are tailor-made for their purposes.  So, if you examine the so-called conversation about mass shootings, why does this point rarely come up?  Why do you not hear about those stories where some good person with a gun stopped an attacker before the body count got very high? And how is it that law-abiding weapons permit holders, who are able to pass a background check and who have no arrest record, become vilified after each and every one of these mass shootings?  Shouldn’t you be a little suspicious that the story is being spun for you?  Why does the story not enter into a discussion about mental health in America?  Why does it head straight into gun control, which tends to target law-abiding citizens rather than known criminals?

Perhaps a note of explanation is warranted here.  Gun control targets law-abiding citizens, not criminals.  Criminals never did obtain their guns through legal channels.  They bypass legal channels altogether.  Gun control measures focus on the legal acquisition of firearms and bypasses illegal channels.  So gun control doesn’t protect you from criminals with guns.  It “protects” you, as a law-abiding citizen,  from getting a gun yourself.

Third, gun control is about people control.  It’s part of a “progressive” political agenda that has been underway for well over a century.  The second amendment is a huge obstacle to this agenda.  The agenda’s main objective is to transfer political power from being diversely spread through out the American populace to being centralized in the hands of political elites.  The agenda is about changing how the country is governed.  That’s what’s behind the gun control conversation/argument.  One side believes the Constitution and Declaration of Independence are a wise foundation for political sovereignty.  The other side believes it’s naive to think humans can govern themselves.  Let the “experts” handle it.  Trouble is, the “experts” aren’t very expert after all.  Turns out they’re human too.

Basically, political elites don’t think we’re capable of governing ourselves.  They believe we must be handled.  And there’s large precedent for this, since we’re handled successfully at nearly every turn nowadays.  There are large segments of our society who believe, at this point in time, that it’s the government’s job to take care of them.  They believe that it’s not their responsibility to take care of themselves.  This belief makes them ripe for being manipulated and falling face first into this progressive/liberal agenda.

The Constitution was highly controversial when it was adopted, and it’s been that way ever since.  At its heart, its message is about the ideal of human self-control and the willingness to grow and be accountable to what recovery programs call “your high power.”  However you define that.  The Constitution is about a sort of “divine spark” in human beings that requires freedom to grow.  It requires the basic human protections identified in the Bill of Rights in order to flourish.  To protect these rights, government must be held back, it must be limited.  The checks and balances specified in the Constitution are the safeguards that prevent the government from growing into an all-controlling nightmare.  The framers of the Constitution recognized this dark potential and aimed at something better for this fresh new government.

But this approach is messy.  First, the very people who are attracted to political office are usually some sort of narcissistic control freaks who love to hear themselves talk and who love an audience.  They truly believe they are smarter than you and I are.  They’re often the very last people who are selflessly devoted to the common good.  The Constitution specified ways to prevent them from consolidating power by competing with each other and protecting their own self-interest.  Second, the most responsible, self-governed people don’t really need government.  Government spends most of its time dealing with people who struggle with making it on their own.  If everyone, for example, were as powerful as a multi-national corporation, there would be no victims of corporate abuse.  But many of us just want to lead a simple life doing that “pursuit of happiness” thing that may or may not involve getting financially rich or politically powerful.  In short, we are not control freaks.  We just want to lead a peaceful life.

So this decision about who tells us what to do is really what’s going on behind the whole gun control argument/conversation.  Are we too stupid to take care of ourselves?  (Some people apparently are.)  Or are we responsible enough to deserve the liberties in the Bill of Rights?  (Which the Constitution says are rights, not liberties.)  Are those liberties rights or liberties?  Another conversation.

These are heady questions.  But realize that you’re not going to get an objective conversation about them when the camera crew is standing in front of a pile of dead victims from the latest mass shooter.  That’s as pure an example of us “being handled” as ever existed.

If you’re not trained in deadly force, if the term “deadly force” is repugnant to you, that simply means you have a lot of homework to do to catch up to the gun control conversation.  It means that the darker aspects of human nature, which the law has had to deal with all the way back to the first century AD, and before, is something you haven’t really given much thought to.  It means that, probably, you have learned about violence from movies and television rather than from self-discovery.

I will say that, from my perspective, violence is almost always the wrong answer to any question.  However, in those rare instances when violence is not the wrong answer, immediate and decisive violence is usually the only workable answer.  When someone else escalates a confrontation to deadly force, your decision is reduced to survival alone.  Your options are to die or survive.  And after he kills you, the chances are good that he will use violence on someone else after you are dead.

That’s what I’ve learned from my own self-defense training.  And there’s a whole lot of psychological inquiry and personal evolving that goes along with that training.  Because, as humans, we’re hard-wired for love and connection with each other.  We don’t do well when we lose connection with each other.  When we do feel connected and understood together, we are much more resilient as human beings.  We tend to be much happier.  I believe emotionally intimate personal connection is a requirement for happiness.

So, if you’ve read this far, I hope you can begin to see that maybe the gun control conversation is not really about gun control.  Gun control is a smokescreen that conceals a far larger conversation in our culture.

The hidden conversation is about collective and personal responsibility.  It’s about self-governance and personal growth.

The underpinnings of America are based in rational inquiry and actual conversation rather than partisan arguments.   In fact, I will say that any argument that attempts to bypass your best judgment is probably an attempt to manipulate you.  And there’s a lot of that going around these days.  America was founded on the idea that if we try and stay rational and have empathy for each other, we could pull off this idea of self-governing.  If we don’t work together, we’ll eventually lose the liberties that our forefathers strove to create and protect.

The Happy Movie

2015-06-07_00-49-11

I just watched this move entitled, simply, Happy.  I was very pleased.  I happen to be one of those people who gets down in the dumps sometimes, and I really have almost nothing to complain about.  I simply don’t use my mind resourcefully.  I think a lot about things that aren’t very important in the grand scheme of things.  And most importantly, I tend to isolate from other people.

That seems to be a biggy when it comes to happiness.

This movie challenges our cultural habit of pursuing external sources for happiness instead of internal sources.  It looks at people in our culture and in other cultures who are happy.  Who consider themselves happy.  Who have deep connections to friends and family.  And who find great meaning in their own lives.  And who enjoy living every single day.

I have always dismissed people who say they are happy as being slightly deluded or just plain simple in the Forest Gump sort of way.  But this movie makes me change my opinion.  I think now it is me who could learn to use his brain more resourcefully.

Apparently, if you don’t use your brain and “do” happiness, your brain adapts and is less able to do happiness.  Just like a muscle, our brain appears to adapt to being happy.

I think it’s odd that when I am with people, I usually have a relatively easy time connecting.  And yet, I spend most of my time not connecting with people.  I connect with machines instead.  But machines are rather unable to make me feel connected.  Yet, I guess I have trust issues about being accepted.  I suppose I am keen on noticing differences between people rather than noticing similarities.  And I fear that those differences will eventually lead to my being rejected.  I can’t recall that ever happening, me being rejected.  Perhaps in high school or grade school, but otherwise not so much.  Yet, I go on isolating.  By default, anyway.

It could also be that I change a lot.  At least parts of me change.  And perhaps I fear that those changes make me a riskier person to love, because what you love in me today might be gone tomorrow.  For example, in life I do a crazy Ivan every so often.  If you’ll remember from Tom Clancy’s book, The Hunt for Red October, the American fast attack subs would follow the Russian boomers, and just to make sure that no one was following them, the Russian subs would do a spontaneous 360 degree turn with their active sonar array in tow, and anyone in their rear “blind spot” would be discovered.  I like that metaphore for life.  I think we all have our blind spots, and it’s a good idea to do something different, like some sort of 360 degree turn, where you look at your fundamental value systems and try to see your own blind spots as best you can.  Or at least see something that you wouldn’t otherwise be able to see in your day-to-day life.

I recently did that with competitive shooting sports.  I decided that I was spending too much energy getting really good at shooting paper targets so that I could perform skillfully in a real-world shooting, that I was spending too much time being afraid and too little time being compassionate and loving of my fellow human beings.  I also had gotten lead poisoning in my blood.  It was affecting my cognitive functions.  Well, I’ve since gotten the lead out, and I look at shooting sports primarily as a social outlet now.  And it’s fun.

But that was a change.  A rather big change for me, at least on the inside.  Also, I recently started studying programming.  Python programming to be exact.  I think I’ve put programmers up on a sort of pedistal, and I’ve not taken the challenge of taking programming classes myself.  I’ve been a self-taught, book learning sort of shell scripter, but since November of last year, I’ve taken the O’Reilly School of Technology courses on Python.  We’re getting into the language quite a big; I’ll be starting the fourth class–Advanced Python.  It’s an adjustment starting to consider that my level of knowlege of the Python language is advanced.  Not my experience, but at least my classroom learning, so to speak.  Cool.  But it’s an adjustment.  We’ll see how I do in the real world when I get a job! 🙂

In thinking about my own failings when it comes to happiness, I seem to look to external sources for happiness by default–which is a mistake.  Also, connecting to friends and family needs to be a huge priority rather than a hobby or peripheral task.  That would be one of the biggest changes of all for me!

MATE customizations…

Screenshot_2015-06-05_16-53-09

One Panel on the Desktop…

As you can see, I moved everything to just one panel and put it at the top of the screen.  It can get a little crowded up there.  But It feels cleaner to me to not have anything dock-like lingering at the bottom of the screen.  I don’t have to do a double take to find my stuff.  I look one place, and if it isn’t there, it isn’t there.  Nice!  I like that.

Python Course 3 at Oreilly

In other news I finished my third Python course at O’Reilly School of Technology.  It went pretty quickly.  The course focused a lot on creating and using classes and on their internal and magic methods, how they work and how you can use them.  It’s mostly all object-oriented stuff, but you can always use it procedurally.

The last lesson was about using time-based computations, which seemed like we already covered at the end of the database series.  We generated a bunch of emails that got slurped into a mysql database, and we had to measure the difference in time between 50 db-commits and 1000 db-commits from various perspectives.  So we got used to the datetime and timedelta libraries.  But the last three lessons of this most recent course focused on engineering your classes and using logging and argument parsing on the command line, both of which require some external libraries.  So it’s always good to get familiar with the standard library.  Plenty to learn there!

At this point in time, I’m thinking about Python as a really elegant layer on top of C.  There’s lots and lots of speed and genius built into Python.  I’m sure there are other excellent scripting languages, but Python holds a special top-shelf location in my mind.  I think, perhaps, one of the reasons is that there are some philosophical differences that tend to make it unique.  One of the biggest is a divergence from TMTOWTDI (There’s More Than One Way To Do It).  TMTOWTDI is one of the battle cries of Perl programmers, for instance, a language I am very fond of.  However, when you have a single ‘Pythonic’ way of doing things or an infinite number of WTDI, it can get painful to try and read the code.   If I go back and read my Perl code from a year ago, and go back and read my Python code from a year ago, I’m going to have an easier time understanding what I meant with my Python code.  I think it will be easier for anyone else also.  I think this is a major advantage that Python has over just about any other scripting language.

Being sort of a free spirit, I would have thought I’d recoil at the thought of one orthodox way of doing something.  But in practice, I kind of like it when it comes to programming.  It’s sort of like using “Standard English.”  I was an English major many years ago, and there are times when orthodoxy is a good thing.  Like when you’re trying to publish a scholastic journal, for example.  Or even Mama’s Cooking Newsletter!  It sucks to have to be creative every single day; mostly, it’s easier to save your creativity for stuff that isn’t mundane, or stuff that is an art form.   Programming is very practical at its core, and it has lots of work to do.  Too much creativity can get in the way.  Just as with English, it would suck if everything had to be a sonnet or haiku.  Sometimes, you just need directions to the john!

So there’s a “Pythonic” way of doing things in Python.  I’m learning that.  Getting better at it.  And I’m sure I can write beautiful and elegant code in a Pythonic way also.  And in another few weeks I’ll be done with Course 4!  If it isn’t too hard, that is.  If it is too hard, it will just be a few weeks longer!

Meanwhile, it will all be a little easier to do with a clean desktop like MATE!

Mate 1.10 on Slackware 14.1 –Current

screenFetch-2015-06-03_23-32-38

I was happy to check out Mate on Slackware.  I checked out the git repository of the latest Mate and it built like a dream on my 32-bit Slackware box.  For those who haven’t used Mate before (pronounced MAH, tay), it’s a fork of the Gnome 2 Desktop Environment (DE).  Many people preferred the simplicity of the Old Way and weren’t interested in changing their way of operating to GNOME 3.  Interestingly, another project, called the Cinnamon DE, forked the GNOME 3 code toward a very MATE-like project–at least in appearance.  Cinnamon uses GNOME 3 libraries, and MATE uses new and improved GNOME 2 libraries, if I understand correctly.  Confusing, huh?  Hey, people don’t always agree, and with Open Source, if you don’t agree, you can start your own project!  Truth be told, I didn’t care for the new GNOME 3 stuff either.  It just seemed a little too new and improved.  Both Cinnamon and MATE are much more to my liking.

MATE does not ship with Slackware.  Neither does Cinnamon.  and Chess Griffen are Slackware fans who have created SlackBuild scripts and a Git repository of MATE sources so Slackers can build and install their own packages for their systems.  That’s what I did.  I downloaded a zip file of the entire repository, which is not very big, by the way.  I ran the build scripts, and poof!  After about 30 minutes of chugging away in a terminal window, I had MATE 1.10 installed on my Slackware –Current box.  I’m running it now.

Mate is very pretty.  So is XFCE, which is included in the standard Slackware distribution.  But I don’t really care for KDE, and I reserve desktops like Fluxbox and so forth for smaller, humbler machines.  When I have a machine that is a little bit faster, I prefer to run a desktop that has a few bells and whistles and that lets me spread out.  MATE is probably as fast or faster than XFCE on this machine, and it seems to be stable.  It’s at least as pretty as XFCE as well, and I just like it.  I’m very comfortable with it.  I’ve been running it on a couple of Ubuntu boxes for a good while now.  So it’s a nice option for my desktop.

I downloaded and tried installing MATE version 1.8, and it wouldn’t build for me.   Libunique, which is a dependency, wouldn’t compile.  So I went on IRC on the Freenode network, into the #msb chat room, and Willy was there to help me out.  I told him what error I got, and he suggested I go ahead and get the 1.10 version, which had fixed that little problem on Slackware -CURRENT machines.  He was right.  It built just right, and I haven’t seen a sign of a problem yet.

So, I’ll keep my eyes open for any difficulties, but I won’t hold my breath.  This DE seems as stable as I could want a production desktop machine to be.  Feel free to try it for yourself!

Slackware Upgrade

screenFetch-2015-06-01_01-54-07

I’m still using –current, but I made a boo boo that cost me some time.  The basic syntax for slackpkg is

# slackpkg update && slackpkg install-new && slackpkg upgrade-all && slackpkg clean-system

Well, that last one can get ya.  Especially if you have some extra packages on your system that aren’t an official part of Slackware.  (And who doesn’t?)  These would be things like a flash plugin for Firefox or maybe another window manager that you like, and maybe some extra tools (like screenfetch and scrot) that you just prefer.  How about LibreOffice for example?  Well, “clean-system” will remove all those too.

The thing to do, apparently, is to “blacklist” the packages you don’t want slackpkg to touch.  This list lives in /etc/slackpkg/blacklist

On the positive side, everything else in the upgrade went very smoothly.  There were a bunch of config files in /etc/*.new /etc/*/*.new /etc/*/*/*.new but most of those were no big changes. Of course, there are files in /etc that truly deserve to be edited by hand or at least diff -c configgy.conf configgy.conf.new to see what has changed. Files such as /etc/passwd /etc/group /etc/shadow and so on are not good candidates for automated overwrites. These you should copy the edits by hand and ensure that only what you approve goes into those files. The rest are scriptable.  After the upgrade and cleanup, it’s still a good idea to check out /var/log/removed_packages and ensure nothing you want has been removed. I had lost giblib and imlib, which scrot requires.  That’s okay, I still had the packages nearby.  In the future, I’ll have those items blacklisted.  Meanwhile, isn’t that a cool wallpaper? It can be found here. Nice job, Piotr!

By the way, I simply added a few more filenames to the script that usually gets reprinted in UPGRADE.TXT, and here is that script that helps me during larger upgrades:


#!/bin/bash

cd /etc
find . -name “*.new” | while read configfile ; do
if [ ! “$configfile” = “./rc.d/rc.inet1.conf.new” \
-a ! “$configfile” = “./rc.d/rc.local.new” \
-a ! “$configfile” = “./group.new” \
-a ! “$configfile” = “./passwd.new” \
-a ! “$configfile” = “./shadow.new” \
-a ! “$configfile” = “./gshadow.new” \
-a ! “$configfile” = “./hosts.new” \
-a ! “$configfile” = “./hosts.allow.new” \
-a ! “$configfile” = “./hosts.deny.new” \
-a ! “$configfile” = “./profile.new” \
-a ! “$configfile” = “./inetd.conf.new” \
-a ! “$configfile” = “./inittab.new” \
-a ! “$configfile” = “./fstab.new” \
-a ! “$configfile” = “./lilo.conf.new” \
-a ! “$configfile” = “./resolv.conf.new” \
-a ! “$configfile” = “./sudoers.new” \
-a ! “$configfile” = “./mtab.new” \
-a ! “$configfile” = “./networks.new” ]; then
cp -a $(echo $configfile | rev | cut -f 2- -d . | rev) \
$(echo $configfile | rev | cut -f 2- -d . | rev).bak 2> /dev/null
mv $configfile $(echo $configfile | rev | cut -f 2- -d . | rev)
fi
done

So, that’s it! And great thanks and praise to the Slackware team for delivering another excellent –current experience!