Forgot your password?

typodupeerror

Comment: low tax places (Score 1) 599

by Bram Stolk (#39834807) Attached to: How Apple Sidesteps Billions In Global Taxes

Huh? Since when is Netherlands a low tax place?
I suspect a journalistic error here. Maybe the author meant to say Netherlands Antilles, the Caribean island nation?
The Netherlands though, has some of the highest taxes in the world.
Try 21 percent sales tax, 52% income tax and US$9.28 per gallon gas (most of which is tax).
Corporate taxes are not much lower.

Comment: Re:No need for Black-Scholes to account for things (Score 1) 371

by Bram Stolk (#39833833) Attached to: The Math Formula That Lead To the Financial Crash

It was not excess credit.
It was synthetic credit default swaps.
Those things are just 'side bets' on whether the creditors will default or not.
The market of side-bets was way larger than the actual mortgage market.

If you have a billion dollar of mortgages, they would have 10 billion dollar bets on whether the mortgages would default or not.
Those bets is what brought banks down.

Comment: Re:A question for you. (Score 3, Informative) 276

by Bram Stolk (#39227103) Attached to: Sony Ditching Cell Architecture For Next PlayStation?

What are 'all the low level details' you refer to?
The main difference is the separate address space of the small local memory of the SPU.

I believe linux on Cell has made some nice abstractions.
It's been ages since I ran ps3linux, but from what I heard you can execute filter like objects on the SPU from the OS level.
Thus:
$ cat intput.txt | ./a.out | ./b.out | ./c.out > output.txt
This would put 3 SPUs to work, and do the DMAing for you.
You would need to lookup the status of OS-level support for SPU on linux to get more info on this.

Personally, I did the DMA stuff manually.

What you cannot abstract away, is the data-oriented programming that you should be doing.
As Noel Llopis puts it so eloquently: You need to program your entire game as if it was a particle system.
http://gamesfromwithin.com/data-oriented-design

e.g. for 1024 particles, you do:

float x[ 1024 ];
float y[ 1024 ];
float z[ 1024 ];

and NOT:

struct
{
    float x,y,z
} particles[ 1024 ];

Comment: A thing of beauty (Score 4, Informative) 276

by Bram Stolk (#39213599) Attached to: Sony Ditching Cell Architecture For Next PlayStation?

I used to program SPUs for a living for a game studio. (Worked on SOCOM Confrontation and some unannounced titles).
I disagree with all this bitching from devs: the CELL SPU is a thing of beauty.

If an engineer is worth his salt, and knows his trade well, what he can do with it is amazing.
I was blown away with how incredibly fast this SPU is, once properly used.

But only if you know how to do branchless code, and you know the difference between structures-of-arrays and arrays-of-structures.
Once the data is lined up properly, and you eliminated those nasty branches, carefully crafted code (intrinsics, not vanilla C++) will make that thing fly like nothing else. Insanely fast, think GPU-fast, but with a more generic programming model.

I regret the death of the Cell architecture.

Comment: Re:Of course it is. (Score 1) 728

by Bram Stolk (#38978821) Attached to: No Pardon For Turing

From wikipedia's entry on Occam's Razor:

>Possible explanations can get needlessly complex.
>It is coherent, for instance, to add the involvement of Leprechauns to any explanation, but Occam's razor would prevent such additions, unless they were necessary.

Now, :s/Leprechauns/God/ and you will see that adding 'God' to the explanation for the universe is wrong.

    Bram

Comment: Re:c't (Score 2) 562

by Bram Stolk (#38858077) Attached to: Ask Slashdot: Does Europe Have Better Magazines Than the US?

Yes, c't wins any time.

I love how thorough their tests are.
And their test metrics are pure art.
To test CPU performance, they would include a metric of Linux-src-lines-compiled per second.
But because energy usage gets more relevant with CPUs, they also list a metric Linux-src-lines-compiled per watt.

Now what us mag would be so thorough to do this? None.
Another test they would do for printers is expose the printed page to 5 yrs of simulated sun ray exposure, to see effect on colors.

Hoping to goodness is not theologically sound. - Peanuts

Working...