Slashdot Mirror


User: Enonu

Enonu's activity in the archive.

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

Comments · 333

  1. Re:You can, but it's hard, and why would you want on Too Cool For Secure Code? · · Score: 1

    I'm pretty much a Java coder that used to to a lot of programming in C and C++. If I ever go back to a job that required me to code in C, the first thing I'm going to do is look for a memory management package (at least keep track of what's been alloced and freed) a decent string handling library, and something for bounded-array access. Honestly though it won't be for the security aspect, but for the EASE OF DECENT CODING.

    I won't have to worry about debugging something that segfaults before I get to real bugs that deserve real attention. As a kick-back, my code won't be easily exploitable. I'll also naturally pay more attention to function calls that go outside my mini-sandbox. Basically, calling untrusted code becomes a pain-in-the-ass, not the other way around.

    Perhaps I might have to type a bit more. That's no big deal since it's like complaining about coding in language X insteady of language Y because in Y you have to type less. Perhaps somebody who maintains my code has to read a few pages of documentation first. Well I'll probably already saved him 10X that time since he's not trying to fix a bad pointer arithmetic bug for a bizzare case scenario. Next, let's say it slows down my code, well then I can carefully optimize after the project is working and then run some regression tests. Finally, if all else fails, then management should have asked me to program in a different language. After all, our goal as software engineers is producing a quality product, not banging something out real quick just to impress the boss.

  2. Here's a New Direction on Rick Berman: Enterprise May Not Suck Next Year · · Score: 2, Interesting

    Screw Star Trek. I want a show about the Klingon Empire where they constantly beat the living shit out of each other and conquer new worlds with an evil grin on their faces as they yell "FIRE!"

    For the intellectual part of the show, they could concentrate on inter-clan wars, the empire itself, and its culture-rich religion.

    Sex appeal is the only problem. Sure they have their tits hanging out of their uniforms all the time, but those nasty-ass ridges don't do it for me.

    Oh yeah, and there wouldn't be any time-travel, whiney women/geekey men, or techology based episodes, because the klingons wouldn't give a damn, and if they did, they'd just kill the offenders.

  3. Re:to the victors goes the spoils.. on More PlayStation 3 Predictions · · Score: 1

    In MK Deadly Alliance, you are able to go on a "Konquest" where you learn the specific moves of each character in a orderly fashion. For Sub Zero, one of the training exercizes was to remove 80 pints of blood from your advesary in less than 30s (I think). Do you really want your eight-year-old playing this? Pay attention to that M-rating.

  4. Re:AWE 32 on Creative SoundBlaster Audigy 2 Reviewed · · Score: 1

    Your USB sound card is "a piece of crap," so all USB sound cards must be the same is your basic argument. The logic is flawed, and anybody with half a brain knows it. Learn how to argue correct before using words like "definitely" or your more flavorful "*NOT*".

  5. Re:Reliability is more important to me on Review of First 10K IDE Drive · · Score: 1

    I agree with you sentements 100%, but let me digress to give you an example why some people think like this ...

    I have a friend that's a lead technician for the Basha's supermarket here in Arizona. According to him, Basha's has a deal with WD to buy 2nd-rate hard drives at 50% the cost. They then tell all their employees to save their important data onto the server (where they can backup it all at once). Drives on the desktop are merely for loading applications.

    He then says he has to deal with about a 1 year 30% fail-rate with these drives!!! So, this leads me to think if other companies have similar deals, and then coupled this with the fact that WD is a well known name (a lot of people buy it), that this is why I hear all the time "WD sucks."

    However, as you have noted, retail WD drives nowadays aren't worse or better than Maxtor or others. This, coupled with the fact WD drives are dirt-cheap and fast, will pretty much gaurantee that my next drive is WD.

    It's all about perception, and people believing what they want to believe rather than doing some research. I wish others would take the same attitude to other computer related religious wars.

  6. Re:what's next? on Are Video Blogs Ready For Prime Time? · · Score: 1

    Imagine the goatse.cx guy doing a video.goatse.cx blog. The horror is just beginning my friend.

  7. Re:Where's this useful? on Aspect-Oriented Programming with AspectJ · · Score: 5, Informative

    Yeah, this review didn't introduce AOP that well.

    Going here:
    http://dev.eclipse.org/viewcvs/indextech.cg i/~checkout~/aspectj-home/doc/progguide/index.html

    I found this code example:

    pointcut move(): call(void FigureElement.setXY(int,int)) ||
    call(void Point.setX(int)) ||
    call(void Point.setY(int)) ||
    call(void Line.setP1(Point)) ||
    call(void Line.setP2(Point));

    and then this:

    after(): move() {
    System.out.println("A figure element moved.");
    }

    As you can see, "after" any method call as defined by the pointcut, System.out.println is executed to reflect this fact.

    I can see how this would be great for logging, checking pre/post conditions, quicker debugging, or anything else that is of a "horizontal" nature in your code.

  8. Re:What is wrong with you guys? on Source Code To Dungeon Master Java Released · · Score: 1

    There are circumstances where it's nice to be able to write anonymousely about an "incident" that happened at one's work. This adds to the discussion by giving out inside information, but at the same time it protects the employee from retribution.

    Another useful tool for using the anonymous coward option is for posting information that'd otherwise be miscontrued as "karma whoring." It'll still get moderated to +5 for the reader's benefit, and the thread won't be littered with "Mr.SlahdotUser is KARMA WHORING!" posts.

  9. Re:The code must be ugly... on Source Code To Dungeon Master Java Released · · Score: 1

    As long as it's possible to travel references to a given object, it will not be garbage collected. Something that runs in a continous fasion, e.g. this game, has the potential to run out of memory just as easy any C++ program. The "magic" that you speak of is never having to write a destructor except for rare circumstances.

  10. Re:How about IM in IDEs? on The Business of Instant Messaging · · Score: 2, Insightful

    That's a pretty cool idea. Why don't you check out the Eclipse IDE, and see about writting the plugin or offering the suggestion. They already have CVS support, so I'm sure a proof-of-concept would only take a few weeks to get banged out.

  11. Re:Freudian Slip (er, vest?) on Buffy the Vampire Slayer is Officially Over · · Score: 1

    Man she has a hot sternum!

  12. Re:It does hurt! on Psychologist Consoles Data Loss Victims · · Score: 3, Funny

    I just completed my undergraduate degree with 10 megs zipped representing my academic coursework.

    I made a 700mb CD image full of the that same file repeated 70 times.

    I burned that image 10 times @ 2X on 48X Taiyo Yuden CDR media with verification on.

    I've given two CDs to four different friends for safe keeping.

    The probability of me losing that data is probably lower than time reversing itself to the point where I decided to back it up, and then reversing that decision.

    It's not entirely IBMs fault you lost your data. Backup often.

  13. New Trends in Today's Anime on An Extensive History of Anime · · Score: 3, Informative

    Let me update this history of anime to talk a bit about some of the new trends in anime.

    Forget about seeing nudity any more except for a few exceptions. The Japanese are getting closer and closer everyday to adopting the Puritain view on nudity, i.e. that it's bad and abnormal. However, fan service (underware shots, provocative poses) is still rampant, especially in anime targeted toward women (trying to get male viewers).

    Along with the new censoring of nudity, there comes the censoring of violence. I recently watched a series called Noir, a action-spy type series, where people shot guns and got shot, but there was no blood. Anything "gruesome" was off camera and or only shown in the shadows. This make the anime feel very fake. However, the censoring of violence isn't as bad yet as it is for nudity. There are some great exceptions out there, like Cowboy Bebop, Naruto, and Hellsing.

    One bad trend, particularily irritating to me, is the overuse of the cliché dweeb who can't handle women, yet is surrounded by them. He'll bleed from the nose, can't say anything with confudence, be in constant fear of reprisal, and perhaps in the end, if he's lucky, get a solitary kiss. This is Japan's version of the hopless moron who's married to a hot wife on US's sitcom TV. They all need to die.

    However, all is not bad in anime land. When Slam Dunk came out back in the day, it started what I call the sports anime craze. Now there's anime about soccer (Whisle), boxing (Hajime no Ippo), tennis (The Prince of Tennis), and even the board game Go (Hikaru no Go). This type of anime is great for buidling up suspense, and it'll get you addicted like a crack addict. The art of creating cliff-hangers that make you foam at the mouth has been perfected by the Japanese.

    Finally, the other great trend I'm noticing is anime adapted from literature rather from manga. Two anime of this type that I can think off the top of my head are Juuni Kokki and Crest of the Stars. You won't find any other anime that can compete with the plot and character development. Let's hope Japanese anime studios don't adopt Hollywoods attitudes towards book to movie production.

  14. Re:Best Ever Word of the Day on A Word a Day · · Score: 3, Funny

    You might want to read "The Unix Guide to Defenestration" shown here.

    I'm sure it's a best seller amongst the fans in Redmond.

  15. Re:some of my earliest memories on Where Are They Now: Q*Bert · · Score: 2, Funny

    So everything before 32 was a blur for you too eh?

  16. Re:Competition at the Gym on Games Controlled By An Exercise Bike · · Score: 2

    I also thought of that problem since the people who go to the gym range from elderly women trying to keep muscle tone to elite body builders.

    It's solved by introducing a handycap. The first time a user steps on a machine, it derives a handycap score for your cardiovascular system, endurance, and pure strength. That way, the races or matches would be even, and it'd be whoever went past or improved on their own limit that would win.

  17. Competition at the Gym on Games Controlled By An Exercise Bike · · Score: 4, Insightful

    How about networking a series of exercise bikes to add the competition element to exercise? It'd be fun to have such a setup at my local gym/health spa. I know you're probably asking, "Well, why not simply race on real bicycles instead?" The answer is simple, convenience. The people and equipment are already setup, and I don't have to maintain a $1K+ street bicycle.

    Anybody know of anything similar setup around where they live?

  18. Use Case Scenarios on newdocms: Beyond the Hierarchical File System · · Score: 3, Interesting

    Case 1:
    I'm your average home user, but even so I have about 100 documents I work on. However, I was smart enough to give them meaningful filenames and locations where it takes only a few seconds to find the file. Remembering attributes for each and every file would be a pain.

    Case 2:
    I'm a developer. I'm sorry, but I want file Y in F/O/O/BAR. I need something exact to describe where a file is at least. Anything else doesn't work.

    Case 3:
    I'm a mornon who doesn't give a flying-f*** about where I put my files, and I don't care what I name them. I already have documents in my C\:, C:\Windows/Temp, C:\sdf34\, and C:Documants. It takes me a couple minutes or two to find a file. What? I have to classify by keyword now? Who do you think I am? It needs to classify the files for me or I won't have any of it.

    Case 4:
    I'm a scientist/business man that deals with classifications on a day to day basis. I already have a database because I needed it to be efficient. If it was on the file system level, then it'd be pretty cool.

    I can't think of any other positive cases where this product is useful. Thus, it's my bet that it'll be niche forever. Anybody got any other use cases that I'm obviously missing?

  19. Re:So...slow... on Tai Chi Robots · · Score: 2

    With the new Intel Pentium XP, your Tai Chi robot will be able to beat the b'Jesus out of you and your grandma in the comfort of your own home!

  20. Are you certain that .. on More Drooling Over The Opteron · · Score: 2

    Data hasn't become a "mass-noun" now, e.g. cereal, water, snow, etc? It's to the point now that "data are precious" sounds just as bizzare as "snow are precious."

    To back up my point, see the following entry here, specifically the "Usage Note" section.

    Language changes. We aren't speaking latin anymore. Deal with it.

  21. Re:All About The Home Depot thing on Slashback: Tenacity, Freedomware, Lem · · Score: 2

    if (1/2 == 0)
    printf ("I understand types finally.\n"):

  22. Re:For sake of comparison on Transrapid (MagLev) Test Successful In China: 405 · · Score: 2

    The term is "obsessive compulsive," and yes, it brings me much joy.

    Look up anal retentive vs. obsessive compulsive, and you'll see the difference.

  23. Re:Funny to see old terminology being the 'new' th on Interview With Martin Fowler · · Score: 2

    Four years ago it was called "perfective maintenance." Go figure that a spiffy new term makes the concept popular.

  24. Re:One tiny almost pointless nitpick... on Java Developers Almanac 1.4 Vol. 1 · · Score: 2

    The Tao of Programming - Book 4, Section 4

    Prince Wang's programmer was coding software. His fingers danced upon the keyboard. The program compiled without an error message, and the program ran like a gentle wind.

    ``Excellent!'' the Prince exclaimed, ``Your technique is faultless!''

    ``Technique?'' said the programmer turning from his terminal, ``What I follow is Tao - beyond all techniques! When I first began to program I would see before me the whole problem in one mass. After three years I no longer saw this mass. Instead, I used subroutines. But now I see nothing. My whole being exists in a formless void. My senses are idle. My spirit, free to work without plan, follows its own instinct. In short, my program writes itself. True, sometimes there are difficult problems. I see them coming, I slow down, I watch silently. Then I change a single line of code and the difficulties vanish like puffs of idle smoke. I then compile the program. I sit still and let the joy of the work fill my being. I close my eyes for a moment and then log off.''

    Prince Wang said, ``Would that all of my programmers were as wise!''

  25. Re:OOP on Re-Tooling Your Skills for the Future? · · Score: 2

    I find the number one way to shoot myself in the foot with OO languages is to not correctly assign responsabilities to various classes. This results in the following types of classes:

    (excuse my naming)

    Jack-of-all-trades classes: They do everything
    Webbed classes: Too much dependancy between classes, the worst being multidirectional.
    Gimp classes: Almost completely useless except for a small function or two.
    Cruft classes: Forced to implement methods that are never used anyways.

    The worst are by far the first two IMHO, and the last two are simply annoying. However, the key is to recognize the situation as early as possible, and refactor soon there after. Otherwise, you'll get a Leaning Tower of Piza where minute changes start becomming painful, and large ones can require huge rewrites (good-bye weekend).