Recent content by KingKaeru

  1. K

    Get gigabytes of JSON file data into SQL

    How's your error handling? Connections dont just close for no reason :)
  2. K

    Learning Python but Online course different than Book

    I haven't gone through the code academy courses at all but if you're referring to the quotes you put at the start and end of string literals, you can pretty much use either a single or double quote interchangeably. https://docs.python.org/2/reference/lexical_analysis.html#strings
  3. K

    Black Friday deals.

    Up you go :)
  4. K

    Suggestions for someone new to programming

    For a 10 year old, perhaps she'd be interested in LEGO: http://www.lego.com/en-us/mindstorms/learn-to-program
  5. K

    Glow In The Dark Roads Not Glowing

    It's refreshing to see a government actually able to put together a pilot test like this without all the red tape, cost, and bureaucracy that we're all used to here in the US. They are able to inspect and adapt even. good for them.
  6. K

    Protesters Block, Vomit On Yahoo Bus In Oakland

    I wonder how many of those rent controlled tenants are actually the original ones. I've heard that if you have a rent controlled apartment in NYC, it's a "goldmine" because you can just "sublet" it to someone else to live in and make a profit. It's like some crazy situtation where a person...
  7. K

    Most used/useful Visual Studio addons?

    Yeah that's a good point about legacy code. Sometimes you have to work with what you have.
  8. K

    Most used/useful Visual Studio addons?

    If your code blocks are so long that you need an indent guide, it may be time to consider refactoring your code.
  9. K

    Most used/useful Visual Studio addons?

    Kinda going on a tangent here but Dogs brings up a good point. Your nested loops may be a code smell. If we examine what the code is trying to do, we'll see that we're simply trying to remove the locations contained in OldItems from childrenCollection. I'm not sure on the actual type of...
  10. K

    Most used/useful Visual Studio addons?

    I agree with this. To make the suggestion cleaner, you can refactor further: foreach(var location in GetLocationsToRemove(e.OldItems)) { childrenCollection.Remove(location); } function IEnumerable<LocationViewModel> GetLocationsToRemove(... OldItems) { if(OldItems == null)...
  11. K

    Most used/useful Visual Studio addons?

    Here's my current plugin list minus the source control related plugins: ViEmu (though I probably will be switching to VsVim soon) Resharper StyleCop DotCover NuGet
  12. K

    IDE's or editors?

    I use whatever works best for what i'm doing but also try to load a vim engine for the editor when possible. e.g. jVi + netbeans, viemu/vsvim + Visual Studio, or gvim for standard text file editing.
Back
Top