Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - flyingfisch

Pages: 1 ... 59 60 [61] 62 63 ... 119
901
Lua / Re: Lua Classes
« on: January 04, 2012, 03:57:33 pm »
Here's the source code of the class() function, that TI uses :


(not tested)
Code: [Select]
-- Class definition system
class = function(prototype)
    local derived = {}
    local derivedMT = {
        __index = prototype,
        __call  = function(proto, ...)
            local instance = {}
            local instanceMT = {
                __index = derived,
                __call = function()
                    return nil, "attempt to invoke an instance of a class"
                end,
            }
            setmetatable(instance, instanceMT)
            if instance.init then
                instance:init(...)
            end
            return instance
        end,
    }
    setmetatable(derived, derivedMT)
    return derived
end

Paste that and use  blablabla=class()  now :)

So this should work in luaFX also?

902
Other / Re: What is folding@home?
« on: January 04, 2012, 03:54:07 pm »
So do they use your computer remotely?

903
Lua / Re: Lua Classes
« on: January 04, 2012, 03:36:11 pm »
How do you do this with LuaForWindows? (I dont think they have a class function)

904
Miscellaneous / Re: Post your desktop
« on: January 04, 2012, 03:11:02 pm »
it's "awesome" shell =)

If it would work on my computer :P

But for slow comps, i think xfce is a good substitute :)

905
Other / What is folding@home?
« on: January 04, 2012, 03:09:21 pm »
I have heard people mention folding@home on the forums and I have no idea what it is. Could someone enlighten me?

906
Lua / Re: Lua Classes
« on: January 04, 2012, 02:21:16 pm »
Sorry to necro-post, but cant you do this instead of using classes?

Code: [Select]
car = {car1 = {TopSpeed=50,Weight=10},car2 = {TopSpeed=60,Weight=11}...}

function PrintTopSpeed
graydraw.print(car.car1.TopSpeed)
end

907
News / Re: TI-84 Plus Pocket SE
« on: January 04, 2012, 01:39:36 pm »
Would it be possible to get these calcs via shipping from asia?

Maybe ... through Asian's official TI resellers, but it would *really* cost a lot for shipping :P

Yeah, I guess

908
News / Re: TI-84 Plus Pocket SE
« on: January 04, 2012, 01:37:33 pm »
Would it be possible to get these calcs via shipping from asia?

909
Miscellaneous / Re: Post your desktop
« on: January 04, 2012, 01:32:05 pm »


This thread inspired me to improve mine.

Is that gnome shell? My comp is too slow to run gnome shell so i am using xfce right now and my mom uses unity 2d

910
News / Re: TI-84 Plus Pocket SE
« on: January 04, 2012, 01:24:45 pm »
I like the idea of having a pocket-size graphing calc. We have pocket-size scientific calcs but i think this may be the smallest graphing calc so far.

911
News / Re: TI-84 Plus Pocket SE
« on: January 04, 2012, 01:20:02 pm »
I still think that calc is cool. :D

912
News / Re: TI-84 Plus Pocket SE
« on: January 04, 2012, 12:20:59 pm »
Funny, casio has alot of their calcs available only in USA, an TI has a lot of products available only in europe. XP

913
Casio Calculators / Re: Pack all Addins for fx9860 and Prizm
« on: January 03, 2012, 04:18:08 pm »
oh ok. cool :)

914
Art / Re: my best pxl work yet!
« on: January 03, 2012, 03:50:11 pm »
those first two sprites are pretty cool! Do you mind if I use them in a casio game sometime? I would give you an attribution of course

915
General Discussion / Re: Drummers or other musicians, somewhere?
« on: January 03, 2012, 03:46:41 pm »
I play bass, guitar (electric and acoustic), drums sorta, trombone, trumpet/cornet, a little sax (alto), baritone, piano, etc. My dad is a music teacher, so I followed in his steps :) And I compose for most of those instruments. And sorry I only recently got this band together, we are still working out our first ep :P but we do have connections to go record in Tennessee! :)
cool!

Pages: 1 ... 59 60 [61] 62 63 ... 119