Robots w/Lasers

January 18, 2011

FlashDevelop IDE under Linux

POC screenshot of FD running on my Ubuntu. The Flash Player i... on TwitpicJust a quick post to note that apparantly you can now run the Flash development IDE FlashDevelop under Linux via Wine with minimal issues. This is great because IMO it’s the best free environment for writing Flash apps, and until now, it was really only usable on Windows.

Forum post with more details

Filed under: Flash,Software — davr @ 8:15 am

July 8, 2010

Reverse Engineering Obfuscated Javascript

I keep getting these spam emails which are making it past Gmail’s spam filter. Basically, it looks like a ‘delivery failed’ notification, with an HTML attachment which you are supposed to think is the original email. So you click on the attachment and open it, to find out which email you sent failed to go through. I finally got curious enough to see what exactly was going on. Here’s how the email looks like in Gmail:

Spam email screenshot

Here’s the actual full contents of the email (some ip / email addresses removed to protect the innocent)

Filed under: Software — davr @ 9:22 am

March 18, 2009

True AdBlock for Chrome browser

I’ve just discovered a true adblock plugin for Google’s Chrome web browser. What these guys have done, is taken the Chrome sourcecode (aka Chromium), stripped out Google’s tracking features, and added in a clone of AdBlock Plus. There’s no fancy UI for it yet, but it supports real regex ad-blocking, unlike those other hacks that either require you setting your hosts file with a million lines, or some annoying proxy you have to configure, or a silly bookmark you have to click on every page.

Check it out here: SRWare’s Iron. As mentioned in the news, make sure to download adblock.ini and place it into the program directory after downloading.

Enjoy the power of Chrome, with the convenience of adblock!

Filed under: Software — davr @ 7:52 am

September 3, 2008

HDR-like photo fun

I’ve been playing around with making HDR photos from only hand-held shots. Mainly because I’m too lazy to always go and get my tripod, set it up, attach the camera, etc etc. It’s a lot easier to just stand there & take a few shots at different exposures while holding the camera as steady as possible.

In the past, all the HDR processing tools required that your images were taken on a tripod and perfectly aligned, or if they weren’t aligned, it could do some simple corrections, but anything too complex would mess it up.

I’ve tried several applications, including Photomatix Pro, PTGui Pro, and Autopano Pro. I know what you’re thinking, two of those three applications are mainly for automatically stitching panoramas…but it turns out automatically aligning images for panoramas is also very useful for creating HDR images.

My very quick comparison of these HDR / panoramic image apps: Photomatix Pro appears to give the most control over the HDR generation process, and with tweaking, gives the nicest output…HOWEVER it’s not very good at handling images which are not perfectly aligned. Autopano Pro is the best at correctly aligning the images, and for creating panoramas in general, but it sucks at HDR tone mapping, having two sliders with obscure labels, that don’t really make it look very nice.
Finally, there’s PTGui Pro — it’s not the best at aligning, and it’s not the best at the HDR generation, but it’s pretty good at both, so in most cases it gives the best overall results.

Below, you can see an example of a shot I took, that would be impossible without some sort of HDR effect:

Filed under: Photography,Software — davr @ 1:49 pm

August 22, 2008

Simple Cellular Automata Example in AS3

To get a little more experience with ActionScript 3, I wrote up a very simple class which will take a rule number, and then generate a cellular automata based on that.

The movie below requires Flash 9 or above to be installed. Some rules to try out: 90, 30, 73, 110, 150. Valid numbers are 0-255, but not all produce interesting results.

This movie requires a newer Flash Player version

Direct link to flash movie (got some people complaining the SWFObject script doesn't work under Vista)

See Wikipedia for more info, and has a list of all 256 possible results
Here's the code:

Filed under: Flash,Software — davr @ 11:33 am

June 9, 2008

Partial MIDP support on the DS

ole has taken my KVM port to Nintendo DS and added some updates. I haven't played with it much, but he lists the changes as follows.

R3: New features added by Ole:

  • fixed the CLDC implementation (timer, memory size, system properties)
  • added support for reading of the PNG images (code taken from the PhoneMe project)
  • implemented native functions for rendering the basic graphics primitives on the screen
    (lines, rectangles, triangles, images)
  • added support for accepting the JAD files in the application browser
  • added the core part of the Pstros MIDP library
  • added VideoTest example to show how to draw on the screen
  • added '_rebuild.bat' to show how to build and preverify the class files.
    Note WTK installation is required.

This is quite interesting if it is able to run some MIDP-compliant games, but we'll need to do some testing to see how the speed compares to your average mobile phone.

UPDATE: He's made a few more updates since I originally made this post. Be sure to check out ole's site for the latest info and download links.

Filed under: Java,Nintendo DS,Software — davr @ 9:41 am

May 5, 2008

DLDI-support for Mandelbrots

Just a tiny update to my homebrew mandelbrot browser for Nintendo DS. This version merely adds DLDI-support, meaning you should be able to save screenshots as .PNG from pretty much any flashcart. Check the previous post for screenshots, more info, etc. To the right is an actual image saved from the program.

Download r06 .nds

Filed under: Mandelbrot,Nintendo DS,Software — davr @ 9:59 am

December 1, 2007

Freetype2 compiled for NDS

Someone was having trouble compiling it, so I threw this together real quick.
See FreeType's official site for more info on it, but basically it's a library for rendering nice ttf fonts, and it's been compiled so that it can run on Nintendo DS. It wont do anything on its own, this is really only useful for homebrew developers who want to include some sort of nice font rendering. (1.2MB)

It's been compiled with devKitARM r21, no guarantees it will work with any later/earlier version. In fact, no guarantees it will work at all, I haven't actually tested it...but it compiles without any errors. I had to disable two checks in in the configure script, because it kept getting confused when I told it to compile for arm-eabi.

If anyone uses this, would be nice to know, drop me a line in the comment section.

Filed under: Nintendo DS,Software — davr @ 3:20 pm

November 28, 2007

New DS Demos

I've uploaded a new batch of DS demos that are free to download. I've put them on a new page, separate from the old one, so it's easy to see the new ones. There are a bunch of fun looking ones, be sure to check them out!

New Demos Page
Previous Demo Collection

Filed under: Nintendo DS,Software — davr @ 10:17 am

August 8, 2007

Java for NDS?

I know what you're thinking..."That's a horrible idea and you're a horrible person for suggesting it!"

The main problems with Java on DS:
1. Interpreted languages are slower, the overhead is bad on a slower embedded platform
2. No direct memory access. Almost all of the DS hardware is interfaced by reading and writing directly to specific memory locations
3. No primitive unsigned 8-bit types. What were they thinking?

But...I went ahead and did it anyway, just for fun. I didn't start from scratch, I took Torlus's KVM port to GBA and used that as a base for getting it to work on DS. Right now, when it starts, you pick a .class file, and it will run it! In addition, using KNI, I've written a basic wrapper around parts of libnds, enough to read input from the touchscreen/buttons, and to move sprites around.

Download here: -- includes the compiled KVM.nds, some examples along with source code, and instructions on making your own .java files.

To use this demo, place kvm.nds, all the *.class files, and all the *.bin files on the root of your flashcart.
Run kvm.nds, then select a .class file to run. There are a few examples testing various stuff.
Don't forget to DLDI-patch the kvm.nds

Filed under: Java,Nintendo DS,Software — davr @ 8:36 am
Next Page »

Powered by WordPress

Bad Behavior has blocked 10803 access attempts in the last 7 days.