News for hackers. Stuff that matters.

xt

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

Re:IRCAnywhere on Tuesday November 03, 2015 @07:27AM (#10499084)
Glowing Bear is helpful on mobile devices without hardware keyboards, still.
Re:Show HN: File.io – Ephemeral file sharing on Wednesday July 29, 2015 @07:50PM (#9972451)
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!

Re:Web vs. native: let’s concede defeat on Tuesday May 26, 2015 @07:56AM (#9604136)
Very cool. But I was surprised to see he chose Mercator.

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

Re:I won't troll IE on Wednesday January 14, 2015 @04:29AM (#8885193)
Sorry, I don't understand
Re:I won't troll IE on Wednesday January 14, 2015 @04:15AM (#8885136)
What about trolling people that reaches for JavaScript to center text? :-)
Re:The Tup Build System on Friday October 31, 2014 @05:20PM (#8541193)
It uses inotify for file systems that supports it.
Re:The Tup Build System on Friday October 31, 2014 @05:18PM (#8541192)
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.
Re:This POODLE bites: exploiting the SSL 3.0 fallback on Tuesday October 14, 2014 @07:02PM (#8456306)
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.
Re:Lapis – A Lua, Moonscript Framework built on OpenResty on Wednesday May 14, 2014 @03:44PM (#7745869)
The community for Lua in general, and specifically for Lapis is much smaller.
Re:Lapis – A Lua, Moonscript Framework built on OpenResty on Wednesday May 14, 2014 @03:41PM (#7745846)
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.

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

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

Re:IRCCloud on Friday November 29, 2013 @08:36PM (#6821885)
Open source weechat web frontend:

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

Re:IRCCloud on Friday November 29, 2013 @08:35PM (#6821882)
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/

Re:Web Framework Benchmarks Round 5 on Friday May 17, 2013 @08:20PM (#5727378)
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.

Re:Web Framework Benchmarks Round 5 on Friday May 17, 2013 @07:59PM (#5727311)
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.

Re:Web Framework Benchmarks Round 5 on Friday May 17, 2013 @07:20PM (#5727178)
The openresty mysql driver is in pure lua. It has a very efficient socket/pooling mechanism, using sockets from nginx.
Re:Web Framework Benchmarks Round 4 on Thursday May 02, 2013 @12:18PM (#5645470)
LuaJit (or optionally Lua)
Re:Frameworks Round 3 on Monday April 22, 2013 @12:57PM (#5590361)
A little too generalized, LuaJIT is winning some of the benchmarks
Re:Web Framework Benchmarks on Thursday March 28, 2013 @11:00AM (#5455172)
I would love to see Openresty tested, for simple json and databases Openresty is a magnificent tool.
It's an alternative to puppet. Biggest difference is built-in remote execution.
It looks to me like both PayPal and HP Cloud are using http://saltstack.com/ to manage their OpenStack clusters.
Re:What's so great about JavaScript Promises? on Tuesday January 29, 2013 @09:22PM (#5137692)
Lua.
Re:600K concurrent HTTP connections with Clojure and http-kit on Monday January 28, 2013 @06:40AM (#5128110)
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
Re:Svbtle Funding on Tuesday January 08, 2013 @01:10PM (#5027449)
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