"chrome" entries

JavaScript shares its ubiquity

WebAssembly changes the rules of the JavaScript game.

engineroom

I’ve never seen a technology lay down its primary advantage and prepare to hand over its ubiquity. I’m proud of JavaScript for doing this, and I’m sure that in the long run this will be good for the Web, but in the meantime I’m wondering where WebAssembly will take us.

Brendan Eich’s announcement of the effort makes clear that this builds on the earlier asm.js (and Google’s similar PNaCl), a highly efficient JavaScript subset that compilers of other languages could target. Eich enjoyed using Unreal Engine for demos of the speed asm.js could provide, but compiling to JavaScript, even weird JavaScript, still needed to go through a JavaScript parser. (Other approaches compiled to more comprehensible but less optimized JavaScript.)

WebAssembly – wasm – skips that final step, producing a binary format, technically a compressed AST encoding. Unless you’re going to be building compilers, you can compare wasm to a bytecode system. There is a text format for debugging, but the binary emphasis yields substantial extra speed as it skips parsing and minimizes decompression.
Read more…

It’s the end of the web as we knew it

You might feel fine.

For the past 15 years, Google has enforced the classic “HTML as foundation” architecture at the heart of the Web. Content creators and the developers who support them had to present content and link information as part of their pages’ HTML if they wanted Google’s spidering bots to see them. Google effectively punished developers who made links or content available only through JavaScript (or images, or CSS), giving them low or non-existent search results.

Google did this to keep their processing simple, not because of a deep fondness for HTML. Even as Google’s bots stuck to a simple diet of HTML, other parts of Google were developing JavaScript-centric approaches, like AngularJS: a “Superheroic JavaScript MVW Framework” that “is what HTML would have been, had it been designed for building web-apps.”

Angular is far from alone. As JavaScript grew, more and more programmers wanted to build their apps as programs, not as pages. Or, as Jen Simmons summarized it at Fluent, “Dang that stupid HTML, I’m just going to load an empty page… then I’ll run the real program, I’ll run the JavaScript.” Read more…

Four short links: 2 May 2014

Four short links: 2 May 2014

Collaborative Neighbourhood Storytelling, Chrome Evil, Responsive Web Instruction, and Open Source Packet Processing

  1. NewsPad: Designing for Collaborative Storytelling in Neighborhoods (PDF) — Microsoft Research report about tests of a tool to address needs in community reporting.
  2. Burying the URL — makes you suspect that “users interact with the web directly instead of via Google” is the #1 bug in Chrome’s issue tracker.
  3. Web Fundamentals — Google steering developers to making responsive sites, showing workflow for styling such that you can get sites that look good on all screens.
  4. snabbswitchopen source packet processing for ISPs.

TechEd 2013: The ASP.NET Team, Surfaces at a Deep Discount, (and Google Glass?)

Humid, harmonious, and happy

People weren’t kidding when they told me New Orleans is humid, but the good news is the conference venue has great air conditioning. As expected TechEd is focused mainly on system administrator issues, but I’m feeling that even more so this year with BUILD right around the corner on June 26. However, that isn’t keeping the ASP.NET team from letting us in on what they’ve been working on these past few months.

I wrote a post a little more than a year ago on how Microsoft was starting to embrace open source. Well, it seems to be paying off with Web API 2: two of the new features, CORS and Attribute Routing, were initially contributed by community members and then perfected with the ASP.NET team. These two features are making writing code for your website more streamlined.

In other impressive updates, layout and styling are now based in Bootstrap and cross-browser testing is now much quicker with a tool codenamed “Artery.” We saw, Damian Edwards, Program Manager on the ASP.NET team, make a change in the code, rerun the program, and show us the updated website on local versions of Explorer and Chrome. In addition to upgrade announcements, a welcome change came in the form of a consistent toolset offering with Visual Studio 2013 that makes working across Web Forms and MVC much easier for developers. All new versions of these technologies, ASP.NET MVC 5, Web API 2, and Signal R2 will run only with .NET 4.5.

Sitting in the front of the packed room I kept thinking this is what Microsoft needs—an engaged audience that can work with a brilliant team to consistently update the technology and encourage change.

Oh, and Microsoft (in what I think is a smart move) is selling the Surface RT and Surface Pro, to full attendees, at deep, deep discounts, with the RT priced at $99 and the Pro at $399. The lines have been massive since the offer was announced. Hopefully this will provide Microsoft with more mindshare if not market share in the coming months.

And a note about Google Glass: I brought them to the conference in my continued social experiment to see how people would react. It has been a mixed bag of folks wanting to talk to me about them, those afraid I am recording them, and even a few that aren’t sure what it is. It continues to be good conversation starter as is the story of my eating my first crawdad—a New Orleans staple!

Google I/O 2013: Android Studio, Google Play Music: All Access, and New Advances in Search

My day one experience

io
While there was no skydiving this year to show off Google’s new wearable Glass, there were plenty of attendees wearing them proudly including me. This year hardware, however, didn’t take center stage. The focus was on new tools and upgrades to existing products and platforms.

Android developers were thrilled to see new APIs and tools. The biggest cheers, at least in my section, were for Android Studio built on IntelliJ which from what I can tell is way better than Eclipse but notably not open source. The Developer Console got a substantial update with integrated translation services, user metrics, and revenue graphs, but what really made a big splash the beta testing and staged rollout facilitation. These along with new location and gaming APIs rounded out the new offering for the Android development crowd.

Read more…

Four short links: 12 March 2013

Four short links: 12 March 2013

Chrome Tricks, Sins of Journaling, Icon Font, and Sweet PD

  1. One Tab — turn tabs into lists, easily. (via Andy Baio)
  2. Deep Impact: Unintended Consequences of Journal RankThese data confirm previous suspicions: using journal rank as an assessment tool is bad scientific practice. Moreover, the data lead us to argue that any journal rank (not only the currently-favored Impact Factor) would have this negative impact. Therefore, we suggest that abandoning journals altogether.
  3. Genericons — useful straightforward icon font.
  4. Public Domain Review FundraisingOver the course of our two years we’ve created a large and ever growing archive of some of the most interesting and unusual artefacts in the history of art, literature and ideas. Love the idea of some limited edition reprints of these gorgeous works!
Four short links: 12 February 2013

Four short links: 12 February 2013

Handmade Hardware, Tab Silencer, Surprise and Models, and Sciencey GIFs

  1. Your USB Sticks Are Made With Chopsticks (Bunnie Huang) — behind-the-scenes on how USB sticks are made.
  2. mutetab — find and kill the Chrome tab making all the damn noise! (via Nelson Minar)
  3. Visualization, Modeling, and Surprises (John D Cook) — paraphrases Hadley Wickham: Visualization can surprise you, but it doesn’t scale well. Modelling scales well, but it can’t surprise you.
  4. Head Like an Orange — science animated GIFs, assembled from nature documentaries. (via Ed Yong)
Four short links: 19 November 2012

Four short links: 19 November 2012

Mac git tool, Web Developer Tool, Bullshit Detector, and ISPs Join Devil For Baby-Eating Orgy

  1. Wing Man — Mac app for source control management with git, implements workflow rather than simply being a wrapper for git commandlines.
  2. CodeKit — Mac app for web developers, automates (invisibly, thanks to watching filesystem changes) much of the web site tools.
  3. LazyTruth — Chrome plugin for gmail that detects bogus forwarded email and gives you the option to reply with the truth. RoboSnopes for the win! (via The Atlantic)
  4. Verizon to Throttle Pirates (BBC) — unable to solve their business model problems though the courts, Hollywood “partners” with ISPs to extra-judicially punish alleged infractions. ISPs win when heavy downloaders are throttled, of course, because it lets them have higher contention ratios (sell the same upstream cable to many more downstream email-checking residences instead of just a few torrenters). These five ISPs are mall-cops, private tax collectors, and regional monopolists, all in one nasty bundle of evil.

Developer Week in Review: The mysterious Google I/O machine

A Google I/O puzzler, more sandbox mayhem, and Go prepares to take wing.

While we wait to sign up for two of the major conferences of the year, Google has released a brainteaser, Java suffers another security breach, and a new language prepares for takeoff.

Developer Week in Review: Flash marginalization continues

Flash ditches Linux, a developer faces death, and we get a peek inside Foxconn.

If you use Linux, either start using Chrome as your browser or get ready to give up Flash. A developer faces execution in Iran because of how someone used software he wrote, and the world gets to see what it's like to build iPads and iPhones.