Vote of thanks to Tlaloc

Case number:699969-989795
Opened by:Tony Origami
Opened on:Tuesday, May 31, 2011 - 20:05
Last modified:Thursday, March 6, 2014 - 02:05

I am sure many Foldit users would like to join me in thanking Tlaloc for his new additions to lua functions in foldit and the other improvements. I have no doubt that these will have far reaching and beneficial effects - leading us closer to what we are each trying to achieve.

Thank you Tlaloc!

(Tue, 05/31/2011 - 20:05  |  5 comments)

Joined: 06/17/2010

Looks like Tlaloc also do some cleanup on feedbacks :)

Still searching where is described what new is implemented into lua...
I means some list of commands?

Tlaloc's picture
User offline. Last seen 44 weeks 2 days ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'

Currently, the Lua libraries will be in beta this week. Here are my release notes:

We have added the ability to make calls into the Lua standard base, math, os, string, and table libraries. These functions are now available for use in Lua scripts. See for documentation. Not every function is included, but all of the ones we have assessed as being useful and safe are.
Base Library
• assert
• error
• ipairs
• next
• pcall
• pairs
• print
• select
• tonumber
• tostring
• type
• unpack
• xpcall
Math Library
• math.abs
• math.acos
• math.asin
• math.atan
• math.atan2
• math.ceil
• math.cos
• math.cosh
• math.deg
• math.exp
• math.floor
• math.fmod
• math.frexp
• math.huge
• math.ldexp
• math.log
• math.log10
• math.max
• math.min
• math.modf
• math.pi
• math.pow
• math.rad
• math.random
• math.randomseed
• math.sin
• math.sinh
• math.sqrt
• math.tan
• math.tanh
Os Library
• os.clock
• os.difftime
• os.time
String Library
• string.byte
• string.char
• string.dump
• string.find
• string.format
• string.gmatch
• string.gsub
• string.len
• string.lower
• string.match
• string.rep
• string.reverse
• string.sub
• string.upper
Table Library
• table.concat
• table.insert
• table.maxn
• table.remove
• table.sort
• table.unpack
There may be other functions from the Lua base standard library that are safe to include, but we are still accessing their safety for use in a scripting environment: collectgarbage, gcinfo, getmetatable, getfenv, loadstring, setfenv, and setmetatable. We are also assessing the coroutine library.

Tlaloc's picture
User offline. Last seen 44 weeks 2 days ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'

There will also be more new functions coming that interact with foldit. I'm working on it, but one step at a time. I figure 68 new functions will keep you busy for at least a week. :-)

viosca's picture
User offline. Last seen 2 years 18 weeks ago. Offline
Joined: 10/16/2013
Type: Suggestion » Bug

Any words on getmetatable and setmetable?

Angus's picture
User offline. Last seen 1 day 19 hours ago. Offline
Joined: 06/04/2008
Groups: Beta Folders
Status: Open » Closed
Type: Bug » Suggestion

Please stop making zombie threads. There is no way this is a "bug" .


Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons