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
J

Johann Gerell

@Johann Gerell
About
Posts
346
Topics
45
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C++ is love
    J Johann Gerell

    That's what AAA games use (and maybe non-AAA too, I only know what DICE did, as I worked there) - arena allocators. When a level starts, it allocates from its own "arena", and when the level is done, the arena is wiped. Lessens the risk of memory leaks and gives full control and trackability of all allocations.

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge csharp c++

  • .Net Logging
    J Johann Gerell

    Nothing is wrong with that "at the most basic level", but when you're in a heavily multithreaded/concurrent/async/parallel environment with extreme demands for low latency and high throughput, you need a logging system that doesn't negatively affect the required functionality of the application, doesn't block anything, and doesn't garble data due to likely concurrent logging resource access. As your basic example is written, it will surely "work" for most simple desktop user scenarios where the time it takes for the user to make a mouse click is 10 times higher than the time to complete a call to Logger::Info(), and nothing complicated is happening concurrently. That said, it would *never* work in a game, in a VoIP app, in a high-grequency stock trading app.

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge csharp help tools tutorial question

  • SCRUMmy Development
    J Johann Gerell

    snorkie wrote:

    I've been doing SCRUM development for 4 weeks now and it feels like a huge waste of time.

    It's not uncommon for a company to need 1-2 years (empirical numbers based on my own an my friends companies) before feeling effective in doing Scrum.

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge business collaboration question

  • I understand that we shouldn't duplicate code, but...
    J Johann Gerell

    Try swapping the order of the tests in as many ways as there are permutations, since the JITting cost is mostly payed at the first invocations.

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Weird and The Wonderful csharp data-structures cryptography

  • Perfect way to show a splash screen
    J Johann Gerell

    Ohhh... but that we don't know. We can't see what the other threads, if any, are doing with windows popping up... :^)

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Weird and The Wonderful sharepoint

  • Macbook keyboards are splashproof
    J Johann Gerell

    Have you decided yet? I'm looking for the exact same opinions myself right now (Thread: MacBook Pro or Lenovo Thinkpad[^]) and wonder whether you reached a conclusion?

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge c++ architecture

  • Advice needed on new work laptop - macbook pro or lenovo thinkpad?
    J Johann Gerell

    Jörgen Andersson wrote:

    At home is irrelevant ...

    Not necessarily so. It could be expected of me, by my company, that I advance my knowledge in areas other than those I touch on a daily office basis, and that I do such advancement at home, off regular working hours. Also, my company actually does iP* dev, just not my team.

    Time you enjoy wasting is not wasted time - Bertrand Russel

    modified on Monday, August 15, 2011 5:24 PM

    The Lounge csharp asp-net question career workspace

  • Advice needed on new work laptop - macbook pro or lenovo thinkpad?
    J Johann Gerell

    So I'm starting my new job two weeks from now. They want me to decide on a new machine, from a list of two options (basically), so that they can order it in time for my arrival there. The options:

    • Lenovo ThinkPad T420 4180 - Core i7 2620M 2.7 GHz, 14 inch
    • MacBook Pro 15 inch

    Work-wise, I'll be doing mainly C# and Silverlight for Windows Phone. That forces the choice to be a Windows 7 setup on either Lenovo Thinkpad or MacBook Pro (dual booted or running Parallels). At home, I usually dabble with both this and that to expand my knowledge horizon. A MacBook Pro would be perfect if (when!) I want to test any kind iP*d dev, which I haven't done yet. Which one of the two options would you choose and why? Thanks!

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge csharp asp-net question career workspace

  • Jumping on the Band wagon
    J Johann Gerell

    "One can write Fortran in any language"

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Weird and The Wonderful asp-net csharp html

  • Another coding horror
    J Johann Gerell

    Naaah, that's not a coding horror - it's a typo! Shoulda been caught in the code review that his senior performed before check-in... ;)

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Weird and The Wonderful

  • PHP form processing: the easy way
    J Johann Gerell

    "One can write Fortran in any language."

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Weird and The Wonderful help php question

  • Writing "apps" for Apple devices
    J Johann Gerell

    Also, these Stack Overflow tags might prove useful:* iPhone: http://stackoverflow.com/questions/tagged/iphone[^]

    • Objective-C: http://stackoverflow.com/questions/tagged/objective-c[^]
    • Cocoa-Touch: http://stackoverflow.com/questions/tagged/cocoa-touch[^]

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge ios com question

  • Worst Developers Machines
    J Johann Gerell

    Jörgen Andersson wrote:

    If developers have bad machines they have a better incentive to make efficient code.

    Maybe add that to the List of common misconceptions[^] ... ;P

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge sysadmin windows-admin question

  • Any open source wiki recommendations? [modified]
    J Johann Gerell

    Tim Yen wrote:

    Or is that Swedish injustice ?

    That's up to the court to decide. Don't mix apple with pears - the fact that a man Has Done Great Things (wikileaks) doesn't mean he's above the law.

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge php question announcement

  • Any open source wiki recommendations? [modified]
    J Johann Gerell

    Rob Graham wrote:

    I hear he's also a good reference for Swedish escort services...

    I don't believe that escorts have been mentioned in conjunction with his Swedish justice debacle. /J, from Sweden

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge php question announcement

  • Funny variable names
    J Johann Gerell

    Tak wrote:

    ChiefCommander

    a.k.a. "God".

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge question

  • Thank you, Microsoft
    J Johann Gerell

    Nemanja Trifunovic wrote:

    Win32 API has been around for at least 15 years and works just fine.

    Amen!

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge csharp html visual-studio help css

  • Need help devising interview questions for a junior
    J Johann Gerell

    The FizzBuzz[^] test.

    Time you enjoy wasting is not wasted time - Bertrand Russel

    The Lounge csharp json help question career

  • How does Application.DoEvents work?
    J Johann Gerell

    Luc Pattyn wrote:

    you can have as many pumps as you like.

    Correct.

    Luc Pattyn wrote:

    a dialog, it has its own message pump

    In general not correct. However, modal dialogs usually have their own message pump.

    Time you enjoy wasting is not wasted time - Bertrand Russel

    .NET (Core and Framework) question csharp data-structures

  • What is the bare minimum you should know as a .NET developer ?
    J Johann Gerell

    PIEBALDconsult wrote:

    Do you write a simple console app (as I would)

    Nope.

    PIEBALDconsult wrote:

    would you say you'll write it when you get home

    Nope. I'd say "More wine, love?".

    The Lounge csharp question javascript asp-net linq
  • Login

  • Don't have an account? Register

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