I hate harddiscs
The Crash Motive
It's been quite some time since I have been waiting for an album to hit my mailbox as with The Crash Motive's debut album "Consequence". What I have heard online is absolutely amazing and waiting sucks more than everything else.
It still hasn't arrived so I have to listen to it through their Myspace page for now...
Are you writing code that kills people?
My brother sent me a link to a (German) article about an automatic cannon killing their own soldiers by mistake. I can't stop thinking how ridiculous that is — that machine was designed to kill people and now that it does people are screaming. So why I am writing this is that we - programmers, software architects, whatever we want to call ourselves - should in no way program software intended to kill people! I cannot really believe that people writing such code had to choose between that and starvation. If we broaden the topic a little I think we IT people should in general think more about the moral aspects and abusability of the code we are writing: There will be no trojans spying on us in the name of a government if we don't write them. There will be no robots shooting at us if we don't program them. We have to say "no" to that, you have to say "no" to that!
APG parser generator now licensed under GPL
Upon my request the APG parser generator is now licensed under GPL v2 or later, instead of the previous custom license. APG's separation of grammar and code, and it's support for ABNF notation a la RFC 4234 make it very interesting and it now becomes useful to the Open Source community. Besides introducing APG here I mainly want to encourage you to request better licenses, just like you file bug reports. Because that helps and sometimes even works.
libSpiff 0.8.2 released
JSON Highlighter for Kate
I just finished a JSON highlighter for Kate and KWrite. It comes with
different colors for keys and values and
basic error marking
The highlighter should work for KDE3 as well and can be downloaded
The screenshot shows JSPF draft code.
JSPF is the JSON counterpart of the XML-based XML Sharable Playlist Format, short XSPF.
libSpiff 0.8.1 released
Xiph needs someone to help with assembly for MSVC!
Hello again! Theora, the open video format from the makers of Ogg Vorbis and other great open media formats, is in need for someone with solid understanding of x86 inline assembler in MSVC syntax. At Xiph we have people fluent with GCC-style assembly, people familiar with Windows and Visual Studio, but we don't have anybody who can write x86 assembly compilable with Visual Studio. Yes, assembly for one and the same processor can look very different from compiler to compiler. These two lines are equivalents from both worlds:
GCC syntax: "add $16, %2\n\t" MSVC syntax: add ecx, 16
Semantics are mostly the same but even the argument order differs. So while we do have assembly code compiling with GCC, an equivalent for MSVC is missing. In general there are several possible ways to solve this code-twice problem:
- Code everything twice, sync manually
- Code in one syntax, generate the other using a tool
- Add an abstraction layer that resolves to either syntax
Approach (1) obviously has big drawbacks like waste of time and error- proneness - it's a maintanance hell. We created base code for both (2) and (3) that proved to work for the tested (simple) subset of assembly commands. While (2) was done using a sed-based shell-script, (3) was implemented using preprocessor-macros, e.g. instead of
"add $16, %2\n\t"
we could now write
TIS_CMD(add, TIS_NUM(16), TIS_ECX)
and get the MSVC syntax as a "fall-out". The reason we currently cannot finish either approaches is we don't have an MSVC assembly consultant ensuring we do the right thing, which is... what we want you for! You don't need to be an expert and even can have a real life beside us... in case you want to. :-) If that sounds interesting to you please contact Timothy (tterribe) or me (sping) via mail at xiph.org directly or through the theora-dev mailing list. Btw going larger is always possible, e.g. you could extend (3) to a Bison-based assembly converter if you want to. We'll be there to your support of course. Questions? Ideas? What are you waiting for!
libSpiff and uriparser now for Debian
Thanks to the great work of Adeodato Simó both libSpiff and uriparser now have packages for Debian:
Kate searching: Highlight All just arrived
We are getting very close now to a productive search and replacing experience in Kate/KWrite. One big thing was still missing: highlighting of all matches. I finished that yesterday:
Since that feature has beast potential I would like to ask you to try it out and report any bugs you might find: Try to break it and see if it survives.