Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Paul Coldrey

@Paul Coldrey
About
Posts
7
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Last Word on Dennis Ritchie
    P Paul Coldrey

    Outrageous to think of the media hype that surrounded Steve Jobs who, lets face it, was a marketing guy who happened to work for a tech company and was very succesful in presenting an image as the "ideas man". Here we have one of the guys who started it all whose contribution to technology is immeasurably greater and yet there is barely a peep from the media. RIP Dennis but you will live on in our hearts and minds every time we cut some C code at our Unix workstation :-)

    The Lounge

  • Editing Group information
    P Paul Coldrey

    Apologies as this is not really a bug (probably) but I could not find a better place to post the query. Some time ago I created a Group (Lumient) that is for my company. Some of the details are wrong and I want to edit it. I tried a few things and managed to get the system confused so all my personal info got ascribed to the lumient profile (ie article points,etc). Hence my question: "how does one edit a Group that they created?" Thanks, Paul

    Site Bugs / Suggestions question database help

  • Banishing snipers
    P Paul Coldrey

    Cool - Nice work guys. I remember a while back one of my articles got a 1 vote and there was no message. I have no problem with 1 votes but I figured it was pretty uncool to vote 1 and not even say why,.. doesn't give the author much chance to address the issues. Anyhoo, if a message is now required then it sounds like the whole problem is sorted. Thanks for running such a great site - keep up the good work :-).

    Paul Coldrey http://www.lumient.com.au/

    Site Bugs / Suggestions com beta-testing help code-review

  • Banishing snipers
    P Paul Coldrey

    It seems to me the site needs some way to flag people who offer no useful input but simply snipe at other people postings (eg Paresh Gheewala). All he does is vote 1 on all manner of articles that he clearly doesn't understand. The big problem with this is that if he (or someone like him) is the person to vote on your article then it ends up in Code Project obscurity... after all, I know I don't tend to read articles with a rating of 1. Perhaps people who only ever vote 1 should be flagged to admins,.. also perhaps it should force a low voter to make a comment so that the article writer gets some feedback and the chance to make changes and or respond. Just a thought. Cheers, Paul

    Paul Coldrey http://www.lumient.com.au/

    Site Bugs / Suggestions com beta-testing help code-review

  • What's python's claim to fame?
    P Paul Coldrey

    Lots of languages have restrictions on certain types that stop you treating them as genuine objects. For example C# won't let you inherit an int or override any of its methods. The reason they do this is for speed because it means that for these "special" types they don't need to do any virtual function lookups. In Python everything is a "real" object. Hence when you say 1+1 Python goes off and does a virtual function lookup for the (int) + (int) function,... and you can override this function if you are insane. The clever thing is that because Guido knew this could be a performance issue he optimised the VF lookup really well and this is part of the reason why Python is so much faster than you would expect. All the VF lookups (And other object oriented overheads) are outrageously fast and they more than offset the extra calls that are required to keep the language clean. Obviously making 1+1 implement 1-1 is not a good idea,... however, suppose you want to count how many additions are happening in a given piece of code as an optimisation metric,.. in Python you can override '+' and add some code to count the number of times it is called. Sounds like a small thing,... but you would be surprised how many optimisation-based limitations there are in C# and some of them get really annoying when you are trying to write pretty mundane code.

    Paul Coldrey http://www.lumient.com.au/

    Linux, Apache, MySQL, PHP csharp python question

  • First post !!!
    P Paul Coldrey

    see my response under "what is python's claim to fame?". The only reason not to learn Python is that once you do so much of C# will drive you insane,... that has certainly been my experience

    Paul Coldrey http://www.lumient.com.au/

    Linux, Apache, MySQL, PHP com help

  • What's python's claim to fame?
    P Paul Coldrey

    There are many great things about python, a few key points are: 1. well implemented internal data structures 2. great brevity of code - constructs like list comprehensions allow very concise and easy to read code 3. full object-orientation (you can make the '+' operand for integers implement '-' if you really want) 4. it's interpreted and yet it is really fast 5. simple integration with C. If you agree with the idea that the cost of development is directly linked to the number of lines of code (which there are a lot of studies to support) then Python is a winner. I would generally expect to be able to write a Python app in about 20% of the lines required for C#. Python was designed as a teaching language and so it is very "pure" and orthogonal (ie no shortcuts to enhance performance). This makes it easy to learn and write and yet it is suprisingly fast when executing. For tight-loop, time critical sections it is easy to implement function in C that can be mapped in Python. Some people prefer Ruby (which is sort-of an evolution of Python).... but especially in the case of Ruby-on-rails the performance tends to be very limiting.

    Paul Coldrey http://www.lumient.com.au/

    Linux, Apache, MySQL, PHP csharp python question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups