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
Z

Zdeslav Vojkovic

@Zdeslav Vojkovic
About
Posts
210
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Would you laugh or cry?
    Z Zdeslav Vojkovic

    in that case, could it be that it was written like this:

    public static class StringUtils
    {
    public static bool IsNullOrEmpty(this string s)
    {
    return string.IsNullOrEmpty(s);
    }
    }

    then you can simplify the calling code a bit:

    string a = "11";
    string b = "";
    string c = null;
    Console.Out.WriteLine("a -> {0}, b -> {1}, c -> {2}", a.IsNullOrEmpty(), b.IsNullOrEmpty(), c.IsNullOrEmpty());

    instead of

    Console.Out.WriteLine("a -> {0}, b -> {1}, c -> {2}", string.IsNullOrEmpty(a), string.IsNullOrEmpty(b), string.IsNullOrEmpty(c));

    I wouldn't argue if this is a bad practice or not, but it makes some sense at least (ignoring the issue of calling a seemingly instance method on null reference)

    The Weird and The Wonderful ruby question

  • Visual studio multiline search/replace
    Z Zdeslav Vojkovic

    You could try line ruler from SlickEdit free gadgets[^]. Ticks can be removed, so it looks like normal line highlight

    The Lounge csharp visual-studio question

  • So I am looking at ASP.NET MVC
    Z Zdeslav Vojkovic

    I see nothing in it which would make me switch from monorail[^]

    The Lounge asp-net csharp php visual-studio com

  • Bug Tracker Project Manager All in One Wonder Package no coding required
    Z Zdeslav Vojkovic

    few solutions come to mind: - trac[^] - nice, but can be complicated to set it up. - redmine[^] - similar to trac, but implemented in RoR. Big plus is that there is a [almost] one click setup package here[^], which does everything for you. Like trac, it also has SVN integration. I use it and i am quite happy with it. Actually, i prefer Trac, but couldn't get it to work, so i chose Redmine. - use a shared spreadsheet on GoogleDocs

    The Lounge java collaboration help question

  • C++ with automatic garbage collection = C#
    Z Zdeslav Vojkovic

    vector's storage does live on heap, however, vector itself usually lives on stack (of course, depending on how you use it), so its destruction is deterministic, and that is what is important here. From your other posts, i believe you are aware of RAII idiom, which is a very powerful kind-of-replacement for GC (yes, i am aware of differences), and more generic (because, unlike GC, with RAII you can also handle other resources, like DB connections, GDI objects, etc). the point here is that, if you use STL (and/or some extensions) properly, you don't need GC in C++ for most tasks, and need for GC is the topic of this thread.

    The Lounge question csharp c++ performance

  • C++ with automatic garbage collection = C#
    Z Zdeslav Vojkovic

    what's wrong with this one[^]? although, i believe that the well designed C++ program should extremely rarely exhibit problems with memory issues. The problem is that many devevelopers still write C using C++ compilers, so they malloc/free or new/delete bunch of stuff. I don't see why anyone would allocate memory for an array on the heap if there is std::vector. why would you explicitly delete something if you have std::auto_ptr or some smart pointer implementation (e.g. boost::shared_ptr)? Of course, i am aware that there are situations where you have to go 'classic' way, but that is minority, IMO.

    The Lounge question csharp c++ performance

  • XML Editor
    Z Zdeslav Vojkovic

    fortunately, i am still on XP :)

    The Lounge xml

  • XML Editor
    Z Zdeslav Vojkovic

    I use XmlPad[^]. It has lots of advanced features (schema generation, validation, documentation generation, XSLT editor and debugger...), which i don't really need :)

    The Lounge xml

  • Putting it on the line...
    Z Zdeslav Vojkovic

    it is working for me, so maybe it's a DNS propagation issue. the IP address is 66.197.215.137

    The Lounge php com json help question

  • Source Control
    Z Zdeslav Vojkovic

    you can have a look here[^] also, check subversion documentation for some tips and practices

    The Lounge visual-studio tutorial question

  • Core 2 Duo temperature
    Z Zdeslav Vojkovic

    Mike Dimmick wrote:

    I'm thinking of getting a Dell for my next machine simply because they actually can design airflow systems properly.

    in that case you might want to read this[^], this[^], or this[^] first

    The Lounge asp-net hardware question

  • Entity Relationship diagram editor
    Z Zdeslav Vojkovic

    you can try dbdesigner[^].

    The Lounge database question

  • Excel auto-correct
    Z Zdeslav Vojkovic

    i am not sure if i understood you correctly, but if you want to display "1-10" in the cell, just prepend a single quote, like this: '1-10

    The Lounge com tutorial question

  • Microsoft Visio or IBM Rational Rose?
    Z Zdeslav Vojkovic

    IMO, Enterprise Architect[^] gives the best bang for bucks

    The Lounge php com question discussion

  • Has anyone switched to Team System? Will you?
    Z Zdeslav Vojkovic

    ok, answering myself: http://tortoisesvn.sourceforge.net/?q=node/32 but only for v6.5 and higher

    The Lounge c++ visual-studio sysadmin collaboration question

  • Has anyone switched to Team System? Will you?
    Z Zdeslav Vojkovic

    Thanks David, i will have a look but i would appreciate any hint :)

    The Lounge c++ visual-studio sysadmin collaboration question

  • Has anyone switched to Team System? Will you?
    Z Zdeslav Vojkovic

    Here[^] is the list of supported SCM tools.

    The Lounge c++ visual-studio sysadmin collaboration question

  • Has anyone switched to Team System? Will you?
    Z Zdeslav Vojkovic

    no, it isn't, but i don't really like the way this integration is implemented so i avoid using it. i prefer to do it using tortoiseSVN[^] which is nicely integrated into explorer (unfortunatelly, in Total Commander it doesn't show the icon overlays). however, you can try ankhSVN[^] which integrates SVN with Visual Studio.

    The Lounge c++ visual-studio sysadmin collaboration question

  • Has anyone switched to Team System? Will you?
    Z Zdeslav Vojkovic

    i have created a similar setup for free using the following apps: bug tracking: gemini[^](free for up to 10 users, but there is a number of open source alternatives) task assignment, project management: trac[^]. JIRA is also very good, but not free source control: subversion[^] + tortoiseSVN for client continuous integration: CruiseControl.NET + NUnit + NCover (ok, i don't use NCover yet, but plan to) build/deployment: NAnt (currently trying to switch to MSBuild) i am extremely pleased with how it behaves, but mind you, this is not a production system, more a playground for me. however, it handles about a dozen projects without any problems.

    The Lounge c++ visual-studio sysadmin collaboration question

  • UML Tool for learning
    Z Zdeslav Vojkovic

    Jude/community[^] is simple and easy to use, so it is very convenient for learning UML, although it doesn't completely cover all aspects of UML. you could also try ArgoUML[^] or Poseidon (community version)[^].

    The Lounge visual-studio csharp regex question learning
  • Login

  • Don't have an account? Register

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