That’s Microsoft, allright…

Sickening stuff: How to Get Your Platform Accepted as a Standard – Microsoft Style

Next time somebody believes your usage of the dollar sign when typing “MS” is childish, re-direct those people to that article….

‘Nuff said… :P

Sean, have you read this?

Soylent Green is coming.

Ouch, McKinnon extradition emminent…

Who the fuck were they trying to kid anyway — trying to prevent the USA from getting their scapegoat: Gary McKinnon is to be extradited to US.

If he is prevented from committing suicide, and if he’s technically any good, he is most probably going to end up working for the US army.

Either way, good bye Gary, and do whatever you got to do…

<rant>
I know your story shall not be forgotten. In fact, this is surely going to cause more agression towards the USA — which, of course, is exactly the plan: the more people upset with the US, the more people organise — which means that more groups of people can be targeted as “sleeper cells” and end-up as so-called non-combatants in some foreign prison getting humiliated…

The more we look at this and get used to it, the easier this excuse can be used to take out any voices of freedom. (Freedom != democracy — you could be called a non-thinking idiot to think otherwise.) From terrorists to the non-violent political groups — people arrested and never to be heard of again. This “movement” has been happening for almost a decade now — it started since that 9/11-facade and has been speeding up ever since.

Speeding items shall definitely run into a wall at some point, but I sincerely hope it won’t do too much damage to the not-so-guilty. (We’re all responsible for baking this global shitcake, actually…)
</rant>

nekobee — mapping the controls to the M-Audio X-Session Pro

I was tinkering with Nekobee today and wanted it to respond to the top two rows of 4 knobs each on my M-Audio X-Session Pro MIDI controller. This, so I can easily tweak the sound using those knobs rather than using the mouse…

I had to use ‘midimon’ to find the correct values and changed the defines in nekobee_synth.h.

After doing this, I found that the Volume knob was not responding correctly (it was not updating while I twisted it, nor did the sound change). I had to mess around in another file as well…

If you also want to be able to use the X-Session Pro mixer controller as a musical instrument: here is the patch.

I was pleasantly surprised to notice that Rosegarden nicely records those tweaks as well, so if I play back my composition, the knobs in the interface turn, too. Nice ;-)

One word of warning though: this patch locks the controls to the X-Session Pro. In the event of other hardware and having changed these mappings again, all your old compositions in your favourite MIDI sequencer shall no longer play back like it sounded before. Keep this in mind…

The Art Of Noise feat. RAKIM

Wow, under what stone have I been living? :)

As a young kid I bought almost all the Art Of Noise’s music. Likewise, Rakim (of Eric B and Rakim fame) has been an inspiration as well…

And I only just now discovered they once did a collaboration together… Sweet! :-)

knobs-20091116 (Mixxx)

I once decided to create new skin for Mixxx a long time ago.

But never gotten further than the actual script that generates all the different states of a “volume knob”:

As I never shall get around to finishing my own skin anyway, I have posted a sample of these knobs to the Mixxx mailing list for comments as I believe they can make Mixxx look better.

Since then, some comments have been applied and a seperate ‘balance knob’ is now rendered.

These buttons can be used as replacement buttons for the outlineNetbook skin, or any other skin that uses 29×29 size buttons.

Updated: The balance knob, when centered shows a single green led and the marker line is now darker.

If you want to use them as well: here it is.

Native Instruments AUDIO4DJ & jackd & mixxx

I’ve been trying to optimise my laptop so I could get Mixxx, an open source DJ-ing application, to run on it smoothly. The only thing I hadn’t tried yet was using the JACK Audio Connection Kit, i.e. JACK. Word is that audio applications using JACK have very low latency.

The best I could get Mixxx to run using ALSA devices was with 32 ms latency. And even then, audio still occasionally popped and cracked (worse even when the Nvidia driver was still using agpgart).

Popping and cracking kinda ruins the whole experience, so the potential performance benefit of a functioning JACK set-up is something that I “needed”.

Not working :(
For some reason though, initially, I could not get Mixxx and JACK work nicely together with my AUDIO4DJ audio interface.

This USB audio interface has 2 stereo in- and outputs; and I could only get either 1 output and 1 input. Without a headphone output and a 2nd input for vinyl control using JACK would render the whole set-up useless…

Some Googling did reveal some hints, like modifying the /etc/asound.conf file. I thought I had already done that earlier; but apparently this does not work with JACK.

See, my “old” asound.conf split the audio device up to two devices (I used one for the Master, and the other one for the Headphone output in Mixxx.) JACK can only handle one (or I am doing something wrong), so that had to be changed…

Solutions suggested in this thread on the NI forums did not work for me either, I ended up with the same problem basically: only one input and one output.

Working! :)
That thread did give me a hint to the solution — the following /etc/asound.conf, works for me like it should: it exposes a single “AUDIO4DJ” device, which binds stereo channels A and B to it:
pcm.AUDIO4DJ {
    type multi
    # bind hardware devices
    slaves.a.pcm "hw:0,0,0"
    slaves.a.channels 2
    slaves.b.pcm "hw:0,0,1"
    slaves.b.channels 2
    # bind channels to virtual device
    bindings.0.slave a
    bindings.0.channel 0
    bindings.1.slave a
    bindings.1.channel 1
    bindings.2.slave b
    bindings.2.channel 0
    bindings.3.slave b
    bindings.3.channel 1
}

(Note that slaves.b.pcm “hw:0,0,1″ — which points it to the B channel.)

That way, I can now use that “AUDIODJ4″ as a device-name in qjackctl as Input- and Output Device, each giving 4 channels (2 stereo channels).

If I now go into the Audio preferences in Mixxx, I can select channels 1-2 for the Master output and channels 3-4 for the Headphones. Similarly, for Vinyl Control, the first input deck can be put on channels 1-2 and the second on channels 3-4..

It took a bit of tinkering but, again, it was worth it!

Now that JACK is properly working and Mixxx can use it, vinyl control response is amazing and the audio playback is exceptional — I haven’t heard a pop or crack since!

NVIDIA nvagp/agpgart module woes…

So I was trying to optimise a laptop for audio playback and wanted the NVIDIA driver to use the its own NvAGP rather than the linux supplied ‘agpgart’ module. The reason being that the performance may be better, and I have this obsession with optimisation… :)

This wasn’t as easy as it seemed as for some reason, blacklisting the ‘agpgart’ module did not seem to have any effect.

Why is it still loading the agpgart driver?
Running “modprobe -nv nvidia” it showed that it kept depending on the ‘agpgart’ module somehow.

A quick Google only showed other people having the problem, but alas, no solution.

Further poking around, I noticed when doing a “depmod -v” — which outputs module dependencies to standard out — that the nvidia module indeed depended on it.

Aha!
Hmmm… So I dove into the NVIDIA driver source (which I had to modify for a real-time kernel anyways, so the unpacked nvidia installer package was still on my system), and noticed the culprit.

The nv-linux.h file contains the following lines:
#if defined (CONFIG_AGP) || defined (CONFIG_AGP_MODULE)
#define AGPGART
#include <linux/agp_backend.h>
#include <linux/agpgart.h>
#endif

The CONFIG_AGP and CONFIG_AGP_MODULE it gets from your kernel configuration and presumably, this is what compiles in stuff that makes it depend on the ‘agpgart’ module. I put those lines in as /* comments */ and tried loading the module.

Indeed, it now does not depend on ‘agpgart’ anymore and shall use ‘nvagp’ now. And the time spent on it was worth it: I even got about 200 frames per second increase with glxgears. :-P

NG-BASIC is moving!

Hi there people!

Interesting times ahead for my pet project NG-BASIC!

After long deliberation I have decided to transfer the ownership; transfer the ownership to a new owner that is going to breathe fresh life into the project.

It shall be actively developed on — something which I can’t do anymore as I seem to be wasting more and more spare time on work. :P

I must say it feels weird to let go of it… I guess it’s similar to what an artist feels when he sells a painting (well I like to think so anyway).

When I initially wrote it I never expected anyone to be interested at all. Perhaps one or two like-minded people — I did not expect more for a “toy” programming language.

The emails I got and the amount of downloads over the years show differently: there’s still quite an interest in BASIC, be it because of the geekiness of it running in a browser; to quickly get some calculations done; to explain somebody the basics of a programming concept; or — for people born in the 70s and 80s — just out of pure nostalgia.

So, that’s all very cool and I’m glad that people enjoyed it and hope they will do so in the future.

I believe it will be in good hands at its new home. In a different context (read: not on my personal weblog with, for perhaps some people some non-subtle opinions) it can even reach a broader audience…

It will surely be interesting to see how it’ll develop, literally. :-)

Farewell — may it be in for a nice ride!

Acer Aspire 7530 not booting :(

So I bought myself a new laptop last November — it seemed a bargain at the time.

And I was really happy with it until the first time it did not want to boot after shutting down.

The first time I push the power button, the lights went on, the fans started to blow out some air; and then, nothing.

Second time I pushed it, it shows the BIOS booting and then, the screen clears and then… nothing.

I can push the power button again to turn it off and then the cycle repeats itself. Interestingly is that, when booting the second time, it IS possible to enter the BIOS settings (although rebooting from that shuts down the laptop again). Different settings in the BIOS, resetting to defaults, been there done that to no avail.

Thinking, hey, it’s a new laptop, perhaps something is loose (memory, etcetera). I opened the case, unseated and re-seated the memory banks. Put the thing together and it booted again.

Yay.

So I keep it running all the time, only to reboot when it’s really necessary.

The second time it happened, I reseated the memory again: no luck. I grounded myself and touched the metal things on the laptop, for any static electricity to ‘go away’.

I tried to boot: Yay!

The last time it happened, yesterday, I reseated the memory, unloaded the static electricity.

But nothing.

Googled my ass off to discover more folks having the same problem. After reading things about ‘resetting’ something power-related by pressing the power button for 30 seconds with the battery and AC detached, decided to give that a shot.

Meanwhile I had moved to laptop to another room (perhaps it was a ‘mains’ problem so tried another socket — one thinks weird things under duress *hehe*), where I had left it, battery and mains detached already incidentally. So I went upstairs, held down that button for about 60 seconds. Tried to boot.. YES it booted.

Linux mentioned stuff about clock skew detected. Oh fsck yeah, I forgot I had reset the BIOS — had even removed that button-cell battery after reading that solved stuff for some people. So I quickly shutdown again to put the date settings correctly.

I should have done that from within Linux silly me: now it didn’t want to boot again.

Same problem — and holding down the button again for 30-60 seconds didn’t do the trick this time.

Patience seems to solve everything: I left the laptop, again, AC and battery detached for I think may have been 2 hours. Tried to boot it for the heck of it and it did so without problem.

It seems that something has to cool down or something — as it works after a long time of waiting. Perhaps static electricity, I don’t know. What I do know is that at that point it is not necessary to hold down the power button for 30+ seconds anymore…

So if you have this problem, and tried everything except the ‘patience’-hack: try to occupy yourself with something else — after an hour it may well boot fine!

Hope this may help other folks out there that have been pulling their hairs out over this.

Edit: Oh, I forgot to mention I will probably not ever buy an Acer laptop again. I called their support line yesterday around 5 o’clock. Now, day later, at 11:30, I still haven’t got a call back. WTF.

Edit: Last night my laptop went into sleep mode when I disconnected the AC and closed the lid… Oh no. But this morning, having cooled down properly, it booted in one go. No tinkering with memory modules or unloading of static electricity… Patience solves it. (Problem is, you do not have patience, when you are in a hurry…)

Public Enemy Millions Tour 2008

Hey folks… It has been quiet but this I must share.

This was probably the best concert I’ve seen in my whole damn life.

Ab-so-fucking-lutely awesome.

Paris — Don’t Stop The Movement

I just caught this on guerrillafunk.com:

The caffeine might have played a role though…

So after this, I have been reading more on the condition called Cluster Headaches, and the more I read, the more I recognise. Initially I couldn’t remember being woken up by these headaches, but I have. The memories of more days in agony came back. I even remember the day I had such a headache and my girlfriend thought I had a dilated pupil.

After reading about Red Bull and coffee (and other high-caffeine drinks) being possible ways to stop or prevent an attack, I have reason to suspect that my heavy coffee drinking might have played a role, though:

What if my constant coffee-drinking has always prevented the condition from getting noticed?

So as a means of experiment, I doubled my coffee-intake yesterday (I must say, it has been a while feeling that “caffeine-buzz” which I felt after only 4 mugs), to see what would happen that evening. I had one moment that I felt a headache coming up at which moment I took another mug of coffee.

I kept an eye on the clock and 20 o’clock passed without any headache at all. That seems quite promising, although it’s difficult to say whether the coffee is really helping, I might have had no painful headaches that day anyway.

(And of course, it’s still not sure that I really suffer from cluster-headaches, it could just as well be some weird coincidence.)

Today, as part of my little experiment, I’m dropping back to just 3 mugs again to see what happens.

So, it wasn’t the caffeine after all…

For most of my (working) life, I have been an avid coffee-drinker almost since the day I first forced that cup down my throat out of politeness and, after a few cups thought that, “Hey that actually tastes & feels good.“.
WTF?!

Until, a few of months ago, my stomach started acting up on me after drinking my WTF-mug filled with coffee. Seriously thinking it was the coffee, I started to cut down on my coffee-intake from that day on.

I usually drank about 10 to 12 of those mugs and the days after that was severily reduced to about 2 or 3 mugs: one or two in the morning (to wake up), and one in the evening after dinner.

Having built up a fair dependancy on caffeine; the headaches of course started to get worse.

Somehow, the brain still longs for caffeine — or the extra water-intake that comes with it — and your body lets you know it by giving you a headache to cope with.

Now, I used to have these types of headaches a lot, especially in the weekends in which I did not drink as much coffee as I have done during the week. These headaches weren’t anything “new” to me, I have had these long enough to think that it was coffee / caffeine related: if I had them in the evening (which I used to have regularly, somewhere between 19 and 20 o’clock, I had always fingered caffeine as the one responsible.

If you have drank liters of coffee a day and suddenly reduce that to barely 1 liter of coffee, your body starts to complain, or has a change to get used to. Well, at least mine did. The first couple of weeks were relatively easy, after 2/3 weeks, I started to really feel those ‘caffeine-dependancy-headaches’ as I’ve grown to call those.

The amount and intensity of these slowly reduced, even convincing me I was on the right track cutting down on coffee because the headaches went away.

Cluster Headaches
Now, a buddy of mine has been suffering from a condition called “cluster headaches” (Wikipedia page here) for quite a while now.

Honestly, the first time I heard of this, I think must be 2 years ago by now, I did think it was similar to what I was having — but I was still too busy blaming caffeine at that point and didn’t pay it no more mind.

Recently however, the intensity of my headache now increases again: “attacks” that last for about an hour, usually a bit less but sometimes even a whole hour longer.

I also noticed a slight difference that I had not felt before: the normal “caffeine-headache” I used to have concentrated mostly in the temple — but these headaches I was also having felt like being stung by something sharp in my eyes from behind at the same time: a subtle difference that I probably haven’t noticed earlier.

So there I was, earlier this week, lying on the couch, waiting for the pain to pass, when this friend suffering from the condition coincidentally came by our house. I told him about my headache-episode I was having at that time and how it felt. He immediately recognized it — especially the stingy pain behind the eye which sometimes can be really, really painful, making you want to roll on the floor in pain…

So, it wasn’t the caffeine after all and I may have been suffering from this quite some time now. The funny thing is, I have only really starting to get bothered by it the last couple of months, where before I thought it was caffeine related, the pain didn’t seem to take me out like it does now. It seems like its intensity is increasing over time…

Oh well, I’ll see how this pans out…

Updates
13:30: I discovered www.clusterheadaches.com and the “quiz” there. If I may have been in doubt, I’m most surely not anymore…

In-between-jobs…

In between jobs“, I always have wanted to say that. I wish I could say it in another situation though…

Last month my employer went bankrupt and me and some colleagues haven’t been payed for a couple of months.

It sucks…. There’s the issue of some back-pay that I still have to get back which comes with some paperwork and requires me to go through those old-cardboard boxes I call “my past”.. Hopefully I get most of it: 3 months not getting payed kinda drains your bank-account…. ;)

So that’s what’s been up lately, I just updated my CV here and thought I’d leave this little note. Hopefully things will settle soon though, so I can finally *really* laugh about this shit. :-)

© 2005-2010. All remarks and opinions on this site are the intellectual property of Navaho Gunleg, unless specified otherwise. If you find anything offensive or otherwise insulting, just close the damn window; there are far more serious issues in this world to get upset about.