Better HN
topnewbestaskshowjobs
Log inSign up

TwoBit

2,039 karma · joined Mar 11, 2009 (17y ago) · 1,119 submissions

Submissions

comment 14y ago · link · parent

In most mature programming languages we resolve this kind of dispute by pointing to the Standard. Is that not possible with PHP?

comment 14y ago · link · parent

Summary: ++x for signed char is supposed to convert x to int before the ++, but some compilers get it wrong.

comment 14y ago · link · parent

I thought modern OSs make stack memory non-executable, so this attack fail on modern systems.

comment 14y ago · link · parent

why would iphone be harder to hack than android? is it because iphone software is more closed source?

comment 14y ago · link · parent

FireFox for Android has been doing this since I started using it two years ago.

comment 14y ago · link · parent

FYI The Sims did that 10 years ago.

comment 14y ago · link · parent

IMO Chrome is great, but Firefox has more features that I like. The minor speed differences are inconsequential and FireFox is faster at some things anyway.

comment 14y ago · link · parent

OSX support requires OSX contributors. So don't ask Mozilla what the excuse is, ask your fellow OSX programmers.

comment 14y ago · link · parent

Unless you have a leaking plugin, Firefox is likely doing that for performance. You have a lot more than 500MB RAM, right? Why not take advantage of it?

comment 14y ago · link · parent

Windows seems superior to me. It performs better due to seek time reduction, and it defrags and optimizes during idle periods. With Linux you have the worst of both worlds: it's slower and when the disk gets near full you supposedly have no choice but to re-do the disk.

comment 14y ago · link · parent

Gould is simply different. Great in his own way.

comment 14y ago · link · parent

    "The best US industry could turn out in 1941"
The US wasn't in the war in 1941. So there's zero head start time.

comment 14y ago · link · parent

The real reason your Photoshop experience sucks is that has a monopoly. The problems would all go away if that changed.

comment 14y ago · link · parent

Why on earth EA was voted worst company is beyond me. Actually I'm under the impression the Ballot boxes against EA were stuffed by religious groups unhappy with EA morality.

comment 14y ago · link · parent

I'm no American flag waver, but I think the primary reason Germany had better weapons was that they had years of head start in developing them. It makes me wonder if this is why the US has since spent trillions trying to stay ahead of the weapons curve.

comment 14y ago · link · parent

TeX is great but in serious need of a rewrite. I'm not sure it will ever happen.

comment 14y ago · link · parent

Whenever I see graphs like that, I write the page off as being advertising rather than science.

comment 14y ago · link · parent

FWIW, from a comparison shopping perspective, it actually is possible to compare mattresses. Each brand has families that are equivalent in the various stores. The store can admit to the equivalency (which the stores I worked with did) or they can risk losing a sale.

comment 14y ago · link · parent

I wish Apple would synchronize their clang with this one so we don't have two different versions like we do now. There are two different "clang 3.0" compilers out there now, with differing capabilities.

comment 14y ago · link · parent

My guess is that this will be hard to commercialize, because that coating is going to need to resist being heated to X degrees without tainting the food.

comment 14y ago · link · parent

We have been using clang on Apple, Linus, and FreeBSD. It's a lot nicer to work with and compiles faster than GCC, including 4.7. As people point out, the generated code is on average a little slower.

comment 14y ago · link · parent

Editing text on my Android is much easier than on my iPad. I don't know why Apple goes out of its way to make it so hard. And the Apple on-screen keyboard with its CAPITALS-ONLY display is inferior to others as well.

comment 14y ago · link · parent

While the main point about the medical supply monopoly seems solid, I'm suspicious about this Shaw guy, his character, and his product. I'd like to see an objective counter-point.

comment 14y ago · link · parent

That such a simple thing on your part could result in such an extreme and expensive result implies something is wrong with the design of the system you're using.

comment 14y ago · link · parent

There's one and only one reason we write code the way he says not to: performance. Working with words instead of byte munging makes a huge performance difference. And in game development performance beats most other reasoning, especially when we are talking about loading tens of thousands of these on startup. And besides, all our code is wrapped in calls to inline functions named uint32_t FromBigEndian(...) anyway, so it's actually cleaner than what he proposes.

comment 14y ago · link · parent

Huh? Maybe you're thinking of PS2 days or earlier. I'm a PS3 developer and Sony's tools and developer support is better than Microsoft's or Nintendo's. Enough so that we have asked Microsoft if they could replicate some aspects of what Sony does for the next generation.

comment 14y ago · link · parent

We've looked into Hoard. It's fast only if you have a large number of threads that are -constantly- allocating memory, and even then it wastes more memory than a regular heap. The large majority of real-world applications don't do this, but some server applications might. I think Hoard could be useful for that. On the other hand, if performance was critical to you then you'd change your code to not allocate memory so much.

A practical problem we have with Hoard is that it lacks diagnostics. By diagnostics I mean extensive heap reports, fragmentation information, free space, what's the largest block I can safely allocate, give me a callback for every malloc so I can do stats tracking, etc.

comment 14y ago · link · parent

Diablo as an FPS could never be the same.

comment 14y ago · link · parent

I love Diablo but this was getting to be like Duke Nukem.

comment 14y ago · link · parent

When discussing this topic, people like to say that C is more commonly used that C++. But I think that the reality is that -Microsoft's customers- use C++ much more than C. I am such a customer and in my field 95% or more of programming is C++.

I still wish they would support a few very basic C99 features though.

1
3435363738