Search Results: "Aigars Mahinovs"

25 August 2006

Aigars Mahinovs: Morning

When morning light is just a reminder that you forgot to go to sleep …

22 August 2006

Aigars Mahinovs: SBackup 0.10 is out!

Get it while it’s hot! It has been uploaded to Debian and will get to the mirrors in a day or two, but if you really want it now, then grab 0.10 release from Sourceforge. The last version of SBackup was released in last November so this has been long overdue, that is why I want to extend many thanks to Jonh Wendell, who reignited my motivation for SBackup. A large part of this release is his work. We finally have two out of three most requested features: i18n and purging of old backups. Now the progress indication is the big thing people still want to see. And also lots and lots of small cornercase bugs have been fixed, some of them required rewriting chunks f the code, some others were oneliners that bothered many people. I am very proud of this release and I am looking forward to what we can do for 0.11, one small step at a time. P.S. I have already received emails of congratulation about the release and a bug report requesting the new version in Debian. :) Needless to say that the package has been uploaded and will go out in the next mirror push.

21 August 2006

Aigars Mahinovs: Dell Next Day service - 10.5 days turnaround

I previously mentioned that my brand new Dell Inspiron XPS m1710 notebook broke down just a few weeks after I got it. It took from Wednesday to Friday to arrange for pick-up n the notebook. The DHL guy came to my house on Monday morning and picked my laptop up. He said that the official line on these is that I will get it back in a week, but usually they get them back in a couple of days. On Tuesday I received an SMS saying that my laptop has arrived to repair centre and then another saying that it has proceeded to repair. Nothing happened on Wednesday but on Thursday I received another SMS, again saying that it proceeded to repair. On Friday I finally called back on the XPS support line and got an answer that my laptop is fixed and currently is being tested and that I will most probably get it back on Monday as Dell does not use the delivery option to deliver on Saturdays. And finally today at 11.00 in the morning a DHL courier knocked on my door with my notebook in hand. There was a note in the package saying that the CPU has been replaced. All in all - 10.5 days from first report until the laptop is fixed. I assume that is the worst case scenario. The techs on the phone were competent, but did not have the information about what I went trough in their online diagnostics wizard and did not have the information about emails that I sent them. One tech answered me on the phone, but another answered my email. There could be more integration there. Also I could not find any way to see more details about the progress of the repairs on Dell website - that should be easy to provide. In an ideal world, in cases when it is clear that the problem is in hardware, but not in the hard drive, it would be great if Dell could provide a temporary replacement laptop for the time of repair and put the hard drive of my existing laptop into the temporary replacement notebook, so that I an contiue working like nothing happened. It might not be the same spec, but it must be easy to swap the hard drive in, so I suppose that means that the same model is required. Note: just as I was starting to write this post, a Dell Customer Advocate commented on my previous blog post. They sure deserve some plus points for that :)

20 August 2006

Aigars Mahinovs: SBackup 0.10 delayed to tomorrow

Reasons:
* more testing for the new restore backend and of the purge function are needed to ensure that they work as expected in all expected situations;
* I need more time to review a last minute patch to add autotools support to SBackup and decide if I want that or not;
* My primary notebook is coming back from Dell Service tomorrow and I need it to test the upgrading of the package in Debian (and not just Ubuntu that I have on my old/secondary notebook). So, translators, you still have time - go here or here to translate. Also beta testers might venture ahead and check out the SVN trunk version. There still might be some bugs lurking there, however, so YMMV.

18 August 2006

Aigars Mahinovs: This is not America

A song This Is Not America by David Bowie tuned me in to the radio playing in the background. And I realised - the USA that exists today is not The America anymore. The America is the land of free and brave. The USA is the land of self-restricted cross-monitoring cowards. And I am talking about the attitude of the people, not about the government here. People make the country, not the government. The America would have laughed in the face of 9/11 and said “Bomb us all you want, bet we will not give up our freedoms!”. The USA crawled into a corner and pleaded to its president to take away all its freedoms and wealth just to get a false sense of security, which it still has not got. I would like to live in The America, but the USA is just pitiful. The American dream is dead and buried by the same people that once made it - the USA public. RIP. P.S. If you think that my blog has become too political, then I am sorry, but the problem is that politics slip into our lifes more and more and if we - regular people, do not become politically involved, then the polititians will just assume the we do not care and make decisions based on who pays their lobbies more. Think software patents, just on a much wider scale and with much wider implications, like the WW3.

17 August 2006

Aigars Mahinovs: Secure flying

If one really wants to make international flying perfectly safe (at least safe from terrorists masquerading as passengers), it is in fact very simple and quite cheap: * No carry-on or check-in luggage at all (all kinds of chemical, bacteriological or radioactive materials could be hidden there, for example it can be trivial to make a laptop burn up in flames mid-flight and make in in non-detectable way). * No personal items of clothes (clothes can be soaked in certain chemicals to make them explosive). * Secure passengers during the flight ( so that they can not actually do any terrorist activity). So, the optimal way of securing air transportation would be to have people come in without any luggage at all, remove all items and clothing at check-in, dress in uniform one-time paper clothing where one can not hide anything, sedate them, feed them trough introspective inspection to detect in-body foreign objects and check the chemistry of skin and hair, pack them into the airplane on secured padded shelves, fly them to the destination, reverse the sedative and give them a standard set of clothes and essential personal items. In addition to perfect security, this plan will also reduce the overall cost of air travel by allowing to pack more people into an airplane of the same size - the padded shelves can go from the bottom of the airplane to the very top with minimal spacing (all passengers are sedated - they will not walk around), no separate cargo hold will be needed (no luggage) and no in-flight entertainment or food will be required. If the current security craze continues, we might reach this perfection by 2020. Congratulations! Note: All software by that time will be Web-based, so there will be no sense in taking your “personal” laptop with you.

16 August 2006

Aigars Mahinovs: DVFS

My plea has been answered by a DVFS project specification. For some strange reason, my edits do not show up in the freedesktop.org wiki page and the blog of its creator is not reachable, so I post it here. I am very interested to help develop this tool and then use it in Simple Backup Suit (sbackup). An additional feature that I would love to see is automatic splitting of a file into several chunks. In an ideal work it would be possible for me to get (in Python) a filehandle-like object that would compress the data (gzip/bzip/..), encrypt it (with simple encr. or gpg style), transfer it over network (ssh/ftp/dav/smb/…) and then split into 100 Mb pieces on the remote server (to overcome possible max filesize problems with 10,50 or 100 Gb backups). And have the freedom of flexibility of activation of each element of this chain when creating the file handle. Also the interface must react in exactly the same manner regardless or the backed being user (for example opening non-existing files must always rise the same error).

15 August 2006

Aigars Mahinovs: Why? Oh Gods! Why?


$ mv .ssh/ .ssh.old/
$ python
>>>import gnomevfs
>>> gnomevfs.get_file_info( "ssh://aigarius:password@aigarius.com/home/aigarius" )
Traceback (most recent call last):
File "<stdin>", line 1, in ?
gnomevfs.AccessDeniedError: Access denied
>>>
$ ssh aigarius.com
The authenticity of host 'aigarius.com (85.254.216.40)' can't be established.
RSA key fingerprint is 6d:29:c0:f3:d0:84:c9:a9:d9:4c:7e:e3:1a:18:a2:e2.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aigarius.com,85.254.216.40' (RSA) to the list of known hosts.
aigarius@aigarius.com's password: *******
[...]
aigarius.com$ exit
$ python
>>>import gnomevfs
>>> gnomevfs.get_file_info( "ssh://aigarius:password@aigarius.com/home/aigarius" )
<gnomevfs .FileInfo 'aigarius'>
>>>
Of course, this is mentioned nowhere in the sparse documentation. Please keep me away from the person who wrote GnomeVFS and its Python bindings. Bloodshed might ensue. Bug reported Why can’t someone write a nice, light, working network file transfer protocol abstraction library that would be independent of any desktop environment (bonus) and a working X server (I am looking at you, GnomeVFS). Something that would simply provided all file and folder manipulation operations in sync and async ways in such way that those operations work completely uniformly across all supported protocols. Support for at least ssh and ftp is essential, webdav, nfs, rsync and other protocols that allow writing files to remote locations and http, https and other protocols that only allow read only access to remote files would be very welcome. The library should be in C with bindings in C++, Python, Perl, Ruby, PHP and also a command line processor that would allow all commands to be used in a shell script.
Why something like this can not be written and obsolete the GnomeVFS and those KIOslaves. Freedesktop.org, I am looking at you, please! Update: Apparently I only need to “import gnome.ui” and execute “gnome.ui.authentication_manager_init()” and my application will automagically get a proper authentication dialog in this case. Unfortunately it is not documented anywhere that I could find. :P

Aigars Mahinovs: Debian artwork

Artwork is a matter of taste, style and consistency. Design by committee does not work. If we really want to get a consistent, stylish and professional Debian style trough the whole Debian (and I think we should), we need to have an appointed Debian artwork czar - a professional designer or graphic artist, who would agree to dedicate some of his time on continuous basis to creation and improvement of Debian artwork and refinement of the old artwork from release to release. In exchange he would get to show of his elite design skillz via Debian to a lot of users across the world. Formally he would have to be a DPL deputy and have the ultimate say about all artwork and colour related matters. I think the DPL should organise this.

14 August 2006

Aigars Mahinovs: SBackup purge

SBackup Purge
Here is the first screenshot of a new tab in the SBackup configuration that allows you to automatically erase old backups. There are two options: plain and simple “keep backups for X days and then erase them” or the smart (and default) progressive trimming option in which you have more backups of recent times and fewer backups of less recent times.
Now that the interface is up, I will be coding the part that actually does the trimming. The tricky part is dealing with incremental backups in progressive purge scenario. I will need to do a lot of testing to insure that I get it right, before I release it. ObNotebook: A happy DHL courier woke me up today and picked up my laptop. I kept the harddrive. The courier said that usually Dell guys return the notebooks on the third day, so I could hope to get my laptop back on Wednesday.

12 August 2006

Aigars Mahinovs: Bit horizon

A small idea for increasing the performance of peer-to-peer communications for highly popular files. Imagine a BitTorrent file that becomes popular overnight. There are thousands of clients trying to download it, so for each client there are thousands of possible source to get the file from. However, one client can only connect to a small number of source at any one time (50-100). Due to randominess of that connection, such sources could be from the house next doors or could be from China or Australia. This creates excessive stress on the whole Internet as the parts of the file fly all around the world over and over. I suggest to introduce a horizon effect in clients when the number of peers is much higher then the max number of connections the client can make at one time. The easiest would be to make the decisions based on ping speed, but other criteria could also be useful. For an example implementation consider this: a new client joins in downloading a very popular file on a P2P network, he discovers enough peers to enable the horizon feature, the client connects to 100 random peers and takes their ping times, a distribution is calculated and a horizon is established - all peers with ping higher then the horizon value are deemed to be too far and are disconnected, freeing the resources for finding closer peers. The algorithm would continue to update horizon calculations and eventually would converge down to a set of closest peers and that would give both optimum performance to the client and less stress for the global Internet backbones. Separate horizons could be set up for seeders (clients with fully downloaded file) and lechers (clients with only partially downloaded file), so that we do not have a whole section of the network stagnating with no seeds in the area. Anyone up to make this work in, for example, Azureus?

Aigars Mahinovs: Simple day

I spent the whole day today investigating and fixing SBackup bugs and adding new features. The 0.10 release will be da bomb! My current plan is to spend 10 more hours on this tomorrow and after that I will declare a feature and string freeze for 0.10 and will give the translators a day or two to make/update their translations. And at the same time I will be figuring out a good systematic way to test a SBackup release. It is an important package, but it has no automatic or even manual tests, which is not nice at all. So while translators will be translatig, I will be testing. Ah, and this blaze of activity is thanks to both Jonh who contributed i18n code and some fixed to SBackup a few days ago (I hope he will continue contributing in the long term) and a brakedown of my primary laptop which makes it hard for me to do my university work. (I had no backups configured there yet :P )

11 August 2006

Aigars Mahinovs: Security costs? You pay!

Apparently the government agencies in UK that are managing the current security craze have little to no idea how much their super-paranoid security policies acctualy cost. It appears that direct losses from one day of air traffic chaos costs airlines 175 million pounds. Everyone who has their flight delayed for more then an hour for whatever reason need simply to sue the airlines and further the UK government according the EU regulations. Each person delayed for just 4 hours can claim as much as 600 euros of compensations. I wonder what compensation must a person delayed 24+ hours get, considering missed meeting, needed hotel bookings and other expenses. Now if all passengers and all airlines united and sued the government for the compensations (those can be in billions, considering that no sane business person would fly without their mobile and notebook and no mother would want to fly without toys to keep their children happy, so that will cause huge decreese in flying), then the government will think twice before disturbing lives of tens of thousands of people even when all suspects have been arrested. And we do not even know if there was any terror plot. Last time there was a terror craze in the UK, a road was closed and isolated, a house was raided and then disassembled and a man was shot, but in the end nothing was found. Who will foot the bill this time? The news say that people will not receive any compensation even if they were insured, because “it was an extreme event”. WTF?! That is what regulations and insurance are for!!! And the minister is saying that they think that most restrictions will stay forever. No carry-on baggage? That is ridiculose. SUE THE UK GOVERNMENT!

Aigars Mahinovs: Next day means next week?

The Dell saga goes into second stage. Despite me having a priority XPS next day on-site warranty it took three days, one click-trough of on-line wizard, two emails and three phone calls to get the collection of my broken laptop going. And now it will only be collected on Monday. Doh! I wonder how much it will actually take from the first problem report until I get my system back into a fully functional state. I was counting on being up and running by the end of the week, but apparently that is not happening.

Aigars Mahinovs: British rural public transport

I am writing a collective article about all thing I hate (and a few I like) in UK, but this is too important to let it slide until then - I hate British public transport.
Background information: I live in Cranfield village (ZIP code MK43 0JN, look it up) right in the middle between Milton Keynes and Bedford. Last bus from Milton Keynes to Cranfield leaves MK at 19:20. Last bus from Bedford to Cranfield leaves at 22:40. None of them is late enough for my taste, but most importantly none of them is synchronised with other transport, like trains from London.
The Story: today the sponsors of my Masters project were meeting with a technical evangelist from Google and invited me along to a pub in London. I planed my journey via Bedford. The meeting went well, the time flew by and I found myself taking a Midlands express back to Bedford that left London’s St. Pancras station at 22.00. Needless to say I missed the last bus to Cranfield by 3 minutes. Wonderful.
Of course the good thing was that I had done this walk once before a few weeks ago, when I was returning from getting my new laptop from Newcastle. Then it was a backbreaking 4 hour walk along a highway with a 10+ kg backpack and almost no water. This time I was more prepared - I knew the names of the villages in the area and knew the directions better and I had less weight with me. I also discovered a number of shops and take-away places that were still open at that hour (a rare sight here) and manged to get a sandwich and a bottle of water for the trip. I took a few safe shortcuts and in the end came home in just over 3 hours.
But still that does not change the fact - British public transport sucks, especially in rural areas.

9 August 2006

Aigars Mahinovs: Laptop down

A half an hour ago my brand new Dell XPS M1710 laptop stopped working. It just turned off and would not turn on again. I got my old HP lappie out and went to Dell site for debugging. After several quite nice debugging steps the fault fell into a generic “no idea what it is, but it sure is bad” category and I was told to contact the support, which I did - by email. Let’s see how long it takes to get this thing fixed and how will they respect my Linux partitions if I will need to send it in.
Oh well, that means that I will go to bed early today - yay! (P.S. As one might note, I am very keen to find good thing behind anything. I got into this habit when I was fired from my job last January. It helped me a lot. Repeat after me - every change is for good. It is that simple, you just need to find the good things sometimes. Sometimes it is hard, but the search is rewarding.)

8 August 2006

Aigars Mahinovs: SBackup revitalising - I18N

The development of SBackup was very stale for most of this year, mostly because many of the bug/feature that user were requesting required a significant rewrite of the codebase and at the same time I saw how messy the code has become over time. A few people came up and offered some help, but out of that only new icons and a command-line parameter parser were fully developed - other developers just took a task or a an idea and disappeared. However this week my trust in Open Source development model was reinforced by Jonh Wendell. He approached me yesterday about localising SBackup to Portuguese and was also willing to add the i18n support that was needed for that. I gave him all the details he needed and forgot about it. But today he came back with working code and a translation. That really inspired me to resume working on improving SBackup one little it at a time. Expect a new release version 0.10 soon with i18n and a few long awaited bugfixes. Also, if you want to translate SBackup to your language - use this file as your template. There are only 75 strings to translate. P.S. One happy user of SBackup donated some of his time cleaning up SBackup wiki from spam. Thank you for that! Now I only need a way to prevent the spam from coming back there :(

5 August 2006

Aigars Mahinovs: Cobert takes on Latvia (future, hopefull)

I was just told that Steven Colbert is going to feature Latvia in it’s new sketch “Meet an ally”. On his show, he often does thematic multi-part sketches where he meets with all participants of some kind of group. The best example is his ongoing ‘434-part series’ “Better know a district” that even earned a Wikipedia article for itself. After talking with the representative of Pilau to UN, he found out that only military force they had was one single patrol boat and that it’s ambassador has barely any relation to the small island state from the Pacific. Hopefully we will look a bit better :) P.S. Regarding spelling - I have found that it is still more convenient to use gnome-blog package then to use the Wordpress on-line spelling plugins.

3 August 2006

Aigars Mahinovs: QotD

“Oh, gnome-screensaver, I hate you!” - © Simon Law Oh, and so do I for breaking working software, like mplayer, because known and working xscreensaver interfaces are simply not supported. P.S. It feels so great to see people use the Debian Debconf6 pool photo in their Slashdotted presentations :D

2 August 2006

Aigars Mahinovs: Dell Inpiron XPS M1710

Well, now I am a proud owner of a one of the most powerful laptops available under two grand. Core Duo 2.0 Ghz, 2 Gb RAM, 120 Gb HDD, 1900×1200 17″ screen and NVidia 7900 GS. I am just loving it. It did come with Windows and lots of ther crap which I removed right away. I did reinstall Windows (XP Media Center) to see how it works (it’s been a long time :P ) and for some gaming (HL2: Episode One in particular, it’s been a long time :P ). I also installed Ubuntu Dapper as the primary workspace (as something stable, quick to set up and boringly non-experimental). Debian as the development platform and primary experimentation base and one more 5 Gb partition stayed free so that I can try out other stuff (like Gentoo) when I feel like it.
I must say that installing Ubuntu, Debian and Windows in quick succession was a very, very interesting experience. I am considering repeating that and writing down everything with plenty of unusual screenshots to trully compare the experience. I must say that Ubuntu fared the best with Debian following in a very close second (mostly due to minor laptop problems on installation) and Windows being waaay behind on usability and installlability with all kinds of wierdness.

Next.

Previous.