Slashdot Mirror


User: JediTrainer

JediTrainer's activity in the archive.

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

Comments · 776

  1. No hashes in Java? WRONG! on PHP, Perl, Java Servlets - What's Right For You? · · Score: 2

    The article also incorrectly states that there are no hashes in Java. This is also quite incorrect. The java.util.Hashtable class is one example of how to do this:

    import java.util.Hashtable;
    Hashtable numbers = new Hashtable();
    numbers.put("one", new Integer(1));
    numbers.put("two", new Integer(2));
    numbers.put("three", new Integer(3));
    System.out.println( numbers.get("two") );

    The above code will, of course, output "2". The Hashtable supports having ANY object used as a key, not just a String. As well, Java has a Properties class which pretty much has the same functionality, but can be loaded and saved from a file.

    Also, those who are interested in developing web applications should have a look at Velocity. It's much cleaner than JSP in that it more closely enforces the separation between code and design. I'm currently using Velocity in a web application project I'm working on and it's working out wonderfully!

  2. Interesting on When The PCI Bus Departs · · Score: 5

    That is an interesting idea - that we might replace all of our device connections (the bus) with fiber.

    To take that idea a bit further, would it be possible to implement a protocol which is extendable? For example, each device connected gets a dedicated strand of fiber. The system, when polling the device, can negotiate a frequency range and transmission speed dynamically.

    If I understand things correctly, this can help the system decide where it needs to put its resources, because higher demand devices would want a higher frequency range and transmission speed (hard drives, video cards etc) where simple devices like the mouse and keyboard will only take a little bit.

    I think it'd be a great way to build a scalable architecture which might be unlimited in capacity, and eliminating wasted bandwidth and resources.

  3. Re:Makes me wonder... on New Fiber Optics In The Works · · Score: 2

    Somebody please explain to me why my post got moderated as 'flamebait'.

    I'm trying my best to contribute to this discussion by asking an honest question (and I've been getting nice replies, thanks all who responded). To me, the question seemed logical enough to ask.

    Yes, I know that light travels through vaccuum in space. My question was whether science will ever lead us to exploit that. It seemed an interesting idea at the time that I posted it, and I wanted to see if other people had anything to say about it. It was a post which was on topic, and provoked some level of intelligent discussion (not flames).

  4. Found it on DC Power Supply for Desktop Computers? · · Score: 1

    Found a site, Arise Computer Inc, who have a whole page full of ATX power supplies that should suit your needs. Looks like they've got 5 on this page which will take DC input - just select one that's got the input voltage you need and away you go!

  5. Re:Canada a space power? on ISS Mission STS-100-6A Canadarm2 · · Score: 2

    Canada's already had a woman in space too. Ever hear of Roberta Bondar?

    Anyway, having a man on the shuttle isn't so much of an issue. It's the first Canadian to be up working with the ISS, that's for sure. Canada's been involved with the space program for decades.

  6. Re:The X-Box will never run Linux on Xbox As A Server Farm Commodity Box · · Score: 3

    It doesn't look like it's terribly hard to get a certificate AS Microsoft.

    Good luck getting certificates revoked on a console box :)

  7. Yeah. on Are There Blind Programmers? · · Score: 1

    I know of several who were unfortunate enough to have hit that goatse.cx link.

    In all seriousness - why not? There's nothing preventing blind people from coding. I've seem some wonderful tactile and audible devices which make computing not just possible, but second-nature. The monitor doesn't have to be the only way to get feedback from programs.

    I'll grant that GUI environments don't help any, but that isn't necessarily a requirement for most coding projects. Someone else can handle the GUI.

  8. Re:Don't forget on Soybean Powered Harley · · Score: 1

    ..about the HempCar, and that hemp is another great biodiesel.

    Wouldn't take much to pipe the exhaust right into the cab, right? :)

  9. Re:how far will the laws extend? on FCC Lays Down the Law On Decency · · Score: 1

    possibly this could go in an ask slashdot, but will the FCC decency laws extend to, say:

    -surfing the web naked
    - first-posting naked.


    My bet is that that depends on where you are. Being naked at home, that's your business. Being naked at the library, somebody's got to protect the librarians who can't yell at you to keep your shorts on. At an internet cafe, well, somebody staring at your parts might spill a hot drink on them. We don't want that, now do we?

    See, the laws are there for your protection :)

  10. Time to get picky on Start-Ups - Should We Learn From Mistakes? · · Score: 3

    As much as I wish everyone well, and I don't want to dismiss a company as doomed to fail...

    The important thing for you right now is to build up your resume again. If you keep working for companies which fail after a few months, you won't have any long-tem job experience (in recent times), which looks bad to potential employers.

    I'm sorry that I have to say it, but you have to look after yourself. Find a company where you can at least last a couple of years. Try to lay down some roots. Otherwise, you might have a tough time explaining in your next job interview why you haven't kept a job for more than a couple of months. You might not even get the chance to explain yourself, because some employers, seeing a long history of job-hopping, won't call you for an interview.

    Absolutely - learn from mistakes. That's all fine and good, but your job right now should be to take care of your needs. You need to be marketable, or else you may not get these opportunities as much as you'd like to.

  11. Obviously a prank... on TCP/IP Over HTTP · · Score: 2

    Ok, ok. Don't get all worked up about it - it's obviously a joke. Here's what I found near the bottom:

    3.4 TCP Header Compression

    Compressing TCP headers in the face of a protocol such as this one
    that explodes the size of packets is silly, so we ignore it.

    4.0 Security Considerations

    Since this protocol deals with Firewalls there are no real security
    considerations.

    5.0 Acknowledgements

    We wish to thank the many Firewall vendors who have supported our
    work to re-enable the innovation that made the Internet great,
    without giving up the cellophane fig leaf of security that a Firewall
    provides.

  12. Better yet... on Where Is The Innovation? · · Score: 2

    Thanks to recent innovation, we now have talking Vodka bottles

  13. Heh on Tombstones That Last? · · Score: 1

    I wouldn't give current grave yards a snowball's chance in hell of surviving out the next century without being paved over.

    Do yourself and future generations a favour. Get cremated, have your ashes scattered somewhere that meant something to you...

    My company has a temporary hiring freeze. Sorry. I'll let you know when we're hiring again. (Should be soon.)


    Anyone else see what I see in the above statements? Sorry - I couldn't help but laugh. Just sounded funny to me.

  14. What an odd question... on Tombstones That Last? · · Score: 4

    Firstly, kudos to you for asking the most unusual question I've ever seen on Slashdot.

    I was surprised, however, that you didn't mention the fact that gold (even if not stolen) would NOT be an ideal material for this sort of thing. True, it won't corrode, but a larger problem with gold is that it is so soft that the weather alone will probably destroy your beautiful creation.

    Alas, we need to find a material that won't corrode (or otherwise get destroyed in all but the most severe of weather conditions). Perhaps the solution lies in redundancy. First, make a granite (not marble) tombstone and carve with all the details. That should last you a while.

    After doing this, encase the entire thing in titanium. Carve again. The titanium shell should last you a few centuries, I believe, and even if it falls away you'll still have a few more centuries worth of granite to erode before it disappears.

  15. NO on Cluster Harddrive Using Firewire? · · Score: 3

    Apparently, according to Maxtor (skip to Q-17), sharing of devices between multiple computers is not an available ability.

  16. Interesting... on Cluster Harddrive Using Firewire? · · Score: 1

    I thought it'd be interesting to note that ALL of the Western Digital Firewire hard drives run at 5400 RPM.

    How come they're spinning so slow? I'd thought that they would have them running at 10 or 15k!

    I couldn't find the specs on the Maxtor drives...

  17. Good for you! on Scientologists Force Comment Off Slashdot · · Score: 2

    I second that. The poster had no right to make the association between the Holocaust and Christianity.

    Anybody who believes that Jewish people were the only ones affected are being naive. My own grandmother, a Catholic, was taken from her own home in Ukraine when she was a teenager and moved to a Nazi slave camp during the Holocaust. Following the war, thousands of Ukrainians from this camp were slaughtered on the way out by the Russions (who claimed that they were going to take them back to Ukraine). My grandparents (having leared about this from the grapevine) both escaped this fate by claiming to be Polish, and were subsequently sent to England.

    Do not dare to minimize that or claim that it didn't happen. To do so is a grave insult to everything that they had to endure.

  18. A question... on TCP Weakness No False Alarm? · · Score: 1

    I'm a little naive about this sort of thing, so bear with me here...

    I understand the implications of this with regards to most protocols. For example, being able to hijack an FTP or Telnet connection could be disastrous in the wrong hands.

    Does this really have that much of an implication when using SSL over HTTP and SSH instead of Telnet? I understand that both ends have their secure certificates needed to encrypt and decrypt information. Am I correct in assuming that someone CAN hijack my connection to my online bank, but CANNOT actually perform any actions at that point, because they don't have my private certificate?

    Or am I totally wrong and missing something?

  19. Perhaps on Replacing Passwords With Other Security Gadgets? · · Score: 1

    Maybe an iButton might do the trick. You can put these in keyfobs, on rings, build them into wallets etc. You can get one of the ones guaranteed to have a unique id on them (they're cheap too), and issue them to all of your staff.

    Unfortunately you might have to write some software to automate the login process there. The bonus will be that they won't even have to remember their password at all - let the iButton handle that!

  20. For the record... on The New Handspring Visor: The Edge · · Score: 2

    I was disagreeing with this post. It has since been modded down as flamebait.

  21. I disagree on The New Handspring Visor: The Edge · · Score: 4

    I respectfully disagree. I just read an article on K5 which I totally agree with.

    In a nutshell, sloppy writing tends to indicate sloppy thinking. This leads to disorganized thoughts being put down in a barely coherent manner. Comments which have been thoughtfully written and given a 5-second review are the ones which I take more seriously.

    Likewise, when I'm hiring somebody, I toss their cover letter and resume in the can if I catch a mistake. Why, you ask, would I care about spelling and grammar for a programming position? Because if they didn't take the time to check their work then I feel that they will produce sloppy results if I hire them. The one time I relaxed this requirement of mine I was quickly proven right.

    I didn't even care so much that their own writing was so sloppy. They could just as easily have taken the effort to have it corrected by somebody else and would have, and then their resume wouldn't be in my fine paper recycling box, but instead perhaps in the "interview" pile. That they didn't know how to spell is of no consequence. I only cared that they take the time to do it right, and perhaps get the resources they need to do that. That way I know they'll make an excellent programmer.

    Let's face it. Nobody is going to understand you or take you seriously if you can't get your thoughts across in writing. Content can only be king if people can read it.

  22. Re:No severance? on Internet Speed Applied to Careers · · Score: 2

    I would think the company would still be liable for severance... even if he only did kind of work for one day.

    Depends where the company is located. For example, here in Toronto Canada most companies can fire you at a moment's notice for the first 3 months of your employment. They usually spell this out in your contract, but it's pretty standard. Sort of a "trial period", if you will. No severance required. The flip side of this coin is that the employee can also quit during this time at a moment's notice without any penalty.

    After that, either the company or the employee by law has to provide their 2 weeks notice before termination. Severance might actually be limited to just the next 2 weeks, depending on how long you've worked.

  23. Re:Number Ranges... on Disposable Credit Card Numbers · · Score: 2

    Is it going to be the standard 16 digits?

    Hard to tell, considering that AMEX uses 15 digits, not 16.

  24. Automatic payment on Disposable Credit Card Numbers · · Score: 3

    They said that it can't be used for automatic payments, things like cell-phone bills every month, because the number can only be used once.

    I think this is a good thing. I've given up on automatic payments because my cell phone provider (name not mentioned to protect the guilty) double-charged me last January, and it took nearly 2 months and about 10 support calls to get the darned thing fixed.

    I now believe that any "automatic" payment makes it too easy for a company to screw you over, either intentionally or through a glitch (which my case apparently was). No thanks - send me the invoice and I'll pay it manually from now on. Having the credit card number being one-time only would enforce that much better, because now they can't even have a working number for me on file.

    I couldn't believe that they had the gall to ask me several times if I wanted to re-enable the automated payments again.

  25. Banner cheating on eFront From Inside · · Score: 1

    Interesting. I just visited the Arcade@home site to check it out, and one thing that stuck out for me was that he has links which appear to be part of his site going to either the Top50 or to paying affiliate sites.

    In other words, if you click any of the links in the "Roms" sections, it sends you to the Emu Top 50 site. If you click on "Babes" on the left, it sends you to some celeb site, of course marking it as a clickthrough.

    Best I can tell, there's no content on the site itself. It's just one of those lame site with nothing but links.