There, all done!
There, all done!
oh god it hurts
the wrong notes hurt
pls fix
Not possible, only 8 bits of precision ;(
how can you live with it :(
pretty well actually
I'm really proud of myself
I was trying to figure out how to copy your constructor because that is nice syntax. It's basically just a shortcut for __init. It turned out way easier than I thought it would lol.
I tiny little CGI script written in my language:
![]()
Oh, by the way Jawalt, you might want to fix your call to error() in your implementation, because it will currently return the line of code where you call error() rather than the location of the line where an attempt was made to call an unimplemented metamethod.
The function level is 2. In my implementation, I did this:
error( "attempt to call unimplemented metamethod '" .. eventname .. "'", 2 )
Which ends up looking like:
This is more desirable than the former, in my opinion, which looks like:
Because the center of attention is the line where the attempt is made, and the focus isn't on the class implementation.
Edited:
Here's my nasty test case for this:
-- unimplementedmetamethod.lua -- unimplemented inherited metamethod test require( "class" ) ------------------------------------------------------------------------------- -- number ------------------------------------------------------------------------------- -- Create a bognus number class for the sake of testing class "number" ------------------------------------------------------------------------------- -- bignum -- Base Class: number ------------------------------------------------------------------------------- class "bignum" ( "number" ) function bignum:bignum( n ) if ( type( n ) ~= "string" ) then error( "attempt to create a bignum using a non-string value", 2 ) end self.number = n end function bignum:__tostring() return self.number end local n = bignum( "17976931348623157000000000000000000000000000000000000000" .. "00000000000000000000000000000000000000000000000000000000000000000000000000" .. "00000000000000000000000000000000000000000000000000000000000000000000000000" .. "00000000000000000000000000000000000000000000000000000000000000000000000000" .. "0000000000000000000000000000001" ) print( n / 0 )
I wasn't aware Eudoxia was a name.
Eudoxia posted:
your parents named you portalgod?
Your parents didn't?
Hi, I'm a musician, but I'm not sure what exactly you need?
These are the notes:
E B C D C B | A A C E D C | B C D E | C A A A B C D F A G F | E C E D C | B B C D E | C A A E C | D B | C A | G# B | E C | D B | C E A | G#
and here's a table of their frequencies http://www.phy.mtu.edu/~suits/notefreqs.html
I watched the video, your E and D are really out of tune. Maybe you started from the E0 and D0 frequencies and brought them up three octaves but lost some precision along the way? Going from E0 to E3 with an int will really mess it up.
Edited:
...not really.
Browsing facepunch is MLG pro
How meta!
Running on a perfect 640x480 resolution there.
How are the 8 bits distributed? You could maybe fit more by using lower notes. If you do everything around the C1 - C2 range you need a mantissa with a max value of 13081. Transpose it a bit lower and you can fit a note into a 13 bit mantissa. But you still need some more bits for the exponent.
Get more bits.
Edit: Just realized I could have edited one of my posts >_>
Hey uh, this has been asked before but I can't seem to find it. What are you all using to record those videos and gifs?
I'm on a Mac so I used ScreenFlow to record it and Miro to convert it to WebM. Just record it with whatever, convert it to WebM, upload it somewhere and use vid tags.
For gifs you can use virtualdub and/or photoshop to export the video as a gif.
Posting h264 videos should be a permabannable offense.
-snip- I think he only cared about video stuff, not screenshots. Nevermind.
Pretty good spending of ratings, though you're pretty bad at not getting supply blocked.
My rating supplier is kind of below the law
I wanted to make something cool but I accidentally made a sun:
Well suns are pretty cool if you ask me.
Cool fusion is a myth.
Who was the person making that head tracking thing? Hope it hasn't died, because i'm kinda excited about it
Started making it into more of an engine. The console window is just temporary, I have an interface that is fulfilled by whatever is going to act as the console so I can replace it with a gui based one.
I need more monitors
Edited:
Also hardware development
Dude I had that joystick in the early 2000s.
Was your Z-axis as horribly jittery as mine?
Me too
Edited:
Yes
I don't know where I'm going with this...
Make it a worm simulator.
I still have one on the desk in front of me. I need a real flight simulator for it.
Hi, nope; I haven't died. I've put Lua in it too, so you can change how it works easily. There will be a RC soon.
ITT everybody has the same joystick
Edited:
I also pimped up the paper plane a bit:
(video coming in a minute)
Mine's in the cupboard