Luc Stepniewski's Blog
Luc Stepniewski's Blog
Skip to content
  • About
  • Author
  • Privacy Policy

Blocking NAPTR DNS queries from Asterisk pjsip

The reason: Asterisk kept querying a ultra slow (Orange) server for NAPTR records (from pjsip), making calls very slow (needed to wait at least 5 or 6 rings before the call could go on!). You would answer “but you just need to add a disable_naptr = yes in the pjsip.conf file! Well, no, I did, […]

in Uncategorized | 212 Words

Three different ways to connect two Go services with gRPC

I couldn’t find a single article explaining the different ways of connecting two Go applications using gRPC. After many tries, I came to the final 3 most useful ways to go: Basic connection, no security First, and easiest, is to not use TLS at all and not require any certificate. This mode is most useful […]

in go, grpc, language | 648 Words

Unexpected change in Neovim configuration storage

I just noticed that none of my neovim configuration parameters were read today (yes, I know, it’s been a while I moved to atom for my Go programming). As of today, they were stored in the ~/.nvim  directory and the main confiugration file was ~/.nvim/nvimrc . I checked the content of my configuration file, without seeing […]

in software, vim | 133 Words

Bye bye vim powerline, hello airline

[edit: You can find a really nice summary of airline on vimawesome] It is quite a pain to have some nice status line with vim. For this, until now, I was using the powerline module, that was cool, but has major drawbacks.

in software, vim | 347 Words

Combining jQuery Mobile and Flask-WTF may give you headaches, or why dashes suck in Python variable names

I thought developing using Flask on the backend and using jQuery on the front-end (navigator) would be quite easy. In fact it is, but there are some small traps that can take you time to resolve. A regular case would be, when developing a form, to use Flask with WTForms (Flask-WTF to the rescue!). No […]

in flask, framework, javascript, python, web | 202 Words

Book Review: Tactics Time! 1001 Chess Tactics from the Games of Everyday Chess Players

I’ve been subscribed to Tim Brennan’s newsletter (sent out every week) for quite some time now, so when he wrote this cool book on chess tactics, I was really delighted.  I was even more delighted when I saw that it is written in collaboration with Anthea Carson. All my kids know her for her animal chess […]

in chess, review | 185 Words

Fail2ban Configuration for NGINX anomalies

Fail2ban is a really cool log analyzer (mostly) that can block ips using several different methods (iptables, ipfw, ip route blackhole, etc.). The problem is that you have to define filters (regexes in fact) that will trigger the ban for each service, because each one has a different way to report anomalies. There are not […]

in network, security | 233 Words

New version of chess PGN to TeX to PDF converter

OK, I’m shameful. After fighting with Scid’s exporter, and then correcting bugs in pgn2ltx’s source, I finally decided to take a look at that PGN file format. And guess what? It’s already composed of FEN notation. And guess what? that super-über cool new skaknew module for LaTeX gets its input as FEN!!

in chess, kid, latex, python | 353 Words

Updated mate-in-one document, now includes chess coordinates

Update: A new updated version of the PDF is available, which includes which side to play. After a request to have coordinates on the board, to be able to write answers (a really nice idea, especially that Ido begins writing), I noticed I couldn’t do it so easily, because the LaTeX module (chess12) didn’t support […]

in chess, kid, latex | 542 Words

Auto-provisioning with Asterisk and ST2030 Technicolor/Thomson phones

An introduction to the ST2030 The ST2030 is one of the few SIP phones distributed by Thomson (now changed name to Technicolor). In fact there are only 2 models: the ST2020, and the ST2030, and also a new one, the TB30, which is the successor to the ST2030. The ST2030 is supposed to have an […]

in asterisk, software, voip | 2,069 Words

Post navigation

Bitcoin Donations

Recent Posts

  • Blocking NAPTR DNS queries from Asterisk pjsip
  • Three different ways to connect two Go services with gRPC
  • Unexpected change in Neovim configuration storage
  • Bye bye vim powerline, hello airline
  • Combining jQuery Mobile and Flask-WTF may give you headaches, or why dashes suck in Python variable names

Recent Comments

  • Portable Franz on HOWTO Installation of OpenWRT on a WGT634U usb router
  • Security Company Manchester on Security patching WordPress themes against Cross-Script Attacks (XSS)
  • Murat on Security patching WordPress themes against Cross-Script Attacks (XSS)
  • güvenlik kamerası on Security patching WordPress themes against Cross-Script Attacks (XSS)
  • Pim Bollen on How to recover from Cyrus when you have some DB errors

Blogroll

  • Aïkido Club Asnières
  • All Japanese all the time
  • Cours de Japonais
  • Gradstein Family Tree
  • OxyRadio, Webradio Libre
  • Twisted Matrix

Subscribe in a reader

Chess Puzzle of the Day

Tag Cloud

Advanced Message Queuing Protocol asterisk automatic autoprovisioning chess children click to dial code consumers deployment Development Tools dhcp direct example http server Internet protocols kid latex learning mate mate in one mediawiki one originate pdf pgn programming protocol provisioning puppet python python projects round-robin ruby script sip sip phones stomp stompy Technicolor tests tftp Thomson unittests voip

Archives

  • December 2024
  • September 2018
  • January 2016
  • February 2014
  • February 2013
  • December 2012
  • December 2011
  • December 2010
  • September 2010
  • August 2010
  • January 2010
  • December 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • September 2008
  • April 2008
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • September 2006
  • June 2005
  • February 2004
  • December 2003
  • November 2003
Independent Publisher empowered by WordPress
Mastodon