Bitsphere's Weblog

… a bitart weblog


Leave a comment

Jsocialcloud – Why it is cool to publish code

cloud2014In September ’14 Bitsphere published a small Javascript work on http://sourceforge.net/projects/jsocialcloud/.  The published code lets coders embed links to various social media accounts as images floating in a div. Please visit http://bitsphere.ch/bitsphere/index.php?id=23&L=0 for an example implementation of the code.

This is the first code piece Bitsphere published and it let to several insight about coding. To share some of them with you will find a short list in the next paragraph:

  1. To publish code forces to format the code in a very proper way.  It forces the programmer to go over the code several times and keep the comments and the styling proper. This fact alone should make publishing source code to a public site a part of tech education
  2. Package management is not that easy ( at least at Sourceforge ). When altering a file after publishing the .zip file the .zip needs to be redone too. This sounds trivial but somehow slows down fast modifications. So if you publish make sure that you plan some time for the publishing itself.
  3. To have code on line is cool. People may convince themselves of the capabilities at Bitsphere and a sample work – though a small one – is always at hand when discussing achievements and former results which tends to stay in a much more abstract level whitout even a link to accomplished work. (This may help in job interviews).
  4. Things never are perfect. Bitsphere always thinks of some changes that will come in a next release though at some point release 1.0 has to be declared as finished. Then it comes to your proper project management that you keep track of the next steps to be done.

 

If you look for a add-on for your homepage check back the code at the link at top and leave a comment about your experience!


Leave a comment

bitsphere.ch – New Site Design and Typo3 Backend

timelessDuring the quiet days around the end of the year bitsphere.ch got the new site design promised in January 2013. The site is running with a Typo3 backend which makes it easier to change and add content. Typo3 – especially typoscript – is not that easy to handle but rewards with robustness and a lot of possibilities to tailor the software for specific purposes. As by now there is no intention to move this blog away from wordpress.com since the people here have done a great job in the last years, the .com site is regularly updated by the stuff and Bitsphere may use the new features immediately. Furthermore wordpress.com has a rather good integration in social networks. Anyways Bitsphere is happy to have a new home so check it out and leave your comments here at the blog!


Leave a comment

Fresh ideas with old technology

Recently Bitsphere worked for the oneminute video 2012 which is entirely coded in c++ and not java as in the last years (click here for all the past oneminute animations). To tame the x-windows system many man pages needed to be consulted. A lot of them were last updated sometimes in the nineties.

Clearly technology for applications like twitter or pinterest existed long before the applications appeared but time seems to have to move forward the slowly evolving ways of thinking in symbiosis with the advancing technology. New forms of aesthetic expression always are  found with older medias. Just think of all drummers and singers! Compared to them it looks all reasonable to produce state of the art applications with technology from the last century. And it works that way. Many devices are programmed today in programing languages older than ten years. For example the android phone system.

Bitsphere’s video engine in c++ has the same functionality as the former one in java but is faster and has easier access to libraries that around there in the web. So it get rid of all the bridge libraries like jjack or j4v4l.

So what do you vote for? New art only by new tech or do you find other developments bringing fresh ideas? Let us know in the comment section!


Leave a comment

Oneminute Video 2011

This year Bitsphere participated for the third time at the Oneminute film festival in Aarau, Switzerland (http://www.oneminute.ch). The video shown at the festival is the first video by Bitsphere done with a real cam. An augmented reality engine computes a virtual cube into the real video. The cube bounces off wooden tokens placed before the cameras lenses.

The application works in realtime. When a token is hit by the cube a sound is played out of a reservoir of one hundred sounds which are similar but not the same. So there is a big variety of sounds. To take the final video several takes were done since the application is not deterministic and behaves in different ways depending on the starting point and velocity of the cube and the position of the tokens in the field of view of the camera.

If you have questions, suggestions or something to say about this video or the application use the comment section below this post!


Leave a comment

Mathematical simple colours in programming and webdesign

Working on the oneminute video 2011 once more some quick colour decisions had to be made while programming. Sometimes just to test or to highlight a new feature of the video engine. Most of you doing programming or web design must have been in the same situation.

Some colours seems to come easier since they follow a certain pattern. Talking about hex colour codes the basic group is 0xff0000, 0x00ff00 and 0x0000ff which shows:


This colours are chosen quickly and every experienced programmer knows the result. A similar simple group build the two colors 0x000000 and 0xffffff which shows:

This may be no breaking news for you. But do you sometimes make part of the community which choose this colours when it comes to a quick decision?

There are other groups of colours beside the fundamental colours. When gray is needed the most simple choice would be 0x777777:

But the mathematical middle in between 0x000000 and 0xffffff is 0x7f7f7f which is also simple to type but slightly different:

When it comes to colours there are many different colours available which are simple to type: The next picture shows a gradient with the colours 0x1111ff, 0x2222ff, 0x4444ff, 0x8888ff, 0xaaaaff:

There are other colours which are chosen in sake of the numbers instead of a colour model. How about 0xabcdef or 0xfedcba?

Do you recognise some of the mentioned colour codes? And what colour codes do you choose when it comes to testing or quick decisions? Please post them in the comment section and with your help there will be a picture illustrating the comments on this blog soon!