Archive for October, 2006

tiredness

 i am soooo tired right now... this whole clock changing thing just isn&#39;t goddamn right. no-one&#39;s sleep pattern is meant to get as messed up as this!<br /> 

Firefox 2 – How could they miss that button out?? …again!

 Firefox has had tabs for donkeys years, Opera has too, now MS are jumping on the bandwagon and hoping to market it as an &quot;innovation&quot; on their part. No surprise there. But out of these three &quot;next gen&quot; browsers (FF2, Opera 9, IE7) it really suprised me to notice that as far as usability is concerned Opera 9 and IE7 make it instinctively easy to open a new tab, Firefox 2 however, not so obvious.<br /><br />For easy reference I&#39;ve added some screen shots..<br /><br /><div style=&quot;text-align: center&quot;><img src=&quot;{e_IMAGE}newspost_images/Opera9_clipped.jpg&quot; style=&quot;border: 0px solid black; width: 555px; height: 222px&quot; alt=&quot;Opera9_clipped.jpg&quot; /></div><br /><div style=&quot;text-align: center&quot;><img src=&quot;images/newspost_images/IE7_clipped.jpg&quot; style=&quot;border: 0px solid black; width: 555px; height: 222px&quot; alt=&quot;IE7_clipped.jpg&quot; /></div><br /><br /><div style=&quot;text-align: center&quot;><img src=&quot;images/newspost_images/FF2_clipped.jpg&quot; style=&quot;border: 0px solid black; width: 555px; height: 222px&quot; alt=&quot;FF2_clipped.jpg&quot; /></div><br />The above screenshots are standard, default installs, without any configuration. Yes, I know it&#39;s <em>possible</em> to double-click the tab bar in Firefox to open a new tab (but not when it&#39;s already full), and yes I know it&#39;s <em>possible</em> to customise the toolbar to add a New Tab button like those in IE7 and Opera 9. Or by installing an extension like <a href=&quot;https://addons.mozilla.org/firefox/158/&quot; rel=&quot;external&quot;>Tabbrowser Preferences</a> or <a href=&quot;https://addons.mozilla.org/firefox/1456/&quot; target=&quot;_blank&quot;>New Tab Button on Tab Bar</a>, but that&#39;s faffing around and most people are not willing to learn about extensions and go hunting for one to do the job that IE7 and Opera 9 do by <u>default</u>.<br /><br />A lot of newcomers to Firefox will only see the tab bar once... when Firefox launches for the first time after a new install. They see two tabs open and then close the browser without fully realising what tabs mean. If Mozilla and the Firefox devs wants to promote the fact that it pioneered tabbed browsing then I think at the very least a &quot;New Tab&quot; button should be there by default even if it&#39;s on the Navigation bar. As a summary, it&#39;s my opinion that not having this button visible to the user by default only acts as a barrier to entry for Firefox, and one that&#39;s totally avoidable.<br /><br />Some may think I&#39;m nitpicking but I&#39;m a long-term user of Firefox (since the heady days of it being called Firebird) and I really want to see it become more and more usable to newcomers who&#39;ve heard good things about it. I&#39;ve been waiting to see this elusive little button be set to &quot;on&quot; by default ever since Firefox v0.8 was released... it&#39;s frustrating for me to see that it still hasn&#39;t been enabled. *sigh* here&#39;s hoping they enable it by default in Gran Paradiso.<br /> 

Vista RC2 and XBMC 2.0

Well, Vista RC2 was released a few weeks ago, as was XBMC 2. XBMC 2 came out just after Vista RC1 was released and unfortunately the samba implementation in Vista wasn't compatible with XBMC, which as anyone who streams media from their PC using XBMC will tell you, isn't very good news.

However I did figure out a work-around until the XBMC dev team and / or samba is updated to support the new smb3 protocols. Now, unfortunately this work-around involves a little bit of work and… erm, oh yeah, and a spare box / server. If you already have a *nix server set up somewhere in your home network then you're laughing. Basically all it is, is using the *nix server as a relay. We want to run media from a Vista PC, ok, but there's no way to do that direct at the moment. So we connect the nix server to the Vista smb share and then in turn create a share on the nix server which is routed to the smb share on the Vista pc. This is possible because the latest version of smb on nix is capable of negotiating just fine with the NTLMv2 authentication of Vista. All we really need to do is configure fstab and a little credentials script then mount -a it.

So… create the share on Vista, called, say, 'PICTURES'. We want to

mkdir /home/USER/samba

then

touch /home/USER/sambacred

and then edit to populate with the following credentials:

# &#036;HOME/sambacred
username = shareusername
password = sharepassword
domain   = WORKGROUPorDOMAIN

Then we need to add the following line to /etc/fstab

//HOSTNAME/PICTURES /home/USER/samba smbfs credentials=/home/USER/sambacred,uid=USER,gid=USERGROUP,dmask=700,fmask=700 0       0

Where "USER" is the name of the UNIX user and HOSTNAME is the name of the Vista hostname.

Once that's added to the end of fstab save and then do

mount -a
ls /home/USER/samba

and you should be listed all the files being shared on the Vista box.
Now just set up a samba share on the nix box pointing at the /home/USER/samba directory and configure XBMC to read from that samba share rather than trying (and failing) to read from the Vista box direct.

I know it's not a perfect solution, but editing the XBMC samba code and recompiling it with the XDK or arsing about in a RC operating system isn't really worth it, especially since it'll only be a short wait (hopefully) before the issue is addressed.

Oh yeah, and if you don't have the spare hardware for a relay server, you could always consider installing a virtual machine on your Vista PC (not recommended) or on another PC on the network which can be configured to act as the go between. Disregarding the doubling of network traffic it's not a big price to pay if you use it everyday. Muauhahahah! The beauty of having a gigabit network :D

Trying to configure access to a linux share from Vista however is a crazy hit-and-miss process. It'll first say the server isn't there, then it'll say there's a network error, then comes the authentication that fails no-matter-what, then there's a significant number of repeats… and then hey prestoo! Access. Ahh, gotta love beta software :/