382 reputation
38
bio website
location England, United Kingdom
age 44
visits member for 4 years, 4 months
seen Feb 19 at 16:59

A software engineer, programmer, project manager, Gnu+Linux user, and a dad.


Feb
3
awarded  Necromancer
Jan
15
comment Why was the grave but not the acute accent included in ASCII?
Yes back in the day of ascii there were not enough bits for all the characters, so the closing-quote and apostrophe where the same character. The even quote was a separate character. Now the apostrophe is not a quote character.
Dec
6
comment What can I do to let our team have code reviews of branch merges having hundreds of screens worth of Github diffs?
complexity ≈ conflicts² so for multiple commits/reviews we get complexity ≈ a² + b² + c² + … and for a single commit/review we get complexity ≈ (a+b+c+…)² and it can be seen that a² + b² + c² < (a+b+c)²
Dec
6
comment Merging very big branch with master
@RubberDuck I have no idea, the basic concept is to go back in time (using you revision control system), and then slowly return to the present while merging at each step. This greatly reduces the complexity, at the expense of many merges. It also makes it easier for you or someone else to check. However it is better not to have got into such a position, as each branch will have changes that would not have existed, if the merge had already happened.
Dec
2
answered Merging very big branch with master
Dec
2
revised What do I need to do to NOT steal “Hello World” code with a GPL license?
added 170 characters in body
Oct
12
comment Efficient Code Design for Pattern Search Using a Singleton Pattern
I don't have an answer, except to say I think you may be on the wrong path. singleton is considered harmful, god/master class is considered harmful, making a library of patterns is considered harmful: Some patterns can be libryfied in some languages, but in general they can not. Pattern seek to go beyond libraries. There are reusable ideas, where as libraries are reusable code.
Oct
12
comment Efficient Code Design for Pattern Search Using a Singleton Pattern
Please note comments are not answers, therefore they do not answer the question.
Oct
12
comment Efficient Code Design for Pattern Search Using a Singleton Pattern
The most important reason — Singleton violates “single responsibility principle”: singleton is a class and its factory rolled into one. The less important reason — Singleton in nearly impossible to implement, at there is almost always a way around it.
Oct
12
comment Efficient Code Design for Pattern Search Using a Singleton Pattern
singleton is a bad idea, it is ever not needed or will lead to trouble.
Sep
28
comment Need help understanding a recursion example in Python
Note: in python, you will get a stack-overflow for large values of n. This is because python has no tail-call optimisation. (This is a design feature, to allow the implementation of full stack tracing.)
Sep
24
awarded  Autobiographer
Jul
29
comment I made improvements to free code I found online and notified the author. Was this the right thing to do?
@RobP. Yes this is correct for most Free Software or Open Source licences, it is not necessary to distribute changes. The only exception I Know of is AGPL (not GPL), then if you use the software on a server, you have to make the AGPL software available to those that have access to the server, that would include the changes. That is how you pay for the software. The FSF don't want your money, they just want you to love one another. If you can't love then don't use the software.
Jul
28
comment I made improvements to free code I found online and notified the author. Was this the right thing to do?
@Rob did you mean “And they might not want you giving it away”, if so then they must consider that giving away the 1% is cheaper than writing 100% and keeping it to them self.
Jul
28
comment I made improvements to free code I found online and notified the author. Was this the right thing to do?
I am not a lawyer. It depends on the copyright laws in you location, and possibly on contract law (a licence is a contract). In uk an ambiguous license is interpreted in favour of the party that did not write it. But of much more importance is the last sentence “Re-distribution of this software is NOT permitted without explicit permission.”
Jul
28
comment How do VMs implement function calling?
Yes most CPUs work like this, they don't support structured programming (loops, selection, subroutines), these are synthesised as you have described. A good processor to learn is ARM it is simple and still in use.
Jul
28
comment Why are there so many CSS properties which are essentially the same?
Where as if you sit next to a site that stream video, and uses way way way way way more bandwidth, then they may put in a network upgrade, and your site will get faster. (I did not, and can not, put in enough “ways” to illustrate how much bandwidth video uses compared to text.)
Jul
28
awarded  Citizen Patrol
Jul
28
comment Why are there so many CSS properties which are essentially the same?
They use there own name, because the standard is not finalised, the standard can change. By using the standards name incorrectly or before finalisation, they will be out of compliance.
Jul
28
comment Why are there so many CSS properties which are essentially the same?
The features have to be tested, to do that they have to be implemented. It is hard to design on paper and get it correct first time, I have never seen it done.