Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!

We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Member Since 28 Mar 2004
Offline Last Active Nov 21 2014 09:57 AM

Topics I've Started

How to "handle" database queries in code?

22 September 2014 - 03:28 PM



To begin with I want to excuse my English. It's not my native tongue. I find this difficult to explain but I'll try.

Background: I'm designing a tool which sends incremental updates to a server. I want to store all information for each upload in a SQLite database.


Problem: I don't know how to handle database queries with minimal fuss. I would love to just make the query, block until it's complete and then return the results to the client. Instead, I create a asyncronous task which runs the query and then calls a delegate when it's done. Or I poll the task (without blocking) to see if it's done.


But this forces me to create a lot of extra code just for handling the results, invalidate the delegate and stop the task if the client disconnects, etc. Is this the right way to go? I supose you can't tell from the limited information I've given, but does it sound totally wrong?




Do you know anyone running their production game servers with Wine on Linux?

20 September 2013 - 03:50 AM


Do you know anyone running their production game servers with Wine on Linux? Is there a reason not to? Economical perhaps, or maybe it's not as stable as running directly on Windows? Does it support windbg so we can send callstack dumps when it crashes?


Dedicated/VPS hosting is usually cheaper for Linux hosts, which is the reason I'm asking. But I'm thinking it might be more hassle than it's worth, and extra maintanance complexity because we primarly work with Windows.

Easy-to-use Version Control on Windows? Needs to be able to easily ignore certain files.

08 August 2013 - 11:57 AM


I've used SVN before and their client-side ignorelist (their server-side one is useless as it is per folder) but I need it to be version controlled so others who Checkout get it too.


I've looked at Perforce but it's not exactly affordable for me, and it uses a different system than what I'm used to (I want Checkout/Update/Commit).

I've looked at Bazaar but it is a nightmare to setup as a server on Windows.


Does anyone have any suggestions? Is Mercurial any better?

Programmers and aspergers

02 March 2013 - 01:36 PM


Someone at work claimed today that there's a study published that suggests a majority of software engineers have aspergers syndrome.
I can't find this by Googling and I don't think it sounds plausible to begin with. I know there's a higher percentage among software engineers than other fields, but a majority sounds like exaguration to me.

Or does such a study really exist?


Software Occlusion Culling Rasterizer - What about small cracks?

16 January 2013 - 04:22 AM


If you'd use a Occlusion Culling Rasterizer much like DICE describes in their papers, determining visibility by checking how many pixels were written to a lower resolution render target; wouldn't this all break down when you encounter small cracks in your geometry which is visible at your higher resolution rendering but not visible at the smaller occlusion culling resolution? This would result in objects being discarded that are really visible.


How would you deal with this? Is it just accepted as one of the drawbacks of the technique?