News for hackers. Stuff that matters.
Re:G-WAN - Web Application Server by derleth on Thursday June 14, 2012 @12:42AM (#4109804)
From the site (which seems to disallow copy-paste):

> The next time someone feels the need to publicly call G-WAN's (1-page) license "weird" or "insane", look at what they sell and who they get their revenues from. Unlike for G-WAN, what they offer is not free for all.

They have redefined the word 'free' into a fine mist if they expect you to believe Apache and nginx are not free. They're doing something I've seen done before; oddly, it was mainly being done by Usenet trolls.

Re:G-WAN - Web Application Server by wh-uws on Thursday June 14, 2012 @01:12AM (#4109891)
Slightly off topic but a hobby I've picked up recently is breaking web based "no copy/paste" schemes.

Usually people map onmousedown,click,oncontextmenu, etc. events or some permutation there of to return false and have an alert that say's something to the effect of "no copying!"

You can easily defeat those by mapping whichever function to null on your javascript console. ie:

  document.oncontextmenu = null
The Gwan guy's solution threw me off a bit because I was looking for another javascript version to no avail.

In an interesting twist they've actually used css. That is every vendor permutation of.

  user-select: none;
To disable that use your favorite developer tools and remove those styles from whichever element you want to copy..
Re:G-WAN - Web Application Server by pokoleo on Thursday June 14, 2012 @01:15AM (#4109906)
Build + Release a browser extension - I'd download it.
Re:G-WAN - Web Application Server by loungin on Thursday June 14, 2012 @01:55AM (#4110015)
Do you have Firebug for Firefox (press F12 to bring it up) or the Developer Tools (Ctrl-J) for Chrome? They make it trivial to toggle/edit CSS attributes on webpages.

In GWAN's case (using Firefox) the rule was:

p, h1, h2, h3, h4, ul, ol, legend, label { -moz-user-select: -moz-none; }

Re:G-WAN - Web Application Server by chc on Thursday June 14, 2012 @02:03AM (#4110043)
There are already quite a few out there. Search your favorite browser's extension archive for something along the lines of "enable right click." (For example, Firefox has RightToClick.)
Re:G-WAN - Web Application Server by unimpressive on Thursday June 14, 2012 @01:01AM (#4109858)
>They're doing something I've seen done before; oddly, it was mainly being done by Usenet trolls.

Every time I read something off that webpage my mental voice uses my Japanese "Engrish" accent to read it. So I can't say that I was really surprised when I saw that. (I'm actually getting the vibe that the lead developer may have lost a few of his marbles.)

At the same time it totally took a shotgun to the guys credibility when he implied that projects like nginx aren't free but G-WAN is.

Re:G-WAN - Web Application Server by cdcarter on Thursday June 14, 2012 @01:14AM (#4109898)
Just wait to you get to the part where he suggests that instead of rewriting URIs you should just use the servers cache function to cache to a static page with a very low expiry.
Re:G-WAN - Web Application Server by mnutt on Thursday June 14, 2012 @01:13AM (#4109896)
I may be giving them too much credit, but I believe the author is referring to the proprietary software companies who would presumably steal G-WAN, rename it, and sell it. Their argument is still ridiculous, but I don't think they're talking about the Apache and nginx projects.
Re:G-WAN - Web Application Server by eropple on Thursday June 14, 2012 @01:17AM (#4109911)
That might be what he tried to mean, but that's not what he's saying. What he wrote says that anyone who wants to see the source code is an evil Snideley Whiplash software companies, and telling you to "see what they're selling" (or that they're "end users" who don't need to see anything at all, pay no attention to the man behind the curtain!).