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
B

Black Cat

@Black Cat
About
Posts
135
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Impeach Bush!
    B Black Cat

    GW can really learn something from you, John. The world is a much better place if he expresses his anger, frustration, stupidity, and insecurity by a) Making obscene posts here b) Collecting smart signatures c) Trying to get linux to work ;-)

    The Lounge

  • Impeach Bush!
    B Black Cat

    Like it or not, he is the president of the world, at least he believes it himself. So that makes US court the court of the world. ;-)

    The Lounge

  • Replace " ' " symbol in my code
    B Black Cat

    It looks like you probably used the variable surname as part of a SQL statement. With SQL, the value has to be quoted by ' such as: select * from myTable where name = 'John Smith' If the name value itself contains a ', the SQL statement is invalid: select * from myTable where name = 'John's Smith' What you need to do is replace ' with two consecutive ', like the following: select * from myTable where name = 'John''s Smith' CStr(Replace(Trim(surname), "'", "''")) Good luck.

    Web Development help database sysadmin question

  • To my canadian friends
    B Black Cat

    Too late. We no longer accept anyone from terrorist-supporting countries. But "supporting" we mean you don't vote with us in the UN and give money to our war effort. If you are not with us, you are against us. If you provide medical-care to a terrorist (say, a bandaid for a cut on his finger), then it is considered evidence of Bin Laden connection, our next war will be aimed at you. So start your pray!

    The Lounge question

  • To my canadian friends
    B Black Cat

    "Conservatives are inept at foreign policy, as a rule; Liberals are inept at foreign and domestic policy. Richard Nixon and perhaps GB senior are very good at foreign policy. On the other hand, do you really think Bill Clinton is inept at foreign and domestic policies? I disagree with the other things you said, but I am not a liberal myself. Maybe we should import a president from elsewhere, like we import so many other things. ;-)

    The Lounge question

  • To my canadian friends
    B Black Cat

    I am not a leftist myself. Except for the president, I like many of the things in my country otherwise I would really want to move to Europe (if they accept me). The current president has nothing to do with all the good things you envy about my country. He is more like a bad luck, the worst nightmare. I didn't think highly of the "leftist morons" you mentioned either, but can anyone be worse than the guy we have? I doubt it. By the way, IT wasn't invented by conservatives and republicans. Anyone here knows it was invented by Al Gore ;-)

    The Lounge question

  • To my canadian friends
    B Black Cat

    Not really. Some nice canadian just apologized for his prime minister. We americans never apologize as you know. I would just like to put that on record. ;-)

    The Lounge question

  • To my canadian friends
    B Black Cat

    No, I like here fine other than the president and the bunch of morons surrounding him. A better way is, we swap just the presidents. I would trade him any day for one of the peace-loving, environment-protecting, and above all, less-arrogant european leaders. ;-) But, you are welcome to move here, I am always willing to swap a texan for you. :-)

    The Lounge question

  • To my canadian friends
    B Black Cat

    You are too nice, man. My president is a bigger idiot than your PM, but I refuse to apologize for him. Not a word. P.S. Who is my president you say? Well, he is from Texas and the biggest idiot in the world.

    The Lounge question

  • ms
    B Black Cat

    inertiaFreak wrote: i heard they hire drop outs too ?!!? No, drop outs can only apply for Chairman/CEO/ChiefArchitect positions. ;P

    The Lounge question

  • On liberals and conservatives
    B Black Cat

    John Simmons' answer: (pointing gun to the man) BANG! BANG! BANG! ... (pointing gun to the crowd) BANG! BANG! BANG! ... (pointing gun to his own family) BANG! BANG! BANG! ... (pointing gun to himself) BANG! BANG! BANG! ... Sorry, can't resist it ;P

    The Lounge question help

  • Memory Leaks Suck
    B Black Cat

    William E. Kempf wrote: Hardly. What I said above in no way can be taken as a criticism of the languages, while your "jokes" suggesting that any of the other languages would be better than C++ is a strong indication that you think C++ is inferior, and by implication, never the right choice. No, I just want to make fun of the religeous passion some people have with C++. Knowing that there are so many VB jokes on this site, some of them rather senseless and humourless, you would consider my jokes justified, would you? William E. Kempf wrote: If you read what I said, I refer to the underlying implications of your "jokes", and never claim you come straight out and make such claims. Are you now saying that this was not the meaning of your jokes? If it's not, then what was? Again, I categorically deny any of the underlying implications. My jokes are some kind of balance act as explained above. If someone "wants" them to imply other things, then it's not my fault. Have a nice day. :)

    The Lounge performance

  • Memory Leaks Suck
    B Black Cat

    William E. Kempf wrote: You seem to be misguided on several counts, however: 1) It's not that difficult to manage memory correctly in C++ using tools like boost::shared_ptr. 2) There are full GC systems available for C++, if you prefer. I carefully checked all of my posts in this thread and can't find a word that implies the "misguidance" you mentioned here. Some of my comments are just jokes, they may not be funny, but they don't say anything that is not there. William E. Kempf wrote: 3) All of the languages you list are still prone to memory leaks, and the idea that GC makes this impossible has actually lead to there being a LOT of poorly designed and implemented libraries in said languages. By your way of thinking, I might infer that you imply in the above that .NET, VB, and Java are never the right tool for any job. William E. Kempf wrote: You can only "choose them according to the job at hand" if you actually understand the pros and cons of the choices. Sounds like you don't. May be I am more ignorant than I thought. That's ok, I don't have an inflated ego as John does anyway. William E. Kempf wrote: Further, it sounds like instead of promoting the "right tool for the right job" school of thought, you prefer to at least hint that C++ is never the right tool. William E. Kempf Forgive me for asking, how the hell did you get that from my comments? If we could put words into an opponent's mouth or thoughts into an opponent's head, it would be too easy, isn't it?

    The Lounge performance

  • Memory Leaks Suck
    B Black Cat

    John Simmons / outlaw programmer wrote: He said he uses Purify to find memory leaks that would otherwise may well have taken him days to locate on his own. That's not a lack of confidence, that's using the right tool for the right job. So you agree that C++ alone is not the right tool, and you have to add things like Purify when there are too many hard to track memory leaks. However, as soon as I mention .NET your eyes are turning red like a texas bull. No one is saying .NET is perfect here, if you calm down and read things carefully. .NET, VB, C++, and Java are just tools to me, and I choose them according to the job at hand. So there you go, we may be in complete agreement. ;) John Simmons / outlaw programmer wrote: Stop saying stupid shit... You have been providing some of the most entertaining posts to CodeProject, but I am really disappointed this time, the staggering layers of stupidty in your statement make it a work of art on so many levels. Do I get the honor of being quoted in your signature? Please, please! ;P

    The Lounge performance

  • Memory Leaks Suck
    B Black Cat

    Looks like I can just call Server.Redirect("Mr. Tim Smith") and let you two C++ programmers talk it over. ;)

    The Lounge performance

  • Memory Leaks Suck
    B Black Cat

    KaЯl wrote: Would "We are able to know where the memory leaks are" be better? Better than what? Better than "Having no memory leak at all"? ;)

    The Lounge performance

  • Memory Leaks Suck
    B Black Cat

    Hel wrote: At least with C++ we know WHAT memory leaks are! How about: At least with C++ we have memory leaks! :laugh: :laugh:

    The Lounge performance

  • Memory Leaks Suck
    B Black Cat

    benjymous wrote: 1. Write a well-written C++ app, and handle memory yourself, so you know exactly what it's doing Yes! That's more like a C++ cowboy. I have no argument with people who have so much confidence in them. But don't forget, Mr. Tim Smith isn't so confident, he would rather trust Purify to find all the leaks.

    The Lounge performance

  • Memory Leaks Suck
    B Black Cat

    Tim Smith wrote: Too good to be useful? Don't be silly. They have saved me tons of time. So, you are in favor of letting the technolog handle the memory-leak problem, right? Now, comparing the following two options: 1. Write a C++ app that has a lot of memory leaks, and then buy a tool like Purify to find the leaks and plug them. 2. Write a .NET app that is impossible to have a memory leak. Nah, only an idiot will choose 2, it's too damn easy! ;P

    The Lounge performance

  • Memory Leaks Suck
    B Black Cat

    Tim Smith wrote: And if you have a tool like Rational Purify, they take all of 10 minutes to find. 1. Those tools are too "good" to be useful. For example, they can find hundreds of "leaks" in a commercial library such as RogueWave. 2. Even if the leaks reported are true, they can be in third-party software which you can't touch. I know you can use only good third-party software developed with C++, but is it really practical?

    The Lounge performance
  • Login

  • Don't have an account? Register

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