Slashdot Mirror


User: milimetric

milimetric's activity in the archive.

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

Comments · 400

  1. Re:vim lacks features I need on A Visual Walkthrough of New Features in Vim 7.0 · · Score: 1

    have you tried notepad++
    it's got the features you talk about and is pretty lightweight and it's got ctrl+scroll feature for zooming which i love

    I love vim by the way, but i agree it's got some quirky ways of handling text, i just set the tab/space stuff how i want it and i set it to never wrap (code looks fucked up when it wraps :)

  2. Re:VIM for the Windows guy on A Visual Walkthrough of New Features in Vim 7.0 · · Score: 1

    I'm pretty much in the same boat as you man. Primarily Windows (I play with some Linux at home), primarily .net (I play with some SML, Java, Haskell, and some other stuff at home). I like visual studio but I hate it too. It's deleted more event wireups than I can remember and if it doesn't stop reformatting my freakin HTML I'm going to chuck it out the window. I'm workin on a 500,000 line project right now and VS is bursting at the seams. The one thing that I love vim for and use it all the time is its macros. Simple example: say you've got to paste something out of a column of excel but you want to do a sql query like this:

    SELECT * FROM something WHERE somethingid IN (34,116,1,34,634,63,463,2)

    just highlight the column, copy it to gvim, it'll look like this:
    34
    116
    1
    34
    634
    63
    463
    2

    and then record a macro to comma separate it (start your cursor at the top:
    q - begin record
    [any letter here] - assigns that macro to this letter
    A - appends at the end of the current line (now you're in edit mode)
    , - just types in a comma
    DELETE - deletes the endline and brings up the next line
    ESC - gets back to normal mode
    q - stops recording

    Now to play back the recording, type @[the letter you chose]
    To play back the last recorded macro, type @@
    To play back the macro 30 times, type 30 @[the letter you chose]

    I'm sure advanced vim users will be able to give you better ways to regex replace the eol with a , but this trick applies when you need a list like '23asdf24','1212124','12asdf','asdfa' and in other cases too, macros are cool for half-wit people like me. The beauty of it, is vim will remember the macro after you close it, so you'll always have it.

    you may have already seen this, but it's helped me learn a lot of stuff. It's a great tutorial:

    http://www.viemu.com/a_vi_vim_graphical_cheat_shee t_tutorial.html

  3. Re:VI?!?! on A Visual Walkthrough of New Features in Vim 7.0 · · Score: 2, Insightful

    I agree that knowledge of classes in your application is a good thing. However the following "features" of Visual Studio .net 2003 are "bad" things:

    - automatic removal of wired up events from your code when it encounters certain problems (designer loaded without a proper compile, and sometimes just plain random)
    - reformatting of HTML code (muffled scream) even when you turn off all reformatting code

    I could go on and on with problems of Visual Studio which you wouldn't see unless you're working on a BIG application. VI shouldn't be used as a substitute for Visual Studio, I agree. But it Should be used as an editor inside Visual Studio. As far as laying out code, there's nothing better than VI. It doesn't obfuscate code, a silly archaic programmer obfuscates code. VI is perfect for hardcore editing and when coupled with Visual Studio's intellisense and code generation tools, it kicks ass.

  4. Re:Ctrl-this Shift Meta Ctrl-that on A Visual Walkthrough of New Features in Vim 7.0 · · Score: 1

    Why would someone want to use VIM instead of Visual Studio? I don't know, VS has got a lot of productivity features that are hard to compete with. Like the way they handle XML datasets, event wiring, design code generation, etc. However, for a code editor it sucks. Like flying back and forth between lines, defining and applying macros, moving around and cutting, pasting code, nothing compares to VIM *and* EMACS. I'm just a beginner to VIM and I can already appreciate the effortlessness with which you can edit the same piece of code which you would painstakingly be clicking, dragging, right clicking, tabbing, etc. in visual studio. I think we need Visual Studio with a VIM editor, and the world would be good again. I'd like to close with a beautiful haiku:

    A bright, busy day.
    The windows watch a thousand
    wild cursors dancing.

  5. Re:interesting... on CCTV Cameras In UK Get Loudspeakers · · Score: 1

    But I seriously wonder what the voice would sound like. Here are some suggestions:
    If someone is going on a killing rampage, they HAVE to put in that sexy Unreal Tournament voice: Headshot! Killing Spree!! Ultra k.. M-M-M-MONSTER KILL!!!
    For a purse or petty theft, direct the loudspeaker at the nearest able-bodied looking man and play Uncle Ben's voice from Spiderman: "With great power comes great responsibility"
    For speeding, play the sounds from GTA where the guy goes "Busted!"

  6. Re:I hope so on Will the Solve-the-Riddle Hiring Trend Affect IT? · · Score: 1

    that's like a pretty cool riddle, and i can see what they're trying to get me to do. Maybe it's because I don't know PHP but I don't know what form to pass the query string to. Well, maybe I have to POST it instead of do a get...
    In any case, it's not _easy_

  7. Re:Sad Sight on Consumer Electronics Causing 'Death of Childhood'? · · Score: 1

    Something that I found interesting while researching how to be a parent (even though I'm nowhere close to that - no gf anymore):

    - almost all kids with hyperactivity disorders stopped being hyper after being taken off foods containing high fructose corn syrup, partially hydrogenated soybean oil, you know, like 90% of all foods.

    And also, books are not gameboys. A book is simpler and demands more effort and attention from the user.
    Also, I know how draining little kids can be, I babysat an ADD kid for 2 years and worked in YMCA centers with 20 little such monsters. (To all those of you under 5 years old that replied to my other post, no I didn't teach them anything about lovemaking)
    Well, so anyway, I find that the most interesting stuff in the world comes out of a kid's mouth when they're just rambling. It takes a little effort to direct them and help them focus on what they're trying to say but they see things without any bias, that's powerful! Anyway, I found that even when I was driving around with the 9 year old I babysat for 4 hours at a time, he wasn't overbearing. I just tried to keep calm and absorb the interesting view he had on life.

  8. Re:Sad Sight on Consumer Electronics Causing 'Death of Childhood'? · · Score: 1

    a parent is still a parent when their kid is 18... 20... 30 in the case of some slashdotters :)

  9. Re:Sad Sight on Consumer Electronics Causing 'Death of Childhood'? · · Score: 2, Interesting

    I agree with you, good point. On the other hand, I heard a parent at my office say the following, almost verbatum:

    "I have to drive 40 minutes each way on Wednesdays. My kid won't SHUT UP! So I bought her a gameboy. Now she doesn't talk to me at all and it's GREAT!"

    I think that is more common than anybody is willing to admit and I think THAT is what's sick, and not videogames and technology themselves. A good parent shows a kid that real life is cooler than any video game possible. You can do ANYTHING you want in RL, you have limitations in games. Muscles burning coming down a ski slope, warmth of lovemaking, tenderness of a hug, rush of flying a glider, smell of the Amazonian Jungle, icy feel of cliff diving. Parents are too closed minded to think of these things because Chukee Cheessy or videogame arcades or TV is easier.

    Doing nothing bug gaming will tunnel-visionize a kid. It rests on parents' shoulders to show their kids the awesome things in this world.

  10. Re:I wonder... on Dick Tracy's New Linux Box? · · Score: 1

    I wish it was that easy to turn my wife on.

    maybe you were kidding, maybe not. Try calf massages (gentle), foot massages, incense, quiet remote places. Look up stuff online. Ask her what she wants in a private comfortable setting.

    Cheers

  11. Re:competition is good! on Google to Test PayPal Rival · · Score: 1

    Whoa whoa, whereas I totally agree with your statement... what the ... is this:

    and they know where their money is earned ;(

    You can't frown and wink at the same time! Try it... that's crazy.

  12. Re:Message to Blizzard re: WoS: on World of Starcraft? Not So Much · · Score: 1

    I've seen a lot of posts like yours. What you're ALL missing here is this:

    If they make WoS, as awful as it would be, it would give them an engine and story to perhaps Start a Starcraft 2. As things stand, Starcraft 2 is nowhere in sight and this may bring it closer. I'd marry the devil's ugly brother if Starcraft 2 were to enter production.

    HEAR THAT BLIZZARD? I NEED IT, and I have about 1,000,000 friends that agree with me.

  13. Re:Strange choice of information on Razer's New Mouse Optimized for MMO and RTS · · Score: 1

    well, there's a lot of things that you're overlooking in your post, but here's one of them. 1337 Starcraft players AVERAGE 350 or so actions per minute over a 40 minute game. That's pretty constant, but the peaks are significant enough to justify a mouse that can handle 1200 apm.

    That being said, I love lots of buttons on my SC mouse because I can program space, ctrl, double click, and a couple of control groups like 1 and 2. The wired MX500 (That's right, 500, not 510 or 518) still seems to me to be a better choice because of its sufficient 800 dpi and Brilliantly placed buttons.

  14. Re:Aluminum... on Japanese Scientists Make Alzheimers Progress · · Score: 1

    are you sure...? Cause I read this article... and I mean, what are the chances of Articles being wrong?

    No but seriously, any sources to back you up cause I'd like to start using deodorant again.

  15. Re:Enter the Ribbon on Hands on: Google Spreadsheets · · Score: 1

    basically, not just that but mathematically they're a lot better than menus because they STAY OPEN. This is huge. Think about the way your typical non-power user does things (i.e. not using shortcuts). If they have to use a function out of one of the menus that doesn't have a toolbar equivalent, they have to click the top menu and then the item inside that top menu right? Say they have to do it 10 times. That's 10 top menu clicks and 10 item clicks. With ribbons, you just saved 9 clicks because you only have to open the ribbon once. Basically it's an n+m versus 1+m case of simple UI superiority. Think about it and you'll realize it's truly a step forward, regardless of all your non-informed FUD. (directed at the OP, not the parent)

  16. Re:Only 15MBPS? on The Fiber to the Premises Install Process · · Score: 1

    does it also give you a MBps to Mbps converter? Here, just in case it doesn't:

    20MBps * 8Mbps/MBps = 160Mbps > 100Mbps

    I hate it when people ignore that, it's such a huge difference

  17. Re:The thing is, it SOUNDS plausible. on Windows Servers Beat Linux Servers · · Score: 1

    I know close to nothing about how to administer a Linux Server. Yet my rickety Pentium III 550 Mhz machine is churning away with Ubuntu Server since 5.10's release (last year sometime) without a *single* hitch. It runs FTP, samba, and NFS shares for my entire apartment and gets hammered on a daily basis with new files. So... based on that I'd say that studies on how long servers' uptimes are bogus since so many factors can play into it (like luck). If you're going to do a study you should look at years and years of uptime data for _well maintained_ servers.

  18. Re:Im liberal, democrat, hippie and im against thi on Harvard Scientists to Clone Human Embryos · · Score: 1

    You have a debatable argument. The thing is, I get all pissed when people talk about silly marginal ethics rules when 11 million people die every year because of hunger. Everything else just doesn't seem relevant to me. So they want to advance science by possibly killing conscious beings. All our hands are full of blood anyway (yes, I hold everyone responsible for those 11 million people), who are we to say what scientists are doing is unethical.

  19. Re:About Time on Previewing the Performance of the Intel Conroe · · Score: 1

    but... this one goes to 64...

  20. geek on Texas to Provide Online 'Bordercams' · · Score: 1

    "apparently to use viewers as a kind of distributed processing network"

    if only there were a word to capture that... something like tae... tea... team!

  21. Re:Nice GUI on PC-BSD 1.1 Screenshot Tour · · Score: 1

    about the Gentoo installation, you can make use of the additional terminals during the install process. You've got Lynx or Links available as part of the Live CD you install from. As soon as the installation starts, it tells you how to open the documentation (in the text above the prompt). Execute the command it tells you and then press Alt+2 or Alt+F2 (can't remember) to get to the second terminal. Then Alt+3 (or Alt+F3) to get to the third, etc. This way you can execute all sorts of side commands while compilations are executing and while reading the documentation at the same time. Just in case you don't know this, in Lynx or Links, pressing Ctrl+N and Ctrl+P let you scroll up and down

  22. Re:"Its" versus "it's" on Understanding OS X Kernel Internals · · Score: 1

    I know that makes sense as well, but you're missing the other way it makes sense:

    "whether it is why its slow" as in "whether it is why its own slow something causes something something". Maybe he accidentally got it right, but it's still right nonetheless.

  23. Re:Needs more editor. on Understanding OS X Kernel Internals · · Score: 1

    actually, you know what's really interesting? That "whether it's why its slow" thing he's got in there is gramatically correct!!!

    It makes no sense to me because the sentence peters off, but it's the correct usage of it's and its. That sentence needs to be seriously reconstructed but the first two uses of it's and its in it are correct. The third one "it's going closed source" should be "its going closed source". But 2/3 is amazing for a slashdot post.

  24. Re:One major visual design flaw on Slashdot CSS Redesign Contest Update · · Score: 1

    i agree with the person that said we should have an option of what we want our slashdot to look like once we're logged in. I personally love Jason Porritt's entry. I reply to you to chime in agreement of your analysis of Michael Johnson's design. The lack of borders around bottom right fail to frame the stories. The border at the top left almost makes a shield that causes your eyes to bounce off and go somewhere else. I found myself disoriented and looking around the site for a while until I settled in to actually check out the content. Then I saw your post and thought I'd add

    my 2c

  25. Re:You will get paid! on Vendor Pays OSS Developers for Enterprise Support · · Score: 1

    because if they got cash their wives would never let them by XBoxes ... But you can trade in your points directly for dollars

    Ok so you figured by adding that layer of complexity in the middle there with these "points" that you would completely confuse the subpar intelligence of the beast known as wife. So like she'll be sitting there looking at her living room full of geeks playing oblivion and snorting coke all over her couch, looking back and forth from the points to the cash or xbox 360 options... back and forth slowly with a confused look and cavewoman groaning noises.

    riiight... have you ever like talked to a woman?