Sunday, 17 July 2016

FreeType 2.7 Bringing DirectWrite/ClearType-Like Rendering -- Much Better Looking Fonts On Linux

FreeType 2.7.0 will be shipping with the v40 TrueType instructions interpreter enabled by default. This interpreter is going to "finally brings DirectWrite/ClearType-like rendering to the screen, or 'subpixel hinting' as some FreeType code calls it."

Nikolaus Waxweiler explained, "Here is the core secret to making fonts render like through DirectWrite/ClearType on Windows: There actually is no subpixel hinting going on here. Shock. The code simply ignores *all* horizontal hinting instructions. That's less work than supersampling and gets us almost identical results *and* additionally prevents changes to the advance width of glyphs. This greatly harmonizes the look of older and newer TrueType fonts and incidentally solves glyph spacing problems of less well instructed fonts. Switching to the new mode might take some getting used to though, so if you think your fonts are suddenly fat, fuzzy or weird, give your brain some time to adjust."

Long story short, FreeType 2.7.0 when released will provide for much better looking fonts on the Linux desktop! Fonts should now be more representative to how they appear on Windows. More details

here

.



Read the full article here by Phoronix

Monday, 11 July 2016

Realtime data processing at Facebook

I accidentally broke the super-rugged Cat S60 smartphone

This year's Mobile World Congress played host to plenty of phones I couldn't stop playing with, and the $599, Caterpillar-branded Cat S60 was near the top of my list. First, though, a painfully obvious disclosure: I have never, nor do I currently, work in construction. I'm not an outdoorsman either, and I'm a terrible amateur plumber. That makes me half a lousy test subject here -- Bullitt Group, the UK-based phone maker that licenses the Caterpillar brand, is targeting people working trades and people rough on their phones. I can definitely be the latter, but either way, there's more to the S60 than just how hardy it is.

It is hardy, by the way. The bulky body is rated to handle drops as high as 1.8 meters (just about 6 feet), and its Micro USB and headphone jacks can be sealed. More importantly, it runs a near-stock version of Android 6.0 Marshmallow, sports a surprisingly quick Snapdragon 617/3GB of RAM combo and doubles as the first smartphone in the world with a built-in thermal imager (more on that later). There's an SOS button, too, though it's supposedly going to be replaced by a more traditional camera button for the final release. Up front, we're treated to a 4.7-inch 720p display with colors that look washed out under even generous circumstances, and the 3,800mAh battery that kept the S60 running for two full days of pretty consistent use on a single charge. Naturally, all of that was squeezed into a hefty frame (think half an inch thick), complete with physical navigation keys and a peculiar "antenna" of sorts up top.

Beyond that, the S60 can handle submersion in up to 5 meters (nearly 16.5 feet) of water for up to an hour. Trying doing that with your Galaxy S7 Active. Granted, I didn't have 16 feet of water to dive into for testing purposes, but I did drag the phone down to the bottom of a pool 8 feet deep, and it kept ticking just fine. Side note: assuming you've got some music loaded onto the S60's 32GB of internal storage, the speakers work just fine underwater. Just keep your wits about you before your deep dives: there are two switches you'll have to flip on the S60's face to toggle between waterproofing for 2 meters and 6 meters. I seriously wonder how much difference those switches made internally, but man, I didn't have the guts to sink to the bottom of that pool without making sure they were in the right position.

In some cases, though, those switches didn't make a lick of difference. On the S60's backside, there's a tiny door that reveals the nanoSIM and microSD card slots when opened. The thing is, it doesn't take a whole lot of effort to open that door. While the phone survived two hours (on and off) with me in the pool, the door apparently popped open when I dropped the phone into 6 inches of murky creek water. A few telltale bubbles coming from the phone told me something wasn't right, and for the first few minutes after removing the phone from the water, it worked just fine. In fact, it even suggested running the usual Speaker Dry app, which attempts to expel water from the speaker by playing high pitched tones and vibrating. Eventually, though, the phone stopped working entirely, though not before I played with the S60's marquee feature.

Caterpillar branding and crazy waterproofing aside, the one reason anyone would really consider owning the S60 is because of the built-in Lepton camera. Ever see one of those derivative police chase shows where some wily culprit keeps evading the cops, so they have to drag out the helicopter with the thermal camera to find the perp hiding under a bush? That's more or less what we've got here, but the phone's ambitions are in a way more mundane -- contractors and construction workers could use it to spot areas where insulation isn't doing its job, and plumbers could track the flow of warm water. The S60 is, in short, a phone designed first and foremost with business in mind.

You'd better believe it makes for a fun toy, though. FLIR's Lepton camera and the 13-megapixel camera around the back work in tandem, with the thermal image superimposed over the live image from traditional sensor. With it, I could tell that my colleague Devindra's face was on average about 71 degrees, or that flip flops are better at retaining heat than one might expect. Oh, and yes, taking thermal selfies is pretty damned cool. The S60 also helped reveal some peculiar (and perhaps obvious) truths about the physical world around me -- I expected to see a friend's warm orange figure as he hid behind a thick fleece blanket, for instance, but the fabric masked his presence with a chilly violet veneer.

If the standard "yellow-white is hot, dark purple is cool" color scheme doesn't do it for you, there are also several other options to choose from, each somehow trippier than the last. Did I manage to use the Cat S60 for anything actually useful? Not exactly, but I don't think that's necessarily a bad thing. It reminds me of a pair of digital calipers I bought off eBay at the behest of an old boss: I never used them for anything important, but that doesn't mean I didn't measure everything in sight for a few weeks. It's just fun.

It also seems mostly accurate, too. You can toggle a reticle that appears dead center on the screen, and lining it up with a subject yields a temperature that was typically within 5 or 6 degrees Fahrenheit of what a laser thermometer reported. Variances in temperature reporting don't matter all that much to me, but the relatively small window of accuracy makes the S60 more valuable as an honest-to-goodness tool. The obvious flip side is that a 5 or 6-degree difference won't cut it for certain work situations -- the sciences come to mind -- so the S60 seems best used to suss out the broad temperature strokes of a situation.

Let's be real: there's a very good chance you don't need a Cat S60. As my colleague Nick pointed out back at MWC, you'd pay near-flagship prices for a phone that doesn't behave like a normal flagship, not to mention a phone that's nearly twice as thick as devices that cost the same. What it is, though, is compelling, and surprisingly useful -- that's something you just can't say about a lot of smartphones these days. It's too bad my review unit's finicky door led to its demise, though; with any luck, the folks at Bullitt will get that ironed out before you can buy one later this month.



Read the full article here by Engadget

Pokémon Go

Still waiting for the Pokémon Go update that lets you capture strangers' pets.

Read the full article here by xkcd.com

Ubuntu's Unity Desktop Can Now Run Natively On Windows

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.



Read the full article here by Phoronix

Sunday, 10 July 2016

Full year 3D Course in Verona, Italy with Blender, Maya, Unreal, Unity and Photoshop

papalagi writes: Hello Blenderheads, Istituto Palladio in Verona, Italy organises a course for 3D Artist, focused on the creation of Videogame|VR environments, props and characters. The proposed workflow will be based on Blender and Photoshop for asset modeling, texturing and optimization, and Maya for character animation. Unreal Engine 4 will be the RT engine of [...]

The post Full year 3D Course in Verona, Italy with Blender, Maya, Unreal, Unity and Photoshop appeared first on BlenderNation.



Read the full article here by BlenderNation

There’s a new patent-free fast charging system for electric buses

(credit: Proterra)

As Tesla and its Supercharger network have demonstrated, it's a lot easier for people to make the switch to electric vehicles if there's a robust and rapid charging infrastructure in place. But we have to electrify more than just passenger vehicles if we want to get serious about reducing emissions. EV manufacturer Proterra certainly thinks so, which is why it just opened up the patents for a new fast-charging system it has developed for electric buses.

Not all heavy-duty vehicle applications lend themselves to electric powertrains—think long distance freight trucking, for example. However, buses, garbage trucks, and other vehicles that make frequent stops on urban routes are ripe for battery power, provided they can recharge and get back to work with minimal downtime. Which is where Proterra's charging system comes in.

Proterra's high-voltage overhead charging system uses robotic control (and some autonomous software on the bus) to replenish bus batteries in as little as 10 minutes, depending on the size of the battery pack. Charging at 250-1000V (DC) and up to 1400A, the system is eight times faster than the CHAdeMO fast-charging standard and between three and four times faster than Tesla's Superchargers. And unlike the old-fashioned pantograph, which needs to cover the vehicle's entire route, Proterra's system is static. This means bus operators can install them in terminals or at the same locations they use to refill their diesel tanks.

Read 5 remaining paragraphs | Comments



Read the full article here by Ars Technica

In time warping study, people unconsciously controlled blood sugar levels

The Bagel Smart Tape

The Bagel Tape is a bit of a misnomer since there’s no actual tape to speak of, but it is a measuring device that packs a few features never seen elsewhere. It works on three modes: String, Wheel, and Remote Mode. On the first, you simply pull the measuring string out and the digital display will tell you exactly how far out it’s been extended. On Wheel mode, you hold the Bagel Tape with one hand and roll it on a surface to get its length. And finally, on Remote More, an ultrasonic sensor will bounce off walls and tell you how far away they are. All measurements can be sent to your smartphone, and annotated with a voice memo. So that way you don’t have to write anything down, and you’ll easily remember which measurement is for what. Priced at $60...(Read...)



Read the full article here by Likecool

Friday, 8 July 2016

France’s Inria unveils open source preservation project

France's national computer science institute, Inria, has unveiled its Software Heritage archive. The project aims to “collect, organise, preserve, and make accessible all the source code for all available software”.

Read more

read more



Read the full article here by tuxmachines.org

Thursday, 7 July 2016

Ubuntu 14.04.5 LTS to Deliver the Kernel & Graphics Stack from Ubuntu 16.04 LTS

On August 4, 2016, Canonical will announce the fifth and last point release of its long-term supported Ubuntu 14.04 LTS (Trusty Tahr) operating system, Ubuntu 14.04.5 LTS.

Read more

read more



Read the full article here by tuxmachines.org

Avast acquista AVG per 1.3 miliardi di dollari

Una delle domande che ci rivolgete più di frequente riguarda il miglior antivirus gratuito da installare sul PC. A seconda degli scenari, la scelta si riconduce piuttosto spesso a due tra i più noti protagonisti nel settore della sicurezza informatica: Avast e AVG.

Due big che, presto, diventeranno una.

Avast ha infatti annunciato l’intenzione di acquistare AVG al fine di potenziare la sua offerta ed ampliare il suo mercato nel settore della sicurezza.

Avast acquista AVG

Oltre ad essere estremamente note per le rispettive suite gratuite, infatti, sia Avast che AVG hanno una fetta di mercato in settori che si allontanano dai PC con sistemi operativi Windows – allargandosi a server e desktop Linux, dispositivi Android e soluzioni integrate.

Di fatto, il deal già approvato da entrambi i CdA prevede che Avast paghi 25 dollari in contanti per ogni azione di AVG, per un totale di circa 1.3 miliardi di dollari.

L’intenzione di Avast è, chiaramente, quella di espandersi sul mercato offrendo unitamente alla tecnologia in possesso di AVG servizi gratuiti e non per una categoria sempre maggiore di scenari e dispositivi che, oltre ai “classici” PC, abbracceranno in maniera sempre maggiore settori quali il mobile e la Internet of Things.

Secondo le previsioni, infatti, dopo la fusione Avast si troverà pronto un parco utenza pari ad oltre 400 milioni di dispositivi, di cui 160 milioni sono mobile.

Insomma una rivoluzione pronta ad unire due dei più forti protagonisti sulla scena della sicurezza informatica che, a forze unite, potrebbero dare del filo da torcere a colossi quali Kaspersky e Symantec.

L’acquisizione, secondo le stime, sarà finalizzata entro il prossimo autunno.

L’articolo Avast acquista AVG per 1.3 miliardi di dollari appare per la prima volta su Chimera Revo – News, guide e recensioni sul Mondo della tecnologia.



Read the full article here by Linux Feed

EPIC GAMES ANNOUNCES STAGGERING UNREAL ENGINE 4 GROWTH

Last year Epic Games broke down the barriers of game development and stunned the industry at the 2015 Games Developer Conference by releasing Unreal Engine 4 to the public for free, making the world’s most powerful engine even more accessible for developers building content for PC, console, mobile and virtual reality platforms. Today Epic Games has confirmed that since going free, the Unreal community has seen massive growth, with more than 2 million developers using the studio’s real-time 3D engine. The news comes on the heels of Epic confirming 1.5 million developers in the UE4 community in March at GDC, speaking directly to the rapid growth the engine has seen in recent months.

Снимок экрана 2016-07-07 в 19.48.45

The engine’s momentum was on full display last month as more than 80 Unreal Engine games were present at this year’s E3. The week kicked off with Xbox and PlayStation’s press conferences, highlighting a variety of Unreal-powered titles, including Gears of War 4, Batman: Arkham VR, TEKKEN 7, Sea of Thieves, Day’s Gone, We Happy Few, Scalebound, EVE: Valkyrie and more! On the showfloor, Unreal games ran the gamut from triple-A to up-and-coming indie projects; included were Absolver, ABZU, Injustice 2, LawBreakers, Ghostbusters, ARK: Primal Survival, Killing Floor 2 and Vampyr – collectively they represent a stellar cross-section of the industry, with many racking up numerous Game Critic Award nominations.

In addition, the engine had a strong presence at the E3 College Game Competition, with four out of the five finalist teams developing on UE4. Savannah College of Art and Design (SCAD) took home the win for their Unreal-powered VR game, Brobot Beat Down. Following the show, the Epic team released more than a dozen interviews with developers, as well as the results of its Unreal E3 Awards, which can be found on Epic’s E3 2016 YouTube playlist.

Official Press Release

Share This!
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Pinterest
Contact us

© artem for 80lvl, 2016. | Permalink | No comment | Add to del.icio.us
Post tags: , , , , , , , , , , , ,

Feed enhanced by Better Feed from Ozh



Read the full article here by 80lvl

Wednesday, 6 July 2016

Eye Tracking On A Formula 1 Car

Sky Sports explores the near-superhuman skills and reaction times of Formula 1 driver Nico Hulkenberg as he wears special eye-tracking goggles...(Read...)



Read the full article here by Likecool

Sunday, 3 July 2016

Multitasking Drains Your Brain's Energy Reserves, Researchers Say

An anonymous reader quotes an article from Quartz: When we attempt to multitask, we don't actually do more than one activity at once, but quickly switch between them. And this switching is exhausting. It uses up oxygenated glucose in the brain, running down the same fuel that's needed to focus on a task... "That switching comes with a biological cost that ends up making us feel tired much more quickly than if we sustain attention on one thing," says Daniel Levitin, professor of behavioral neuroscience at McGill University. "People eat more, they take more caffeine. Often what you really need in that moment isn't caffeine, but just a break. If you aren't taking regular breaks every couple of hours, your brain won't benefit from that extra cup of coffee." Anyone have any anecdotal experiences that back this up?
Share on Google+

Read more of this story at Slashdot.



Read the full article here by Slashdot

Google adds built-in Cast option to Chrome for desktop

Google has begun rolling out a built-in Cast option for Chrome 51. You simply have to right click a tab or click the hamburger button on the right-hand part of the desktop browser to find a line in the menu that says "Cast..." Doesn't mean the old extension is completely useless now, though -- you don't need it to beam anything to your Chromecast anymore, but you could still use it as a shortcut. Besides, it looks like the feature isn't available for everyone just yet, even for those with up-to-date Chrome browsers. If you still don't have access to it, you may want to hold off on uninstalling the extension and checking your menus every now and then.

Google will also give you the power to mirror tabs into Google Hangouts when the stable version of Chrome 52 comes out. To be precise, it will enable you to Cast to cloud services including Hangouts, though it's unclear what other services will work with it in the future.

Via: 9to5Google, Android Police

Source: Google (1), (2)



Read the full article here by Engadget

Saturday, 2 July 2016

Mozilla involves the community in its “open-source” rebrand

Mozilla is bending the terms of the rebrand with a “branding without walls” open-source initiative.

Read more

read more



Read the full article here by tuxmachines.org

BlackBerry is working on 3 new Android phones, codenamed Neon, Argon, and Mercury

Despite reports of lackluster sales for its first Android smartphone, BlackBerry is tripling down on the platform in the coming year. According to a person briefed on the company’s plans, the Canadian manufacturer will be releasing one phone per quarter for the next three quarters.

Codenamed Neon, Argon, and Mercury, the trio will target a range of form factors and price points, according to the briefed individual.

Read more

read more



Read the full article here by tuxmachines.org

Friday, 1 July 2016

Why do we use the Linux kernel's TCP stack?

I'm at PolyConf in Poland today, and I watched this super interesting talk by Leandro Pereira about Lwan, an ~8000 line of code web server. He talked about a bunch of the optimizations they'd done (improve CPU cache performance! be really careful about locking!). You can read more about the performance on the website & the links there.

It's a super cool project because it started out as a hobby project, and now he says it's getting to a state where it kinda actually really works and people are using it for real things. This web server is extremely fast -- it can do, in some benchmarks, 2 million requests per second.

Before I start talking about this -- of course practically nobody needs to do 2 million requests per second. I sure don't. But thinking about high performance computing is a really awesome way to understand the limits of computers better!

I tracked him down to ask him questions later, and he mentioned that most of the time is spent talking to the Linux kernel and copying things back and forth.

writing your own tcp stack is way faster

Then he said something really surprising: that in the Seastar HTTP framework, they wrote their own TCP stack, and it made everything several times times faster. What?!

So -- this made me wonder. When we do high performance networking -- why do we bother using the Linux kernel's TCP stack at all, if it's so expensive? Why not just do all the networking in userspace? I had no idea where to start with this question, so I asked on Twitter. As often happens, you all came through with ONE BILLION INTERESTING LINKS AND ANSWERS.

embedded devices

If you're working on a very small computer without an operating system, you sometimes need to do networking anyway! In this case it seems pretty common to use a separate TCP stack. A ton of people mentioned that they either used lwIP or wrote their own TCP stack to meet their own specific requirements.

I asked a few people whether anyone uses lwIP on a Real Server, but it seems like it's optimized for small devices, and not for doing huge amounts of network traffic on big servers.

high frequency trading

Who cares about doing a ton of very fast network requests? People who do high frequency trading! Luke Gorrie on Twitter (who works on the extremely cool Snabb Switch open source Ethernet stack) said:

Solarflare sell a userspace TCP stack to HFT market (OpenOnload) for use with their NICs. Code is GPL actually.

So, this makes a lot of sense. If you want to do super high performance networking, you can probably afford to buy special network cards and special software to make those network cards perform super well. Cool. But what if you want to do higher performance networking on commodity hardware, with any random network card? Is that a thing?

what about Google?

Who else does a ton of networking? Google! Happily Google sometimes writes papers so we know a little bit about what they do htere.

Tons of people told me about Maglev, which is Google's load balancer, and they do all of their networking for that in userspace! I think they operate at a lower level than TCP so they don't have a TCP stack, but it is an example of extremely fast networking without using the Linux kernel.

I haven't read the Maglev paper yet but it seems like a good starting point.

There's also this blog post and paper about software-defined networking at Google. A useful keyword here seems to be "Jupiter" or "Jupiter fabrics" but I'm not sure what that is. Here's another article though.

is the real reason to write your own TCP stack for performance?

@tgraf__ made a super interesting point -- I thought the reason you would make your own TCP stack was to make it fast. But maybe not always!!

Google can't force Android vendors to rebase kernels but requires new TCP functionality such as TCP fast open.

The TCP standard is evolving, and if you have to always use your kernel's TCP stack, that means you can NEVER EVOLVE.

why is TCP in the kernel slow?

This article from LWN "Van Jacobsen's network channels" says that dealing with TCP in kernel space means locks and contention. thanks for @tef_ebooks for linking this article and explaining it to me :)

The key to better networking scalability, says Van, is to get rid of locking and shared data as much as possible, and to make sure that as much processing work as possible is done on the CPU where the application is running. It is, he says, simply the end-to-end principle in action yet again. This principle, which says that all of the intelligence in the network belongs at the ends of the connections, doesn't stop at the kernel. It should continue, pushing as much work as possible out of the core kernel and toward the actual applications.

how does Seastar work?

That fast networking framework Seastar from before is written using something from Intel called DPDK. The deal with DPDK seems to be that it's a network card driver and some libraries, but instead of it giving you packets through interrupts (asynchronously), instead it polls the network card and say "do you have a packet yet? now? now? now?".

This makes sense to me because in general if you always have new events to process, then polling is faster (because you basically don't have to wait). Here's some documentation about the poll mode driver and an [example of a DPDK] application.

I think with DPDK you can write networking applications that work entirely in userspace with no system calls. Cory Benfield explained a bunch of these things to me.

open source stuff right now: pretty specific

As far as I can tell, there aren't any available general purpose open source userspace TCP/IP stacks available. There are a few specialized ones, but this does not seem to exist right now. But people seem to be interested in the topic!

some more links

Here are some more links that do networking in userspace! This is mostly a link dump so that I can click on them later but maybe you will like them too.

zmap is a TCP port scanner.

masscan is another TCP port scanner. It says it can scan the entire internet in 5 minutes. What? Outlandish! I will need to read more about this!

LKL is an attempt to make the Linux kernel networking code (as well as other Linux code) into a library (!!) so that we can use it in userspace. This sounds like a monumental effort and also extremely interesting. @thehakime said about this:. Here's a talk about LKL.

there are so many uspace network stacks (mtcp, lwip, seastar, sandstrom) but all are so specialized. I think it can be generalized.

libuinet is a library version of FreeBSD's TCP stack. I guess there's a theme here.

mtcp is a userspace TCP stack. I don't know anything about it. There's also uip and lwIP.

phew.

Okay, that was a lot of new facts and ideas to come out of the comment "a lot of the overhead of a HTTP server is communicating with the kernel".

I like how if you ask the right questions Twitter will just hurl super interesting information at you until you're like OK OK OK MY BRAIN IS FULL. And then they keep telling you awesome stuff anyway :)

There seems to be a lot of work going on here! There are like 100 interesting rabbit holes which I have zero time to investigate right now! Awesome.



Read the full article here by Julia Evans