Open Broadcaster Software
Shameless plug for an awesome open source live streaming/recording software.
Shameless plug for an awesome open source live streaming/recording software.
Introducing a whole new Spotify experience with the CampFire app, letting you listen to songs with your friends.
With CampFire a room can be created and then shared to anyone, once they have joined the room, songs can be played by typing a song URI/URL into the chat. The song will be played to everyone inside the room at the same time.
Some uses i’ve already had for this have been able to set up some speakers and then remotely control what’s playing by logging into the app.
Demo:
This app is still in early development and is not official, hopefully if I can generate enough interest in CampFire before we submit it to Spotify for review it might help us getting accepted.
Thanks!
Developer log:
Developing this app took around a week of blood, sweat and javascript. I utilized the awesome Firebase to create it, without Firebase this wouldn’t exist!
Originally this started as a small C# .exe which did exactly the same thing however it required the .exe to be running in the background. After much debate I decided the best solution of cutting the C# .exe out is to make it a fully fledged Spotify App.
Migrating the whole system to a spotify app was very easy and the entire C# application was replaced by 3 lines of code which played a song. Because the apps are made in javascript it was simply a matter of transferring files and changing around some css.
If anyone is contemplating porting a javascript based website/service to spotify then i’d highly recommend it!
Programming isn’t just syntax and compilers, it’s a whole logical thought process that shares the same process of building a home. You must have a great foundation of what computing is, how pieces work and how to really think abstractly.
Programming is great because there is never the “best” solution to a problem, Yeah you can get that algorithm down to O(1) but you always strive to do it better, faster, larger scale then before even if before was the best.
Programming teaches you how to think differently. It teaches you to think abstractly and more of the how does this work, and the big why does it work this way. Your total thought process becomes a puzzle that you are constantly trying to solve.
Programming also teaches you patience, Programming is one of the most stressful and aggravating things you can ever do. Some people try it once and think what the fuck! I can’t do this! then give up. Others will excel at the theories behind computer science but during implementation time, they become overwhelmed and let their code “run-away” from them. (Run-away means you lose the complete picture of what you are trying to create and solve)
Example: yeah you need to create that round-robin scheduling algorithm? Okay what is that? You look it up and say okay cool easy to do, a less experienced programmer will Google what it is, then try to implement it, normally they will not end up getting the problem the 1st compile, that’s okay! we are suppose to do incremental testing anyway! They try to see what the error or unexpected output is. Yeah, you can figure out where you’re missing that } or ;, but what happens when your program gives you 5 instead of the 3 you were looking for?
Most unskilled programmers become frustrated, start doubting yourself then you just become flushed and become scouring google for more examples until you just try to copy and paste code into your program. This is your code getting away from you, you now have no clue what is what, where is this method? This is where most programmers give up, they can’t figure it out.
A skilled and experienced programmer knows how to let there mind run free, they don’t let problems and code run-away from them. They understand the complete picture and knows the what and how of a FIFO Queue, Stack, Binary Tree, Linked List. How arrays work, what datatypes are best, what looping structures are better.
This is something that comes with experience, not one day of googling and understanding that.
Everyone can become a “programmer”. Syntax and algorithms will come with time, but patience and your thirst for success must be something you stride for.
While doing my daily stumbling around the internet I often come across many different way on receiving/creating payments. Normally for anything to do with money and the web i instantly default to PayPal, it’s easy and everyone has it. But recently there have been a lot of talk about bitcoins and they have seriously become a much more powerful force in the world of web payments and I think that in years to come it will only get bigger.
Even though i’m still a novice i’ve already decided that if i ever want to sell a product, for example a game, i will almost certainly provide a option to purchase it with bitcoins too. I feel that it would be my little way to contribute to the whole system and that’s… pretty… cool! Mt.Gox provide a beautiful and simple way to charge people so that helps too.
Here’s a simple function which returns the factorial for the number:
static int Factorial(int n)
{
for (int i = n-1; i >= 1; i–) // we start at n-1 because we don’t want to do n*n at the start.
{
n *= i;
}
return n;
}
** This is for reference **
This will only work for OS X, if i get any response i’ll create one for windows or linux.
This is a full guide for how to program the Kinect using Processing.
Installing OpenNI:
Installing the Processing Library
Once you’ve gotten OpenNI installed (including the NITE middleware and the SensorKinect driver), it’s time to install the Processing library. Thankfully, this is dramatically easier than installing OpenNI and pretty much the same for all platforms. Here are the steps:
Hello and welcome to my blog, i’ll be posting anything and everything here and i hope you’ll enjoy some if not all of it!
Feel free to drop a comment or an email at me@bambofy.com.
See you soon!