Nov 01, 2013; 14:14
Jewett, Greg
Slightly OT: [$1000 Lasso Rosetta Contest]
Check out the LOLCODE. I found this very humous to read. Wow!
What a very cool site! ;-)
<?LassoScript
loop(100) => {^
local(root = math_sqrt(loop_count))
local(state = (#root == math_ceil(#root) ? '<strong>open</strong>' | 'closed'))
'Door ' + loop_count + ': ' + #state + '<br>'
^}
?>
HAI 1.3
I HAS A doors ITZ A BUKKIT
IM IN YR hallway UPPIN YR door TIL BOTH SAEM door AN 100
doors HAS A SRS door ITZ FAIL BTW, INISHULIZE ALL TEH DOORZ AS CLOZD
IM OUTTA YR hallway
IM IN YR hallway UPPIN YR pass TIL BOTH SAEM pass AN 100
I HAS A door ITZ pass
IM IN YR passer
doors'Z SRS door R NOT doors'Z SRS door
door R SUM OF door AN SUM OF pass AN 1
DIFFRINT door AN SMALLR OF door AN 99, O RLY?
YA RLY, GTFO
OIC
IM OUTTA YR passer
IM OUTTA YR hallway
IM IN YR printer UPPIN YR door TIL BOTH SAEM door AN 100
VISIBLE "Door #" SUM OF door AN 1 " is "!
doors'Z SRS door, O RLY?
YA RLY, VISIBLE "open."
NO WAI, VISIBLE "closed."
OIC
IM OUTTA YR printer
KTHXBYE
________________________________
Greg Jewett
Senior Network and Domain Administrator
Signature Science, LLC
(512) 533-2027 gjewett@signaturescience.com<mailto:gjewett@signaturescience.com>
Save a tree! Don't print this e-mail unless it's necessary.
Be the Solution!
On Oct 31, 2013, at 04:25 pm, Sean Stephens <sean@lassosoft.com<mailto:sean@lassosoft.com>> wrote:
Blue Hats
In a recent dialogue with a University, I stumbled across a neat site comparing various development languages, their style and rules, through various examples. The site is aptly named after the Rosetta Stone;
http://rosettacode.org
Out of 516 languages Lasso did not appear. Not even once.*
As part of my promise to start a new chapter actively and aggressively promoting Lasso 9 outside of the existing Lasso community, we at LassoSoft made the decision to have some fun this month and see how many examples we could get entered into this system in the shortest amount of time possible. This is a completely third-party site - and we have no reason to pick on them except that Lasso is completely underrepresented as a language in this public forum.
THE CONTEST: LassoSoft will pay $1000 CDN cold hard cash to the individual who best represents us on this website by adding and updating the most examples on this site.
Note that this contest runs for the month of November only.
***The Rules***
- You must follow the rules on RosettaCode.org. Be respectful - it's not our site.
- For every new example you add, you get 5 points. If you dramatically improve (meaningfully less lines of code throughout, significantly faster processing), you get 2 points.
- You need to count your own points. Whosoever claims to have the largest number of points will be manually checked over as the winner.
- The contest runs from this moment to November 30th, at midnight (the month of November).
- The code needs to work in Lasso 9. You can write it in Classic Lasso, but it needs to work in 9.
- If you didn't write it, please don't post it - that's against the laws of copyright. Send it to the person who wrote it to post it or get their permission in writing - that's just plain appropriate and ethical. Or post it with attribution, and don't claim the points.
- This contest is also open to LassoSoft/Treefrog employees (but you do it on your own time, as a matter of fairness). That includes ME (I added "Hello World" already - I'm winning!).
- Once the examples/tasks are complete (692 total), the contest ends, on or before the end of November.
- We will be doing random draws for entries throughout the month for additional prizes. So make sure you post at least one thing!
Hopefully this contest compels you to spend a few minutes playing with Lasso 9 - just for fun.
***How To Use RossettaCode.org***
1) Go to http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_Lasso
2) Find an example you would like to make (use http://www.lassoguide.com as a reference)
3) Find the place your code would fit, and replace the words "LASSO CODE" with your example.
=={{header|Lasso}}=<lang Lasso>LASSO CODE</lang>
4) Save the page!
5) Add to your points count.
Please - spend a few minutes looking over the list of tasks and adding an example - or a few examples. I'm certain you have some kicking around - you probably don't even need to write them!
Happy Halloween!
Sean Stephens
CEO
LassoSoft Inc.
http://www.lassosoft.com
* It appears Lasso did exist on the site: with one example. It was just incorrectly created, so it didn't appear in the list.
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>