Alt om ingenting og litt i mellom En blogg av Knut-Olav

Innlegg merket med 'English-posts'

English-posts · Teknologi · Video

Video capture the old way on new Ubuntu 10.10

6. november 2010 · 3 kommentarer

Like probably many people, I have a lot of old analog video recordings on HI-8 and VHS tape I just have forgotten to keep up to date with technology. I guess it’s time to start capturing video. Soon… First, the camcorders charger is broken, and buying a new one is kind of difficult, but luckily, [...]

[Les mer →]

Emneord: · , , , , , ,

English-posts · Teknologi

Enlargen the disk capacity of Windows in VirtualBox

5. november 2010 · Comments Off

If you need more disk capacity for your Windows installation in VirtualBox you can make a new virtual disk in VirtualBox with the capacity you want. The new disk must be larger than the old one. Then use System Rescue CD with the partitioning tool GParted to copy the original disk over to the larger [...]

[Les mer →]

Emneord: ·

English-posts · Programmering · Teknologi

How to build PHP extension tidy as shared object

26. oktober 2010 · Comments Off

If you already got a PHP installation setup, you may need another extension/module from the PHP source tree. You can build and install that single module from the source while keeping the rest of the PHP installation intact, but the documentation of building shared PHP modules is poor. In my case I needed the tidy [...]

[Les mer →]

Emneord: · ,

Android · English-posts · Programmering

Debugging Google Maps in Android applications – uses-library

20. juli 2010 · Comments Off

If your application is failing with a ClassNotFoundException of the class com.google.android.maps.MapView, then the uses-library tag might be misplaced or missing from the application manifest XML. When adding Google Maps to your Android application, make sure that the <uses -library>-tag is inside the <application>-tag of the manifest XML. This might be obvious, but I got [...]

[Les mer →]

Emneord: · ,

English-posts · Teknologi

Debugging MythTV 0.23 and ivtv

8. juli 2010 · Comments Off

If you have a Hauppauge PVR-500 card and recently upgraded Ubuntu to latest 10.04 Lucid, then you might have had problems viewing live TV. The quick fix might be to just install the package “ivtv-utils” and to reconfigure the video input/sources with mythtv-setup. I also had a problem with disconnects and warnings of wrong protocol [...]

[Les mer →]

Emneord: · ,

Android · English-posts · Programmering · Teknologi

Debugging your Android application

9. januar 2010 · Comments Off

I am novice on Android application development, slowly starting to understand the architecture. I particularly like that communication between applications and data storage are resource centric. But anyway… If you have been developing mobile applications for Android you have most likely seen some exceptions in the Eclipse debugger that you don’t understand, maybe not the [...]

[Les mer →]

Emneord: · ,

English-posts · Programmering

Don’t sort on tokenized strings in Solr

15. desember 2009 · Én kommentar

Apache Solr is a very powerful index and search engine. Unfortunately it does have some flaws, at least I think this issue is somehow not “by design”. If you are going to use a field to sort on, make sure you use one of the native data types in Solr, and don’t enable any tokenizer [...]

[Les mer →]

Emneord: · , , ,

English-posts · Jobb · Programmering

Cowboy coding

9. desember 2009 · Én kommentar

Cowboy coding seems interesting, and it might be just that I have been doing when developing Madcow, a PHP web framework. However, it is not the same as Scrum. Many projects tend to fail using the Scrum methodology, possibly because of the lack of clearly defined roles, and then fall back to something looking like [...]

[Les mer →]

Emneord: · , , ,

English-posts · Programmering

Could not dupe: Bad file descriptor

8. september 2009 · 2 kommentarer

Ok, so I have been debugging a Perl application that I wrote about six months ago. Basically it creates some meta data and copies files to other user accounts using SSH. For file transfer it uses File::RsyncP and for remote control it uses Net::SSH::Perl. Some times I get the error message Could not dupe: Bad [...]

[Les mer →]

Emneord: · , ,

English-posts · Klagemuren · Teknologi

How to not tell about a security breach?

7. september 2009 · Én kommentar

WordPress is breached, again. I guess I run an unsecure version of WordPress, but I’m not sure. All I am told is that i don’t runt he latest version of WordPress and that I should upgrade, because upgrading is easy. No, it’s not easy. I keep history of my webpage in Subversion, so every time [...]

[Les mer →]

Emneord: · ,