HTTP/2 Adoption Stats

Web pages are made up of multiple objects. This first object fetched is
an HTML document, which tells your browser which additional objects it
should load and how to display them. Additional objects could include
scripts, style sheets, and images.

For complex pages, these objects are often served from different
servers. For example, a site might host all of its HTML and JavaScript
on one server and its images on another. Sometimes, sites serve pages
differently over HTTP and HTTP/2 (e.g., serving CSS in a separate file
in HTTP/2 that was previously inlined directly in the HTML):

These results compare the HTTP and HTTP/2 versions of the sites we
crawled in terms of:

  • Number of Objects: How many objects did each version of the page load?
  • Number of TCP Connections: How many connections did our browser make when it loaded each version of the page?
  • Number of Domains: How many servers did our browser contact when it loaded each version of the page?


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/b4U6y9hGleA/structure.html

Original article

V8 Release 5.1

The first step in the V8 release process is a new branch from the git master immediately before Chromium branches for a Chrome Beta milestone (roughly every six weeks). Our newest release branch is V8 5.1, which will remain in beta until we release a stable build in conjunction with Chrome 51 Stable. Here’s a highlight of the new developer-facing features in this version of V8.

Improved ECMAScript support

V8 5.1 contains a number of changes towards compliance with the ES2017 draft spec.

Symbol.species

Symbol.species allows you to override which constructor is used to construct objects when calling methods on a subclass of Array, RegExp, and other built-in classes.

instanceof customization

Constructors can implement their own Symbol.hasInstance method, which overrides the default behavior.

Iterator closing

Iterators created as part of a for-of loop (or other built-in iteration, such as the spread operator) are now checked for a close method which is called if the loop terminates early. This can be used for clean-up duty after the iteration has finished.

RegExp subclassing exec method

RegExp subclasses can overwrite the exec method to change just the core matching algorithm, with the guarantee that this is called by higher level functions like String.prototype.replace.

Function name inference

Function names inferred for function expressions are now typically made available in the name property of functions, following the ES2015 formalization of these rules. This may change existing stack traces and provide different names from previous V8 versions. It also gives useful names to properties and methods with computed property names:

class Container {
   ...
   [Symbol.iterator]() { ... }
   ...
}
let c = new Container;
// Logs "[Symbol.iterator]".
console.log(c[Symbol.iterator].name);

Array.prototype.values

Analogous to other collection types, the values method on Array returns an iterator over the contents of the Array.

Performance improvements

Release 5.1 also brings a few notable performance improvements to the following JavaScript features:

  • Executing loops like for-in
  • Object.assign
  • Promise and RegExp instantiation
  • Calling Object.prototype.hasOwnProperty
  • Math.floor, Math.round and Math.ceil
  • Array.prototype.push
  • Object.keys
  • Array.prototype.join & Array.prototype.toString
  • Flattening repeat strings e.g. ‘.’.repeat(1000)

WASM

5.1 has a preliminary support for WASM. You can enable it via the flag –expose_wasm in d8. Alternatively you can try out the WASM demos with Chrome 51 (Beta Channel).

Memory

V8 implemented more slices of Orinoco:

  • Parallel young generation evacuation 
  • Scalable remembered sets 
  • Black allocation 

The impact is reduced jank and memory consumption in times of need.

V8 API

Please check out our summary of API changes. This document gets regularly updated a few weeks after each major release.

Developers with an active V8 checkout can use ‘git checkout -b 5.1 -t branch-heads/5.1‘ to experiment with the new features in V8 5.1. Alternatively you can subscribe to Chrome’s Beta channel and try the new features out yourself soon.

Posted by the V8 team


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/IP5L5ZBcZdw/v8-release-51.html

Original article

Awesome Python: A curated list

About
Your go-to Python Toolbox.
Our goal is to help you find the software and libraries you need.
Made from developers for developers.
The collection of libraries and resources is based on the relevant
Awesome Python List and direct contributions here.
If you wish to add a package to python.libhunt.com, please, check the contribute section


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/PlNqHGyd3Pk/

Original article

E-reader and tablet prices are getting amazingly low

If you’re looking for a cheap device on which to read those cheap e-books Amazon and others have on sale today, and $50 is still too much for you to pay, Amazon has a couple of used 7” Fire tablets available for about $30 each, with free Prime shipping. One of the least expensive e-readers you can get can now be had for even less. And a used Fire HD 6 can be had for about the same $50 price as a new 7” (or you can get a new one for just $20 more). And those are far from the only used Amazon devices available. (Add $20 to these prices to get rid of Special Offers, of course.) I don’t think these are one-day rates like the e-book listings, but they’re listed under the same “Gold Box deals” section.

When you get right down to it, Amazon has some great used and refurb deals even on its own competitors, such as the Nook Glowlight deal I mentioned yesterday. There are plenty of deals on Kobo readers, too—a $35 used N905, a $34 used Kobo Mini. I suppose it makes sense, since Borders isn’t around to sell them anymore. And I’ve discussed all the cheap non-Fire Android tablets you can find there in another post, though not all of them are necessarily any good.

There are plenty of other sources for cheap tablets, too. Groupon puts the Nexus 7 on sale from time to time. Ebay has some good prices on used kit, though you have to be careful and read the descriptions closely. Surplus and salvage places like GearXS have possible bargains, though they’re another caveat emptor case. Wal-Mart, Fry’s Electronics, Best Buy—there are lots of possibilities.

It honestly amazes me when I look at these prices just how cheap e-reader and tablet technology has gotten in just a few years. Even leaving aside all the off-brand and competitor stuff available, a $30 used Fire tablet might not be much of a tablet compared to more expensive Android devices, especially when you take into account the annoying restrictions on what software you can run. But it’s still a major-brand-name product that I’ve found to be pretty reliable.

It can still access the Internet, send or receive email, socially network, and so on. And, of course, it can read plenty of e-books and other material. (More so if you finagle the Google Play applications onto it.) Is an end to the digital divide just around the corner?

The post E-reader and tablet prices are getting amazingly low appeared first on TeleRead News: E-books, publishing, tech and beyond.


Original URL: http://www.teleread.com/e-reader-and-tablet-prices-are-getting-amazingly-low/

Original article

Facebook and blogging?

This post originated on Facebook.

Maybe Facebook should hire me to turn [Facebook] into a rational blogging system. It has so many advantages, and it’s really not missing that many features.

I have a sense that there aren’t many bloggers working there, or they aren’t letting them influence the product.

Blogging would be a very constructive thing for FB to invest in, not just for the net, but for Facebook. More and more the quality of their product depends on good content flowing through the timeline. And there will be more competition over time.

I really believe a thriving uncontrolled net is essential for the silos to be successful. Put another way, I think the product [there] is suffering because the tech industry in general has not been kind to the open web.

If I helped Facebook do this, it would be with the condition that the path for users to switch to a different system must always be kept easy and bug-free. Always. That would be a promise that couldn’t be broken.

But seriously, why not have our posts have a dual existence — on the open web and within the Facebook social graph. That’s a lot easier than AI or self-driving cars!! We totally know how to do it.

It’s just a thought I had, when I posted something [there] after not doing so for a long time. The ability to interact with friends is important, but we’re not creating lasting value with the work we do here. That’s a simple problem that could easily be fixed.

So if anyone at Facebook is listening, let me know if this is interesting to you.


Original URL: http://scripting.com/2016/04/23/1209.html

Original article

CERN Releases 300TB of Large Hadron Collider Data Into Open Access

An anonymous reader writes: The European Organization for Nuclear Research, known as CERN, has released 300 terabytes of collider data to the public. “Once we’ve exhausted our exploration of the data, we see no reason not to make them available publicly,” said Kati Lassila-Perini, a physicist who works on the Compact Muon Solenoid detector. “The benefits are numerous, from inspiring high school students to the training of the particle physicists of tomorrow. And personally, as CMS’s data preservation coordinator, this is a crucial part of ensuring the long-term availability of our research data,” she said in a news release accompanying the data. Much of the data is from 2011, and much of it is from protons colliding at 7 TeV (teraelectronvolts). The 300 terabytes of data includes both raw data from the detectors and “derived” datasets. CERN is providing tools to work with the data which is handy.


Share on Google+

Read more of this story at Slashdot.


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/L0u0loQINQM/cern-releases-300tb-of-large-hadron-collider-data-into-open-access

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: