lunes, 10 de agosto de 2015

New ISO 3166-1 implementation for Pharo Smalltalk

Introduction If your application lists any of Yugoslavia, Czechoslovakia, South Yemen, USSR, Serbia and Montenegro countries then you have an obsolescence problem. The same as if it doesn't known about South Sudan, Jersey or East Timor. Geopolitical map has changed, countries around the world have dissolved, merged and new ones were created. As of August 2015, ISO web site lists 249 official countries....

jueves, 16 de abril de 2015

Iliad 0.9.4 is out

Installation I have updated the Iliad Web Application Server to load properly in Pharo 4 (good tutorials here and here). All tests passes. As usuall you can load it from the Configuration Browser or by evaluating the expression: Gofer it smalltalkhubUser: 'hernan' project: 'Iliad'; configuration; loadStable Usage Start the Iliad Web Application Server in port 8888 using the Comanche/Kom Web Server...

sábado, 28 de febrero de 2015

LanguageDetection API Client in Smalltalk

Introduction Language Detection API is a service to query the language of a given input text. You will need to register an API key in the web site http://detectlanguage.com to use the service. This client enables to use the service from Pharo Smalltalk. The output is an object containing the language code, a confidence score and a 'is reliable' boolean value. Installation Inside Pharo, open the Configuration...

miércoles, 25 de febrero de 2015

StNER: Interface to the Stanford Named Entity Recognizer

Introduction StNER provides a Pharo Smalltalk interface to the Stanford Named Entity Recognizer (NER). The Stanford NER recognizer is an implementation of a Named Entity Recognizer, used for tagging raw text which is a central task in Information Retrieval and Natural Language Processing. The input is a sequence of words in a text, and the NER classifier - using already trained data - try to recognize...

GADM: Access to Global Administrative Areas in Smalltalk

Introduction GADM is a high-resolution spatial database of the location of the world's administrative areas for use in GIS and similar software. GADM is freely available for academic and other non-commercial use. The data contained in GADM was collected from spatial databases provided by NGO, National Governments, and/or maps and list of names available on the Internet (e.g. from Wikipedia). Administrative...

sábado, 7 de febrero de 2015

Application Security 3: Setting your password rules

The post you are reading is about password enforcement rules in the Application Security package, released as Open Source on March 2014 for the Pharo Smalltalk community. Rules which you can set up are: Increase the password length, which results in increasing the number of combinations search space. Increase the size of character set, to increase the number of password combinations. The default...

lunes, 2 de febrero de 2015

Pharo Smalltalk Scripts, part 1

These are some scripts and tips I used in my daily developement with Pharo Smalltalk in the last years. Hope you find them useful: Parsing XML with DOM You can instantiate and parse a XML DOM parser with one line of code: (XMLDOMParser parseFileNamed: 'fao_country_names.xml') firstNode allElementsSelect: [ : each | each localName = 'geographical_region' ]. NeoCSV You can quickly parse...

jueves, 15 de enero de 2015

GSoC over the years

I have collected some information on the accepted Google Summer of Code for Smalltalk projects over the last years. Please let me know if you want to improve it. If your browser cannot display the embedded frame, try opening in another window...