Skip to content

/dev/null

The black hole…

  • Wishlist
  • About Me

Author: ambs

Docker uncategorized

Traefik + Basic Auth + React Preflight

May 8, 2021May 8, 2021ambsLeave a Comment on Traefik + Basic Auth + React Preflight

In the last few days, I needed to configure two Docker containers, one running a static React website (served by nginx) and another one running a Python Flask-based API, both behind Basic Auth (in the future, OAuth, but one step at a time) provided by Traefik. I discovered a couple of different things, both from […]

Machine Learning Perl

Simple Glove.pl Script

March 21, 2021March 21, 2021ambsLeave a Comment on Simple Glove.pl Script

I was playing with GloVe, and noticed it does not ship with any code to run its pipeline. I suspect there are hundred of modules to do that from withing Python, but I decided to do a quick clean script to run that from the command line, and at the same time ready to tune […]

Docker System Administration unix

Docker Swarm + Pritunl + Traefik

March 9, 2021March 14, 2021ambsLeave a Comment on Docker Swarm + Pritunl + Traefik

While some of this information is accurate, I have one main issue with this configuration: with Traefik running in non swarm mode, it is unable to detect containers running on other swarm nodes. 2021 March 14 In the last weeks I’ve been deploying a set of new services in three servers. As I want to […]

XQuery

XQuery and XPath subscripting

January 10, 2021ambsLeave a Comment on XQuery and XPath subscripting

Today I took a long time, together with folks from the eXist-DB Community (thanks Luca Guariento and line0 for the brainstorming), to figure out why a function was receiving a node sequence instead of a single node. The question was why using this code was not working: And fn:lower-case was complaining for receiving a sequence […]

research

On Publishing Quality Journals

December 27, 2020ambsLeave a Comment on On Publishing Quality Journals

I am the editor of Linguamática for more a dozen years. It is a journal on Natural Language Processing, with emphasis on the languages from the Iberian Peninsula. Every time a new issue is published, I use a good amount of hours editing the authors articles. Not just fixing \(\LaTeX\) glitches, that some authors are […]

XQuery

XQuery: Creating Document with Processing Instruction

December 26, 2020ambsLeave a Comment on XQuery: Creating Document with Processing Instruction

Today I stumped on how to create a XML document, storing it in a XQuery variable, that is composed from both a processing instruction and an XML body. While this might seem easy at first, creating the document as once: The truth is that this does not work. Nevertheless, there is a set of ways […]

Computer Science programming research XQuery

Experimenting eXist-DB on Docker

December 13, 2019ambsLeave a Comment on Experimenting eXist-DB on Docker

I’ve been using eXist-DB for some time for the project of the Dicionário da Academia de Ciências de Lisboa, that is being revived from the PDF into TEI, so that a new digital version can be soon released. Recently I needed to update the server where eXist-DB was running, and decided to use a dockerized […]

programming

Abbreviations on TEI

November 10, 2019November 13, 2019ambsLeave a Comment on Abbreviations on TEI

I have been using the Text Encoding Initiative Guidelines to encode dictionaries. I used it originally in Dicionário Aberto, and more recently in a work with the Portuguese Dictionary of the Lisbon Science Academy. In the last week I started teaching a course on Digital Lexicography (do not ask what that is, it is just […]

LaTeX

Plotting functions with LaTeX & Tikz

May 2, 2019May 2, 2019ambsLeave a Comment on Plotting functions with LaTeX & Tikz

I’ve been working on some notes for my students on Neural Networks. I am using Pandoc to write the text, and convert it back to LaTeX for PDF generation, and to HTML, for making the documents available online. In a future post I might talk about Pandoc, but for now, I want to share something […]

Perl programming

Arango::Tango Perl 5 Module

April 17, 2019April 24, 2019ambsLeave a Comment on Arango::Tango Perl 5 Module

(cross posted from blogs.perl.org) I am planning on a new project, and a friend suggested me to look to Arango, as an alternative do Mongo, specially because it includes a graphs query language integrated. As I am not really used to Mongo at all, decided to give it a try. Unfortunately I did not find […]

Posts navigation

Older posts
Newer posts
All Rights Reserved.