Slashdot Mirror


User: vilanye

vilanye's activity in the archive.

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

Comments · 521

  1. Re:Lambdas could be interesting on Java 8 Officially Released · · Score: 1

    The point is that lambdas don't have to be tied to the class and can easily change on the fly.

    I never understood the draw of anonymous inner classes, or plain old inner classes, especially for GUI code. I never used it, because I hate repeating myself and that is what this clunky mess causes, and it also makes it difficult to reuse the code with different behaviors. I always just had a method in the GUI widget class that accepted listeners dynamically so behaviors could easily change in my Swing library I built up.

    Following Java conventions leads to a bloated, un-DRY and ultimately difficult to maintain code base.

  2. Re:Modularity on Java 8 Officially Released · · Score: 1

    Why?

    It just makes updating take that much more bandwidth and time.

    When I do use Java(it is usually JRuby) I use 1 jar per top level package and try very hard to make each jar file follow the Unix way(do one thing and do it well). It works great to keep things properly separated and is fantastic for updating.

  3. Re:Modularity on Java 8 Officially Released · · Score: 1

    Two libraries could concievably have the same package and class name causing conflicts. Of course that is why the verbose and nasty com.myurl.ten.layers.of.packages.to.get.to.a.class namespacing occurs.

  4. Re:Does it make Minecraft run faster? on Java 8 Officially Released · · Score: 1

    Can you sort an array like so in Java

    public void swap(int a, int b)
    {
        int tmp=b;
        b=a;
        a=tmp;
    }

    swap(array[i],array[j]); ...

    Answer: no you can not.

    references in java are gimped pointers and have nothing to do with passing parameters.

    What gets passed is a value, if it is a primitive, or an address if it is an object.

      http://javadude.com/articles/p...

    It is amazing how ignorant Java devs are.

  5. Re:Does it make Minecraft run faster? on Java 8 Officially Released · · Score: 1

    Pass by reference means passing the address of the pointer, not the address stored in the pointer.

  6. Didn't I see this drug on the criminally underrated Dredd?

  7. Re:Copyright or Trade Secret? Pick One on Ex-Microsoft Employee Arrested For Leaking Windows 8 · · Score: 1

    Wrong, the intent is to encourage the creation of works and build a robust public domain.

    Copyright is broke because the latter no longer exists in any real sense on works created in the last 100 years or so.

  8. Re:Embedded on Linux May Succeed Windows XP As OS of Choice For ATMs · · Score: 1

    I have seen what happens when Redbox crashes to the desktop.

    It couldn't connect to the database so it decided its best option was to kill off the rental interface leaving the desktop visible with a virtual keyboard.

    And full admin rights

  9. Re:One side of the story on Prominent GitHub Engineer Julie Ann Horvath Quits Citing Harrassment · · Score: 1

    It continues and always will because of how people are.

  10. Re:wtf on Aussie Attorney General's War On Encrypted Web Services · · Score: 1

    Back before Qwest got bought out by CenturyLink, you could pick various DSL providers, and MS was one of them. Don't know if they still do that but MS definitely is an ISP with webmail, Azure, etc.

  11. Re:One side of the story on Prominent GitHub Engineer Julie Ann Horvath Quits Citing Harrassment · · Score: 1

    Funny thing is that Jonathon Martin was absolutely vilified for speaking out against him being harassed.

    Guess male on male harassment is still okay in many people's eyes.

    I have known women "programmers" who couldn't write a hello world program by themselves who cry discrimination when confronted with their incompetence.

    Until that sort of thing stops, and vile people like that entitled brat in the Donglegate farce go away, women claiming harassment in IT will always go under a microscope.

  12. Re:Time to fork Git? on Prominent GitHub Engineer Julie Ann Horvath Quits Citing Harrassment · · Score: 1

    Linux started out community driven and was like that for most, if not all of the 90's.

  13. Re:Time to fork Git? on Prominent GitHub Engineer Julie Ann Horvath Quits Citing Harrassment · · Score: 1

    GitHub is closely connected to Git, not the other way around.

    GitHub would be called HgHub or something if Git didn't exist. Git would be completely unaffected if Github didn't exist.

  14. Re:Not exactly 50/50 on Nate Silver's FiveThirtyEight Relaunches As Data Journalism Website · · Score: 1

    He had Florida as a toss-up, with a statistically insignificant lean towards Obama.

    And that is exactly how Florida ended up.

  15. Re:correction on Ask Slashdot: Online, Free Equivalent To a CompSci BS? · · Score: 1

    +1

    There is a difference between premature optimization and good programming. Sadly, the latter gets confused with the former.

  16. Re:Ivy League = theroy loaded classes with skill g on Ask Slashdot: Online, Free Equivalent To a CompSci BS? · · Score: 1

    Universities exist to produce an educated populace, it is not a job training center.

  17. Re:Ivy League = theroy loaded classes with skill g on Ask Slashdot: Online, Free Equivalent To a CompSci BS? · · Score: 1

    Without understanding the theory you are not going to be able to do much other than be an API monkey.

  18. Re:Steam/GoG/HB on Google Won't Enable Chrome Video Acceleration Because of Linux GPU Bugs · · Score: 1

    It runs fine with Wine.

  19. Re:Absolutely on Fedora To Have a "Don't Ask, Don't Tell" For Contributors · · Score: 1

    Do you know the definition of export?

  20. Re:Absolutely on Fedora To Have a "Don't Ask, Don't Tell" For Contributors · · Score: 1

    What is wrong with accepting code from Cubans?

    This is as stupid as the encryption export restrictions. It is like the government thinks that no one can implement encryption or that foreign code is dirty.

    How about they put some restrictions where it matters like toys and dog food from China?

  21. Re: Absolutely on Fedora To Have a "Don't Ask, Don't Tell" For Contributors · · Score: 1

    A confession is not at all the same thing as pleading guilty.

    The OP is right, a confession alone is not sufficient for conviction. Go to a cop and confess to a crime you didn't commit. You might get slapped with filing a false statement but you will not get convicted on the crime you confessed to.

  22. Re:Too Little, Too Late & MtGox on The New PHP · · Score: 1

    Rasmus couldn't figure out how to write a parser to detect variables without appending a $ on it. There is no other reason.

    At least other languages that have sigils in variable names exist for semantic reasons, not to make your crappy parser happy. For example Ruby, $, @ and @@ all have semantic meaning as do variable that have no sigil.

  23. Re:Wake me they fix namespaces on The New PHP · · Score: 1

    You can't determine equality without checking if they are transitive.

    It is fairly basic math, checking if its reflexive, symmetric and transitive all determine equality, all three properties have to be true.

  24. Re:PHP on The New PHP · · Score: 1

    Just because all languages have flaws that does not mean that all languages are equally flawed.

    PHP flaws >>>>>>>>>> <insert any non-esoteric language here>

  25. Re:real_foo_bar() and somesuch_improved() on The New PHP · · Score: 1

    That mysql_real_escape_string and other abominations such as register globals ever existed is proof of the dev teams incompetence.

    The fact that they actually tried to use val > INT_MAX to detect integer overflow is just confirmation of their incompetence.