image

RANLP 2009: Unsupervised Extraction of False Friends from Parallel Bi-Texts Using the Web as a Corpus

September 14, 2009
Today I presented at the prestigious scientific conference RANLP’2009 a research paper about new methods of extraction of false friends from parallel corpora, which is a major part of my PhD thesis. The article is named “Unsupervised Extraction of False Friends from Parallel Bi-Texts Using the Web as a Corpus” and was accepted after passing
image

About the ASP.NET Persistent Authentication Cookies Timeout

September 9, 2009
Most people using ASP.NET Form Authentication use the built-in <asp:Login> control that works fine but when we use a custom login form we have the follofing problem: the cookie expiration timeout in ASP.NET Forms Authentication for persistent and non-persistent sessions uses the same value. It is defined in Web.config in the timeout attribute of the
image

Disable Certificate Validation in Java SSL Connections

July 16, 2009
By design when we open an SSL connection in Java (e.g. through java.net.URL.openConnection(“https://….”)) the JSSE implementation of the SSL protocol performs few validations to ensure the requested host is not fake. This involves validation of the server’s X.509 certificate with the PKIX algorithm and checking the host name agains the certificate subject. If the SSL
image

JAX-RS, @Path, @PathParam and Optional Parameters

July 15, 2009
In a recent Java project I needed to develop and provide to external clients a RESTful Web Services interface to an internal system. After some research I found that using JAX-RS and its open-source implementation Jersey with Spring and Hibernate as back-end will be great technologies stack for this project. Seems easy but unfortunately I
image

Universal Relative to Physical Path Converter for Windows Forms / ASP.NET / WPF / Console Apps

July 14, 2009
The .NET Framework does not provide standard functionality for resolving a path relative to the application root to a physical file system path. Thus in ASP.NET Web applications we need to use Server.MapPath(), but in console and Windows Forms / WPF applications we need to rely on the current directory. Moreover if we run a
image

Embedding a Font into Web Application

July 9, 2009
Most people believe that Web applications should use only standard fonts like “Arial” and “Courrier New”. I think so (at least for the moment) but sometimes Web designers use non-standard fonts and you find out about this few months later. What to do? How to make the application behave correctly? Embed the Non-Standard Font into
image

Seminar for PHP Developers: PHP on the Microsoft Platform

June 23, 2009
I am invited to be а speaker at the upcomming seminar for PHP and Web developers that will focus on the integration of PHP with the Microsoft technologies and platforms. The speakers will demonstrate how to run PHP in IIS and how to integrate PHP and .NET applications. My talk will focus on the technologies
image

Close Win32 Handle from External Process

May 16, 2009
Today I researched how to implement in C# a method that forces a COM port to close when it is open by another process. This was found to be a complex task that involves using undocumented Win32 API functions. I didn’t finish it because I found another way to workaround the problem but the idea