Math, oscillators and C (Updated)

So I’ve been working on my own VSTi for some time. It’s a hobby project, and I’m not thinking about releasing it to public (only as Freeware synth, as the VST SDK license does not allow me to publish the source). It’s one of those projects where you use your knowledge in programming with some hobby you have. My hobby is music, see here:

I’m also a software/web developer and my knowledge in languages are ranging from BASIC to C/C++ and from JavaScript to Java and of course PHP.

So this post is more like a question for an advice of fellow developers.

Continue reading Math, oscillators and C (Updated)

JavaScript objects My way

You’ve probably worked with some OOP language in the past. You probably know how the typical syntax of OOP looks in any language (well in the most popular ones at least) . It looks something like this:

class MyClass {
  // The constructor
  public function MyClass(){

  }
  // Some private method
  private function _someFunction(){

  }
}

Well JavaScript is one kind of a different beast.

Continue reading JavaScript objects My way

Smart Phones and left/right-handedness

I was playing around with my iPhone this one day and somehow I started to notice, that whenever I turn the screen to landscape mode I always turn it the same way I always do. Most of the games support landscape mode in both directions (just turn it around 180 degrees and the view will rotate around), until I opened this one game called Uber Racer, which immediately started upside down (according to position I was holding my phone). I tried to shake my phone, wondering if maybe the accelerometer was stuck or something, but then I realized that the game was programmed that way and I had to turn it around to play it. At that point I realized, how important it is to be able to turn the view in to current phone orientation, as it didn’t feel right for me.

So what am I talking about here, is that our so-to-be symmetrical devices are also affected by our left/right-handedness. I myself am a right-handed person, and I noticed that I always tend to use my left hand to hold the phone and my right hand to navigate on the touch screen (or press the home button). Also when I turn the phone, I always tend to turn it counterclockwise while holding the bottom of my phone with right hand and the top or back with my left. Is this just a coincidence or is it leading somewhere?

So here is a little poll I’d like to propose:

  1. Are you left/right handed?
  2. Which direction do you mostly turn your smart phone (tablet)?
  3. Does it annoy you if you have to turn it the opposite way than you usually prefer?

Frameworks and libraries

There we go, my first post on development. Frameworks – I will not explain what a framework is, I think you already know it, instead, I will write my opinion on how and when to use them.

Frameworks are great tool for us, developers, to overcome some obstacles, when we quite do not know the solution or we are too lazy to write it ourselves. On the web world we have a lot of environments to work in – there is a server side environment (e.g. PHP or some other popular web site scripting language + Apache or some other HTTP server software + some sort of SQL RDBMS), then there is a client side environment (JavaScript, HTML, CSS and also ActionScript in Flash), and in any of those there are some problems to overcome.

Continue reading Frameworks and libraries

Hello world!

NO, this is not a default blog post by wordpress engine. 🙂 This is me, speaking here. So anyways I’ve finally decided to switch my blogging language to English, as I have a lot to talk about web/software development and music production to a broader audience. My old blog can still be found here, but the future of ORB is getting shady, so I decided to switch to WP.

So, who am I? My name is Gusts, I live in Latvia and I’m currently (on 28th of October, 2010) 27 years old web developer and musician. I currently play in two bands: Riga Metro & Bottleyed. I am also a part owner of a web development company in Latvia, where I work as a head of IT departament. My knowledge in development languages are mostly centered around web, so I spend most of my days in the world of PHP, JavaScript (I love jQuery) and a little bit of HTML, CSS and ActionScript 3.0. I’ve done some hobby software development and wrapped my head arround languages like C, C++, C# and Java.

I think this will be enough for today.