Reputation
2,878
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
1 15 28
Newest
 Necromancer
Impact
~111k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2,143 votes cast
Jun
4
comment cakephp admin panel, different controller for different group of tasks or one for all?
Yes, that is common: all sites but the simplest have an admin section. Nevertheless, the usual way to group the actions in CakePHP is per model, not per user identity. You can have the admin actions split through the various controllers, just like the usual actions. Think it like this: do you group all the actions for a normal user in a single controller?
May
29
comment How do I safely write code in my own 'words' and not plagiarize?
On the other hand a 5 line snippet to do a common task in a given language may be the only/obvious way to do the task, and just posting it on a blog does not grant anyone copyright on it,
May
28
comment Is Bubble Sort the slowest sorting algorithm?
This is fine. If the question is just "What are some fun ways to sort slowly?", CoolBeans' is a perfectly good answer. On the other hand, it may have been the case that you thought that your question admitted a rigorous answer, like the similar-sounding, but actually very different, question "What is the fastest way to sort an array?". In this case, it would have been good to clarify that looking for the slowest algorithm is an ill-posed problem.
May
28
answered cakephp admin panel, different controller for different group of tasks or one for all?
May
28
comment Is Bubble Sort the slowest sorting algorithm?
The fact is that giving a precise definition of "reasonable", and so making this question answerable at all, would be a rather difficult task. By far harder than answering most questions on SO.
May
13
awarded  Civic Duty
May
11
answered Single line comments for multiple indented lines of code
May
10
awarded  Nice Answer
May
10
comment isn't number localization just unnecessary?
I think you have mistunderstood my claim. I contested the OP sentence "but wouldn't this actually cause more confusion to the user (even if he is German)." So I think we agree.
May
10
answered isn't number localization just unnecessary?
May
9
comment Is javascript worth learning if you do not plan on being a web developer?
I disagree. It is the only widespread prototype-based language. Moreover, among widespread languages, it has one of the best support for closures. So one can learn something valuable using it. Finally, it is blazingly fast for an interpreted language.
May
8
comment What is the historical basis of using Javascript in web programming?
Standard libraries for I/O in Javascript are being written. Of course these are not available in the browser. I'm justg saying that if Python was implemented in the browser, unsafe libraries would not be available. And presumably you would not miss them, since they are not meant to be used on a website.
May
7
comment What is the historical basis of using Javascript in web programming?
That does not make sense. IT is up to the environment to decide which APIs are available for a programming language. Of course, if Python was shipped in browsers, it would have access to the same APIs Javascript has now (like the DOM), so it would have no way to create any damage.
Apr
29
comment Version control management of large projects
I agree. But I have never worked in a large team, and I'm not sure it would be unlikely in a project with 50000 files and 500 people.
Apr
29
comment Version control management of large projects
I agree, but Carl and Bob have just pulled from the server. Let us say that Bob finishes his merge first, and pushes it to the server. Let us also assume that Carl is a good guy, so instead of pushing is merge, he pulls again to see whether there are any new changes. The situation will be identical, the only difference being that the mess is now on Carl's computer rather than on the server. The problem is that people can make not only different changes - that should be merged - but also different merges, and merges of merges and so on...
Apr
29
comment Version control management of large projects
Mercurial, unlike SVN, is not centralized. So there is not really any hierarchy like the one you describe. Appearance of heads is the rule in Mercurial, and merging of two branches is rather painless. I was wondering what happens in a more complex situation, though.
Apr
29
asked Version control management of large projects
Apr
21
awarded  Nice Answer
Apr
20
answered What Impact Do Scripting Languages Have on Junior Programmers?
Apr
20
comment Tabs versus spaces—what is the proper indentation character for everything, in every situation, ever?
"A tab could be a different number of columns depending on your environment" Yes, this is exactly the advantage. Everyone can set it to his taste and be happy.