Archive for the 'Other stuff' Category

Re-confused with Seaside a little

Sunday, June 15th, 2008

After I thought I have web-development all figured out, I got a little confused about my state of mind about it today. I watched some videos and played with Seaside a little more than before and now I don’t know. Things there are much different than my style is, but I can’t decide…

..is that really good and cool or not? Are my theories still solid? Do I code on too low level without the need to do so? what is really the right level of abstraction??? I thought I knew…

Inflatable Sunny days to come

Monday, June 9th, 2008

Me and my wife had a hard-shell canoe once, we drove it on few lakes and rivers around Slovenia. It was nice, amongst other things my sister and her b-f discovered the Bohinj monster in it and the legend now passes to younger generations.

Then 3 guys, drunk, took it to for the ride on Sava damn at HE Breg (near Sevnica) without asking anyone. They lost balance in the middle of the dam, fell in and almost drowned. The canoe sunk and was never found again.

Now I decided not to take my whitewater kayak with us on a Switzerland trip, but we bought an inflatable mini raft/canoe from Gumotex (Sunny) to deliver ourselves some family friendly adventures on lakes, seas and rivers in the future. While the hard-shell canoe was huge to put on a car and a project to get with it anywhere this thing is even more durable, doesn’t sink, weights just 16kg and I can pack it into just a special backpack. It can also totally accomodate to paddling in solo or duo.


gumotex sunny
Image is from this page, good info about IK-s

Can’t wait to try it on a water… Although ultra practical I still have some prejudice about inflatable stuff on water.

I found out that Euro football something is happening right now in Austria and Switzerland where we intended to go. So we are switching to Italy - South Switzerland instead.

Tripping for little earthlings

Friday, June 6th, 2008

Me and my then-GF-now-wife went to a 1 month trip through the side roads of Italy, France and Spain when-we-were-young and beautiful (and both had long hair). We drove an old yellow diesel VW golf (Mk 1). It marked us and it was sort of trip of a lifetime.

Well, hopefully not. We two + our 2y. son Miha bought a smallest used Adria’s camping trailer last week, and now are going for a shor trip through Austria to Switzerland next week. The idea is to be even more mobile than with a tent, and dryer in this monsume summer we seem to have. You stop, pull the handbrake and go to sleep :) - at least that’s the idea.. too bad even smaller trailers don’t exist here.

Buying the trailer, fixing up the pulling hook to the car and all the bureaucracy attached to it has stopped all my work except contract jobs for last week or two, but what can you do?

Too bad pics from the trip to Spain are all in non-digital formats.

flex 403 upload ioError 2032 php

Wednesday, May 21st, 2008

I was deploying FotoLOAD to the first customer/beta tester. It all worked on some of my test servers but it threw some exception at the end of uploading an image on some of mine and it gave me same exception on this customer`s server.

The fact that you can’t print out the returned response at ioError didn’t help. I dug out that you can set up an event listener to http status so I at least found out that it was returning me 403 (forbidden). I had no idea why it does this as I could contact that file and upload in any other way without any 403.

disp.addEventListener(flash.events.HTTPStatusEvent.HTTP_STATUS, onStatus);

With proxyTrace and a lot of googling I came to this explanation (ctf+F for 403) and solution.

<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>

It works. I also made the admin part for FotoLOAD midi and this is the screenshot:

fotoload admin

I have written this so someone else with this problem might find it quicker than I did.

Predavanje na dnevu iger v FERI Maribor

Friday, May 16th, 2008

Včeraj je bil Dan Iger na FERI v Mariboru. Predavalnica je bila skoraj polna in vzdušje je bilo super. No, rekel sem da bom objavil predstavitev online:

Priporočam vam da malo po-googlate in preskusite kakšen demo igre ki jih naštevam, kakšen “engine” ali pa si pač ogledate kakšnega razvijalca…

Rekel sem tudi da bom objavil linke do mojih iger in cel intervju z Andyjem (saj dosti ga tuki ne manjka).. To bom naredu danes zvečer ali jutri dopoldne. Kr neki linkov do mojih iger pa lahko najdete na Janko’s “products”. Rekel sem da ne delam samo iger za otroke, nekaj takega je WATERISK samo na njem še delam..

This is the presentation from talk at “Day of games” about indie game development at FERI faculty in Maribor.

No geek_points for this (Honda CB600 Hornet)

Monday, May 12th, 2008

I never thought I will say this all in one sentence. My >50y father came to my sons 2y birthday party with his 600cc Honda bike, and left it here for a while (it was night and cold when we were done) :) .

And I am not complaining, I luckily had a business meeting today and of course I didn’t use the car to get there. If anyone thinks to meet with me he/she is very welcome for the next few days, I finally have the time for meetings!

honda

The bike looks exactly like this (borrowed from Wikipedia)

I had an enduro (off-road/touring) bike when I was too young to have a car, but then motorcycles started looking impractical and quite dangerous too me. Well but I have to admit now (not that I do it because of danger), as with kayak, the more dangerous it is the more alive you feel and I didn’t feel as alive as today in a year. And I wasn’t speeding too-much but sitting on a little bike that has more horse power than my previous 1.6cc car, feeling the air the surroundings and the road directly.. it’s just 10x more involved than “couching” in a car.

STRPC progress

Thursday, May 8th, 2008

Factor (programming language)Image via WikipediaI was just making STRPC server in Factor because I need it for something I hope I will be able to release (very early version) soon. I made it work, but it’s still patchy at certain places. I have to write the Htmlize serialization and de-serialization in Factor, and add error reporting and input type checking and then it’s done.

STRPC itself is still very experimental (read crappy) right now, I used it at 5 projects but nobody else used it otherwise. And it does not surprise me. Who would use a nightly brain-dump of a XMLRPC frustrated coder that writes and changes it as he goes…

Well, I think I got the clearer idea of what exactly I want STRPC to offer now and I will update the spec, examples and libraries when I find some time. I have used it from PHP, JavaScript, Haxe, AS3 and Factor now.

The biggest change will be that it will now be serialization independent so the server could support any serialization (or many of them). Every server will have to support Htmlize serialization so if you write a client you can be sure that this one is supported. But besides it it can also support any number of other types. For example, why not use python’s (or php’s) native serialization if you have server and client written in python. The other example is Flash. AMF binary serialization is said to be much faster for flash and is natively supported so why use something that you have to parse by yourself in AS3. The same with JavaScript and JSON. Each server will be able to provide their clients with a list of supported serializations so client can programmatically choose the most suitable method…

Posts are boring if I don’t add some code so here is how you make a STRPC server in Factor now. This one adds and substracts two numbers and returns the result.

: strpc ( -- return )
    request -> query>>
    {
      {
        "math" "sum"
        { { "a" number }
          { "b" number } }
        number
        [ + ]
      } {
        "math" "sub"
        { { "a" number }
          { "b" number } }
        number
        [ - ]
      }
    } serve-strpc ;

: start-server ( -- )
  [ drop strpc ] fuj-def-responder set-global
   main-responder set-global
  8080 httpd ;

more readable version

You will put the words you want called instead of “+” and “-” . These words (functions) have NO rpc specific code and are totally general words.

Bullshit Talks, Money Walks

Tuesday, May 6th, 2008

I gave a talk in front of around 70 secondary school headmasters and teachers a month or so ago. It was about technical side of some e-learning project that I work for. I didn’t have that good feeling during the talk, but people said it was very OK. And (f*** it) I am OK with the OK

Then after a week (unrelated to the previous talk) someone contacted me if I could talk about indie game development on a game-dev event that they are preparing (there will be some AAA companies talking about their side, and I will represent the indies) at FERI (University in Maribor).

It sounded more fun than the previous talk (and previous was cool too) so I said yes. It will be on 15. may. I have 8 more days to figure out what I will talk about, make the slides.. etc.., then I want to record few answers from some known indies from abroad, so I have to find smart questions and find a way to record them somehow without stealing too much of their time, my son has a 2 year birthday and I have a bunch of work for multiple customers. tick.. tack.. tick.. tack.. tick….

As an sidenote… Slovenia seems to be such small country that if you make few games you are quickly amongst the “most productive” game developers in it.

TFM :: another web-magazine from/for kids on o.n.

Monday, April 21st, 2008

I was checking out if there is anything urgent to fix on otroski.net today. I visited few random sites and it lead me to this nice and very up-to-date web-magazine called TFM. I was surprised that it was coming out for every month since Dec 2007 and I had no idea that it even exists. Well this is not so odd as my time spent on o.n. is very very limited and only focused on fixing very urgent things.

This is a link to april’s issue and to the main TFM page. It’s all in Slovene language so…

O.n. already had/has a magazine made in the whole and initiated by “kids” themselves called F.R.O.N. and I mentioned it here already.

I am lucky that “kids”/users make up for my lack of resources and vision with o.n. . I hope one day I will be at least what it once was. This can happen only in two ways though. Either I find some monetisation for it (that won’t suck) so it can support itself or other projects bring me so much money/time that I can devote to it more seriously again.

Mini tour to IMSGY

Tuesday, April 15th, 2008

My almost 2 year old son is sick with a fewer so he is just trying to sleep but wakes up every few minutes coughing. Really depressing when your kid is sick and anything you do doesn’t really help him much… For few hours I was staring in the air in minutes when he sleeps but now I got of my ass and wrote these slides to tell somethin more concrete about ex. tinyIMS that I mentioned yesterday and which I now named IMSGY. It’s all WIP..

tinyIMS, imessy, imsgy..

Tuesday, April 15th, 2008

A year or so ago I wrote something a sort of an alternative to email system. Email was bordering to unuseful to me at that time. Main problem was spam. I canceled and changed all of my info@domain.com mails on my websites because I got 20-50 spam email on each of them and got into trouble with missed emails. That’s when I wrote tinyIMS.

Later I canceled almost all of them and started using gmail for everything. Gmail is really well made thing and problem with spam is not really a problem there so the initiative to push out tinyIMS became void.

Now I am looking at it again. I have the thing written and it works, but it’s still a little rough and I would have to test and debug it.

But it has a serious chicken and egg problem and I don’t see a substantial reason why anyone would use it if there is email. It has some benefits (and also limitations in current state) compared to email, but they are all of sorts that normal user doesn’t really care that much.. And I don’t know how to name it as tinyIMS doesn’t sound good to me any more…

I have to find some niche need or some sort of evil plan how to inject it into someones needs..

I will write about features and tech next time I write about this.

You are getting boring with all that Python (3/3)

Monday, April 14th, 2008

So, To finish this one off. I wrote this because I needed some venting for seeing tons of posts about python on reddit (for few days or a week they were all over it) and because I am seeing some smart shit about python all the time from various people that didn’t-really-use-it but saw it a little and heard that it’s ultra nice.

Yes, python is nice, but it’s just a language like any other and there is a bunch of other languages that are “nice” too!

I think python is now just the most mainstream of these (I don’t know how to call them) higher level dynamic scripting languages. And those people who previously didn’t know it even exists or diminished anything dynamic while coding in old behemoths of that era (C++, Delphi or Java) are now falling on their asses because “python is so nice, productive and great!!”.

Also ruby was very “in” for a year or two and now that it sort of felt back to reality a lot of folks found rescue in it’s older cousin python.

Zemanta was unleashed yesterday

Thursday, March 27th, 2008

Zemanta launched it’s service yesterday. I missed the party as I thought it will be on Friday. Now I noticed the post about them on Techcrunch. Cool.

I am using the service for a while and I like it.

Some pics from event: had ferme

now go and kick some ass…

Does your website have a name?

Sunday, March 23rd, 2008

There is a very simple indicator whether visitors of your website come there because they intended to come to your website or they they just happened to click on it while searching with a search engine. This could be reduced to “Brand vs. SEO” probably although there is more to it.

Some examples..

  • Otroski.net had a very loyal user-base in it’s time and around 80% of search engine keywords for it had been “otroski.net” (and variations)
  • bravekidgames.com offers games for kids and is not really that special. I had to wait for 2 years to notice the first visitor that came to the site through searching “bravekidgames.com”. Lately I notice them more often but it’s still a rarity. You have to count in that around 2000 people see it every day and it’s up-there for 2-3 years
  • QUBIDRAW gets 1/10 of BKG visitors, is around for just a while (and is still a somewhat crapish release-early thing) but I already noticed folks get there by searching “qubidraw”

Nightwish , youtube , phone cameras

Sunday, March 9th, 2008

Source: WikipediaJust few days ago, there was a Nightwish concert in Ljubljana. I didn’t go, I heard one song with their new singer and the new sound & feel didn’t impress me that much.

I went and wrote “nightwish ljubljana” to see the date of the concert and I got to youtube which holds more than 10 videos from this concert. Well, the ones I saw at least are of cell-phone-camera-in-the-night-held-by- -half-drunk-guy-or-chick quality so they can’t really substitute being at the concert.

So what is the moral of the story? Don’t record the concert on your little shitty cell phone, enjoy/consume it yourself. Every moment of your life is over as soon as it happens, it can touch you or it can pass you by.

( Do you see the image on the right and few links in the text. Well I am to lazy for that so Zemanta’s secret service helped me out. Or in other words, I voluntarily became their lab-rat or a “beta tester” as they call such folks these days. )