Showing posts with label OSS. Show all posts
Showing posts with label OSS. Show all posts

Friday, August 3, 2007

CamDB and repoviews

I deployed my first Ruby on Rails hack a couple of days ago: http://camdb.fancy.se.
The CCD and pixel geometries can be calculated for any camera by adding its most wide-angle focal length, the corresponding 35mm equivalence and its native resolution. The geometry won't be fully exact if the focal length parameters aren't. You are encouraged to add and edit!
It's also an experiment of a wiki'ish database. Anyone can add, edit and delete content. So far so good but for the future I will need to add user accounts and/or revision control.

I've been hosting Fedora package listings (repoview based) for some time now, check out the repoview page for more info. This can also be reached from the "Pages & Links" top-menu item.

Wednesday, June 6, 2007

Emacs 22.1

It has been a long time since a new major release of Emacs but here it is, Emacs 22.1. Lots of new features and bugfixes. I found a pretty nice guided tour which applies to earlier versions as well.

In other news Fedora 7 got released the other day and has Emacs 22.1 included out of the box.

Tuesday, May 8, 2007

Free Java just happened

Looking back a year ago (this was prior the announcement):

"..my opinion is that we can expect Sun to release Java as FLOSS a bit sooner with Schwartz as CEO. Yes, free (official) Java will happen, it’s just a matter of time."


Guess what! Some pieces are missing but many of those will be replaced quite rapidly. A world class (in many aspects, the GC being one of them) virtual machine (thank you SableVM, Kaffe and others for being there for us in the meantime), a (the) complete class library (Classpath will be remembered as a tremendous effort, although not complete) and a solid compiler (for which ECJ, the Eclipse compiler, still is a good alternative). Good stuff, thank you.

Monday, May 7, 2007

I want a penguin



That's irony for you, baby.

Sunday, May 21, 2006

IBM, Intel puts more pressure on Sun via Harmony FLOSS Java

Today during our JavaOne talk (given by Tim and I) I was proud to demonstrate JEdit running on Harmony!

That's right, with Swing/AWT code. The formal contribution is on it's way, and I don't wish to steal any more thunder from the contribution when it's made, but we (Intel hat on here..) wasn't able to make the donation in time for the talk today because of internal process loose ends, and I wanted to make a splash for us at JavaOne.

I expect it will be here in the next couple of days.

Harmony - The question of compatible open source isn't "whether", but when!


Full thread here.

The Harmony project has had most of its contributions from IBM (update: and Intel obviously - my mistake) - first the VM, then some class libraries ("The new class library code includes security, cryptography, javax.net and unit tests"), and now Swing.

This puts Sun under heavy pressure to FLOSS' their own Java sooner rather than later since they sure don't want the alternatives stealing their show (from their perspective), they have already made the decision after all (but not given any timeframe).

Anyways, FLOSS Java marches on with or without Sun.

Wednesday, May 17, 2006

opensource dot motorola

LIBERTYVILLE, IL – 15 May 2006 – Motorola (NYSE: MOT) today announced the launch of opensource.motorola.com, a new resource aimed at sharing source code, original open source projects and new ideas and information with open source developers around the world.

...

A key part of Motorola’s ongoing commitment to open source, opensource.motorola.com features source code -- including kernel and drivers -- for Motorola’s Linux-based devices including the A1200/MING and A780/E680. It also features Java technology including Java test frameworks, sample test cases, and – coming soon – code, documents, and specifications for Motorola-lead JSRs (Java Specification Requests) such as MIDP 3.0 (Mobile Information Device Profile) (see related press announcement).

In addition, the site will house new projects and Motorola contributions across its IP portfolio including Linux and Java related code.


Terrific news which makes me even more motivated to start working for Motorola at the swedish Kreatel office. My ETA is 12th of June, T-26 days. Finishing up my master thesis right now, will blog about it soon!

Jonathan Schwartz up to expectations

I wrote about my high hopes for what Jonathan Schwartz as CEO for Sun would mean for FLOSS, Java in particular.

The question is not whether we will open-source Java, the question is how


Jonathan Schwartz stated this yesterday at Sun's JavaOne developer conference 2006. More info at zdnet.

Tuesday, April 25, 2006

Jonathan Schwartz (Score:5, Informative) vs Scott McNealy (Score:1, Funny)



Scott McNealy is stepping down as Sun CEO and will be succeeded by the No. 2 executive, Jonathan Schwhartz.

Somehow I think this is very, very good for the FLOSS communities as well as for Sun. I've never been a fan of McNealys tiresome and sales oriented (as in: not all that fact based) bashing retorics. I'm also under the impression (don't sue me if I'm wrong) that Schwartz really understands FLOSS and it's value for Sun. Sun is a huge contributer already: OpenOffice, OpenSolaris, Niagara (Verilog sourcecode for the processor with more cores than you can count on your fingers and toes) and more. Schwartz recently blogged about the possibility to release OpenSolaris under GPL3 (in addition to CDDL), and my opinion is that we can expect Sun to release Java as FLOSS a bit sooner with Schwartz as CEO. Yes, free (official) Java will happen, it's just a matter of time.

The independant FLOSS Java stack so far is very impressing; a bunch of VM:s (some tiny and easy to port, some heavier with good JIT compilers), GCJ (GCC java with AOT support), ECJ (awesome compiler part of the Eclipse project), Classpath (the libraries with better quality every day), Eclipse IDE (that's enterprise-ready for you), SWT (FLOSS widget toolkit, an alternative to Swing, used by Eclipse and others), Java-GNOME (a set of Java bindings for the GNOME and GTK+ libraries), JOnAS (an implementation of the J2EE spec), JBoss (let me hear you say enterprise-ready once again, the company got recently acquired by Red Hat) and more.

The biggest problem with FLOSS Java today is the incomplete implementation of the class libraries (Classpath), but don't feel too worried about the FLOSS Java future because it's:

  1. Really good today and constantly improving


  2. Getting more momentum with strong support from companies and foundations such as Red Hat, Apache and IBM (all of which are big supporters and users of Java) - you did read about the Harmony project, didn't you? and


  3. Very soon such a serious alternative to Sun Java that Sun will need to set its own Java free (mainly the class libraries but the VM would be nice as well, so would the compiler but neither are crucial) - you all do realise that Sun Glassfish ("a free, open source application server") is a response to the success of JBoss and JOnAS?




And then don't forget a FLOSS .NET, which in its Mono implementation is very good today and will improve further. The times they are a-changin'.

Thursday, April 20, 2006

Yum:my stuff for the Lazy (or lazier) admin



Erik, isn't it kind of always (say, daily) the right time to put that up alias to work?

As for my contribution, here is the Fedora Core version: alias up='yum update' ;)

Seriously speaking, the lazy Fedora admin perhaps doesn't need no up alias but the even lazier will enable automatic unattended daily upgrades, via service start yum. As for all other services that you want to have autostarted on reboot, it needs to be but inside /etc/rc.d/. We have two handy text-mode tools for that in fedora-land (graphical ones are also available), either run chkconfig --add yum or for another flavor run ntsysv, the latter will present a text menu where you just check the yum item and press Ok.

For the curious of you, the yum "service" doesn't start a daemon as usual, but rather forces /etc/cron.daily/yum.cron to run (daily, via cron -- no kidding!) by passing a lockfile test. More details in /etc/init.d/yum.

Wednesday, April 19, 2006

-1 day warez



[~]$ rpm --changelog -q firefox | head -n 2
* Thu Apr 20 2006 Christopher Aillon <caillon @redhat.com> - 1.5.0.2-1.1.fc5
- Update to 1.5.0.2
[~]$ date
Wed Apr 19 09:50:58 CEST 2006


Ain't that fresh? Check out the blingy changelog yourself, part of Fedora Core 5 updates repoview.

Friday, March 31, 2006

FC5 Updates repoview



I couldn't find any repoview for FC5 Updates so I created one myself until there is an official one. Repoview generated html are great for browsing packages in Core and Extras but also (since the changelog is available) great for checking for security patches in Updates -- before the package header is downloaded (otherwise rpm -q --changelog packagename comes in handy). Now online at http://fancy.se/fc5updates-repoview/ -- feel free to use it!

Fedora Updates 5 repoview (security- and bug fixes against Core repository)

For reference:
Fedora Core 5 repoview (frozen March 14th 2006)
Fedora Extras 5 repoview (continuously updated)

Pimped!



Having used Debian testing and stable (sarge and sarge) for this server the last two years, time had come for some serious pimpin'. The hardware is old and low-end but works incredibly well (PowerBook Lombard G3/333 Mhz). It's well built, noiseless and consumes less than 20W on average. I had to do something with the hardware though so out: 20GB Fujitsu 4200RPM, in: 80GB WD 5400RPM bling!

Fedora Core is a terrific desktop distribution (I've used it since FC3) but also very nice and shiny server-wise:


As for the packages, watch your eyes - did I say it's shiny?
Debian sarge version -> Fedora Core 5 version:

  • Apache httpd 2.0.54 -> 2.2.0 bling!

  • Kernel 2.6.8 -> 2.6.16.1 bling!

  • Moinmoin 1.3.4 -> 1.5.2 bling!

  • MySQL 4.1.11 -> 5.0.18 bling!

  • PHP 4.3.10 -> 5.1.2 bling!

  • Python 2.4.1 -> 2.4.2 bling!

  • Subversion 1.1.4 -> 1.3.0 bling!



Pimped!

Wednesday, January 11, 2006

FAT: Bad got worse

edit 2006-01-13: Added links with background information:
FAT Patent Review May Threaten Linux Foundation
Advocacy Group Goes After Microsoft's FAT Patent

Microsoft's file system patent upheld

Two patents covering one of Microsoft's main Windows file-storage systems [FAT] are valid after all, federal patent examiners have decided.



The FAT filesystem is the de facto standard for USB-sticks, and I don't see it going away (from mainstream use) in the coming five years at least. All non-crippled operating systems must be able to support it (like it or not). It now seems that a certain company will be able to enforce licensing costs for this very simple filesystem (FAT is really a very simple rather than a very poor filesystem, by design i presume). That might not be a problem for companies such as Canon and Kodak, who use it for their digital cameras, but what if they aim for the FLOSS-projects? Fedora Core? Debian? Slackware (there you go Gustaf)? The BSD:s? While I don't think that's a very likely situation, it's still very unpleasant and an abuse of the patentsystem.

If we should blame Microsoft or the US patent office, that I don't know. Yuck.

Friday, December 23, 2005

Bass (was: tenor)



update: Official denial by Opera.

There's a rumour that Microsoft has bought Opera software, makers of the (closed source) fast, cross-platform and lightweight Opera web browser, Opera mobile (Symbian S60, Windows mobile) and the recently released Opera mini (for Java phones).

It's not hard to understand why Microsoft would be interested. Opera is very standards compliant, more so than IE6 (and IE7 perhaps). Opera is obviously very well engineered, with a very fast renderer and extremely low memory footprint. Most importantly, Opera runs on platforms that Microsoft wants to reach out to and (in the end) dominate or conquer.

Such platforms are Symbian OS (in different series), a common OS for mobile phones. Opera rules that territory today.

Such platforms are Maemo (you've heard about Nokia 770, haven't you?), the exciting new open platform that Nokia puts work into, based on the Linux-kernel, X11 and GTK+, to name some open source technologies. Opera rules that territory today.

Such platforms are desktop Linux (Fedora Core, Debian, Ubuntu, SUSE, Mandriva, Slackware, RHEL, CentOS, the list goes on..) with KDE (QT) and/or Gnome (GTK+) integration. Linux users today mainly use Firefox or Konqueror, desktop Linux are getting more and more momentum and Microsoft understands that. Microsoft wants to reach that platform, for the same reasons that they want to reach Mac OS X (although most OS X users runs Safari or Firefox), and compared to porting IE to Linux from scratch (which could be a huge project depending on their codebase) lots of time could be saved by going with Opera (which has a Linux QT-version today). I expect Microsoft to port Windows Media Player to Linux soon too, for the same reasons that they have it for OS X, but that's a different story.

Such platforms are Mac OS X, since the old Internet Explorer for Mac will receive no more updates after new-year and will cease to exist as a download a month after that. Apple releasing Safari (the Konqueror technology KHTML-based browser) for OS X was Microsofts worst nightmare, they lost their dominance (yes, most OS X users ran IE before that) in an increadibly short time. At first it looked liked they wouldn't do anything about it and keep a kind of wait-and-see attitude (halting all serious work on IE for Mac). They need to hold on to OS X, either Microsoft ports IE7 to Mac OS X (which they could as they've done it before, but i suspect it's a whole lot of work) or they try a short-cut - Opera.

Such platforms are Windows mobile, their own platform for handhelds and phones. Many users seem to prefer Opera before IE for this platform, with Microsoft buying Opera their dominance would be total (neither Firefox nor a KHTML-based browser are available for this platform).

And actually, such platforms are Windows XP and Vista. Microsoft wants to grab users from Opera and Firefox.


If this rumour is true and Microsoft will buy Opera, I expect Microsoft to merge the "full" Opera web browser with Internet Explorer, and release it as IE8. This won't happen until summer 2007 at earliest, and likely even later (due to their track record). IE7 will release as planned (first half 2006 or something) and not contain a single line of Opera-code (it's in beta already). I expect IE8 to be more like IE7 with some Opera-technology merged in rather than the opposite. This could be a huge project and Microsoft could choose to skip most of it. They will look into Opera's renderer though, and they will look into the cross-platform nature of Opera.

The bottom line is, buying Opera is a cheap (relatively speaking, you've seen all the TV-commercials for Xbox 360 haven't you?) ticket into other competitors territory for Microsoft. Grabbing existing Symbian userbase would probably be worth it alone.

They might also just as well buy it and discontinue the whole thing, trying to help sales for Windows Mobile as a platform. But Nokia has (once again) been alert and are creating a KHTML-based browser for Symbian S60 that looks very promising. I think Nokia will port that one to maemo as well.


Besides cooking up various conspiracy theories then. Many people can become losers it this goes through: the current users of Opera browsers. That depends on what Microsoft does with is newly bought toy. I don't really think that all of us that neither use Opera nor IE will get affected at all. IE users will (in the best case) get a little better browser. The real winner is Opera software. They will receive a huge pile of cash.

I started studying m.sc. computer engineering at Linköpings University in the autumn of 2002, after deciding to take a break from working with programming computer- and videogames (for Ataris, playstations, PCs and Xboxes). As a coincidence I visited the swedish Opera-team (they have their office here in Linköping) just before deciding to start studying and they seemed to be a bunch of really nice guys. Four computer engineering students that first started as HERN labs, working on a contract BeBox (BeOS, remember?) port of Opera and ended up working more and more on the core Opera browser since they were so good at it, eventually beeing bought up by norwegian Opera software and expanding with a whole lot of employees. You've come a long way!

So however the story ends, congrats to your work Opera-guys and keep on singing! If the rumour isn't true then perhaps it's time to look into GPL'ing your core renderer and possible more parts of your browser? MySQL did it successfully, Trolltech have had much success (but I don't need to tell you guys about that) and I believe you could as well. Keep the copyright of the code and you could choose to do whatever "nasty" stuff you'd want with it, but with the GPL protecting and encouraging the community. Another open source renderer, standing besides Gecko and KHTML?

Merry christmas all!

Friday, November 4, 2005

Maemo



Jag trodde det skulle dröja ända till årets slut sedan jag förstått att Nokia missat sin Q3 leverans av Nokia 770, deras första Maemo-drivna internetplatta. Så kommer den när man minst anar det. Kunde inte hålla mig utan beställde en direkt.

Jag tror Nokia 770 är början på the next big thing, både produkten i sig men framförallt plattformen den står på. Maemo (baserat framförallt på Linux, X11 och GTK+) är en öppen plattform som jag tror kommer locka många utvecklare. Jag tänker då koda loss på den när jag väl får den (nästa vecka) och kanske framförallt i vår, då den kan fungera som en bra "parallellverksamhet" till mitt exjobb. Jag har massor av idéer som jag skulle vilja implementera på den, får se vad tid och tålamod räcker till.

Återkommer!

Friday, October 28, 2005

Tvåsexfjorton

(11:18:51) T. Rider: TVÅSEXFJORTON!!!!!!
(11:19:44) olov: DU SKOJJAR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(11:19:57) T. Rider: Helt sjukt, men nu är den här
(11:20:47) T. Rider: Kompilerade en 2.6.14rc5 för några dagar sedan för att dämpa den värsta abstinensen


Skämt åsido, 2.6.14 av linuxkärnan är alltså ute och den största och roligaste förändringen är att FUSE (filesystem in userspace) nu är med i standardkärnan. Det kommer nästan något nytt skojigt varje release, 2.6.13 bjöd på inotify som lade ett väl designat fundament för Beagle och andra program som behöver övervaka filsystemet.

Tuesday, October 25, 2005

SELECT * FROM mysql WHERE version=5;

MySQL 5 has been released. While the die-hards are fast to point out what's still missing I find it striking that MySQL is becoming more and more complete. I don't know if it's fair to call it "growing up".

I compiled a brief list of the most important (IMHO) new features introduced in version 4.0, 4.1 and now 5.0. Considering the userbase of version 3.23 (all the Woody-boxes out there, for a start) and that MySQL-bindings are almost everywhere (from a FLOSS-perspective at least), I congratulate MySQL AB to the release and predict that MySQL will serve many users in the coming years (dude, you're so smart).

It's not a one-solution-fits-all though so don't miss out on PostgreSQL and Firebird as well.

5.0:
Stored procedures
Triggers
Views

4.1
Subqueries
Utf8

4.0:
ACID transactions with InnoDB as backend
SQL UNION

Friday, October 21, 2005

i raised to two is minus one



Now millions of imaginary people can download OpenOffice.org 2.0 [press release].

I found this honest interview enlightening. Louis Suarez-Potts "I'm the community manager" speaks to Mad Penguin, many lessons to learn from there if you're into community building and lots of interesting information about the history of OO.org. As a FLOSS-advocate, I found this quote very spot-on:

Of course, we're advocating OpenOffice.org, not because it's free in the sense of gratis, although that's certainly an argument, but free in the sense that they can configure it now and in the future. So even if they don't necessarily want to make their own modifications now, maybe in the future they might want to make a better spell checker or make it an “on demand

Monday, July 11, 2005

go_open



Copied from www.go-opensource.org: Go Open Source campaign projects are aimed at creating awareness, educating and providing access to open source software. Sponsors of the campaign are among others spacetraveller Shuttleworth foundation and his company Canonical (of Ubuntu linux fame).

Their TV show go_open is available (Creative Commons licensed) for download via BitTorrent. The files are in .MP4-format with Mpeg4-video and audio (AAC). I wanted to check them out, so I downloaded the torrent but ran into problems when trying to play them. While media playback of popular formats such as MP3-audio and AVI/MOV-embedded video & audio is a problem in itself for most linux distributions (due to patent issues), most files can be played anyways (with some legal issues depending on which country you live in) using mediaplayers such as VLC, Xine and MPlayer. Mpeg4-class video is very well working in all players but I found AAC (Mpeg4-class audio) to be buggy on my box, seemingly because of some API-inconsistency in the faad2-decoder (VLC messages says faad warning: Unexpected channel configuration change). This is on a Fedora Core 4 box using packages from the livna.org repository. A search on google confirmed that many other users on various distributions had the same problems playing the go_open videos.

After toying around a while I found out that:
(1) faad is a standalone tool that without any problems extracted the AAC-stream into a play-anywhere WAV-stream.
(2) ffmpeg is a powerful encoder that easily multiplexes this WAV-stream converted into MP3-audio with the Mpeg4-video, throwing away the old AAC-stream.

Thinking that someone else may run into the same problem, here's the bash-script i hacked together, converting all .MP4-files in the current directory. All 13 episodes should take ~45 minutes to convert on a modern machine.

As of writing this I haven't had time to look at the show, so this post is distributed to you WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ;-)