Been busy with the side-project I mentioned in previous post - seems I managed to convince the client to go with only php+mysql-based solution and avoid Access completely - I'm not really a big fan of VBA. Will hear final feedback on friday/monday, hopefully they'r satisfied. Contract-work seems really so much easier than OSS project management/coding - you have your deadline, expected result, and free schedule, and a LOT less work than that of an OSS project - not to mention getting payed. Developing on web platform is also quite a lot more fun than C++, because you can see the results of your work in a matter of hours/days, rather than in months/years.
The most frustrating part of C++ coding is that progress is lot slower than that of alternate platforms (such as web), and it's a LOT harder to land a contract-work with that. Everyone needs web/db stuff, and it's easy for a freelancer to do few projects w/o prior experience (I started on this db project by reading through the php4 manual, followed by mysql manual, just to learn the topics), while landing a contract-work for custom software solution written in C++ is next to impossible - most of that job area is done by companies, and more often than not, C++ programmers are hired full-time - something which I'm seriously trying to avoid. Full-time work just takes away my freedom, and usually pays considerably less than that of a contract-work. Furthermore, a custom software solution usually takes many months to complete (at least), while a website or db frontend can be completed under a week of dev-time.
Makes one wonder - if I can land hundreds of euros with 1-2 weeks of work on web platform, what on earth am I doing coding C++ then? Only place that I'm aware of that pays good for C++ code is day-job at some respectable company, and dayjob is something I'm trying to avoid at all costs... and speaking of which - C#/.NET seems to be much more "in" nowadays than C++ when it comes to corporate software engineering (where development speed and fast learning are valued), it seems C++ is only used at high-end software market (large-scale applications [office, photoshop] and games [due to performance reasons]).
On other news, I'v had some thoughts on why Hydranode starts having serious networking issues after around 10 days uptime. I think the issue is that we run out of sockets the OS provides. The thing is - Hydranode creates and destroys a LOT of sockets, if you start to think about it. Given a TCP reask every 50 minutes (in case where UDP is disabled), and 10'000 sources, that means around 200'000 sockets created/destroyed after 24h period. In 10 days, that means around 2'000'000 sockets. Now, socket descriptors are 32bit signed integers, and >0 values are used, which should give us roughly 2'000'000'000 available numbers (assuming they aren't being reused). Yes, I notice now that the calculation is off by 3 digits (I didn't notice it during my original calculation), but still it could be a theory worth investigating. Does anyone have experience with similar matters?
Madcat