Slashdot Mirror


User: Godji

Godji's activity in the archive.

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

Comments · 407

  1. Re:Aha! on Urging Congress to Cancel the Ethanol Tariff · · Score: 1

    WTF IS WRONG WITH YOU PEOPLE?!

    I was joking! You didn't really believe I meant that seriuosly, did you? Please, please tell me you dind't :)

    Well, it is true I didn't get an A in physics, but that had more to do with a major game release 2 days before the final exam.

  2. Aha! on Urging Congress to Cancel the Ethanol Tariff · · Score: 1

    Some studies even show that corn yields only 0.8 unit of energy, resulting in a net loss of energy.

    So that's why I never got that A in physics in high school! You see, I wrote on the final exam that you can never gain nor lose any energy under any circumstances. Today, my friends, I stand corrected!

  3. You know what would be cool? on USPTO to Use Peer to Patent Program · · Score: 1

    This is the one time I wish "utilizing a Wiki as a means for collaboration" would be patented by someone. Then that someone would sue the USPTO for infringing a patent they granted in the first place! Talk about COOL!!! :))) OK, I'm VERY aware that this didn't make any sense. Nothing to flame here, please move along.

  4. Re:Far too long. on Using Laptops to Steal Cars · · Score: 1

    Aha! So I can actually perform DoS attacks on vehicles! Cool!!! ;))

    I mean, it's not like the car has a firewall to stop me...

  5. Re:The future is now! on John Dvorak's Eight Signs MS is Dead in the Water · · Score: 1

    Remember, its not over until the fat penguin sings.

    Oh, but it already does! It's called "xine-lib"!

  6. Re:A small problem? on Summer of Code Now Taking Student Applications · · Score: 1

    Very well put. Thank you for clarifying and extending my point.

  7. A small problem? on Summer of Code Now Taking Student Applications · · Score: 3, Informative

    First of all I'm not trying to troll - Summer of Code is a great initiative! Please take this as a question, not as critique.

    I see a small potential problem however: In some 3 months, one is supposed to implement a project. Fair enough, but doesn't that usually require significant familiarity with the code of that project? How is a student expected to have this familiarity? Does he/she get it while working on the project or is he/she supposed to already have it?

    This is a point that has stopped many enthusiasts. They are afreaid that, while they are experienced coders, they have no idea how Program X works, and are afraid to even try to extend it.

    Has this been adressed in any way?

  8. Re:What Java needs on Will Sun Open Source Java? · · Score: 1

    Unless I'm misunderstanding something, immutable object solve the problem only in the case where you odn't need to modify an object after creation. But what about all those times when an object changes over time?

  9. Re:If you can't tell String from Collection on Will Sun Open Source Java? · · Score: 1

    I feel so humiliated, oh, dear Seasoned Java Programmer!

    Look, I wrote the whole example using String instead of ArrayList, until I realised that String has no method which modifies the object (but only methods that create new Strings instead). Then I changed String to ArrayList but forgot to change it in a few places. I'm not used to programming in a Slashdot textbox.

    Obviously String should be replaced with ArrayList everywhere. Not too difficult to figure out, is it?

    But then again, it's much easier and more fun to just laugh at others and their small mistakes, isn't it?

  10. Re:What Java needs on Will Sun Open Source Java? · · Score: 1

    Ah, stupid me, in the last paragraph by "clone()" I obviously meant "clear()", sorry about that.

  11. Re:What Java needs on Will Sun Open Source Java? · · Score: 1
    Well, the ecode tag is less then perfect, but that's the best I can do:

    public class Wtf {
    private ArrayList<String> untouchable;
    public Wtf () {
    untouchable = new ArrayList<String> ();
    untouchable.add ("Can't touch this");
    }
    public String getUntouchable () {
    return untouchable;
    }
    }


    Simple, right? Well, let's have fun:

    public static void main (String[] arg) {
    Wtf myWtf = new Wtf ();
    String ptr = myWtf.getUntouchable ();
    ptr.clear ();
    ptr.add ("0wn3d!");
    }


    The list has now been modified. The getter assignes ptr (essentially a pointer) to point to the list itself, and thus I can do anything to the "private" list. The only current way to prevent this is to modify the getter to make a copy of that string:

    public String getUntouchable () {
    return new String (untouchable);
    }


    This works well for small Strings, but is brutally inefficient for large complex classes. Besides, you must implement a copy constructor, which is not necessarily trivial, and finally, you have to remember to do this every time.

    In C++, you would return a constant reference to untouchable instead. Then the clone() and add() calls would fail because they are not const methods, while something like get() would work because it is declared as const and by definition does no modify any members of its instance. Simple and efficient.
  12. What Java needs on Will Sun Open Source Java? · · Score: 2, Interesting

    In decreasing order of importance:

    1) A free software license (GPL?) to allow for fast, active development, quick fixes of current problems, and license purity. Plus, imagine the boost if all those talented GCJ people put their efforts into the already rich Sun codebase!

    2) Constant references! Please! Java's encapsulation is about as secure as Internet Explorer. A harmless getter method for a private member variable allows you to replace that variable with anything of your choice, because you effectively get a pointer to the member. The only current solution is to copy everything in the getter, which is unacceptably awkward and slow. So much for design by contract.

    3) Sane memory requirements. Right now coding an inherently memory-intensive app in Java is very very difficult. I tried it once, and had to rewrite in C++ to get anywhere.

  13. Re:This has lots of applications on Apple's All-Seeing Screen · · Score: 1

    because in a bathroom, you normally want to zoom in on your face
    Ah, you're assuming too much here ;)

    But anyway, I see another use for this:
    1. Get girl X over your place for a movie.
    2. Have sex with girl X after the movie.
    3. "Forget" to turn off the "TV"...
    4. Enjoy a quality home production! :D

  14. Let me guess on Apple's All-Seeing Screen · · Score: 1

    Will it be called iTelescreen, ship with drivers version 1.9.84 and a manual titled "The Principles of Ingsoc"? Will play content that's not region-coded to Oceania?

    But most importantly, will it run Linux? It would be doubleplusungood if it does not!!!

  15. Re:emerge? on DARPA Funded Startup to 'Bird-Dog' Rootkits · · Score: 1

    Think of it as self-irony, coming from the mouth (alright, coming from the keyboard) of a devoted Gentoo user. It's a little tasteless, I admit, but considering the amount of sleep I've been getting lately relative to normal geeks, it's one hell of a good joke.

  16. Re:emerge? on DARPA Funded Startup to 'Bird-Dog' Rootkits · · Score: 1, Funny

    Oh cut it out, both stealth and mode are obviously package.mask-ed, ye bloody n00b!!! RTFM! Go back to whatever BSD you came from!

    l337 haxx0r hates n00bz!!!

    P.S. The next time you post attach 'emerge --info'.

  17. Re:Evolution on Linspire Announces Freespire Distribution · · Score: 2, Funny

    What, are you suggesting they call the community version "Freexxxx"? But that already exists! It's all over the Internet!!

  18. Too cheap... for who? on The 360 Is Too Cheap? · · Score: 1

    I guess the console is too cheap... for Microsoft. The hardware in that thing probably costs quite some more than $400. I think the big console makers are simply making a shift in business model. Lose a little on the hardware once; make a little on game licensing costs many many times.

    That would also explain their paranoid devotion to keeping the system locked away from any non-signed / non-approved software, from Linux, to third-party-"licensed" games.

    Besides providing a testing ground for trusted/trecherous computing, of course.

  19. Not necessarily on Leaving Early May Cost You Time · · Score: 1

    10 If everyone read that article, then everyone would start leaving late, and the problem would remain.

    20 Now, how long would it take before someone came up with the astonishing discovery that "Leaving work on time instead of late saves you time"?

    30 That would work too, until someone would come up with... wait, do you see that perpetual cycle too..?

    40 GOTO 10

  20. Good on MySQL to Adopt Solid Storage Engine · · Score: 2, Informative

    So MySQL is keeping up to Oracle's increasing power - that's good! What about PostgreSQL though? What are they doing to keep up? Anyone know?

  21. Bad news on TiVo vs EchoStar - TiVo Wins · · Score: 2, Insightful

    It doesn't matter who's on each side of the argument - but any outcome in favor of a software patent is bad. Very bad.

  22. Whaat? on Microsoft Helps Write Oklahoma's Anti-Spyware Law · · Score: 1

    Why is a company allowed to design a law in the first place? Why is there a government at all then? Is anyone else getting a strage feeling in the stomach area?

  23. Re:Sensational headline about a poor article. on Pentium Computers Vulnerable to Attack? · · Score: 1

    It's not just garbage, but it sounds like anti-Intel FUD garbage to me...

  24. Re:GPL? on Real Networks to Linux - DRM or Die · · Score: 1

    With Dell and the like looking into Linux more seriously because XP licenses drive up the costs of bargin-basement systems astronomically, we could well see a much bigger percentage of users running Linux at home (provided, of course, that Dell invests some serious cash to make Linux more home-user friendly, particularly in the compatibility department).

    Unfortunately this sounds like wishful thinking. Dell, in its seemingly endless loyalty to Wintel, will just pressure Microsoft to release a dumbed-down Windows edition for much less money, for those bargain systems. Microsoft are not stupid and would eventually succumb to that, rather than face Dell offering Linux. Of course they would keep all the "normally functional" editions just as ridiculousy expensive as ever. Here Dell's power works in Microsoft's advantage, because Dell would not be able to pressure MS if they didn't have that power, and would simply go with Linux.

    It's the same reason why Dell pressured intel to Release 64-bit Xeons rather than just switch to AMD64. This Wintel loyalty is also the reason why I won't ever buy a Dell again.

  25. Google Shmoogle on Google's DNA · · Score: 0, Offtopic

    [BEGIN Angry Rant]

    I really wish Slashdot would stop being the place to get Google advertising. Come on, every forth article on Slashdot these days is not about Google. I'm surpried it hasn't got its own category on Shashdot - GoogleStuff or something.

    I understand Google is a big and important company, but that's too much. I don't want to know every time Google farts.

    There I've said it. Now go ahead, mod me down.

    [END Angry Rant]