Beware: Open Source Projects and Oracle 4
Update 7/2015 Oracle isn’t screwing just F/LOSS projects, if appears. Is Oracle really forcing enterprise customers to use their cloud?
Seems that MSFT might be doing the same for Office 365 to get higher client counts. At least 1 major company who never intends to use Office 365 got a better license deal just by signing up. They never intend to use the service and are migrating to Postgres and LibreOffice as quickly as possible.
Original Text:
Oracle is effectively killing some of the most important, fantastic, open source and FLOSS tools that we’ve come to depend upon. This is really sad for the FOSS world. It will not be long before these currently open tools disappear because Oracle can’t directly make any money from supporting them. Let me explain.
Oracle is the New Evil Empire
Oracle has never been very friendly to FOSS or FLOSS, but since buying Sun Microsystems, they have effectively killed some of the most important projects.
The Almost Dead List – Some Already DEAD
- OpenSolaris
- ZFS
- MySQL
- InnoDB
- Java
- OpenJDK
- NetBeans
- VirtualBox
- Oracle VM
- GlassFish
- OpenOffice
Here’s a list of FOSS from Oracle that will probably be only useful for historical purposes soon. Most of the leaders for these projects that Oracle got with the Sun purchase have left Oracle after trying to fit into the new corporate culture. Full disclosure: I’ve owned Oracle AND Sun Microsystems stock over the years. Since the Sun purchase, I sold ORCL and haven’t owned any shares on over a year.
If you are currently using any of those tools, you need to make strategic plans for alternates. Oracle *will be killing them off. Some will be saved by creating new FLOSS projected based on the last open license version.
Alternatives for Some
- ZFS – BTRFS
- MySQL – Postgres
- Java – Ruby or C++ (or any number of lesser known languages like D for F#)
- VirtualBox – KVM or VMware Player
- OpenOffice – LibreOffice
Or you can just plan to purchase the right to use the tools at Enterprise Software Costs. Not cheap.
I’m not actively using most of the software listed above except VirtualBox, OpenOffice and MySQL. For those, I have alternatives, but like almost everyone else, change isn’t easy until it is forced on us.
I’m not anti-corporations, but Oracle has not been a good steward and I have no reason to believe they will change. Just look at the handling of the OpenSolaris shutdown. I was a member of a local OpenSolaris UG. The leader was a well known and respected former Sun Systems Engineer, currently working for Oracle. I miss the UG. Oracle has proven they cannot be completely trusted. They are willing to change the rules.
Without the GPL, BSD and similar FOSS licenses, we’d be completely screwed. Now is a good time to donate to the EFF or FSF. A $20 donation will go a long way.
Web-Ready PowerPoint Replacement
Came across an article on Linux.com about replacing Power Point with a different solution. S5 is a tool that I use to give presentations. It means the presentation is ready to be put on the web immediately, it is already a web page. It works and you can customize the way it looks, but the default is fine too.
S5 stands for Simple Standards-Based Slide Show System – it is an HTML file with javascript and CSS support files to control navigation and slide presentation, so it works the same on every platform. Just a browser is needed to view the presentation – pretty much any reasonable browser will work. Get the S5 files. and get started.
MKV Containers - Why Use Them + Scripts 5
So the HD-Nation video-cast (available online or on your TiVo) did a few episodes about what you can do with MKV containers for your media.
- Episode 68-MKV Basics
- Episode 69-User Feedback – MKV part is about 28 minutes in.
Below are a few other links about MKV Containers and a few shell scripts to get the MKVs to playback correctly.
DC404 Presentation-SysUsage in 5 Minutes of Effort
This Saturday (tomorrow) I’ll be presenting to the DC404 crowd how to get system monitoring working on Linux in 5 minutes. Sadly, the presentation is running about 30 minutes because I really only need 5 minutes to show a complete install. Come and check it out, say hello.
There isn’t really much to it because SysUsage is really easy to setup and run. It works on desktops, laptops and servers, but there is no GUI for setup so you will need to use a terminal or console. With newer releases (OS or SysUsage) the dependencies may change, but it is still really easy to setup. This is so simple there really isn’t any excuse NOT to have performance graphs for all your Linux machines.
MKV Files with Subtitles, Alternate Languages and Video
These days, there is a real desire to have videos on your network, but not loose any of the features that the source media provides. Things like multiple languages tracks, director’s comments and other interesting audio tracks. I like to listen to the Spanish soundtrack and have the Spanish subtitles displayed for movies that I already know. It has been possible to have all this by ripping the full DVD contents and using an appropriate playback device for a long time, but that uses a bunch of storage – perhaps 4x more than needed if modern video codecs are used.
Memonaut for Note Taking
If you’re like me, you take notes all the time. You may have tried using paper, todo lists, spreadsheets and even personal wikis like TiddlyWiki or SoloWiki to accomplish this. Having the notes available at home, at work and when you aren’t connected is a requirement. Well, I accidentally came across a new browser/javascript tool today called Memonaut
I’ve just played with Memonaut a few minutes. It does bulleted lists, indented lists, numbered lists and generic notes all with HTML and JavaScript. There’s some lite formating too – bold, italics, strike-through, etc. The setup is like TiddlyWiki – you open a specific HTML file and start adding content. Then you “Save” the file to store the updates. Certainly there will be performance/size issues when lots of content is added, but then you just archive the file and start a new one, perhaps monthly? TiddlyWiki was used at a previous employer to share How-To Team information after we were merged into an other group. That data sharing probably saved lots of jobs because about 30 people who were trying to understand how things worked AND who to call for “x” were able to centrally store and access that data.
Did I mention that this works when you’re offline?
Anyway, Memonaut could be worth a look. Obviously this is cross platform AND it requires JavaScript to be enabled in your browser for local HTML files (which could be a security concern).
Enjoy.
Easily Record Your Screen/Desktop in Linux
I watch Hak5 on my S2 TiVo. This season, DK is doing everything on Linux. He’s covered a fairly powerful home router already with smoothwall. The home-made commercials are usually the best parts of the show m(seriously!), but episode 804 covers the easy and slightly harder way to record your Linux desktop for screen casts.
gtk record my desktop for you GUI-liking people and ffmpeg for the shell folks like me that prefer a little more control are demonstrated.
The guys over a CommandLineFu also covered the ffmpeg way of doing it with a little more finesse. Don’t you just love that domain name?!!!
ffmpeg -f alsa -itsoffset 00:00:02.000 -ac 2 -i hw:0,0 -f x11grab -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -r 10 -i :0.0 -sameq -f mp4 -s wvga -y intro.mp4
Hak5 isn’t the first to cover this topic. A quick search finds thousands of others demonstrating how to do this as well, but a few of the Hak5 commercials are GREAT!
Scripting on Windows with PowerShell
For the last few years, I’ve heard powershell for scripting by IT professionals in the MS-Windows community. Never looked at it until a few days ago. See, I confused cscript with PowerShell scripting. I couldn’t get the hang of cscript and wasn’t able to get it to accomplish what I needed the last time I tried. In June, I actually wrote some .BAT scripts for a client. If I knew then what I know now about PowerShell, I’d have been much happier and written those scripts in PowerShell, assuming it is pre-installed on Win2003 Server.
In my limited time with PowerShell, here are my impressions.
- UNIX has text processing, MS-Windows uses object processing – sorta like the difference between PERL and Ruby scripting.
- Most of the syntax is Perl-like – with some differences. Get used to $var.action calls.
- Pipes work like you’d expect from UNIX, except ….
- generally, we don’t use `grep`, rather, the regex is used as part of the prior command
- | `wc -l` becomes action.count – basically, if you want to get a count of something.
- functions are Perl/Bash-like, except the argument passing is C-like (int x, int y). That is better than Perl, IMHO.
- Objects mean access to the registry, COM, and WMI. That’s a plus AND a minus. How to query a GUI program? That’s the problem.
- As usual, rather than reuse existing commands, Microsoft decided to use, longer, more complex commands. `ls` is `get-selections`, but they did include aliases in the tool. That means that many of the normal UNIX commands used in shell scripts have aliases, but those are not the preferred method name to be used.
As long as you don’t need to press a button inside a GUI, PowerShell can probably be useful.
Mindset Change
To me, the main limitations of PowerShell really aren’t with the language, rather, it is with my mindset and having to change from UNIX/File processing to object processing. Also, the tools on UNIX/Linux systems tend to support command line options to get things done. In MS-Windows, command line options to GUI programs are usually extremely limited – next to worthless. In Linux/UNIX, there are hundreds and hundreds of small applications and tools that come with the system suitable for script use.
References
A few years ago, PowerShell was called msh, Microsoft Command Shell. Here’s an overview.
Here’s a PowerShell Tutorial if you are interested in going further.
Read where someone is porting PowerShell to UNIX/Linux systems. Yep, it is called Pash. According to the project page, it is 40-50% complete and running on Windows, Linux, Mac and Windows Mobile platforms.
Summary
In summary, it seems that Microsoft has been working hard for years to remove some of the biggest complaints against their systems – the lack of real, usable scripting. Seems they could advertise it a little more widely. Personally, I’d prefer a Perl library that encapsulated all this and for Perl to be included with MS-Windows installations so I don’t need to learn yet another language. Still, msh/psh/pash or whatever they call it this year is a step in the right direction.
Top 9 _Ooops_ Moments
Below are a few incidents that I’m personally aware of which impacted a few different projects. Some are from my personal desktop to production dispatching systems with 20K+ users to some that impacted a space shuttle launch data.
People like Top 10 Lists, but I could think of only 9 near disasters. Perhaps something interesting will happen this week? ;)
Ooops – beep, beep, beep ….
Editing GUI Settings in Linux or UNIX
Today a friend sent an email with a Gnome helper app to setup a panel so remote ssh logins could be added to the Gnome Panel. There are lots of applications, or applets, like this out there. They all read and edit config files and provide a GUI to do something that has been possible for years and years. I guess if you are new, then having a program that edits configuration files before you’ve learned to use a UNIX editor is a good thing. Noob-friendly editing is good and reduces the perceived learning curve for Linux. Long-time users know that having a program to edit simple configuration files isn’t needed. You can edit them yourself and accomplish amazing things.
Some background reading on X/Windows. Here’s an architecture image as a reminder:
Recall that the X-Server runs on the desktop and that the X-client runs on the other, sometimes remote, machine sending requests for to the specific screen to be displayed. Also, you can run many X-servers on a single machine, even if they are not physically displayed.
Nothing is New
Do a google search on “fvwm screenshots” to see what I mean. This one or one very similar has been displayed as long as I can recall using fvwm. fvwm has been around since before I started using UNIX/Linux in 1993. I didn’t find it until 1995 when it was a pioneer in virtual desktop capable window managers. At that time, people were still using wmw and twm, yes, people actually used twm. When you first started using FVWM, you wanted to configure the menu for your local needs. It was easy to get going quick and setup remote logins to other systems for everything, including telnet, ssh, email, web browsing, editing files, running desktop word processors … whatever. Today the GUI settings are still maintained inside text files and these can be customized manually. Sometimes there are a few more steps since GUI programmers today like to take a simple concept and turn it into an environment that requires many, many more config files. Still, manually adding menu items to a panel for Gnome, KDE, XFCE, or LXDE is relatively easy.