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

writes code

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

find me on Google+


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
Sep
5
awarded  Good Answer
Sep
4
awarded  Enlightened
Sep
4
awarded  Nice Answer
Sep
4
comment Why are the <b> and <i> tags deprecated?
Roughly you could use <b> for things that should be "highlighted" but not "emphasized", like keywords in a text. In technical documentation you find often different text styles used to show certain attributes, like in programming books code samples or technical terms. For such use cases like a technical term <b> or <i> could be used.
Sep
4
answered Why are the <b> and <i> tags deprecated?
Sep
3
comment Website compatibility with old operating systems
We don't know your user base. In general nobody I know would care for Windows98 (wtf? really?). XP maybe, but at least expect people to run some recent browser version if that is possible. That said in some places and some companies are various restrictions and limitations that make it difficult or impossible to update. If that's a large part of your customers you will have to find ways. Maybe have different versions of your site?
Sep
3
comment How can I put multiple hierarchical forms in a single web page and avoid making it a mess?
A bit unclear what/where exactly is your problem. A redesign of the form would be off topic since that's a UX question (also the design shouldn't really matter much for your code). So is the problem frontend (javascript) or backend (what technology do you use? In Rails for example splitting this thing into partials or templates, moving some code into helpers etc would work). Also do you have a reasonable MVC structure? You may have too much controller or even model code mixed into the view.
Sep
1
answered Whether to store all numbers or just their ranges in database for this application
Aug
30
comment How do you set and check a single bit in a programming language that does not support bitwise operations?
The Wikipedia article on bitwise operations explains the mathematical equivalents, mostly they seem to be based on some modulo2 operations.
Aug
29
answered REST API design for associations/aggregation
Aug
28
answered Is routing a site with RESTful not the best when you have very long URLs?
Aug
28
answered Good practice to pass this information through URL parameter
Aug
28
comment Good practice to pass this information through URL parameter
Totally standard. Even if both options could be used in parallel you could use something like me=actual;past and split on the server.
Aug
28
comment Loading database in memory vs querying
Would much depend on many details. Do you really need the whole database in memory or could you for example just keep the most recent entry for every file and load older versions only on demand? Also with something that seriously wants to handle that amount of files a dedicated server for this database could be an option. Basically 10-15 million records shouldn't be that much of a query problem if the dbms system is highly optimized, columns are indexed properly etc. Maybe researching different database solution (eg NoSQL) would be another option.
Aug
28
comment Is RESTFUL API as back-end service one of the best (or suitable) choice for Mobile App?
We did this in our last project and so far everybody is happy with it. Developers easily get how the API works and is structured, most common tasks fir very well into the REST structure. (@gnat I don't see where he is asking for tools or services to be recommended. May still be off topic as opinion based, but basically it's a question about API architecture).
Aug
27
comment Making internal search engine return results that adhere to local permissions on an internal web application
btw: doing all of this within the search engine has some more benefit, like you can keep sorting which most likely gets lost when you mix things like you do now.
Aug
27
comment Making internal search engine return results that adhere to local permissions on an internal web application
Not explained very well, but permissions are always for 'pages' did I get this right? So you tag each document with the page it belongs to. Then before the query you get the pages for the user (say [2, 5, 7]) and ask ES to return only documents that have one of these as tag. That's how I understood the problem here. Alternately you could also tag every doc with the user-id of everybody who is allowed to access it, though this would be a bit more complicated (though for about 500 users this should still work at least Solr can handle such things surprisingly performant)