Skip to content

Cryptocurrencies?

bitcoin-logo-1000_0Ok, so we have a couple of cryptocurrencies out there, bitcoin, litecoin and so on. I had a look, trying to buy some litecoins, but was utterly turned away by the hoops I have to jump…:

  • First transfer money in EUR/USD/RUR or other national valuates.
  • Buy the coins.
  • Send them.

In addition, the credit card interface was in russian, with quite a lot of options to select from – and wanted me to create a user at a separate website from the trading site. And of course there was a 3% fee, or more, involved, plus the 1.75% VISA charges for foreign valuates.

I consider myself more technologically advanced than the average – by far. Yet I’m not able to get my hands on those cryptocurrencies in an easy way.

So how do you ever expect it to be for someone not speculating, criminal or enthusiastic about it? If you’re a criminal, it offers clear benefits. If you’re speculating, their rise has been spectacular…

But as means of purchasing something? Sorry. With Paypal I enter my username and password, and press enter two times. Convenience are more important than the high ideals about anonymous, untraceable currencies. For I’m all for the latter one, but not with this horrible user experience.

And then I’ve not even mentioned the litecoin client, which downloads at least a few hundred megabytes of data, taking long time, providing little or no feedback…

It’s utterly useless as a currency or mean of payment to me right now, and I bet I’m not the only one with the same feeling…

 

Tagged ,

chdk – again.

Once again, I’ve gotten myself a Canon compact camera that can run CHDK.CHDK

Apart from some minor details, it works great. One of the stupid things is that the lens does not come out automagically when turning on camera with CHDK activated. I need to do a half press of the shutter first… OK, I can live with that, typically I use the standard firmware for point’n’shoot, and only use the CHDK when I want to do some scripting.

CHDK is fun as always. Easy to do new things, quite easy to create your own scripts. But I’m a bit flustered – there is not very much documentation on some functions – how to check if camera has aquired a good autofocous for instance? I don’t know if this is problems with the camera hw, or bad documentation from CHDK’s side.

Anyway, its entertaining to be able to script my camera, and with a gorilla pod, AC adapter from ebay, and 4GB memory card, thet total price is around 220$ for the package. Unbeatable amount of fun for that money 🙂

The possibilities are nearly endless:

  • Raw photos from a compact camera.
  • Motion detection.
  • Zebra striping of under/over exposed areas before taking a photo.
  • Greater manual control over camera.

The list goes on, and their FAQ explains it quite well.

Tagged , , , ,

Nordmann for Al Qaeda?

NRK skriv at ein nordmann er trent av Al Qaeda. Der kan ein lese følgande gullkorn:

Den 33-årige etnisk norske mannen som har konvertert til islam, har plettfritt rulleblad, norsk utseende og regnes som en stor potensiell fare dersom han er trent, operativ og klar til å begå terrorhandlinger mot et vestlig mål, som for eksempel et sivilt passasjerfly.

Dette fordi han regnes for å gå under «radaren» på grunn av upåfallende utseende og fortid, og dermed svært vanskelig å plukke ut som potensiell terrorist.

Det tyder i så fall på at svært mange av sikringstiltaka er sikkerhetsteater, og lite anna. For ser du etter skjeggete muslimer så rekruterer Al Qaeda blonde nordmenn.

Men fyren vart jo plukka opp av etteretning, og har vel neppe sjans til å settje seg på eit fly utan å bli grundig sjekka neste gong?

Om antiterrorsystema våre antar at terrorister er skjeggete muslimer er det problemet.

Tagged

Quick and dirty download proxy

fget is a small, quick and dirty download proxy in php and python, to be used on a webserver to allow it to download files to the webserver, and allow access to them.

Written for personal use when travelling, and on various bad links.
License? Buy me a beer next time you see me if it is useful.

Tagged ,

Bypassing liquid ban with help from KLM

I recently flew with KLM from Singapore to Amsterdam. They have this tradition of giving you small houses filled with jenever.

Thats just fine, but the problem is that they are filled with liquid, and above 100ml. So you have to have them in a sealed bag through security if you have a connecting flight.

KLM’s solution? Hand out a sealable bag, a card stating at which flight it was received, and date. The card was quite simple, with no serial numbers, no stamp, no signature. Just the flight numbers.

I got the bag and card after the house, and was told to seal it myself! I just ignored both, the house was quite ugly after all, and a bit of jenever is not worth carrying for me…

However, it is quite nice of KLM to hand out unsealed bags… Just another dent in the airport security?

Android + webdav

Being a geek, the opportunity to upload pictures straight from my cell phone (Android) to the web is a nice feature. I could of course use Dropbox or a similar solution, but that is boring, and I don’t get to decide the URL…

So welcome WebDAV.

Finding a good webdav client for Android took me most of the time. I eventually settled for Cloud Browser (€.99), which was the first one to work as expected, and the only one I found which integrated neatly on the ‘Share’ menu of the gallery, making upload easy. There are several free apps as well, but the ones I tried did not integrate / behave the way I want.

The only drawback is that Cloud Browser uses Basic authentication, and not Digest. If you’re using public WLAN’s it might be a very good idea to use https to access your webdav repository like me.

For the Apache part of things I added a WebDAV configuration, more or less as detailed in the apache mod_dav documentation.

<Directory /home/vidarlo/websites/bitsex.net/dav>
 RewriteEngine off
 AllowOverride All
 Options FollowSymLinks +Indexes
 Order Deny,Allow
 Allow from All;
 Dav On
 AuthType Basic
 AuthName "WebDav"
 AuthDigestDomain /dav
 AuthDigestProvider file
 AuthUserFile /home/vidarlo/htpasswd
 require valid-user
 <Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE GET HEAD>
 require valid-user
 </Limit>
</Directory>

This simply worked. I can upload pictures once I snap them, and I can sync files the other way too. Better than the dropbox for android, and I have control over my data… 🙂

Highly recommended system 🙂 If you’re lazy, you can always use the app mentioned with Amazon S3…

Er postordrebestilling fra elkjøp ekstraservice?

Ja, meiner dinside.no:

Selvfølgelig skal du betale mer for å få tilsendt produktene til din egen postkasse eller nærmeste postkontor, i stedet for å hente det selv i varehus. Det er en ekstraservice det er rett og rimelig å betale for.

Er det sjølvfølge at det er ekstraservice? Nei. For Elkjøp sparer eit par kostnader.

  • Kostnaden ved Ã¥ leige eit lager er lÃ¥gare enn kostnaden ved Ã¥ leige et butikklokale
  • Lagerlokalet treng ikkje ha ørten tusen parkeringsplasser
  • Et lagerlokale kan betjene heile Noreg, i motsetning til ein butikk
  • Lagerlokalet treng ikkje samme grad av belysning og oppvarming som en butikk
  • Lagerlokalet treng antakeleg mindre betjening for Ã¥ hÃ¥ndtere samme salsvolum
  • Ingen treng bruke tid pÃ¥ Ã¥ plassere ut produkt i butikk
  • Turnover blir antakeleg større, og dermed mindre død kapital

Det er ikkje sikkert det er billegare for elkjøp, men eg vil anta at det er det. Og det er iallefall ikkje automatikk i at det er ekstraservice – tvert imot…

I will not try OpenSuSE 11.3 for the next few weeks.

OpenSuSE 11.3 is out.

This will be the first release in quite a few years that I won’t try at the day of release. I’ve been using OpenSuSE since Pre-Novell (9.0 I believe), and have usually upgraded as soon as possible.

But why not this time?

Because the last three times I tried to upgrade, it was a mess for two days. The sturdy and solid SuSE is gone, and I’m left with a flaky OpenSuSE, which usually needs a few weeks to settle the most annoying bugs.

Preciously, SuSE was the one distro that you could be sure was working. But not anymore. They’ve simply got to many fuckups on the release day for me to thrust ’em.

I will upgrade. But not in a few weeks.

Tagged ,

CHDK on Ixus 100IS

CHDK is software for some Canon compact cameras, which allows somewhat more than the original firmware. Or rather – it’s a addon for the original firmware. Quite risk free.

On Ixus 100/SD780IS (can someone explain why canon insists on seperate names for EU and USA?), it is as of writing only a beta port – some flaws, such as the camera turning of in some conditions.

The manual for installing CHDK was not that great, with a lot of technical details missing in my opinion. Here’s what I did to get it working.

Manual load

To make the firmware update available in the menu, I had to put the camera into play mode (press the button to display pictures), enter the menu, set Lens retract to 0 mins. and restart the camera and go into play mode again. Pressing menu gave me the firmware update at the bottom. And it worked. But it’s quite slow way to ender chdk…

Automagic booting

For some reason, pressing ‘Make bootable’ in CHDK-menu did not work on this camera. I don’t know if it was because it’s a beta, or what the reason might be. I assume that you’ve already tested manual loading, so card is loaded with files…

Making the flash card bootable by hand was somewhat a hassle, as the procedure was not documented in the FAQ or Howto from CHDK. Except the mac guide for some reason.

It turns out that I had to edit the boot sector of the memory card. This is not for the faint of heart… Grab a copy of your boot sector with dd if=/dev/mmcblk0p1 of=bootsector bs=512 count=1. Replace mmcblk0p1 with whatever device the first partition of your memory card happends to be.

Open the file in your favourite hex editor (ghex2 or emacs for instance). Now, replace byte 64-72 (or 40-48 if you count in hexadecimal) with the value ‘bootdisk‘.

Write your modified boot sector back to the card with dd if=bootsector of=/dev/mmcblk0p1 bs=512 count=1, eject the card and flip the write protection switch. Power on your camera. Enjoy the glory.

My impression so far…

Ok, shooting in raw is quite nice. It means a chance to manipulate colour balance after the photo is taken. It gives a lot of possibilities originally out of range on a compact camera.

But the by far coolest thing is motion detection. The possibility of scripting, and controlling the camera with scripts is certainly nice 🙂

Armin Bahrami rir White Wesir inn i solnedgangen…

White Wesir
Nyhetsspeilet gjer det igjen Рdei publiserer White Wesir sine hemmelige dokumenterv̴s. Og n̴r det blir p̴peikt hevder dei at dei var klar over at det var v̴s heile vegen.

Eller, Armin Bahrami p̴st̴r dei var klar over det. Resten av redaksjonen er ikkje like samstemte. Men uansett Рdet artige her er at mr. Fiskeslo har blitt opphavsmann til organisasjonen White Wesir, som jo er et klingande navn, med ei litt punkete sjakkbrikke som logo.

Det moynar kokte sammen var hÃ¥rreisande. Alle med gjennomført 2FY ville sjÃ¥ sprikande hull i det som sto der, og det var ogsÃ¥ intensjonen antar eg. Men Nyhetsspeilet har Ã¥penbart ikkje folk med grunnleggande kunnskap om naturvitenskap – eller sÃ¥ er dei redde for Ã¥ bruke kunnskapen.

Ikkje nÃ¥r folk pÃ¥peikte feila i materialet, eller nÃ¥r spøken vart avslørt, slutta Armin Bahrami Ã¥ tru pÃ¥ materialet. Han hevder fortsatt rapporten frÃ¥ White Wesir er ekte – til tross for at den faller pÃ¥ elementær fysikk.

Og no er altsÃ¥ Armin Bahrami pÃ¥ ferie. Kanskje greit Ã¥ fÃ¥ litt fred fra dei som pÃ¥peiker sÃ¥ drøye hull i vÃ¥set ditt at en uten problem kan fly en 747 gjennom dei hulla? Eller kanskje du skulle prøve Ã¥ gjere det du oppfordrer andre til – studere bevisa, skaffe deg fagkunnskap og vurdere kva som heng pÃ¥ greip og ikkje? For Ã¥ flytte vatn med greip er ikkje lett, Armin.

Tagged , ,