Erlang: How to integrate C with Erlang program example or Erlang NIFs (Native Implemented Functions) usage

Erlang NIF (Native Code Functions) example. Basically article shows how to connect the library written in C and compiled with GNU gcc to the erlang code. That is very important when speed optimisation is required for some Erlang code piece. Example is very basic and just shows types conversion between two languages.


Read complete article: Erlang: How to integrate C with Erlang program example or Erlang NIFs (Native Implemented Functions) usage

PHP 5.4 prominent updates. Like php file uploads & mysql query result

A few days ago I have looked through the changes that were applied to PHP in its last  release of PHP 5.4 and was impressed by them. I think that small version number change brought the changes that could be compared to the ones that added real OOP to PHP language. So, I decided to review briefly some of them. Hope somebody will find this article interesting....


Javascript hash functions to convert string into integer hash.

A collection of hash functions implemented in Javascript. Functions are useful for browser-side string processing, but as far as server side scripting in Javascript becoming more and more popular, these functions may be helpful for server side scripting too. if you just want to have a good hash function, and cannot wait, djb2 is one of the best string hash functions i know.


Select text on any site and tweet - enhanced twitter bookmarklet

have started using tublr some time ago and really love its bookmarklet features (and actually the service itself too). So, I decided to implement bookmarklet that implements at least one of the features I like - ability to tweet selected text.

Read complete article: Select text on any site & tweet - enhanced twitter bookmarklet



Simple way to post selection to Facebook - enhanced Facebook bookmarklet

Just looked to standard Facebook bookmarklet and found that it does not allow to select some text and share it with friends. As I would like to be able to do this and as far as I have already implemented similar twitter bookmarklet, I decided to create and publish Facebook one too.


Read complete article: Post selection to Facebook - enhanced Facebook bookmarklet


Erlang geocoding wrapper for Google Geocoding service (Google Maps v3)

I have just published an article in my blog about accessing Google geocoding service from Erlang and published wrapper module for Google geocoding cervice on GitHub. It is based on Google Maps V3 cervice, as Google Maps v2 is going to be depricated soon.