Showing posts with label sucks. Show all posts
Showing posts with label sucks. Show all posts

Monday, 16 January 2012

What's common between Windows 7 and GNOME 3 / gnome-shell?

Update: I managed to make sound work. For some weird reason, a mute switch option of some the many (and who knows how useful) switches of my sound card was enabled. Now the damn thing works. Did I mention that since I did the upgrade all my sound cards (I have a USB sound card, too) have listed as available inputs all the inputs of my internal sound card (mic, front mic, line in, CD, etc.) in Audacity? That makes for a very confusing and loooong sound input sources list! The upside is that I can finally record clips from televisions that do not provide such a feature and FastVideoDownload doesn't handle.

I also seem to have found a possible fix for the caps-ctrl issue in Xfce4 (obviously, setting "-option ctrl:swapcap" in ~/.Xkbmap, instead of that Alt modifier).




As I said in my previous post, I will tell you what do GNOME 3 and Windows 7 have in common.

Before everything else, I want to make it clear that when I am saying GNOME 3, I am referring to Debian Wheezy's GNOME 3, since I recently upgraded from Squeeze on my laptop. I'll probably drop a line or two about that, too.

First, I'll tell you about the (boring, probably for many) experience with Windows 7. As I said before, my new job requires me to use a Windows machine, so up until a few months ago I was using Windows XP with some additional software and tweaks to make it usable. Then came the Windows 7 „upgrade”. I am using quotes since the more appropriate term would be „fresh installation on a new partition”, not even close to what Debian users are used to call an upgrade.

So after a fresh Windows 7 installation, my first shock was the fact there was NO Quick Launch*. Some of you might be laughing, but I had never used Windows 7 up until then, just saw it on a laptop of a friend of mine (Ovidiu, one of the guys with whom I am doing this podcast, went to Denkfest with, and made these interviews). That was the first shock. Initial discussions about this with Windows users lead me to believe Quick Launch was dead and for some unexplained reason, I believed them. Later, much later, a week ago, to be precise, I found out that you can bring back the Quick Launch through some convoluted way**. Up until that point I had to have some icons pinned to the task bar, but some others on the desktop (and I hate that) because some of them, like Cygwin, if pinned, would start a cmd console, since Win 7 pins the process, not the starting script.

Among other things which broke in Win 7 and used to work fine in XP, the Virtual Dimension application which provides me with a virtual desktop, was the first one which was broken. I have been using a liniar 4 desktops-wide virtual desktop for over 5 years and I am worthless and inefficient if all my apps are on the same desktop. Mail application is always on the first desktop, work and file managers are on the second, the third is for extras and multimedia editing while the fourth is my gateway to the internet, containing the browser, instant messenger, or whatever.

The shortcuts I use to get to the various desktops are Win+1 ... Win+4 keyboard shortcuts, but the M$ Evil Empire decided that those shortcuts are going to start or bring foreward the first, second and so on applications pinned on the task bar. And you can't change those shortcuts***. Nor is disabling just those possible since they are all disabled through a huge switch which disables ALL Win+x keyboard shortcuts, among which Win+E (file expolrer) and Win+D (Show Desktop) were also. Luckly, Win+L (lock screen) was not disabled. So I disabled al those Win+ shortcuts, since I need virtual desktops.

Now, imagine if I had to start a Cygwin console and I had all sorts of apps open! Win+D was disabled, so I had to minimize the apps covering the desktop shortcut for Cygwin, click on the icon to start it, bring back the minimized windows and go on with my work. What a waste of clicks, mouse movement, energy and time, just because some dudes thought a Quick Launch-like feature was useless****.


You might wonder already what do those '*' sings mean. Well, sadly, that's what GNOME 3 / gnome-shell and Windows 7 have in common.

Gnome 3 was a shock for me. An empty desktop right after upgrade. No panels, no shortcuts*, no power indicators, no wicd indicator, no virtual desktops, no desktop icons, (I have a few dirs and docs there). Sounds like an Evil Empire decision, doesn't it?

Luckly I have been using Tilda as my always-ready console and I could fire up iceweasel from the console in order to understand where my panel disappeared.

I then realised that the upgrade brought me Network Manager, that app which wicd replaced. As a consequence, I had no working wlan since Network Manager made sure to mess up with the network manager I chose.

After looking through the documentation of Network Manager and realising I either had it set up to leave wlan0 alone or I didn't understood NM's documentation, I simply stopped the service, which let Wicd its job flawlessly.

The first thing I searched was „Gnome 3 panel” or something of that sort and I was confronted with the obvious option to appeal to the Forced Fallback Mode which was disabled. I figured I either had an old version, or Debian disabled this feature (hoping they provided an alternative). There was also the option to conform to this convoluted way of working** with Actions and such uselessness like that. I still wonder, what is the purpose of the „Favourites” bar on the left side, since it's accessible only after wasting a lot of mouse movement and time? For Joe's Pesci sake, I use focus under mouse just to avoid needless mouse and keyboard manipulation. Why? Why? WHY would I want every time I need to start or SWITCH to another application to move the mouse to the upper-left corner then take my hands off the mouse to type, move the mouse downwards or move across the whole width of the screen to get to my beloved virtual desktops and pick the app I want?

Making a long story short, after even trying XFCE4 (which for some unknown reason resets almost immediately my keyboard layout to the default layout with the Caps on Caps, instead of my preferred and set Ctrl on Caps - yes, it's global), I managed to find GNOME Shell Frippery** which made the experience better.

Later I found out that GNOME 3's file manager, Nautilus, has decided that an „up on level” button is useless, since the default is to use that uncopy-pastable button location bar instead of a sane text location bar. And it seems the GNOME developers decided this*** and I should conform to it.

To add insult to injury, those icons on my old panel are apparently useless**** and even in the fallback version I can't get them back. Or so the GNOME developers decided.

At some point this sunday, don't know how or why this change happened, producing sound was impossible. I know the problem is pulseaudio since when I kill the pulseaudio daemon from the console I can play audio. BTW, great timing, just when I needed sound the most, before releasing episode 32 of our podcast (yay, I reaslised that xfce just decided to reset my caps to be caps, after setting to ctrl a few minutes ago).

I know I praised pulseaudio when I first tried it, but failing to make it work out of the box or after some tinkering is a deal breaker for me, so I removed it. Now I find it that is a default in GNOME, yet all it manages to do is prevent audio from working. At least on my machine.

Other problems? Gnome Power Manager manages to hang and block my session, GNOME managed somehow to fail to start at some point. Yeah, and that sound problem which I didn't fix yet, didn't went away after removing all the pulseaudio packages which could be removed (e.g.: ryhtmbox depends on libpulse0, same do some other apps like audacity, so I couldn't remove all pulse related packages).

I got involved with Debian and GNU/Linux because it was tweakable and customisable, didn't use to force all sorts of option on me and now I find with its increasing popularity it becomes more and more like a product of a corporation which decides to change some things just to change and totally disregadring user experience and uses.

So, in the light of all of these problems I think it's time to probably consider trying KDE. Is it any good lately?

Monday, 9 January 2012

Another Windows tip - How to store cvspass login for CVSNT

Since I am currently working on a Windows machine at work I am looking for ways to make this thing work in a sane way. The latest insane thing is the fact that I wasn't able to log on a CVS server at work from WinCVS (which uses CVSNT) with my regular credentials, while the cached password in Cygwin did work with the Cygwin CVS.

So the obvious fix was to copy the .cvspass file from cygwin to whereever CVSNT kept its cvspass file. Well, it isn't that easy, since CVSNT keeps such passwords in the Windows registry. But since I had no previous logins with CVSNT, I didn't knew what to put in the registry.

I found really easily that the key is under HKEY_CURRENT_USER\Software\cvsnt\cvspass, but how do I save it? Looking at the line in my cygwin .cvspass I saw the line had the format:

/1 :pserver:username@our.cvs.server.net:/u S()meh4s'h00

I finally found out that I have to create a string value with the name ":pserver:username@our.cvs.server.net:/u" and the value data that hash "S()meh4s'h00" and plainly ignore the first field.


Stay tuned. The next article will be about what's common between Windows 7 and GNOME 3 / gnome-shell, since I upgraded my home laptop to wheezy (I really wanted to use pitivi 0.15), and my desktop at work to Windows 7.

Monday, 7 March 2011

HOWTO: Making Windows usable and avoiding accidental sending of mails in Microsoft Outlook

I've changed jobs recently and after 5 years of not having to work with a Windows system I am having all sorts of adaptation-to-Windows problems at the new job.

First I just had to have the usual X-mouse behaviour and so I installed True X-Mouse Gizmo for Windows. This provides focus under mouse, middle click paste after select (not perfect, but it works), right click to push to bottom the window.

Second I had to have a virtual desktop, so I installed Microsoft's Virtual Desktop Manager from the PowerToys page. I tried another virtual desktop manager before using MSVDM, but I found it too clumsy so I switched to MSVDM which I knew from way back when I used Windows the last time. Good, now I can have my applications organised the way I am used to.

UPDATE:
I gave up on MSVDM in favour of Virtual Dimension since I wasn't able to send a particular window to the intended desktop unless I had in the taskbar all apps visible (Shared Desktop option). I might try other suggestions (Virtual Dimension does not have a way to send a window directly to a specific desktop, but just to the neighbours of the current one.)


Third, I had to make Caps Lock work as Ctrl. I just can't go back to an inferior setup. I found information on this page and ended up at this page from where I got a zip file with various registry keys which allow the deactivation of caps, or turning it into another Ctrl.

Fourth, I am used to write with diacritics in Romanian with the secondary layout of the standard (SR 13392:2004), so I rushed to Cristian Secară's page for the keyboard driver since on XP the Romanian layout is retarded (some history in which some arbitrary German guy decided y and z had to be switched on Romanian keyboards and some other similarly weird stuff). Since the installation, my keyboard behaves according to this layout:




Things started to look well, but I soon was reminded that Outlook is an idiotic mailer since it doesn't require a confirmation on send, not even if you didn't set a subject. And this is problematic since sending the mail is done via Alt+S, so if the current layer is NOT Romanian, when I want to type „ș” (s with a comma below), a fairly common character in Romanian words, you end up looking like an idiot on the recipient side since they receive an incomplete mail. Remember, no confirmation AND no default spell checking before send. Yay!

At my second such accidental mail sending (of which the last two were sent to the same person), I decided to see if this can't be fixed. I initially looked for changing the short cut, but I couldn't find it (I might be inept at finding things in Windows, remember, I haven't touched Windows systems in the last 5 years) but I found another workaround and decided it's good enough to share with other people that might hit the problem.

Just setup a delay rule following these steps.
1. Go to Tools....Rules Wizard
2. Click 'New' Rule
3. Select "Check messages after sending"
4. Click Next on "Which conditions you want to Check?" dialog.
5. Press yes to "This Rule will be applied to every message" message box
6. In the "What do you want to do with message?" dialog, Select "Defer delivery by a number of minutes"
7. Select your favourite number of minutes.... I usually select 2 mins.
8. Select Finish. and close the Rules Wizard.

Now everytime you send an email it will sit in your outbox
for specified number of minutes. If you ever wanted to change it, delete it etc, You have sufficient time to do it :)


I used 3 minutes for the delay. At least now I can prevent looking retarded in front of people... more than necessary :D .


Oh, and Windows' clock display is retarded. It shows, by default, the hour and minutes, but there's no way to change that in a sane way. If you want the date, you must hover over the clock and it shows it, but the day of week is missing. Great job! You can see that information, too, but you have to drag the toolbar to be 2 or even 3 rows high (here it requires 2, but I've seen people saying they needed 3) to get that information, too. Great! One has to choose between wasting desktop real estate and having access to useful information. Or you could install an independent application for the clock... retarded. I am not making this shit up.

I hope this helped.

Sunday, 31 October 2010

HP All-in-one models - the way to extort money

Dear HP,

I bought a HP Photosmart C5380 All-inOne multifunctional unit. It is supposed to be a printer, a scanner and a copier, being able to print on paper, CDs, DVDs and photopaper.

First of all I dislike the way you force me to buy new ink cartridges even if there is still ink in the current cartride. I hope somebody reverse-engineers as soon as possible your 364/364XL cartridge chips so I can use my printer at a price lower than that necessary for a tank fill for my car!

Second, even if one of my cartridges is „missing or defective”, the previous one, the empty one which the current one replaced, is definetly OK, so fuck you and your money extrosion schemes.

Third, and the reason for this rant, is that even if ALL the cartridges are empty, I should be able TO USE THE FUCKING SCANNER FUNCTION, since it doesn't depend on the fucking supposedly missing ink! But I can't because you decided that scanning probably needs ink, otherwise I don't understand why would you block the functioning of the whole unit because of some presumed missing ink issue.

I should probably return this device and ask my money back because of this and when they deny this to make a huge scandal about it.

So, HP, FUCK YOU, you well dressed money extortionists!

Wednesday, 25 August 2010

[content:lang:ro] I wrote to my representative

This post concerns Romanian politics, internal affairs and improper direction of public funding for new hideous churches in spite of education, culture, health, technic development and old monuments. Thus I will write this in Romanian. Curious foreigners can try to read the text via Google's translation.




Din cauză că suntem în secolul XXI și consider că e o prostie imensă să băgăm bani în biserici în detrimentul educației, culturii, sănătății, dezvoltării tehnice și a vechilor monumente, iar politicul din România pare dornic să dea bani cultelor, am ajuns la concluzia că este cazul să-i scriu reprezntantului meu (teoretic) în Parlament, Deputatul Florin Iordache. Am aflat de ce colegiu aparțin uitându-mă aici și apoi în lista oficială cu deputații.




I-am trimis textul de mai jos:

Mă numesc Petrișor Eddy și sunt unul dintre cei pe care îi reprezentați în Parlamentul României. Este pentru prima dată când scriu unui parlamentar care mă reprezintă în conducerea statului român și o fac pentru a-mi exprima în mod clar și răspicat ideile și opinia în ceea ce privește subiectul pe care îl voi discuta mai jos. Am 30 de ani, sunt programator, am muncit și mi-am plătit taxele de când am fost angajat, din anul 4 de facultate până în prezent, adică de vreo 6-7 ani. Nu, acest mesaj nu este un strigăt de ajutor, nu aștept pomeni, nu am milogit niciodată, mereu am muncit deși văd că pentru unii parazitismul fiscal a devenit un mod de viață. Din acest motiv sunt revoltat.

Sunt revoltat pentru că:
- deși plătesc taxe și impozite care ajung la peste 60% din venitul brut, nu primesc în schimb nici un fel de servicii, nici un fel de infrastructură, nici un fel de respect, nici un fel de eficiență
- deși lucrez de ceva timp, am observat că pe unde am lucrat competența și performața erau o necesitate; în aparatul de stat nu este cazul
- deși sunt destui ca mine care plătesc taxe și impozite, vocile noastre sunt ignorate și banii noștri sunt aruncați pe fereastră de cei ce administrează fondurile colectate.

Domnule deputat sunt revoltat că de 15 ani de zile dispar în medie aproximativ 4 școli zilnic și apare, tot în medie, o biserică la fiecare 2 zile, iar asta se întâmplă cu accepțiunea aparatului politic. Spitalul din Caracal, ca orice alt spital din România, e prost dotat, nu există personal suficient, nu are fonduri pentru medicație pentru pacienți, pe scurt, este un dezastru care e pe cale să se întâmple. Și cu toate astea, banii se duc spre biserici. Se fac donații de școli și terenuri către biserică, în mod ilegal și abuziv chiar în județul Olt.

Ultima perioadă în care religia a condus lumea s-a numit Evul Mediu și cred că orice om care a trăit măcar 5 ani în secolul XXI poate să observe că nu religia ne-a adus mari beneficii, ci știința și tehnologia. În Evul Mediu „tratamentul” se făcea prin „sângerări”, „tăieri sub limbă”, „scoaterea argintului viu” și tot felul de alte superstiții fără nici un efect pozitiv sau chair cu efecte negative.

Între timp umanitatea a progresat și am descoperit medicina, curentul electric, am explorat universul, am aterizat pe Lună, am pus zeci de sateliți artificiali pe orbită, am aflat foarte multe despre univers și lumea care ne înconjoară, am inventat noi materiale (plasticul, pânzele impermeabile, kevlarul), am investigat lumea fără idei preconcepute după metoda științifică, iar lucrul acesta ne-a îmbunătățit viața în toate aspectele ei. Sperantă de viață a crescut de la aproximativ 30-40 de ani în Evul Mediu, la 70-80 de ani în prezent, totul datorită științei aplicate. Datorită tehnologiei și științei pot să vă scriu aceste cuvinte și știu că vor ajunge la dumneavoastră, nu datorită unor incantații sau ritualuri, nu datorită telepatiei, deși mediul ăsta de transmisie se apropie foarte mult de ceea ce definește ca fiind telepatie :-) . Cu toate astea, unii consideră că religia trebuie finanțată pentru că e religie, nici măcar pentru că ar avea programe sociale, contribuții cuantificabile reale, nu, doar pentru că este religie.


Am citit foarte multe articole din presă, articole bine documentate, și am senzația că trăiesc într-o lume inconștientă când văd cum banii care ar trebui să ajungă în drumuri, școli, spitale, cercetare, medicamente, programe sociale cu real impact, ajung în noi și noi biserici de beton în timp ce monumentele istorice, bisericile din lemn, mănăstirile cu adevărat valoroase sunt lăsate în paragină. Asist cu o senzație de dezgust continuu la felul în care ne batem joc de cei ce ne salvează viețile, medicii, de cei ce ar trebui să ne facă educația, profesorii, de cei ce ne sting casele dacă iau foc, pompierii, și, de felul în care ridicăm misticismul religios la rang de virtute. Este de-a dreptul jignitor și aberant ca alfabetizarea științifică în secolul XXI să fie atât de joasă încât să avem 42% din populație care cred că Terra este centrul universului, să avem oameni care cred că astrologia este științifică, să NU avem nici măcar o universitate în top 500 în lume, este jignitor să fim în permanență în coada tuturor clasamentelor pozitive și în fruntea tuturor celor negative.

Recent money.ro a publicat un articol în care esitma foarte conservator că averea Bisericii Ortodoxe Române se învârte la peste 3 miliarde de euro, are scutiri de impozite, are zeci de afaceri și cu toate acestea, statul continuă să scutească cultele de impozite, ba chiar le oferă bani într-una. La o asemenea avere nu cred că mai poate fi vorba de necesitatea finanțării de către stat. Oamenii pot decide să doneze direct către bisericile lor bani și nici nu mai implică pierderile inerente ce apar datorită administrării fondurilor de către stat.


Statul nu este un organ aparte, statul trebuie să muncească pentru mine, cetățeanul, iar eu sunt împotriva acestui tip de batjocorire și înapoiere voluntară a noastră îndreptată împotriva noastră. Alexandru Ioan Cuza a secularizat averile mănăstirilor închinate celor de la muntele Athos, deci unor terți extreni țării, așa cum aflăm din scrierile istoricului A.D. Xenopol, deci nu există nici o obligație a statului să finanțeze o instituție anacronistică:

A.D. Xenopol „Domnia lui Cuza Vodă Vol.I”, „CAP. VIII. AI doile minister Cogalniceanu Secularizarea”, pagina 291:
«Nu vom atinge de cît împrejurările care au condus la redobîndirea averilor, ajunse în stăpânirea călugărilor străini, atingînd chestiunea închinărei mănăstirilor pănîntene către acele din Răsărit, numai întru cît va fi de nevoie, spre a înțalege măsura secularizărei însuși.»


Din aceste motive și multe altele, deoarece sunteți și reprezentantul meu în Parlamentul României, vă cer ca să votați pentru proiectul de lege inițiat de domnul Prigoană în ceea ce privește tăierea finanțării personalui clerical de către stat și cât și a altor legi care ar putea duce la eliminarea privilegiilor pe care le au cultele, în condițiile în care singurul motiv real și corect pentru care o entitate ar putea beneficia de scutiri de taxe sau privilegii fiscale sunt doar cele ce nu urmăresc interesul financiar și, totodată, au un impact social cuantificabil în mod clar.


Dacă doriți, aș fi bucuros să vă răspund la eventualele întrebări sau neclarități în ceea ce am scris, dacă este nevoie.

Vă mulțumesc anticipat!


L-am trimis joi, încă n-am primit răspuns de nici un fel. Pasul doi e să sun. Măcar să înnebunească dacă tot sunt nesimțiți. Așa că, puteți afla de ce colegiu aparțineți și apoi puteți identifica pe cel/cea ce vă reprezintă în Parlament. Scrieți-le, sunați-i, a venit momentul măcar să se enerveze, dacă nu să-și facă măcar o poleială de datorie.

Wednesday, 11 March 2009

Acceptable and unacceptable behaviour

Many people answered to my previous rant stating that it is upstream's prerogative to refuse integration of external patches. I agree and I never said they must integrate patches if they open their source.

What I find unacceptable, and the only reason for the rant, is the fact that upstream deleted my posts from the forum when it was clear that none of the fake reasons that were given was the real reason, since I answered to all of them with sane, logic and reasonable arguments.


I find acceptable to refuse external patches, although undesirable.

Still, I find it unacceptable to try to erase all tracks of a conversation from which it is clear that you were wrong, and try to keep face by erasing traces.

I would have found it hard to deal with, but still acceptable, if upstream would have said simply "please don't try to make patches for glest with the purpose of integrating them later on, we don't want any patches from outsiders". That would have been a decent thing to do.

Thursday, 9 October 2008

Nokia has your data

As a beta tester for the new email application from Nokia, you will have to give your mail account password:



and agree that they will get your data, too [1].




Really unimpressive, Nokia.


[1] I haven't checked the "Nokia privacy policy", but is enough for me to say no, thanks, and start to wonder if they do anything behind my back with the phones they sell.

Thursday, 20 March 2008

News from other worlds

I was recently forced to face once more the limitations and quirks of rpm. This is more painful, when looking at a more capable system like .deb.

When building a .deb package, the debian/rules file is pretty much the heart of all things happening, with debian/control and debian/changelog as the lungs and the liver(? maybe) .

Having different files for the maintainer scripts makes possible things like automatic (but repetitive) generation/modifications of those scripts. This can be useful in some situations when the postinst should do stuff depending on the current contents of the released upstream source (sorry, I know I am being vague, but I can't detail too much). The source package is then generated and the resulting package can be rebuilt 1000 times and the resulting postinst will not be different for a given release. But this is always done in the same way, no matter the upstream version.

Fatality one - the spec is fixed, saint, but still can be altered... still, not in due time

So the basic idea is to have postinst.in as a source for postinst, which is created during the configure stage and later removed on clean. This is possible and works on deb.

Try the same on rpm and you will fail. This is because, although the spec file supports file inclusions, the altered files are merged into the spec right at the beginning of the build process, and you end up with no or an outdated postinst. A later rebuild of the same package would do the trick, but that is wrong for more than one reason.

Fatality two - why fatality one was met

All of this is made in order to overcome yet another rpm limitation: rpm can't assist too much on upgrades; you can't simply upgrade packages properly from one version to another, because rpm doesn't have the notion of letting the scripts know which version is installed over which; it only tells that it is an upgrade or not.

This has lead some people believe rpm isn't able to upgrade at all. Glad to tell them they're wrong (still rpm sucks and is brain dead).

Fatality three - why rpm based system fail to have upgrade support today

Want another RPM limitation? RPM has this brain dead idea that on upgrade the "proper" order and way to call the maintainer script(lets) is:
  • new-preinst 2
  • new-postinst 2
  • old-prerm 1
  • old-postrm 1
The numbers 1 and 2 are literally what is passed to the scripts and mean "the number of the installed versions of the same package that will exist after the current operation finishes". No versions of any kind, no other parameters, no rollback, no nothing, just 1 or 2.

And by letting the scripts of the old version run AFTER the scripts of the new one means that you have to explicitly prepare the packages for a later upgrade support (and the best idea is to do NOTHING in the old prerm and postrm scripts on upgrades, since nobody is clairvoyant to see what would be the right course of action for upgrade in future releases).

More bad ideas from the rpm land (glad not to be there)

In somewhat related news, the fedora people are discussing now around the rejection of being able to have package names contain non-ascii characters, characters like kanji, kanas, cyrillic characters or any other characters. Even if I am pro-l10n, this wreaks of bad idea scent from a mile afar.

They aren't probably aware that even unicode is broken (if you see the same glyphs in the comparison table, that is proof unicode is broken) but that is their decision and I am glad I am not in that lost land.