Planet OsDrawer.net
March 21, 2010
March 20, 2010
Dark Wyrm
Lesson 11: More Data Structures and Types
March 19, 2010
Stephan Aßmus
WebPositive matures
Well... that might be a bit bold for me to say. Obviously WebPositive still has a lot of things missing. On the other hand, this version adds some of the most crucial things, like persistent cookie support, bookmarks and a much improved browsing history implementation.
March 12, 2010
Dark Wyrm
Lesson 10: More Pointers and the Command Line
Dark Wyrm
Changing OSes: Harder Than You Think
Imagine for a moment moving from your home country to another one which speaks the same language that you do, but one you've never visited before. Which would be more difficult: packing everything and leaving on the next plane out of town or spending time there and planning your trip, possibly having a house in both places for a while? Without a doubt, the harder option would be the first one, but sometimes we, who have successfully done that in a computing context, mention it without hardly a second thought -- "Just use Linux (or a Mac, or whatever). It's easy!" That's like saying to my neighbor who has lived her entire life in the town I live in to move to Australia without any regard to all, if any, of the implications that this entails.
Changing your primary operating system is something that takes time, effort, and patience. The change requires willingness to put in effort to learn something new, even through the problems and inconveniences that will arise. Total beginners actually have an easier time than people who "don't know much about computers" but they still require a lot of help. Keep in mind that truly helping people requires an investment of your life into theirs.
March 5, 2010
Dark Wyrm
Whole Lotta Lessons Goin' On
March 2, 2010
Stephan Aßmus
WebPositive emerges
Wow, it's been 10 days already since I posted my first blog entry on my work on WebKit and the native web browser. Of course my continous updates to the package I posted in my first article will probably have spoiled most of the surprise, but HaikuLauncher has been reduced again into just a bare browser shell, while a new codebase, WebPositive, has been split off from it. Using WebPositive has become a whole lot more pleasing in the meantime. For those of you who have not followed the comments to the original blog, these are the things implemented since my first post on the project:
February 26, 2010
Dark Wyrm
Lesson 7: Losing My Memory
February 23, 2010
Stephan Aßmus
Diving into WebKit
It's time to write a bit about my progress on the WebKit browser and the WebKit port itself. It was pretty nice back in the days when Axel was paid to work for Haiku, Inc., that he published regular blog entries to keep everyone up to date on what he was doing. At the moment, I have mixed feelings. Not about writing blogs. Not about working on WebKit. But about using the new WebKit browser to write the blog entry, haha! I've seen it crash, although in the last days, it has become pretty stable. After we upgraded to a newer WebKit version as the basis for the port, the frequent random crashes have almost disappeared and I saw only one crash in three days. Compared to one every few minutes before.
February 19, 2010
Dark Wyrm
Lesson 6: More Loops and Conditions
February 13, 2010
Dark Wyrm
Paladin Release Delays... a Good Thing??
I just kind of fell into a coding session this afternoon and this evening and it yielded some great results. I managed to get a well-known Linux tool, ccache, built for Haiku and Zeta and tweaked Paladin to take advantage of it. I did some testing on my P4 3.0 Ghz with hyperthreading (a dual processor machine to Haiku) with a copy of the sources to FtpPositive that I had lying around. The results completely blew my mind.
| Build Type | Build Time |
| single-threaded, uncached | 13 seconds |
| multithreaded, uncached | 12 seconds |
| single-threaded, cached | ~3.5 seconds |
| multithreaded, cached | ~2.25 seconds |
That's an 80% improvement with build caching! For small projects with only a few files, it doesn't make nearly that big of a difference, though. The bigger the project, the bigger the boost, it would seem.
I also found a few bugs that I managed to squish that were related to a feature that I implemented during the snow days I had earlier this week and discovered another one which needs to be taken care of plus some more general testing before a release can be made. When it's all done, though, this will be a really nice improvement over the last development release and a huge leap over the stable branch.
February 12, 2010
Dark Wyrm
Programming Lesson 5: Arrays, Strings, and Pointers
February 5, 2010
Dark Wyrm
Lesson 4: If, For, And, Not, Or
February 1, 2010
Dark Wyrm
New Paladin Release Coming Soon
The feature that's holding things up is the Code Library. The concept? Encourage (and in my case, simplify) code reuse by creating modules of code that, once imported into a project, remain synchronized with the master copy. It's a little like source control, but on a more basic level. It seems simple on the surface, but it's turning out to be more of a challenge than I thought. I personally plan to use it a *lot*, so I'm waiting to get it right before the next release.
January 29, 2010
Dark Wyrm
Third Lesson and More
January 27, 2010
Meanwhile -
Final bits
SoundPlay and Gradients icons have been finished:

They can be downloaded here.
This blog is going to be abandoned*, so it might as well have something with a lasting quality at the top of the page.
It’s a beautiful song in a great performance by (late) Taiwanese singer Teresa Teng.
*Due to me going back to a much more analogue life. I’ve finished contributing to Haiku where I could anyhow and wish the project and everyone involved good luck. (Will surely run Haiku R1 when it’s out!)
January 25, 2010
January 24, 2010
Meanwhile -
Alternative Gradients icon
At the moment, Haiku’s Gradients icon bravely ignores all the Haiku Icon Guidelines
.
Still, I tried to make one that doesn’t do so.
Maybe it’s just as unsightly, but at least this one blends in much better with the rest. Still not sure about those shadows, though…

Update: An improved version is here
January 21, 2010
Dark Wyrm
Programming Lesson 2 Out
January 18, 2010
Meanwhile -
Haiku’ed BB icons version 3.6 is out
Final batch of new and improved icons, downloadable from BeBits, Haikuware or from this blog (see link on the right).

I planned to make an icon for Jukebox, but abandoned that idea because the application’s name doesn’t represent its functionality very well anymore: originally Jukebox handled audio, but later on video was added.
The idea of designing an icon in the shape of a Jukebox therefore didn’t feel right, and I couldn’t make anything else out of it that visually worked and indicated the added video capability.
Some general notes:
Version 3.6 finally ends my Haiku interpretation of a BeOS icon collection made earlier, the so-called ‘Be-beautified Icons’.
It was both a challenge and fun, and I only hope that the icons will do what they’re supposed to do in a pleasurable manner that lasts.
(May they add to the already great Haiku computing experience)
Lots of credit should be given to (amongst others) Matthew McClintock and Stephan Aßmus for the material, inspiration and methods that made this icon collection at all possible.
January 16, 2010
Dark Wyrm
Branching Out
January 15, 2010
Dark Wyrm
Calling All Haiku Developer Wannabes
I'm going to be publishing online programming lessons whenever I have some time. Usually this will be about one per week, but may happen more or less often on occasion, depending on how my spare time runs. These lessons will be available in PDF form under a Creative Commons license that will give me some options should I ever want to publish them in dead tree format.
Considering that I write fairly well and I've been teaching for more than 10 years now, this is quite an opportunity for someone who wants to learn to code. To kick things off, here's the first one. Learning to Program With Haiku, Lesson 1.
January 12, 2010
Stephan Aßmus
Everyone loves benchmarks
In these exciting times, during which Ingo Weinhold is making great progress with some performance optimizations in the Haiku kernel, I felt this strong urge to conduct some benchmark results, even if that caused me great deal of pain in setting up all the test platforms! The results are quite interesting, even though I didn't manage to test all possible combinations of host platforms and file systems.
January 3, 2010
Dark Wyrm
Do BeOS and Zeta Matter Any More?
Although it's only been 2 years since the final release of Zeta, it's also been declared illegal via piracy, so current users are on shaky legal ground at best when using it. It also has a number of compatibility problems with R5 and Haiku, as well. Hardware support has been kind of funny in my experience -- some machines will run it and others not at all. There isn't any binary compatibility with Haiku with anything compiled on Zeta, either, which adds hassle to developers.
Although Haiku has made great strides, it is still buggy, and unless it sees a serious influx of developers in the near future, it will be for quite some time. Should developers even bother with writing code with R5 and/or Zeta in mind? Vote on the poll at the right and let's see who runs what. Maybe that will give a better answer than my own musings. :)
December 21, 2009
Dark Wyrm
Taking Some Time Off
I've been here before. The last time I felt this way, it was burnout. There is a distinct possibility that this is the case again, but it feels different this time even though I can't quite put my finger on it.To put it succinctly, I'm puzzled. This may be just a pause in the journey, but only time will tell.
Thought for the day: when you're at the bottom of a well, don't forget to look up. :-)

