Title photo
frugal technology, simple living and guerrilla large-appliance repair
Thu, 24 Nov 2016

I did the Fedora 25 upgrade

I upgraded from Fedora 24 to 25 today. So far, so good.

Update: I've had periodic Google Chrome freezes. I've had to kill it and start again a few times. I just had one while writing this post with Ode's EditEdit plugin. Not sure if this is a Google Chrome thing or a Fedora thing. I do have Fedora's version of Chromium to test.

Another update, a day later: No Google Chrome freezes today. I just had my first Google Chrome freeze of the day. Before that I replaced RPM Fusion's Audacity 2.1.2 with Fedora's own Audacity 2.1.3, and my GTK3 rendering issues are now gone. And for some reason I can still output an MP3 even though this isn't the "freeworld" version.

Trying Chromium: I am trying the Fedora-packaged version of Chromium to see if I experience the same freezes that I have been getting in Google's version of the application.

Chromium update: You know what's not crashing? The Fedora-packaged Chromium browser.

So far today, I have replaced the Chrome browser hosted on Google's server and Audacity from RPM Fusion with versions of both from Fedora's own repository. I always like using as many packages as possible from a distribution's own repo (generally a point in Debian and Ubuntu's favor), and it's nice to get closer to that ideal in Fedora.

I have been meaning to write about the coming of Chromium to Fedora for a long time but never got around to it. It installed on my computer automatically as the dependency of another app, the name of which escapes me at the moment.

I also should write about MP3 support (decoding, not encoding) coming to native Fedora (i.e. without RPM Fusion). While I do have RPM Fusion repos active on my Fedora desktop installation (I'm sure there are people who don't ...), I'm not sure if that's the reason my now-Fedora-supplied (and non-"freeworld") Audacity is able to output an MP3 file. All I know is that I'm happy to have my Audacity rendering issues (which have been problematic for a couple of months) and Chrome freezing issues (only a problem since the Fedora 25 upgrade) both solved in very short order.

More info on Fedora's Chromium package: https://fedoraproject.org/wiki/Chromium

Possible clue on why Google Chrome is freezing in Fedora 25: From a Fedora mailing list exchange

GNOME 3.22: As dozens of entries on this site will tell you, I periodically try GNOME 3 and usually abandon it because I get more work done in Xfce. In Fedora 25 -- for the first time -- Wayland is the default display technology for GNOME. When I try to run that on this 3-year-old AMD-running laptop (HP Pavilion g6-2210us), it freezes. The Xorg version, still available in the GDM choices, does work.

Chrome in GNOME: It seemed to be working fine. Once again, time for a GNOME test.

A ton of updates means Wayland is now working: All the video drivers updated just now in Fedora 25, and I can now run GNOME in Wayland. That was a quick fix.

Mon, 21 Nov 2016

JavaScript for Cats recommends Underscore.js

The friendly Javascript for Cats tutorial recommends the Underscore.js library, which does look pretty useful.

Sun, 20 Nov 2016

freeCodeCamp: A Gentle Introduction to Data Structures - How Linked Lists Work

freeCodeCamp: A Gentle Introduction to Data Structures - How Linked Lists Work https://medium.freecodecamp.com/a-gentle-introduction-to-data-structures-how-linked-lists-work-5adc793897dd

Gizmodo: Deleting the Facebook App Could Save Up to 20 Percent of Your Android's Battery Life

Gizmodo: Deleting the Facebook App Could Save Up to 20 Percent of Your Android's Battery Life http://gizmodo.com/deleting-the-facebook-app-could-save-up-to-20-percent-o-1789189589

Honeybadger: A Rubyist's Guide to Big-O Notation

Honeybadger: A Rubyist's Guide to Big-O Notation http://blog.honeybadger.io/a-rubyist-s-guide-to-big-o-notation/

Thu, 17 Nov 2016

Disqus -- thanks for fixing your Admin interface

I use Disqus a lot. For work. I mod HUNDREDS of comments a day on a few dozen sites, and the Disqus Admin interface had been making that task very difficult in recent months.

But sometime during the past week, Disqus updated its Admin interface on the web, and it is much easier to moderate the comments.

Things were broken and now they are fixed. Thanks, Disqus.

Sun, 06 Nov 2016

Well-used laptops don't last forever

My experience, anyway, is that heavily used laptops like mine don't last anywhere forever.

My Lenovo G555 lasted a little more than two years before it died.

And now I've had this HP Pavilion G6 2210-us for three years and six months. I'm on my third battery (luckily they're cheap), and now I'm about to replace the entire keyboard (also cheap).

I bumped up the RAM to the maximum of 8 GB a while ago. No regrets there.

The HP has had one catastrophic drop onto concrete that didn't affect it at all -- except for some nasty abrasions on the plastic case.

The drive it came with was an ample 640 GB in size. I sort of want to rebuild it as a Linux-only computer with a 1 TB drive. I generally have 100 GB of free space, and I'd have even more if I could kill out the Windows 8 instllation that I could never successfully upgrade to 8.1 and hence never even try to get Windows 10. If I don't go SSD (and I can't see doing that on this old laptop), the 1 TB would give me a lot of breathing room.

So the batteries last about a year, and the keyboard lasts 3 years. I'll replace the keyboard and hope the rest of the thing doesn't go south.

Would a more expensive laptop -- this one sold for around -- last longer? I don't think so, but you never know.

No more replacement keys, I'm just going to replace the entire keyboard

While my last key replacement was rocky yet ultimately successful, the results aren't what I'd hoped. And now the space bar is going wonky.

My "new" N key works, but it doesn't have the clicky/bouncy feel of the other keys. I'm not sure if it's the rubber cup or the hingy mechanism, but it is what it is. And it's not great.

I tried new rubber cups that I got from ReplacementLaptopKeys.com, and that didn't help.

The space bar is just generally loose and mushy, and it doesn't work on the ends all that well.

This time I'm just buying a whole new keyboard. What I didn't know is that they're cheap. For this laptop anyway.

I'm not sure if this is the case for all laptop brands, or just HP, but the market is awash with OEM replacement keyboards, and I just bought one for on eBay. Sure I'll have to take the whole damn laptop apart, but it should really have a new lease on life.

Sat, 05 Nov 2016

Can you use JavaScript and Node instead of traditional shell scripts?

One of the things that would get me using (and learning) more JavaScript would be the ability to take care of all the administrative things I do in (mostly) Bash, (occasionally) Ruby and (very occasionally) Perl using JavaScript via Node on the command line.

I have played a bit with creating and writing files in that environment, and I found the following posts to help in that effort:

This Fedora install still kicking after SIX upgrades

I started this laptop on Fedora 18 before a fairly quick upgrade to F19. I've kept it going all the way through Fedora 24.

So far that's six "major" upgrades. And it still works fine. Not that it shouldn't, but I don't remember things ever going this smoothly for this long.