Diberdayakan oleh Blogger.
Tampilkan postingan dengan label Style. Tampilkan semua postingan
Tampilkan postingan dengan label Style. Tampilkan semua postingan

Kamis, 24 April 2014

Add a Spreadsheet Style "Sum" Menu to Any App with this System Service

Add a Spreadsheet Style "Sum" Menu to Any App with this System Service

Mac: The "Sum" function in spreadsheets is great, but if you're not the type to do all your list-making in Excel, coder Brett Terpstra built an OS X System Service that allows you to total up any set of numbers in any document.

Once the system service is installed, you can start selecting and totalling up text. Just select a block of numbers, right-click it, and choose "Total Numbers." You'll then get an output with the total. If you're the type to make lists in plain text or Markdown, this is a great way to sum up a total without dropping it all into a spreadsheet or pulling out a calculator.

A Service for getting sums from selections | Brett Terpstra



View the Original article

Selasa, 15 April 2014

Samsung announces new entry-level Galaxy Ace Style

galaxy-ace-style

Samsung has now officially taken the wraps off the latest member of its Galaxy Ace family, dubbed the Galaxy Ace Style. As you’d expect from Samsung’s budget line, the handset features relatively modest specs combined with a fairly affordable price tag.

The Ace Style is powered by a 1.2GHz dual-core CPU and packs just 512MB RAM. There’s also a 4-inch WVGA display, a 5MP rear camera, VGA front cam, 4GB storage and a 1500 mAh battery. While the specs aren’t at all impressive, at least the device does manage to offer Android 4.4. KitKat (with TouchWiz), which is said to perform much better with devices that carry 512MB RAM than Jelly Bean.

As for the price? Samsung has yet to officially unveil pricing, but it is reportedly suggested that it will sell somewhere between €200 and €300 outright — or roughly between $275 and $400. The handset is expected to arrive worldwide in the beginning of April (now basically), in Cream White or Dark Gray.

Although the Ace Style’s suggested pricing is much lower than a typical flagship or even mid-range device, it certainly seems a little high for a budget handset. This is especially true when you consider that the Motorola Moto G is offered for as little as $180 in the U.S., or around €169 throughout several markets in Europe. Of course, Samsung still has brand recognition in its favor, particularly in European countries.

What do you think of the Galaxy Ace Style, a more than good enough entry-level device for those with modest needs? Conversely, do you feel that Samsung needs to up its game in the low-end market, in terms of both specs and pricing?

Rabu, 26 Maret 2014

The JiveBike Is A Fold-Up Electric Bike With Style

We’ve seen more personal e-vehicles sprout up in the last year than I care to remember, but today yet another joins the fray.

Meet the JiveBike.

Unlike one category of e-bikes that look and feel just like a regular bike, the JiveBike’s appearance is a bit different. It has a low center bar, which holds the batteries and the Raspberry PI CPU that’s running the show. But, at the same time, the JiveBike doesn’t look so different from a traditional bike that you will turn into some spectacle on the road.

Oh, and it folds.

We’ve seen e-vehicles that fold down to compactness before — the Urb-E, in particular, comes to mind — but not very many e-bikes maintain the appearance of a real bike and still fold down to something more manageable.

Screenshot 2014-03-24 09.54.30

The JiveBike can last 20 miles on a two-hour charge, with a maximum speed of around 15 miles per hour.

You can choose between three driving modes: electric, manual or assisted pedaling.

Plus, it also comes with a mount for your smartphone, and Bluetooth connectivity so you can pair with the JiveBike app, letting you see how many miles are left on the bike and charging status. And if that weren’t enough, you can plug in your route on maps and have easy-to-read directions while riding around.

There’s just one caveat. The price on this bad boy is sky high. You can pre-order a JiveBike now by paying half of the full price, which is just north of $2,000, and then pay the second half of the pre-order after receiving your JiveBike and testing it out.

Pre-orders are available here.

Selasa, 25 Maret 2014

Automating Layouts Bring Flipboard’s Magazine Style To Web And Windows

Good layout design frames a story and impacts how you are informed by the content. For example, in the hallways of Sports Illustrated, editors hang up every page of the print edition to be reviewed and manually tweaked before publication.

When you read Flipboard, articles and photographs are laid out in a series of pages you can flip through, just like in a print magazine. Each magazine page layout feels hand-crafted and beautiful — as if editors and designers created it just for you.

We automate the whole process of layout design and editing by slotting your content into custom-designed page layouts — like fitting puzzle pieces together. We start with a set of page layouts created by human designers. Then our layout engine figures out how to best fit your content into these layouts, considering things like page density, pacing, rhythm, image crop and scale. In many ways, that is the key to Flipboard’s signature look and feel: at its heart are the work of real designers.

In the beginning

In 2010, we built Flipboard Pages, a layout engine that turns web page articles into magazine pages for the iPad.

Flipboard Pages paginates content from world-class publications, including Vanity Fair (below left) and National Geographic.

vanfair-natgeo1Pages can produce beautiful layouts, replicating the brand identity and custom typography of each publication. It used CSS3, SVG and vanilla JavaScript to make rendering as high fidelity and performant as possible on constrained mobile devices (such as the original iPad running iOS 3.2). The download footprint for a publication’s layouts averaged around 90K for layouts, styling, fonts and nameplate images–lighter than the equivalent web page or a single photograph from an article.

A designer first creates a set of about 20 page layouts, divided up into portrait (768×1004) and landscape (1024×748) orientations. From this set, Pages selects the layout that best fits the desired content, inserts the content into the layout, and produces a final page. With this example-based approach, we rely on designers to make layouts clear, distinct and beautiful.

While Pages could create great layouts, they only worked at a specifically designed size. Web and Windows 8 [1] presented a new challenge: Users can resize browser windows to any size at any time. To support arbitrary sizes, we needed something better.

Introducing Duplo

Duplo is a new layout engine that starts with the ideas in Pages but uses a modular block and grid system to quickly fit content into thousands of page layouts in all sizes.

See for yourself: open this magazine on the web, flip a few pages, then resize your browser window randomly for a bit. Flipboard’s page layouts will instantly adapt to fit the available window size. That’s Duplo in action.

Duplo starts in a similar way as Pages: A designer creates a set of layouts. From this set, Pages selects the layout that best fits the desired content.

However, while Pages looks at about 20 candidate layouts, Duplo looks at anywhere between 2,000 to 6,000 candidates, searching for the best layout to fit the content.

duplo-candidates

A subset of the 2000+ candidate layouts for 3-column landscape page sizes.

Implementation

Like Pages, Duplo is a JavaScript-based engine that runs in your web browser. JavaScript offers rapid development, portability and first-class functions; CSS3 gives a strong base for typography and formatting. This approach keeps our footprint light and scales well to Retina devices.

Duplo runs in four main stages: creating layouts, selecting layouts, refining layouts and displaying layouts.

Creating Layouts

Designing 2000+ layouts by hand quickly becomes untenable, so Duplo’s layout generator assembles smaller pieces into larger layouts according to a designer’s guidelines.

designer-guidelines

A designer’s guidelines for page balance and harmony can be nuanced, so we simply represent these guidelines as example layouts, building up a tree of possible full layout options, much like a tree of valid chess moves.

layout-options1

Duplo also considers hand-made full-page layouts alongside assembled layouts when searching for the best match.

Selecting Layouts And Applying Content

Once Duplo has generated a set of layout permutations, Duplo has to figure out which of the 2000+ layouts is the best match to use for the given content.

First, Duplo compares the contents’ structure against the layout’s content slots to see how closely it matches. Next, Duplo computes the best pairings of content with slots by optimizing a fitness function built on dozens of individually weighted heuristics. Some of these heuristics are page flow, the amount of text to fill the given frame, content coherence across window resizes, and image feature detection, aspect ratio, scale and crop.

Page flow. We apply Perlin noise to give an organic sense of variety to the types and number of items on a page. The component noise functions approximate how an editor might pace elements through magazine pages.

page-flow1

Visualizing page flow scoring weight changes.

Amount of text to fill the given frame. We estimate the percentage of the frame that will contain the text, giving higher weights to text that fills 80 percent or more of the frame.

Content coherence across window resizes. Items that were previously present on a page are given a weighted bonus when they appear together in a candidate layout. More weight is given if items maintain a similar ordering.

Image feature detection, aspect ratio, scale, crop. We calculate the amount of scaling and cropping needed for an image to fit the frame, giving higher weights to images that best fit the frame with minimal crop and upsampled scaling that doesn’t exceed 120 percent. We also perform server-side detection of important image features, such as faces and foreground subjects, using OpenCV.

image-feature-detection

Image scale, crop and feature detection matching.

Brute force searching through all the possible candidates can be very slow. Duplo prunes the candidate search space with a branch and bound algorithm discarding options that don’t yield an optimal fit. It is a lot like efficiently searching for the best next move in a chess game.

All these heuristics serve to approximate what human designers or editors do when laying out a magazine.

Refining Layouts

Once an optimal layout is chosen, Duplo refines it. Frames are aligned to a baseline grid. Image frames are sized to best fit a target image. Frames styled with full-bleed attributes are extended to the page boundaries.

The image below is before refinement. Note that text and headlines are not aligned to the baseline grid.

refinement-before

And below is an example of after refinement. Note that the text and headlines are now aligned to the baseline grid. Image viewports are adjusted to crop images less.

refinement-after

Displaying Layouts

When Duplo reaches the rendering stage, most of the puzzle has been solved. We now have a refined, well-considered layout that can be rendered a number of ways. But for this discussion, the layout is rendered lazily as an HTML DOM. Images are loaded, scaled and cropped and dynamic data is fetched. Text is now precisely flowed into layout frames, either overflowing in the case of article text, or resized in the case of headline text. Duplo uses a type scale to size headline text down according to a designer’s specifications — lighter weights at large sizes and heavier weights at smaller sizes, all chosen by a designer to work well together.

type-scale1

A headline set in descending steps of a type scale. Larger size text is set in lighter weights, smaller size text in heavier weights. Duplo will adjust until the headline fits within the bounding region, and if possible, optimize for a 1.61 width to height ratio.

Conclusion

In so many ways, the story of Flipboard is emblematic of the modern age: The best results often come from a partnership between humans and technology. The predominant narrative of this age of networked hardware and software is the displacement of humans by computers and robots, but again and again, when we look at the best possible results in areas like curation, recommendations and personalization, the optimal strategy pairs humans with software.

Similar approaches are used in visual effects. Image-based rendering uses reference photographs and simple models to photorealistically render new scenes. Photographs capture all the dirt and detail in the real world that CG artists cannot fully recreate, allowing a visual effects team to cross the uncanny valley [2].

The same is true for dynamic content layout: We achieve far better results by fitting content to a large set of designer-created layouts rather than approximating layouts with a more pure algorithmic approach such as linear constraints.

sample-article

Sample article page layouts at various sizes from I Want To Go To There by Paul Katz [3].

Ultimately, what we’ve done with Pages and Duplo is take the elements of magazine layout design — a powerful tool in framing a story and its impact on the reader — and created a way to automate the process, while still capturing the essence and art of a human designer’s craft.

As we continue this journey, it’s exciting to imagine how humans and computers will work closer together to break new frontiers in art and science.

While we’re happy with what we’ve made so far, we’re never satisfied — there is still so much more to do. If you are interested in working on these kinds of problems, we’re hiring.

Editor’s note: Charles Ying is a developer at Flipboard leading all web technology engineering. Prior to Flipboard, Charles held senior engineering roles at Sony, Hi5, Openwave, and other technology companies.

[1] Flipboard for Windows 8 is a hybrid app that is 90% web based.
[2] In 2000, The Matrix, one of the first films to use image based rendering, won an Academy Award for Visual Effects, beating Star Wars: Episode I, a film packed with cutting edge but traditionally created CG visual effects.
[3]  I Want To Go To There by Paul Katz

Image by matka_Wariatka/Shutterstock

Jumat, 21 Maret 2014

Style Lend Launches Out Of Y Combinator To Be The Airbnb For Women’s Closets

Collaborative consumption marketplaces have taken off in recent years to let people share many of the big ticket items in their lives: houses, apartments, cars. A new startup called Style Lend is gunning to be the go-to site for sharing the big ticket items that are sitting in women’s closets.

Essentially an Airbnb for high-end dresses and accessories, Style Lend is a peer-to-peer marketplace where women can list and rent items for a fraction of their original retail cost. Most women can relate to having at least a couple items in their closets that cost a lot of money, but get very little wear: That one special occasion dress, or designer handbag. These kinds of items stick around because they aren’t quite candidates for consignment. She loves them and wants to keep them, but the truth is that they stay in the closet 95% of the time.

How it works

Much like Airbnb, Style Lend’s purported edge is in the convenience and assurance provided by its added services. For the dress lender, there are two levels of Style Lend’s service: DIY, where the lender gets 70 percent of the rental cost, and “on demand,” where the fee is split 50/50 and Style Lend takes care of details like the dry cleaning before the items are returned. Lenders can also pay $5 for insurance that will handle issues such as small stains, broken zippers, and ripped fabric.

A dress available for rent in San Francisco on Style Lend.

A dress available for rent in San Francisco on Style Lend.

Style Lend CEO Lona Duncan came by TechCrunch headquarters to explain the service and show us the kinds of dresses it offers in person. You can watch that in the video embedded above.

Duncan says that Style Lend is meant to be a win/win transaction: The dress owner gets to monetize the “investment pieces” in her wardrobe and show off her taste to the Style Lend community. The borrower gets to sport a stylish dress or designer purse at a fraction of the price it would take to own it. The site is meant to be a true marketplace, where renters are also borrowers, and vice versa.

The dresses in Style Lend’s “high end designer” category have an average retail value of $2,155, and cost $120 per week to rent. Style Lend requires that each dress on its site have a minimum retail price of $150. Dresses at that “cost-conscious designer” level are rented out at an average price of $30 per week.

Right now Style Lend is only in San Francisco, but it plans to roll out in New York City and other metro areas in the coming months. The company is currently in the winter 2014 class of Y Combinator, which is scheduled to hold its Demo Day next week.

The bigger picture

Fashion may seem like a frivolous space, but it’s a massive industry that has a big impact on the world.

Nowadays, more and more women want to keep up with trends and experiment with different looks. But many can’t justify investing a lot of money on items that they’ll wear only a couple of times. That’s led to the rise of disposable “fast fashion,” which has negative repercussions on human rights and the environment.

If it takes off, Style Lend could help to counteract this shift by encouraging women to buy fewer, better things. If a woman knew that she could share an item with others and make money on it, she might choose to buy the $200 silk Amour Vert dress that’s responsibly made in the U.S., instead of the $40 polyester Forever 21 dress that’s made in a factory with questionable low-cost labor practices. It’s an optimistic vision, but Style Lend has the potential to make it a reality.