News for hackers. Stuff that matters.
Re:Ophal – A Lua web platform by hbbio on Thursday August 28, 2014 @07:56AM (#8236782)
Funny it sounds like Opa (opalang.org).

That said, there is already openresty http://openresty.org which is an incredibly well-managed project, plus Lapis which also seems right in many aspects http://leafo.net/lapis/

I'm not judging, but the license of openresty and lapis also is more usable for many (vs. GPL v3).

Re:Ophal – A Lua web platform by kator on Thursday August 28, 2014 @10:38AM (#8237384)
Openresty transformed my thinking about the ability to scale something around a web service. I've built some really high scale and low latency (10ms) systems using openresty compiled with LuaJIT that beat out solutions written in pure C/C++/Java and Python.
Re:Ophal – A Lua web platform by Red_Tarsius on Thursday August 28, 2014 @08:14AM (#8236816)
Thank you for the info!

I just noticed that the developer of lapis also made the itch.io marketplace. As a matter of fact, itch.io was built with lapis.

Re:Ophal – A Lua web platform by leafo on Thursday August 28, 2014 @02:32PM (#8238887)
Indeed :) It's got great performance, glad I chose Lapis to build it. Handling millions of requests and tens of of thousands of payments on a 10 dollar VPS.
Re:Ophal – A Lua web platform by sdegutis on Thursday August 28, 2014 @10:45AM (#8237414)
tl;dr of the "The birth of Ophal project" page[1]:

The author was doing PHP work for many years, fell in love with Lua, and decided to port PHP to Lua.

But it's quite difficult to fully verify this, as I can't find a single code example anywhere on this site.

[1] http://ophal.org/blog/birth-ophal-project

Re:Ophal – A Lua web platform by CrowderSoup on Thursday August 28, 2014 @10:56AM (#8237476)
From the link you shared: > It is not married with a particular technology

Except that from what I can tell jQuery is bundled by default...

Re:Ophal – A Lua web platform by tete on Thursday August 28, 2014 @02:05PM (#8238753)
Yesterday I came across this and was surprised that such great development environments and ecosystems exist for a languages which such a small hype.

I know, hype and good tools are not necessarily related, but I still find those tools really amazing and still it stays under most people's radar.

https://www.youtube.com/watch?v=wPYvJxFxMkM

Re:Ophal – A Lua web platform by swah on Thursday August 28, 2014 @07:07AM (#8236660)
This point "Mostly written in JavaScript" in the sidebar is confusing. If Lua is the superior language people are going from JS here, why advertise that its written in JS? Also why write in JS?
Re:Ophal – A Lua web platform by darklajid on Thursday August 28, 2014 @07:42AM (#8236741)
That's taken from here [1] and probably wrong.

1: https://www.openhub.net/p/ophal/factoids

Re:Ophal – A Lua web platform by swah on Thursday August 28, 2014 @08:01AM (#8236792)
Ooops, I didn't know that was being used. Damn AI!
Re:Ophal – A Lua web platform by datashaman on Thursday August 28, 2014 @07:43AM (#8236742)
That seems to be a widget from OpenHub, which probably has an algorithm (like Github) that analyzes the codebase looking for dominant language.
Re:Ophal – A Lua web platform by bshimmin on Thursday August 28, 2014 @10:26AM (#8237333)
And presumably it found jQuery in there (like Github often does).
Re:Ophal – A Lua web platform by notacoward on Thursday August 28, 2014 @07:07AM (#8236659)
I know it's probably supposed to be pronounced like "Opal" with a slightly aspirated 'p' but I keep wanting to pronounce it "offal" or even "awful" instead. As silly as that is, it might actually put some people off trying the code.
Re:Ophal – A Lua web platform by nzmsv on Thursday August 28, 2014 @10:08AM (#8237247)
Perhaps the name is intentional. After all, this is intended to be the guts of a website...
Re:Ophal – A Lua web platform by mhurron on Thursday August 28, 2014 @07:52AM (#8236768)
But "Awful" could be the new good. I personally would be very tempted to use something called Aweful.
Re:Ophal – A Lua web platform by bshimmin on Thursday August 28, 2014 @10:24AM (#8237322)
"awful" did originally mean "awe-inspiring", but its meaning has drifted away from that quite dramatically over time.
Re:Ophal – A Lua web platform by micampe on Thursday August 28, 2014 @02:17PM (#8238817)
I looked it up because I found your remark interesting:

> awful (adj.)

> c.1300, agheful "worthy of respect or fear," from aghe, an earlier form of awe (n.), + -ful. Replaced Old English egefull. Weakened sense "very bad" is from 1809; weakened sense of "exceedingly" is by 1818.

Turns out the word that actually changed meaning is “awe”:

> awe (n.)

> c.1300, earlier aghe, c.1200, from a Scandinavian source, such as Old Norse agi "fright;" from Proto-Germanic ^agiz- (cognates: Old English ege "fear," Old High German agiso "fright, terror," Gothic agis "fear, anguish")[…]

http://etymonline.com/index.php?term=awful

http://etymonline.com/index.php?term=awe

Re:Ophal – A Lua web platform by possibilistic on Thursday August 28, 2014 @12:04PM (#8237895)
There is already an awful in lua.

http://awesome.naquadah.org/doc/api/