this is a fast note where i want to share with you, very useful linux commands that i've found. this is a succinct cheat sheet for newbie linux coders and system administrators, documenting some of the more obscure and useful gems of linux lore. intended to be viewed in emacs org-mode, or VimOrganizer, though any text editor will suffice.
when you want to create a listview and face the problem of some duplicated items, and don't know how to fix. what turns out is, android recycles views when scrolling. if there is already a view object that just needs different data then that view will be passed in with the convertView parameter. if this happens the code simply returns the same view again. this explains why you see duplicated items on your listview.
pixel language source code has been made open (finally)!
don't know what pixel is? check here.
as you may know, i'm rewriting it completely to c++, and for now i've reimplemented the lexical analyzer (of course there is so much to get better) but the main core of the lexical analyzer is implemented.
I have some friends that recently traveled to Atacama Desert in Chile. As always, everytime someone I know goes to a special place, I ask them to bring me rocks from that place. It's a kind of habit I have of collecting rocks/minerals from different places.
As you may have seen, the developer options is hidden on Android 4.2 (like an easter egg, IDK).
But there is an easy way to take it back.
As an App Engine developer (particularly with Python), I find my self in need of tools to help me in many ways. So, while searching through Chrome Web Store for App Engine and web developer tools, I found cool stuff there, and gathered the top 3 of my choice.
This article will guide you in the creation of a simple webservice with Python. This is really simple, you just have to create a folder, and create the server.py and the client.py files and run it in the terminal.
What we are going to implement is an ListView with a fast scroller using AlphabetIndexer where the user can scroll it using the fast scroller thumb! We will use a CursorAdapter class where the cursor with the data from the database is passed.