Jump to content

  • Log In with Google      Sign In   
  • Create Account

Carsten Germer

Member Since 06 Nov 2013
Offline Last Active Oct 13 2016 07:42 AM

Posts I've Made

In Topic: What's a quick way to get a database going for a .net text-based game?

06 June 2014 - 04:16 AM

What are you trying to do more exactly, shinypixel? ("...that I can read/write to it")


Reading sounds like requesting a file with the normal methods (HTTP/S).

"...that can be a security issue..." but it's usually not. You have to take care that your webserver software is uptodate and your configuration doesn't leave any vulnerabilities. That's very achievable and much can be learned by reading docs and forums.


"Write" on the other hand is a bit more tricky. I agree with nfactorial and spazzarama, that suggets a proper API (REST*, RPC) with access control. On the other hand, that is not as difficult as it may seem, because it has been done many times before. You'll find lots of information on the net and you can learn a great deal.


If you are not set on Microsoft technologies for your backend, I'd suggest Apache/MySQL/PHP (WAMP, MAMP, LAMP). It's easy to set up, get into and have quick results when prototyping.

In Topic: Perfectionism and Programmer's Block

13 May 2014 - 02:00 AM

Radioteeth, your condition has been know even before I started programming and I'm old ^_^



In DonaldKnuth's paper "StructuredProgrammingWithGoToStatements", he wrote: "Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%."




So, learn to not worry too much and care about your code architecture and data handling at the start of a project.

Modern profilers do a great job of showing the real bottlenecks later on.


Cheers /Carsten

In Topic: HTML5: Mouse position outside the canvas?

11 April 2014 - 05:42 AM

I don't have a tested solution, but how about jQuery .mousemove on a surrounding div or .pageX on the document?





Cheers /Carsten