• P (unregistered)

    Why is Javascript being passed in as the argument? I must know the reason.

  • (nodebb)

    I've had several appointments like that in my work calendar over time. Somehow my cat is extra fascinated by the outlook calendar view.

  • Jinks (unregistered)

    Perfectly normal code. I often mangle a name and recompile to find out what's using a function.

    (Visual studio intellisense is, um, "unreliable" for this).

    Of course I usually add a couple of 'X's, not a mess like that. And if it's not used, I take it out...

  • (nodebb)

    Jfkfufjcjxkf UK cuekfjdkfjvkcifjdkcufk iviru ruff ice j Jack UK c

  • Steve (unregistered)

    @Jinks because the perfectly-working Ctrl-Shift-F Find All on the function name doesn't work? Or are all your function names 'GetData' and 'DoStuff'?

    And anyway doing that in VS whilst refactoring or debugging is one thing - saving it, or even worse committing that save to live is a whole different level ...

  • bus (unregistered)

    The proper ending for this story should've been: "But when Adam deleted this declaration, the code stopped working."

  • Dave Hemming (unregistered)

    JOBBY!

  • (nodebb)

    It is pretty easy to get out of VIM. Esc-Esc-Z-Z. That should get you out. You can also try Esc-Esc-:x! if you really want out. When I started working with Linux as a freshman in university back in the late 1980's, I was given the choice of editing files with ed, emacs or vi (before the days of open-source vim). I found vi the easiest to use and it only took me a couple of months to figure out most of the commands with looking at the man page constantly.

  • Neveranull (unregistered)

    Doesn’t everybody occasionally fall asleep while typing? zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

  • Raj (unregistered)

    Cool people use vi, not vim.

  • X (unregistered) in reply to Steve

    @Steve: Ctrl+Shift+F doesn't work sufficiently in many cases. For instance, you may be interested in finding out other files, where the function is used, including whether it may be shadowed by a naming conflict. Ultimately, causing the compiler to fail intentionally, is the safest way to be sure.

  • Andrew (unregistered)

    I happen to use Vim constantly. I love the editor. Ironically, that which most find most frustrating is what drew me to it: state-fullness. I'd much rather use my trusty Vim (usually gVim) than anything else. However, like most things in the Unix world, it was hard to learn at first. Especially because, at that time, I didn't know there was a "man" command. What intrigues me most of this article isn't the function name, after all it wasn't used according to Remy, is the argument that it takes: eXosip_subscribe_t. This looks like it may have been exposed to the "Vim panic" keystrokes, but apparently not, because the code compiles! Why the single 'X' when all else is lowercase? What does "eXo" mean?

  • Gordon JC Pearce (github)

    Could we maybe have fewer smartarse comments from you about how everything you don't use sucks?

  • Condate (unregistered)

    I always thought that Ajax cleaned better than Vim. Both are quite effective on sinks.

  • (nodebb)

    My files generally have ":q!" somehwere in them.

  • Brian Boorman (google) in reply to Nutster
    When I started working with Linux as a freshman in university back in the late 1980's

    That's pretty awesome! It's cool to meet someone who used Linux several years before version 0.1 was even released in 1991.

  • (nodebb)

    Error: Pawsense not installed.

  • Dyspeptic Curmudgeon (unregistered)

    @nerd4sale I have taken to searching the other documents I work on, for example in Libreoffice, for the extra ':w:q' instances which creep into them.....

  • (nodebb) in reply to Andrew

    Well that was pretty easy, from its very own project page: eXosip is a library that hides the complexity of using the SIP protocol for mutlimedia session establishement.

  • (nodebb) in reply to Andrew

    Well that was pretty easy, from its very own project page: eXosip is a library that hides the complexity of using the SIP protocol for mutlimedia session establishement.

  • Klimax (unregistered) in reply to X

    Ehm, that's what ctrl+shift+f does: It can search across various groups of files up to entire solution.

  • Hanneman (unregistered)

    Aah the Vi,Vim, Emacs war. People should use notepad on windows instead ow MSWord is my meaning ...

  • Dlareg (unregistered) in reply to Hanneman

    I always use butterfliesw

  • (nodebb) in reply to Sulis

    Development Status: 6 - Mature "mutlimedia"

  • Simon (unregistered) in reply to Jinks

    In Java-land, my habit is to change things to 'private' if I want to find where it's used... IDEs can be a little flaky finding references across large and complex projects, but the compiler is very nearly flawless (at least, in code that's not expected to be called through reflection).

  • Jinks (unregistered) in reply to Steve

    @steve: No, Ctrl-Shift-F doesn't work. Many functions can have the same name in a language with function overloading and classes (classes are mini-namespaces).

  • Mr Bits (unregistered) in reply to Raj

    Cool people can use vi, but use vim when given a choice.

    FTFY.

  • linepro (unregistered) in reply to Raj

    Amateur its ed all the way.

  • (nodebb)

    It depends on what sort of exit you want. Suppose for instance your favourite SCM has started vim for you, and you want to cancel your amendment. As :qa! would tell the SCM to continue with the current commit message, you would normally have to delete everything and save to get the SCM to abort, except that vim conveniently provides the :cq command which returns an error to the SCM thus conveniently aborting the operation.

  • I dunno LOL ¯\(°_o)/¯ (unregistered) in reply to Raj

    The really cool people use elvis, the vi clone used by Slackware.

  • A-ROBOT (unregistered)

    The real question is: what else got mashed into the code that no one knows about?

    If a defect lurks in the code, but no other code touches it, is it really a bug?

  • Some Ed (unregistered) in reply to urkerab

    Today, I learned about :cq. Thanks.

  • eric bloedow (unregistered)

    "cat on keyboard" reminds me of that crazy cartoon "freakaziod"! yes, a cat walking on his keyboard caused him to transform!

  • Game Developer (unregistered)

    BAH! Never understood Vim vs. Emacs war. It's obvious mcedit is the way to go!

Leave a comment on “hnjbbbbynbhhhhhhhhhhhh”

Log In or post as a guest

Replying to comment #:

« Return to Article