Index ¦ Archives  ¦ Atom  ¦ RSS

SSH on Spotty WiFi

Mon 05 December 2011

If you've ever been a place where the WiFi isn't great and tried to SSH into a computer, you've likely noticed the high latency (lag) between keypresses and results. This is because each packet takes a while to reach the target and come back, usually being sent multiple times by …continue

Continue reading →


Enyo - Service Components

Thu 20 October 2011

A feature I totally missed before and only saw after reading the db8 tutorial. If you have a service that you call different methods of, you probably do what I used to do:

enyo.kind({
    ...
    components:[
        {name:"downloader",kind:"PalmService",service:"palm://com.palm.downloadmanager/"}
        ...
    ]
    ...
    startDownload:function(){
        this.$.download.call …
continue

Continue reading →


Enyo - JustType-ish Functionality

Thu 20 October 2011

Yet again, here's another bit of Enyo goodness. Inspired by Preware, I really love it when an app accepts keyboard input straight off the bat. I don't have to click anything, I can just start typing and it knows what I want to do. That's what JustType is on the …continue

Continue reading →


pygame - "video system not initialized" error

Sun 09 October 2011

I got this error every time I tried getting an event in pygame, so I had just put a try-catch and hoped it would go away. Turns out, the init check is done for almost every pygame.key function too so I got stuck. I spent a lot of time …continue

Continue reading →


WebOS's Weekly App Hack 10-05-11

Sat 08 October 2011

Welcome from the Palm Developer blog! Looking for binaries?

Having trouble posting your app or an update to your app using the provided sdltts? Either you're missing features or you want/need a callback from the method when it's done, or maybe you want only a few text strings in …continue

Continue reading →


PDK - Minimum Event Loop

Sat 08 October 2011

I recently worked on re-creating this week's Weekly App Hack's hybrid plugin, sdltts. It was compiled for the device and basically closed-source, only mentioning the library it used. I'm going to post the necessary code to make it later, but first I'm posting what I found to be the …continue

Continue reading →


Firefox needs to invest more in Electrolysis

Mon 03 October 2011

I recently moved to a many-core system from years in a dual-core computer. When I moved, I continued my same Firefox habits such as multiple tabs but I started opening multiple windows too since I also have more screen space. However, it turns out ALL of these tabs and windows …continue

Continue reading →


Django Models without Apps OR Everything Django Truly in a Single File

Sun 02 October 2011

This problem has bugged me for a few years actually, I have tried over and over again to use a single file for all of a Django projects' python code. This has proved very possible as long as your project did not have models, because no tutorial or howto online …continue

Continue reading →


Enyo - VirtualLists and Other Transforms in Toasters

Fri 30 September 2011

Recently, Chrome went to 14 and many people got background updates to it. Turns out that in Chrome 13, rendering of -webkit-transforms changed handling of z-index's. Well, that means a Toaster that isn't webkit-transform'd and has a background suddenly pops up on top of anything that is webkit-transformed, such as …continue

Continue reading →


Enyo - Device-based Assets

Fri 30 September 2011

With multiple screen sizes available for Enyo apps, it's likely that you want a single Enyo app to work on both phones, tablets, and anything else that may come out (HP or otherwise). The code below is a simple way of separating tablets from phones, but can easily be upgraded …continue

Continue reading →

© Fahrzin Hemmati. Built using Pelican. Theme by Giulio Fidente on github.