Slashdot Mirror


User: davidmccabe

davidmccabe's activity in the archive.

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

Comments · 90

  1. COCOA COCOA COCOA! (and here's why) on Which Coding Framework for Mac OS X ? · · Score: 2, Informative

    First off, the Swing Thing isn't a thing like Cocoa in terms of look-and-feel. It looks-and-feels awfully second-class on many levels.

    Don't even think about Carbon. It's 18 years of evolution from a bitty-box API that was in Pascal.

    Cocoa, on the other hand, is NeXTSTEP, and as any NeXTer can tell you, NeXTSTEP was the best operating system ever (at least the best API ever). It's amazing. Ten minutes with InterfaceBuilder and you'll be hooked. Where as most tools of this sort just give you some kind of data thingy that you have to interface with programmaticly using some magic codes, you can actually put OBJECTS in a NIB file, which will be unpacked at runtime, and automagicly referenced in places where you have references to them. They have these actions and connections. It's great.

    Java is my favorite language (although recently Ruby has been fighting hard for that space), but I must say, the docs for Java-Cocoa are terrible. I gave up and learned ObjC.

    That, inititally took about 45 minutes (I've done C++), but actually getting through the qwerks to where I could use the language well took 2 weeks or so. In a nutshell: If you are used to garbage-collection, you will hate ObjC. Period. It stinks. In almost every other respect, however, ObjC is a great language.

    The Java documentation may have improved a lot since I ws reading it.

    No, in short: Cocoa, cocoa cocoa. And Java if the docs are decent by now, otherwise Objective-C.

  2. Re:review is flamebait ? on Hacker Culture · · Score: 1

    Yeah. Exactly. But OS X is more then just a stock FreeBSD with a better X11. It is ALSO NeXTSTEP, which is what I was talking about.

  3. Re:review is flamebait ? on Hacker Culture · · Score: 1

    Yeah, just what I was going to say.

    It's called NeXTSTEP! Everything about Mac OS X screams, "I'm a NeXT box painted blue!". Everything about the GUI, right down to the color selection box, is NeXT. NetInfo, defaults, the big great API that is now known as Cocoa that is in ObjC and all of the class names start with 'NS'. And they use a FreeBSD stack. Big deal. People are always talking about how OS X is a FreeBSD, or a UNIX, or whatever they want to call it, but who mentions NeXT?

    By the way, let's all tell Apple to undummify the Dock. The NeXT workspace had much more functionality, including that multipal workspaces thing that apearently is WAY to complicated for Apple's customers to understand, the miniwindows that you can move around (OS X sticks them in the Dock too), the appicons that you haven't put anywhere (OS X sticks them in the Dock too), the clip icons (OS X doesn't have one), etc., etc. So in short, Apple just puts anything and everything in the One Grand Unified Dock, instead of having different places for different things.

    On an unrelated note, does anyone know of a program that acts like the Dock, that I can use in KDE 3, to replace Kicker? Unfortionatly, the WindowMaker dock is fully integrated into the window manager.

  4. .Mac is not what you think it is... on A Universal Roaming Profile? · · Score: 1

    The unfortionatly named .Mac consists of:
    Web hosting
    WYSIWYG Web-based HTML thingy
    Email service
    Network backup service
    Antivirus
    Greeting cards

  5. Re:Filler Filler Filler on Slashback: Segwait, Farscape, Leg-pulling · · Score: 1
    >"a bike can't jump a curb"

    You must have tall curbs wherever you live. I can jump a curb on a bike easily, and I'm not even a good biker.

  6. Re:Speed of light? on Plastic Optical Fibre: Cheap and Bendy · · Score: 1

    Well, now...we learn something everyday, huh? Sorry I was a bit loud.

  7. Re:Speed of light? on Plastic Optical Fibre: Cheap and Bendy · · Score: 1

    I seem to remember the velocity of electrons in copper wire being on the order of a few cm/second

    A *few* cm/s? Then how come I can ping from here to my other machine, at least 15 meters of cat5 wire, in average 0.3ms?

    That has to be bogus. Perhaps you meant dekameters or hectometers or even kilometers. Do you know how short a cm is? Eletrons, though I don't know if there're speed-of-light, are FAST!

  8. Re:Hello World not OO? Hello MCFLY! on What's wrong with HelloWorld.Java · · Score: 1

    You also have to think about implementation.

    Using the o.printOn(OM) method, every object must know how to print itself to an output medium. With the method that Java uses, only the print writer needs to know how to print any object.

    Furthermore, what if we want to implement some new and different printing mechanism. You see that with your method, every object needs to know something about how output streams work. With the Java method, they don't. Streams, or any other kind of output, is actually more encapsulated.

  9. Re:Hello World not OO? Hello MCFLY! on What's wrong with HelloWorld.Java · · Score: 1

    Yes, Ruby is cool, and by the way:

    What about 'System.out' isn't OO? There is an object called 'out', which is of type 'PrintWriter', and a member of the class 'System', and we are calling its method 'println', passing it an object of type 'String'.

  10. Re:Hello World not OO? Hello MCFLY! on What's wrong with HelloWorld.Java · · Score: 1

    "hello, world".print

    Ruby does a lot of things like that.

    5.*(5)
    > 25

  11. Re:GNUDVD on Consumer Friendly (or Disney Hostile) DVD Players? · · Score: 1

    Heh heh...I'm busy writing a audio sequencer. Thanks, though.

  12. Re:this is neat on Speaking in Tongues · · Score: 1

    I suppose that there aren't millions of people in Croatia who can't speak English but would be able to get a much better job if only they could, and there isn't anyone to teach them English, and their language happens to be very difficult to learn for many people which shortens the supply of teachers. And the whole nation isn't bombed out from the war. And by the way, it's usually called "hervastky".

  13. Re:Your kidding right? on Consumer Friendly (or Disney Hostile) DVD Players? · · Score: 1

    It's the general idea of being forced to watch something, not the actual time spent. It annoys people that they buy a DVD player, they buy a DVD, and they get all these weird restrictions imposed on them with the stuff that they own.

  14. GNUDVD on Consumer Friendly (or Disney Hostile) DVD Players? · · Score: 1

    I see a need for someone (how about GNU?) to write a nice DVD player on top of DeCSS, that runs on GNU/Linux, writing to the framebuffer, and talking to remote controls. Then, it would it relatively easy to build a DVD player out of an old PC, or one of those set-top PCs. All it would need is a DVD-ROM drive and a nice video card. And also some flash memory and solid-state cooling.

    Whoohoo.

  15. Re:OT: Jesus vs. the moneylenders on A Contrarian View of Open Source · · Score: 1

    That is totally preposterous!

    Jesus says, "How terrible it will be for you teachers of religious law and you Pharisees. Hypocrites! For you won't let others into the Kingdom of Heaven, and you won't go in yourselves. Yes, how terrible it will be for you teachers of religious law and you Pharisees. For you cross land and sea to make one convert, and then you turn him into twice the son of hell that you yourselves are! Blind guides! How terrible it will be for you! For you say that it means nothing to swear 'by the Temple of God'--you can break that oath. But then you say that it is binding to swear 'by the gold in the Temple'. Blind fools!...How terrible it will be for you teachers of religious law and you Pharisees! Hypocrites! For you are careful to tithe even the tiniest parts of your income, put you ignore the important things of the law -- justice, mercy, and faith. You should tithe, yes, but you should not leave undone the more important things. Blind guides! You strain the water so you won't accidentally swallow a gnat; then you swallow a camel! How terrible it will be for you teachers of religious law and you Pharisees! Hypocrites! You are careful to clean the outside of of the cup and the dish, but inside you are filthy--full of greed and self-indulgence! Blind Pharisees! First wash the inside of the cup, and then the outside will become clean too. How terrible it will be for you teachers of religious law and you Pharisees! Hypocrites! You are like white-washed tombs--beautiful on the outside but filled on the inside with dead people's bones and all sorts of impurity. You try to look like upright people outwardly, but inside your hearts are filled with hypocrisy and lawlessness. How terrible it will be for you teachers of religious law and you Pharisees! Hypocrites! For you build tombs for the prophets your ancestors killed and decorate the graves of the godly people you ancestors destroyed. Then you say,'We never would have joined them in killing the prophets'. In saying that, you are accusing yourselves of being descendants of those who murdered the prophets. Go ahead. Finish what they have started. Snakes! Sons of vipers! How will you escape the judgment of hell?"

    Jesus hates what the Pharisees were doing. "Beware of the yeast of the Pharisees -- beware of their hypocrisy!"

    It says many, many times that the Pharisees were all plotting to kill him.

    The Pharisees say this at one point: "How does he know so much when he hasn't studied everything that we've studied?"

    It is very obvious that Jesus is NOT a Pharisee!

  16. Embedding in the wall on Computers That Thrive in Salty, Humid Environments? · · Score: 1

    I assume that in the fish factory you want something for factory-related tasks, that isn't going to move much, like automation and control, for example. What stuff are your walls made out of? Of concrete or similar, cut a large chunk out of the wall someplace, put a normal PC in it, and then bolt on a plate of stainless to cover the hole. Seal the compartment with silicone of similar.

    Yeah, I know that's crazy.

    As for ventilation, you could run an air duct from the outside (how thick are your walls?), and put a fan or an AC unit in it. Would an ionizing filter take salt out of the air? Is the outside air salty at all?

    As for connections, make a small hole for your wires, pull the wires through it, and then use rubber cement or silicone or something like that to seal around the wires so that no air can get through.

    In the end, you hve a machine embedded into the wall of the building, in a sealed box with filtered air coming into it.

  17. Re:*sigh* on Black Boxes to Track Driving Habits? · · Score: 1

    AOL!! See this other post.

  18. Yet another thing... on Black Boxes to Track Driving Habits? · · Score: 1

    Yet another thing taking away the rights and insulting the intelligence of teenagers. Bah-humbug!

  19. Re:Notes from a 6-month MFC coder on Qt vs MFC · · Score: 1

    Apparently every one of my five MFC books are defective. Or at least very incomplete.

    Anyway, I still love Java.

  20. Notes from a 6-month MFC coder on Qt vs MFC · · Score: 0, Flamebait

    I haven't used QT, but my experience with MFC has been:

    MFC is the most confusing, bloated, needlessly complex, poorly-designed API in the world.

    First, you use this little program called 'AppWizard', that asks you a few question like if you want toolbars, if you want database support (database support?), if you want OLE, etc. Then it spits out this hulk of code that has all these weird constants and macros in them with names like '__AFX_DEFINED_DDLXCI_AXWEC_UBER_MACRO_EXCHANGE_DD FC' scattered all over it. And you can just pull values out of a dialog box; you have to use this thing called "Direct Data Exchange" that I never really figured out, and you have all these magic cookies that get defined in some header file somewhere and you don't even get to write main() and all the functions have weird names and at least we have a good String class but all the classes start with the letter 'C' and everything is in hungarian notation and all those weird macros and WHERE DO I DRAW STUFF IN MY WINDOW?! and BLAH BLAH BLAH!!!

    I write in Java now.

  21. Re:Mac OS X Support on POV-Ray 3.5 Rendered · · Score: 1

    This was also before I managed to connect to the server, and see that they haven't provided source (icky icky icky cathedral).

  22. Re:We need a mirror! JUNK! on POV-Ray 3.5 Rendered · · Score: 1

    WARING: this is junk!

  23. Re:Mac OS X Support on POV-Ray 3.5 Rendered · · Score: 1

    Unless you want a fancy GUI, you have Mac OS X support. You write INI files and use a terminal, just like everybody else.

  24. We need a mirror! on POV-Ray 3.5 Rendered · · Score: 0

    We need a mirror!

  25. Re:Java? on Organizing Source Code, Regardless of Language? · · Score: 1

    I'm not trying to be overly particular, its just that I like everything to be correct :-). I'm sorry if I've offended you in way.

    Yes, a class is a blueprint for a type of object.

    The thing about classes and objects is, they are not the same in that they don't have a one-to-one relationship all of the time, just as "this kind of foo" is not the same as "this particular foo".