Category Archives: Uncategorized

Microsoft SQL Server 2005 Express vs. MSXML6 SP2

I know very little of this, except I spent about 2 days trying to get MSSQL2005 to work on my machine. A lot of googling, a lot of reinstall, and a lot of thinking that it was perhaps caused by low disk space condition, then perhaps that it was caused by me not having IIS installed (because it was recommended by installer).

So here’s what I was doing:
  • MSSQL included with VS doesn’t want to install. I try freeing up disk space.
  • I try uninstalling VS2005. After reinstall doesn’t work.
  • I go get standalone MSSQL2005 Express. It doesn’t work either
  • I notice that standalone MSSQL recommends IIS to “get all features working”. Now IIS included with XP wants something off of SP3’s installation CD located in C:\Windows\ServicePackFiles … which is a folder I deleted to free up disk space!
  • I reinstall SP3 to restore above folder. IIS installation still doesn’t find the files. You can recognize this condition by file staxmem.dll or staxmem.dl_ being located in the folder you chose, but Windows not recognizing this.
  • I find out that I need to repair it with esentutl. KB894351
  • This works! I get IIS. Installation os MSSQL still fails with ~3 components passing ok, but the key one – service – failing, along with MSXML6.
  • I finally dig out something that relates MSXML6 SP2 and MSSQL 2005 Express not tolerating each other! I can’t find original site, but this will help even better.
  • Basically I can’t uninstall MSXML6 because of error without any helpful information in it… What now?!
  • I uninstall MSXML6SP2 using Windows Installer Cleanup Utility. I get the feeling that it’s not real uninstallation… but I don’t care as long as this junk gets to work.
  • Apparently it finally works!
Now, I’d try to avoid MSSQL after this kind of debacle … but I’ll need to use it for university work – a class that practically depends on .Net, C#, MSSQL, Windows Mobile and ASP. Annoying but I’ll have to make it through.

Decimal commas with scanf() / Decimalni zarezi sa scanf()

I wrote a Wavefront .obj format reader that uses fscanf(). Imagine my surprise when getting errors such as “Unknown wavefront command ‘.5438581’ in models/tube.obj”. This was first time I compiled the game under Windows with libintl code thrown in. Turns out that scanf() family of functions adapts to your locale.

That is, since Croatian locale uses comma in place of decimal point, when fscanf() encountered a decimal point it coughed and gave up.
A simple:
setlocale(LC_ALL, “C”);
restored things to normal.
Edited: 
setlocale(LC_NUMERIC, “C”);
Napisao sam čitač za Wavefront .obj format koji koristi fscanf(). Zamislite moje iznenađenje kad sam počeo dobivati greške tipa “Unknown wavefront command ‘.5438581’ in models/tube.obj”. Ovo je prvi put da kompajlirah igru pod Windowsima s ubačenim libintl kodom. Ispada da se scanf() funkcije prilagođavaju regionalnim opcijama.
Odnosno, budući da hrvatske regionalne postavke koriste decimalni zarez umjesto decimalne točke, kad je fscanf() naletio na točku, zakašljao se i odustao.
Jednostavan:
setlocale(LC_ALL, “C”);
vraća sve na normalno.
Uređeno:
setlocale(LC_NUMERIC, “C”);

Vip over IP – VoIP – ims.vip.hr – Ekiga on Linux, ZOIPER on Windows and Mac

Greetings, this post will be in Croatian since it’s aimed for Croatian (l)users.

7. ožujka 2010:
Javljeno mi je kako je Vip promijenio neke backend stvari za Vip VoIP, te stoga možda ove upute više ne funkcioniraju. Ukoliko netko isproba i/ili otkrije točne postavke, javite mi. Primijetite kako je ovo relativno stari post 🙂

Pozdrav, evo ukratko kako setupirati Ekigu da koristi “Vip over IP“. Prvo dakako morate imati Vip korisničko ime. Nakon što se registrirate, idemo dalje…

Vip over IP koristi SIP, Session Initiation Protocol. Njihov brandirani klijent je ustvari CounterPath Bria. Kako smo korisnici GNU/Linuxa, to nam ne pomaže. Pa krenimo.

Svakako će Vam trebati nova Ekiga. S verzijom 2.0.12 koja je u Debianu nisam uspio natjerati stvar da proradi. Također, nisam uspio s bilo kojim drugim non-CounterPathovim klijentom.

Prvo instalirati najnoviju Ekigu (meni radi sa paketom ekiga-snapshot, koji na današnji dan ima verziju 3.1.1). Detaljne upute za željne dječake (i djevojčice) su ovdje: http://snapshots.ekiga.net/

Sad ide zabavan dio, postavke.

Edit->Preferences->Protocols->SIP Settings->Outbound Proxy:

ims.vip.hr

Edit->Accounts, Accounts->Add a SIP account:

Name: [bilošto]
Registrar: vip.hr
User: korisnickoime
Authentication user: korisnickoime@vip.hr
Password: viponlinepassword
Timeout: 3600

Sretno svima koji se s ovime pate, javite jesam li nešto zbrljao pa da ispravim 🙂

Dodatno STUN server isključite. Vipov klijent koristi IP adresu od Vašeg interfacea, pa makar bila iz privatnog raspona. Mislim da je to uzrokovalo probleme, no nisam 100% siguran.

7. ožujka 2010: od 13. prosinca 2009 do danas ovdje su bile objavljene i postavke za ZOIPER FREE, no autor tog dijela javio mi je kako te postavke više ne funkcioniraju te zamolio za uklanjanje, što je i učinjeno.

Meebo and Jabber

In case you didn’t know, Meebo has its own Jabber server. If you want to log into your Meebo account without a Javascript-capable browser just to contact your Meebo buddies (meaning you won’t be logging into MSN, etc.) you can just connect to Jabber domain “meebo.org” with your username. That is, “USERNAME@meebo.org“. Notice the .ORG instead of .COM.

Since I don’t usually use Meebo for contacting buddies, I can see one much greater benefit here: you can be contacted using MeeboMe Widgets without using Meebo itself. Great for providing tech support in case you need something like that, especially if it’s possible to log in from multiple workstations into same Jabber account like with Gtalk. I have yet not tried if this is possible, but I sincerely hope it is.

Meebo has just gotten perfect for me 😉

Making the first one

Hi there,

I thought that someone might, for some reason, want to read my brags. So I decided, “What the hell, let’s open a blog, and occasionally write a thing or two in there.” So here I am.

Hope someone reads this 😉