# Super Code from Digital Knife Monkey Productions

## Digital Knife Monkeys at Keyboards...Will Eventually Program Everything.

### Blog

 view:  full / summary

#### Equation Of the Week #2: Time Dilation

 Posted by DarthWho on April 17, 2011 at 12:00 AM comments (0)

Time Dilation is an interesting concequence of traveling at high speeds. Part of the concequences of this is that anything traveling at the speed of light experiences no time whatsoever while anything completely stationary expeiences everything at the rate of one second per second to an outside observer.

Δt=ΔT/√(1-(v^2/c^2))

where Δt is the time interval measured by an observer who is in motion in respect to the events and who views them as occuring at different places.(s)

ΔT is the "proper time" interval or time as it is measured by an observer who is at rest in respect to the events measured and who veiws the events as occuring in the same place. (s)

v is the relative velocity between two observers (m/s)

c is the speed of light 299792458 m/s

Sorry for the earlier incomplete post power was lost here preventing me from completing the post.

next week: the index of refraction

#### Equation Of the Week #1 Making a Splash

 Posted by DarthWho on April 10, 2011 at 12:00 AM comments (1)

Well the first equation of the week these will come out every Sunday that I have time to actually put these in place (there may be some gaps and I apologize ahead of time for that.)

P = ( ρ g^2 T H^2 L ) / ( 32 π )

P power in the wave measured in Watts

ρ the desity of the liquid medium (1025kg/m3 for seawater and 1000kg/m3)

g gravitational acceleration (9.8m/s2 on earth)

T wave period (time between sucessive waves in seconds)

H wave height (distance from peak to trough in meters)

L length of wavefront in meters (wavefront is perpendicular to direction of travel

π If you do not know what this is it makes me sad

NEXT WEEK: TIME DILATION

#### happy new year everyone

 Posted by DarthWho on December 31, 2010 at 11:47 PM comments (2)

I ended this year with alot of repair work:

my sister did not tell anyone about the crack on the back of her laptop's monitor (IE the top of the laptop when closed) until it got to the point of causing havok with the hinge (it could not close)(unfortunatly not a pretty repair)

had to help get rid of a virus on the desktop computer (the antivirus fell out of date a little while ago so new antivirus)

had to so solder a wire back in place in one of the controllers lying about the house

all of that on top of assembling an exercise machine for my parents

well happy new year everyone

how are youguys spending the new year or how did you end the old one?

#### MERRY CHRISTMAS EVERYONE

 Posted by DarthWho on December 25, 2010 at 3:09 PM comments (5)

And while we celebrate this joyous holiday with our families and friends I hope you share my sentiment i wishing those less fortunate than ourselves... Including our own Codeguy.

Hope the new year brings renewed prosperity CG Merry Christmas

#### QB64 V0.923 released today (Dec,3,2010)

 Posted by DarthWho on December 3, 2010 at 11:32 AM comments (0)

Version 0.923 supports calling external DLLs, static libraries and headers (still needs testing by QB64 users) Download it today http://www.qb64.net/forum/index.php?topic=1897.0 (Windows only update at the moment)

(version 0.91 users and up can just update their version)

#### The US Federal Government has gone too far.

 Posted by DarthWho on November 27, 2010 at 1:07 PM comments (0)

In a recent crackdown 76 sites including TORRENTFINDER.COM were shutdown for allegedly participating in Piracy just one problem torrentfinder is (or rather was) an internet search engine.while admittedly most of the sites were asssociated with piracy of some form torrentfinder was a search engine while you most certainly could find pirated material if you searched for it you could also do it with Google Bing Yahoo or Ask. To add insult to injury the sites were shutdown merely on suspicion that they were hosting pirated material there was no proof provided before being shutdown. furthermore this all occured before the COICA(Combating Online Infringement and Counterfeits Act) has even been considered by the house and senate this was all done under the DMCA(Digital Millennium Copyright Act) which is limited to shutting down suspected (READ any allegations of piracy) sites hosted in the US however the COICAwould allow the US federal Government to redirect any trafic to any site in the world effectivly shutting those sites down from my perspective this sounds quite a bit like it could rapidly devolve into nothing more than a censorship bill considering that no proof is required only the allegation.

In light of this please refrain from posting any material that could be considered pirated or that belongs to someone else without their consent (I generally take the consent as being at least their providing the sourcecode to their work with the stipulation that if it is used in someting else that they want credit please provide credit for any work that you got from someone elses effort thank you)

FURTHER INFORMATION

http://torrentfreak.com/u-s-government-seizes-bittorrent-search-engine-domain-and-more-101126/

http://www.rawstory.com/rs/2010/11/homeland-security-shuts-dozens-sites/?tech

http://www.nytimes.com/2010/11/27/technology/27torrent.html?_r=1

http://www.wired.com/epicenter/2010/11/coica-web-censorship-bill/

#### For those of you celebrating it today Happy Thanksgiving

 Posted by DarthWho on November 25, 2010 at 3:29 PM comments (0)

Hope you are enjoying the time with your families.

#### Graphical Algorithms

 Posted by codeguy on October 10, 2010 at 8:49 AM comments (3)

I think i may have found a better mousetrap and i will leave the democode here:

#### The new kid on the block

 Posted by codeguy on October 4, 2010 at 7:02 PM comments (0)

QB64 (downloaded here for Windows, or here for Linux) is the new kid on the block as far as BASIC goes. And while it can run most of your old code unmodified, never mistake it for the simple thing that was QB45. QB64 is a far different and more advanced system. And while being new, it has a diverse base of code you can easily adapt to your programs. While DKM's site is still in its infancy, we will regularly add program samples designed to highlight the very best of our contributors' knowledge. Whether it is graphical entertainment or serious business, we are all about having fun first, as well as finding and demonstrating solutions. and if you have questions, we will try to answer them for you the very best we can. And DKM is working on some NEAT games, demos and other stuff to highlight the abilities of QB64. My latest project is a non-tree version of BSP designed to be used for hidden image removal when rendering scenes unless unseenmachine beats me with the and actual BSP Tree sub.

:D.