Follow posts tagged #calculation in seconds.

Sign up

Wall Street analysts calculate whether Zynga is worth $8.9B

via venturebeat.com

Zynga is about to begin trading as a public company on Thursday, but the value of the company is up for debate, based on reports from some well-known Wall Street analysts and other financial experts.

Another week another game

Another week another game. So what’s happening. Well, alot as usual. Luminati HD version 1.3 was released for the iPad. And Luminati for iPhone was updated to 1.3 also. Basically there was this major issue with threads.

Why use threads (is that those thin thingys u make clothes with?)?

Well if you have some heavy calculations, like a deep recursion of ai-steps (possible ai moves) that needs to be iterated and checked, your game will seem to freeze/halt since the calculation might take a few seconds or so. To come around this we do the ai-calculation within a second thread which runs in parallell with the first.This way we let the usual game loop continue to update the graphics without interruption.

The bug was basically that one thread created an object, then the second thread removed (released) the object which gave some unpredictable results, sometimes a crash. It was easy to fix though, and now the game is solid. :)

Wow. My first TUMBLR entry written with the iPad. Amazing? Well I think the Word-suggestion is a bit stupid. Must switch off. :)

So now I am going to jump into some sound design and after that it’s time to continue writing on the upcoming album. I got some really interesting sounds and melodies going on, you’ll see. Oh, and alot of weird sound sources as usual.

22k plays at soundcloud and 6600 followers, THANK YOU Everyone for coming back and giving me those fine comments and feedback!!!

http://www.soundcloud.com/mattiasholmgren

Phew, writing on the iPad is exhausting. :)

Pulled 'em out they weren't beating and we weren't even bleeding as we laid them on the granite countertop. We beat 'em up against each other. We struck 'em hard against each other until they sparked.

The world at seven billion- What's Your Number?

bbc.co.uk

The world’s population is expected to reach 7 billion within a matter of days. Have you ever wondered where you place amongst that all?

When I was born, I was the 5,645,698,797th person alive, and the 80,919,241,994th person to have lived since history began. What about you? :)

Seasteading: Price Barter Calculation

 An option is to use price-calculated barter.

contemporarily prices are calculated as thus  utility = price 

however that obviously doesn’t take into account the product itself.

price-calculation formula I made is   (time+mass)^chakra/abundance*utility=price

This way can trade/barter various objects, and know their worth to fairly high precision.

If there is an imbalance, then a credit/debt statements or promissory notes are issued for extra-value,

these promissory notes could be traded like money until the original debt/credit is absolved and the promissory note becomes void.  

I’m planning on making a table of values for price-calculation sometime,

though the basics is to weigh the product for mass,   

figure out how advanced the product is  for setting the chakra-level,

then calculate total abundance by averaging the abundance of the atoms it is made of.

Utility allows for modulating the price based on demand/supply.

calm aware desire choice love express intuit move

Area Calculation Program in Python

#A very simple area calculation program written in python.
#You can copy and save this. I was very bored.  

from math import *

#The math import * is for the use of pi.
#you can just subsitute pi with 3.14159 if you don’t have the math module. 

#Area calculation program

print “Area Calculation program”

print “————————————”

print

#Print out the menu

print “please select a shape:”

print “1 Rectangle”

print “2 Circle”

print “3 Triangle”

print “4 Sphere”

print “5 Cylinder”

print “6 Cube”

#Get the user’s choice

shape = input(“> “)

#Calculate the area:

#RECTANGLE

if shape == 1:

        height = input(“Enter the height: “)

        width = input(“Enter the width: “)

        area = height*width

        print “The area is”, area

#CIRCLE

elif shape == 2:

        radius = input(“Enter the radius: “)

        area = pi*(radius**2)

        print “The area is”, area

#TRIANGLE

elif shape == 3:

        height = input(“Enter the height”)

         width = input(“Enter the width”)

         area = .5*height*width

         print “The area is “, area

#SPHERE

elif shape == 4:

        radius = input(“Enter the radius: “)

        area = 4*pi*radius**2

         print “The surface area is “,area

#Cylinder

elif shape == 5:

         height = input(“Enter the height: “)

         radius = input(“Enter the radius: “)

         area = 2*pi*radius*height + 2*pi*radius**2

         print “The surface area is “, area

#Cube

elif shape == 6:

         height = input(“Enter the height: “)

         area = height*height*6

         print “The surface area is”, area

else:

         print “Skynet is now activated. Thank you. “

Loading more posts...