Search Results: "Miriam Ruiz"

2 February 2008

Miriam Ruiz: is Yahoo! Answers rejecting Open-Source options in their forums?

Guess what happens if you recommend free software in Yahoo! forums? Your message might just be deleted for violating their Community Guidelines or Terms of Service. Someone got a computer from a friend that had some serious problems with Windows. They had none of the disks (XP or restore) and were asking for recommendations. Amanda Kerik’s suggestion was to install Ubuntu or Kubuntu instead. It seems that they didn’t like that suggestion in Yahoo! Answers, as they simply deleted it. Might it be that Yahoo! simply loves Microsoft too much?

24 January 2008

Miriam Ruiz: Newer packages for Gnash - Not in Debian for the moment

I’ve prepared newer packages for Gnash, and put them available online (source packages here). I cannot put them in Debian yet, due to license uncertainties. Gnash is GPLv3, and so is Konqueror’s plugin. KDE is a mixture of licenses ranging from GPLv2 only, LGPL, GPLv2 or above, BSD. Nothing GPL3 there anyway, AFAIK. Qt used to be GPLv2 only, and even though it seems to be GPLv2 or above now, I’ve been told that the version in Debian is still GPLv2 only. GPLv3 and GPLv2 only are not compatible, and thus Gnash cannot be legally distributed in Debian yet, so if anyone wants it before this is sorted out, no other choice than getting them from outside of the official repositories. Another possibility would be to package everything but Konqueror’s Kparts plugin for the moment.

16 January 2008

Miriam Ruiz: Sexism? Hostility?

The story seems to have started with Damog supporting sexism and xenophobia in Debian, followed by Bernhard’s comment about that not being tolerable under Debian’s flag. Aigarius replied kinda shocked that stopping verbal abuses and violence would be censorship. AJ clearly explained the reasons why that shouldn’t be tolerated in Debian, but Aigarius seems to keep thinking that poor jerks are being discriminated when they’re not allowed to insult us. Wouter seems to be tired of the whole topic. Am I missing any chapter? Now my turn: We are on the right way. Since the Debian-Women project started, we have being able to achieve a friendly and non-sexist environment inside Debian, which is something that I’d really like to keep. It doesn’t really mind that a couple of people try to go back to a hostile environment. Trolls just do exist, I guess, but they are not representative of the general feeling of the people inside Debian. Damog, I won’t get the fuck out of here, like it or not. It seems to me that it’s just a couple of you who are happy to be in such an aggressive environment as the one you’re promoting. For what I know, most of Debian people are happy to live in peace. You don’t have social life? You don’t like it? That’s your problem, dude, but don’t ask us to leave ours. I respect you, you know I have always done. I’m just very disappointed with your comment. Really. Making fun of other people’s problems and traumas is simply bullying. I hope you think about it. For the rest of Debian, keep up the good job. Right now my feeling is that the level of sexism, racism, ageism, homophobia, hostility and unfriendliness in general inside Debian development’s world is below the average in the Free Software world. It’s nice to be there, and I’m really proud of belonging here, which is something I cannot say about every group in Free Software. I’d like to keep it that way. Sorry for the aggressiveness in this weblog entry.

27 December 2007

Miriam Ruiz: SMV Video Format

Some small portable MP3 players also allow reproducing images and videos (does anyone know why they call them MP4 players?), but they need the latter to be in some funny format called SMV (for devices with SigmaTel chipset. Other devices use different formats, such as AMV for devices with Actions chipset, MVS for those with Sunplus chipsets, MTV, DMV or ASF). SMV seems to stand for “SigmaTel Motion Video”, and was developed by SigmaTel Inc to allow users to transform common PC video files and watch them on their portable multimedia players (PMP). I’ve been trying to find out how to convert videos to this format for a while, to be able to watch them in a small gadget I bought some time ago, but haven’t been able to do so from Linux yet. All the converters seem to be privative, and just for Windows, although they seem to work with wine according to some reports I’ve read on the net. I’m not putting any closed-source software in my lappy anyway, so that’s not an option for me. I recently found a web page of someone developing a conversion tool for SMV called smvconv, based on mplayer and ffmpeg and released under a MIT/X11 license. It’s just a small C program and a shell script, and seems to be in a very preliminary stage, but the most important part is that he has also published the structure of SMV files, which seem to be, in fact, quite a simple format composed of some headers, a WAV audio file and some JPEG frames: An SMV file has three sections, concatenated together:
  1. An IMA ADPCM .wav file, with header.
  2. An SMV header.
  3. A number of .jpeg files, with headers, each prepended by a 24-bit (3-byte) little-endian value representing the size, and buffered at the end with nulls, so that they are at predictable locations (the jpeg modulo). SMV is a constant-bit-rate format, but the underlying format (jpeg) is not. Proprietary encoders -according to smvconv’s author- probably make up for this by encoding at various qualities until a jpeg of the proper size is made.
The SMV header is a magic string in ASCII (”SMV002000″) followed by a number of 24-bit (3-byte) little-endian values representing the width, height, header length (in 3-byte words, starting with some magic “002″), some apparently constant value (1), the jpeg modulo, fps, number of frames. some apparently constant values (a 1 and a 0), the number of frames per jpeg, and 4 padding values (65793 == 0×010101). The default qualities seem to be 35kBps (”High”), 25kBps (”Medium”) and 16kBps (”Low”). Lets hope to have some working converter soon, so we can use this feature in those cheap players. I don’t remember where I put the USB connector for mine, but as soon as I find it -it seems to be non-standard, so no way to replace it with a new one, AFAIK- I’ll start experimenting with it.

11 December 2007

MJ Ray: Movements: back again (just)

I'm back (again) but I'm not feeling 100% well (again). I'll write about the various events I attended and share the pictures as soon as I get bluetooth file transfer working (is that obex?) but here are some sites I commented on recently:
When is it going to be the norm for JavaScript?
Never, I hope.
Down with the Press Release!!
I wonder if I didn't like this because open letters aren't very common here.
Print before you think! - Atomo64's Blog - by Raphael
Reposting the old psnup -2 trick... works in Mozilla-based browsers, at least
How Old Are ProBlogger Readers? Poll Results
I whinge about ProBlogger's misuse of bar charts again...
How Much Money Do Bloggers Earn Blogging?
and again... guess I should stop doing that. But histograms ROCK. Excuse me - I'm still ill...
blog.aksw.org Blog Archive Open-source innovation platform Cofundos.org
I've seen a couple of these cooperative free software funding ideas recently. Here's one...
Information Unlimited A proposal for user-driven commercial free software development.
and here's another...
gmane.org.fsf.europe.discussion
and here's a little background on the first.
Sustaining Alternative Media - Bristol Indymedia to Bristol Social Forum
It's just too damn awkward to contribute to BIMC.
Miriam Ruiz: Journalists avoiding writing about Free Software?
Since when have journalists avoided writing about stuff because of criticism? Sounds like an excuse to me.
Issues Forums in the UK, Meet Tim Erickson in November at London E-Democracy 07 Conference E-Democracy.Org - Project Blog
I did meet Tim. Which was nice.
Labour: Queen's Speech - full statement
I saw this site advertised on TV after the speech, visited it, asked a question. No answer. 'nuff said. I asked a question on another page and it was deleted unanswered. Control freakery at its best.
ConservativeHome's ToryDiary: Cameron takes Tory message of social justice to Labour heartlands
My question about the surprising Conservative Cooperative Movement announcement. No answer. Are all the political parties similar? Do any of them have any answers?
BBC Internet Blog - Linux Figures
Part one of the reaction of the BBC director who thought they only have 600 Linux users.
BBC Internet Blog - Open Standards
Part two of the reaction "The BBC is committed to open standards [...] wherever possible" - yeah, tell that to their satellite system and the Ceefax-killers! (Warning: may contain Andrew Suffield...)
BBC Internet Blog - Operating System Figures
Part three - explains just how their analysis system got the numbers so horrendously wrong. "All of the BBC's regular reporting mechanisms use the User Agent string" - D'oh!

3 December 2007

Miriam Ruiz: Software patents are buggy

Patents are the best way to improve development, and software inventors have just the natural right to their algorithms and designs. Research and Development in industry wouldn’t just work without patent protection, and technology improvements would just stop, right? Well, I’m not so sure of that. Key arguments against software patents, stolen from Pieter Hintjens’ article:

26 November 2007

Miriam Ruiz: gkismet

Gkismet is a GTK GUI fontend for Kismet wireless sniffer. It is helpful because it allows you to display more data to the screen at once than the curses client shipped with kismet itself, and is conveniently useful to connect to multiple instances of kismet. There are however additional system requirements and a graphical environment in order to run it. I needed gkismet for myself, so I decided to properly package it. I’m not sure if I want to put it into Debian, as it seems to be unmaintained upstream (“Rather than trying to fix the problem with unbalanced quotes in Kismet data I am going to wait and see if I can re-write the whole thing in Java.”). In any case, I thought it might be useful for someone else, so there it goes.

19 November 2007

Miriam Ruiz: Happy :)

I’m really happy today, what more can I say? :)

9 November 2007

Giacomo Catenazzi: Re: "C and multithreading"

On debian planet. I read the C and multithreading post of Miriam Ruiz, but I don't agree with some conclusions:

First of all, I don't agree with Linus. C standard doesn't allow such optimizations. One of the driving point of C standard (and thus C) is that compiler should do what a programmer write, without much optimization, i.e. C should remain a low level language. It was iterated also for the principles of new C1X standard.

Second point. Volatile is not the right solution. volatile means that a variable should be read every time it is accessed, so the variable should not be but in registers (remember the nearly obsolete register keyword).

The problem of multi threading is not only that variables could changes (but this is a fact also of
single thread programs, when you write a signal handler [which are specified in C standard and which are handled correctly]), but for semaphores there are "barriers", i.e. you should not move read or write across such barriers.

What do volatile have with barriers? Nothing. If you read the standard (you can check also only the one page C appendix), you see that C specify what are the "standard" barrier, and they are nearly in all obvious points (i.e. a ";" is also a barrier), so moving instructions is "illegal" for C.
Ok. volatile had few other barriers, but across ";" there is already a barrier, so volatile is not the solution of barrier problem (AB locking).

References: see C wiki and C standard.

8 November 2007

Miriam Ruiz: C and multithreading

Reading mig21’s weblog, in which I often find really interesting stuff, I found Ian Lance Taylor’s article “Single Threaded Memory Model“, which kind of bothers me a bit. It reports a recent discussion on the gcc and LKML mailing lists about how C compilers, gcc in this case, optimize for single threaded code, sometimes leading to counter-intuitive results which won’t work properly in multi-threaded software (leading, for example, to race conditions). The interesting part is that the C language standard, which in general describes a single threaded model, apparently says nothing about when values have to be written to memory. Thus, this kind of optimization seem to be perfectly valid. Linus Torvalds complains about gcc developers taking more care about “what the spec says” than about real problems, but the fact is that if those kind of optimizations are valid according to the specs, there’s no guarantee at all that it won’t happen with whatever C compiler you might be using. To prevent this kind of behaviour in standard C, according to Ian, the variable needs to be marked as volatile, or it needs to use an explicit memory barrier. The moral in this case is that multithreading might not be as easy as it seems and should be handled with caution.

29 October 2007

Miriam Ruiz: Journalists avoiding writing about Free Software?

Some people around Free Software tend to be too enthusiastic and very critical, both with themselves and with other people. Whenever Linux or Free Software appear in the media, people who wrote the articles are severely and merciless attacked, and the criticism is not always constructive. It might be hard to properly talk about these topics in a non-technical magazine or newspaper targeted towards the mainstream population, not only because they have to explain it in an understandable way for non-initiated people, but also because they’re usually very limited in space. Thus, many times the articles are inaccurate or incomplete, not always being a journalist’s fault, but also of the conditions in which the article has to be published, as well as the time they have to develop it. Someone, a journalist, told me this last weekend that she tries to avoid writing stuff about Linux herself due to the harsh attacks she’s subjected to from the Linux and Free Software activists as soon as she publishes anything on that topic. I kind of understand that. It might be the same than when you write a program and release it as Free Software, and then some people get too demanding and aggressive towards you for not having done a perfect program and submitting to their wishes, instead of thinking about the effort invested in what is done. I seriously think that we might be losing a lot of power and strength if we attack so much the media that support us than they fear us enough to avoid these topics. We’re on the same team, and it wouldn’t be so bad to be a little understanding and supporting of them, and rely on constructive and friendly criticism instead of treating them as if they were the enemy. They also have feelings, you know.

20 October 2007

Miriam Ruiz: Public transport is not reliable

Yesterday night, a taxi driver was killed in Madrid. The rest decided to go on strike. No taxis are available in the whole city. I had to get my plane to Lyon at half past seven, the check-in finished at 07:00. Metro starts at 6:00, and the airport is quite far from here. Thus, I got to the airport some minutes after seven. Only some minutes, 4 or 5 maybe, but enough for the check-in to be closed. Damn computers, when they decide something, it seems that all the humans can do is obbey. who is the tool and who the user then? I couldn’t get my plane. It doesn’t matter who I got to ask for help, no one seemed to be able to do anything. Computers rule. Check-in is already closed. I’m not the oly one who missed the plane anyway. I’d really love to be able to be in Lyon now. Next time, I just won’t trust public transport at all, I won’t try to get a plane that early and I will do the check-in through the Internet. Have a lot of fun all of you joining JDLL.

17 October 2007

Miriam Ruiz: OSI approves two Microsoft licenses as Open Source

The Open Source Iniciative (OSI) has approved two Microsoft license submissions: The Microsoft Public License (Ms-PL) and the Microsoft Reciprocal License (Ms-RL). The Open Source Definition was written after Debian Free Software Guidelines, also by Bruce Perens, and they have a lot in common. What is Hasefroch pretending with this movement? It’s not that I trust them too much, so I just don’t think they won’t have a hidden intention, but then again, they might not have it this time, who knows. It might be just a marketing show, having two OSI approved licenses, but not using them to release any significant code, or maybe they’re discovering that Open Source/Free and Proprietary Software are not exclusive and each of them might have its space. Or maybe… it was “Embrace, extend and extinguish“, wasn’t it? I’ve had a look at the licenses, and apart from some patent-related provisions, I don’t see anything in them that could make them non-DFSG-free, anyway. The difference between them is that the Microsoft Reciprocal License (Ms-RL) has a clause stating that you should release your modifications under the same license. Lets see what the future provides.

Miriam Ruiz: Weekend in Lyon: JDLL 2007

On 19th and 20th of October 2007 takes place “Les 9 mes Journ es Du Logiciel Libre” in Lyon, France, around the topics “Individual freedom and free software” and “Free Software for everyone”, the first of which will be analyzed from different point of views: legal, technical, historical, artistic, and others. The second will be addressed through different talks, covering many different aspects and areas of interests, including games. I’ve never been to Lyon before, I’ve been told it’s a really cute city, and I’m really looking forward to see you all, french guys, again there. :)

5 October 2007

Miriam Ruiz: Brand new tiny lappy

As I have been such a good girl recently, I deserved some prize. I’ve always been in love with tiny light lappys, so I got myself one from ebay. It’s a 10″ 800 MHz Sony Vaio that weights slightly above 1 Kg, which means that I’d be able to carry it to anywhere I want. Debian has installed smoothly on it, even though I’ve had some problems due to the lack of CD/DVD and floppy drives, and my inability to make Debian Installer start from an USB pen. Most of it seems to be working properly right now, only small configuration issues are still pending. I’m really happy :)

26 September 2007

Miriam Ruiz: Piklab in Debian

I’ve been so busy lately that I forgot to write about it: Piklab is now in Debian. I don’t know if any of you has done and development with PIC microcontrollers, but it’s not that there was a lot of free programs for doing so. Even now, it might be problematic depending on which hardware you have for programming them. In any case, Piklab is an integrated development environment for applications based on Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment, which makes it easier to develop. It’s a real pity that we cannot consider the newer versions of SDCC as DFSG-free, due some non-commercial clauses, because it is a real nice companion compiler for Piklab.

23 September 2007

Miriam Ruiz: Burnout reloaded

Some time ago I blogged about burnout. Some of the factors that might cause it are an overwhelming workload and powerlessness to change something important to you. This means that you get emotionally very involved in developing something, and you feel that whatever you might do to achieve it just won’t be enough. I feel a bit powerless and also that whatever more I try to do just won’t improve the situation. Sometimes I have the feelings of being fighting against a big hard wall and that it’s not worth it, and that whatever big effort I might do just won’t be enough. Of course these feelings will probably fade a bit after sleeping and resting, but they’re sympthoms that are alerting me to slow down a bit and don’t get too emotionally involved in all the stuff I’m doing, and I should better not ignore them, if I want to prevent myself from burning out. It’ll be good to take an emotional rest from all this, but knowing myself I’d probably use the spare energy to get involved in yet more projects.

20 September 2007

Miriam Ruiz: Some artwork

I’ve had a look at DebianArt today, and it seems to have nice stuff. I’ve added a small contribution: three wallpapers and some logos. Someone might be interested in them, I guess. I’ve also added SVG versions of Debian logo and Debian-Women logo. It’s a nice feature to be able to upload the works in different formats, as my original ones are Gimp’s XCF files. The resulting PNG are not really optimal for modifications. I didn’t upload the original XCF version of two of the wallpapers, as they weight quite a lot and I don’t really know the policy of DebianArt about that. I’m still trying to find some time to finish my usplash theme. Some time I’ll be able to do it :)

17 September 2007

Miriam Ruiz: Storing data in $HOME directory

When packaging games, one of the operations I often have to do to the source code is modifying it so that it uses absolute file and directory names instead of relative ones. When coders develop for Windows, or when they develop their games to be able to play them from their home directory, they just would go that way and won’t care about it, but when the idea is installing the files in the system, the Filesystem Hierarchy Standard (FHS) must be respected, and thus things will need to be place in their proper directories. For read-only files, this is not a big deal, all that has to be done is replacing the relative file name in the file opening commands with the absolute one, doing fopen(”/usr/share/games/package/dir/file”) instead of fopen(”dir/file”). I usually prefer to do it like fopen(DATADIR “/dir/file”) and set DATADIR from the Makefile, with a -DDATADIR=\”/usr/share/games/package\” switch added to the CFLAGS, and maybe also setting it inside the code if it’s not previously defined (#ifndef and so). There are some files and directories in which doing this is not possible, because they want read-write permissions. This files include saving the configuration, hiscores, new levels created with the game editor, game saves and so. They might be moved to some directory under “/var/lib/”, and create a new group en the system so that it’s writable, and so on. I don’t like that approach a single bit. I prefer to move all tthat data to the user’s directory. This is not as straightforward as it was for read-only data, but it’s not really that difficult anyway. It would be more or less like:
#ifndef _WIN32
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include <pwd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#endif
#ifndef _WIN32
char file[PATH_MAX];
char *home;
struct passwd *passwd;
if (!getuid()   !(home = getenv("HOME"))) 
passwd = getpwuid (getuid());
home=passwd->pw_dir;
if (!home) 
fprintf(stderr, "$HOME is not defined.n");
exit(-1)
 
 
if (strlen(home) > PATH_MAX - sizeof("/.package/settings.ini")) 
fprintf(stderr, "$HOME is excessively long.n");
exit(-1)
 
snprintf(file, sizeof(file), "%s/.package", home);
mkdir(file, S_IRWXU   S_IRWXG   S_IROTH   S_IXOTH) == 0;
strncat(file, "/settings.ini", sizeof(file)-1);
#else
char file[21];
snprintf(file, sizeof(file), "./Data/settings.ini");
#endif
FILE *f = fopen(file, "w");
Sometimes you also need that the files are already created, you can check if they already exist with stat(), and then acting accordingly, either creating them from your C code, or maybe triggering a system() shell call whith whatever is needed.
struct stat stat_buf;
stat(file, &stat_buf);
if (stat(file, &stat_buf) == -1) 
int settings_fd = creat(file, O_WRONLY);
close(settings_fd);
 
NOTE: I’ve updated the code to add some suggestions. Thanks to Gon ri Le Bouder and Nico Golde.

9 September 2007

Miriam Ruiz: Warsow: The problem of having non-licensed data

I sadly read that Warsow are having internal problems. It’s a pity, because it’s a great free game (even with its non-free game data), and they deserve the best. In any case, I just wanted to talk about this because of something that’s quite usual in the development of free games: having non-licensed data. According to tigerchas’ note: “The non-licensed state of warsow media is what has allowed this to happen - and the team is now working on rectifying this. This whole episode has been very unsatisfying and has highlighted the problems of not having a global media license for warsow”. I’m not worried about the future of the game at all, it’s not that the reason I’m writing this entry. As they also say in the same post: “Don’t let this announcement affect you too much, warsownians. warsow has hit minor stumbling blocks in the past and this is simply another. Maps can come and go. Rest assured that the current mapping team will be working on other great maps for you to enjoy”. What I wanted to point out with all this, especially to games developers and teams, is that even when licenses are boring stuff and many of you might think that you can safely ignore them and it won’t affect you, especially when you start the development, reality shows that these things happen. I wish all the best for the Warsow team anyway, and to go soon over this. Keep up the good work! :)

Next.

Previous.