Technology (48)

Updated to dotClear 2.0.2

Written by Wednesday, 22 October 2008

Well, I've gone and updated the old blog to the sparkling new version of dotclear.

Great thing is that now all of my blogs are centralized. Sweet. Now I can post sparingly from one convenient location!

Other noteworthy fact: I've just released a DotClear 2 plugin for CommentLuv - check it out.

IE7 And '

Written by Tuesday, 08 April 2008

Well, I learned something today.

The XML entity "'" is not displayed properly under IE7. Instead of showing the single quote, as I would expect, it shows "'".

' works well under FireFox, IE6, IE5, Safari and Opera. But no longer under IE7.

The most understandable explanation I've found about this is that it is part of the XML standard and not HTML.

To which I would reply: yeah, but I'm doing XHTML.

To which I've read the insightful reply:

If you're doing XHTML, the world is not ready for you.

Another hilarious and insightful answer to the problem was :

Use ' instead of ' ?

So I'm resting from the shock and looking at my HTML transformation libraries wondering if there is a tsunami of problems that is waiting for me if I remove the conversion from single quote to the ' entity.

I really don't expect any troubles as we never used single quotes to delimit parameters within HTML and we never used the HTML transformation methods to send text to javascript.

Still, one wonders about the woodpeckers and civilization.

Maybe Microsoft will let out a patch?

LOL.

For once, it seems that it is MS that is sticking to the standards. Brave new world?

To clarify the standards:

&apos is not part of HTML: W3CCharacter entity references in HTML 4

But is a part of XHTML: W3C xhtml DTD entity set: Special characters

Here's a link to an entity test, devised by W3C.

The whole issue is also described in Wikipedia - Entities representing special characters in XHTML

limiting CPU usage of a task under Linux

Written by Thursday, 03 April 2008

I have a few tasks that I run at irregular intervals on some of my servers.

Some of them actually eat up quite a bit of CPU - something that I don't want on certain servers.

Running the task when the CPU is normally less used is nice, but I was looking for a way to start the task with a very low priority.

Basically, if anything else than that particular task wants the CPU, give it up. Otherwise, have a ball.

After a bit of search, what I found was the command called "nice". "renice" is also nice. Uhm... well.. its not "nice", but its nice.

Moving on.

Each task is given a "nice" level, which is the process' stat about how nice it is with other processes when it comes to sharing the CPU. The "nice" level is used by the kernel to determine who gets the CPU's attention.

Basically, the higher the level is, the more prone the task is to share CPU resources. The lower the level, the more selfish the process becomes.

The "nice" commands starts a process and assigns it a "nice" value, while "renice" allows you to change the "nice" value of an existing process.

For example, because I love examples, you could do the following weird backup command:

nice -n 20 zip -r /root/ugly_backup.zip /var/www/*

Which would start a low-priority (nice=20) task to recursively zip all of /var/www within the fule /root/ugly_backup.zip

(and people, please, don't backup this way if you haven't been forced to by someone with a gun or a big cheque)

NB: if you see your low-priority task run with a high CPU attribution, don't panic - it just means that no other tasks is asking for CPU. And your web server's CPU don't have to sit on its tiny metaphorical sillicon hands while waiting for your visitors to take a peak at your awesome, (hopefully) relevant, web page.

While I'm in the process of writing this reminder note for myself, I feel that it is nice to add, for the benefit of my memory, that by ending a command line with an ampersand symbol &, the task will be started in the background.

Looking for Music Mixing & Midi Software

Written by Saturday, 23 February 2008

I'm currently playing with various Windows-based software to build songs using my midi controller.

My goal is to be able to build songs by myself using samples, loops, midi-based tracks and recording my voice / other instruments.

I got myself an M-Audio Oxygen49 midi controller a few months ago. Nice little piece of hardware.

I've been toying with various demo versions of software since then, planning to purchase when I am at least 90% convinced of my happiness with the software.

On the Mac platform, they have a nice piece of free software called 'Garage Band'. I've never used or seen it, but I hear its quite good.

I've been searching for similar software for Windows - not necessarily free - that would allow me to take advantage of all the buttons and sliders of my Midi controller.

There's one person I found on the lookout for such a product that keeps a blog about finding 'Garage band for Windows'. His research is a good source of information.

So far, I've been considering various software and just can't really decide.

Fruity Loops

I've been toying with FL for a while. It is very flexible and powerful.

The demo version comes with a collection of great synthetic instruments. I've kind of fallen in love with their Sytrus synth.

Besides that, the samples that comes with it are kind of bland and generic. Maybe the full version is more interesting. Can't be sure.

One of the things that I love about it is its ability to bind just about any control in the software to the programmable keys of my midi controller. This is something I really like and that I have a hard time finding in other products.

However, I have not actually managed to find a real use for it... I'm still too much of a neophyte with all the mixers and effects to actually tweak the multiple settings - which I guess is where the binding to the keyboard comes in.

Sadly, for some reason, I can't bind the 'play' and 'record' buttons on my keyboard, which would be a tremendous help.

I've been experimenting with its recording functions, but I keep getting weird delays with the keyboard and the sound. I'm guessing its because I have a crappy sound card. But I have doubts on that, as I don't get these kind of problems with other software.

All in all, its pretty good. My hurdle comes with price.

The basic prices are reasonable, really. Especially considering that a purchase comes with lifetime of updates.

What annoys me is that most of what I love about the software doesn't come with the basic version (100$). I loose Sytrus and all other advanced synth instruments, I loose recording of audio as well (wtf?).

The 150$ version has recording and audio editing enabled. That's good. Sounds reasonable. But I won't get my synths unless I extend an extra 150$. An that's going over my budget line.

Of course, I could probably get along just fine without it and use other samples, soundfonds and VST intruments that can be found free or cheap around the net.

Still, it bugs me.

Mixcraft 4

I've just started playing with that one. Sadly, the demo lasts only 7 days, which is really not enough. I almost prefer FL's demo - which has no limit, but does not allow you to save your work.

Anyway, it is a whole lot less expensive than FL. It is simpler and more intuitive - from what I hear, its pretty close to Garage Band.

The instruments that come with it sound decent enough to me.

Recording functions have been working fine. No odd delays with the midi.

So far, sounds like a clear winner - especially on a tight budget.

As far as I know, it doesn't come with free lifetime upgrades, as FL does. But it has a decent price tag and, frankly, makes for an easier to understand business model. I mean, once everybody has FL, how will they afford to build new versions? Anyway. That's besides the point.

Mixcraft4 is the first version to have midi. So while the pitch bend wheel works as expected, there's no way to bind any of the keyboard controls to anything. I don't know if they plan on doing anything on that front - I'll probably drop them a line to see.

And that's probably the only thing holding me back on this one at this point.

I've seen a bit of what Mixcraft can do. I think it fits my current skills.

However, I've been playing with FL for quite some time and I've got to learn the intricacies of the software. I feel it is much more advanced and that I could get frustrated with Mixcraft's limitations fast enough.

One thing that I'm missing is all the automation recoding (and, as mentioned earlier, keyboard bindings).

Then again, that might be in a few years... Mixcraft has time to get better... and I have time to save for the big version of FL if that's what I want at that point.

Jury's still out.

Sony Acid Music Studio

The affordable version seems nice.... but for the same price, it lacks the automation you'll find in FL.

The full version with automation and all the bells and whistle is just too expensive for a non-pro.

Oh, yeah, and I really like its interface...

Ableton Live

Sounds amazing. But I started with looking at the price and left the building. I'm not about to put 700$ on this. Except if it mows the lawn, shovels the snow in the drive way and changes diapers. Then I'd think about it.

Conclusion, for now...!!!

I'm alternating between Mixcraft and FruityLoops. When I'm on the verge to decide to go for Mixcraft, the lack of automation makes me think twice about skipping on FruityLoops.

Then, the higher cost of FL and my current dissatisfaction with the included samples brings me back to Mixcraft.

I guess I'll keep experimenting with the demos...

«StartPrev12345678910NextEnd»
Page 2 of 10