Showing posts with label links. Show all posts
Showing posts with label links. Show all posts

Android Emulator Quick Boot

Diposkan oleh Unknown on Thursday, June 30, 2011

The first time I tried starting the android emulator, I quit it and never used it again. Starting up took about 5 minutes already and it wasn't too responsive afterwards. Now Matthew Casperson posted a nice howto for using the snapshot feature of the android emulator to start it up quickly. Now all I need is a trick to have it running faster as well... But that's not going to happen as long as it relies on qemu to first translate everything from x86 to arm code.  ;)

Being based on Java, you'd think it would be possible to create a much faster emulator by just leaving out the arm cpu emulation. And it seems some people have done that with youwave. Unfortunately, that's windows-only.

Another line of improvements would be to speed up the graphics, as reportedly displayed with impressive results at Google I/O 2011.
More aboutAndroid Emulator Quick Boot

Optimizing Code for Small Size

Diposkan oleh Unknown on Saturday, June 11, 2011

Many people know the -Os flag of gcc to reduce the code size. Now a while ago Benno posted some tipps to reduce the size of a compiled program for ARM, which give a good hint what to look for in any case. His Summary
"Compile to Thumb instructions.
Use -Os to optimise for space.
Look for unnecessary code.
Look for examples of registers used in the wrong place."
More aboutOptimizing Code for Small Size

GnuPlot Cheat Sheet

Diposkan oleh Unknown on Friday, May 20, 2011

This wasn't done by me, but it's a good cheat sheet for this nice, but difficult to use piece of software: http://www.gnuplot.info/docs_4.0/gpcard.pdf.
More aboutGnuPlot Cheat Sheet

Must Read Article on the Issues of Ubuntu, Open Source and Linux

Diposkan oleh Unknown on Thursday, June 10, 2010

More aboutMust Read Article on the Issues of Ubuntu, Open Source and Linux

Resynthesize Tutorial

Diposkan oleh Unknown on Thursday, April 1, 2010

Resynthesizing can lead to unwanted results sometimes, especially if you have uneven and complicated surfaces. This tutorial shows you step by step how to get the results you want!
More aboutResynthesize Tutorial

Command Line Output Redirection

Diposkan oleh Unknown on Wednesday, March 17, 2010

Check out this nice article with all the major redirections explained, including the important stderr to stdout redirection.
More aboutCommand Line Output Redirection

Windows Emulator

Diposkan oleh Unknown on Tuesday, February 2, 2010

Check out these great comics by Shane Collinge about a woman writing a windows emulator.
More aboutWindows Emulator

While I'm busy... List of Ubuntu Blogs

Diposkan oleh Unknown on Sunday, November 15, 2009

More aboutWhile I'm busy... List of Ubuntu Blogs

Limiting CPU Usage of a Program

Diposkan oleh Unknown on Sunday, May 24, 2009

Interesting article.
More aboutLimiting CPU Usage of a Program

Booting Linux over the Network

Diposkan oleh Unknown on Wednesday, May 20, 2009

Here's a quick how to.
More aboutBooting Linux over the Network

Circumventing Censorship - Evading the "20th Century's Berlin Wall"

Diposkan oleh Unknown on Saturday, May 2, 2009

The New York Times presents the status quo in censorship evasion with examples of Iran and China. A quite interesting read. Don't expect a how to, though.
More aboutCircumventing Censorship - Evading the "20th Century's Berlin Wall"

Some useful CLI Commands

Diposkan oleh Unknown on Monday, April 13, 2009

Tuxradar has put up a nice list of useful CLI commands and other tipps. For tip #36 to work in KDE 4, you need to type e.g. =4*5+4. I also recommend tip #49, locate will help you find the file, for me it was /etc/openoffice/sofficerc.
More aboutSome useful CLI Commands

Make your Firewall Safer with Knockd

Diposkan oleh Unknown on Tuesday, March 31, 2009

Here's a nice howto. It describes how to install, configure and test knockd.
More aboutMake your Firewall Safer with Knockd

Linux Kernels 2.6.24 - 2.6.29 Benchmarked (Phoronix)

Diposkan oleh Unknown on Tuesday, March 24, 2009

I've read the newest Phoronix benchmark of all kernels 2.6.24 through 2.6.29 and if you don't follow the link now, I'll spoil it for you in the next paragraph...



Okay, so besides some normal fluctuations there is a significant speed gain for OpenSSL (+99%) and the OpenCL-backed Graphicsmagick (up to +73% and +80%) and a regression in 7-zip compression (-27%).

Wow - fascinating stuff. I wonder how much potential kernel code optimization has. I still remember the extreme difference between 2.4.x and 2.6.x. I had just bought a new computer because my old one was... getting old. And I felt completely cheated. The new kernel had brought me much more increase in responsiveness and "felt performance" than the new computer (AMD Duron 700 Mhz -> Athlon XP 2500+). If I could I probably would've brought it right back to the store. Well, they don't take returns on self-build computers here.

I really wonder how much difference the intel compiler compiled kernel makes in comparison to gcc. Maybe Phoronix could compare that one, too? Oh yeah "... boost up to 40% for certain kernel parts and an average boost of 8-9% possible" quotes LJ.
More aboutLinux Kernels 2.6.24 - 2.6.29 Benchmarked (Phoronix)

Automatic Backups on Linux (IBM)

Diposkan oleh Unknown on Monday, March 23, 2009

Darn them. They just wrote the article I was planning to write and get famous with: Automatic backups over SSH with Keychain and Scp... well, I suggest to use rsync instead. That way it's fast enough to regularly run over internet without even using a lot of bandwidth. (See "Tiny Backup Script with Rsync" under "You might also like".)

By the way, look at their crontab:
34 3 * * * /home/backups/remote_db_backup.sh
34 20 * * * /home/backups/remote_db_backup.sh

Could've simply written:
34 3,20 * * * /home/backups/remote_db_backup.sh
More aboutAutomatic Backups on Linux (IBM)

How the Linux Kernel Works

Diposkan oleh Unknown on Tuesday, March 17, 2009

Tuxradar has a great article entitled "How the Linux Kernel Works". Great for beginners!
More aboutHow the Linux Kernel Works

How To Add Knoppix to your USB Stick

Diposkan oleh Unknown on Sunday, March 15, 2009

If you've got a large USB stick, there's a high chance you will have some space left for installing a current Knoppix on it. That way you can save a few CD-Rs as you need not write a new CD when a new Knoppix comes out.
More aboutHow To Add Knoppix to your USB Stick

Install Daily Fresh Ubuntu Directly over the Web

Diposkan oleh Unknown

If you're doing a fresh installation and you don't have a CD downloaded yet, I can recommend the netboot installer. It let's you download and install the freshest packages from a mirror near you. All you need as preparation is e.g. a USB-Stick that boots into grub. Checkout this howto.

Basically all you need to do is copy the kernel "linux" and the initrd "initrd.gz" to your stick. Then boot them from Grub and you can start your installation.

The great thing about it: During the installation you can chose whether to install Kubuntu, Xubuntu, Ubuntu, etc. And you will automatically get the newest available packages right away. There's no need to fetch and install updates after the installation.

And getting the newest packages right away might save you a lot of trouble because of bad packages in the installation cd. And the network installer itself also gets updated regularly.
More aboutInstall Daily Fresh Ubuntu Directly over the Web

Extensive List of Great Ubuntu Repositories

Diposkan oleh Unknown

The I been to Ubuntu blog just posted a great and extensive list of excellent Ubuntu repositories.

I especially recommend medibutu: (mplayer, codecs, etc.)
deb http://packages.medibuntu.org/ intrepid free non-free
(install the medibuntu-keyring package)

Wine:
deb http://wine.budgetdedicated.com/apt intrepid main
install the key:
wget http://wine.budgetdedicated.com/apt/Scott%20Ritchie.gpg -O - | sudo apt-key add -

Opera:
deb http://deb.opera.com/opera/ stable non-free

VLC:
deb http://ppa.launchpad.net/c-korn/ubuntu intrepid main

and Google: (Picasa, Google Earth, etc.)
deb http://dl.google.com/linux/deb/ stable non-free
deb http://dl.google.com/linux/deb/ testing non-free # for beta versions like picasa 3
wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O - | sudo apt-key add -

There's a great way to install the missing keys: E.g. for Opera just use this command:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 033431536A423791
Replace the number with the one from the error message on sudo apt-get update (without the leading "0x")

Or all in one:
/etc/apt/sources.list.d/custom.list:
#medibuntu
deb http://packages.medibuntu.org/ intrepid free non-free
#wine
deb http://wine.budgetdedicated.com/apt intrepid main
#google
deb http://dl.google.com/linux/deb/ stable non-free
deb http://dl.google.com/linux/deb/ testing non-free
#opera
deb http://deb.opera.com/opera/ stable non-free
#vlc
deb http://ppa.launchpad.net/c-korn/ubuntu intrepid main

And then the keys:
wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O - | sudo apt-key add -
wget http://wine.budgetdedicated.com/apt/Scott%20Ritchie.gpg -O - | sudo apt-key add -
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 033431536A423791
(...)
More aboutExtensive List of Great Ubuntu Repositories

What packages are installed in Debian/Ubuntu

Diposkan oleh Unknown on Saturday, March 14, 2009

Howtoforge has a nice article on how to install the packages you've installed on another computer. It's written for debian and ubuntu systems, including step by step screen shots for doing it in Ubuntu with Synaptic. Here's how you can do the same thing in CLI(also in that article):

sudo dpkg --get-selections "*" > package_list
and
sudo dpkg --set-selections < package_list && sudo apt-get -u dselect-upgrade

Oh and from the article's comments: The method only works well if you use the exact same version of Ubuntu on both computers. Let me add that it only works at all if you have the same /etc/apt/sources.list and sources.list.d/* files on both computers.
More aboutWhat packages are installed in Debian/Ubuntu