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.
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.
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).
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"
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.
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
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.
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)
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.
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:}
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.
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)
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.
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.
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.
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.
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.
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??
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.
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.
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.
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).
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.
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.
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
How much of that cost is the cable?
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.
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.
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)
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.
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?
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 :}
Obj-c is not a superset of c++
What about applications that are not games. Can you still write them in c++ without wrapping the entire iPhone api?
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.
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)
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.
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.
Looking at your benchmark: I knew that Microsoft had forgotten their c++ compiler, but I did not know it was that bad.
.text
.p2align 4,,15
.type _Z21populateWithStdVectorRSt6vectorIiSaIiEEi, @function
.cfi_startproc
.cfi_personality 0x0,__gxx_personality_v0
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
.cfi_def_cfa_register 5 .L4
.cfi_offset 3, -12
.p2align 4,,7
.p2align 3 .L3
.cfi_endproc
.size _Z21populateWithStdVectorRSt6vectorIiSaIiEEi, .-_Z21populateWithStdVectorRSt6vectorIiSaIiEEi
.ident "GCC: (GNU) 4.4.1 20090725 (Red Hat 4.4.1-2)"
.section .note.GNU-stack,"",@progbits
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"
.globl _Z21populateWithStdVectorRSt6vectorIiSaIiEEi
_Z21populateWithStdVectorRSt6vectorIiSaIiEEi:
.LFB435:
pushl %ebp
movl %esp, %ebp
movl 12(%ebp), %ecx
pushl %ebx
testl %ecx, %ecx
jle
movl 8(%ebp), %eax
movl (%eax), %ebx
xorl %eax, %eax
.L3:
movl %eax, %edx
imull %eax, %edx
movl %edx, (%ebx,%eax,4)
addl $1, %eax
cmpl %ecx, %eax
jne
.L4:
popl %ebx
popl %ebp
ret
.LFE435:
data.cpp (The code I compiled)
void populateWithStdVector( std::vector& v, int length ) { for (int i = 0; i < length; i++) { v[i] = i * i; } }
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.
Does any Linux distribution come with a default ssh config that allow root to login via ssh?
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.
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??
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.