Scott Dowdle's blog

Who should fix a broken Flash?

| | | |

But wait... another long post from me... this time from an email I wrote today to the Fusion Linux mailing list... regarding how Flash 64-bit was broken in Fedora 14 and the arguments around who should fix it and why:

Greetings,

----- Original Message -----
> I am sorry to disagree, Linus does state that it is an hack, but he
> also suggests that it could/should be used, please see comment
> https://bugzilla.redhat.com/show_bug.cgi?id=638477#c38 :
>
> " The nicest alternative might be to just install that mymemcpy.so
> into the google chrome directory, and add the LD_PRELOAD to the wrapper shell
> script that google chrome already uses for the xdg binaries and the ffmpeg
> library.
>
> And obviously something similar should work for firefox. I just
> happen to use chrome, so I gave the directions (approximate as they were) for the
> thing I tried.
>
> No guarantees. It was a really quick hack. "

Oh don't worry about disagreeing with me. That is often good and I don't take it personally. :)

Yeah... but did you read comment from Linus later on?

https://bugzilla.redhat.com/show_bug.cgi?id=638477#c199

- - - - -

Linus Torvalds 2011-02-21 18:19:22 EST Comment 199

Don't use my workaround: it was a stupid hack to test the bug, and show that "always copy upwards" works better than the crap that is in glibc now.

A much better workaround is likely to just implement memcpy() as memmove() (you can replace the inline asm by that in my preload example if you want to). Once memcpy() isn't small and trivial any more, that's just the right thing to do.

The fact that the glibc people don't do that, and that this hasn't been elevated despite clearly being a big usability problem (normal users SHOULD NOT HAVE TO google bugzillas and play with LD_PRELOAD to have a working system), is just sad.

Quite frankly, there is no reason for the current memcpy() mess. There is no _technical_ reason for it, and there is certainly no usability reason for it. Why the Fedora people don't just fix it, I don't understand. It's a shame and a
disgrace.

The fact that Adobe does something that isn't technically right is no excuse for having a sub-par crap memcpy() implementation.

And how does one raise the priority for a bug in bugzilla, or get it re-assigned to somebody who cares?

- - - - -

Please note that I disagree with Linus on everything but the first half of the first paragraph. :) So did the glibc developers and the Fedora developers. While users want it to work, it isn't Fedora's job to fix Adobe's broken program. Just because the problem didn't show up until after the glibc change doesn't mean the problem wasn't there. It was just luck that it worked to begin with. The glibc change just happened to expose the problem, not create it. Adobe needs to fix their program. Why can't they? They update Flash all the time so getting an update out to users really isn't a problem. They said they have a fix for the issue but it could be months before it gets deployed? Why?

Linus still ignores the direct evidence that the glibc change wasn't supposed to be faster except on lower end CPUs... and his testing is invalid. He blathers on and on... intimidating others. That is his way. That is actually his sense of humor... and he is obviously right much more often than when he is wrong... but this is one of the few times he is wrong. :)

Working around Adobe's problem can be done... but why should we do it? Oh, so it makes our distro look better... and users are happier. Yeah, but look at the crazy mess of a workaround it is. Is every distro supposed to engineer their own fix? How much work is that by how many people? I realize that many have not and may not run into this issue because they use older versions of glibc... but you get my point.

I think it is better to say... "we are aware of this bug and we are waiting for Adobe to fix it" and put the blame where it needs to go... rather than everyone working around Adobe's problem and then having to undo everything after they fix it.

What will be next? How many other closed source, commercial vendors will need to be accommodated in the future? This would set a very bad precedent... and that's why (in my opinion) Fedora didn't go for it... even with Linus breathing down their necks.

Fedora doesn't even ship with Flash (nor Google Chrome). They ship with alternative players and those are not affected. Lots of programs break when libraries change... and if they are in distro then they get fixed. If they are closed, commercial products... and they are slow to change... that just re-enforces our belief that FOSS is a better development model... because it is.

Ok, Fusion Linux DOES ship with Flash... and maybe you guys want to fix it. I haven't really contributed to Fusion Linux other than typing some emails here and there... so my opinion doesn't really matter. Do what you think is best... but I did want to provide some additional background and clarification.

I've been living with the warbly sound on some Flash videos for some time now... and I guess I've gotten used to it. Like I said previously, it just strengthens my desire to consume and promote the use of more non-flash content... like webm and ogv.

I don't want baby users who are pampered away from issues... I'd prefer to grow a community of contributors who can see problems (rather than having them hidden from them)... who work to solve problems rather than work around them. I guess that's part of the reason I'm a Fedora user. :)

> I am sorry that it did not fix for you, but as you can check from the
> bug report it fixed for many others. IMHO and until there is proper
> fix we should try to provide a positive user experience to as mush
> users as we can.

That report has been around for a long time and there have been a ton of updates since then. I don't know if that has a bearing on it not working for me or not. This fix I tried was the patch not the Linus fix. That fix was too much work for me.

> I don't think that the technical argumentation on who is right or
> wrong about the proper fix has any relevance for the end user, also
> I do not have have the technical expertise to debate with you, Linus
> or the glibc maintainers about the change.
>
> My suggestion was just about delivering a better experience to the
> users, getting broken sound on some flash contents is bad, if we
> could avoid it it would be great.

See my above comments.

I do appreciate you taking the time voice your opinions... because it shows you care... and I definitely want to encourage that! Please do not take anything I've written as a personal attack. I don't claim to be any more right than you... but it is obvious I disagree. Perhaps you'll be comforted in the knowledge that Linus agrees with you... I know I would be. :)

One other thing Linus was wrong on and that was on moving cgroup scheduling policy into the kernel... rather than keeping it in userspace... like the systemd developer explained was the better way. I don't recall what the final outcome of that was.

TYL, Scott Dowdle


On success and failure of Linux companies

| | | | |

Here's a LONG response I wrote to one of the comments to the previously mentioned blog posting (The GNOME war) that I wanted to share here as well.

nelson,

Novell has already been sold. There is an investigation holding up the original transfer date but it is very likely to go through. There will be changes in Novell. If the company taking it over didn't think they could turn it around, they would not have bought it. Turning it around might end up being breaking up all of the pieces and selling some of them, keeping some of them, and killing some of them. Who knows what will happen? We'll just have to wait.

I'm not sure why you seem to be so unhappy with Red Hat with your "while Red Hat is imposing their rules" comment. What rules are they imposing? Is Red Hat in decline? I have no idea. I can tell you that their quarterly reports have been quite positive since they went public... which is pretty rare for any technology company much less a Linux company.

I see some people complaining about their stock prices and valuation... but what tech company on the stock market isn't overvalued? To me the stock market is fundamentally broken but that is a completely different topic so I'll leave it at that.

Oh wait, let me bring up one example. Apple. A while back I read some report where a leading PC magazine had one of their guys dig deeply into Microsoft's yearly earnings reports. The gist of the article was that the author believed he had discovered that Microsoft had moved around various things in their financial reporting to hide the fact that they had lost 1% of the desktop marketshare. Ok, let's think about that for a second. Who did they lose it to? Let's just say all of the 1% went to Apple. Last I checked, and I haven't checked in a while, Apple was very high up on the stock market. They are seen as the darlings of the tech industry... making the cool products... having the best usability... advertising on US TV (I don't know about the rest of the world) with a budget of tens of millions of US dollars. Sure they sold a ton of iPhones but the Android army has come into being and has hit them hard. The iPad has done quite well (15 million sold(?) with the iPad 2 coming out today)... and no one else in the market seems to have an inroad to significant marketshare in the "tablet" arena (which I don't even believe is a legitimate genre although Miguel de Icaza definitely disagrees with me buying his third iPad today). How are they doing with the desktop OS marketshare? They are supposedly selling lots of laptops... but in one of their best years in recent history... they have managed to pull 1% of the marketshare away from Microsoft? 1%? That's all? Yet they are a darling of the stock market... and the envy of the GNOME and Canonical developers.

Of course if you listen to others, the desktop is dead and there is no reason to care about it anymore... and FOSS developers should start working on cloud apps before it is too late... and some say it is already too late.

Wow, I'm getting off on some tangents. In any event, you can see that the tech industry is a tangled web of twisty little passages... all different. :) (Who knows where geeky reference comes from?)

Also, I'm not sure where people keep coming up with this figure that Ubuntu has "60% of the Linux desktop marketshare". I have no idea if it does or not... but determining that is near to, if not completely, impossible. For the sake of argument, let's say it's true. Have they been able to turn a profit yet? If not, why not? How much of the marketshare will they have to gain BEFORE they can turn a profit? Stupid question. Having marketshare for something that is free doesn't make you successful. In fact, it can be a dead albatrose hanging around a company's neck. That is the situation Red Hat found itself in before it decided to go the enterprise Linux route.

Some say it is because Mr. Shuttleworth, who you obviously see as another legendary hero like many see Steve Jobs, has made it impossible for Canonical to make a profit because he has tried to focus the company in too many directions... meaning that no particular direction gets enough focus to be successful. Others might say that doing that is like throwing many things at the wall and seeing which ones stick. He keeps throwing things, and so far nothing has really stuck... nothing that will make the company profitable. I'm not saying that Canonical won't figure it out. I certainly hope they do... because the Linux market needs more FINANCIAL successes... not less.

If Red Hat and Novell falter (which I don't think is going to happen)... while it might shift some customers over to other companies... it will make Linux seem like a less stable technology platform to pay for and invest in. Red Hat has shown that it can be done by having positive financial statements quarter after quarter... all while releasing everything they do as FOSS... and you want them to be taken down? You do know how much they contribute to the Linux kernel, gcc, GNOME, x.org, etc... right?

I do know that if Novell fails or Red Hat falters... any people they have to shed will most likely be snapped up by other companies. Linux can survive the loss of Linus and Linux can survive the loss of one or more of its major distros... but we'd like to do more than survive.

If you ignore everything else I write, please realize that there is plenty of room for more than one or two successful Linux companies. We all do better, when we all do better. :)

Just because you see Arch and Ubuntu and not much else used in your neck of the woods doesn't mean that is how it is everywhere else. Red Hat and Novell are doing well in the "enterprise" space and CentOS is doing quite well too. Debian also.

I think your supposition that if someone uses distro X in high school and/or college they will refuse to work for a company that doesn't use distro X... is silly. Or maybe you were saying that the company they work for will be forced (somehow) to switch to distro X because that's what their new employee(s) use. Riiiiiiiiight. That might be true for major OSes... but not from one flavor of Linux to another. Distros are 95% the same software and switching between them is not so difficult.

Thanks for the discussion, Scott Dowdle


Reponse to "The GNOME wars"

| | | | |

I saw a posting on Fedora Planet entitled, The GNOME wars and just had to respond. Since I put some effort into my comment, I decided to post it here as well.

Nicu,

Your statements are a gross oversimplification of the situation... specifically with regards to GNOME 3 / Shell and Ubuntu Unity.

To date Canonical still has not learned how to properly collaborate with all of their upstreams. Some they have, some they haven't. GNOME is one that they haven't. It took Novell and Red Hat a while to get it right with GNOME and they made their share of mistakes along the way... or at least that is my understanding. The main problem is that in its dealings with GNOME, Canonical would provide completely done software/libraries without much prior collaboration with the GNOME developers on why the library was needed, what needed to be in it, and if any other already existing libraries could have accommodated some or all of the functionality. Just like with Linux kernel development, the developers prefer to be in the loop on developments and having some input and feedback rather than getting a big code dump out of nowhere.

Did Canonical read into that... that Red Hat, which does employ some of the top tier GNOME developers, was trying to block their code? Maybe they did... who knows. Was Red Hat actually trying to block their code? From the top (Red Hat management), absolutely not. That doesn't mean that one or more developers didn't turn their nose up at Canonical, which is possible... but I strongly doubt it. GNOME is a mature community with a wide range of participation from many companies (including Red Hat) as well as independent developers... and Red Hat does not control GNOME.

What we have here is Canonical wanting to have more control over the things that they care about (usability)... with the GNOME and Canonical developers having clashing differences in design decisions. That's all. While some may have reasons to play it other ways, that doesn't make it true.

I actually WISH there were a "war" between Red Hat and Canonical because that would be mean that Red Hat cared more about the desktop. Fedora cares about the desktop, but Red Hat, not so much. While Ubuntu Server may be becoming more popular on servers, I don't think it has eaten into Red Hat's business too much. Even if it had, and Red Hat was trying to be at "war" with them, I doubt they'd do it through GNOME. Ubuntu Server doesn't even ship with a desktop environment.

Who will win? No idea. I'm not even sure there has to be a winner. I've tried both GNOME 3 Shell (in Fedora 15 Alpha) and Ubuntu Unity (in Ubuntu 11.04 Alpha 3). GNOME 3 Shell seems much more polished and streamlined to me. I still haven't quite figured out Unity. If Unity matures and is liked by enough people, other distros will probably add it as an option. If GNOME 3 Shell does well, perhaps Canonical will change its mind. In any event I don't think we'll be able to tell much from the initial releases of either one. It will take time and a few release iterations for things and users to settle.

Having both, at least for the short term, will be a good thing as each project will work harder to compete with the other. For the long term, I'm not sure.

As always, I appreciate your postings as they make me think... and quite frequently, respond. :)

TYL, Scott Dowdle


Video: FOSDEM 2011 - Liberating Open Office Development

| | |

FOSDEM is the Free and Open source Software Developers' European Meeting that takes place every year in Brussels Belgium. This year it was held on Feb. 5-6. They do a good job of recording and releasing the recordings of their presentatiosn all under a Creative Commons Share Alike license.

Since they released them in Xvid format and they are quite huge, I decided to re-encode them in webm format at a lower resolution, bitrate, and framerate to make them much smaller and more appropriate for streaming... and posted them to archive.org. I've embedded one of Michael Meek's presentation on LibreOffice below but you can find all of the videos here:

http://www.archive.org/details/Fosdem2011Presentations

Liberating Open Office Development by Michael Meeks

If you can't see the video in your browser, it probably doesn't support webm yet so as an alternative, download the desired video(s) and play it with your preferred media player. VLC is recommended.

BozemanLUG: Feb 2011 Meeting Report

| | | | |

The meeting went pretty well last night although the attendance could have been better... but hey... it was darn cold outside so the weather wasn't co-operating.

In attendance were: Anish Bharata, Scott Dowdle, David Eder, Srinivas Gumdelli, Walter Neary, Jordan Schatz

Srinivas gave a presentation on Web-based Desktops / OSes and briefly demoed EyeOS. He also showed a short (~15 minutes?) video of Richard Stallman talking at a recent conference. I don't recall the name of the conference and I can't seem to find a copy of the speech online so if someone could provide me a link to that, I'd appreciate it. I also loaned out the books Free as in Freedom and Just for Fun to Srinivas and Anish.

I (Scott) showed GNOME 3 Shell on Fedora 15 Alpha, and Unity on Ubuntu 11.04 Alpha 2. Walter helped out showing Unity. We discussed how the upcoming releases of Fedora and Ubuntu will have a radically different user interface replacing GNOME 2.x... and how users might react to the changes. We also talked a about the community response to the KDE project's transition from the KDE 3 series to the 4 series and how that might be some indicator of how the changes in GNOME might go.

I think this was Walter's first meeting but he is very active in the #ubuntu-montana channel on the Freenode IRC channel. It is hard for Walter to attend meetings because he usually works evenings.

Jordan was a first time visitor. He is an independent web developer who specializes in LAMP programming. He mentioned he is looking for an accomplished Java programmer for one or more upcoming projects... so if you know anyone, please speak up. I hope our group interested him enough to attend future meetings. I asked him if he had anything he might be interested in giving a presentation on and he said he would consider doing two if there was interest: 1) NoSQL databases, MongoDB as an example, and 2) The Lisp programming languages. I told him that I was interested in both of those topics so hopefully we can get him to present one or both of those over the next few meetings.

Below are some links to articles or videos that were mentioned during the meeting.

The eyeOS web desktop
First look at Ubuntu "Natty" and the state of Unity
Why is Ubuntu 11.04 switching to Unity?
Shuttleworth: Unity shell will be default desktop in Ubuntu 11.04
Revolution OS documentary (Flash video)

General Discussion - Topics that came up included...

Jordan passed around his current generation Amazon Kindle eBook reader so we could see the eInk display it has. I asked him if he had seen the OLPC's display (because it has a monochrome mode similar to an eInk display) and he had not. I was going to show him an OLPC but all of them were checked out.

We talked about the recent Apple laptop product announcements and the new I/O port technology from Intel that they are the first to introduce named Thunderbolt (formerly Light Peak) While Apple is the first to market, expect to see Thunderbolt from all other PC makers real soon now.

Walter showed us pictures of the computer system he pieced together and talked about his three HD displays.


The coming of GNOME 3

| |

It seems there is some strife in the Fedora community over the upcoming GNOME 3 / GNOME Shell in Fedora 15. Some people see it as a dumbing down of the user interface and others don't. I wrote a fairly long response recently that I thought I'd share here.

This is the "a lot of KDE 3 users really hate KDE 4" being applied to GNOME. I've been a KDE user since 0.x and remember happily compiling KDE 1.0 from source.

The GNOME developers have decided to go a direction you aren't happy with... and you certainly aren't the only one. Fedora dropped KDE 3.x when 4.0.0 came out... and a significant portion of Fedora KDE users weren't happy. The main problem there though, at least for me was that KDE 4.0.0 was too darn buggy and bordering on unusable for every day work. As a result I switched to GNOME. I wasn't really happy with GNOME but at least it worked. :) Then I watched each release of KDE 4.0.x come out and I tried them. I could tell they were making progress. Then 4.1.0 came out and I found that to be good enough to switch back. Ever since then the KDE developers have been making rapid progress with each release getting better. Now we are at 4.5.5 and 4.6.0 will be in Fedora 15. How many releases? I'm not sure... but I think they came out with 5 or 6 third number releases for each second number release... ie 4.5.0, 4.5.1, 4.5.2, 4.5.3, 4.5.4, and now 4.5.5. One thing I love about Fedora is that they have followed KDE's development and upgraded it several times each Fedora release lifecycle.

So, GNOME 3 is a huge change from GNOME 2. Let's consider how much of a change it is... in contrast to KDE. KDE 4 was different than KDE 3 but it still had many of the same elements... so I'll give it an arbitrary grade of a 5 on the 1-10 change scale. GNOME 2 to GNOME 3 (aka GNOME Shell) is probably a 9.something. While there are still some things that are the same, the number of things that are different is great.

To me, as a result of the vast change... GNOME 3 / GNOME Shell, no matter how good and stable it is (unlike KDE 4.0.0)... has a big chasm of disruption that I think a significant number of users will have trouble crossing over. There are going to be a lot of unhappy people. I'm sure there will also be a lot of happy people as well. Those are the folks who have probably already tried GNOME Shell some in its pre-release state and liked it... those who are better at accepting disruption. And of course completely new users might prefer GNOME 3 over GNOME 2 if they don't have any previous experience with either... or vice versa.

Should Fedora face the challenge and ship GNOME 3? I think so. Fedora is the distro where it is more important to make change happen than it is to keep everyone happy. That's just the way it is and Red Hat Linux was that way before Fedora was even born. After all Fedora dropped KDE 3.x and shipped KDE 4.0.0 as default one release (Fedora 9?) and the world didn't end for Fedora KDE users. Many of us probably switched away until updated releases made us feel comfortable enough to switch back... but switch back I did. I'm sure there are still those who were KDE 3.x users who have refused to go to KDE 4.x even after it became pleasurable to use... but that is to be expected.

There isn't much you can do about GNOME 3. The developers get to decide. If a significant chunk of the GNOME community abandons them because they can't take the vast change... then either they'll have to swing it back some to make those folks happy... or they'll have to just continue on and hope for a new crop of users. We'll just have to see what happens. But it is their decision to make... and we won't really know how it pans out until AFTER. :)

Keep your chin up.

Of course I do want to point out that this is in stark contrast to your belief that Fedora is wanting to pander to newbies and be another Ubuntu... unless of course that is what you think GNOME 3 is?!? I've played with the Gnome Shell pre-releases some and it seems more aimed at advanced users to me.


Video: LCA 2011 - The Kernel Report

| | | | |

Jonathan Corbet also gave his traditional The Kernel Report presentation at LCA 2011. I've embedded it below in webm format using the HTML 5 video tag.

If you don't see the video embedded, you can download it and play it locally.

Right-click download link: LCA2011-Kernel_Report.webm (50 min, 131 MB)

Video: LCA 2011 - How Kernel Development Goes Wrong

| | | |

Jonathan Corbet gave a number of presentations at LCA this year. Below I've embedded his presentation entitled Kernel development: How it goes wrong and why you should be a part of it anyway in webm format using the HTML 5 video tag.

If you don't see the video embedded, you can download it and play it locally.

Right-click download link: LCA2011-Kernel_Development_Goes_Wrong.webm (44 min, 116 MB)

Video: LCA 2011 - History of BSD

| |

Marshall Kirk McKusick gave a presentation entitled A Narrative History of BSD at LCA 2011. I've embedded it below in webm format using the HTML 5 video tag.

If you don't see the video embedded, you can download it and play it locally.

Right-click download link: LCA2011-BSD_History.webm (49 min, 130 MB)

Video: LCA 2011 - Lessons Learned from 13 Years of LWN

| |

Jon Corbet gave a presentation about the lessons he has learned running Linux Weekly News for 13 years.

Right-click download link: LCA2011-LWN_13_Years.webm (48 min,128 MB)

Syndicate content