9,342 reputation
33048
bio website programmers.stackexchange.com/…
location Bad Rappenau, Germany
age 43
visits member for 3 years, 7 months
seen 3 mins ago

writes code

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

find me on Google+


2d
comment how to protect your asm codes
Lets just assume your code won't be that great, so nobody will even try... (this assumption holds true for about 99.999% of all javascript on the interwebs)
2d
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
comment career path for java progammer in embedded system
Career advice is off topic on Programmers.SE
Aug
28
comment Python or PHP for website development
Language and tool recommendations are off topic on Programmers.SE. That said you can use Python (maybe have a look at the Django web framework). Also nobody can seriously tell you what tools you should use unless he would know far more details about your project.
Aug
28
comment Emulate enviroment locally or accept use of a dev enviroment
A bit opinion based, especially without very detailed knowledge of the system and what exactly makes it 'difficult'. I would most likely not jump on it right away, but still try my hands on it out of curiosity. Also you would need to learn technical details about this environment anyway and setting up a VM that emulates at least parts of it could be a very good way to do this, even if not working not really lost time. (Maybe head over to our chat room) and discuss it there.
Aug
28
comment IIS Express Worker Process has stopped working
This is off topic. If this error is from an application you are developing it would belong on Stack Overflow. But you would have to give much more details and show the code that creates this error so people can actually help.
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 Soft-AP on WES7
This question is totally not about software development
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 Most Efficient Way to design a Dynamic Web application
A system like this could be done, but it takes a lot of extra effort to do this, since data structures most likely get much more complicated than they would be if you just wrote two simple sites (just to share a few users this would not make much sense). Unless this is absolutely necessary you should not do this, especially because how you ask this question looks a bit like you do not have much experience. Also if the project would be really require this complexity additional tools should be used like some search engines (Solr, Elasticsearch...)
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
28
comment Which one of the following is a great choice for storing users images from web application?
@gnat together with the last question and the request for a specific technology this doesn't really look like homework. Still off topic as SO cross-post, tool recommendation, too broad. Also without knowing the amount of images (last question talked about 1 billion, this can't be answered anyway. Also as Basile says, what's to be done? Any large scale image processing, generating thumbnails etc?
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)
Aug
27
comment Making internal search engine return results that adhere to local permissions on an internal web application
I have only practical experience with Solr, but Elasticsearch should be similar enough. I would just tag the documents with the 'pages' information. (Basically as your developer recommended). This would only another type of tag and our queries use several of them for every query anyway without any performance problems. The search engine can handle this internally much faster than your code. (Though in theory you could try to optimize your intersect algorithm, but it would depend on many factors if this is worth your time when letting ES do it will most likely be easy enough)
Aug
27
comment How to find bus routes?
Google (estimated 3 seconds):code.google.com/p/jianwikis/wiki/AStarAlgorithmForPathPlanning & en.wikipedia.org/wiki/A*_search_algorithm
Aug
27
comment In Perl, best way to insert a char every N chars
Hi, this kind of question belongs on SO. (I flagged it for moderator attention, so they will migrate it there soon, please do not double post it there, just wait a bit)
Aug
27
comment Business level log solution
@Reek that's what makes it so broad. There is most likely not a perfect solution (not that I'm an expert) and we can only discuss (makes it off topic for being opinion based) various variations and combinations of existing technologies. Try the DBA or Admin sites, people there should have better knowledge. Also adding some more information like amount of data, type of data (serverlogs, db logs...) etc would help. There is a lot of different kind of logging going on and actually a lot of small tools exist that can be combined (the ELK stack I mentioned would be at least a good starting point).
Aug
27
comment Business level log solution
Totally off topic as product recommendation, too broad if about database 'concepts' :) (though maybe try on one of the other sites like DBA or ServerFault. ELK stack (Elasticsearch, Logstash, Kibana) would allow for easy querying. Point one is difficult, few such systems come with much permission handling (unless you mix them with other technologies). 4 & 5 somehow sound mutually exclusive. If you want persistence you need some reasonably advanced DBMS.
Aug
26
comment Switching Job and Domain from Mobile to Web
Career advice is off topic on Programmers.SE. Answers could only be based on opinions. Maybe you should ask this in one of the chat rooms, where I'm sure people would try to give you good advice (as far as this is even possible, a good answer would depend on just to many details).