Analysing Euclideons Graphics Engine

Note: This is an article on 3d graphics technology. I will try to keep it as approachable as possible but it’s not the easiest material in the world.

There’s a new graphics company that wants to change the video game industry. Euclideon is an Australian company working on a point cloud based approach to 3d graphics as opposed to the long standing polygon based approach. They are not the first people to make or even implement this approach as this somewhat angry blog post points out but they seem to have the most efficient and nicest looking implementation to date.

Their video explains the concept of what they are doing very well and throws out lots and lots of really huge numbers. I find their efforts promising but they have many hurdles to get over first. Continue reading

How Much Website do I Need?

The first question is do you need a website? If not do you just want a website? Either way how much can you afford, and how much can your customers actually handle? Finally you need to think about things that aren’t a website at all but they are part of your web presence.

If you are a business you should have something online. That doesn’t actually have to mean a full on website but Continue reading

What’s an app?

The word has become ubiquitous. The iPhone has apps, Android devices have apps, the Chrome browser has apps and now Mac OS has apps too. So what are they? How can they be the same things in all these places? What if you want one of your own?

I’ll start by lifting a convenient definition from Wikipedia like all good web authors these days

“…a lightweight application, tailored to a device’s form factor and input-output interfaces (key pad, touch pad, remote control, display, etc)”

Not bad but we need more specifics. App is short for application which is a term that’s been used in computing since the invention of programmable computers. Sometimes called application software it pretty much means a computer program used by a person to do a thing (as opposed to programs that talk to each other, park a car, or ID faces without a person running it). Continue reading

A Brave New Website

This is it, the new jonathanmccarver.com. It’s not fancy (yet), I don’t really plan on making a pretty looking site because that’s not what I do. I make things work but in this instance I am trying to spread some of the knowledge that is natural to me. I’m making a technology blog as the mainstay of the site. I work at a newspaper and they just don’t have any tech news. I don’t blame them because it’s local to Memphis TN and there’s just not a need if your focus is the local market. Of course there are articles on tech happening here in the city but those will be sparse.

If you have any questions then comment them here (or anywhere). What do you want to ask a programmer, a scientist, a computer engineer, a phone designer, an internet architect. I can give you answers to all of these things if you want them so let me know.

List of Memphis Statues

This is a work in progress. Once it’s done I’ll add it to wikipedia. Please add any you know of by commenting.

  • 4 elvis statues downtown
  • Nathan Bedford Forrest
  • Buddha
  • Religious statue of liberty
  • Ramses
  • W.C. Handy
  • E. H. “Boss” Crump
  • greek statues at the courthouse facing adams
  • Tom Lee (in tom lee park)
  • Soldier in overton war memorial

Someone reccomended going through elmwood for all the ones there. Also CBU campus and theatre memphis.

Platform Agnostic Video

While it is possible to play video on the iPhone and other comparable mobile devices that video always takes over in full screen mode. I intend to make a video player (without sound for now) that will work on any platform without going fullscreen, needing users to click play, or depending on the use of animated gifs.

This will be accomplished with a combination of server side processing technology and client side ajax. A video will be placed on a unix based webserver and then split into individual images using a script for MEncoder (part of the MPlayer system). These images will be delivered to the page via ajax calls to allow them to then be quickly displayed in sequence to simulate video play.

So the steps are:

  1. place video on webserver
  2. split video into individual images
  3. load images dynamically to page
  4. quickly display the images on timed intervals

This results is video play that can happen in a standard div element and then be further manipulated. The later goal is playing this video on a 3d surface or in a stretched or skewed manner.

The images need to conform to a timecode to look like continuous video rather than having fluctuating speed. To accomplish this the client side code needs to keep up with time passed versus images loaded and when a redraw interval comes display the most appropriate image, then abandon any loading of an image that playback has passed.

2011 Budget Plan

I explained the budget on twitter but thought it was worth collecting in one place:

Some people are confused on the presidents budget plan. He explained it well in the past but it takes a while to make sense of. With his plan we will continue to go further in debt for years to come. We would have done that anyway though.

We have an established rate of spending that increases the deficit by at least one trillion a year. Fixing that means first lowering the rate at which we are going into debt before you manage to start getting out of debt. There is no way in hell to do it all at once and so the only plan that is doable is one that extends past his potential presidency hence the 10 years.

There are no new ideas – yea right!

People often claim that every idea out there has been done. TV and movies, books and stories it all seems repetitive. When you’re brainstorming new ideas you always think it’s been done before, it’s too much like ____. Well I’m here to prove you wrong.

Lets take movies. I will tremendously oversimplify the example case to make it possible to comprehend. Film now is usually digital and shot at 1080p24 that is 24 images a second each of which is 1080 pixels tall by 1920 pixels wide but you don’t need that much to convey meaning. In fact a 10 x 10 grid can show an image and while color is the norm lets further simplify by brining it down to black and white.

_  _  _  _  _  _  _  _  _  _
_  _  _  _  *  _  _  _  _  _
_  _  *  *  _  _  *  *  _  _
_  *  _  _  _  _  _  *  _  _
_  _  _  _  _  _  _  _  _  _
_  _  _  *  _  _  _  _  _  _
_  _  _  _  _  *  _  _  _  _
_  _  _  _  _  _  _  *  _  _
_  _  _  _  _  _  _  _  _  _
_  _  _  _  _  _  _  _  _  _

There you go, 10×10 grid, either underscores or asterisks. Lets give it 5 frames per second too. Thats plenty to convey movement. Did I mention that we are ignoring sound completely? So since all the good ideas are taken lets see how many things our 10 by 10 black and white movie can display in 10 minutes.

Thats 10 pixels times 10 pixels = 100

at 5 frames per second thats 500 pixels per second

60 seconds times 500 pixels is 30,000 per minute

10 minutes times 30,000 a minute is 300,000 pixels shown in our 10 minute film

We aren’t done yet. I’m sure there have been 300,000 stories told in the time of humans but to know how many things total our tiny movie can display we have to account for the ability of each of the 300k pixels to be independently different from each other. That is done by raising the number of possible states (2 for black and white) to the number of pixels.

2^300,000 = 9.97.. x 10^90308

If you aren’t familiar with scientific notation this means a number that starts with 9 and has over 90 thousand digits. So a silent film that has a 10 by 10 resolution and lasts 10 minutes has millions of times more possibilities to it than there have been human beings since the start of time.

Don’t be afraid to be original and don’t ever ever think that there are no new ideas left.

There’s no such thing as the Government

The Krs One song Whad Kinda World starts with the verse:

There’s no such thing as a government
There’s only people rulin over people
People jerkin around people
People lendin a hand to people..
What part of the system do you play?
Who do you oppress? .. Uhh!

For some it’s difficult to release the assumptions you’ve held for so long about what government means and what business means. It’s hard to go against the indoctrinated assumption that the free market is always good when you are taught that at an assumptive level from childhood. Continue reading