Better HN
topnewbestaskshowjobs
Log inSign up

xt

204 karma · joined May 31, 2011 (15y ago) · 30 submissions

Developer/hacker from Norway.
Submissions

comment 10y ago · link · parent

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

comment 11y ago · link · parent

Glowing Bear is helpful on mobile devices without hardware keyboards, still.

comment 11y ago · link · parent

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!

comment 11y ago · link · parent

This is what you want => http://bettermotherfuckingwebsite.com/

comment 11y ago · link · parent

Very cool. But I was surprised to see he chose Mercator.

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

comment 11y ago · link · parent

Sorry, I don't understand

comment 11y ago · link · parent

What about trolling people that reaches for JavaScript to center text? :-)

comment 12y ago · link · parent

It uses inotify for file systems that supports it.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

11.

NeoVim Newsletter Issue #2(neovim.org ↗)

136 points · by xt · 12y ago · 15 comments

comment 12y ago · link · parent

The community for Lua in general, and specifically for Lapis is much smaller.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

And also sexy web frontends for existing IRC client WeeChat: http://cormier.github.io/glowing-bear/

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

comment 12y ago · link · parent

Open source weechat web frontend:

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

comment 12y ago · link · parent

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/

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

The openresty mysql driver is in pure lua. It has a very efficient socket/pooling mechanism, using sockets from nginx.

comment 13y ago · link · parent

LuaJit (or optionally Lua)

comment 13y ago · link · parent

A little too generalized, LuaJIT is winning some of the benchmarks

comment 13y ago · link · parent

I would love to see Openresty tested, for simple json and databases Openresty is a magnificent tool.

comment 13y ago · link · parent

It's an alternative to puppet. Biggest difference is built-in remote execution.

comment 13y ago · link · parent

It looks to me like both PayPal and HP Cloud are using http://saltstack.com/ to manage their OpenStack clusters.

comment 13y ago · link · parent

Lua.

comment 13y ago · link · parent

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

27.

Getting started with Salt, remote execution&configuration mgmt in python(linuxjournal.com ↗)

2 points · by xt · 13y ago · discuss

comment 13y ago · link · parent

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

29.

Y Combinator startup 9gag seemingly stealing content(reddit.com ↗)

7 points · by xt · 14y ago · discuss