Slashdot Mirror


User: jonaskoelker

jonaskoelker's activity in the archive.

Stories
0
Comments
3,264
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,264

  1. Re:99% of the answers are going to be Eclipse on What Free IDE Do You Use? · · Score: 5, Informative

    If anyone says Emacs or Vi they are insane and have never done 10k lines of code in a modern environment.

    Hoping that I'm not about to start a flame war: why?

    I assume you're qualified to make that statement, which means you know both emacs and vi very well. Whenever you think there's something $EDITOR can't do, you have (1) searched the web for that functionality; (2) asked in the relevant IRC channel(s); and (3) asked on mailing lists, news groups, forums and the like.

    Let's see; they have (I'm most certain that I'm speaking about emacs, less certain about vi)

    • Syntax highlighting (i.e. colouring)
    • Good automatic indentation
    • Automatic auto-completion of names
    • Easy code navigation (ctags, etags, ecb-minor-mode)
    • Version control integration (M-x shell or vc-minor-mode, :!git-commit)
    • Debugger integration (M-x gdb, achida*)
    • Build system integration (:!make & or M-x shell make)
    • man page (vi) and browser integration (both emacs and vi) to view your documentation

    Uhmm... what more do you want? Especially for small 10k-line projects. Example: wminput, which translates wiimote events to uinput events, is 9236 lines (in wminput/**/*.[ch]; this doesn't include bluetooth or wiimote libraries).

    I think that if you think 10k lines even begins to stretch the capabilities of emacs (or vi), you don't know either editor very well. And you can probably find people who'd point at me and laugh (and suggest I don't know the editors very well) when I suggest that 10m begins to stretch their capabilities ;-)

    And I think they'd have a good case: at 10m lines, it's not a question of good editors but of good architectures. Good architectures will allow each developer to work on somewhere between 10 to 100 klocs at a time, not worrying about anything outside their slice of code (until they move on to their next project). [But this is wild conjecture, so take it with a bucketload of salt...]

    * pronounced "a(rrrrrhhhhh)ida", like how Stallman pronounces the chi in "LaTeX" and "TeXinfo" or ch in "Bach". I'm not sure about spelling. Search Google tech talks for Bram Molenaar if you really want to know (and hey, it's a nice talk in its own right).

  2. Either emacsclient or ed on What Free IDE Do You Use? · · Score: 2, Interesting

    Say you're working with git (but it may be the same with other VCSs, not sure).

    Say you run git-commit -a (with no -m) in a M-x shell. Then git wants to spawn your $EDITOR so that you can edit your commit message (and see what you're committing).

    In that case, you'd want either emacsclient, which tells emacs to open up a new window for the to-be-edited file (and when you say you're done, emacsclient terminates).

    Or, you know that the thing that call $EDITOR from M-x shell require very light-weight editing, so you want a small editor which doesn't use curses.

    Yes, I'm seriously suggesting to learn how to use ed. If you know sed and/or vi, it's as simple as spending five minutes with the man page, plus having the man page open for reference the first few times.

    It's also a powerful tool for programmatic text manipulation, sitting in a niche where sed is not powerful enough and perl/sh/... is too general to do what you want easily. [it's kinda' like sed but with the whole file in the pattern space and with a few more powerful transformations.]

  3. "Incompetent and unaware of it": go read it on Sony CEO Proposes "Guardrails For the Internet" · · Score: 1

    +1 Insightful. As a PhD student, I would want everyone to read what news in cryptography I can drum up (if they care to, of course).

    And as an avid science geek, I would like to be able to read scientific articles whenever the fancy strikes me.

    Search for "Incompetent and unaware of it", it'll tickle your funny-bone. It's part of the Improbable Research (journal or annal, I'm not sure)---which has the slogan "research that first makes you laugh, then makes you think"---but it is honest-to-goodness decent academic psychology.

  4. Re:what... on White House To Appoint "Internet Czar" · · Score: 2, Funny

    I don't know, but I strongly object to an Internet CzNO CARRIER

  5. Re:I'm really sick to death of Czars on White House To Appoint "Internet Czar" · · Score: 1

    What, they all worked in the marketing division of the Sirius Cybernetics Corporation?

    In any case, I'm sure they had some cult of Genuine People Personality ;-)

  6. You're kidding me! on IBM Wants Patent For Regex SSN Validation · · Score: 1

    I have prior art!!!1!!1!!!

  7. First impressions of the book on Virus Tamed To Attack Cancer, Cancer Drugs To Treat Alcoholism · · Score: 1

    Parent links to a site selling a book.

    The site makes a point of saying how the authors are "Scientists!!" and "PhDs!!", and how the treatment is based on "Science!!".

    MDs are reasonably quick to adopt new promising treatments (sorry, no citation). Science doesn't need to be hyped. Yet the site smells like hype.

    I read a brief passage from the chapter "For Medical Professionals". It talked about studies (so there may be some science to back it up), but I couldn't seem to find the references to peer-reviewed articles. [Not that I looked very thoroughly, though.]

    Make up your own mind. Please do it on a more thorough basis than I have made up mine, though ;-)

  8. Re:I know that nobody cares, but... on Virus Tamed To Attack Cancer, Cancer Drugs To Treat Alcoholism · · Score: 1

    It's just about the only religion (and it has been ruled a religious organization by the courts) that the state mandates people attend.

    Congress shall make no law respecting an establishment of religion

    Somehow the two seem at odds with each other...

  9. Re:Fungus in my cancer? More likely than you think on Virus Tamed To Attack Cancer, Cancer Drugs To Treat Alcoholism · · Score: 1

    Now we have a "cancer treatment" that helps treat alcoholism as well? What's the common denominator between all alcoholic beverages? Yeast... another fungus.

    Easy test: give a bunch of alcoholics synthetic ethanol, forbid them other alcohol and see if they develop withdrawal symptoms. For bonus credit, instead give them an exact replica of their favorite beer except that the alcohol is synthetic and it doesn't contain anything yeasty or otherwise fungal in nature or origin.

    If they don't develop withdrawal symptoms, it's probably just the chemical and not its yeasty fungal origin that's the big deal.

    Also, "alternative medicine" means "unscientific" in all the cases I know about. In other words, when theories disagree with observable events, they think the theory, as opposed to the observed events, is the best predictor of future events.

  10. Re:What could possibly go wrong on Virus Tamed To Attack Cancer, Cancer Drugs To Treat Alcoholism · · Score: 1

    But if you play with living things there, things that try to survive replicating, mutating, and in the case of virus, finding more hosts

    "It's a Unix system! I know this!"

    No wait, sorry...

    "I'm simply saying that life, uh... finds a way."

  11. Re:This doesn't seem right on Virus Tamed To Attack Cancer, Cancer Drugs To Treat Alcoholism · · Score: 1

    And we all have retrovirus stored in our DNA.

    I wish I had retrovirus stored in a Brownian motion generator, such as a cup of hot tea, or in my towel...

  12. Re:No. on Is The Best Game One You Were Never Intended To Play? · · Score: 4, Funny

    Nethack. The Devs Think of Everything.

    SPOILER WARNING

    This will spoil a cruel joke the Devs have played on you.

    Once I was playing nethack, I encountered (I think) a fountain. I "use" it, and out pops a genie which lets me wish for any item I want. Naturally, I wish for the amulet of Yendor. I'm obviously shocked and surprised when he gives it to me. Not really believing what I see, I look at my inventory thrice. "Okay, my trusty feline friend, let's head for some moonlight!" (ever noticed how it's always full moon when you play?). Heart racing, I evade or fight off the monsters meeting me on the way. Standing at the stairs on level 1, I let go a deep sigh and reach for my keyboard.

    SPOILER STILL GOING ON

    Congratulations! You made it out of the dungeon alive. Would you like your items identified? (y). You hold: a sword, an armor, 3 rations, and a cheap plastic imitation of the amulet of Yendor.

    I nearly fell of my chair laughing. Truly, The Devs Think of Everything.

    SPOILER OVER, BUT AVERT YOUR GAZE ANYWAYS!

  13. Minor corrections on Red Hat Challenges Swiss Government Over Microsoft Monopoly · · Score: 2, Informative

    He's been promising an operating system, GNU Hurd, for a long time.

    He's been promising an operating system called GNU, and Hurd is the name of its kernel. Since it's the canonical (but not the Canonical :D) version of GNU, it needn't be called GNU/Hurd.

    Also, RMS suggests that you use a slash in "GNU/Linux" such that "GNU" isn't understood as an adjective. If the FSF made their own distro, it might be reasonable to call it "GNU Linux" to distinguish it from other distros (and since GNU is already in the name, calling it "GNU GNU/Linux" probably isn't necessary). Just like it's appropriate to refer to "GNU Emacs" to distinguish it from other Emacsen such as XEmacs.

  14. Re:It's everywhere on Cocaine Test Prompts Red Bull Removal In Germany · · Score: 1

    Clearly Madrid must never be located in Germany ever again!

    That'll teach that damn cocaine...

  15. Re:This explains a lot on Public Notices Going Online, Not In Newspapers · · Score: 1

    hiding that demolition notice in some planning department out in Bum Fuck, Alpha Centauri.

    In a locked cabinet in a disused lavatory with a sign on the door saying "Beware of the leopard!", mind you.

  16. Local government websites case study: Tuttle, OK on Public Notices Going Online, Not In Newspapers · · Score: 2, Funny

    Local government websites are some of the most poorly designed and hardest to navigate.

    I second you on that!

    Take for instance the home page for Tuttle, Oklahoma: http://mirror.centos.org/mirrorscripts/noindex_new.html

    That single page is so bloody cluttered and difficult to navigate that the Oklahoma City Manager (who is an very important pesron!) had difficulty with it. See http://www.centos.org/modules/news/article.php?storyid=127

  17. Re:Measuring complexity? on Calculating Password Policy Strength Vs. Cracking · · Score: 1

    sOrRY :p

  18. Re:Measuring complexity? on Calculating Password Policy Strength Vs. Cracking · · Score: 1

    Passwords were generated by creating a digraph tree from a large block of text (a mail spool file)

    apt-get install bible-kjv-text ;)

    Pick a digraph at random.

    I assume with the same distribution as the one you have observed in your reference text corpus.

  19. Re:Don't plug in your scanner! on Ridiculous Software Bug Workarounds? · · Score: 1

    PostScript isn't some kind of open standard that anyone can implement.

    Hmm... dvi2ps generates postscript. Evince, kpdf and okular all view postscript, probably along with many more programs. (see also ghostscript.)

    It uses patented compression algorithms (LZW, IIRC), but no one asks their printer to compress stuff, so Bob is for all intents and purposes your uncle.

    Free software that is incompatible with meaningful patent restrictions implement postscript. Is there something I don't know?

  20. Re:Here's an idea... on Adeona Warns of Instability; OpenDHT Mothballed · · Score: 1

    Made it up on the spot :)

  21. Re:Trolls on Should We Just Call Dog Breeds a Different Species? · · Score: 2, Interesting

    Perhaps serious scientists should stick with doing science, rather than refuting creationists and others with ideological agendas to push. Cause when you feed the trolls, the word gets around and you draw larger and larger numbers to be fed.

    That's an interesting strategy.

    What if the trolls can do other things besides just make noise? What if they can get on your (future?) kids' school board and decide that your kids should be taught intelligent design and/or creationism as science?

    Do you think it's a good education? Do you think it's a good way to spend tax money? Do you want your kids' time spent on this?

    I think you're getting too used to Internet trolls and have forgotten how real-world trolls can make changes to society that you do not want.

    Here's a recommendation: listen to The Skeptics' Guide to the Universe. It's a great podcast, done by science nerds, about science and all the kooky beliefs that are at odds with science (creationism, alternative medicine, ESP, a broad grab-bag of topics, all entertaining). They will argue (much better than me) why considering what the trolls can do is important.

  22. Re:And not entirely correct on Should We Just Call Dog Breeds a Different Species? · · Score: 1

    These things are freaky: A--B--C--D--E--F--G--A

    You don't play the piano much, do you?

  23. Re:Dogism on Should We Just Call Dog Breeds a Different Species? · · Score: 1

    Some people here would fuck anything that moves.

    /me throws a burning acid-dipped cactus across #slashdot

  24. Re:Electrical outlets on Survey Finds Airport Wi-Fi More Important Than Food · · Score: 1

    I've spent more than a few strolls down the halls trying to find a free outlet and a seat withing the reach of it.

    I scoured Copenhagen airport for power outlets. I found one. A frigging single one, in the smokers' glass cage where the air was unbearable (and I smoke!).

  25. Re:Sign of internet addiction? on Survey Finds Airport Wi-Fi More Important Than Food · · Score: 1

    you've been able to make room for Important Graph 14 in your presentation, or you call your assistant back in the office and they've been able to dig up Important Table 3.

    Dude, your that guy who anonymizes the variable names on thedailywtf.com!