HNHacker News
TopNewBestAskShowJobs

xt

204 karma · joined May 31, 2011

Developer/hacker from Norway.
submissionscomments
xt··on Let’s Encrypt client will transition to a new name and a new home at EFF
I've been working on a script that does this within Nginx. See https://github.com/torhve/lua-resty-letsencrypt

It's not quite production ready but it shows you it's technically possible

xt··on IRCAnywhere
Glowing Bear is helpful on mobile devices without hardware keyboards, still.
xt··on Show HN: File.io – Ephemeral file sharing
Personally I use http://filebin.net/ which has nice and simple looks and uses Drag & Drop for easy uploading. Source available at : https://github.com/espebra/filebin

It is made in Flask and is licensed in AGPL.

Project comes with Vagrant and Puppet-files for easy deploy!

xt··on Web vs. native: let’s concede defeat
This is what you want => http://bettermotherfuckingwebsite.com/
xt··on Printing a wall-sized world map and what I've learned from it
Very cool. But I was surprised to see he chose Mercator.

See: https://xkcd.com/977/

xt··on I won't troll IE
Sorry, I don't understand
xt··on I won't troll IE
What about trolling people that reaches for JavaScript to center text? :-)
xt··on The Tup Build System
It uses inotify for file systems that supports it.
xt··on The Tup Build System
I use tup in my web projects to monitor my folders for things to "compile". This includes CoffeScript, MoonScript, SASS/SCSS, Less and more. Very fast and painless.
xt··on This POODLE bites: exploiting the SSL 3.0 fallback
Here's relevant nginx configuration to disable SSLv3:

  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  ssl_ciphers EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:EECDH+RC4:RSA+RC4:!MD5;
  ssl_prefer_server_ciphers on;
This ciphersuite is recommended by CloudFlare.
xt··on Lapis – A Lua, Moonscript Framework built on OpenResty
The community for Lua in general, and specifically for Lapis is much smaller.
xt··on Lapis – A Lua, Moonscript Framework built on OpenResty
If someone is eager to try Lapis I have a Dockerfile available here:

https://github.com/torhve/lapis-docker

it includes a readme for getting started with Openresty in general.

xt··on Show HN: Mogo Chat – open-source team chat app written in Elixir and Ember.js
And also sexy web frontends for existing IRC client WeeChat: http://cormier.github.io/glowing-bear/

Source: http://cormier.github.io/glowing-bear/

xt··on IRCCloud
Open source weechat web frontend:

http://torhve.github.io/glowing-bear/

xt··on IRCCloud
I'm involved in a weechat web frontend which solves some of the problems.

If anyone's curious, here it is: http://torhve.github.io/glowing-bear/

xt··on Web Framework Benchmarks Round 5
I haven't benchmarked the mysql drivers, so results might be different there.

There's some work being done by openresty author w.r.t. ffi for openresty itself, it might yield interesting results. And yes, I think both the option you listed are viable. But the lua drivers already perform very well.

xt··on Web Framework Benchmarks Round 5
I benchmarked the pure postgresql lua driver to be ˜3 times as fast as the nginx-postgresql-c driver. When you use the nginx drivers from a lua context you have to use an internal nginx request to that location, so there's some overhead.

If you want to improve even further on the lua drivers, LuaJIT FFI is probably the right answer.

xt··on Web Framework Benchmarks Round 5
The openresty mysql driver is in pure lua. It has a very efficient socket/pooling mechanism, using sockets from nginx.
xt··on Web Framework Benchmarks Round 4
LuaJit (or optionally Lua)
xt··on Frameworks Round 3
A little too generalized, LuaJIT is winning some of the benchmarks
xt··on Web Framework Benchmarks
I would love to see Openresty tested, for simple json and databases Openresty is a magnificent tool.
xt··on Paypal To Drop VMware From 80,000 Servers and Replace It With OpenStack
It's an alternative to puppet. Biggest difference is built-in remote execution.
xt··on Paypal To Drop VMware From 80,000 Servers and Replace It With OpenStack
It looks to me like both PayPal and HP Cloud are using http://saltstack.com/ to manage their OpenStack clusters.
xt··on What's so great about JavaScript Promises?
Lua.
xt··on 600K concurrent HTTP connections with Clojure and http-kit
I like what agentzh has done with lua + nginx. But his benchmarks are also showcasing how it works compared to other popular solutions. Check it out at http://agentzh.org/misc/slides/libdrizzle-lua-nginx.pdf
xt··on Svbtle Funding
I liked the minimlistic approach of Svbtle, so I created a super simple Git+Markdown-based blog that draws inspiration from Svbtle.

Check it out: http://hveem.no/simple-blogging-with-lua-and-git