Slashdot Mirror


User: TheSunborn

TheSunborn's activity in the archive.

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

Comments · 991

  1. Re:Javascript is actually a great language on Trying To Bust JavaScript Out of the Browser · · Score: 1

    The problem with the array thing is that javascript don't really have arrays as a native type.

    An array is really just an object with some fancy methods that allow you to use it array like. But their abstraction really sucks, because the length property don't give the number of elements in the array, instead it gives the index of the element with the highest index in the array.

    This is done because an array which contain 4000 objects, really is just an object with 4000 data fields, and a few fancy methods. So the array don't really have a size as such. (Yes this sucks, and you can't just count number of fields in the object, because it also will have fields that the user have not added as members to the array).

    An other and much bigger wtf is that the this reference is not always a reference to the object where the currently executing method
    belong to. And this is by design, not just an implementation bug.

  2. Re:No legitimate concerns on Senators Ask EC To Let Oracle-Sun Deal Go Through · · Score: 1

    MySQL is OSS but the problem is that if you fork it you will end up with something that is quite difficult to support commercially because it will be gpl only, meaning that you can't use the mysql lib(And thus mysql itself) from closed source(Or just non gpl compatible) software.

  3. Re:For the record... on Review: Eufloria · · Score: 2, Insightful

    The reason nobody talks about the game, is that you did not describe the game at all. And you describe it as "risk but simpler". How the hell can it be simpler then risk? What are the main gameplay points and what the hell is the game about.

    Oh and what platforms does it run on. This one is importent. For all the jokes about "Does it run linux" the answer is (According to their faq) that Yes it does run on Linux. (And maybe on Os X too, but the faq is a bit unclear about that).

  4. Re:I RTFA and don't find it to be all that bad at on "Breathtakingly Stupid" EU Cookie Law Passes · · Score: 3, Insightful

    The problem is you need to show the user the text before they can view your website. Just imagine you are using google to search for something and once you click a link, you end up not on the content you expected but on a

    "We use cookies to track users in the following ways, blah blah blah. Is this okay with you"

    That would suck so much.

  5. Re:MySQL Sucks on The NoSQL Ecosystem · · Score: 1

    The problem is not the database size as such, it is the requirements to do 50000 inserts/updates and 200000 select(Read) each second that kill the current sql implementations.

  6. Re:Is it worth it? on How Google Uses Linux · · Score: 1

    Funny, but that search don't give any reliable source for the 1 million servers estimate. The only source is an estimate by Gartner, and if you belive them, you also belive that Itanium II is the most sold 64 bit server chip

  7. How much of that cost is the cable? on Transpacific Unity Fiber Optic Cable Leaves Japan · · Score: 2, Interesting

    How much of that cost is the cable?

  8. Re:Hear Hear! on The Most Influential People In Open Source · · Score: 1

    But that only work if you want the output from ls -l
    What if I want the output from just ls(Or more likely the output from ls -lh).

    Oh and ls -l | sort -n -k 2 don't even work for me(On Fedora core 11) because it first sort by access rights and then owner.

  9. Re:No point running desktop Windows on this monste on Asus Releases Desktop-Sized Supercomputer · · Score: 1

    That's interesting. I am running Fedora 11 which I would say is on the edge, and I have newer had any problem re-installing the nvidia drivers(take less then a minute) each time the kernel is updated.

  10. Re:Please save us Google! on Google To Take On iTunes? · · Score: 1

    No, the fuckup is that Apple prevent others from writing software that interface with their music store. It's more like if ford said I could only use their fuel, even thou the car would work with any kind of fuel. (For keeping with the car analogy)

  11. Re:Uhm, no on CRTC Issues Net Neutrality Rules · · Score: 1

    P2P (Legal or otherwise) are not a network security thread. So when they talk about network security they most likely talk about (d)dos attacks such as sym flood and similary attacks.

  12. Re:There's only two questions that matter on NVIDIA Driver Developer Discusses Linux Graphics · · Score: 1

    If there is such a large community why are they not working on the ati drivers? And if they are, why does the ati linux drivers still sucks?

  13. Re:who's to blame. on PulseAudio Creator Responds To Critics · · Score: 1

    If any application could kill X and thus prevent other apps from working that would be worth complaining about too, but I have newer seen that happend on my many years as a linux desktop user. Maybe I am just luckey :}

  14. Re:Java??!!?? on Game Development On Android · · Score: 1

    Obj-c is not a superset of c++

  15. Re:Java more programmer-friendly than Obj-C? on Game Development On Android · · Score: 1

    What about applications that are not games. Can you still write them in c++ without wrapping the entire iPhone api?

  16. Re:Pthreads on Platform Independent C++ OS Library? · · Score: 1

    Can you not just distribute the static linked version, and then include an offer for a version that is dynamic linked with QT?. In most cases, nobody will want the dynamic linked version so you don't really have to do anything. And if somebody really contact you and want a dynamic linked version of your program, you should just need to change a single parameter and do a make, and send them the dynamic linked version.

  17. Re:Backups? on Server Failure Destroys Sidekick Users' Backup Data · · Score: 5, Insightful

    Or this was really a software error, and the backup servers in an other datacenter, just copied the faulty data/delete command.

    They should really be far to big to have all their data stored in a single datacenter with no offsite backup. (Or they should have an entry on thedailywtf.com)

  18. Re:I dont' see it this way on Analyst Predicts Android Overtaking iPhone In 2012 · · Score: 1

    It is unlikely that Apple will be able to make a cellphone with better hardware then the competitors, simply because most chips in the iPhone are made by 3.party companies and will thus also be available to all the competitors.

  19. Re:It's just a VM on London Stock Exchange Rejects .NET For Open Source · · Score: 1

    That's because you are thinking to much about implementation. A list is just a list of elements, one after the other. It don't have to be a linked list. Java have done the same thing with their new ArrayList class.

  20. Re:C# Can Be Faster than C++ on London Stock Exchange Rejects .NET For Open Source · · Score: 2, Informative

    Looking at your benchmark: I knew that Microsoft had forgotten their c++ compiler, but I did not know it was that bad.
    Here is the code from gcc 4.4.1 -O3 -S (I took the code from your webside, and added the needed <int> to vector.

    I will admit I am not that good at reading asm, but it seems to me that gcc generate exactly the same loop code for stl(The code between L3 and L4),
    as Microsofts compiler does for the array case.

    So you might update your conclusion to say: Stl bloat your code, if you don't use a compiler which can inline and optimize code.

         .file    "data.cpp"
        .text
        .p2align 4,,15
    .globl _Z21populateWithStdVectorRSt6vectorIiSaIiEEi
        .type    _Z21populateWithStdVectorRSt6vectorIiSaIiEEi, @function
    _Z21populateWithStdVectorRSt6vectorIiSaIiEEi:
    .LFB435:
        .cfi_startproc
        .cfi_personality 0x0,__gxx_personality_v0
        pushl    %ebp
        .cfi_def_cfa_offset 8
        movl    %esp, %ebp
        .cfi_offset 5, -8
        .cfi_def_cfa_register 5
        movl    12(%ebp), %ecx
        pushl    %ebx
        testl    %ecx, %ecx
        jle    .L4
        .cfi_offset 3, -12
        movl    8(%ebp), %eax
        movl    (%eax), %ebx
        xorl    %eax, %eax
        .p2align 4,,7
        .p2align 3
    .L3:
        movl    %eax, %edx
        imull    %eax, %edx
        movl    %edx, (%ebx,%eax,4)
        addl    $1, %eax
        cmpl    %ecx, %eax
        jne    .L3
    .L4:
        popl    %ebx
        popl    %ebp
        ret
        .cfi_endproc
    .LFE435:
        .size    _Z21populateWithStdVectorRSt6vectorIiSaIiEEi, .-_Z21populateWithStdVectorRSt6vectorIiSaIiEEi
        .ident    "GCC: (GNU) 4.4.1 20090725 (Red Hat 4.4.1-2)"
        .section    .note.GNU-stack,"",@progbits

    data.cpp (The code I compiled)
    void populateWithStdVector( std::vector& v, int length ) { for (int i = 0; i < length; i++) { v[i] = i * i; } }

  21. Re:I for one... on Learning About Real-World Economies Through Game Economies · · Score: 1

    If THE BANKS CAN GIVE OUT AS MUCH MONEY AS THEY WANT, why was the biggest short term problem with the recent crisis, that banks could not borrow money from other banks*? If they could just give out money they would not have any need to borrow.

    And I admit i don't know how the USA bank system work, but banks in the rest of the world can't lend money they don't have so if the bank want to lend me 1$ it need to either have a person who have 1$ on his account, or the bank need to borrow 1$ from an other bank**

    With fraction, i think you may be talking about the 8% rule which govern the ratio between the maximum allowed lending and the banks capital (It does in no way allow the bank to lend 10 times the customers deposit)***

    Funny fact: the ratio between ingoing and outgoing money in Denmarks largest bank(Only talking about its danish branch, they did some insane things is other countries) is really close to 1:1 meaning that all the money they lend out, are money they got because other of their customers deposited them there.

    *The inter-bank marked froze, because each bank suddently were unable to determine how risky borowing money to an other bank was.

    **And this was what almost stopped, when the crisis hit. And no the national bank/federal reserve don't just lend out money long term(Normal limit is 14 days) to any bank that ask. If they did there would be no bank crisis.

    ***The banks capital is money that the bank own(Not money customers have deposited in the bank). The banks capital can come from either investors in the bank(That's how you start a new bank), or from profit from the previous years.

  22. Login as root. Does any Linux distribution allow? on Sloppy Linux Admins Enable Slow Brute-Force Attacks · · Score: 1

    Does any Linux distribution come with a default ssh config that allow root to login via ssh?

  23. Re:Apple's activity is criminal here, Palm's is le on Palm Ignores USB-IF Warning, Restores iTunes Sync · · Score: 1

    I don't think it's fair to call my comment "totally incorrect." considering it's a question, not a statement. And nobody have really answered it. So let me rephrase the question.

    If you can just sync anything with a IPod, just by reading(And writing i suppose) the Xml file that ITunes produce, why does Palm and the Linux* developers think that it's a better solution to reverse-enginer the standard instead of just handling that xml file? It it just a major example of nih???

    *Not talking about the guys doing Linux kernel development, but the guys developing the Linux player with a name I can't remember right now, that is supposed to be ITunes compatibile.

  24. Re:Apple's activity is criminal here, Palm's is le on Palm Ignores USB-IF Warning, Restores iTunes Sync · · Score: 4, Insightful

    If apple does offer "interoperability, in a documented and supported way" why does palm (And Linux) have to reverse-enginer the protocol that Apple use??

  25. Why can you not just read the rom?? on Gameboy Color Boot ROM Dumped After 10 Years · · Score: 3, Interesting

    Why can't you just take the rom chip out of the gameboy, put it in a socket on a computer and just read the rom 1 byte at a time?

    I am just a software guy, with no real lowlevel knowledge of hardware, but I would think you could just take the chip out*, solder the legs from the rom chip, on any kind of socket that take a rom chip, and then just read it from there. But I guess there is a reason you can't just do that. So what reason is that?

    *Might take som magic, but when thinking about how the *&#*$ surface mounted chips serial/io chip were changed on the Amiga 500, it can't be that impossible.