Yahoo to place adverts in PDF files

29 11 2007


As reported by the BBC, Yahoo have reached a deal with Adobe that allows them to place adverts in a panel inside Adobe Reader. This is the first time that Adobe have allowed dynamic adverts inside their software.

Luckily, there is a myriad of alternatives now that the PDF format has been opened including:adobe-pdf.png

For Windows:

For Linux:

For Mac OS X

So, for the more computer literate of us, this won’t make a lot of difference anyway.





Installing NoMachine NX on any modern Linux including Ubuntu 7.10

28 11 2007


NX is a remote desktop type piece of software that lets you log in remotely to another linux computer. It is useful in that it lets you log in simultaneously with other users – that is, you can use it as well as another user as you log into a new session. It also works over SSH, so it’s secure. The data is compressed as well, so it’s pretty quick. In my experience, it’s much quicker than VNC, especially over the internet.

The server only works on computers running an X server, but the client works on any OS, so you can connect securely from Windows PCs to your home Linux box. This is really useful in public libraries, or when you are at a friends house, as you can use your own PC at almost native speed without any hassle.

img4small.gif

Diagram showing how NX works. (Copyright NoMachine)

This only works to a normal X11 server, so Compiz Fusion or Beryl (or any other compositing window manager) doesn’t work over the connection, it’s only for standard window managers such as metacity, Kwin etc are fine.

Right then, let’s get going!

On your Linux pc (this tutorial is for Xandros, Debian and Ubuntu, though there are packages for Red Hat, Mandriva and Fedora as well), open a terminal and run:

sudo apt-get install openssh-server

To install the ssh server. This allows you to connect remotely using a normal shell. For more info on this, check the Ubuntu community page.

mkdir ~/nxdownloads
cd ~/nxdownloads

to make a directory to store the relevant packages.

wget http://64.34.161.181/download/3.0.0/Linux/nxclient_3.0.0-84_i386.deb
wget http://64.34.161.181/download/3.0.0/Linux/nxnode_3.0.0-93_i386.deb
wget http://64.34.161.181/download/3.0.0/Linux/FE/nxserver_3.0.0-79_i386.deb

to download the files.

run

sudo dpkg -i nxclient_3.0.0-84_i386.deb
sudo dpkg -i nxnode_3.0.0-93_i386.deb
sudo dpkg -i nxserver_3.0.0-79_i386.deb

to install the packages.

run

sudo /usr/NX/bin/nxserver --start

to start the server, changing start to status will let you know if it’s running or not.

On your Windows computer, download nxclient for Windows and install it. Notice how much more complex it is to download and install Windows software!

Once it’s installed, run it, and enter the IP address of your Linux computer to connect, give it a session name for your own reference, and choose your connection speed.

2007-11-28_195157.png

The next screen lets you choose what window manager to log in to, default is KDE – for Ubuntu, change that to Gnome.

2007-11-28_195215.png

Next, put in your username and password on your Linux computer – this is just your usual username and password.

2007-11-28_215328.png

The first time it will ask you if you trust the fingerprint of your computer. Say Yes – in future if you get this something has changed, so you might want to double check things. You should in theory only see this once.

2007-11-28_215340.png

Wait a few seconds for it to log in, and you will get something like this:

2007-11-28_215651.png

Brilliant!

I use this on my old laptop to make a poor mans thin client, I boot it up, then connect to my real computer to get the most out of it.

If you want to use this over the internet, remember to forward port 22 on your router to your Linux computer. You might want to use DynDNS.org to set up an alias for your dynamic IP address if you have one to make things easier.

StumbleUpon Toolbar Stumble It!





Solutions to ‘Man in the browser’ online banking security threat

27 11 2007


As reported by Computer World UK malware is shifting towards intercepting traffic inside the browser – a kind of man in the middle attack, rather than keystroke logging or phishing. This style of malware would intercept the password entered on the webpage using exploits in the browser. How about this solution to combat this?

Banks should offer their own applications to use for online banking – for instance, a virtual machine that saves it’s state running something like damn small linux + a web browser. This could be packaged with qemu.

You’d boot the virtual machine, use your banking, then when you closed it off, the virtual machine wouldn’t save changes, so it would always be the same.

This could be distributed on read only flash memory, or even plain old CDs to avoid malware modifying the image.

So: how do you do this?

1. Download DSL Embedded edition

2. Unzip it, and click dsl-base.bat

3. Up comes DSL linux, it boots using QEMU in a matter of seconds

4. Use your online banking as you wish (Ctrl – Alt releases the window so you can get back to your other applications)

5. That’s it…

The protection of using both Linux and a virtual machine in windows in 5 steps!

Now, if only banks would redistribute this, you can imagine how easy it would be to rebrand DSL, and to auto open firefox on the correct page.

Comments?

StumbleUpon Toolbar Stumble It!





Bash tips and tricks

25 11 2007

This post is at my new blog at Interesting Things. Thanks.





New kid on the block – Mixx to overthrow Digg?

25 11 2007

After reading TechCrunch’s thoughts on unhappy Diggers leaving for Mixx, I tried it out myself – it’s definitely an improvement on Digg…  It’s got a much nicer look and feel to the site, it’s quicker, has a pictures section, and allows other users to tag and categorise existing stories. Overall – it seems much more usable than Digg, though it’s RSS feeds don’t seem as precise – not sure if you can have a custom feed of only stories that interest you, it seems that you have to have a feed of all of Tech, or all of Science, rather than a mixture of subcategories. Looking forward to getting to use the site more though!

mixx.com





Need a dictionary that’s better than a pirate?

25 11 2007

Need a super fast online dictionary? Try Ninjawords, it’s fast – just like a ninja…

Ninjawords





Hey, I’m on the top posts section!

22 11 2007

Top posts!

Pretty good for the second proper post I’ve made!





Interactive Periodic Table

22 11 2007

Nothing as ground breaking as some of my previous posts, but this interactive periodic table is brilliant! Definitely going to use this when teaching about elements.

You can show elements by the date discovered, as well as more conventional information such as melting and boiling points – useful when teaching about reactivity for instance as you can clearly show a link between the date elements were discovered, and how easy it is to extract them.

Brilliant interface as well – I love it!

Interactive Periodic Table





KDE 4.0 RC 1 running on Kubuntu 7.10

21 11 2007


Having been as excited about KDE 4.0 as most people, I was keen to try the beta releases, though I didn’t want to compile it myself. Consequently, I waited for packages to become available for Kubuntu 7.10, as this seems the most convenient way to try it out. I followed the instructions detailed on the Kubuntu website, though found that several of these packages are broken and won’t install correctly. These unfortunately include Konqueror and Dolphin amongst others, so the testing I was able to do was limited. (see Edit at bottom – this has been resolved!)

To install on Kubuntu 7.10, add deb http://ppa.launchpad.net/tsimpson/ubuntu gutsy main to your /etc/apt/sources.list then make sure you run sudo aptitude remove kdebase-workspace kde4base-dev kdelibs5 before running sudo aptitude install kdebase-dev-kde4 kdebase-workspace-dev kdebase-runtime kdm-kde4for best results. (i.e. fully uninstall any previous betas of KDE 4)

Then run cp usr/lib/kde4/share/kde4/apps/kdm/sessions/kde.desktop /usr/share/xsessions/kde4.desktop Change the Name section in /usr/share/xsessions/kde4.desktop to be called “KDE 4″ by using nano /usr/share/xsessions/kde4.desktop Then nano /usr/lib/kde4/bin/startkde and add

export LD_LIBRARY_PATH=/usr/lib/kde4/lib
export KDEDIRS=/usr/lib/kde4
export PATH=/usr/lib/kde4/bin/:$PATH
export KDEHOME=~/.kde4

to the top of the file. Log out and choose KDE 4 in the session chooser in KDM. (I didn’t bother with the xephyr stuff as suggested on the Kubuntu page, as that’s only if you don’t want to run KDE 4 as it’s own session.)

On boot up, it’s clear that there are numerous bugs in these packages that make it unusable – all the different components or plasmoids open up, but you can’t move them. Also, none are stuck to the panel at the bottom, meaning that there is a free floating KDE menu that can’t be moved. The easiest thing to do is to close them all, then just activate one at a time to see them. If you add plasmoids, they appear behind the add widgets window, so you might want to move it first, otherwise you will end up with loads of them behind it!

2007-11-21_190932

Add widgets dialog

Weirdly, if you move the scroll wheel on the desktop, it scrolls up and down – currently this has some weird behaviour as shown below – this does let you move the K menu down though so you can see it all.

2007-11-21_192138

Looking at the K menu, it has been nicely redesigned, as in previous releases – there are multiple sections on it, including a favourites section that remembers the most used applications.

2007-11-21_191813

2007-11-21_191819

2007-11-21_191819

The many faces of the new K menu.

As mentioned previously, Konqueror and Dolphin don’t install, so we can only see the old versions. Below are some other screen shots, including those of the icon themes and the widget themes.

2007-11-21_192026

Default widgets

Over all, things look good – shame that it’s not really ready to use full time, but I think that it’s worth waiting for!

Edit:

Having played some more, it turns out you can drag and drop the widgets, but they won’t stick to the panel yet. You can also rotate them and enlarge them however you like.

KDE 4.0 RC 1

The ? lets you move them round, the purple circle lets you rotate and scale.

 

I also managed to get Dolphin et al. installed – here’s a look at that.

2007-11-21_205501

Here’s the system monitor with new SVG graphs:

2007-11-21_205812

icon_su.gif Stumble It!





artviper.net – thumbnails for websites

18 11 2007


Having seen these website thumbnails at w3csites, I have found them pretty useful.

If you want a small thumbnail of any website, just link as an image to:

http://www.artviper.net/screenshots/screener.php?url=websiteaddress

for instance like this:

You can also specify different image sizes using additional parameters, for instance adding &w=240&h=180&sdx=1024&sdy=768&q=90 to the end of the previous example would give a thumbnail with width 240px, height 180px taken on a screen of resolution 1024×768 with a jpeg quality of 90%.

Below is a full list of parameters, as detailed on their site.

url the URL you want to capture
w the width of the thumbnail
h the height of the thumbnail
sdx the screen port size ( i.e. 1024 ) width
sdy the screen port size height
q the quality of the image ( jpeg ) – from 30 to 90 %
rot rotate the image yes / no ( 1 / 0 )
deg degree of rotation ( from – to 360 )
bg background color when rotated in hex, without #

All images taken using artviper take a while to appear, but I’ve found that after around 24 hours they are done. They are cached, so they only need to be generated once.

More details at artviper.net.