Posts

Dev: Lambert 93 / Latitude et Longitude

Parfois les données sur la  plateforme ouverte des données publiques françaises , quand il s'agit des coordonnées géographiques, sont publiées dans le système de coordonnées Lambert 93 . Pour utiliser ces données sur une carte comme Leaflet il faut convertir les coordonnées en Latitude et Longitude ou le système WGS84 - World Geodetic System 1984, utilisé pas le GPS. Pour cela le plus simple c'est d'utiliser PROJ  ou un de ports existants comme https://github.com/proj4js/proj4js en JavaScript. Si les fichiers sont fournis avec le ficher prj , le mieux c'est d'utiliser cette chaine de caractères qui défini la projection en tant d'un paramètre d'entrée et le système WGS84 comme paramètre de sortie: var fromProjection = 'PROJCS["RGF_1993_CC49",GEOGCS["GCS_RGF_1993",DATUM["D_RGF_1993",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJE

Dev: PlantUML + VS Code + GitLab

Image
I was looking for a way to share some details of implementation with my colleagues and in the same time to have it as a documentation on which we could collaborate and evolve it. It also should have been visual to have a better understating on composition. I could of course draw it from scratch using any existing drawing tool, but since I had quite a lot of types to put on, I gave up on the idea of never-ending copy/pasting from code to the diagram. Fortunately, one of my colleagues suggested me to try PlantUML . I gave it a try using an online editor and was surprised by the efficiency and the speed my diagram started to get in shape. It's much more easier to write a text and the syntax is very intuitive, so why bother with drawing and aligning those boxes while you can just leave it on PlantUML? We did a quick additional research and found that there is also a neat VS Code Extension that allows to have a preview on every update. So the next target was to automate the gen

Debug: WER and WinDbg

Image
Windows Error Reporting (WER) provides a very useful information for debugging production issues, especially when it comes to the unhandled exceptions. CLR integrates WER seamlessly and gives everything you need to track the issue. WER generates an event log record which gives you a path to the .wer file. A common .wer file contains a section of Problem Signatures Sig[0].Name=Problem Signature 01 Sig[0].Value=WerTest.exe Sig[1].Name=Problem Signature 02 Sig[1].Value=1.0.0.0 Sig[2].Name=Problem Signature 03 Sig[2].Value=5b68a7e8 Sig[3].Name=Problem Signature 04 Sig[3].Value=WerTest Sig[4].Name=Problem Signature 05 Sig[4].Value=1.0.0.0 Sig[5].Name=Problem Signature 06 Sig[5].Value=5b68a7e8 Sig[6].Name=Problem Signature 07 Sig[6].Value=1 Sig[7].Name=Problem Signature 08 Sig[7].Value=5 Sig[8].Name=Problem Signature 09 Sig[8].Value=System.NotImplementedException Here Problem Signature 07 and Problem Signature 08 are very important pieces of information to find t

How-To: Install node.js on Amazon AMI Linux (EC2)

I was looking on how to install node.js on an EC2 instance running Amazon AMI Linux via a package manager. Since Amazon AMI Linux is based on RHEL and it is a sort of a minimal/basic install of Red Hat Enterprise Linux it is possible install node.js using yum .  Just run: sudo yum install nodejs npm --enablerepo=epel Please note that in order to update node you should also use --enablerepo=epel . You may also permanently enable EPEL repository by modifying /etc/yum.repos.d/epel.repo . Under [epel] section, replace enabled=0 by enabled=1 .

BigData intro at Ciklum's Speakers' Corner

Image
On March 11th I was speaking at Ciklum's Speakers' Corner about introduction to the big data. First of all I'd like to thank the HR department of Ciklum especially Rimma and Alexandra  for giving me this opportunity and the great place at Ciklum's SkyPoint . And of course I'd like to thank the everyone who came to this event for very nice professional discussion and good questions. I really appreciate your feedback, I already see few areas where I could improve my presentation skills as well as to ameliorate the topic of discussion, I think it is very important to keep in touch with the audience. For me also, I was happy to talk about the things I'm interested in and to find the like-minded people which could be a good start for a big data community in Ukraine. The presentation it-self is available here .

Books: Hadoop: The Definitive Guide

A huge and exhaustive book Hadoop: The Definitive Guide by Tom White is basically everything you need to understand the Hadoop and the "Zoo" of frameworks and libraries build on top of it. Lots of examples and detailed explanations including also chapters on how to set it up and administer. Indeed a guide to start to use your big data.

Books: Ethics of Big Data

Ethics of Big Data by Kord Davis is quite philosophical book about the ethical issues of collection and exploitation of the BigData. I would say it's more oriented to the CTOs and general management audience then to the developers. It contains an interesting analysis of the Fortune 50 privacy policies and also suggests a comprehensive framework for facilitating ethical discussions in the business environment.