Archief van de rubriek 'Nerd'

Using Android Debug Bridge with your N1 on Linux

12-09-2010 2010m 15:45 000000000000r door Wieland

So I recently got a Nexus One and, following these instructions, installed the Android SDK on my Linux system to be able to make screenshots and perhaps learn some Android coding.

I enabled usb debugging on the phone and fired up the Dalvik Debug Monitor. To my disappointment, my Nexus One showed up as a row of question marks, and the device was inaccessible.

Running 'adb devices' from the command line, I basically got the same result:

$ adb devices
List of devices attached
????????????    no permissions

After some Googling, here's the fix I found:

1. Create or modify the file /etc/udev/rules.d/99-android.rules to read:

SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", OWNER="user"

(where 'user' is your username). '18d1' is the N1's vendor id. It's different from HTC's (0bb4), even though HTC is the manufacturer. Some other vendor id's are listed here, but the N1 isn't mentioned.

2. Kill the adb server if it's running:

adb kill-server

3. Restart udev:

sudo restart udev

4. Restart the adb server:

adb start-server

5. On your Nexus One, make sure usb debugging is enabled (Settings -> Applications -> Development) and connect the phone to your computer.

6. Your N1 should now show up if you run 'adb devices':

$ adb devices
List of devices attached
HT061P800144	device

Instructions found elsewhere on the web may tell you to put 'MODE="0666" in the rules file created in step 1, in stead of OWNER="user". That will also work, but you'll need to start the adb server as root (sudo adb start-server).

Since it's never a good idea to run stuff as root, I prefer the solution mentioned above. The only drawback is that you'll need to specify the user that'll have access to the device. I'm fine with that, since I wouldn't want other people messing around with my phone anyway.

(I'm running Ubuntu 10.4, but these instructions should work on other distro's as well.)

Chrome OS - first impressions (with screenshots)

21-11-2009 2009m 23:07 000000000000r door Wieland

Last Thursday, Google offered the world a first peek at its upcoming new operating system Chrome OS (Dutch, English). Perhaps more importantly, it released the code as open source. Even though Chrome OS is not expected to hit the market for another year, within hours someone had built an image that you can run on VMWare or VirtualBox. The image is widely available through p2p-networks, so I decided to give it a spin.

(Of course, since it's a precompiled image, it's impossible to tell whether it has been tampered with. Some malicious hacker may have slipped in a key logger or whatnot. Chrome OS requires you to log in using your Google credentials, so you may want to create a new account to make sure your real account stays safe. That's what I did, anyway.)

I fired up VirtualBox and created a new machine. I gave it 1GB of RAM and told VirtualBox we'd be running Debian, the distro Chrome OS is based on. I pointed VirtualBox to the image, and started the machine.
Lees verder... »

Disable Twitter's new tweet notification bar

17-11-2009 2009m 11:55 000000000000r door Wieland

Twitter recently introduced a new tweet notification on it's home page. A yellow notification bar will tell you the number of new tweets that have popped up in your friends' timeline since you last refreshed the page.

New Tweets Notification Bar

If you're a Firefox user like me, and you find the new notification bar distracting, it's quite easy to get rid of. Just find your user style sheet (it's called userContent.css, and it's located in the chrome folder inside your Firefox profile folder), and add the following lines of code:

@-moz-document domain(twitter.com) {
	div#new_results_notification {
		display: none !important;
	}
}

If userContent.css doesn't exist, just create it. Restart Firefox, and the notification bar should be gone. You will still be able to see your unread tweet count in the page title, though.

(I wrote about userContent.css (in Dutch) when it was first introduced in 2005)

iPhone en WiFi

27-10-2008 2008m 22:03 000000000000r door Wieland

Heeft iemand enig idee waarom de iPhone 3G (laatste firmware, geen jailbreak) van mijn vriendin niet op mijn wifi komt, en de mijne (exact dezelfde configuratie) wel? Na invoer van correct wachtwoord (WPA-PSK) zegt-ie alleen 'Verbinden mislukt', dus erg informatief is de foutmelding niet.

De meeste verbindingsklachten elders op internet worden opgelost met aangepaste routerinstellingen, maar als de mijne het wel doet, kan dat het toch niet zijn?

Mac OS X, Ubuntu en NFS

03-06-2008 2008m 22:28 000000000000r door Wieland

NFS share onder Mac OS XIk schreef enige tijd geleden al over mijn pogingen om mijn Macbook en mijn Linuxdesktop aan elkaar te knopen via NFS. Die mislukten jammerlijk, waarna ik voor het aloude AppleTalk koos.

Dat werkte, maar echt handig was het niet: AppleTalk is behoorlijk traag en wordt door Apple zelf niet meer serieus onderhouden. Mac OS X kan er nog mee overweg omwille van de communicatie met oude systemen, maar bij de UNIX-variant die het besturingssysteem feitelijk is, hoort natuurlijk NFS.

Vorige week verving ik de dualboot-setup (Fedora Linux en Windows XP Pro) op mijn desktop door de nieuwe Ubuntu, en besloot ik het nog een keer te proberen, en dit keer met meer succes.

Voor wie met de materie worstelt, lees verder!
Lees verder... »

iTunes' DRM en iMovie

27-05-2008 2008m 23:35 000000000000r door Wieland

itunesscrsht140.pngApple-topman Steve Jobs mag tegen DRM zijn, ondertussen zit zijn muziekwinkel iTunes er nog altijd tjokvol mee. Jammer genoeg is het bedrijf er kennelijk nog altijd niet in geslaagd om andere grote labels dan EMI te overtuigen om die kopieerbeveiliging te laten vallen. Niet voor iTunes althans, want elders op het web is vrijwel alles zonder onzinnige beperkingen verkrijgbaar, ook legaal. Maar doorgaans zijn die winkels dan weer niet toegankelijk voor klanten buiten de VS.

Als muziekliefhebber zit je er mooi mee, zeker als enkele van je favoriete artiesten iets exclusiefs voor iTunes blijken te hebben gemaakt, dat dus alleen met 'FairPlay' (oh ironie!) te krijgen is. Zoals de Live EP van (The) Arcade Fire en David Bowie (2005), waarvan de opbrengst ten goede kwam aan de slachtoffers van de orkaan Katrina.
Lees verder... »

Offline

17-05-2008 2008m 12:00 000000000000r door Wieland

M.'s draadloze router is naar de ratsmodee, zodat haar netwerk voortdurend wegvalt. Geen nood, een nieuwe is besteld en bij mij thuis kunnen we wel online.

Maar wel ironisch dat juist nu deze episode van South Park op internet is verschenen. Volledige aflevering (in groter formaat) hier.

Naaktloperij

09-04-2008 2008m 00:01 000000000000r door Wieland

Het is vandaag CSS Naked Day! Dit is mijn blog in adamskostuum, ter promotie van structurele markup.

(Lees je dit bericht pas na 9 april 2008, bijvoorbeeld omdat je op zoek was naar ondeugende plaatjes, dan slaat dit postje nergens op. Volgend jaar beter.)

Scareware

30-03-2008 2008m 13:28 000000000000r door Wieland

Nepdialoogvenster van nepvirusscanner waarschuwt voor Windows-malware op mijn Macbook

Klik voor meer en groter!

Internet Power!

25-03-2008 2008m 09:20 000000000000r door Wieland

VHS-tape uit 1995 met uitleg over internet. "You'll need a device to access the online world. That device is a Computer, with at least 386 power and 8 megabytes of RAM and has a modem installed that has 14.4 or greater speed or 'baud rate.' And of course, access to a phone line." Let op de demonstratie van Gopher!

(Meer)