Page 6 of 9

Re: Development video on youtube

Posted: Sat Apr 21, 2012 8:43 pm
by Nokurn
tappatekie wrote:
wtetzner wrote: Well, there are plenty of languages that support arbitrary precision integers, some only through libraries (like Java), but many as built-in types.
https://en.wikipedia.org/wiki/Arbitrary ... #Languages
I have looked, but my code seems to be alot more powerful, since it can store way beyond those integers, it can even store a number which takes up 1GB of hardisk space to store the string value of the number...
The .NET framework's BigInteger class can do that too. That's why such libraries are called "arbitrary"; the only limits to the number's magnitude are the hardware.
Unless your code is being specially developed using a new algorithm for performing arithmetic on arbitrarily large numbers, I would advise that you use an existing library for any code that you plan to use for more than just messing about. These kinds of libraries typically use a number of optimization tricks to make working with large numbers feasible in any small period of time--special algorithms, using the CPU/ALU for 8-, 16-, 32-, 64-, and 128-bit numbers, etc.

Re: Development video on youtube

Posted: Sun Apr 22, 2012 5:10 am
by tappatekie
Nokurn wrote:
tappatekie wrote:
wtetzner wrote: Well, there are plenty of languages that support arbitrary precision integers, some only through libraries (like Java), but many as built-in types.
https://en.wikipedia.org/wiki/Arbitrary ... #Languages
I have looked, but my code seems to be alot more powerful, since it can store way beyond those integers, it can even store a number which takes up 1GB of hardisk space to store the string value of the number...
The .NET framework's BigInteger class can do that too. That's why such libraries are called "arbitrary"; the only limits to the number's magnitude are the hardware.
Unless your code is being specially developed using a new algorithm for performing arithmetic on arbitrarily large numbers, I would advise that you use an existing library for any code that you plan to use for more than just messing about. These kinds of libraries typically use a number of optimization tricks to make working with large numbers feasible in any small period of time--special algorithms, using the CPU/ALU for 8-, 16-, 32-, 64-, and 128-bit numbers, etc.
Okay, and I have just multiplied a number with 1 billion zero's!! with 4...
Also, I prefer not to use BigInteger class in .Net because it's only in version 4.5, I prefer to use 2.0 as it's more compatible.

As to new algorithm, all it's doing is just:
12+9
2+9=11 > 9 so 11-10 and carry 1
1+0(nothing there)+the carry = 2
put those together and you get 21

Thats basically, what it does which gives it no limits, except how big of a string you can store in memory,

Re: Development video on youtube

Posted: Mon Apr 23, 2012 7:53 am
by tappatekie
Video has been finished!!! 3.8gb to upload, just need to put a few finishing touches to it. (making the video syncronized with the audio voiceover)

Re: Development video on youtube

Posted: Mon Apr 23, 2012 3:09 pm
by lalacomun
tappatekie wrote:Video has been finished!!! 3.8gb to upload, just need to put a few finishing touches to it. (making the video syncronized with the audio voiceover)
Hell yes!! :mrgreen:

Re: Development video on youtube

Posted: Thu Apr 26, 2012 12:11 pm
by tappatekie
Video is being uploaded, and an announcement, Plywood will now let you import windows libraries e.g kernel32.dll :D

Here is a sample of what you would code in plywood to invoke a dll method

Code: Select all

//No return type use
extern "kernel32.dll" method Beep((int)frequency, (int)duration)

//Having a return type
extern "kernel32.dll" int SendMessage((ptr)handle, (ptr)msg, (ptr)wparam, (ptr)lparam)

//Invoking them
Beep(100, 100)
The process of dynamically invoking win32 methods is as follows (what Im doing anyway...)
  • Create a library handle from calling kernel32 LoadLibraryEx
    Get the method pointer from the library by calling kernel32 GetProcAddress
    Then, we need to create a dynamic delegate type for the method so...
    • Make C# code for defining a delegate (with the arguments)
      Compile it
      Get the type of the delegate from the output assembly
    We then create a Delegate object from Marshal.GetDelegateForFunctionPointer
    To invoke now, we just simply do myDelegate.DynamicInvoke(arguments) :D

Re: Development video on youtube

Posted: Thu Apr 26, 2012 2:26 pm
by tappatekie
It's HERE!!!


Re: Development video on youtube

Posted: Thu Apr 26, 2012 4:40 pm
by lalacomun
cool! ^ :)

Re: Development video on youtube

Posted: Thu Apr 26, 2012 6:09 pm
by bbguimaraes
Seems like a good video, but the combination of low quality and small font makes it impossible to see the text. You should fix that for this or at least the next videos.

Re: Development video on youtube

Posted: Thu Apr 26, 2012 8:00 pm
by tappatekie
bbguimaraes wrote:Seems like a good video, but the combination of low quality and small font makes it impossible to see the text. You should fix that for this or at least the next videos.
Text seems just about readable for 720p quality (and full screen) mode on YouTube

Re: Development video on youtube

Posted: Thu Apr 26, 2012 8:05 pm
by bbguimaraes
Oh, Youtube has been kind of crazy these days. It just shows 360p quality for me. Nevermind then.

Re: Development video on youtube

Posted: Thu Apr 26, 2012 9:33 pm
by dandymcgee
bbguimaraes wrote:Oh, Youtube has been kind of crazy these days. It just shows 360p quality for me. Nevermind then.
Morons at my college couldn't get the network connection working at any acceptable speed so they decided to "fix" it by rate limiting YouTube. It now takes ~15 minutes of buffer time to load ~1 minute of watchable video. I'm fucking pissed.

Re: Development video on youtube

Posted: Thu Apr 26, 2012 10:52 pm
by bbguimaraes
Yeah, that happened at mine too. But they just blocked it for some time, along with several other sites. Now they restored it.

Their blocking is kinda crazy too. Photobucket is blocked, and they claim it's a "social network". Sometimes, when I'm there and checking some programming sites, I can't see the pictures because they are hosted on the site. That's really annoying.

Re: Development video on youtube

Posted: Fri Apr 27, 2012 8:04 am
by tappatekie
Happens to me in college :L Buffering speeds are disgraceful.

I have also updated my first post for now supporting the "Common Language Runtime"!

Re: Scripting Language development

Posted: Mon Apr 30, 2012 7:20 pm
by THe Floating Brain
Like the vid :-)

Re: Scripting Language development

Posted: Tue May 01, 2012 12:39 pm
by tappatekie
THe Floating Brain wrote:Like the vid :-)
Cheers :P