iPhone Offline Feed Reader, at last!

Long time no post!

It seems that iPhone developers heard what I was claiming in my last post.

The iPhone users around the world are able to get in touch with their feeds even when far from Wi-Fi hotspots. NewsGator has released NetNewsWire for iPhone:

NetNewsWire

NetNewsWire

It’s only available for devices with software 2.0 (3G or not), because it can only be downloaded in App Store. It doesn’t cost a thing and, so far, woks pretty good. I’m using it with a ruge amount of data: a litte bit more than 2,300 feeds!

I continue thinking that Apple should include this feature in the next version of iTunes: Podcasts and text feeds side-by-side.

By the other hand, I still miss WidSets. I Wish I could use it on my iPhone. Imagine that awesome graphical dashboard in a multitouch 3,5″ screen!

Good memories of WidSets

I used to be happy with WidSets

At that time, I could download my preferred feeds and read them everywhere offline on my Nokia Phone.

Now, using an iPhone, I have a bigger screen, Wi-Fi conectivity, a nice usability due to the multitouch screen and many other advantages of the Apple’s blockbuster. But I can’t read my feeds when I am not near from a hotspot. Ironically, I can download audio and video podcasts from iTunes, synchronize my device and listen/see them later. Why can’t I do the same with my RSS feeds?

There are many iPhone webapps to read RSS (even Netvibes has an iPhone specific version), but no one works offline. Unfortunately, neither WidSets will be the savior because it’s not compatible with iPhone (requires Java MIDP 2.0).

I’ve been looking for an iPhone RSS Reader that works offline. That’s my message:

  • If you know one, please let me know, leaving a comment; I will really appreciate it.
  • If you are a iPhone developer, that’s a good idea of a new application;
  • If you are from WidSets development team, it’s time to code a new version compatible to iPhone;
  • If you are from iTunes development team, feeds (as well as podcasts) downloading an synchronization would be really good feature.

In any case, I will really appreciate it.

A roman inspiration for the Discrete Fourier Transform

CAesAR

Divide et impera (in english, divide and rule): that was one of the main foundations of the political, military and economic strategy of the expansionist Roman Empire. The roman ambition was too big to be achieved without division. They realized that the sum of necessary efforts to perform each part of a divided task may be less than one needed to perform the same task without dividing it.

Playing with algebraic notation without any mathematical or conceptual formalism: if a task that demands an effort T to be performed could be divided in n subtasks, each one with its respective T_i performing efforts, it is intuitive to consider that T_1+T_2+...+T_n=T. Instead, the roman experience establishes the opposite: T_1+T_2+...+T_n<T!

In mathematics and computer science, this “roman insight” is called Divide and Conquer Algorithm: a logical maneuver that breaks a big problem in many little others to (among other benefits) reduce its overall computational complexity. There are many applications of it, but my preferred is the Cooley-Tukey algorithm to process a DFT (Discrete Fourier Transform), most known as the Fast Fourier Transform. A really simple subtlety (breaking the problem into subproblems recursively) makes the problem much easier.

A classical result is to compute the DFT of a sequence with N=2^n elements, N^2 complex multiplications are needed by the original DFT algorithm. If we the Cooley-Tukey algorithm instead, only N \log_2 N multiplications have to be done. Don’t you see big difference? Imagine that you have to process a tiny signal with 1024 samples:

  • Original DFT algorithm: 2^{20} complex multiplications
  • Cooley-Tukey algorithm: 10 \cdot 2^{10}

In this example the FFT, also called as 2-radix FFT (because the sequence is broken recursively in 2 others) is 102.4 faster than the original. If N increases, the difference will be much more than this. What would be the Digital Signal Processing without such subtleties? So, let us divide to conquer.

Ave Cooley and ave Tukey!

New Simulink Blog on MATLAB Central

Just a few months ago, I posted about the blogs on MATLAB Central. There were 4 blogs about MATLAB: Doug’s Pick of the Week, Inside the MATLAB Desktop, Loren on the Art of MATLAB and Steve on Image Processing.

All those blogs are quite good, but it was too much attention for MATLAB itselft and nothing specific for Simulink. This injustice no longer exists. there’s a brand new exclusive Simulink Blog: Seth on Simulink (http://blogs.mathworks.com/seth/). I recommend it for all who uses this powerful but not worthly explored simulation tool (I think most people strangely prefers coding rather than connecting blocks!).

Yahoo! Pipes and Widsets Widget for MATLAB Central Blogs were updated. Check it out:

Yahoo! Pipes

Add to my Widsets

From the stock exchange straight to MATLAB

Many creative and interested MATLAB files are posted on MATLAB Central. This week, I knew one extremely useful for those who use MATLAB to handle mathematical models for analizing stock quotes behavior and forecasting: Historical Stock Data downloader posted by Josiah Renfree. It makes possible to download stock data from Yahoo! Finance website straight to MATLAB workspace by a simple command line.

For example:

stock = hist_stock_data(’01012007′, ’08022008′, ‘PBR’);

Returns date, open, high, low, close, volume, and adjusted close price adjusted for dividends and splits of Petrobras ticker on NYSE between the dates given.

It’s also possible to retrieve multiple ticker information at once, and even to read a file with a list of symbols desired. Yahoo! Finance provides data from other Stock Exchanges than NYSE: NASDAQ, Bovespa, London Stock Exchange and others.

To make my own analysis – before using it – I used to go to financial websites, copy the historical data, paste in a spreadsheet and only than export to MATLAB variables. Because of this hard work, the mathematical models were only fed by a few selected tickers. But now, I can scan the whole spectrum of stocks and select the best ones based on my criteria. It really makes the analysis much easier and more comprehensive.

Scientific American Math Feeds Widget

For those who appreciate to read math articles, and specially for who reads Scientific American Math Section, that’s a way to get in touch everywhere using your mobile phone: a brand new WidSets widget I created:

Sciam Math Widget

To add it to you dashboard, click the button bellow:

Add to my Widsets

If WidSets sounds unfamiliar to you, spend a few minutes reading an introductory post that I wrote about it.

Back to the classes

Last week I got an enjoyable novelty in my mailbox: the acceptance letter of Masters application. I applied to Postgraduate Electrical Engineering Program at UFRJ (Federal University of Rio de Janeiro) in Electronics/Signal Processing area.

I am very glad to be accepted for many reasons:

  • First of all, I am thirsty of breathing the academical air. I stopped breathing it since I interrupted the masters I was taking at UFPE (Federal University of Pernambuco – also in Electrical Engineering Program in Signal Processing area. I am sick and tired of only reading papers. I do want to write them too!
  • UFRJ’s Electrical Engineering Program owns a fantastic reputation in the academia and industry as well. It is on top of Brazilian Ministry of Education ranking.
  • The diversity and quality of the faculty members is awesome: most of them with a huge amount of publications, an intense research activity and some really active members of IEEE.
  • Besides all of this, (at least here in Brazil) Masters is a necessary step to the Doctorate studies.

I am really motivated to get started, but I need to wait until march.

It’s not a bird, a plane, much less the Superman

It’s been a long time since my last post! I’ve had fabulous vacation days in my hometown in Northeastern Brazil: Recife. But there was something strange in one of the pictures that I took at Cinco Pontas Fort (formerly known as Frederick Henrich Fort by the Dutch Colonizers who build it in 1630). I just wanted to photograph the Recife’s flag and I saw that elliptical thing on the top of the picture.

UFO Recife

Since nobody knows how to explain what it is (at least so far)… it can be considered an UFO. It doesn’t look like a bird, a plane, much less the Superman. I am not such an extraterrestrials believer and not a photography expert neither. So, if you know what it could be, please leave a comment.

Mashing up the MATLAB Central Blogs

Although there are many sites, blogs and other resources about MATLAB on the web, one is worth be the frequently accessed by users: MATLAB Central, an official exchange area for users community. Inside, there are 4 blogs I like:

  • Loren on the Art of MATLAB: Loren Shure works on design of the MATLAB language at The MathWorks. She writes here about once a week on MATLAB programming and related topics.
  • Doug’s Pick of the Week: Doug is an Application Engineer at The MathWorks. A MATLAB user since 1994, he gets paid to live, eat, and breathe MATLAB! Each week, he highlights a submission from the File Exchange that he finds useful or interesting.
  • Steve on Image Processing: Steve Eddins manages the Image & Geospatial development team at The MathWorks and coauthored Digital Image Processing Using MATLAB. He writes here about image processing concepts, algorithm implementations, and MATLAB.
  • Inside the MATLAB Desktop: The MATLAB Desktop team, comprised of eight developers, builds the main user interface for MATLAB, including the Command Window, the Editor, and the Current Directory browser.

Using pipes again, I decided to join the four feeds (what also includes some podcasts) into one:

MATLAB Blogs Pipe
http://pipes.yahoo.com/dilsonlira/matlab_central_blogs

If you use Netvibes, add it to your page:

Add to netvibes

To get this feed into your mobile phone, I also created a WidSets widget:

Add to my Widsets

Mobilizing the feeds with WidSets

I’ve been following the developments of Nokia Beta Labs very closely. I do that not only as a customer, but as an enthusiast of mobile computing and mobile communications. There are many interesting applications I’ve tested on my phone, some of them I continue using and some I don’t think they are so useful. So far, my preferred is WidSets: a Java application that aggregates feeds, simple games, web search tools and other widgets in a custom dashboard that can be managed on a PC. It’s a kind of Netvibes on a mobile phone.

Dashboard

 Widgets, aggregators, social bookmarking and all these web 2.0 stuff make our lives much easier when we are using a PC. Certainly, they are much more valuable on a device full of limitations: a keyboard is hard to type, limited memory and (in many cases) charged usage. It’s such a calvary to open up a mobile browser, type a url and, only for that point on, start surfing on the web. At least for me, 70% of internet time is spent accessing the same few sources, most of them could be (and really are) bookmarked and the updates read by rss feeds, not the website itself. So, in a mobile phone, much more than any other device, the content should be easily accessible. Considering this, WidSets fits very well.

It’s interesting to know that it’s not only compatible with Nokia phones, it’s free and there are thousands of available widgets and if you want, create your own. Supported by a growing developer community and a well documented API, you can download the SDK and start coding. But, if you are not a geek or simply don’t have time for that (including myself), it’s really easy to create a new feed widget with just a few clicks. After that, you can keep it private or publish to other users also enjoy.

I have already published some feed widgets (most in portuguese language) in my WidSets page, including this blog’s feeds. So, if you like to read my feeds on your mobile phone, become a WidSets user put Manoel Lira’s Blog widget on your dashboard.