Author Archive


Dockered kaiwa image

Kaiwa is a modern web based client for XMPP, forked from the original O-Talk project and rebranded. I’ve created a docker image from the fork at https://github.com/ForNeVeR/Kaiwa which is used at jabber.ru amongst others. The docker image can be found at https://hub.docker.com/r/sstrigler/kaiwa/. I’ve also created a docker image of the node-xmpp-bosh component that can easily […]

let’s do the timewaste again – or just another example on how some popular JavaScript libraries or frameworks freak me out

Let’s talk about code quality and about quality of documentation. One example. I’m using underscore. So there is ‘findWhere’ on collections. All you can get is “Just like where, but directly returns only the first model in the collection that matches the passed attributes.” Ok, fine, you might say, but what if it doesn’t find […]

Dockered tinyproxy for dev environment

The other day I was looking for a solution to replace my Charles based proxy setup for our legacy system’s dev environment. Mostly because a colleague doesn’t have a license and didn’t want to pay for it. And we’re only using it for a single use case. The functionality they call “Map Remote”. Basically it […]

Compile MongooseIM on OS X with openssl

Another tricky thing I always struggle with: Get MongooseIM compiled on OS X (since they removed openssl). So if you have openssl installed via homebrew just do diff –git a/apps/ejabberd/rebar.config b/apps/ejabberd/rebar.config index c693471..4e5ff1f 100644 — a/apps/ejabberd/rebar.config +++ b/apps/ejabberd/rebar.config @@ -8,8 +8,15 @@ {require_otp_vsn, “R?1[678]”}. {port_specs, – [{“.*”, “priv/lib/tls_drv.so”, [“c_src/tls_drv.c”], [{env, [{“LDFLAGS”, “$LDFLAGS -lssl”}]}]}, – {“.*”, […]

Erlang with openssl using kerl on recent OS X (El Capitan, Sierra) with homebrew

Since I struggle with this every time I have to setup a new machine, here’s the best solution IMHO: https://github.com/kerl/kerl/issues/103#issuecomment-176704372 In short $ cat ~/.kerlrc KERL_CONFIGURE_OPTIONS=”–with-ssl=/usr/local/opt/openssl” CFLAGS=”-DOPENSSL_NO_EC=1″

Otalk IM

A customer of mine asked for a WebRTC based, self hosted solution. So I started investigating and stumbled upon the great Otalk IM Client. Unfortunately it has not been maintained for a while. I decided to go with it nonetheless. I updated dependencies as required to make them work with latest stable NPM (3.x) and […]

CORS and basic authentication with cowboy and XmlHttpRequest

So this seems to be anything but straight forward so I document here for the sake of it. Note that you may not require an Authorization header for the preflight OPTIONS request, you may not set Access-Control-Allow-Origin to the wildcard in that case but to the originating domain specifically, of course Access-Control-Allow-Credentials must be set […]

jwchat.org Updates

I have been working a lot on my XMPP service at jwchat.org recently. The idea was to bring you more security, privacy and modern features. In detail what has changed: Use letsencrypt to automatically create and renew SSL certificates for all domains hosted (jwchat.org, x-berg.de and blogsport.eu currently). Updated DB-Schema to be able to support […]

Migrate ejabberd DB schema (mysql) from 2.1.x

Hiya! Long time no see. So I was upgrading my beloved ejabberd a while back and when I looked closer I found that most of the new functionality just wouldn’t work. Mostly because my ejabberd’s DB schema dating back to some 2.1.x install didn’t fit anymore. So but how to upgrade? After playing weird ideas […]

Random Rant on Ubuntu/Linux

Dear Ubuntu or whom it might concern, I understand or lets say, I’ve learned after a fresh install your default email client is thunderbird. Lets rather call it a strong suggestion instead of default cause default would mean you could seamlessly switch away from it. Which you can’t. Anyway. At the same time I discovered […]