Slashdot Mirror


User: mad.frog

mad.frog's activity in the archive.

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

Comments · 763

  1. Re:Depends ... on Why is Java Considered Un-Cool? · · Score: 1
    For example, a string can be used in a numerical context for calculations without having to waste space translating the string to a number, then assigning it to a numerical type.


    Sorry, that's a bug, not a feature. I know this is a hopelessly unfashionable attitude, but all data conversions need to be explicit. The language should make this as terse as appropriate, but no terser... but I don't *ever* want the language to do anything under the hood without my explicit approval.


    Furthermore, for those 'one-off' administrative/glue type apps - you can ignore it entirely if the manipulation of the data is well defined


    Sorry, I don't believe in the existence of such code. If it's worth doing, it's worth doing with some confidence of reliability.

  2. Mod Parent Up on Why is Java Considered Un-Cool? · · Score: 0, Offtopic

    I wish I had mod points today (and that you weren't AC). You deserve karma for this.

  3. Re:Sony Ericsson k700i on Nokia 6820 Wireless Messaging Handset Reviewed · · Score: 1

    Um, but how much does it COST?

  4. Re:Three words "Sony Sonicstage Sucks" on Jabberwocky In ActionScript · · Score: 1

    Ah, logic:

    1. Program "X" is poorly written
    2. Program "X" is written in Language "Y"
    3. Therefore, Language "Y" is incapable of producing anything but poorly written programs

    Sigh...

  5. Re:The Hunting of the Snark on Jabberwocky In ActionScript · · Score: 1
    Actually, Dodgson needs to be encoded in a seriously object oriented language. The various characters have methods and properties...it'll look better after I've slept on it.


    Huh? How is ActionScript not "seriously object oriented"?


    ActionScript 2 (which is nearly identical to ECMAScript 4) is a dynamically-typed object-oriented language that's really a joy to work in... much more pleasant, IMHO, than, say, Python, since it also allows for compile-time type checking without compromising the dynamic typing ability of the language. (See here for more info.)


    It doesn't get as much attention around Slashdot, presumably because there is no robust FOSS development-and-playback environment (at least, none that I'm aware of), but if you like Python, Ruby, etc., you're doing yourself a disservice by ignoring AS2/ES4...

  6. Re:The original on Jabberwocky In ActionScript · · Score: 2, Interesting

    Depends. I always assumed that "mome" was an adjective describing "rath", presumably a noun, in which case

    raths['mome'].outgrabe()

    might be more appropriate...

  7. Re:Language troubles on The Python Paradox, by Paul Graham · · Score: 1

    Wow. You are my new friend.

    I totally agree. C++ is what I pretty much have to use for work, and it's pretty much the best of a bad lot.

    Of all the stuff you mention, C# is most appealing to me from a language design standpoint... if only I could use it without installing a 23 megabyte runtime package first, that is...

  8. Mod Parent Up on The Python Paradox, by Paul Graham · · Score: 1

    Wish I still had mod points. Give me compile-time type checking and I'll be all over Python.

  9. Re:Apples and oranges on The Python Paradox, by Paul Graham · · Score: 1
    A decent lint (pylint, pychecker) will catch those typos before you run the code.

    Yeah, but I shouldn't have to use a separate tool. If it's a good idea to run such checks -- and, IMHO, it always is -- it should be built in to the standard language.

    (Keep in mind that I'm the kind of coder that cranks the C++ warning level as high as it will go, and then set the flag to treat all warnings as errors...)

  10. Re:Python vs Java on The Python Paradox, by Paul Graham · · Score: 3, Interesting
    I think the main reason I write so much stuff in Python and pretty much nothing in Java is simple: Open source and comprehensive standard library.

    Interestingly, I just started trying to learn Python recently, for just these reasons... but soon gave up in frustration.

    My issue is that I live for static typing. Yes, yes, yes, I know it's (apparently) very unfashionable to want the compiler to check for trivial mistakes, but I'm funny that way.

    Don't get me wrong: dynamic typing is great. It's a wonderful tool to have available. But more often than not, I know the type that I need, and can make my app more reliable by enforcing those constraints at compile time rather than at runtime.

    But the final straw has to be the deliberate omission of variable-declaration statements -- this is like some nightmare out of circa-1982-BASIC. What, it's too hard to declare variables? C'mon, that's not flexibility -- that's laziness.

    The idea of an interpreted, dynamically-typed language with a huge standard library is verrry appealing to me, but I refuse to switch unless I can have static type checking built in to the language.

    (For that reason, ECMAScript 4, aka JavaScript 2.0, aka ActionScript 2.0, is looking more and more interesting to me: I get all of the dynamically-typed goodness I want, along with flexible compile-time type checking that is "on" by default, but trivially easy to work around. If only there was a way for me to use all the existing Python libraries from there...)

  11. Re:We're so conflicted on Helix Player and RealPlayer 10 Released · · Score: 1

    A sucky Open-Source product is still sucky.

    Don't let your philosophy blind you to the fundamentals of software quality.

  12. Re:Mobile phones that run Linux on Macromedia: More FUD About SVG · · Score: 2
    Here's a page that lists several such phones, in various stages of availability from Now to In-Development.

    Thanks for the link. I stand corrected.

  13. Re:Well, of COURSE it's a trojan... so? on Macromedia: More FUD About SVG · · Score: 0
    It's not the ads I bitch about, that's actually an appropriate application IMHO. It's lame ass sites like Ray-Ban's where Flash is used as a replacement for HTML. Especially when there's very little here that needed Flash, as in this case. Site-as-snazzy applet-thing should die a painful death.

    Yep, I'll agree with you on this one... with allowance for a few sites that don't really make sense any other way (e.g., the aforementioned Homestar Runner), of course. But those are definitely the exception rather than the rule.

  14. Well, of COURSE it's a trojan... so? on Macromedia: More FUD About SVG · · Score: 5, Insightful

    Yeah, it's a "trojan", but you say that like it's a bad thing.

    Look, a lot of phone makers want SVG-Tiny support on their phone. Macromedia wants to put Flash Lite on a lot of phones. This is an obvious way to make that happen.

    But geez, there's no big conspiracy to get proprietary stuff on phones just to Stick It To You Open Source guys... we just have a technical solution that we happen to think is pretty damn good, that will suit the mobile market well. So what if it's proprietary? I defy you to show be ONE SINGLE PHONE in existence that runs on Open Source software; phone makers seem to be pretty happy with using whatever will get the job done, without getting all religious about this.

    Honestly, I read Slashdot daily, but I'll never understand the peculiar Flash-Is-Evil bias. Yes, there are annoying ads that use it. There are also annoying ads that use animated GIF, and even HTML. It's just a tool, folks, and like the song says, every tool is a weapon if you hold it right.

    And for the expected flood of responses saying, "You can do this with SVG+DHTML+SMIL+etc,etc"... bollocks. Just because it's possible doesn't mean it's practical.

    Look: 98% of interesting interactive animated stuff on the Web is done using Flash rather than that something else. I submit to you that this is not a coincidence! Artists aren't stupid, and they sure as hell aren't going to spend hundreds of dollars on Flash if there really was a superior (or even comparable) solution available for free.

    I'll tell you what: why don't you go off and write a nice, free authoring tool for SVG that is good enough for the Homestar guys to completely replace all those Strong Bad Emails with. (I will, of course, expect the final result needs to be just as bandwidth- and processor-efficient as Flash.) Until then, please, give it a rest.

    (Disclaimer: I work for Macromedia (though not related to the Flash Lite effort in any way), so I expect to be ignored or dramatically modded down...)

  15. Re:The Coder? Nothing... on How Would You Handle a $1,000,000 Coding Error? · · Score: 1

    You're missing the point.

    Let me fill in the context, as I was the unfortunate recipient of this statement.

    Our team was working on a project that was behind schedule and buggy besides. I was a fresh hire, just a few months out of college. In a status meeting, I attempted to be helpful, and suggested that if QA was finding more bugs, we'd be able to fix more bugs, thus rendering it less buggy. (Our QA department was in another city, so we had no day-to-day contact with them.)

    At this point, the head of development gave me a stern look and said, "The purpose of QA is not to *find* bugs; the purpose of QA is to *verify* that *there are no bugs*."

    I, of course, remained silent for the rest of the meeting...

    But I learned a valuable lesson, namely that you don't code something, then "throw it over the wall" to QA to flush out the bugs; you code with the intent that there are no bugs, and when QA finds one, you take it seriously, and as a defect that you should strive to avoid by careful design and coding practices.

  16. Re:The Coder? Nothing... on How Would You Handle a $1,000,000 Coding Error? · · Score: 1

    Dammit, you posted that before I could :-)

    So I'll quote his other bit of wisdom that is impressed on my brain, aka "Crowder's Law of Optimization": "If the function result doesn't have to be correct, I can make the function as fast as you like."

  17. Re:Linux? on Time to Try a Linux Desktop? · · Score: 1

    http://www.transgaming.com/gamepage.php?gameid=115 6

    Rating:

    0 out of 5 [ Does not install and does not work. ]

  18. Re:Some posts up there ... on Browser Wars 2004 · · Score: 1
    (Did you know that Flash pages can turn on the web cam on your computer, if you allow it?)


    Yes, but this is a good thing. It makes it easy to use Flash for simple webconferencing. The camera is disable by default, IIRC.

  19. Re:Linux? on Time to Try a Linux Desktop? · · Score: 1

    City of Heroes currently gets a "0 out of 5" (won't install) on the Wine compatibility list.

    Since I'm running it every freaking day, I think I'm stuck with Windows for a while.

    Get COH running, then we'll talk :-)

  20. Re:Linux? on Time to Try a Linux Desktop? · · Score: 1

    In addition, a unified API akin to .NET or Cocoa, instead of these 20 or so different APIs which require that I install all of them since everybody likes to code for different ones instead of coding to a standard. Hallelujah! I wish I could mod you higher than 5.

  21. Re:oh? on Software Companies - Merge or Die? · · Score: 1

    > VxVM, VxFS, VCS.

    Damn... I feel totally out of the loop, because I have NO fucking idea what you are talking about...

  22. Re:Impressive, important and cool project! on The Traveling Salesman Problem Meets Starbucks · · Score: 1

    I think I speak for most of /. when I say:

    What, are you insane?

  23. Mod Parent Up on The Traveling Salesman Problem Meets Starbucks · · Score: 0, Troll

    Oh, to have mod points today...

  24. Re:I think its beautiful on The Return of the Sparrow Electric Vehicle? · · Score: 5, Interesting

    Yes, it is beautiful, but it is NOT "staggeringly well designed." Trust me on this; I was a former owner of a Sparrow, and found out -- the hard way -- that a three-wheeled, rear-driven layout is fundamentally unstable in the event of fishtail: flip, roll, totaled.

    In addition, the quality of both design and construction was truly dismal. I wondered sometimes if the Corbins didn't bother to design anything ahead of time, but just sort of threw things together, bodged it around until it worked, kinda.

    They had a cool concept, but absolutely no idea how to actually execute that in a reliable and profitable way, and so the Sparrows were MASSIVELY unreliable; mine was out of service for, literally, 2/3 or 3/4 of the time I owned it, and stalled -- twice! -- crossing the Bay Bridge. (Ever been stalled on the Bay Bridge? Now imagine doing so in a very small fiberglass container.)

    No... there's no way this vehicle can be worthwhile without a ground-up redesign by folks who actually know what they are doing. I know nothing of Myers Motors, so maybe they are smart folks, but if they're starting with the existing design, they've already made a big mistake.

    If, say, Honda, or Toyota, or even Piaggio, designed a vehicle like this, I might be interested....

    (For more info on a Sparrow's crashworthiness, see: http://finance.groups.yahoo.com/group/sparrow_ev/m essage/3680)

  25. Re:ActionScript?!? on The History of Programming Languages · · Score: 3, Informative

    No, ActionScript is essentially ECMAScript, aka JavaScript.

    ActionScript 1.x was the language for Flash Player 5 and 6, and corresponds to ECMAScript 3 / JavaScript 1.x, IIRC.

    ActionScript 2.x was introduced for FlashPlayer 7 and mirrors ECMAScript 4, which is actually quite a nice language, IMHO.

    ActionScript isn't 100% complete, as it omits or changes a few minor things (e.g., eval() isn't implemented in any useful way), but really, it's just trivial stuff.

    I think there's some server-side version of ActionScript, but almost all the usage I'm aware of is for programming Flash movies.