Yann’s Blog

October 21, 2009

The old IGB is no longer supported, register workaround

Filed under: EVE-Central — Yann @ 9:38 am

The old IGB is no longer supported, and we are busily removing all references, hacky workarounds, and alternate styles in the code base which were brought about by its brain dead behavior. However, this means registering on the site will be problematic.

As a workaround, please visit http://eve-central.com/users/ directly to register. We will be implementing the new IGB access methods soon, so you can register from SiSi.

October 20, 2009

Migration of beta to live, new performance improvements

Filed under: EVE-Central — Yann @ 8:03 pm

Loyal EVE-Central.com users,

I just migrated the open source beta site to the main site. Along with the improvements comes a new caching framework which should make the API and site much more responsive during peak hours. If you see any anomalous behavior, please leave a comment so I can take a look at it.

Also, as a quick update on Contribtastic (another infamously delayed project), things are moving along. This performance improvement and code migration was required in order to better support the added load expected with the cache reading uploader. Soon you too will have a cache reading uploader. (Here we insert a witty picture along the lines of “Yes, you can’t have a pony”, but Google image search is letting me down).

Have a nice day or evening!

October 16, 2009

The WikiReader: Cool device, future hackability

Filed under: Hardware, Software — Yann @ 10:27 pm

So, I got a WikiReader. The first thing I would like to say is that this device is very very hard to open (and yes I did remove the two screws in the battery compartment :) ). I haven’t attempted a full disassembly yet as I actually like the main functionality, and didn’t want to completely obliterate the case just yet.

Here is the WikiReader, unpacked. I wasn’t expecting a nice box and manual (even the iPhone doesn’t come with that), but was very pleasantly surprised.

Apologizes for the very poor picture quality – these are simply iPhone snaps – I didn’t take the time to break out the 5D.
wikireader_slick

The two main complaints I have so far are the scrolling of text and the keyboard. The scrolling makes the text largely unreadable – there are some different display techniques here which could improve the display. The keyboard could also take a few cues from Apple, such as the magnified key presses, which would go a long way to improving usability. There are some other bugs in the contents (such as the lack of full UTF-8 support), but those are minor at this point.

Aside from those complaints, this device is actually quite slick. The performance is EXCELLENT. Random takes no more than a second to load the next article, search automatically filters based on your entry very quickly, and the history feature even remembers where you were in an article. The device is light and portable, and the whimsical asymmetric design is a nice touch and not over-done.

But enough with the quick mini review, what technical fun toys are there for you to play with?

Well, the WikiReader has a built in calculator – while powering up the device, hold the center (History) button.
wikireader-calc

There is also a factory test mode available – while powering up the device, hold either the Search or Random button:
wikireader-debug

As you likely (can’t) see in the image, the bulk of the functionality is a set of Forth applications, including the aforementioned calculator. They’re largely there for factory test, but at least one of them lets you draw pretty pictures.

Not drawn using the draw application, but another LCD test app – you don’t want to see my artwork
wikireader-picture

The WikiReader also contains a thermistor, which appears to be there for maintaining LCD contrast automatically:
wikireader-temp

Last but not least, there is a Console, which probably is exposed in the hidden programming/debug port available in the battery compartment (peel off the big white rectangular sticker – not the FCC/CE/Regulatory sticker).

October 12, 2009

Whats new at beta.eve-central.com

Filed under: EVE-Central, Software — Yann @ 9:20 am

Our open-source beta-site has been getting some updates recently:

  1. New alpha trade-finder, which can do route combining and removes some superfluous garabage which can’t be traded.
  2. Streamlining some of the layout code to remove IGB dependence (to help us get a better design for the new in game browser
  3. New upload methods to work with Contribtastic
  4. Small cleanups across the board

There is still work pending on the continuously updated statistics engine (with caching), replacing our very aging market reports system. The exact implementation direction is not yet determined.

If you want to poke at the code, it is also available under the AGPL 3.0 license.

October 9, 2009

AutoBand: Play Rock Band 2 using OpenCV

Filed under: EVE-Central, Hardware, Software — Tags: , — Yann @ 10:59 am

I took some time to learn a bit about computer vision, using OpenCV. The end goal here is to produce a Rock Band playing “robot”, using nothing but a specially modified controller (a AT90USB + bunch of FETs) and a computer with a video capture input.

Below is a video of my first attempt at using OpenCV. It applies several filters to isolate the keys on the racetrack approximately 2 frames ahead of the goal position. The primary heuristic right now is a threshold detect filter after all of the isolation steps. If you watch closely, you can see missed or over-pressed keys, especially when the whole racetrack lights up.

Note that the video output has an overlay color square which announces the software has detected a keypress. The actual gameplay is from another YouTube video – there is no closed loop control yet.

This will take some more tuning to iron out differences, possibly preserving some state from frame to frame. Right now color information is not used, but a separate classifier pipeline and some scoring mechanic might produce better results.

I will publish the git repository with the very-alpha implementation soon.

Powered by WordPress