Index ¦ Archives  ¦ Atom  ¦ RSS

Cara generation finished

Tue 02 December 2014

Generation of python from schema files is finished!

Continue reading →


Cara generation method changed; delayed

Mon 01 December 2014

Up until this week, cara had been outputting its schema files something like this:

import cara
ann = cara.Annotation(name='ann', type=cara.Text)
class MyStruct(cara.Struct):
    field1 = cara.Field(name='field1', type=cara.Int32)

However, this causes various problems due to capnp allowing use of types declared later …continue

Continue reading →


Cap'n proto alternative RPC API in the works

Wed 26 November 2014

Having started a new project that requires RPC, but without the benefits (and restrictions) imposed by my previous employer, I've gone on a detour towards building another RPC layer. However, knowing that building the entire layer from scratch is both a waste of time for me and would just add …continue

Continue reading →


Switchblade Protocol Reverse Engineering

Fri 20 June 2014

Ever since I was looking at the G13, I was really looking for an extra screen to put on/near the keyboard. I wanted a way to show updates from various things running the background, especially around my workflow at the time, which consisted of multiple (Linux desktop) workspaces each …continue

Continue reading →


Better Pebble Javascript

Wed 26 February 2014

In one of my apps, I was including a few libraries, and the resulting code was getting rather large and hard to manage. I also couldn't get it to work when the files were separate, so I was working with them all in the same file. Having some experience with …continue

Continue reading →


Pebble Development with C++ on the mind - Part 2

Mon 24 February 2014

Do you want to use C++ on the Pebble but sad that you can't? Well you're in luck! It's now possible! Continued from Pebble Development with C++ on the mind (Part 1).

All you have to do is alter the wscript file to enable proper compilation, actually. But if you …continue

Continue reading →


Pebble Development with C++ on the mind

Sat 08 February 2014

I've recently been working on Pebble smartwatch development, but I've spent the past 7 years in a C++ and Python based world, whether it was web development with Django, a C++ webserver, or a myriad of Python-based tools and frameworks. With C++ and Python, ignoring class hierarchies and many of …continue

Continue reading →


Mint Plus (Braava) Hacking

Sun 26 January 2014

I'm sure many Mint Plus owners have noticed the USB port, and quite a few have even hooked it up to their computer to find out what it does. Sadly, by default, it does nothing. Now before you go pressing all the buttons, here's what you should not do:

Do …continue

Continue reading →


PiCloud cloudpickle

Fri 10 January 2014

There are quite a few implementations for this problem, but none of them worked quite as well. picloud's cloudpickle is great!

The problem: You have a python function on one computer that you want to execute on the other. The naive way is rather simple, but you quickly run into …continue

Continue reading →


Build Target Requirements

Thu 09 January 2014

While thinking about my previous post, hermetic build systems, I realized that while a file-generating rule can be the basis, the most important rules are the binary rules, so a 'genrule' must have the option to output binaries.

Also, the binary rules must have the ability to get all the …continue

Continue reading →

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