Category Archives: curious

Getting information from IPs

earth

Posts come very slowly, but here’s another one.

This post won’t be useful for most people :-(. You know when you use google analytics and get that fantastic map showing where people connect from? Read this, and you will learn how to do it yourself.

Tell me how

Advertisements

Leave a comment

Filed under code, curious, gis, Maps

C Mask Creation & intel sal

c_logo
It’s been a while since I posted something, but recently I did not work in anything at all, just playing some Zelda and reading some books (and yes, I will post about the books someday).

Right to the matter at hand. It has been noted to me that my C skills are rusty (god damn it!), so I decided to play a little with it implementing a small dissassembler for ARMv7 binaries (just ARM instructions, no thumb or anything else). And indeed, I found myself in some trouble.
more

Leave a comment

Filed under code, curious

Python: Command Line waiting feedback. And some Background on why!

4.2.39 Escape sequence
A string of bit combinations that is used for control purposes in code extension procedures. The first of these bit combinations represents the control function ESCAPE.
ECMA-48 Control Functions for Coded Character Sets

more

1 Comment

Filed under code, curious, tips

Qgis – Color to layer attribute


Recently I was working with some data layers in QuantumGIS, playing to decide the proper color combination for my visualization. The result had to be presented in a web environment using OpenLayers.

The point is. I define and check the visualization in Qgis, and then I want to export the results to be served as a OpenLayers Vectorlayer, or as a Mapserver layer. Of course, with the color defined in Qgis.

Openlayers and Mapserver give the option to read the color from an attribute value (here and here). Maybe there is an easier way, but in this case I developed a small plugin to export the current visualized color into a specific layer attribute.

Screenshots

humm… more

1 Comment

Filed under code, curious, gis, Maps, tools

Flatland: A romance on many dimensions

Seems that I’m on a combo of good reads (Endurance, CODE and now Flatland).

This is the story of a square living on a 2D world and how it becomes aware of the 3D world. Does not sound interesting? well, I think it is.

The book was written in 1884 as a satirical novel on the Victorian stratified society, and an examination of different dimensions. Nowadays is still interesting, at least for the definitions on various dimensions.

If you run into a printed copy buy it! is one of those novels that I would love to have in my shelf. If you are planning to buy any digital version, stop right here! There’s an online version in HTML at the Minnesota Science and technology center. Is not difficult to use Calibre or Online convert to obtain a nice ebook for your reader.


Online version at the Minnesota Science and technology center ⇒GO
Online Convert ⇒GO
Calibre ⇒GO

Leave a comment

Filed under books, curious