Posts Tagged ‘rant’

Veistandard

06/28/2011

Flagg_danmark

Har vært i Danmark i en uke på ferie, og må si jeg ble kraftig
overrasket over veistandarden. Da vi kom av båten var det 60, så ble
det 80 og så 110.

110

Litt senere kom det et 110 *opphevet*-skilt, og jeg
måtte ty til GPS’en for å skjønne at det betyr 130.

130

I løpet av uken kjørte vi Danmark på kryss og tvers, og var også en svipptur innom Tyskland. Må si at veiene, både på motorveiene og i mer grisgrendte strøk var imponerende. Nå skjønner jo til og meg jeg at det er enklere å lage vei i et land som er flatt i forhold til i Norge hvor det å lage vei må være en kunst, men likevel… Forskjellen var bare helt enorm. Det kan jo også nevnes at det stod store skilt langs motorveien om at det danske folketinget hadde bevilget 2.3 milliarder til oppgradering av de allerede fantastiske motorveiene… I Norge bevilger vi noen millioner til litt ny asfalt her og der mens resten forfaller.

I tillegg var det utrolig mange fancy pause-avkjøringer langs motorveiene i Danmark. De var godt skiltet, og på stoppene var det stor plass til å parkere både for personbiler, vogntog, campingvogner og bobiler. Det var parker og bord og på de fleste var det en flott bensinstasjon, en kafe og flotte toalettfasiliteter (gratis selvfølgelig). I Norge klarer man ikke en gang å ha offentlige toaletter i storbyene… Cruise-turistene i Bergen må ty til hoteller og restauranter for å få gjort sitt.

Da vi skulle hjem igjen kjørte vi fra en liten småby til København på ca. 2 timer og 20 minutter, en strekning på ca. 200km.

Kontrasten ble stor da vi kom tilbake til Norge via båt til Oslo. Vi skulle besøke slektninger i Vikersund, og ifølge GPS’en skulle det ta litt over en time på veier med 60, 70 og noen steder til og med 80. Men, i Norge er sommertid veiarbeidstid,

Veiarbeid

så turen ble gjennomført i 20-30 km/t på små kronglete omkjøringsveier. Motorveien var stengt,
tunneler var stengt, broer var stengt, og på omkjøringsveiene var det milevis med kø siden NSB transporterte togvogner på enorme lastebiler. Så turen på ca. 80km tok godt over 2 timer – til sammenligning tok turen dagen før i Danmark på ca. 200 km omtrent like lang tid.

Ingen tvil om at vi var kommet tilbake til Norge, nei…

Flagg_norge

Microsoft Backup – Humoungous System Image

05/15/2011

I have been using Windows Backup to backup my windows machine to my
server. Suddenly I noticed that it took a very long time to run, and
that the output files were humoungus!

After researching this a bit, I found that the system image it took
included my data partition (d:), not only the system partition (c:).
Why on earth did it include my data drive with only data files, games
and so on?

After googling a bit, I found the answer: If you have any service
that refers to files on another drive than c:, it will be included in
the system image backup. So, for example the Dragon Age Updater
service makes my windows treat d: as a system-drive, and includes it
in the system image backup.

As far as I have figured out, there is no way to disable this
behaviour. All I could find were very angry people, and none from
Microsoft wanted to comment on it. So I guess I will either be
changing my backup program, not use the system image option or go
through every service and figure out which refers to the d:-drive and
change them… Very annoying!

XBMC + Windows + MySQL db backend

04/17/2011

Have been planning for quite a while to change my xbmc-setup at home
to use a MySQL-database as backend for it’s library. This makes it so
that everything is in sync between several xbmc-instances you might
have at home, like which episodes you have watched and so on.

Easy as pie to setup (hint: add a section to advancedsettings.xml –
take a look at the wiki on xbmc.org).

However, there is a bug that really messed it up for me:
http://trac.xbmc.org/ticket/9022

Amazing that this has been there for over a year, and it’s still not
fixed… In short, the way xbmc saves the path in the database doesn’t
work when it contains backslashes like it would in Windows. So, if
you map your network folder with all media content as v: and have the
tv-show 24 in v:tv24 it would not work when this was saved to the
database. The trick is to not use v: but go directly to the
server-share through smb. This rules out using NFS, but oh well…

So in short: don’t use “normal” path’s in your sources in windows, use
smb://… instead. And everything will work 🙂

Wouldn’t it be nice if this was at least documented in the wiki? Or
maybe fix the bug? Took me quite a while of googling and debug-logging
and reinitializing databases and so on before I figured out what was
the problem…

HP “Support”?

04/03/2011

I have tried to add my printer to the new fancy service Google Cloud
Print, which according to the website should support my printer
directly through HP ePrint. But, no go… Google only comes with an
error: “Could not get printer information from HP.”. A quick
google-search establishes that I’m not alone with this problem (and
yes, I have logged into the HP ePrint-center and check that the
security settings are set to allow Google Cloud Print)…

So, I decide to open a support-case to HP about it. But that seems
impossible.

1) I try to chat with them, but I can’t because my printer is
impossible to find in the choose your product-thingy, and before you
choose what product you have, they won’t chat with you… So I guess
HP has just forgotten that they sold a B110a/B110/cn245b-printer
alltogether…

2) I try to email them. To be able to do that, you have to go through
a series of questions on the web, it would be too easy to just give
you their email-address… So I fill everything in, but still it
doesn’t like my product-number. It has been written exactly as the
printer itself writes it on the status-printout. Still, HP doesn’t
recognize this product-number (and why is the product-number not the
same as the model-number you avertise it as?).

You can however choose to continue anyway, so I do that. Then I have
to fill in the S/N, and tell them what the problem is. When I am
finished, it doesn’t want to submit, because it claims the S/N is
incorrect. Again, I double-check it against the printers own
status-printout, and it is written correctly. Then I open the webpage
for the printer, and copy/paste the S/N from there, still HP doesn’t
recognize the S/N, and I am not allowed to email them.

Wow, nice “support”… So instead of chatting with me or answering me
through email (or rather webform if it had worked), I will have to
call them in normal busineess-hours.

This is not good support, HP… I am not even sure I would call it support…

#hp #fail

Oracle’s incompetent patch-handling

04/02/2011

My last post was about how Oracle decided to move smb.conf and the
private-dir for samba without moving the files for you, or even
informing you that this might be a good idea… Read more here:
http://posterous.mortencb.cx/samba-not-working-after-solaris-patching

Today we are patching all of our servers at work, and we came across
even more stupid stuff:

1) If you have ldap/client running and enabled, it is probably because
you are using it. But in one of the latest patches, Oracle decides
that disabling this service is probably a good thing. Even if you
check after patching, it is enabled, but after a reboot it is
magically disabled. This is extra fun if you login as a normal user
and use sudo to manage your servers… How can this pass QC?

2) If you have changed /usr/lib/sendmail to point to your own local
mailer, f.ex. your own compiled exim, this is also probably because
you want it like that. Often Oracle decides that it’s a good idea to
just change this back to point to sendmail. Which breaks your setup
spectacularly… Again, how can this pass QC?

3) In our setup /var/mail is a symlink to /export/mail which is a
gigantic zfs-disk from the SAN. In one of the latest patches, Oracle
decides that this symlink should just be removed. Not even replaced
with a normal folder or anything, just removed. Which breaks our
setup spectacularly… Again, how can this pass QC?

4) If you don’t use sendmail, but f.ex. exim instead like we do, you
have probably disabled the sendmail-services. In many patches, Oracle
thinks that it’s a very good idea to just enable these services for
you again. Don’t they think we know what we’re doing when we disable
them ourselves? Again, how can this pass QC?

I am so happy that we’re moving away from Oracle/Sun/Solaris, because
this is just getting worse and worse for each time we patch the
servers…

#oracle #fail

Samba not working after Solaris-patching

03/28/2011

If you use the built-in Samba in Solaris 10, you might have discovered
that after patching Solaris lately, Samba is not working any more.

Well this is an easy fix, but I can’t understand why Oracle hasn’t fixed it yet:

1) cp /etc/sfw/private/* /etc/samba/private/
2) cp /etc/sfw/smb.conf /etc/samba/
3) svcadm clear samba
4) svcadm restart samba

Oracle decided to move smb.conf and the private-files for Samba from
/etc/sfw/ to /etc/samba. Not a bad idea, but why on earth don’t they
copy over the old files if they exist?

This is just a stupid bug…

#oracle #fail

iPad billig i Norge?

04/06/2010

@Vollvik annonserte på Twitter at de har iPad til salgs. Men til hvilken pris? Jo, for 64gb-modellen med wifi (ingen 3g – hvorfor selger de modellen uten 3g?) tar de 9490,- Så, er det billig? Nei. Se eksemplene under på hvordan du kan kjøpe den billigere, du kan til og med få med en ferietur til Boston + spare penger!

Eksempel 1) – Kjøpe fra ludostore.no:

64gb iPad med wifi: 9490 nok
Frakt: 99 nok
Totalt: 9589 nok

Eksempel 2) – Kjøpe fra apple.com via jetcarrier.com for frakt til Norge:

64gb iPad med wifi (fri frakt i usa): 699$ = 4168 nok
Frakt+fortolling jetcarrier: 165 nok
Moms (25%): 1083 nok
Totalt: 5416 nok
Du sparer: 4173 nok

Eksempel 3) – Kjøpe fra apple.com, fly og hente selv i USA:

64gb iPad med wifi (fri frakt i usa): 699$ = 4168 nok
Fly t/r bergen-boston (klm.com): 4676 nok
Du sparer i forhold til ludostore: 646 nok

@Vollvik selger den kjempebillig altså…

iPad


%d bloggers like this: