Hahaha I think the Windows Recycle bin must have a size limit.

I’ve been cleaning and organising the files on my XP machines desktop, moving most to the recycle bin, \vectrabackups or other file shares on the OpenBSD box (Vectra).

What is probably several hundred files (recursively of course) and more then 5GB of crud later, there was only the last 3 files I deleted, and I have not emptied the thing in months either >_>

My Desktop is down to the shortcuts to my RvS and S4 installations, a folder for downloading files to, recyclebin, my computer. and flock icons.

My RocketDock on the other side though has a CPU monitor, My Computer, Network Places, Flock, GVim, Winamp, RvS, S4, TS, Pidgin, XFire, PuTTY, and Gimp shortcut in the doc. One thing I like about using a doc is Raven Shield doesn’t dis-sort them on me hehe.

Needless to say, cleaning up the Doc is the next phase loool.

SSHFS on FreeBSD

The following ports are needed:

sysutils/fusefs-kmod
sysutils/fusefs-sshfs

They depend on sysutils/fusefs-libs, packages are available on each at the moment for 6.3-Release.

Enable FUSE for system start up via rc.conf (I’d suggest rc.conf.local for PC-BSD) by adding this:

# enable File System in User Space
fusefs_enable=”YES”

And fusefs will be ready op on reboot. As an alterntivie to rebooting one could load the module and start fusefs manually.

kldload /usr/local/modules/fuse.ko
/usr/local/etc/rc.d/fusefs start

After that, if you can ssh to the server you can at least mount your home directory via SSH 🙂

sshfs username@host ~/mount_point

Since UNIX uses a numerical user and group id (uid, gid) to check file ownership and what not.. And my user account on my laptop was created in the PC-BSD install my uid & guid are 1001, on my OpenBSD machine hosting the files my UID & GID are set to more ‘personal’ integers, so they have to be mapped for my local account

sshfs -o uid=1001 -o gid=1001 username@host ~/mount_point

the username@host syntax is the same as scp, which means the common $USER@$VECTRA:/what/ever notation I use can be used for this as well, if the :/where/ever part is ommited it will use ones home directly from the server.

I have the fusefs-smbnetfs port installed but I’m not exactly fond of microsoft networking. I’m also very tempted to test a little bit of NFS over SSH, but I don’t have much problem with using SSHFS from my laptop and SMB/CIFS from my desktop.

I’ve created a few SMB Shares on the OpenBSD machine that match up to parts of my home directory, tomorrow I’ll start transferring files over. My Music, Videos, and Pictures directories amount for 2.8GB of files alone. So I don’t have much problem with off loading them.

Since I always back crap up first and the files are non critical I can put up with being unable to use the ‘current’ set of them whenever my file servers off line, which is rare. It’ll also be possible for me to set up a few cron jobs that’ll backup my files more regularly: without needing to use the network (scp/ssh) directly! And I can always write a cronjob to seek and destroy those stupid Thumbs.db files Windows Explorer always makes.

I’m not sure about my ~/Documents and ~/code directories yet, that’s almost 400MB of files right there but I’d rather not have to deal with out of date copies if Vectra goes off line. Although I could always set up my laptop to scp over a compressed nihgtly backup… We’ll see where it goes after some live-testing.

In my ideal world, I think my entire home directory would be residing on the server but I’m not quite ready to trust the hardware here for that yet 0.o

sshfs?

Hmm could this be the solution to my problems ?

sshfs -o uid=MyLocalUID -o gid=MyLocalGID $USER@$VECTRA: /tmp/mnt

$VECTRA is an environment variable that expands to the address of my file server.

I was able to access my remote users home directory (the one on $VECTRA) through the /tmp/mnt folder on my laptop ($DIXIE)

My local User ID and Group ID #’s on this system are the defaults setup when I installed PC-BSD, don’t recall if I had an option to set them. On my file server where I used adduser my UID/GID reflect my DOB so they needed to be remapped. Once I did that I was able to work on the files through a mount point I own, and

as expected the trusty umount command worked (of course you can’t be using the files while trying to un mount them)

fusefs-smbnetfs in ports is another thing I want to look at, because SMB is suitable for the windows clients just as much as sshfs is for my lapto… Only I care more about my laptop having *good* integration 🙂

On windows I don’t have a problem with SMB shares because it’s fairly integrated with the system, and I use a file manager for manipulating files… The cmd.exe is just to wasteful, it is the worst terminal emulator slash shell I have ever seen! Heck I’d rather confine my self to /bin/sh lol.

On my laptop, I usually do file management through my shell. I don’t use an external mouse, just the touch pad so you could say it’s in my best interests to make use of keyboard friendly designs ;-). I spend most of my time using a shell and utils for file management… So KDE’s integration with SMB Shares (almost as good as Windows and without the lockups).

mount_smbfs requires running as root because of what it has to do, that’s not acceptible to me although possibly I could rig my laptop for a passwordless sudo mount_smbfs but I don’t consider that an acceptable method whether it would work or not.

I’d like to be able to move parts of my home directories to the server. That way I can offload the current versions of my Music, Video, and Image files. I could even move my Documents and code directories which would be nice, right now I’ve been in a bit of a pesky situation.

tar -cf /tmp/foo.tar foo && scp /tmp/foo.tar $USER@$VECTRA:/srv/smb/Files/

So I can work on files from my windows machine, and just tar them back up and scp them over on the laptop later. A poor work around…

I need to test the fusefs-smbnetfs port, either way I know what I want. And to be honest I don’t have a problem with using sshfs for my laptop and smb for my desktop as long as I can get every thing working properly. Using sshfs on the laptop instead would also mean no need to change my laptops firewall configuration.

I just need to see how they handle a network failure….

My file server is usually online but not always, so I’d be hesitant to put my entire home directory on it. And even then, because of my shitty internet connection I often have to do a power cycle on the modem and some times the router every few weeks… So that is a factor that needs to be considered.

And actually, that might be a good way to _test_ it out !

Just not on my laptops home directory xD

days thoughts

So far the updates to my old Vi User how-to are going quite nicely, all things considered.

I’ve come to using GNU Make for automation work, to be honest if I had to use make features that are not standardized. GNU Make is the best bet to learn extensions any way because it is the most available set of extensions.

I’m not partial to BSD or GNU Make in the least, I only care about a working tool.

BSD Make failed to accept the makefile I setup for TeX documents, GNU Make accepted it without problem while BSD Make seems to barf at it. As long as the document gets build without me having to abuse my shells history features I don’t care lol.

The main problem is all of my projects are on a snails creep right now, courtesy of my family.

You know, I think I would love to take a pot & ladle from the kitchen. Then go pace back and forth in front of them banging the ladle on the pot; shouting “How do you like it” until I’m blue in the face — let them experience rest on their days off like *my* days off are spent doing things!

Oh what fun it could be to just be a cruel bastard for a change…

And how peaceful life could be if any one could head my words instead of [as good as] spiting at them.

I’m now a GMail Convert

I’ve now mostly completed my transition to Google Mail, the issues I’ve been having with POP3 Fetch mail on Ippimail seem to be a bit derailing of late… So I’ve got every thing set up to the GMail account now including my primary address (ippimail). If it ever can be fixed I can always transition back over.

I rather like the Squirrel Mail software that is used at Ippimail because I’ve worked with it before and they have a very nice theme. But I’ve got to admit, GMail is quite nice… I do however miss the ease of opening like 3 or 4 E-Mails in different tabs simultaneously with Ippimail though but I love the labels system in GMails software.

The spam folder is also about 5 to 8 orders of magnitude more full then Ippimails!!! But so far the filtering system works excellently just like googles search engine. I’ve had nothing put there that wasn’t spam yet and I’ve yet to see any thing penetrate the standard filters. I remember years ago I once tried Hotmail and felt like it was being placed on the world wide spam r us list :. I guess that’s impossible to avoid with any common services (hotmail, aol, yahoo, gmail, mail.com, etc) but hotmail back then at least was totally ridicules. At least GMail is doing a good job with the filters hehe.

Now that my Webmail problem is sorted out I guess it’s just the instant messengering one to fix. It would be so awesome if I could get a decent multi-protocol instant messenger that I didn’t dislike; I consider Pidgin and Kopte both cases of “foo sucks less”.

I have an XFire, an M$N, an AIM, an YIM, an ICQ, and even LiveJournals Jabber/GTalk features but I’m usually unreachable via XFire on my laptop and normally only on the others on my laptop. It would be awesome to be able to use each ! All the better without having to run Windows XP in the process or hack up FreeBSD’s Linux ABI to much to run the software.

Kopete and Pidgin both suck horribly for IRC (Internet Relay Chat) as well and I’m usually on several channels off irc.freenode.net. Which is why I’ve got Konversation on my laptop and X-Chat on my XP machine… Most of my friends use either AIM, MSN, or both. Still running 2-3 programs (xfire, irc, rest) is a total pain in the butt. I suppose it beats the 7 I would need if it wasn’t for applications like Kopete….

Oh wellz, back to the code.

The authoritative software list

With PC-BSD 1.5 on the horizon, think 1.5RC2 is out last I checked the mailing lists.

I’ve been working on compiling a list of software. Largley because I can remember an update some time in the past that essentially removed /usr/local/*, it said it would remove all the ports but not the entire directory tree!!!

So needless to say, just in case I prep before hand hehe.

Here is my list so far


Development
/bin/sh and friends
C Compiler
C++ Compiler
Java Compiler+JRE
Perl
Python
Ruby
Scheme
Qt (as many bindings as possible)
GTK+ (as many bindings as possible)
Games
solitaire (kpat)
battle for wesnoth
xgalaga or chromium b.s.u.
doom / quake
Graphics
GIMP
Inkscape
xv or kview # i.e. any thing light and fast for many formats
Internet
Flock
Lynx
Thunderbird or KMail or Sylpheed
Mutt (optional)
KNode
Konversation
Kopete or Pigen or *better* program of same genre.
Download manager, command line + gui (kget/wxdfast?)
ftp (command line client)
TeamSpeak (client)
Misc
Vim
Emacs
MicroEMACS
Multimedia
MPlayer
Mencoder
cdrtools + k3b
Office
Omni-Purpose file viewer would be nice! -- Okular (and a few more fmts)
Full LaTeX suite of tools and outputs utilities
Spreadsheet (no preference other then xls/ods support + fair speed)
Personal
zsh
Window Maker (currently) + Docker + WMClock
Decent terminal emulator that supports transparency on any WM.

My laptop is really the one computer that I have that is special to me. My darling Dixie has arguably been a live saver without it I’d never get any work done in this place :

It’s bad enough I’m usually awake until 0400-0500 local, at least work doesn’t start until the afternoon on Mondays…

The list is fairly short considering that my laptop functions as my central system. Just programs for working with data really, text processing, images, etc. A few programs for audio/video and a couple of games to kill time. Most of the stuff filed under Internet is communications based, konvi for IRC and a decent multi-protocol instant messenger so I can be on AIM & M$N simultaneously, not to mention the YIM and ICQ accounts I have should I ever find a use for it.

I’m 100% Webmail based so I don’t really need a local MUA but I like to have one handy for the sake of emegency. After the flash drive snapped in two I gave up on Netscape mail based stuff (like Thunderbird) and had to switch to webmail. The only other decent alternative is to run it off my file server and I tried that. It kind of sucks to deal with multimedia attachments and html e-mail via ssh !

Hmm, time to see what work needs to be done for the night.

Thank GOD work doesn’t start at the crack of dawn… hehe

Flocking great !!!

The other day I sent the port maintainer of linux-flock an e-mail reminding them that flock 1.1 had been released and thanking’em for maintaining the port.

Did a csup of ports and updated flock *my way*:

dixie# fastest_cvsup -c us -q
dixie# vi /root/ports-supfile # make sure the server is set correct
dixie# cd /usr/ports/www/linux-flock ; ls
Makefile distinfo files pkg-descr pkg-plist
dixie# less Makefile # confirm it's 1.1 in ports
dixie# pkg_delete linux-flock-1.0.3
dixie# make install distclean
...

Fired up flock from another aterm logged into my regular user account so I could see any messages that popped up on stdout/stderr, all good and even got the “Successfully updated flock” page.

Checklist:

Settings unchanged — yes
(Linux) Flash player plugin v7 — works
(Linux) Mozilla MPlayer plugin — works, using FreeBSD MPlayer build 😉

And I can see that Flock has finally implemented the one feature I really wanted from them, the ability to customize the ‘My World’ page. I removed the new friend activity widget and put back the favorites sites window, popped off the multimedia panel too. Because I don’t really use it, got my RSS feeds there.

The RSS|Friends|Multimedia layout I got on first start of 1.1 added a scroll bar at my typical window size (~1240×500 or so I’d guess by eye), which losing was one of the nice things of the style changes from flock 0.9 to 1.0. I’m really looking forward to more advancements in the My World page concept and to be honest it is an improvement over Operas “Speed Dial” feature which I used and abused back when I used Opera regularly.

I remember when I installed flock the flashplayer setup from PC-BSD worked out of the box, not very important to me but good to have. My great dislike for every thing Adobe remains but I lifted my ‘ban’ on them after Flashplayer 9 was released for Linux. I had installed the linux-mplayerplug-in port some time ago but it never worked and crashed flock with an error about loading files, I figured it was an issue of using a linux browser plugin but only having MPlayer compiled for FreeBSD installed. So I removed the stuff from my profile and solved the problem.

Earlier today I was surfing the web and saw the MPlayer plugin load up and I was like what the heck !? It works!!! So now I can listen to my favorite radio station without having to open a konqueror window for it ;-), I’m used to keeping flock loaded 24/7 on my laptop any way because its still a heavy weight program even if it runs faster then firefox 3 alpha and 2.x, seamonkey 1.x, and (Linux) netscape 9 did on here. I actually prefer the mozilla plugin to the KMPlayer plugin in konqueror which IMHO is not even as good as the Kaffeine plugin. This is actually a good thing for me, I don’t have to swap to konqueror to multimedia files — which is why I tried installing the linux-mplayerplug-in port in the first place xD

I think I will take a the new GMail / Yahoo! Mail integration features 🙂

Flock N Roll

Finally a good day of sort.

slept in till 1400, nice considering the rest of the weekdays I have/will be getting up early :

Been toying around with Getopt::Long in Perl for a little ‘toy’ that I’ve had on the brain, worked on it a bit in my spare time. I’m used to working with tar, even gzip/bzip2 directly but occasionally have to work with zip/rar files and I find that I always need to look up the switches to use. So I was thinking about a script that would apply a uniform usage-style accross a varied set of such programs (tar inspired of course). I thought about using pax as a standard program, because for most stuff that I use I’ll generally leave it at TApe aRchives and skip the compression but I find generally speaking that using the pax utility is *annoying compared to the alternatives (when they work of course). KDE has an archiver program called Ark but I find it works poorly with /large/ archive files several hundred megs thick and there is no command line utility that I know of that has built in support for every format and runs both on NT and *Nix, the best I found in a short look require the Bourne Again Shell.

Enjoyed a few rounds on TG#1 with Jonsi and Rct Spawn. It’s good to get back into action again, I havn’t really played or trained much this week because of work. And I’m really looking forward to doing a training session on observation and marksmanship skills this weekend. I also managed to pop in to TG#3 and join Duke, Dallers, Chester, and the gang for a few before the DSL dropped out as usual.

I really wish I could tell Bellsouth to go suck an egg.

I think if I can find a day to do it and some time to print out the Gez Admin Mods command reference I might be able to setup a quick live op. I remember we have a hunt missing MI5 Programmer and a Russian Terrorist Cell on our Live Operations board that are still waiting for the green light. You know, the government should pay me for ideas lol, some of the live ops I concoct for our training are first rate !

For tonight, hmm on the basis of what hits me first. I need to get some stuff done that I told Gerard I’d take care of him on the documentation front. There’s the Perl script I’ve been toying with, and the age old issue of organizing my music collection +S

Every time I organize the damn thing I break my playlists, every time I update my playlists I usually spend more time either rebuilding them or s/search/replace/’in’g the entries instead of listing. What I really think would be best is if I just find or write a quick tag editor, use that to organize stuff. Then combine a script and a library to organize files according to the tags and regenerate my playlists when ever it is run.

I’m also thinking about switching to either MPlayer or VLC as a dedicated omni-purpose media player. The advantage of course being that they both run on any OS I’m likely to need them and can play darn near any thing ;-).

The only problem is I am used to Amaroks collection browser and playlist interface lol. I don’t really need much more then the basic features but aside from a handful (xmms/winamp, mplayer, vlc, amarok, kaffine) I’ve never really found a single Media Player that I am universally happy with but I suppose that is just the natural. One thing that I do like very much about MPlayer is there is a command line interface (very powerful one at that) and you can basically choose from any of several GUI Frontends, which I do really prefer to use for video operations but to be honest I’ve generally had better luck with VLC for DVD playback.

Hopefully work will get done before I loose concentration…

Flockzilla

Installed Flock 0.9.0.2 on my laptop today, quick and easy as root:

Dixie# pkg_add -r linux-flock
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/linux-flock.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/linux-hicolor-icon-theme-0.5_1.tbz... Done.

And it is installed as linux-flock in my search path, very useful. I have used Mozilla based browsers for a long time. Years ago I started with Firefox 1.x, it was a great improvement over IE5 and 6, tabbed browsing – I was hooked instantly xD

As I got to spend a lot more time on the computer, I soon came to find Firefox less then perfect. The big bonus to using it had become greater portability between websites and OSes, some thing that is a bit of a must for me. I alos use Konqueror and Opera a lot among other browsers.

I tested Flock 0.7.x on my windows box awhile back and was rather impressed, while not perfect it was still pretty great. With a bit of that ‘surfer’ feel to it 🙂 I did not think though that it would scale to my laptops hardware quite well though. On a Pentium D 930 with 2GB of RAM, to a Sempron 3300+ with 512MB of RAM… But so far it has actually scalled a lot better then Seamonkey or Firefox 3.0 snap shots !

The main reason I discontinued working with Seamonkey and (Netscape) Navigator (9) was because while I liked them quite a lot, Navigator is actually a nice set up IMHO. The lack of responsfulness, particularly while editing text in fields like this and on forums made it less them ideal on my hardware. Even on the faster Desktop I occasionally noticed slow downs during text editing. On my laptop, even Firefox 2.0.0.x and 3.0a builds had the same issue on my laptop.

So far, Flocks Linux version does not, and it is starting faster then Netscape or Seamonkey ever did. And the funky font issues of using Linux Firefox and friends on PC-BSD no longer seem to apply to PC-BSD v1.4.x systems:-)

The thing I enjoy the most about Flock is the web clipboard and services support, especially for ma.gnolia. Being based on Firefox, Flock is still pretty easy to use but I find most of its shortcomings are inherited from Firefox! All of which seem to relate to configuration options…. But it does add enough other capabilities to be a bit of an improvement over Firefox 2 and 3a imho. And like Netscape Navigator 9, should work fine on Google Doc’s and friends hehe.

I think most of the Firefox extensions and add ons should work with Flock, doubt most themes would but Flock has a very nice default theme unlike Firefox. I have never really used much in the way of Firefox Extensions and Add Ons, although I keep several installed in my Desktop; I usually don’t use them ^_^.

Now if only Flock didn’t use the same crappy Spell Checking technology that Firefox does……… *sighs* I really wish Vim or Google would create a portable spell checking library based on their code, because they offer the best spell checking I’ve ever found =/

Flock

Testing a new web browser…..

Dang this thing is interesting ! Now if it could hold up better then Firefox 3.0a on my laptop… We’ve got a nice match hehehe.

Blogged with Flock