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

writes code

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

find me on Google+


Dec
5
comment Haskell, Rust, or D for POSIX shell implementation?
@JörgWMittag would this still be a question? Since there is xmonad for a windows manager which should be side effects in its purest form all over the place?
Nov
30
comment I have two applications… use NoSQL or RDBMS?
Your assumptions are basically right. You could do all of this with a RDMBS (both projects) and at least for project 1 the RDBMS would likely be the better option. Also it is very common to use several database systems for several tasks, so merging the travel data into a document oriented system for some optimized search (like Solr or Elasticsearch). Though you see pure NoSQL projects more and more. Go with combinations until you gain some experience with some of those newer options.
Nov
26
comment How do big companies maintain their products' source code without it falling into wrong hands?
They make contracts and sue if those contracts are broken. Also they make contracts only with people/companies they think they can trust (have a good reputation, can show they have done similar projects in the past, are recommended by other people with good standing...). And no, not everybody at facebook has full access to all the code.
Nov
9
comment Creating a user-customizable web api
Possible duplicate: stackoverflow.com/questions/22907/…
Nov
8
comment Given a number which is power of 2, check if it is even power or odd power
Is there a size limit for the numbers? It would be easy if it's bounded with say 32 or 64 bit, but if the size could be arbitrarily large bitwise operations would maybe become more difficult to use.
Nov
7
answered Simultaneous purchase in online shop bypassing limited offer
Oct
29
comment Will there be a memory or processing time difference between a class member function and a global function
Also this may help: stackoverflow.com/questions/422830/… (tl;dr: The C++ standard guarantees that memory layouts of a C struct and a C++ class will be identical as long as the C++ class/struct fits the criteria of being POD ("Plain Old Data"))
Oct
29
comment How was the system clock first used in early computers?
Time sharing systems maybe. It seems that the CTSS used a modified IBM 7094 mainframe that implemented a "clock interrupt" (not sure if this would have allowed full featured date/time functionality). For PCs the IBM AT was the first model to come with date/time hardware implementation (used to set file creation/modification timestamps and showing the time).
Oct
24
answered How to deal with multiple “entry points” for an action in a REST API?
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
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.