1. Post #1681
    www.bff-hab.de
    Dennab
    August 2012
    1,526 Posts

    There, all done!
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Artistic Artistic x 7 (list)

  2. Post #1682
    Crescent fresh
    Perl's Avatar
    January 2011
    658 Posts

    There, all done!
    oh god it hurts

    the wrong notes hurt
    pls fix
    Reply With Quote Edit / Delete Windows 8 Estonia Show Events Agree Agree x 39 (list)

  3. Post #1683
    www.bff-hab.de
    Dennab
    August 2012
    1,526 Posts
    oh god it hurts

    the wrong notes hurt
    pls fix

    Not possible, only 8 bits of precision ;(
    Reply With Quote Edit / Delete Windows 7 Germany Show Events

  4. Post #1684
    Crescent fresh
    Perl's Avatar
    January 2011
    658 Posts
    Not possible, only 8 bits of precision ;(
    how can you live with it :(
    Reply With Quote Edit / Delete Windows 8 Estonia Show Events

  5. Post #1685
    www.bff-hab.de
    Dennab
    August 2012
    1,526 Posts
    how can you live with it :(
    pretty well actually

    I'm really proud of myself
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Friendly Friendly x 4Winner Winner x 2Artistic Artistic x 1 (list)

  6. Post #1686
    Gold Member
    Jawalt's Avatar
    August 2007
    3,372 Posts
    I'm impressed! The use of "__init" internally was very clever, considering finalizers/destructors in Lua are "__gc" on the C end. Nice job. And thanks for telling me about the __eq bug in my class implementation, too!
    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.
    Reply With Quote Edit / Delete Linux United States Show Events Friendly Friendly x 1 (list)

  7. Post #1687
    Eudoxia's Avatar
    July 2009
    5,323 Posts
    I tiny little CGI script written in my language:

    Reply With Quote Edit / Delete Linux Uruguay Show Events Funny Funny x 18Winner Winner x 2Programming King Programming King x 1 (list)

  8. Post #1688
    Andrew McWatters
    acpm's Avatar
    March 2011
    4,045 Posts
    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 )
    
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  9. Post #1689
    Person
    geel9's Avatar
    June 2008
    4,732 Posts
    I tiny little CGI script written in my language:

    I wasn't aware Eudoxia was a name.
    Reply With Quote Edit / Delete Linux United States Show Events Agree Agree x 19 (list)

  10. Post #1690
    Gold Member
    PortalGod's Avatar
    August 2009
    1,841 Posts
    I wasn't aware Eudoxia was a name.
    Eudoxia posted:
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 5 (list)

  11. Post #1691

    August 2010
    1,146 Posts
    I wasn't aware Eudoxia was a name.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Informative Informative x 14 (list)

  12. Post #1692
    Person
    geel9's Avatar
    June 2008
    4,732 Posts
    Eudoxia posted:
    your parents named you portalgod?
    Reply With Quote Edit / Delete Linux United States Show Events Funny Funny x 24Zing Zing x 3Winner Winner x 1 (list)

  13. Post #1693
    Gold Member
    marvincmarvin's Avatar
    January 2011
    755 Posts
    your parents named you portalgod?
    Your parents didn't?
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 8Funny Funny x 4 (list)

  14. Post #1694
    holocene's Avatar
    October 2012
    78 Posts
    Hey guys, remember my plane thing? I decided to go with the tetris theme, but I need someone's help translating those notes for me: http://www.flutetunes.com/tunes/tetr...orobeiniki.pdf

    Please output them to me in a format like A'B'C''D'' A'B'C''D'' to me... I've already got the first line done, but it took me 2 hours to do it, and there ought to be someone here who can do it in their sleep

    (Uploading video of the first line playing right now)
    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:

    Nah this has been easier so far... the music already sounds pretty good

    Edited:

    Oh man it just occurred to me, that the notes in the second row are all the same as in the first, and I can just looks up what the notes were in the first line...

    music, why is it so complicated
    ...not really.
    Reply With Quote Edit / Delete Mac Romania Show Events Winner Winner x 1Useful Useful x 1Informative Informative x 1Friendly Friendly x 1 (list)

  15. Post #1695
    Map in a box's Avatar
    July 2009
    5,801 Posts
    Browsing facepunch is MLG pro
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 31Dumb Dumb x 3 (list)

  16. Post #1696
    holocene's Avatar
    October 2012
    78 Posts
    Browsing facepunch is MLG pro
    How meta!
    Reply With Quote Edit / Delete Mac Romania Show Events Disagree Disagree x 1Agree Agree x 1 (list)

  17. Post #1697
    Gold Member
    Jookia's Avatar
    July 2007
    5,957 Posts
    Running on a perfect 640x480 resolution there.
    Reply With Quote Edit / Delete Linux Australia Show Events Funny Funny x 5 (list)

  18. Post #1698
    holocene's Avatar
    October 2012
    78 Posts
    Not possible, only 8 bits of precision ;(
    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 >_>
    Reply With Quote Edit / Delete Mac Romania Show Events Informative Informative x 1Programming King Programming King x 1 (list)

  19. Post #1699
    FrankOfArabia's Avatar
    March 2012
    273 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?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  20. Post #1700
    holocene's Avatar
    October 2012
    78 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.
    Reply With Quote Edit / Delete Mac Romania Show Events

  21. Post #1701
    Commie
    supersnail11's Avatar
    September 2008
    6,658 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?
    For gifs you can use virtualdub and/or photoshop to export the video as a gif.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  22. Post #1702
    Gold Member
    Jookia's Avatar
    July 2007
    5,957 Posts
    Posting h264 videos should be a permabannable offense.
    Reply With Quote Edit / Delete Linux Australia Show Events Disagree Disagree x 13Funny Funny x 6Dumb Dumb x 3 (list)

  23. Post #1703
    Andrew McWatters
    acpm's Avatar
    March 2011
    4,045 Posts
    -snip- I think he only cared about video stuff, not screenshots. Nevermind.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  24. Post #1704
    Austech2's Avatar
    April 2011
    109 Posts
    Browsing facepunch is MLG pro
    Pretty good spending of ratings, though you're pretty bad at not getting supply blocked.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 5Useful Useful x 1 (list)

  25. Post #1705
    Map in a box's Avatar
    July 2009
    5,801 Posts
    My rating supplier is kind of    below the law   
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 2 (list)

  26. Post #1706
    Gold Member
    Darwin226's Avatar
    January 2009
    3,458 Posts
    I wanted to make something cool but I accidentally made a sun:
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events Artistic Artistic x 59Winner Winner x 2Optimistic Optimistic x 1Programming King Programming King x 1 (list)

  27. Post #1707
    holocene's Avatar
    October 2012
    78 Posts
    I wanted to make something cool but I accidentally made a sun:
    Well suns are pretty cool if you ask me.
    Reply With Quote Edit / Delete Mac Romania Show Events Agree Agree x 16Disagree Disagree x 3Funny Funny x 2 (list)

  28. Post #1708
    Gold Member
    farmatyr's Avatar
    June 2007
    4,188 Posts
    Well suns are pretty cool if you ask me.
    Cool fusion is a myth.
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Funny Funny x 25 (list)

  29. Post #1709
    Gold Member

    December 2009
    1,263 Posts
    Who was the person making that head tracking thing? Hope it hasn't died, because i'm kinda excited about it
    Reply With Quote Edit / Delete Windows 7 Australia Show Events Agree Agree x 1 (list)

  30. Post #1710
    ben1066's Avatar
    August 2009
    532 Posts

    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.
    Reply With Quote Edit / Delete Windows 8 United Kingdom Show Events Winner Winner x 3 (list)

  31. Post #1711
    www.bff-hab.de
    Dennab
    August 2012
    1,526 Posts


    I need more monitors

    Edited:

    Also hardware development
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Programming King Programming King x 1 (list)

  32. Post #1712
    Gold Member
    Jookia's Avatar
    July 2007
    5,957 Posts
    Dude I had that joystick in the early 2000s.
    Reply With Quote Edit / Delete Linux Australia Show Events Agree Agree x 5Funny Funny x 1Friendly Friendly x 1 (list)

  33. Post #1713
    www.bff-hab.de
    Dennab
    August 2012
    1,526 Posts
    Dude I had that joystick in the early 2000s.
    Was your Z-axis as horribly jittery as mine?
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Agree Agree x 2Funny Funny x 1 (list)

  34. Post #1714
    Richy19's Avatar
    May 2010
    4,851 Posts
    Dude I had that joystick in the early 2000s.
    Me too

    Edited:

    Was your Z-axis as horribly jittery as mine?
    Yes
    Reply With Quote Edit / Delete Linux United Kingdom Show Events Friendly Friendly x 1 (list)

  35. Post #1715
    DubsHelix's Avatar
    June 2012
    51 Posts
    I don't know where I'm going with this...
    Reply With Quote Edit / Delete Windows 7 United States Show Events Artistic Artistic x 14 (list)

  36. Post #1716
    Gold Member
    farmatyr's Avatar
    June 2007
    4,188 Posts
    Make it a worm simulator.
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Agree Agree x 8 (list)

  37. Post #1717
    Gold Member
    Neo Kabuto's Avatar
    November 2008
    5,453 Posts
    Dude I had that joystick in the early 2000s.
    I still have one on the desk in front of me. I need a real flight simulator for it.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  38. Post #1718
    ____________________
    COBRAa's Avatar
    June 2009
    923 Posts
    Who was the person making that head tracking thing? Hope it hasn't died, because i'm kinda excited about 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.
    Reply With Quote Edit / Delete Linux United Kingdom Show Events Winner Winner x 3 (list)

  39. Post #1719
    www.bff-hab.de
    Dennab
    August 2012
    1,526 Posts
    ITT everybody has the same joystick

    Edited:

    I also pimped up the paper plane a bit:


    (video coming in a minute)
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Funny Funny x 23Friendly Friendly x 3Optimistic Optimistic x 1Artistic Artistic x 1 (list)

  40. Post #1720
    Gold Member
    Lexic's Avatar
    March 2009
    5,782 Posts
    Mine's in the cupboard
    Reply With Quote Edit / Delete Windows 8 United Kingdom Show Events