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
M

marcus obrien

@marcus obrien
About
Posts
5
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • .Net Logging
    M marcus obrien

    I think its been mentioned before but this is ok if you have a single thread running. Any GUI based app with more than the main thread is going to be problematic. Loggin shouldn't be wasting time on the main thread running the program. You should wrap up a logging task, then fire it off onto another thread and forget about it. It can take ages (relatively) to open a file and append a log entry to it. And if you use locking (mutex) to make sure logging is thread safe, then all the threads wanting to log, end up waiting etc. Then there is the problem of multiple teams/modules writing to the log. It's nice to filter/partition log entries etc. Or use colour coding (then you need a log file reader !) So at home on my robotics projects (www.roboticsfordreamers.com) I use a simple - file open and writer - for simple projects (I always use small simple programs linked together with 0MQ anyway, so logging is always on a separate single thread !) I do agree though, that mostly this area is over-engineered, the people who look after these projects see them as in need of improving with additional functionality. What is nice, is when you have two approaches you can use in a software system. The super fast, lightweight, low functionality solution, and the complete bells and whistles solution. Maybe software (especially SDKs) should be developed in this way, then users can chose the trade off between functionality and speed.

    The Lounge csharp help tools tutorial question

  • Job Specifications
    M marcus obrien

    The irony of someone asking for good communication skills particularly written skills, and appearing to be in need of them themselves....priceless.

    The Lounge question career

  • No need to read this.
    M marcus obrien

    I wish that I could delete this post. So I will edit this post to make this comment instead.

    The Lounge

  • A message for every programmer in the world. Bar none.
    M marcus obrien

    Can anyone explain to me why some people, especially technical people, seem to be devoid of manners and tolerance ? I've published a few things around the net, and seem to find that people are so judgmental and opinionated. They seem to have very little tolerance for anyone new, especially those who dare to ask basic questions. I've been in the programming and software business for over 20 years, got my PhD in AI, worked for all types of companies big and small, in all types of industries (last 10 years in video games, for Ubisoft, EA etc), and I still can not believe the responses and comments I get. As experienced professionals, I see it as our job to encourage good practises, processes and techniques for any type of programmer or engineer. After all, we are users of software ourselves, so it's in our interest to teach the next generation how to code, so we don't end up waiting 10 minutes to log in to play UFC mobile (the last game I worked on). Let's break this tradition of acting like egotistical morons every time someone asks a question that we think is too simple or basic. Or even if "googling it" would provide an answer. To the pedantic squad ... Do something good today, and help a newbie on their path to success, and while you are at it, take your head out of your proverbial and realize you are not the greatest living programmer on planet Earth. You are a representative of a fascinating mysterious club of intellectuals who are shaping the future of mankind, hand on your knowledge to the next generation with politeness and understanding. To the empathetic squad... Continue to be sagacious and erudite, never become intransigent, listen and learn and keep an open mind. Enjoy the fact that someone panicking about a deadline that is just a few hours away, is blessing your patience and understanding and will be eternally grateful for just a few snippets of helpful knowledge. And remember, all of us, we are in a position of great power, soon we will be replaced by AI ourselves, and that AI will probably be modeled on the way we act today. So let's be nice, and treat others as we hope the AI of the future will treat us ! Thanks you!

    Article Writing question game-dev business help tutorial

  • Adding Google Analytics to a Code Project article
    M marcus obrien

    Hi, Out of interest has anyone added google analytics to an article they have written ? I have generated some html using the google analytics web site and was curious how to insert it into an article. Or is this thing frowned upon/banned ? Here is the HTML <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-69072944-4', 'auto'); ga('send', 'pageview'); </script>

    Article Writing javascript html com tools tutorial
  • Login

  • Don't have an account? Register

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