Language Selection

English French German Italian Portuguese Spanish

gfranken's blog

With the latest Kubuntu 15.10 (Wily)

Filed under
Just talk

I love the KDE desktop—I really do. However… here are some grumbles.

Issues with Kubuntu 14.10

Filed under
Linux

I installed Kubuntu 14.10 a couple of weeks ago. Here's two issues I've discovered, the first one is solved, but the 2nd one isn't.

1) Kdenlive will play videos from the Clip Monitor, and in the Project Monitor. However, after rendering the video, audio is lost.

2) It's not possible to mount an nfs share automatically in /etc/fstab. You have to use
sudo mount -a and enter the root password.

Computer Equipment and Screen Recording Revisited

It has been about 3 years since my primary hardware machine has been upgraded. I already had 16GB of RAM, two 1920 x 1200 monitors, a Filco mechanical keyboard, and a graphics tablet. OK, I admit that the CPU is showing a little age, but it was an AMD Phenom II X4 965 quad-core processor, and that still has some life left in it.

So I decided to update my graphics card, which was an Nvidia GeForce 440.

Mandrake Derived Distros

Filed under
Linux

Todays special is about Mandrake derived distributions, namely,
OpenMandriva Lx 2014 alpha vs Mageia 4 final vs ROSA 2012 R2 final vs PCLinuxOS 2013.12 final.

In (my limited) testing, I've used the X86_64 versions favoring the KDE desktop, and I've used the NVidia binary drivers provided with each distro.

Here's my experience with each one:

PCLinuxOS 2013--An Old Friend Revisited

Filed under
Linux

I first heard about Bill Reynolds (AKA "Texstar") when I was using Mandrake Linux 7 (later called "Mandriva") many years ago. Back then, Texstar was putting together updated KDE releases for Mandrake Linux, as Mandrake would only typically update their KDE release once or twice a year.

Windows 8.1 "The Worst Ever"

Filed under
Just talk

I've taught High School Computer Science for 25 years--Computer Programming, Web Page Design, Word Processing, Database Processing, and Spreadsheet processing. I have Linux on all my home computers with a dual boot into MS Windows 7 on my main computer. I don't use Windows 7 very often--but, I can find my way around in Windows 7. Since I have no experience with Win 8, I've thought all the recent hoopla about Microsoft's Windows 8 and 8.1 was just inexperienced grousing.

Casual Programming and Linux Screen-Recorders

Filed under
Linux

After being retired (for four years) from teaching high school Computer Science, I decided to get back into programming again. I once taught a beginning programming class using the Ruby language, and I thought that would be a good way to get back into programming. So, I decided I needed a “Ruby refresher”, and I wanted to learn more about that language than I taught in the classroom.

Lost mime types under kde

Filed under
Linux

I downloaded the source to the (video editing) application "kdenlive" (version 0.9 just released), and following the instructions on the kdenlive web site, compiled it, and installed it on my Linux Mageia Cauldron laptop. Maybe I did something wrong, maybe not. Anyway, disaster ensued.

LibreOffice 3.5.0beta2--one person's experience

I've been working on a complex document for the last year or so. This document is now 25 pages long, and includes a dozen images in frames with captions, with text running around the images, a table of contents, Gradient backgrounds on major headings, 2 drawings, varying headers and footers (with borders and shadows), lists, varying page styles, footnotes, and font styles.

I've been working on this document long enough that I started it with openoffice. I then switched to LibreOffice with its first release. And now I'm editing it with the LibreOffice Christmas Eve (2011-12-24) 3.5.0beta2 release.

Invariably, up to now, in a 2 hour work session, openoffice/libreoffice would crash at least once. Sometimes more.

Interestingly enough, this latest LibreOffice beta has not crashed once in three 1 hour work sessions. It may only be a beta, but I'm a believer.

Gook work LibreOffice folk.

Nook Ebook Reader & DRM

I'm 62 years old, and I've always been a reader. So, a few months ago, I finally coughed up the money to purchase a Barnes and Noble Nook ebook reader. Despite being a Linux user and occasionally enjoying tinkering with the innards of things, I haven't rooted my Nook, or installed any other OS variant—it is completely stock.

Unlike my wife's Amazon Kindle (with its E-Ink display), my Nook's battery doesn't last long. The other day I was reading a good short novel I had just downloaded from Barnes and Noble. I'm about half way through the novel when my Nook's battery level gets very low.

Here's the rub: my charger unit has an intermittent electrical short, and I can't immediately plug it in to continue reading while recharging my nook (a couple of days later, I fix this).

But I want to finish reading my novel now! I've got the time, and I'm really into the story.

Hard Drive Purchase and Thailand Flooding

Filed under
Just talk

My 2nd desktop is largely reserved for video editing. As it often the issue with video editing, storage space is getting scarce. The sata hard drive has 320 GB, and it's getting full. Time to purchase a new hard disk drive...

BIOS Flash update under linux.

Filed under
Linux

I figured it was time to do a BIOS update on one of my main Linux boxes. The MSI NF 980-G65 AMD motherboard came with an AMI BIOS dated September 2009. This MSI motherboard is based on the NVidia NForce 980a chipset, and has built-in NVidia Geforce 8300 video (which I do not use).

Powering up this system has always been a little flaky, requiring a couple of reset-button presses before it would boot into Linux (it would hang at the BIOS splash screen). After boot-up, the system always ran great.

Alright, so on to the BIOS update. MSI has the live update online program which requires, of course, Microsoft Windows, and the Internet Explorer browser. Well, I don't have these on this system, and don't want to put them on it.

In the AMI BIOS setup program, I see the M-Flash option. I try this, but can't get it to work. Some research on the Internet indicates that it's very likely you'll wreck your BIOS using M-Flash anyway, so that's out.

Mageia 1 Alpha2 -- A Status Report

Filed under
Linux

On September 18, 2010, in response to Mandriva's liquidation of its “Edge-IT” subsidiary and the attendant layoff of a substantial share of its developers, a group consisting of former Mandriva developers and Mandriva community contributers announced their intention to form a non-profit organization and release a fork of Mandriva Linux called Mageia Linux.

How is the Mageia 1 release shaping up? This status report takes a look at Mageia Linux 1 Alpha 2 release (updated daily), from a KDE-user perspective.

Mandriva Linux 2011TP (Tech Preview) - Quick Look

Filed under
Reviews

After laying-off a significant portion of its employees, is Mandriva going to remain a viable distribution? While many distros, including Mandriva, are furiously working on their Spring 2011 releases, Mandriva announced a two-week slip from their previously announced release dates. As a compensation, Mandriva gathered up its packages from its 2011 development repositories (called "Cooker"), and released a pre-alpha 2011 TP (Technology Preview) iso. The coming Alpha version is due to be released February 14 with Alpha2 slated to be released February 28. So, here's a quick report on the Technology Preview release, and how things are shaping up.

Printer Woes

Filed under
Just talk

The last day of this year in Southern Oregon is sunny, clear, and cold. Sitting here and basking in the morning sun streaming through the window mitigates my foul mood regarding the state of printers.

Screencasting Under Linux--A brief Story

Filed under
Linux

Since my recent retirement from 34 years of mathematics and computer science teaching, I've been working on creating creating screencasts for teaching how to use various kinds of computer software. So, I need to record my screen while narrating audio. What follows is my story of what it takes to do this under Linux.

Should Pulseaudio Die? What do you think?

Filed under
Linux

When I was installing and testing Mandriva 2010 Cooker (new development) releases this last Fall season, I kept having persistent problems with sound. Eventually, the advice in the Mandriva Cooker forum for KDE users became: "Disable Pulseaudio, and set Xine as the preferred back end over GStreamer (in the KDE multimedia settings).

Desktop Recording on my Laptop

Filed under
Linux

I bought this Acer Aspire 6930 laptop about a year ago. It is my first and only laptop--and came with Windows Vista pre-installed. Since I value good video performance, I selected a sub model of Acer laptop that has on board Nvidia GeForce 9600M GS video (confession time--yes, I use the proprietary NVidia driver). Since it came with Win Vista, I had 3GB of RAM, and a 320 GB hard disk drive. Plenty of horsepower for Linux, except for ...

Recommended: Rosewill Wireless USB 2.0 Adapter 802.11b/g

After teaching high school computer science for 33 years, I had never owned a laptop computer. I'd always wanted one, but they were just too expensive. Finally, last year, after saving up for a long time, I bought a laptop for me, and 6 months later, a laptop for my wife.

The built-in wireless on my wife's laptop has little range, and isn't very reliable.

Which KDE 4 Distro for my Laptop?

Filed under
Linux

I have a Mandriva Spring 2009.1 RC 2 install on my main production box. I have Kubuntu Jaunty on my experimental box. Which to install on my Acer Laptop?

Syndicate content

More in Tux Machines

Programming: Python, LLVM and Erlang

  • Sending Emails in Python — Tutorial with Code Examples

    What do you need to send an email with Python? Some basic programming and web knowledge along with the elementary Python skills. I assume you’ve already had a web app built with this language and now you need to extend its functionality with notifications or other emails sending. [...] Sending multiple emails to different recipients and making them personal is the special thing about emails in Python. To add several more recipients, you can just type their addresses in separated by a comma, add Cc and Bcc. But if you work with a bulk email sending, Python will save you with loops. One of the options is to create a database in a CSV format (we assume it is saved to the same folder as your Python script). We often see our names in transactional or even promotional examples. Here is how we can make it with Python.

  • Binning Data with Pandas qcut and cut

    When dealing with continuous numeric data, it is often helpful to bin the data into multiple buckets for further analysis. There are several different terms for binning including bucketing, discrete binning, discretization or quantization. Pandas supports these approaches using the cut and qcut functions. This article will briefly describe why you may want to bin your data and how to use the pandas functions to convert continuous data to a set of discrete buckets. Like many pandas functions, cut and qcut may seem simple but there is a lot of capability packed into those functions. Even for more experience users, I think you will learn a couple of tricks that will be useful for your own analysis. [...] The concept of breaking continuous values into discrete bins is relatively straightforward to understand and is a useful concept in real world analysis. Fortunately, pandas provides the cut and qcut functions to make this as simple or complex as you need it to be. I hope this article proves useful in understanding these pandas functions. Please feel free to comment below if you have any questions.

  • Analysing music habits with Spotify API and Python

    I’m using Spotify since 2013 as the main source of music, and back at that time the app automatically created a playlist for songs that I liked from artists’ radios. By innertion I’m still using the playlist to save songs that I like. As the playlist became a bit big and a bit old (6 years, huh), I’ve decided to try to analyze it.

  • Python IDEs and Code Editors

    A code editor is a tool that is used to write and edit code. They are usually lightweight and can be great for learning. However, once your program gets larger, you need to test and debug your code, that's where IDEs come in. An IDE (Integrated Development Environment) understand your code much better than a text editor. It usually provides features such as build automation, code linting, testing and debugging. This can significantly speed up your work. The downside is that IDEs can be complicated to use.

  • Announcing Anaconda Distribution 2019.10

    As there were some significant changes in the previous Anaconda Distribution 2019.07 installers, this release focuses on polishing up rough edges in that release and bringing all the packages up to date with the latest available in repo.anaconda.com. This means many key packages are updated including Numpy, Scipy, Scikit-Learn, Matplotlib, Pandas, Jupyter Notebook, and many more. As many of the package updates have addressed Common Vulnerabilities and Exposures (CVEs), it is important to update to the latest. Another key change since the last release is that Apple released macOS version 10.15 – Catalina. Unfortunately, this was a breaking release for previous versions of Anaconda that used the pkg installer. The Anaconda Distribution 2019.10 installers address the issues and should install without trouble on macOS Catalina. If you would rather repair your current Anaconda installation, please check out this blog post for tips.

  • Apple's Numbers and the All-in-One CSV export

    The hierarchical form requires a number of generator functions for Sheet-from-CSV, Table-from-CSV, and Row-from-CSV. Each of these works with a single underlying iterator over the source file and a fairly complex hand-off of state. If we only use the sheet iterator, the tables and rows are skipped. If we use the table within a sheet, the first table name comes from the header that started a sheet; the table names come from distinct headers until the sheet name changes. The table-within-sheet iteration is very tricky. The first table is a simple yield of information gathered by the sheet iterator. Any subsequent tables, however, may be based one one of two conditions: either no rows have been consumed, in which case the table iterator consumes (and ignores) rows; or, all the rows of the table have been consumed and the current row is another "sheet: table" header.

  • Formatting NFL data for doing data science with Python

    No matter what medium of content you consume these days (podcasts, articles, tweets, etc.), you'll probably come across some reference to data. Whether it's to back up a talking point or put a meta-view on how data is everywhere, data and its analysis are in high demand. As a programmer, I've found data science to be more comparable to wizardry than an exact science. I've coveted the ability to get ahold of raw data and glean something useful and concrete from it. What a useful talent!

  • Sony Pushes More AMD Jaguar Optimizations To Upstream LLVM 10 Compiler

    Sony engineers working on the PlayStation compiler toolchain continue upstreaming various improvements to the LLVM source tree for helping the AMD APUs powering their latest game console. Several times now we've pointed out Sony engineers contributing AMD "btver2" improvements to upstream LLVM with the company using LLVM/Clang as their default code compiler and the PlayStation 4 relying on a Jaguar APU.

  • [llvm-dev] GitHub Migration Schedule and Plans
    Hi,
    
    We're less than 2 weeks away from the developer meeting, so I wanted to
    give an update on the GitHub migration and what's (hopefully) going to
    happen during the developer meeting.
    
    Everyone who has added their information to the github-usernames.txt
    file in SVN before today should have received an invite to become a collaborator
    on the llvm-project repository.  If you did not receive an invite and think
    you should have, please contact me off-list.  I will continue to monitor the
    file for new updates and periodically send out new batches of invites.
    
    There is still some ongoing work to get the buildbots ready and the mailing lists
    ready, but we are optimistic that the work will be done in time.
    
    The team at GitHub has finished implementing the "Require Linear History"
    branch protection that we requested.  The feature is in beta and currently
    enabled in the llvm-project repository.  This means that we will have the
    option to commit directly via git, in addition to using the git-llvm script.
    A patch that updates git-llvm to push to git instead of svn can be found here:
    https://reviews.llvm.org/D67772.  You should be able to test it out on your
    own fork of the llvm-project repository.
    
    The current plan is to begin the final migration steps on the evening (PDT)
    of October 21.  Here is what will happen:
    
    1. Make SVN read-only.
    2. Turn-off the SVN->git update process.
    3. Commit the new git-llvm script directly to github.
    4. Grant all contributors write access to the repository.
    5. Email lists announcing that the migration is complete.
    
    Once the migration is complete, if you run into any issues, please file
    a bug, and mark it as a blocker for the github metabug PR39393.
    
    If you have any questions or think I am missing something, please
    let me know.
    
    Thanks,
    Tom
    
    
  • LLVM Plans To Switch From Its SVN To Git Workflow Next Week

    On 21 October they plan to make LLVM's SVN repository read-only and finish their git-llvm script to bring all the changes into Git, and then allow developers to begin contributing to the LLVM GitHub project as the new official source repository.

  • Excellent Free Books to Learn Erlang

    Erlang is a general-purpose, concurrent, declarative, functional programming language and runtime environment developed by Ericsson, a Swedish multinational provider of communications technology and services. Erlang is dynamically typed and has a pattern matching syntax. The language solves difficult problems inherent in parallel, concurrent environments. It uses sets of parallel supervised processes, not a single sequential process as found in most programming languages. Erlang was created in 1986 at the Ellemtel Telecommunication Systems Laboratories for telecommunication systems. The objective was to build a simple and efficient programming language resilient large-scale concurrent industrial applications. Besides telecommunication systems and applications and other large industrial real-time systems, Erlang is particularly suitable for servers for internet applications, e-commerce, and networked database applications. The versatility of the language is, in part, due to its extensive collection of libraries.

today's howtos

Kubernetes at SUSE and Red Hat

  • Eirinix: Writing Extensions for Eirini

    At the recent Cloud Foundry Summit EU in the Netherlands, Vlad Iovanov and Ettore Di Giacinto of SUSE presented a talk about Eirini — a project that allows the deployment and management of applications on Kubernetes using the Cloud Foundry Platform. They introduced eirinix — a framework that allows developers to extend Eirini. Eirinix is built from the Quarks codebase, which leverages Kubernetes Mutating Webhooks. With the flexibility of Kubernetes and Eirini’s architecture, developers can now build features around Eirini, like Persi support, access to the application via SSH, ASGs via Network Policies and more. In this talk, they explained how this can be done, and how everyone can start contributing to a rich ecosystem of extensions that will improve Eirini and the developer experience of Cloud Foundry.

  • Building an open ML platform with Red Hat OpenShift and Open Data Hub Project

    Unaddressed, these challenges impact the speed, efficiency and productivity of the highly valuable data science teams. This leads to frustration, lack of job satisfaction and ultimately the promise of AI/ML to the business is not redeemed. IT departments are being challenged to address the above. IT has to deliver a cloud-like experience to data scientists. That means a platform that offers freedom of choice, is easy to access, is fast and agile, scales on-demand and is resilient. The use of open source technologies will prevent lockin, and maintain long term strategic leverage over cost. In many ways, a similar dynamic has played out in the world of application development in the past few years that has led to microservices, the hybrid cloud and automation and agile processes. And IT has addressed this with containers, kubernetes and open hybrid cloud. So how does IT address this challenge in the world of AI – by learning from their own experiences in the world of application development and applying to the world of AI/ML. IT addresses the challenge by building an AI platform that is container based, that helps build AI/ML services with agile process that accelerates innovation and is built with the hybrid cloud in mind.

  • Launching OpenShift/Kubernetes Support for Solarflare Cloud Onload

    This is a guest post co-written by Solarflare, a Xilinx company. Miklos Reiter is Software Development Manager at Solarflare and leads the development of Solarflare’s Cloud Onload Operator. Zvonko Kaiser is Team Lead at Red Hat and leads the development of the Node Feature Discovery operator.

Python Across Platforms

  • Chemists bitten by Python scripts: How different OSes produced different results during test number-crunching

    Chemistry boffins at the University of Hawaii have found, rather disturbingly, that different computer operating systems running a particular set of Python scripts used for their research can produce different results when running the same code. In a research paper published last week in the academic journal Organic Letters, chemists Jayanti Bhandari Neupane, Ram Neupane, Yuheng Luo, Wesley Yoshida, Rui Sun, and Philip Williams describe their efforts to verify an experiment involving cyanobacteria, better known as blue-green algae. Williams, associate chair and professor in the department of chemistry at the University of Hawaii at Manoa, said in a phone interview with The Register on Monday this week that his group was looking at secondary metabolites, like penicillin, that can be used to treat cancer or Alzheimer's.

  • Chemists discover cross-platform Python scripts not so cross-platform

    In a paper published October 8, researchers at the University of Hawaii found that a programming error in a set of Python scripts commonly used for computational analysis of chemistry data returned varying results based on which operating system they were run on—throwing doubt on the results of more than 150 published chemistry studies. While trying to analyze results from an experiment involving cyanobacteria, the researchers—Jayanti Bhandari Neupane, Ram Neupane, Yuheng Luo, Wesley Yoshida, Rui Sun, and Philip Williams—discovered significant variations in results run against the same nuclear magnetic resonance spectroscopy (NMR) data. The scripts, called the "Willoughby-Hoye" scripts after their authors—Patrick Willoughby and Thomas Hoye of the University of Minnesota—were found to return correct results on macOS Mavericks and Windows 10. But on macOS Mojave and Ubuntu, the results were off by nearly a full percent.