Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment: Size of build != Size of executable (Score 2) 753

by pslam (#38373972) Attached to: Firefox Too Big To Link On 32-bit Windows

This is basic stuff to anyone who actually maintains a build, but Slashdot hasn't been a forum mostly populated by engineers for a number of years, now.

This appears to be due to link-time optimization blowing up the resident memory size of the linker, taking it past 3GB (which is already a non-standard hack the 32 bit build has had to do). Firefox is large, yes, but this has nothing to do with the final binary - which appears to be about 100MB total including all libraries in the Aurora builds.

I used to routinely run out of 32 bit address space compiling executables for a 64MB embedded ARM platform. This was due to symbol bloat, not executable size (which was 8MB). I also ran out of space compiling for a DSP with 288KB of RAM and 1MB flash, but that was mostly piss poor tools (Tasking). In fact, doesn't Chrome and even the Android sources already require building on a 64 bit host?

Comment: You're just repeating the "Theora sucks" meme (Score 1) 108

by pslam (#38351366) Attached to: Royalty-Free MPEG Video Proposals Announced

I don't have to explain:

Theora really can't even compete with MPEG-1 on either video quality at a given bitrate, or performance. It was very specifically designeed for extremely low quality, extremely low resolution, extremely low bitrate streaming video, over a decade ago...

This isn't true. There's plenty of results out there which say Theora is, while not the best, a good codec. To quote Wikipedia: More recently however, Xiph developers have compared the 1.1 Theora encoder to YouTube's H.264 and H.263+ encoders, in response to concerns raised in 2009 about Theora's inferior performance by Chris DiBona, a Google employee. They found the results from Theora to be nearly the same as YouTube's H.264 output, and much better than the H.263+ output.

There are plenty of people proclaiming that because it doesn't come out top, it's useless. Theora is far from useless: the results in any scenario that H.264 (even main profile) would be used, are still usable if you select Theora instead. They just aren't as pretty, because it's just not designed to the same constraints as H.264.

Becoming the HDTV standard would be an unrealistic goal. You attribute Theora not becoming the dominant standard due to Xiph's mishandling of the codec. The more obvious reason is politics: the MPEG group exists specifically to create audio/video standards which can be licensed. Broadcasters and content providers generally only use MPEG standards, and they just love licensing.

I'm interested to know what your theory is that Xiph could drive HDTV standards and have handled this better than a small company could?

Comment: Re:Stupid workaround for stupid server code (Score 1) 151

by pslam (#37256650) Attached to: Google and OpenDNS Work On Global Internet Speedup

And here we have the real reason why this is being promoted:

3. And IMO most importantly, this removes the server selection choice from being under the sole control of the CDN provider. If this stuff is logic'd through the main HTTP page of the website, the CDN must expose its server selection strategy to the client, which is likely proprietary business knowledge.

It breaks DNS. It certainly breaks my local DNS installation, for starters. It also means that *everyone* must use this DNS hack because service will be degraded unless you do.

Comment: Stupid workaround for stupid server code (Score 1) 151

by pslam (#37256080) Attached to: Google and OpenDNS Work On Global Internet Speedup

Messing with DNS is doing it the Wrong Way. All of these CDN services are based on HTTP. When you're using them, that's an HTTP server you're talking to. It's perfectly capable of geolocating you by IP, and it can either hand you back links to a local CDN, or redirect you to another server.

Why the hell must we mess with DNS to do this? This is a solution which only works if you use Google DNS, OpenDNS, or sometimes if you use your local ISP's DNS. What if you're just running bind for you local net vs the root servers? Bzzt. Doesn't work.

The most insane thing about this is it's Google we're talking about here. They damn well know how to implement this entirely in their servers without resorting to DNS hacks. Why are they promoting this net-neutrality breaking, layering violating botch? We need less people to use this, not more.

Comment: NaCl is an anti-web abomination (Score 1) 209

by pslam (#37076350) Attached to: Chrome 14 Beta Integrates Native Client

NaCl is not so much about executing C/C++ code as it is about executing native compiled binaries. This has issues:

  • If I compile my C++ code for x86, I can run it on x86 browsers (well, specifically only Chrome on x86).
  • Ok now I have a cell phone, which is ARM. Guess I have to compile for ARM.
  • Now I have to compile everything for both x86 and ARM.
  • Ok now some other architecture is popular, but it won't run x86 or ARM.

It's incredible Google is even pushing this. It's so anti-portable and in concept anti-web.

There is a "portable" version of this, called "Portable Native Client". This means, of course, that NaCl is actually "Non-Portable Native Client" and that should itself be a clue. The "portable" version uses LLVM bitcode and a virtual machine. So more than a decade later, we've basically reinvented Java virtual machine applets minus the gigantic runtime (and language of your choice).

The only people who could possibly benefit from NaCl are Google. There's no general case use for this, and pushing it as standard into Chrome is a nasty move. Mozilla also reject the idea of NaCl. I believe Opera rejects it too (lacking a link). So, why is this being pushed?

Comment: Re:Some people are never satisfied, though... (Score 1) 107

by pslam (#36740382) Attached to: Chris Dibona On Free Software and Google
This is all very irrelevant. The point is, it is technically not "Linux", it does not match what people would define as "Linux" (pre-Android) and it in no way is "Linux" other than just the kernel and some public-facing Google engineers who call it such. I didn't bring politics into this.

Comment: Re:Tired of this flaimbait... Apps are NOT the OS (Score 1) 107

by pslam (#36739812) Attached to: Chris Dibona On Free Software and Google

The same is true of Ubuntu and the Multiverse. You can CHOOSE to run pay software, the same as Android. I can run a commercial server daemon on pure, fully open Linux. Does that cease to be Linux? No.

It's a matter of what's meant by "Linux". Everyone used to mean "GNU/Linux" when they said simply "Linux". Android isn't GNU/Linux. There's no GNU in it - they stripped out what they could and rewrote from scratch what they couldn't. It's Apache/BSD/Linux.

So no, Android is not "Linux" by the definition of what everyone - before Android came along - would call Linux.

Comment: Except it's not GNU/Linux (Score 1) 107

by pslam (#36739712) Attached to: Chris Dibona On Free Software and Google

He didn't call it a linux desktop; he called it "the linux desktop dream come true"

It's not "Linux" as most people know it. There's a reason Richard Stallman was always bothered by people referring to the OS underlying Debian, Red Hat, Ubuntu and the countless other distributions as "Linux"; it ignores the fact that the vast majority of what makes it tick is the GNU userland.

Android does not have a GNU userland. In fact, they rewrote nearly all of it precisely to avoid it.

Android is an Apache/Linux desktop. It's only vaguely related to what everyone used to refer to as "Linux" or properly GNU/Linux.

Comment: Re:The law is not Caveat Emptor (Score 1) 374

by pslam (#36578182) Attached to: If You're Working For Stock, Read the Fine Print

Any contract lawyer would read over it and tell you what the holes are for a few hundred bucks. It's no big deal.

Since when is a few hundred bucks no big deal? For that matter, since when was it acceptable that a contract can only be understood by hiring a lawyer for a few hundred bucks? You're saying it yourself: the wording in the contract is so strangely constructed, that only a lawyer could understand it.

There's no reason NOT to go to a lawyer if you're considering signing something like this. It happens every day.

Well, apart from the several hundred bucks. If that happens every day, that's $50-100k a year, I guess. Good for the lawyers, bad for employees. The thing is, 364 days of the year you get a contract with normal termination clauses, but 1 of them has a dick clause. Do we pay a lawyer tax to insure ourselves against this, or do we assume that the courts will see it for what it is?

It just so happens that this guy decided to cut corners, got burned, and then whined about it publicly.

I fail to see how not spending a large sum on lawyers is cutting corners. People often don't use lawyers. it happens every day.

So, I guess you spend several hundred bucks on a lawyer every time you get a new job or receive stock or options?

Comment: The law is not Caveat Emptor (Score 2) 374

by pslam (#36577892) Attached to: If You're Working For Stock, Read the Fine Print

It seems a large number of people here think that it is, though. Idiocy, or trolls. Do people really have so little sympathy? Contracts are intended to be a fair, bindings agreement between two parties. There are countless examples of unfair or weasel worded contracts failing in court, but apparently that would be news to some. What about loan sharks? What if someone snuck in a paragraph of mind bending legalize which amounted to "we can kill you"?

Oh, of course, they should have read the contract, and in case it was too confusing, they should have hired a really expensive lawyer to read it for them.

Bullshit. While I have diminished sympathy for Lee for not double and triple checking his termination clause, I do not have none. I also suspect, as pointed out in another comment here, that Skype should be liable for a lot of taxes by effectively buying back his options for nothing rather than their grant price. This probably still represents a net win for Skype, but at least then it's not "free" for them to exercise this clause.

In any case, it's still a particularly nasty thing for Skype to have done. Options generally have a "30 day" clause so you're not screwed in case of termination. This is supposed to add potential value to the options: you don't constantly run the risk of losing them all at the whim of the company. Skype effectively has a termination clause which takes away all your options any time they want. The difference is huge: I currently work on the assumption that my options are "safe" and I don't have to worry about them vs termination. My employer has written their options clauses to effectively say "we cannot be a dick - we are bound to allow you a grace period". Skype didn't. Their employees must treat options as directly bound to their employment, and if they're working under an "at will" contract, they can be gone in an instant. Skype took away a vast amount of value in their options due to the buy-back clause.

Real Programmers think better when playing Adventure or Rogue.

Working...