Slashdot Mirror


User: 21mhz

21mhz's activity in the archive.

Stories
0
Comments
1,309
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,309

  1. Re:Some REAL points on GTK-- vs. QT · · Score: 1

    So QT is also well-written C++, which means it's much easier to write for. C++ wrappers over C libs almost always end up having to deal with Cisms that aren't an issue when using C++.

    Bzzzt. Look at the GTK-- headers, then try again.

  2. Re:Some REAL points on GTK-- vs. QT · · Score: 0, Flamebait

    QT is OO by design. GTK-- is OO by kludge.

    And the end result is different because..?

    > QT 3 gives you access to SQL-databases from its widgets.

    Why?

    To make it easier to build database-driven applications without having to twiddle between two libraries.

    If I understand correct, the other poster talks about database access from visible GUI elements. This is insane, by my book. Having an embeddable database viewer component is probably a good thing, but bolting it into library widgets is perpetrating unnecessary bloat. An object-oriented database layer can be helpful though, for you weaklings, hehe.

    Don't get me wrong, I love GTK and I hate KDE, but QT just feels nicer and works nicer, and as much as I'm loathe to, I have to admit that.

    Sorry, but you're a fucking troll.
  3. Important correction on Exposing Spammers For All They're Worth · · Score: 1

    After

    head -n 100

    there should be

    cat >/dev/null

    , or any processed message longer than 100 lines will cause procmail to croak and pass the message through. However, the destination address will be sent the report anyway.

  4. C++ Programmer's Disease on C# From a Java Developer's Perspective · · Score: 1
    I might have cut hard on the subject, but still. All the concepts of C++ are understandable and even programmer-friendly, but the language as a whole is insanely vast and deep. This leads to:

    • Sheer complexity of compiler implementation, which leads to fragility. Remember, the compiler must translate each compilation unit (a source file and headers it includes) into an object file, which has rather primitive means to link to other modules. This is OK for C, but is too tight for C++. Basically, all components of a program and the libraries it uses must be compiled by the same compiler, the same version of it, with the same set of 'runtime-sensitive' flags e.g. exception support. I take part in development of a high-profile Linux distro and I know what a headache C++ libs are.

    • The C++ Programmer's Disease, when one leverages all the advanced C++ features for easyness's sake, but has no idea on what repercussions they have in the real world of cold machine code. Needles to say how these things are affected by quality of design.


    You mentioned templates. What, do you think, is more effective: N instantiations of list<T> in N libraries that use it, M of these N instantiations being completely identical -- or one implementation of list that can carry pointers or values under the pointer's size, that is used heavily and sits in the cache? Can you dlopen() a shared library and look up your templatized overloaded namespaced function by its symbol name?

    Yes, there are lot of areas where C++ fails, because it wasn't designed to address their requirements. In fact, it fails everywhere except small COM/CORBA/whatever components, generation of boilerplate code (the idea behind ATL is neat), and huge monolithic software systems where rapid development is on top of the list. And we on /. know how the latter sucks, don't we?

    Perhaps in this case the problem is not the language, but the programmer.

    Totally agree here, except with "the language" substituted for "the language that fits the job", and "the programmer" with "one that moans about how he misses the features of his favorite programming language". The Real Programmers don't hesitate doing OO stuff in C, and doing it elegantly.

  5. Re:Google Goggles on The Anti-Thesaurus: Unwords For Web Searches · · Score: 1
    But search engine spammers can do the same thing: buy a bunch of other sites and put links to their target site.

    Their sites would have little initial ratings. As soon as no one links to them from outside, their total rating pool remains low. So, to rise actually high, you have to attract other popular sites. Combined with a shit filter (bad words decrease ratings), this should sort uglies away fairly well.

  6. Re:C# is what Java developers really want... on C# From a Java Developer's Perspective · · Score: 1
    Like a lot of people, I've been using Java since the beginning. I look at the C# language and I see everything I want in Java. The great majority of differences between C# and Java are purely syntactical sugar -- compiler candy. AND THAT IS WHAT WE WANT.

    Go eat your candy with C++. Anyone who digs to the bottom its rules of template instantiation superimposed on overload resolution superimposed on multiple inheritance is a sheer ubermind. Anyone who tries to use these features to the fullest inflicts pain and sorrow.

  7. Re:How about this? on The Anti-Thesaurus: Unwords For Web Searches · · Score: 4, Informative

    This is where the Google's PageRank(tm) system chimes in: an Alan Turing biography linked by half a hundred sites, each having own decent ratings, will be rated undoubtedly higher than a porn site that just listed "alan turing britney spears anthrax riaa cowboyneal" in their meta keywords and is linked by a handful among millions sites alike. Use the great cross-linking fabric of the Web, Luke.

    Disclaimer: I'm in no way associated with Google.

  8. Re:Procmail helper script to "connect" spammers... on Exposing Spammers For All They're Worth · · Score: 1

    Simple: head outputs a part of the triggering message fed to standard input. The subshell concatenates two outputs to feed them to sendmail.

  9. Procmail helper script to "connect" spammers... on Exposing Spammers For All They're Worth · · Score: 4, Insightful

    ... with their provider's contact persons.
    Usage in procmail:

    :0
    * From .*\.spammer\.com
    * Received: .*\.carelessisp\.net
    | spam-forward -s 'Oops, they did it again' \
    postmaster@carelessisp.net

    Here's the script itself:

    #!/bin/bash
    #
    # Procmail helper to redirect spam messages.
    #

    [ "$SENDMAIL" = "" ] && SENDMAIL=/usr/sbin/sendmail
    [ "$SENDMAILFLAGS" = "" ] && SENDMAILFLAGS=-oi

    subject='[SPAM ALERT]'
    while getopts s: opt; do
    subject="$OPTARG"
    done

    shift $(( $OPTIND - 1 ))

    dest="$*"
    if [ -z "$dest" ]; then
    echo "Usage: $0 [-s subject] recipient ... <message" >&2
    exit 1
    fi

    to_line="${*/%/,}"
    to_line="${to_line%,}"

    ( cat <<EOF
    From: $LOGNAME
    To: $to_line
    Subject: $subject
    X-BeenThere: $LOGNAME@$HOST
    Precedence: bulk
    MIME-Version: 1.0
    Content-Type: text/plain
    Content-Transfer-Encoding: 8bit

    Hello,

    This is an automatically generated spam alert.
    Feel free to contact me if you have any issues related to this.
    The (partial) listing of the message that triggered it
    is included below.

    EOF
    head -n 100
    ) | $SENDMAIL $SENDMAILFLAGS $dest

  10. Re:This is turning into a VI or Emacs topic on KDE 3.0 Screenshots · · Score: 1
    KDE APIs are for fresh-graduate college students who've been taught that C++ is the final solution to suit all programming needs. Just as with BeOS, all the real pains come after you've designed your beautiful toolkits, rolled it up in shared libraries... and then you want to extend something a bit, or upgrade you compiler, or just use different compiler options. Real Programmers use C, duh, and are not scared doing OO in it.

    And why on Earth they ever needed to reinvent CORBA in a totally non-compatible way?Why not to implement a small usable subset of CORBA (think ORBit) and gradually extend your implementation later, if you need to?

    As for architecture, GNOME is not playing catchup here. They are building a truly component platform, powerful and flexible as all heck. Imagine a cute little application using, say, Evolution mail services, an HTML viewer from Mozilla and whatnot, that is coded in a few hundred lines in Python, plus an UI whipped up in Glade. The recent ideas of escaping from the library hell (and proceeding to the IDL hell) are all pretty good.

  11. Local/special searches can keep up with Google on AltaVista Can't Keep Up · · Score: 1
    ...as long as they offer something above the basic search for word matches, and don't swamp their useful bits with commercial gunk. For example, Google indexes Russian pages, but cannot pick all variants of a word when one particular form is given. Most of you English speakers cannot imagine the enormity of this problem. All the major Russian search engines handle this perfectly though, because they use dictionaries that relate variations.

    It's worth noting that Yandex, the tzar of Russian Internet search has, apart from the main portal-like facade, got a search-only back entry, which is the prettiest minimalistic search page i've ever seen.

  12. Re:I thought Microsoft had learned this lesson bef on Microsoft Sets Tolls for .Net Developers · · Score: 1

    Wrong. It's like a library charging for development of software that uses their services.
    Pfft. I'd rather connect clients with the library across the road, which charges for service only.

  13. Re:Followup about the source. on DirectFB: A New Linux Graphics Standard? · · Score: 1
    They are suppose to all implement the same standard, so there isn't much room to have a different core system.

    I hope not many developers will hang this on their walls.

  14. There is no such thing as "X windows source" on DirectFB: A New Linux Graphics Standard? · · Score: 1
    X Window System (damn, you even name it wrong) is a specification. When you talk about source code, you talk about an implementation, unless it's some "reference" code (which has every right to be shit, BTW). So, you should elaborate on what implementation do you hack, and what version of it. For what I know, modularity of XFree86 improved a lot with version 4.

    Sorry, but your comment smells like a clueless troll.

  15. Re:I18N And L10N? on The Mozilla 1.0 Definition · · Score: 1
    If we don't work in Thai at 1.0, we don't work in Thai. But not working in Thai at 1.0 doesn't stop us working in Thai in 1.2.

    They talk about a stable API. The worst problems seen in i18n domain were due to incapability of interfaces to accomodate extended sets of languages, symbols, input methods etc. Heck, half of MIME is essentially an ugly hack over the present standard. Or, as others view it, an elegant hack over the ugly standard.

    Well, I'm not a Moz hacker, maybe the i18n of Mozilla APIs is a finished thing.

  16. Re:The best opensource DBMS/R is here ... on Major Changes To MySQL Coming Soon · · Score: 4, Funny
    IMHO more powerfull approach is three-tear architecture

    Ah, these freudian slips...

  17. RSBAC on Is the Unix Community Worried About Worms? · · Score: 1

    There is the very cool Rule-Set Based Access Control System, which allows you to erect any access control model you can think of (and write a module for, if it's really custom).

  18. Re:Unicode support on Apache Tomcat 4.0 Final Released · · Score: 1

    Now if only the browsers start actually using Unicode...

  19. H. G. Wells anyone? on Living Inside A Giant Wind Turbine · · Score: 1

    'When The Sleeper Wakes' had a picture of these.

  20. Re:There is a piece about this in Ha'aretz on More WTC News · · Score: 1
    The CN Tower in Toronto Ontario Canada

    Yup, and the Ostankino tower in Moscow. Heh, it even caught on fire in August 2000, but remained standing, despite some support wires got broken.

    I doubt that it'll withstand a plane crash though.

  21. Re:You're right...and here's what to do. on More On Tragedy · · Score: 1
    Osama likes to use cell phones

    This reminds me... The Chechen separatist leader Djohar Dudaev was wiped out by a Russian missile tuned in to the signal of his satellite phone. At least, that's the most established public version.

    The bastards tend to like tech toys of the very civilization that they hate. Maybe they should learn how these toys can kill?

  22. Why the big uns' dislike KDE on Office-Worker Linux: It's Here and It Works · · Score: 1
    Major corporations looking for a Linux desktop dislike, probably even more than GPL zealots, that Qt is kinda owned by some company. Having an irreplaceable player who may pursue his own commercial interests chills them from joining the game. Given a totally unowned alternative, they never hesitate.

    Also, probably, many software architects at Sun et al. wince when someone says "C++" near them.

  23. RSBAC-powered distro on Unsafe At Any Runlevel · · Score: 1
    Hopefully it'll be soon :)

    It almost is. Castle by ALT Linux Team is in second beta now.

  24. Russian Hackers are the next bugaboo on Fallout From Def Con: Ebook Hacker Arrested by FBI · · Score: 1

    The dreadful Russian Hackers, Osama bin Laden -- and whoever American mothers now spook kids by -- should expect no humane treatment on the U.S. soil. They are condemned by the state and the media.

  25. There IS an answer... on Japan Tests Reusable Rocket · · Score: 1

    ...and it's the Baikal reusable booster by Khrunichev.