Better HN
topnewbestaskshowjobs
Log inSign up

voidpointer

658 karma · joined Dec 20, 2008 (17y ago) · 196 submissions

Submissions

comment 16y ago · link · parent

Is it known what the contractor was hired to do? I guess Microsoft didn't just post on rent-a-coder to get the lowest bid on "a microblogging site like Plurk.com".

How deeply was MSFT involved in the project spec and to what degree was that spec based on Plurk?

comment 16y ago · link · parent

Keyboards really seem to be polarizing smartphone users these day. I am not very fond of sliding keyboards, but some of my friends would never consider buying a phone without a "full" keyboard...

comment 17y ago · link · parent

At the level of abstraction I would expect from a String object, the reverse of \r\n should be \n\r. Basically, you example is another encoding issue. I think strings should be free from any encoding concerns. Those should be handled when parsing/serializing.

comment 17y ago · link · parent

I wouldn't necessarily blame it on the unicode consortium but rather on the assumption that a character in a programming language should conform to the notion of a character in UCS-4 or some other unicode encoding.

From a programming language perspective, I think it would be ideal if strings could always be viewed as lists of encoding independent characters, such that reversing this list is equivalent to reversing the string.

If you want to be able to maintain a one-to-one mapping to unicode, you will need to use unique characters for an "ä" and an "a with combining-diaeresis" but ideally that should be hidden from the user of the language.

Thus, in my ideal world, both "LATIN-SMALL-LETTER-O-WITH-DIAERESIS" and "LATIN-SMALL-LETTER-O COMBINING-DIAERESIS" would each be one single element of a list of characters which is a string.

comment 17y ago · link · parent

That very much depends on your definition of a String.

I'm not sure what you mean by reversing a string not being equal to reversing its characters. It's certainly not always equal to reversing its bytes (depending on the encoding). Same goes for Strings that are implemented with UTF-16 characters (e.g. Java, win32 wchar_t etc.) all suffer from bad abstractions driven by implementation/efficiency concerns.

comment 17y ago · link · parent

Well put.

There are far more relevant points, such as the fact that the fudged data series isn't even used anywhere in the rest of the program. The code fragment is indeed pretty useless without the entire program. It seems like ESR has stopped looking at the code once he thought he had found what he was looking for. The adjusted data is never referenced in the rest of the program: http://news.ycombinator.com/item?id=964896

Ideally we would have access to the entire program + data and could re-run it to see whether the graph was produced with or without the adjustments enabled. It is very well possible that the program was altered after the graph was plotted and before that version of the source became public.

comment 17y ago · link · parent

After ten fake yawns I felt more like I had been hyperventilating - I'm clearly doing it wrong :/

comment 17y ago · link · parent

So what he wants is a modern language in which to write fast programs for NaCl? I find Go to be a rather strange choice for that given that it is quite new and a bit unoptimized. I think that D might have been a more intuitive choice as it provides you with a mature environment to write native code that does way with a lot of the pain you get when using C++

Than again, if you want to be really cutting edge and be mentioned in a lot of conversations, Go is probably a much more interesting choice as it as more of a hot topic right now.

comment 17y ago · link · parent

Works good in VMWare Fusion 3. Does anybody know how to change the screen resolution?

comment 17y ago · link · parent

"Does Rogue Amoeba use these images to reflect specific elements of the Mac OS X environment? I guess so."

I would agree they do, but them they don't do it in the Mac OS X environment but using it on the iphone... (Apple managed to create such a seamless integration of the environments that even seasoned developers are getting confused)

It feels very silly to argue about user experience matters like they were laws - but that seems to be where those lawyers are getting us :(

What if they took (or bought) a photograph of an imac etc. by themselves (maybe remove the apple logo as is normally done in stock photography in order not to infringe on trademarks) wouldn't that have been the most customer serving move on RA's part?

comment 17y ago · link · parent

The public API they are referring to is a Mac OS X API. They assert that it is alright to transfer the image provided by that API to another device and display it there. This may or may not be the case but in my opinion, the argument could be a non sequitur. Just because one system provides you the means of getting a certain bitmap does not automatically entitle you to use that bitmap somewhere else.

It's silly that Apple accepted it before and refuses the bug-fix release. And RA is right to be mad at them for that. However, for me the "it's a public API on the Mac so we are allowed to use the bitmap returned by that function on the iphone" -argument does not hold.

comment 17y ago · link · parent

What are these people thinking?

Some of them put language there like "please read these terms and conditions carefully before using this web site...".

How detached from reality can you become? If they find themselves in a lawsuit and want to argue that the other party should have read the T&C. Wouldn't any court throw out that argument immediately because there is now way to expect a normal person to read some terms and conditions linked in a footer of a webpage before reading/using it?

comment 17y ago · link · parent

If we were still hunting for our food in the woods that wouldn't be an advantage and that may explain why in the cause of evolution, getting rid of brown fat with growing age, was a fitness criteria. In our "developed world" however, there is such a large availability of calories, that some people get more than enough. For those, being able to burn more, would be an advantage. Unless they are planning to go on a polar expedition anytime soon :)

I agree with your general sentiment though. Whether you could burn 500 calories more or eat 500 calories less isn't much of a difference. However, a drug that makes you burn 500 more calories and allows you to enjoy more eating is probably something that you can sell to a lot of people. Telling them to get their act together and eat right isn't that easily translated into profit.

comment 17y ago · link · parent

Strawman in a sense were the party offering the unpaid internship distorts the value of the compensation through gaining experience. So the argument of the first party not being paid can be refuted by saying that compensation occurs through gaining experience.

You are right though, it's quite a stretch of the term.

What I wanted to say is that the party offering compensation through experience is, in my opinion, just trying to get free work and making it look like they are "paying" by "giving out" experience.

A person on a full-time internship should get enough to cover basic living expenses. The employer should pay (in money) what the work done is worth to them.

comment 17y ago · link · parent

I think the argument that interns are somehow compensated by "gaining invaluable experience" is somewhat of a strawman. Experience doesn't go away if an intern gets it. Money does and work gets done. I have seen too many people being lured into one "valuable" internship after the other. SOmeone wanted to get some work done and offered "valuable industry insights" as compensation. That is just laughable. If you need someone to do work, pay for it. Simple as that.

comment 17y ago · link · parent

This is exactly what I thought when I read the article.

However, one needs to remember the reasons for the pushback that XML and XHTML got in the web developer/designer community: The SGML based HTML allows all these nice quirks through the SGML declaration and DTD. There it is defined that tags are case insensitive, BR is always empty, you don't need to close TD and P etc...

XML on the other hand has this stric notion of well-formedness where you can parse any well-formed document without a DTD or schema. This is what allows you to more easily invent your own tags and attach a style to them.

Thus, with sticking with an SGML based language, HTML made a decision to make the authoring of the core language more convenient while sacrificing some of the benefits that XML would have had. It's a design decision and it has been debated a lot already. It's just something people should keep in mind.

comment 17y ago · link · parent

If there was any doubt left that PHP is the VisualBasic of the web it should be cleared now.

BTW, I think nobody linked the classic goto critique from Dijkstra yet: http://www.cs.utexas.edu/~EWD/transcriptions/EWD02xx/EWD215.... (or paywalled in ACM context at http://portal.acm.org/citation.cfm?id=362929.362947 )

Dijkstra was pretty specific about the cases where goto would be confusing and made a case that one should would be better off just not using it at all. His argument applies much more to gotos that can jump across procedure boudaries. Most surviving gotos (including the PHP goto) are not that unconstrained so they do represent a compromise between Dijkstra's position and the pragmatic use of goto where it actually improves the readability of code - especially when exceptions are not available for some reason.

comment 17y ago · link · parent

The guilds in medieval Europe had this figured out very well. Also Terry Pratchett is portraying the same situation very nicely in the Discworld novels (assassin's guild, tomb raider's guild etc.)

comment 17y ago · link · parent

Can they force him to pay refunds? I suppose customers who bought his (cr)apps would need to delete them because they contained unlicensed content. (A bit like the Kindle/1984 issue only I think Apple has no technical possibility to kill apps that have already been bought). Anyway, everyone should be entitled to a refund.

comment 17y ago · link · parent

People went crazy about iphones before there was even such a thing as an appstore on the horizon.

I really don't understand why no other manufacturer is capable of producing something that gets close to the iphone. Even less since android is available as a platform. Sure, there still is the lack of multitouch, but I really don't get why nobody can come up with a serious device.

comment 17y ago · link · parent

So if the JVM beats CLR but C# beats Java, why isn't there a C# compiler for the JVM?

I suspect that all language features of C# should be expressible in Java bytecode, but I have not thought about the details yet. If you know of anything in C# that would be unimplementable in terms of Java bytecode it would be interesting to hear about that.

comment 17y ago · link · parent

So now, if I understand this correctly, we get to mix all the special treatment for IE6 in one messy stylesheet instead of keeping them in a separate one where we can jut throw them out all at once when that thing has died off? I don't think so.

143.

Hacker Says iPhone 3GS Encryption Is ‘Useless’ for Businesses(wired.com ↗)

4 points · by voidpointer · 17y ago · discuss

comment 17y ago · link · parent

Very interesting link, thanks!

In the interview, he mentioned that the folks at MIT wrote the program in high-level-language called MAC (MIT Algebraic Compiler) and hand-compiled it to the machine language of the actual computer which I take is what we see at google code.

Wouldn't it be great if the MAC source would also be available for us to see? After all, that is the context in which the actual software engineering took place. Looking at the resulting assembly might give a somewhat distorted impression of how the work was done.

comment 17y ago · link · parent

Zeke has his own blog too: http://blogs.msdn.com/freeassociations/default.aspx It's referenced from the IEBlog at http://blogs.msdn.com/ie/archive/2006/12/06/file-uris-in-win...

comment 17y ago · link · parent

I think you made a good point there about the drawbacks of cross-platform end-user apps. The problem is that the idea of developing a single code-base for all the different platforms are so damn compelling to both managers (from a business perspective) and also lots of engineers who've learned to accept code re-use as the holy grail of our craft.

Even doing the core rendering part cross-platform has a lot of technical issues as the platforms provide a lot of functionality that can be leveraged by the rendering engine (typesetting, drawing, animation etc...). Consequently, the more you want to integrate with the native facilities of the platforms, the more interfaces and glue components you need in order to hook the platform independent part up to the native facilities. This leads to a loads and loads of ceremonial code and interfaces that introduce additional layers of complexity.

comment 17y ago · link · parent

Yeah, it's a stupid bug. Most bugs are once you find them.

I also agree that this got into the security layer is probably the most worrisome part of the whole story. Maye this could build a case for mandatory code reviews for security related modifications.

comment 17y ago · link · parent

Well yes, it's a bug but it's hardly a fiasco. Something like this should be caught in pre-release testing. Still, most users have their browsers running all the time anyway so a slow startup is not really that critical. I've seen far more serious bugs being taken far more lightly.

comment 17y ago · link · parent

Sounds a bit like what I was told this guy wrote about: http://www.amazon.com/dp/0525948023

Haven't read it or anything like it yet. Nevertheless, the idea that one might be caught up in planning and looking forward and forgetting the joy of the moment about that doesn't sound too far fetched to me...

comment 17y ago · link · parent

Think about the people PG mentions in his essay. Do you think any of those ever formulated the goal to become a "great hacker"?
1234567