10,268 reputation
43549
bio website programmers.stackexchange.com/…
location Bad Rappenau, Germany
age 44
visits member for 4 years, 2 months
seen 10 hours ago

writes code

ruby (on rails), c++, python, pascal, vb, ti-basic, sql, js, jquery, html, xml, qt

find me on Google+


Oct
13
comment How to handle textual interactivity
What you are looking for is natural language processing, your specific example would be parsing to build a parse tree. There are many more details to be found about this rather complex area.
Oct
6
comment Algorithm for figuring out the enemy flag's location in Stratego
Yes, problem here is that this would not help you, since your question would get closed. Also with the focus on the actual game and less on algorithms this is more like a discussion on possible approaches or a collection of ideas (as issac9A's answer). Also there was this GameDev StackExchange where this may better fit. Also the fact that an off topic reason applies to a large group of questions (like realistic AI) never kept anybody from closing those questions. That's mostly true for all off topic reasons.
Oct
6
comment Algorithm for figuring out the enemy flag's location in Stratego
This is really about Stratego strategies and may get closed as off topic (maybe you could focus the question more on general AI algorithms). That said my strategy for this game was always to take very close count for what pieces are taken. In certain combinations once you are ahead a single captain doing 1:1 exchanges of the higher pieces and your extra captain is the next general (and fears no spy). Also trying bombs with cheaper pieces (scout) or miners was standard.
Oct
4
comment Logging and analytics from multiople processes
LogStash maybe, together with Elasticsearch or Redis.
Oct
2
awarded  Enlightened
Sep
30
comment Why should i use a framwork to make a website if i can make it using a CMS?
In such cases your site will have an admin section, those are pages that are not visible to the public. There you can create any kind of forms that are needed to get such features like managing users, managing products or managing content for pages like "about", "contacts" etc. It's just like a second site where the logged in user has more rights and can see things a normal user can't (mostly Wordpress works like that too). (Also there are many plugins for frameworks to help with this kind of features)
Sep
30
comment Why should i use a framwork to make a website if i can make it using a CMS?
Yes, this could be a solution for such a case. Also don't forget that for CodeIgniter exist many plugins too that may make the task to add CMS features easier. The problem spaces overlap a lot. After all you can add your own code to Wordpress sites too. But at some point it will be just more work and you will prefer something more geared to write your own code. And for even more complex cases you may abandon the framework to and write everything on your own (assuming you have very good devs and a large enough team). Twitter may be a good example that had to move away from Ruby on Rails.
Sep
30
comment Why should i use a framwork to make a website if i can make it using a CMS?
Stack Exchange would be a good example. You won't find this functionality in any plugin. Especially if you add all the small features it has. But also larger shops like Amazon (though not necessarily that big), their product selection is far to complex, most plugin solutions you would find are just too limited to say a single category for a product and can't handle tags and complex search features very well. Other sites that are just not typical enough for plugins, say Twitter has very specific feature sets. Sites that sell Stock Photos, sites that need very complex processing on the server.
Sep
30
comment Why should i use a framwork to make a website if i can make it using a CMS?
@babu they may use both. For simple sites or sites that work well with common plugins (some shops and similar) they use Wordpress, for more complex sites they use a framework. Just as I said, it depends on the project and some companies use a wide range of tools.
Sep
30
comment Why should i use a framwork to make a website if i can make it using a CMS?
There is no standard procedure. From the tools that offer the features you need choose the best one in terms of reliability, ease of use and whatever else is relevant to your project now and in the foreseeable future. There is no golden bullet, some companies use Wordpress for nearly everything, others will never touch a CMS. Depends on company culture, technological knowledge of developers and the projects they actually do.
Sep
29
answered Are the concept of database driven website and the CMS made website same?
Sep
28
comment When is it acceptable for business logic to be exposed on distributed applications?
I somehow fail to follow you on this assumption that compiling code provides any kind of "protection". This seems to be a very bad case of security through obscurity. Also: "Anybody with DB rights...", maybe just don't give everybody and his cat admin rights?
Sep
22
comment Would it be a wise decision to opt for just Javascript to create a single page application, instead of HTML and CSS?
Brad Green somehow announced during the AngularJS NYC Meetup (2014.09.18) that Google will render all Javascript by the end of this year (which still would leave us with the same SEO issue for other search engines).
Sep
15
comment How to design RESTful URI to get all unread messages?
@VansFannel it's not uncommon here that people post very similar or even identical questions multiple times. Often because they didn't get the expected answer the last times. And since questions once they leave the main page don't get that much attention anymore that happens often enough.
Sep
15
comment How to design RESTful URI to get all unread messages?
@VansFannel I would simply see this as a specific task of the already existing index action and just add a param to the url like ´from_message_id´. This at least unless the way you display this type of messages differs a lot from the normal index display.
Sep
15
comment How to design RESTful URI to get all unread messages?
@AndyBursh that's not really a duplicate. The question here is a more specific problem, most likely not covered there.
Sep
8
comment Providing friendly URLs for a website vs. realities of database IDs
If you have a unique id in your URL I don't see why you would want to verify the slug part at all. Use it for the looks and ignore it for the lookups.
Sep
7
comment How to determine what should get it's own respective controller?
Maybe have a look at RESTful design. It doesn't solve every single problem of this kind, but gives you a very good direction how to think about it.
Sep
7
awarded  Populist
Sep
5
awarded  Guru