Slashdot Mirror


User: sporty

sporty's activity in the archive.

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

Comments · 1,913

  1. Except in NYC on Wal-Mart Enters NetFlix's Business · · Score: 1

    Is there a walmart in NYC? We got a lot of people here ya' know. Come to think of it, I didn't see one in san francisco.

  2. Re:OOP on Why Java Won't Have Macros · · Score: 2, Interesting

    You are absolutely right. You odnt' have to stop using OO. Point is, you'll start mixing theologies. You'll have objects calling a mess of procedures.

    But back to the macro bit. You are right, anything can be made to create a mess... but lemme attack it from the other end. With OOP, an object has its methods on what it can do. If a method calls another objects methods, it's ok. It's straight forward etc... since each object effectively becomes a mini library.

    With procedural programming, which what macros are kinda like, code written in place with no object ties, though I know it is inline text replacements, you can have macros call other macros, call objects, call other macros to a very large mess.

    Macros do one thing really well.. it allows you to write clean looking code.. in an inline way. But it's easier to write spaghetti code, everything calling everything else with procedural programming. You can effectively create this mess with macro programming.

  3. Re:OOP on Why Java Won't Have Macros · · Score: 2, Insightful

    But you see, that uncertainty, that new language I need to read, is what java develoeprs shouldn't have to deal with. It's like Java and SQL. EJB solves a lot of that, "I need to know SQL to get stuff from the DB." The exception is when you have to define finder functions in your configuration. Point is, it doesn't change how java looks. No syntax changes.

    That's prolly what java doesn't want. Syntax changes done by something like macros, or from what you've pointed out.

  4. Re:OOP on Why Java Won't Have Macros · · Score: 1

    Yeah, but when you stop using OO and start using Macros, you create a C mess. Procedural programming. If it's done lightly, everything works for the better. If you use it too much.. ewr. It'd require due dilligence of a group of programmers OR a very small grou of programmers doing "the right thing".

  5. Re:OOP on Why Java Won't Have Macros · · Score: 2, Interesting
    I think you ran into the same problem that a lot of Java purists may have. They want java to look like java and not have a language inside the code which does neat syntatical stuff. Not that it's bad intrinsically, after all what is? :)

    Lemme also take a segment from what your link has.



    (define-syntax (while stx)
    (syntax-case stx ()
    [(_ test body)
    #'(letrec ((loop (lambda () (if test (begin body (loop))))))
    (loop))]
    [else (raise-syntax-error 'while "Illegal syntax in while loop" stx)]))

    Notice in that code fragment how obvious it is what's happening, even if you don't know Scheme



    It's not obvious to us all. I'm slightly confused on what exactly is happening. It looks recusive... though it prolly isn't.
  6. Re:OOP on Why Java Won't Have Macros · · Score: 1
    Macros have nothing to do with programming methodology (OOP, procedural, functional, etc).


    I understand that macros are an inline replace. But that's what the broad sense of a function is. When you get to this point, perform some functionality. I *know* that a function in c has to deal with throwing stuff on the stack, where as a macro is inline text-replacement.

    They look like called procedures.. THAT is my point. they are treated as such by the programmer though the compiler does something totally different, like inline functions.
  7. Re:OOP on Why Java Won't Have Macros · · Score: 1

    Ok, I'll bite. How do you tie = or == to an object syntatically?

    this->==(something) ? this->equals(something) already exists :)

  8. OOP on Why Java Won't Have Macros · · Score: 3, Informative

    Just to clarify further why macro's are bad.

    The problem with macros, is they sorta defeat Java's OOP. Think of it. Defining a symbol, just to be replaced in thousands of other places where it's written, tied only to the global space.

    Sounds awfully like a procedure/function to me.

    If you tied macros to objects, they'd just be inline methods. So there really is no point.

  9. Re:Alternatives on Executing a Mass Departmental Exodus in the Workplace? · · Score: 1

    That depends. If you are working salary, you aren't necessarily being paid to be ther efrom 9-5 or whatever.

    It's a culture thing usually. I.e. for sysadmin's, usally it means carrying around a pager or cell, being called on weekends etc, and usually getting compensated.

    For developers, sometimes, there is no compensation for donig more hours than doing less hours in the week when work is slow.

    So becareful how you decide to work to the letter. It can bite you in strange ways if you dont' read your employee handbook and contract.

  10. Re:Hmmm on A Blog With Unlimited Bandwidth (Beta 1.2) · · Score: 1

    Yeah, but you also have to worry about "noise", unwanted junk on the channel.

  11. stxx on What XML Tools Do You Use? · · Score: 1

    stxx.sourceforge.net

    It's a plugin that uses XSL and XML for the display layer in struts. IMHO, it forces the MVC (model, view, control) pattern a bit more than JSP (java server pages), since you can embed java IN JSP. Extending XSLT with heavy duty business logic is really REALLY hard.

  12. Re:Following the Big Boys... on .ZIP Standard to Fragment? · · Score: 1

    Problem is, PKWare is prolly a lot smaller than winzip. It's certainly less popular now-a-days. If pkware is much smaller, then why help out winzip? PKware isn't winzip's R&D dept. PKware needs to look out for its best interest, itself.

  13. Re:I get the sarcasm just fine on Intel Shipped 1 Billionth Computer Chip · · Score: 0, Troll

    Your mom sucked my cock. Tell her to stop her dentures though.

  14. Microsoft? on Intel Shipped 1 Billionth Computer Chip · · Score: -1, Offtopic

    And Microsoft released it's 1 millionth.. nah.. too easy.

    Disclaimer: This, is a joke. If you don't get the sarcasm in it, you should not reply. That is all.

  15. Re:/. should provide bittorrent trackers... on FreeBSD 5.1 Released · · Score: 1

    Yes you can.

    Update your cvsup source tree to 5.1. Before doing a "make world" etc.. look for files such as README, UPDATING etc.. they are in all caps.

    They should tell you things like, binary incompatabilities.

  16. Why cursive is good. on Why Johnny Can't Handwrite · · Score: 1, Interesting

    Cursive is good for one very good reason. You can't have a typing device everywhere you go. Cursive/script is great for writing a little faster than manuscript. Especially for writing notes in class, or in meetings. Typing while in a meeting situation can be considered rude in some places, though not all.

    It does not solve writing script TOO fast and making garbage of what should look like script.

    It doesn't solve the problem for those who write manuscript faster than script.

  17. Re:/. should provide bittorrent trackers... on FreeBSD 5.1 Released · · Score: 3, Insightful

    Note: you typically install/upgrade freebsd via either

    1. cvs (cvsup). It only gets the newer files.
    2. The tarball packages. (i.e. bin.aa.gz or something like that)

    ISO's don't usually get made every waking moment. It's more FBSD culture to use cvs..., so bittorrent wouldn't excel here, unless someone tarballed the distrib..

  18. Re:What to do with the old one? on Game Boy Advance SP Sells 1.1 Million in U.S. · · Score: 1

    I think the beowulf cluster would have been clearer. ;)

  19. Re:Use it? on Game Boy Advance SP Sells 1.1 Million in U.S. · · Score: 1

    I've never had a problem with light not.. lighting the screen when a lamp is on it. The problem is either it's not bright enough, i.e. for the first castlevania game or glare. Not many games are that dark.. and as for glare, tilt the gameboy or yourself a different direction.

    You'll live.

  20. Use it? on Game Boy Advance SP Sells 1.1 Million in U.S. · · Score: 4, Informative
    Anyone got ideas for what to do with an old GBA?


    Get some rechargable batteries and a lamp. Use it. You'll live.

    Or use your m4d h4XX0r1ng skilz and get an afterburner lighting kit for it.

  21. Naming on Ask ReiserFS Project Leader Hans Reiser · · Score: 2, Interesting

    Obviously, you named ReiserFS after yourself. Why after yourself? Were there any runner-ups? What will happen when you create another great project? :)

  22. Algorithms and biz logic. on Outstanding Objects (Developed Dirt Cheap) · · Score: 1

    I totally agree to some degree. :)

    If every company wrote their own web server, that'd be stupid. But when a solution needs to be written due to a technical requirement or a business requirement, that will be more likely unique.

    Lets take, something like.. the Java API. CPAN is quite huge and has all the tools that perl has. But someone came along and said, "We need a business language, that we can make money off of [ 2) ???? ] and fulfill a bunhc of things, like OOP and such." Thus, java was born.

    Now you ahve two tools that can do the same thing, near line-by-line if you want them to. Yes, there are things you can do in one language, and not in others, but it can be done.

    Now I want to start a company that sells ERP software. It's been done before, but I think I can provide something that other people can't. THAT is what is unique and why the wheel is reinvented. My software does something better, or at all, fulfilling a requirement.

    Problem is, you can't strip out my "better stuff" and paste it on. That'd be like, using word for some things, wordperfect for others, and finally, use abiword for finishing touches. It'd either be economically stupid or impossible.

  23. Re:The now-yanked Full Text on iTunes Indie Meeting Notes · · Score: 1
    * Only exception: if a song is over 7 minutes long, they won't offer it as a separate download. It will be available as part of the album only.


    You'd have to download the entire album.
  24. Re:Play with your kids on Games - The Jury Is Out And Confused · · Score: 2, Insightful

    Ok, so you're a super-parent then. Day and night there's never 2 seconds you're away from you child protecting them from the dangers of the world. Will to sacrifice EVERY bit of life you have to make sure they aren't subjected to deadly television radiation. Man, that kid is going to be sooooo messed up as an adult.


    You just described the extreme alternative. What (s)he was trying to say is, instead of letting a kid use games etc.. instead of social interaction all the time, take time out of your day and the child's and interact with them.

    Doesn't have to be 90% of the day. Hell, even one or two hours.
  25. Re:Picture? on SCO NDA Online at LinuxJournal · · Score: 1

    Nono.. half the picture follows log().