Slashdot Mirror


User: mav[LAG]

mav[LAG]'s activity in the archive.

Stories
0
Comments
844
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 844

  1. Re:C++ autocomplete... on FOSDEM Interviews On Free Development Tools · · Score: 2, Insightful

    It also learns from the patterns you use more often in your code and sorts the suggestions in a way that the probability that you'd need to scroll down the list of the suggestions becomes lower and lower.

    "Patterns you use" indicates it's just doing pattern matching, not understanding the language.


    The gp wrote that paragraph - not me. You arguing for me? :)

    Uncheck, it can't parse C++.

    ctags can parse C++ just fine.


    1. Do you actually code in C++?


    Yes - got a current project of about 20 000 lines that's been going for 18 months now.


    2. Have you actually used intellisense/visual assist (code compleition)?


    Yep.


    3. Do you realize there is more to code completion than recognition of function and vairable names?


    Yes and I don't like it. Perhaps my bias has come through in my previous reply. I find my productivity with vim much higher than with vc++ and intellisense/code completion. This is the real problem with my previous post actually - not being upfront and saying "I find vc++ code-completion annoying and counter-productive IMHO for these reasons."


    4. Ever heard of a C++ template?


    I think so - is that where you write a skeleton file and fill in the blanks later?


    5. Are you aware of the other features provided in VC++?


    Used to be but I'm not a sharecropper any more.

    My guess is that the answer to all the above is no. I really hate it when Slashdoters who defend OSS automatically get moded up even if their information is wrong or misleading.

    Well your guess was wrong and you can back off on your hatred since I haven't been modded up (at least at this time of writing).

    ctags, for the most part, processes just C language constructs.

    Not true.

    Even then I'm betting it's rather limited in what it does. In order to do visual assist style code completion you NEED to have a full language parser for C++. ctags has no such thing.

    Well, sure. But then I already have a full language parser for c++. It's called g++. I don't need another one built into my editor when I have a set of tools that does what I need to be productive.

    Unnnngh, people who talk out of their ass.

    Tsk tsk - manners. People are more receptive without personal attacks. You could have pointed out where I was wrong without any labelling or guesses as to my motivations and experience.

  2. Re:C++ autocomplete... on FOSDEM Interviews On Free Development Tools · · Score: 2, Interesting

    No, you can't do MOST of what it does by simply using VIM.

    Yes you can if you a) set up Vim properly and b) use ctags and TList whenever you can.

    Beacause Visual Assist is aware of the syntax of C/C++/VB/C#... and acts accordingly.

    Check.

    For example, it can diffrentiate between local can globalr variables.

    Check.

    When you use it with existing libraries with source (like Boost for example), it will parse the whole thing and now Suggestion lists and spell checker will be aware of the new functions, methods and classes.

    Check.

    So you can't simulate it with just a hand made syntax file, as suggestion lists and spell checker are project dependant.

    ctags and Tlist are set up to be automatic on my copy of vim.

    It also learns from the patterns you use more often in your code and sorts the suggestions in a way that the probability that you'd need to scroll down the list of the suggestions becomes lower and lower.

    I don't really need this since typing is faster than taking one hand off and using the mouse to find a suggestion. Besides, I prefer predictable behaviour rather than intelligent guesses behind the scenes.

    Spell-checker nows the name of the local variables, included functions and namespaces so even before running the compiler, you know that you have not miss-spelled that function call.

    Vim by default looks at the names of local vars, include files and namespaces so if you've used ctrl-n to complete something you know it's correct. I haven't misspelled a function name since I started using it.

    All in all, Visutal Assist is in a whole different class than VIM.

    Correct - Visual Assist is a plugin for Visual Studio and vim is a powerful extensible text editor. Seriously, vim is phenomenally powerful - especially at doing all the things you seem to think it's deficient at. You can move around code like lightning (by far the most common action of any programming), jump to and from function, class and macro definitions with a single key, and with plugins like TList and integrated debuggers, it becomes a very fine IDE as well.

  3. Re:Enlighten us please on The Cure for Cancer Might be: HIV · · Score: 1

    Sure. Good introductions to the concept here and here. This particular doctor (as well as another one I've come across) uses autohemotherapy: you draw about half a pint of the patient's blood, infuse it with ozone, and then put it back. In someone who's pretty far gone, the blood is almost black. After the ozone treatment, it's cherry red. Oxygen treatment achieves the same sort of thing but is not nearly as efficient because ozone is trivalent and breaks down quickly to an O2 molecule and a single, highly reactive oxygen atom. It's this atom that does all the cleaning up - oxidation is one of the most powerful bactericides, fungicides and anti-virus agents known.

    Is it a silver bullet? I don't know. All I know is that a) the science behind it makes perfect sense and b) the results I've seen speak for themselves.

    if I knew a cheap and substantial cure for every HIV+ in the world, I would go to prison *and* hell to make it known to everyone...

    Great - go for it. Just prepare for a massive, dirty and vicious assault on your career, reputation and morals by the pharmaceutical industry. These guys sometimes make the CoS look like a charity.

  4. Re:Nothing new really on The Cure for Cancer Might be: HIV · · Score: 1

    Don't worry - I didn't get any of it either :) Strangely enough my wife works every day with a doctor who cures (yes you read that right) HIV with a highly illegal treatment: ozone. It's very cheap to make, works like a charm and has had tens of millions of dollars of bad PR thrown its way by the drug companies...

  5. Re:Nothing new really on The Cure for Cancer Might be: HIV · · Score: 1

    Um, or she of course...

  6. Re:Nothing new really on The Cure for Cancer Might be: HIV · · Score: 1

    Read with sigs enabled dude and you'll realise he knows of what he speaks :)

  7. Re:Huh? on Microsoft: The Faint Smell of Rot · · Score: 2, Insightful

    Microsoft is sitting on enormous cache reserves

    Maybe they should stop sitting on them and get them into CPUs where they're needed :)

  8. Re:Question? on GNOME 2.10 Beta 1 Screenshot Demo · · Score: 1

    If you right click on any item in a menu, then select the Entire Menu submenu at the bottom, there is an Add Item to this Menu option.

  9. Re:wrong on New Standard Keyboard · · Score: 1

    Do the labels on the keys also jump back to their qwerty positions? It's easy to feel where z,x,c and v are but other more distant keys might be a problem - as well as reinforcing the qwerty layout in your mind while you're supposed to be using Dvorak.

  10. Re:Starting a pool... on .net Domain Up For Grabs · · Score: 1

    Yes Milo.

  11. Re:Evil Accountants? on Intelsat Loses Another Satellite · · Score: 2, Funny

    probably just to eek out as much money as possible.

    Intelsat exec: This is how much it will cost - take it or leave it.
    Asian sat bandwidth buyer: Eeek!

  12. Re:ke.no.sis on Decentralize BitTorrent with Kenosis · · Score: 1

    And while you're being objective, you can go here for another long but good read...

  13. Re:Wow, very balanced interview on WikiPedia Founder Wales Speaks About Wikinews · · Score: 1
    I think you're trying to be funny.

    Nope.

    You purport to think the My Lai massacre was the story of the century despite the fact that it was a blip compared to other crimes perpetrated by the Vietnamese communists both during and after the war.

    My turn to pick some nits: claiming what I profess to think is a bit silly, especially when it's wrong - I don't think My Lai was the story of the century. I also wasn't comparing My Lai with what the VC got up to.

    You think Iraq is a "quagmire" (that oh-so-trendy term) despite the fact that the country is largely at peace, the terrorists have been routed from their safe havens and there's an election coming up in three weeks.

    Largely at peace. This must be some new definition of the word "peace" I was previously unaware of. Perhaps Rumsfeld won't need those extra troops after all. Perhaps the next troops or regional governors killed by suicide bombers will have time to reflect on how at peace the country is.

    You continue to insist that Fisk's "it was an American cruise missile" story got it right despite the fact that that story was as thoroughly debunked as the Piltdown Man.

    For the third time: where was it debunked? Where? By whom? Can you point me to a single article anywhere which states this case of yours?

    You claim to have served in uniform, and yet you don't speak like a soldier.

    British Army #: 24788227
    Sandhurst SLC: 882, Sword of Honour nomination
    14 Field Regiment, Royal Artillery, 105mm Light Gun
    Marksman: 9mm Browning, 7.62 SLR, 5.56mm SA-80

    You say it was all about the oil.

    Well I don't see Iraq's electricity and water supplies back to normal. Haliburton is working hard on the flow of oil though...

    You think Saddam was a "US creation."

    Sure he was. He was an ally during the 80s Iran-Iraq war when the Ayatollah was the big boogeyman for the US. He got most of his weapons and equipment from the US.

    You insist that "US meddling" is worse than totalitarianism and mass murder.

    Well, then let's take a look at the totalitarianism and mass murderers that US foreign policy has actually directly supported or created shall we?
    • the government of Guatemala in the 50s
    • the Shah
    • Manuel Noriega
    • the Taliban
    • Saddam Hussein
    • numerous central and South American examples


    This is to name but a few - and leaves out the ones that were elected by popular vote but were assassinated because they didn't fit in with US policy.

    I don't think anybody with two brain cells to rub together could sincerely be that hate-filled. I think that you might be playing a little joke.

    I'm not hate filled - I'm just calling it like I see it. It is possible to be educated and rational and think US foreign policy is bad for the rest of the world, you know.

    Very funny, mister name-nobody-can-pronounce. You sure pulled one over on the rest of us. Har har har.

    Hehe - always stop before you've run out things to say. It saves you looking foolish.
  14. Re:Wow, very balanced interview on WikiPedia Founder Wales Speaks About Wikinews · · Score: 1

    And the fact that the "entire world," to borrow your laughably inaccurate phrase, became fixated on it for a while is evidence that it was, indeed, blown out of proportion.

    It really did disgust the world. The so-called liberators were shown to be racist, ignorant barbarians. The excuse of a few bad apples seems terribly weak. When a magazine like The Economist (pro the invasion even) publishes headlines like "Resign Rumsfeld" because it correctly concluded that the orders to humiliate and degrade prisoners came from the top, rather than the over-zealousness of a few trailer-trash troops, then most people can see that something's wrong.

    I'm sorry you feel the need to come to that conclusion. That's disappointing.

    Well, I'm waiting for the other side of the story. Where is some evidence please?

    A lie of omission, yes. He lied by reporting that a bad thing happened in My Lai without putting it in context. The result? Kids are learning about My Lai in history classes, but they're not learning about Hue. Only part of the story is widely known.

    I'm not sure I follow you. Hersch claims that US troops under the command of Lt William Calley slaughtered hundreds of Vietnamese civilians and were prevented from carrying on their murderous spree by three extremely brave helicopter crew who risked their own lives and careers to do so - i.e. they reacted like real soldiers: they thought, they did the right thing, they were willing to put their lives on the line and were rewarded with thirty years of disgrace and anonymity for it. What has that got to do with Hue?

    So Robert Fisk's opinion that the Iraq invasion would turn into a quagmire was obviously not a lie. It was one of the biggest public humiliations of his career, but it was not a lie.

    Whoops - touche. You're right that Robert Fisk's opinion has got nothing to do with statments of fact. However I think he's been proved right - the invasion has turned into a quagmire: not enough troops, no control over the country, a deadly suicide bombing every day seemingly, universal hatred for the occupying forces and a mounting death toll.

    Saying that he found a piece of a US missile with a serial number on it, however, was just a lie. An embarrassing, shameful lie.

    Again, I want to see the evidence discrediting this please. So far all you've said is "he's lying."

    So ...wait. Your anger comes entirely from your assumption that things are happening that you're not hearing about. That explains a great deal, friend.

    No it comes from experience. I've lived through two wars and a genocide and marched around in uniform in another so-called "low-key" conflict. I know only too well what really goes on. I also know my history and can read what happened in Baghdad in the 1920s.

    See, here's the thing: War, as it has been said, is a terrible thing. But it is not always the worst possible thing. Damning millions to a life without freedom or liberty is worse than waging war against those who wish to do the enslaving.

    I don't see what this has to do with Iraq. Dick and the boys just want Saddam's oil, not to liberate the Iraqi people, unless you count the 100 000 civilians who have been "liberated" already.

    Now let me ask you: Which do you think is worse? What those four American reservists did at Abu Ghraib, or what the members of Saddam's Mukhabarat did there? What's that? You're not aware of what the Mukhabarat did there? Golly.

    I'm well aware of what Saddam got up to against his own people. But then he is a US creation through and through so no-one should be too surprised.

    Could that be because the people who have the responsibility for telling the stories -- the Hersches, the Fisks --have failed you?

    If you'd read either of them you would know that both have written in depth about the great evil Saddam is responsible for. But they also understand that US meddling is the root cause - not the solution.

  15. Re:Wow, very balanced interview on WikiPedia Founder Wales Speaks About Wikinews · · Score: 1

    To this day, Hersch insists that he got the number right, that the government has some super-secret stash of AC-130 gunships that they're keeping under wraps just to discredit him.

    I'll take your word for it - can't find any sources for or against this.

    What could possibly make you type something like that?

    Gee I dunno. Extreme sarcasm perhaps? What could have possibly made you type that Seymour Hersch was just "blowing stuff out of proportion" about Abu Ghraib, a major scandal which has disgusted the entire world?

    Actually, that's a perfect example of Fisk's just making stuff up. He famously (or rather infamously) went to press with a firsthand account of an American missile strike on an Iraqi suk. He published what he said was a serial number from a piece of the missile ...only that serial number didn't correspond to any piece of American ordinance ever made. Not only was the number not right, it wasn't even in the right format. It had too many digits.

    Now you're the one that's making stuff up, unless of course you're just parrotting the US and UK government lines which is roughly the same thing. He was there (http://www.robert-fisk.com/google_finds_it.htm), published the numbers and *other* people found all the details (either a Harm or a Paveway *and* a plane was operating in the area at the time).

    A few days later, it was determined from actual weapon fragments that what struck the suk was an Iraqi al-Hussein surface-to-surface missile that went out of control and hit the wrong target.


    Ah yes. Naturally.

    I understand your desire to rush to the defense of people whom you admire, I really do. But you evidently don't have the whole story here. That's nothing to be ashamed of or anything; it's not like the papers have gone out of their way to make sure you're informed. If I didn't know so well how journalism works, I'd accuse reporters and editors of trying to cover up their own mistakes. But that's not it at all. It's just simple incompetence, that's all.

    FWIW, I'm not a fan of "the papers". I *am* a fan of investigative journos though - Fisk, Cockburn, St Clair, Hersch, Pilger, Webb (RIP) and Palast - guys who get their hands dirty and their feet wet and don't boot lick whoever happens to be in authority.

    Well, except in cases like Fisk and Hersch, of course. Those guys are just plain liars.

    Yeah. Hersch was sooo lying about My Lai. Fisk was sooo lying about how Iraq would turn into a quagmire. I suggest we speak again on this subject in a few years when all the horror stories come out about the Iraq occupation. They always do. Or do you think Vietnam was all sweetness and light? That it didn't damage hundreds of thousands of lives? And that your government wasn't lying through it's fscking teeth the whole time about it?

  16. Re:Wow, very balanced interview on WikiPedia Founder Wales Speaks About Wikinews · · Score: 1

    The dead giveaway was the fact that the author -- Hersch --said that the military used X AC-130 Spectre gunships during a certain event, where X was a figure that was larger than the total number of AC-130s that existed in the world at the time.

    Mmmm, yeah what a devastating blow to the reporter's credibility. What is much more likely is that Hersch got the number wrong and pretty much everything else right and Franks reckoned - rightly in your case - that the best way of discrediting the piece was to jump on the gunship number and say: "Look! He got the number of gunships wrong - how can anything else be right?"
    I mean how many gook women and children were really killed at My Lai? Was it 304? 500? More? How can we trust this reporter?

    He's not quite in the Robert Fisk or Jayson Blair class for self-described journalists who just make up their stories, but he's awfully close.

    I'd be impressed if you can point to a single instance where Robert Fisk has made up anything in one of his stories. He's known for being incredibly meticulous, down to the point of getting serial numbers off fragments of cruise missiles he's found in Baghdad streets in order to show the US Military has lied about their intended targets. Oh, and he's actually in the Middle East as a reporter, unlike Jayson Blair who just sat at home IIRC.

  17. Re:Mod parent up on Internet Use Cuts Socializing Time · · Score: 1

    bah, that's because you haven't found the rest of the quote!

    You're right - I couldn't. Did look for it though. Thanks for the explanation.

    The point is that psychologists do tend to know what they are doing. They have contributed more to your life than you realize, and will continue to do so.

    Oh I realise. Being bipolar tends to bring oneself in contact with psychologists fairly often :)

  18. Re:Mod parent up on Internet Use Cuts Socializing Time · · Score: 1

    And your signature leaves me in serious doubt about yourcomment... :]

  19. Re:BooHoo on Following up on Torrent Shutdowns · · Score: 1, Insightful

    It might interest you to know that until 1891 the US was a "nation of pirates" that didn't respect foreign copyrights. This was - and is - a healthy thing: developing nations develop by taking foreign ideas.

  20. Very honest of him on IT Practice Within Microsoft · · Score: 0, Redundant

    From the article:

    As an IT organization, I have no skills and no ability

    OK, OK, it's from the middle of a sentence but my eye was still arrested by it :)

  21. Re:Ahhh. . . innovation on EA Obtains Exclusive NFL Licensing Rights · · Score: 1

    You're right, it was a long time ago. For me it has to have been this one. Excellent futuristic hockey game.

  22. Silly question on Service Pack 1 for Windows Server 2003 · · Score: 2, Insightful

    Can you disable the "phone home" feature?

  23. Re:Days of Wonder on 2004 Board Games Gift Guide · · Score: 1

    Lastly I'll mention that Cheap Ass Games is a treasure trove of goodness, particularly Kill Dr. Lucky.

    Save Dr. Lucky by the same guys is even better. Dr Lucky is on the Titanic and you have to try and save him while the ship is sinking, deck by deck. Very simple rules, very deep tactics. And there are optional forfeits if you use any Kill Dr Luckyisms during play :)

  24. Re:ns on Sun Submits New License for Open Source Approval · · Score: 1

    are you sure it isn't news.com.com.com.com.com.com.com.com.com.com.com.c om.com.com.com.com.com?

    Nope - you can't have spaces in domain names.

  25. Eerie on Lying Makes The Brain Work Harder · · Score: 1

    The fortune at the bottom of this page says (for me anyway): "One man tells a falsehood, a hundred repeat it as true." Certainly Darl and Co. must have the hardest working brains in the US.