2,178 reputation
618
bio website
location Melbourne, Australia
age
visits member for 4 years
seen yesterday

a .net/python/javascript polyglot in need of coffee.


1d
comment Better way than scrolling a long list
You might do better on the UX site. BTW: I like the way the old iPod nanos did with with the soft scroll wheel - based on the speed it would swap between scroll by letter and scroll by row. A smarter version might let you scroll by sub-letter.
Aug
29
comment Where is the 'this' variable stored?
The variable that refers to the object is "this." In your example, vec holds the address of this. When you call resize, the value of vec is passed as the first parameter. The answer given here is both correct and relevant.
Jul
30
comment Who coined the term “performant?”
google ngrams shows references back to 1850s but a major uptake in the 1970s.
Jun
2
comment How to make a non-english clone of CoffeeScript?
He also wants right-to-left. Wouldn't this complicate things?
Feb
3
comment Benefits of a leaderless team in Scrum
"In tradition models...designated leader who is responsible for every aspect of decision making" - in my 25 years experience, I have never come across a work environment like this, even when my wife was my TL.
Sep
27
comment Telecommuting from Australia - tax arrangements
@Kaushik - No, this is Australian tax law. I have no idea about US laws. It is the government's way of working out if you are a real company or just a contractor acting as an employee. If almost all of your income derives from a single client, then you can be determined to be effectively an employee of that client so anything you earn needs to be paid out as salary. If you have multiple clients or multiple employees you can avoid this situation. Again, this is Australian law only.
Mar
12
comment I want to publish an android app, but I'm afraid of software patents
@psr - It depends upon where you live. in Australia, the director(s) of a company can only be sued if they have show gross negligence or malfeasance. Shareholders and employees cannot (of course) be sued.
Sep
13
comment What legal considerations do I need to have when programming?
I work in the gaming industry in Australia - the government regulations are significant. There are many rules dealing with AML (anti-money laundering), problem gamblers, gambler stops and rates of return. So much so that management/legal dept tend to handle this and pass down the compliance requirements.
Sep
3
comment Emailing Service: To or Bcc?
BTW, every time I've worked with automatic emails I wished it has enqueued them first. It makes testing a lot easier and less risky since you can just check the queue and not actually bother sending the emails. It also allows for retry in case of errors and keeps a log of everything sent for future reference. Just my 2 cents.
Aug
31
comment Using XML as data storage
The critical point here is the size of the file. For static data less than a meg in size, the performance hit of loading an XML once is not that great. I worked on an application about 5 years ago and found the cost of loading such a file was in the 10s of ms area. I dare say computers are a bit faster now.
Aug
29
comment Compilable modern alternatives to C/C++
Why no comment on the nature of the performance? You can tweak the code as much as you want, but it wont make much different if you are calling a database or a web service.
Jul
26
comment What to do when client have unrealistic expectations?
+1 - Gantt charts may be old school but it sounds like the client is not buying into the project so something as simple as a Gantt chart may show them the effect of their extra requirements.
Feb
26
comment What does mathematics have to do with programming?
If two people have diametrically opposed and absolute views about something then, to me, the truth probably sits somewhere in the middle of the two extremes.
Oct
11
comment Why in the world does a heap need to make sure it allocates in 8-byte alignments?
MSalters - The Alpha was 64 bit processor but memory reads were aligned on 32 bit boundaries (99% sure). I was working for a company who implemented their own VM and we were considering aligning our strings on 4-byte boundaries to allow faster comparisons. That being said, this was almost 20 years ago and my brain is rapidly failing.
Aug
16
comment What good reasons are there to capitalise SQL keywords?
@Aaronaught - kinda of depends upon your environment. If I write the scripts using a highlighting editor, why wouldn't I (or my co-workers) edit using the same. If a workplace does not use such a beast, then upshifting is an option. The same logic kept us coding 80 characters per line way beyond the end of the 80x24 screen.
Aug
15
comment What good reasons are there to capitalise SQL keywords?
+1 syntax highlighting makes capitalisation redundant.
Aug
15
comment Why did Microsoft make parameters, local variables and private fields have the same name naming convention?
@Joel - You're correct. This question deals with it: stackoverflow.com/questions/1195030/…
Aug
8
comment How do I convince my boss to use REST over SOAP?
The boss is responsible for the delivery of the product. If he is not technically minded, then he should rely on the assessment of those who are. If he is technically minded, the he should contribute his knowledge and experience to the assessment. Either way, he needs to be involved in the decision - that is his job. I have personally seen many projects where the coders just want to do something that is new, fun or pad their resume. I have seen this as a developer, an architect and as a TL. A competent boss is one who can see the big picture and make the best choice for the project/company.
Aug
8
comment How do I convince my boss to use REST over SOAP?
It sounds to me like the boss has a technical background and does understand the issues, the OP just does not agree with his assessment. Many technical people move into management positions because they understand the big picture. I do not know who is right or wrong (it is rather grey) but I would not write off the boss as a Dilbert cliche.
Jul
31
comment Who is using the MVVM architecture for large applications?
Follow-up to my own question: The project that I was working on was 90% complete when I left the company (contract expired). By the time I left, we had implemented 3 independent modules, the smallest with 10 screens and the biggest with about 50. The largest of the screens consisted of a dozen tabs with one tab having 50 odd fields. Some used Entity framework, some web service calls. For the most part, MVVM worked well and (IMHO) better than anything else would have. Issues were found in security (we had per field security) and inadequate guidance on popups (we used Prism).