Posts Tagged ‘Cross-platform software’
Saturday, December 18th, 2010
I always wondered that there must be a way to catch friends off guard when they are invisible. Luckily I came across Python’s XMPP library which helped me. On ubuntu Linux you can install this module using apt.
1
| $ sudo aptitude install python-xmpp python-dnspython |
The complete script is as below . Open gedit or Vim and copy pate the below code. Save it as “track_invisible_users.py” Don’t forget to replace the username and password fields
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| import xmpp
#constants
USER_ID = "youruserid@gmail.com"
PASSWORD = "yourpassowrd"
SERVER = "gmail.com"
jid=xmpp.protocol.JID(USER_ID)
C=xmpp.Client(jid.getDomain(),debug=[])
if not C.connect((SERVER,5222)):
raise IOError('Can not connect to server.')
if not C.auth(jid.getNode(),PASSWORD):
raise IOError('Can not auth with server.')
C.sendInitPresence(requestRoster=1)
def myPresenceHandler(con, event):
if event.getType() == 'unavailable':
print event.getFrom().getStripped()
C.RegisterHandler('presence', myPresenceHandler)
while C.Process(1):
pass |
After this run
python track_invisible_users.py
Tags: computing, Cross-platform software, Free software, Gedit, GNOME, google talk, GTK, guard, invisible users, Linux, Python, Python's XMPP library, R, Technology/Internet, Ubuntu, Vim Posted in Python | 18 Comments »
Tuesday, August 31st, 2010
Don’t get surprised when you wake up tomorrow & you log on to your Gmail inbox to check your mails, you find sonething new on the left hand side taskbar. Google has this uncanny knack of surprising people & here comes a new funda called the priority mail. The Priority Inbox allows important emails to surface and stay up top, pushing the less relevant stuff into the background. When the Priority Inbox fails, well, you can train it by using the +/- buttons that are part of the new menu.
Google’s official homepage has lots many things to say. It says, Priority Inbox can help save you time if you’re overwhelmed with the amount of email you get. It attempts to automatically identify your important incoming messages and separates them out from everything else. Gmail uses a variety of signals to prioritize your incoming messages, including who you emailed most frequently and which messages you’ve recently opened as opposed to which messages
you’ve deleted.When you click the Priority Inbox navigation link on the left-hand side of your mail, you’ll see messages grouped in three sections: Important and unread, Starred, and Everything else.If Priority Inbox mistakes an email as important or doesn’t flag one that’s important to you, you can teach it to make better selections. Just select the message in question, and click the “mark as important” or “mark as not important” button; they’re the buttons with plus and minus icons just to the left of the Move to and Labels drop-down menus.
When you mark a message as not important, it will move out of the Important section. Over time Priority Inbox will learn what’s important to you and incorporate the feedback you give via these buttons.The signals that Gmail uses to prioritize your email are never surfaced to other users — they’re only used to prioritize your mail for you. So if you always ignore email from Bob and those messages are marked as “not important” in your inbox, it won’t affect how Bob sees the conversation in his inbox. Exciting stuff. I am pretty excited about the new feature.
Don’t get surprised when you wake up tomorrow & you log on to your Gmail inbox to check your mails, you find sonething new on the left hand side taskbar. Google has this uncanny knack of surprising people & here comes a new funda called the priority mail. The Priority Inbox allows important emails to surface and stay up top, pushing the less relevant stuff into the background. When the Priority Inbox fails, well, you can train it by using the +/- buttons that are part of the new menu.
Google’s official homepage has lots many things to say. It says, Priority Inbox can help save you time if you’re overwhelmed with the amount of email you get. It attempts to automatically identify your important incoming messages and separates them out from everything else. Gmail uses a variety of signals to prioritize your incoming messages, including who you emailed most frequently and which messages you’ve recently opened as opposed to which messages you’ve deleted.When you click the Priority Inbox navigation link on the left-hand side of your mail, you’ll see messages grouped in three sections: Important and unread, Starred, and Everything else.If Priority Inbox mistakes an email as important or doesn’t flag one that’s important to you, you can teach it to make better selections. Just select the message in question, and click the “mark as important” or “mark as not important” button; they’re the buttons with plus and minus icons just to the left of the Move to and Labels drop-down menus.
When you mark a message as not important, it will move out of the Important section. Over time Priority Inbox will learn what’s important to you and incorporate the feedback you give via these buttons.The signals that Gmail uses to prioritize your email are never surfaced to other users — they’re only used to prioritize your mail for you. So if you always ignore email from Bob and those messages are marked as “not important” in your inbox, it won’t affect how Bob sees the conversation in his inbox. Exciting stuff. I am pretty excited about the new feature.
Tags: Computer-mediated communication, computing, Cross-platform software, E-mail, email, Gmail, Gmail interface, Google Inc., priority email, priority mail, Technology/Internet, Web 2.0, World Wide Web Posted in Ajatus | 1 Comment »
Tuesday, October 20th, 2009
The world of data storage is up for a massive shift. A whole new breed of scalable data stores is gaining popularity & that too the pace is too fast for traditional databases to recoil & grapple with. I am afraid to say, but they are starting to look like a thing of past. The whole data tier is being shaken up as Memcached appears right next to MySQL. While some might see it as a move away from MySQL and PostgreSQL, the traditional open source relational data stores, it’s actually a higher-level change. Much of this change is the result of a few revelations.
A relational database isn’t always the model or system for every piece of data. They are tricky to scale (especially if you start with a single monolithic configuration–they aren’t distributed by design), when it comes to performance normalization hurts.
The new data stores vary quite a bit in their specific features, but in general they draw from a similar set of high-level characteristics. Not all of them meet all of these, of course, but just looking at the list gives you a sense of what they’re trying to accomplish.
- de-normalized, often schema-free, document storage
- key/value based, supporting lookups by key
- horizontal scaling
- built in replication
- HTTP/REST or easy to program APIs
- support for MapReduce style programming
- Eventually Consistent
And I could probably list another half a dozen qualities that many of them share too. But to me, the first two are the biggest departure form the traditional RDBMS. Of course, you can stick with MySQL and go non-relational.
The movement to these distributed schema-free data stores has begun to use the name NoSQL. You can find the overview of some of the implementations by GeekTantra here.
Tags: Cross-platform software, Database, Database management systems, Databases, Memcached, MySQL, NoSQL, PostgreSQL, RDBMS, Relational database, SQL, Technology/Internet Posted in Database | 6 Comments »
Friday, October 9th, 2009
 Empathy for pidgin
The choice is yours.Such is the power of open source.But that doesn’t mean that there are no favourites.Vi editor is the most used text editor while open office remains the most powerful office suite platform.Gimp is a lovely image editor.And if we talk about Instant messaging client Pidgin has been ruling the roost. But things are moving fast, fast enough for Pidgin earlier known as Gaim(GTK AOL Instant messenger).
 Empathy Screenshot
The new kid off the block is known as Empathy which rides on a new framework providing a real-time communication on Linux desktops.Empathy is another instant messaging program which supports numerous networks and has lots of features.The project was introduced into GNOME with release 2.24 as the desktop’s messaging client. Empathy was built to take advantage of the new Telepathy framework which enables system wide communication not previously possible.Empathy also utilizes libpurple (the same library as Pidgin) and as such inherited support for all of its networks from the onset. Although a young project, it has quickly grown an impressive set of features, including the geolocation of contacts and support for video and audio chat over both XMPP (Jabber) and SIP. The XMPP protocol is used by numerous networks, including Google Mail and is considered a very important feature of the application.
Empathy, which literally translates as ‘in feeling’, is the capability to share and understand another’s emotions and feelings. It is often characterized as the ability to “put oneself into another’s shoes”.
Telepathy framework has three main benefits:
Real-time: Telepathy supports instant messaging (both one-to-one and in groups), voice calls and video calls; it’s less suited for store-and-forward applications like email.
Unified: Many different programs can take advantage of these communications; Telepathy lets these programs work together.
Framework: Telepathy allows the different aspects of communication handling to be divided between different parts of the system, meaning each part is simple.
The GNOME project has adopted Telepathy into the environment so that all applications can have system-wide communication. Just where this technology will take the desktop is not yet clear, but the possibilities are endless. This simple game of Sodoku is a good example of what’s possible with the Telepathy framework.Due to its use of the Telepathy framework, Empathy can tie itself into the desktop far more closely than Pidgin ever could.As free software improves over time and applications come and go, it only stands to reason that what is a common tool today might not be tomorrow. The fact that there is lots of choice is naturally a good thing, after all, competition encourages innovation. It is sad to see Pidgin replaced in GNOME because it has been (and continues to be) a great instant messaging client.
Install empathy
s
Tags: Comparison of instant messaging clients, Cross-platform software, Empathy, Extensible Messaging and Presence Protocol, GNOME, GTK AOL Instant messenger, Instant messaging, Linux, Pidgin, store-and-forward applications, Technology/Internet, Telepathy, XMPP protocol Posted in OpenSource Software | 22 Comments »
|