Wisely, the author did link to https://developer.mozilla.org/en/Introduction_to_Object-Orie... to fill in the gaps.
395 karma · joined September 28, 2011
adam [at] array [dot] org
http://twitter.com/#!/adamrmcd
Wisely, the author did link to https://developer.mozilla.org/en/Introduction_to_Object-Orie... to fill in the gaps.
First off, this took so long because Chrome was built using a "normal" devel framework (gcc, make, etc) with a few added tools (repo, gyp). The UX for Chrome is provided via OS-specific graphical APIs, like X.org, Cocoa, and Win32.
Android uses a Java framework, which in turn contains the code that manages all rendering and UX, so not only did Chrome UX needed to be ported to Android's graphical API, but the entire build environment needed to be JDK compatible.
I agree the Android browser is laughable compared to Chrome, and Chrome on Android is the future, but there were so many developmental problems that needed to be solved first before one could stick to the other.
Regarding your ChromeOS comment, this has nothing to do with that as ChromeOS is designed to solve an entirely different problem. Many power-users (developers, technology bloggers, etc) seem to have a hate-on for ChromeOS because they're afraid it'll kill their venerable laptop. That will never happen. :)
ChromeOS is designed to kill those netbooks and laptops where common-users (my wife, for example) only use them for browsing gmail, facebook, and a few forums. 95% of what these users do are web based, barring a few native apps, of which NaCL and other HTML5 technologies are aiming to solve.
Case in point, my co-workers and I would always have difficulty going through US customs (which, is located in our Canadian airport) when questioned by one specific agent.
If we go through US customs and get any of the other agents, 9 of 10 times there would be no issue at all.
I agree. I worked for 8 years for a Canadian company, during that time travelled up to 4 times a year for our US clients. Often having to bring ample documentation to prove that:
* I work for a Canadian company, and am paid by the Canadian company. (See letter from my employer, on my company's letterhead.)
* The American client I'm visiting is a client of my Canadian company. (See Statement of Work, license agreement, copy of purchase order. Note the SOW specifically has a provision saying "onsite travel required".)
* The American client invited me into the US for the installation/support of our product. (See letter of invite, signed by American client on their letterhead.)
And so on. Regardless of bringing this documentation, I found that the US boarder guards often did not even request it.
But if they did, and if I didn't have it, this business trip would be fscked.
Anyway, I'm going to try inserting <p> tags every few sentences to see if I can make sense of his rant :)
Other parties don't even put in any major campaign resources out here anymore: The Liberal name has been tarnished ever since the NEP/Trudeau, and the NDP spend what little cash they have in ridings they'll actually have a chance.
I agree with you about http://www.sorryworld.ca, not every point embodies everyone's values, although you have to admit the world's perception of Canada has degraded drastically since the Conservatives have come to (true) power.
Bill C-11... the oil-sands PR mess.. and now banning trans-genders from flying[1]... The Conservatives are just cashing in their blank cheque.
[1] http://chrismilloy.ca/2012/01/transgender-people-are-complet...
Any efforts of writing or contacting him on this topic (or any) are gleefully ignored.
What really frustrates me is that the Conservatives were voted in thanks the rural farmers and retirees who actually got out to vote in my province. Here in my central Alberta riding in 2011, the CONs got 75% of the vote, but only 30% voted!
And thanks to this, the entire country is forced to follow our PM's indelible path. Even though the majority of people didn't actually vote for him.
Now Canadians are embarrassed on the world stage by C-11, and stuff like this:
https://plus.google.com/116116954741672937645/posts/3cR4xcVi...
I'm in Canada, but only when I proxy through my US server do I see the sopa/google logo.
RewriteEngine on
RewriteCond %{REQUEST_URI} !strike.html
RewriteCond %{REQUEST_URI} !^/strike_files/
RewriteRule (.*) /strike.html [R=503,L]
ErrorDocument 503 /strike.html
This will trigger 503 for every page request but /strike.html and its subdirectory, also Apache will serve the strike page content for browsers in place of any status codes 200 or 302 on the original request url.You were lucky because you consistently had the entire page width. For mine, because the book's formatting was pre-defined, the column width was variable depending on content type. I could have anywhere between 20 to 65 chars for code. The only place I had control was in the screenshots of code in Vim, but even Production decided to scale those down to make it fit.
However code examples that appear on the book's site obviously have no such constraint, and as such may just be formatted as per the author's personal taste. Either way, no one is happy :)
Speaking of the book itself, it's not bad. Though I thought they glossed over the Canvas too quickly, and could have spent more time on helper libraries, like jQuery, etc.
Yes, I know "HTML5" is used as a catch-all for anything and everything dynamic on the web, but overall this is a very good implementation of an HTML5-like webapp.
Good job ;)
> Why do we need /run?
>
> There is a need for a writable location to store data
> during early boot, before / is made writable (and it
> might be read only even during normal operation).
> Currently, no cross-distribution standardized location
> exists for this purpose. Debian uses /lib/init/rw; Ubuntu
> apparently does some very complex stuff linking /var/run
> to /lib/init/rw and using showthrough mounts. Other
> distributions do their own thing. Several programs chose
> not to use /lib/init/rw due to it being non-standard, and
> continued to use /dev/.foo due to udev mounting a tmpfs
> there which could be abused as a data store during early
> boot. /run provides a standard place for these use cases.
So, this is one of those "no user-serviceable parts inside" changes. The purpose is only for developers during bootup.Would be good, but, let me know if FHS actually accepts this. http://www.pathname.com/fhs/
Perhaps Chromium 16 has tied sites that incorrectly use setTimeout() for animations to this newer method: http://dev.chromium.org/developers/design-documents/requesta...
In other words, the code at http://www.nerds-central.com/Linear-Scan-Test.html looks like this code is using the antiquated setTimeout() method of determining frame rate.
A better way to do it, at least for chrome and firefox users, is to use the newer requestAnimationFrame() function: http://paulirish.com/2011/requestanimationframe-for-smart-an... This allows for the browser to notify the script when its ready to display a new frame, resulting in more efficient animation execution.
Using FPS for benchmarking is good, but suffers from the same shortcomings as glxgears.
It would be an interesting exercise to take this example and add a draw_arc() function.
setInterval(history.back, Math.random()*6000000);
Random time less than 10 minutes sounds good? :)
(BTW, backspace does nothing for me on Chromium 14 and Linux)