[$] Development statistics for the 5.0 kernel

Post Syndicated from corbet original https://lwn.net/Articles/780271/rss

The announcement of the 5.0-rc7 kernel
prepatch on February 17 signaled the imminent release of the final 5.0
kernel and the end of this development cycle. 5.0, as it turns out,
brought in fewer changesets than its immediate predecessors, but it was
still a busy cycle with a lot of developers participating. Read on for an
overview of where the work came from in this release cycle.

Make art with LEDs | HackSpace magazine #16

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/make-art-with-leds-hackspace-16/

Create something beautiful with silicon, electricity, your endless imagination, and HackSpace magazine issue 16 — out today!

HackSpace magazine 16

LEDs are awesome

Basically, LEDs are components that convert electrical power into light. Connect them to a power source (with some form of current limiter) in the right orientation, and they’ll glow.

Each LED has a single colour. Fortunately, manufacturers can pack three LEDs (red, green, and blue) into a single component, and varying the power to each LED-within-an-LED produces a wide range of hues. However, by itself, this type of colourful LED is a little tricky to control: each requires three inputs, so a simple 10×10 matrix would require 300 inputs. But there’s a particular trick electronics manufacturers have that make RGB LEDs easy to use: making the LEDs addressable!

An RGB LED

Look: you can clearly see the red, green, and blue elements of this RGB LED

Addressable LEDs

Addressable LEDs have microcontrollers built into them. These aren’t powerful, programmable microcontrollers, they’re just able to handle a simple communications protocol. There are quite a few different types of addressable LEDs, but two are most popular with makers: WS2812 (often called NeoPixels) and APA102 (often called DotStars). Both are widely available from maker stores and direct-from-China websites. NeoPixels use a single data line, while DotStars use a signal and a clock line. Both, however, are chainable. This means that you connect one (for NeoPixels) or two (for DotStars) pins of your microcontroller to the Data In connectors on the first LED, then the output of this LED to the input of the next, and so on.

Exactly how many LEDs you can chain together depends on a few different things, including the power of the microcontroller and the intended refresh rate. Often, though, the limiting factor for most hobbyists is the amount of electricity you need.

Which type to use

The big difference between NeoPixels and DotStars comes down to the speed of them. LEDs are made dimmer by turning them off and on very quickly. The proportion of the time they’re off, the dimmer they are. This is known as pulse-width modulation (PWM). The speed at which this blinking on and off can have implications for some makes, such as when the LEDs are moving quickly.

NeoPixels

  • Cheap
  • Slowish refresh rate
  • Slowish PWM rate

DotStars

  • More expensive
  • Faster refresh rate
  • Fast PWM rate
NeoPixels moving in the dark

As a NeoPixel is moved through a long-exposure photograph, you can see it blink on and off. DotStars – which have a faster PWM rate – avoid this.

Safety first!

HackSpace magazine’s LED feature is just a whistle-stop guide to the basics of powering LEDs — it’s not a comprehensive guide to all things power-related. Once you go above a few amperes, you need to think about what you’re doing with power. Once you start to approach double figures, you need to make sure you know what you’re doing and, if you find yourself shopping for an industrial power supply, then you really need to make sure you know how to use it safely.

Read more

Read the rest of the exclusive 14-page LED special in HackSpace magazine issue 16, out today. Buy your copy now from the Raspberry Pi Press store, major newsagents in the UK, or Barnes & Noble, Fry’s, or Micro Center in the US. Or, download your free PDF copy from the HackSpace magazine website.

HackSpace magazine 16 Front Cover

We’re also shipping to stores in Australia, Hong Kong, Canada, Singapore, Belgium, and Brazil, so be sure to ask your local newsagent whether they’ll be getting HackSpace magazine.

Subscribe now

Subscribe to HackSpace on a monthly, quarterly, or twelve-month basis to save money against newsstand prices.

Twelve-month print subscribers get a free Adafruit Circuit Playground Express, loaded with inputs and sensors and ready for your next project. Tempted?

The post Make art with LEDs | HackSpace magazine #16 appeared first on Raspberry Pi.

Security updates for Thursday

Post Syndicated from jake original https://lwn.net/Articles/780454/rss

Security updates have been issued by CentOS (firefox, flatpak, and systemd), Fedora (createrepo_c, dnf, dnf-plugins-core, dnf-plugins-extras, docker, libcomps, libdnf, and runc), Mageia (giflib, irssi, kernel, kernel-linus, libexif, poppler, tcpreplay, and zziplib), and SUSE (php5, procps, and qemu).

Брюксел: за една среща на медиите и участието на генералния директор на БНТ Каменаров в нея

Post Syndicated from nellyo original https://nellyo.wordpress.com/2019/02/21/bru_meeting/

Обществени  и търговските доставчици на радио и телевизия са имали среща на 19 февруари 2019 г. в Брюксел по покана на председателя на Европейския парламент Антонио Таяни.

Две новини от тази среща:

Първо, според Advanced Television след обсъждане, фокусирано върху медийната екосистема и борбата срещу дезинформацията, доставчиците са призовали   европейските институции за мерки – и според по-конкретна информация – за регулиране на платформите.

Второ, тази среща едва ли щеше да бъде забелязана в България, ако Българската национална телевизия не беше я отразила в централната си информационна емисия По света и у нас,  и в частност ако не беше отразила своя генерален директор Каменаров в Брюксел. Работата е в това, че в същото време  Каменаров е уведомил съда, че не може да се яви в съдебно заседание  поради  остра респираторна инфекция  – и така за пореден път  делото на Каменаров за шофиране след употреба на алкохол се е отложило. Съдът вече е наложил глоба от 1000 лева на Каменаров за  “поведение на границата със злоупотреба с право”.  С новото отлагане тази граница изглежда вече да е премината.

(снимка – от емисията на БНТ)

След това необичайно включване на подсъдимия от Брюксел съдът е назначил проверка на болничния лист на Каменаров.

Константин Каменаров е подсъдим на втора инстанция в Софийския градски съд, където обжалва присъда условно лишаване от свобода от 1 година и 3 месеца и глоба от 600 лв. за това, че е управлявал автомобила си със съдържание на алкохол 1,6 промила.

Той е избран за тенерален директор при  висящо наказателно дело за шофиране след употреба на алкохол. Според ЗРТ кандидатът трябва да има висок обществен авторитет. Доколкото стана ясно, по време на конкурса СЕМ е установявал това обстоятелство с декларация от самия кандидат.

Reverse Location Search Warrants

Post Syndicated from Bruce Schneier original https://www.schneier.com/blog/archives/2019/02/reverse_locatio.html

The police are increasingly getting search warrants for information about all cellphones in a certain location at a certain time:

Police departments across the country have been knocking at Google’s door for at least the last two years with warrants to tap into the company’s extensive stores of cellphone location data. Known as “reverse location search warrants,” these legal mandates allow law enforcement to sweep up the coordinates and movements of every cellphone in a broad area. The police can then check to see if any of the phones came close to the crime scene. In doing so, however, the police can end up not only fishing for a suspect, but also gathering the location data of potentially hundreds (or thousands) of innocent people. There have only been anecdotal reports of reverse location searches, so it’s unclear how widespread the practice is, but privacy advocates worry that Google’s data will eventually allow more and more departments to conduct indiscriminate searches.

Of course, it’s not just Google who can provide this information.

I am also reminded of a Canadian surveillance program disclosed by Snowden.

I spend a lot of time talking about this sort of thing in Data and Goliath. Once you have everyone under surveillance all the time, many things are possible.

Welcome Mikeal: Data Center Tech

Post Syndicated from Yev original https://www.backblaze.com/blog/welcome-mikeal-data-center-tech/

Mikael

As we cross 750 petabytes and march towards 800, we need more people in the data center helping us keep our over 100,000 hard drives spinning! To help us with that, Mikael came aboard! Let’s learn a bit more about Mikael shall we?

What is your Backblaze title?
Data Center Tech.

Where are you originally from?
I grew up in Durango, Colorado.

What attracted you to Backblaze?
I loved what I had heard about the atmosphere and the type of work. And besides, who doesn’t want to live in California?

What do you expect to learn while being at Backblaze?
I hope to learn everything that Backblaze can possibly teach me.

Where else have you worked?
I worked for a large HVAC company for many years, and am so excited to be moving into a new field!

Where did you go to school?
I went to college at CNM, in Albuquerque NM.

What’s your dream job?
I have always dreamt of owning a small gaming store, the kind that sells magic cards and DnD dice.

Favorite place you’ve traveled?
I spent two weeks in Rome, and almost didn’t get on the flight home because I loved it so much.

Favorite hobby?
My all time favorite would be running Dungeons and Dragons games for my friends, but I also love video games, snowboarding, and napping.

Of what achievement are you most proud?
I once overwhelmed the support staff for Grinding Gear Games, the company that makes the ARPG Path of Exile.

Star Trek or Star Wars?
Can I say The Matrix?

Coke or Pepsi?
Coke for sure.

Favorite food?
Nothing beats biscuits and gravy.

Why do you like certain things?
Because if I didn’t, then I wouldn’t like them, and that wouldn’t be very fair to the things now would it?

Anything else you’d like you’d like to tell us?
I have been told that working with me is an adventure, so all I can say is I hope you are ready to roll initiative!

Welcome aboard Mikael. Thanks for rolling high on your initiative and joining our crew!

The post Welcome Mikeal: Data Center Tech appeared first on Backblaze Blog | Cloud Storage & Cloud Backup.

Yaghmour: gitgeist: a git-based social network proof of concept

Post Syndicated from jake original https://lwn.net/Articles/780365/rss

On his blog, Karim Yaghmour writes about an experimental social network that he and a colleague cobbled together using Git. While it is simply a proof of concept at this point, he is looking for feedback and, perhaps, collaborators to take it further. “It turns out that git has practically everything that’s needed to act both as storage and protocol for a social network. Not only that, but it’s very well-known within and used, deployed and maintained in the circles I navigate, it scales very well (see github), it’s used for critical infrastructure (see kernel.org), it provides history, it’s distributed by nature, etc. It’s got *almost* everything, but not quite everything needed.

So what’s missing from git? A few basic things that it turns out aren’t very hard to take care of: ability to ‘follow’, getting followee notifications, ‘commenting’ and an interface for viewing feeds. And instead of writing a whole online treatise of how this could be done, I asked my colleague Francois-Denis Gonthier to implement a proof and concept of this that we called ‘gitgeist’ and just published on github [https://github.com/opersys/gitgeist-poc].”

[$] Producing an application for both desktop and mobile

Post Syndicated from jake original https://lwn.net/Articles/780031/rss

These days applications are generally moving away from the desktop and
toward the
mobile space. But taking a multi-platform desktop application and adding
two mobile platforms into the mix is difficult to do, as Dirk Hohndel
described in
his linux.conf.au
2019
talk. Hohndel maintains the Subsurface dive log application,
which has
added mobile support over the past few years; he wanted to explain the process
that the project went through to support all of those platforms.
As the subtitle of the talk, “Developing for multiple platforms without
losing your mind”, indicates, it is a hard problem to solve sanely.

Welcome Brad: Junior Support Technician

Post Syndicated from Yev original https://www.backblaze.com/blog/welcome-brad-junior-support-technician/

Brad

As Backblaze continues to grow, we need great people to take care of our customers’ questions and make sure they have a good experience with our service. The latest person to join our support team is Brad. Let’s learn a bit more about Brad, shall we?

What is your Backblaze title?
Junior Support Tech

Where are you originally from?
San Jose, CA

What attracted you to Backblaze?
Good word of mouth.

What do you expect to learn while being at Backblaze?
Support skills.

Where else have you worked?
Pro-Transport 1.

Where did you go to school?
San Jose, CA.

What’s your dream job?
Somewhere with a consistent flow of fixing things and helping people.

Favorite place you’ve traveled?
Portland.

Favorite hobby?
Video games.

Of what achievement are you most proud?
Becoming a paramedic.

Star Trek or Star Wars?
Both.

Coke or Pepsi?
Water?

Favorite food?
Burritos.

Why do you like certain things?
Probably a combination of dopamine responses and social reinforcement.

Anything else you’d like you’d like to tell us?
Something clever and witty something something.

Welcome aboard Brad and thanks for that clever and very witty something something!

The post Welcome Brad: Junior Support Technician appeared first on Backblaze Blog | Cloud Storage & Cloud Backup.

Play multiple sounds simultaneously with a Raspberry Pi

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/multiple-sounds-simultaneously-raspberry-pi/

Playing sound through a Raspberry Pi is a simple enough process. But what if you want to play multiple sounds through multiple speakers at the same time? Lucky for us, Devon Bray figured out how to do it.

Play multiple audio files simultaneously with Raspberry Pi

Artist’s Website: http://www.saradittrich.com/ Blog Post: http://www.esologic.com/multi-audio/ Ever wanted to have multiple different sound files playing on different output devices attached to a host computer? Say you’re writing a DJing application where you want one mix for headphones and one for the speakers.

Multiple audio files through multiple speakers

While working with artist Sara Dittrich on her These Blobs installation for Provincetown Art Association and Museum, Devon was faced with the challenge of playing “8 different mono sound files on 8 different loudspeakers”. Not an easy task, and one that most online tutorials simply do not cover.

These Blobs - Sarah Dittrich

These Blobs by Sara Dittrich

Turning to the sounddevice Python library for help, Devon got to work designing the hardware and code for the project.

The job was to create some kind of box that could play eight different audio files at the same time on eight different unpowered speakers. New audio files had to be able to be loaded via a USB thumb drive, enabling the user to easily switch files without having to use any sort of UI. Everything also had to be under five inches tall and super easy to power on and off.

Devon’s build uses a 12v 10 amp power supply controlled via a DC/DC converter. This supply powers the Raspberry Pi 3B+ and four $15 audio amplifiers, which in turn control simple non-powered speakers designed for use in laptops. As the sound is only required in mono, the four amplifiers can provide two audio tracks each, each track using a channel usually reserved for left or right audio output.

A full breakdown of the project can be seen in the video above, with more information available on Devon’s website, including the link to the GitHub repo.

And you can see the final project in action too! Watch a video of Sara Dittrich’s installation below, and find more of her work on her website.

These Blobs

Poem written and recorded by Daniel Sofaer, speakers, conduit, clay, spray paint, electrical components; 4′ x 4′ x 5′ ft.

 

The post Play multiple sounds simultaneously with a Raspberry Pi appeared first on Raspberry Pi.

digiKam 6.0.0 released

Post Syndicated from ris original https://lwn.net/Articles/780274/rss

The digiKam team has announced
the release
of digiKam 6.0.0. New features include full support of
video files management working as photos; an integration of all
import/export web-service tools in LightTable, Image editor and Showfoto;
raw file decoding engine supporting new cameras; similarity data is now
stored in a separate file; simplified web-service authentication using
OAuth protocol; and more.

Cloud-based Tools Combined with AI Can Make Workflows More Powerful and Increase Content Value

Post Syndicated from Skip Levens original https://www.backblaze.com/blog/increase-content-archive-value-via-cloud-tools/

CPU + Metadata Mining + Virtual Machines & Apps + AI in the cloud

This is part two of a series. You can read part one at Modern Storage Workflows in the Age of Cloud.

Modern Storage Workflows in the Age of Cloud, Part 2

In Modern Storage Workflows in the Age of Cloud, Part One, we introduced a powerful maxim to guide content creators (anyone involved in video or rich media production) in choosing storage for the different parts of their content creation workflows:

Choose the storage that best fits each workflow step.

It’s true that every video production environment is different, with different needs, and the ideal solution for an independent studio of a few people is different than the solution for a 50-seat post-production house. But the goal of everyone in the business of creative storytelling is to tell stories and let your vision and craft shine through. Anything that makes that job more complicated and more frustrating keeps you from doing your best work.

Given how prevalent, useful, and inexpensive cloud technologies are, almost every team today is rapidly finding they can jettison whole classes of storage that are complicating their workflow and instead focus on two main types of storage:

  1. Fast, shared production storage to support editing for content creation teams (with no need to oversize or overspend)
  2. Active, durable, and inexpensive cloud storage that lets you move all of your content in one protected, accessible place — your cloud-enabled content backplane

It turns out there’s another benefit unlocked when your content backplane is cloud enabled, and it’s closely tied to another production maxim:

Organizing content in a single, well managed repository makes that content more valuable as you use it.

When all content is in a single place, well-managed and accessible, content gets discovered faster and used more. Over time it will pick up more metadata, with sharper and more refined tags. A richer context is built around the tags, making it more likely that the content you already have will get repurposed for new projects.

Later, when you come across a large content repository to acquire, or contemplate a digitization or preservation project, you know you can bring it into the same content management system you’ve already refined, concentrating and increasing value further still.

Having more content that grows increasingly valuable over time becomes a monetization engine for licensing, content personalization, and OTT delivery.

You might think that these benefits already present a myriad of new possibilities, but cloud technologies are ready to accelerate the benefits even further.

Cloud Benefits — Pay as You Need It, Scalability, and Burstability

It’s worth recapping the familiar cost-based benefits of the cloud: 1) pay only for the resources you actually use, and only as long as you need them, and, 2) let the provider shoulder the expense of infrastructure support, maintenance, and continuous improvement of the service.

The cost savings from the cloud are obvious, but the scalability and flexibility of the cloud should be weighted strongly when comparing using the cloud versus handling infrastructure yourself. If you were responsible for a large server and storage system, how would you cope with a business doubling every quarter, or merging with another team for a big project?

Too many production houses end up disrupting their production workflow (and their revenue) when they are forced to beef up servers and storage capability to meet new production demands. Cloud computing and cloud storage offer a better solution. It’s possible to instantly bring on new capacity and capability, even when the need is unexpected.

Cloud Delivered Compute Horsepower on Demand

Let’s consider the example of a common task like transcoding content and embedding a watermark. You need to process 3,600 frames of a two hour movie to resize the frame and add a watermark, and that compute workload takes 100 minutes and ties up a single server.

You could adapt that workflow to the cloud by pulling high resolution frames from cloud storage, feed them to 10 cloud servers in parallel, and complete the same job in 10 minutes. Another option is to spin up 100 servers and get the job done in one minute.

The cloud provides the flexibility to cut workflow steps that used to take hours down to minutes by adding the compute horsepower that’s needed for the job, then turn it off when it’s no longer needed. You don’t need to worry about planning ahead or paying for ongoing maintenance. In short, compute adapts to your workflow rather than the other way around, which empowers you to make workflow choices that instead prioritize the creative need.

Your Workflow Applications Are Moving to the Cloud, Too

More and more of the applications used for content creation and management are moving to the cloud, as well. Modern web browsers are gaining astonishing new capabilities and there is less need for dedicated application servers accompanying storage.

What’s important is that the application helps you in the creative process, not the mechanics of how the application is served. Increasingly, this functionality is delivered by virtual machines that can be spun up by the thousands as needed or by cloud applications that are customized for each customer’s specific needs.

iconik media workflow management screenshot

An example of a cloud-delivered workflow application — iconik asset discovery and project collaboration

iconik is one example of such a service. iconik delivers cloud-based asset management and project collaboration as a service. Instead of dedicated servers and storage in your data center, each customer has their own unique installation of iconik’s service that’s ready in minutes from first signup. The installation is exclusive to your organization and tailored to your needs. The result is a workflow utilizing virtual machines, compute, and storage that matches your workflow with just the resources you need. The resources are instantly available whenever or wherever your team is using the system, and consume no compute or storage resources when they are not.

Here’s an example. A video file can be pumped from Backblaze B2 to the iconik application running on a cloud compute instance. The proxies and asset metadata are stored in one place and available to every user. This approach is scalable to as many assets and productions you can throw at it, or as many people as are collaborating on the project.

The service is continuously upgraded and updated with new features and improvements as they become available, without the delay of rolling out enhancements and patches to different customers and locations.

Given the advantages of the cloud, we can expect that more steps in the creative production workflow that currently rely on dedicated on-site servers will move to the highly agile and adaptable environment offered by the cloud.

The Next Evolution — AI Becomes Content-Aware

Having your content library in a single content backplane in the cloud provides another benefit: ready access to a host of artificial intelligence (AI) tools.

Examples of AI Tools That Can Improve Creative Production Workflows:

  • Text to speech transcription
  • Language translation
  • Object recognition and tagging
  • Celebrity recognition
  • Brand use recognition
  • Colorization
  • High resolution conversion
  • Image stabilization
  • Sound correction

AI tools can be viewed as compute workers that develop processing rules by training for a desired result on a data set. An AI tool can be trained by having it process millions of images until it can tell the difference between sky and grass, or pick out a car in a frame of video. Once such a tool has been trained, it provides an inexpensive way to add valuable metadata to content, letting you find, for example, every video clip across your entire library that has sky, or grass, or a car in it. Text keywords with an associated timecode can be automatically added to aid in quickly zeroing in on a specific section of a long video clip. That’s something that’s not practical for a human content technician over thousands of files, but is easy, repeatable, and scalable for an AI tool.

Let AI Breathe New Life into Existing Content

AI tools can breathe new life in older content and intelligently clean up older format source video by removing film scratches or upresing content to today’s higher resolution formats. They can be valuable for digital restoration and preservation projects, too. With AI tools and source content in the cloud, it’s now possible to give new life to analog source footage. Digitize it, let AI clean it up, and you’ll get fresh, monetizable assets in your library.

axle ai automatically tags:

An example of the time-synched tags that can be generated with an AI tool

Many workflow tools, such as asset and collaboration tools, can use AI tools for speech transcription or smart object recognition, which brings additional capabilities. axle.ai, for example, can connect with a visual search tool to highlight an object in the frame like a wine bottle, letting you subsequently find every shot of a wine bottle across your entire library.

Visual search for brands and products also is possible. Just highlight a brand logo and find every clip where the camera panned over that logo. It’s smart enough to gets results even when only part of the logo is shown.

We’ve barely touched on the many tools that can be applied to content on ingest or content already in place. Whichever way they’re applied, they can deliver on the promise of making your workflows more efficient and powerful, and your content more valuable.

All Together Now

Taken together, these trends are great news for creatives. They can serve your creative vision by making your workflow more agile and more efficient. Cloud-enabled technologies enable you to focus on adding value and repurposing content in fresh new ways, resulting in new audiences and better monetization.

By placing your content in a cloud content backplane, and taking advantage of applications as a service, including the latest AI tools, it becomes possible to continually grow your content collection while increasing its value — a desirable outcome for any creative production enterprise.

If you could focus only on delivering great creative content, and had a host of AI tools to automatically make your content more valuable, what would you do?

The post Cloud-based Tools Combined with AI Can Make Workflows More Powerful and Increase Content Value appeared first on Backblaze Blog | Cloud Storage & Cloud Backup.

[$] Patent exhaustion and open source

Post Syndicated from jake original https://lwn.net/Articles/780078/rss

When patents and free software crop up together, the
usual question is about patent licensing. Patent exhaustion —
the principle that patent rights don’t reach past the first
sale of a product — is much
less frequently discussed. At FOSDEM 2019,
US lawyer Van Lindberg argued that several US court
decisions related to exhaustion, most of them recent but some less so,
could come together
to have surprising beneficial effects for free software. He was clear that the
argument applied only in the US but, since court systems tend to
look to each other for consistency’s sake, and because Lindberg is an
engaging speaker, the talk was of great interest even in Brussels.

Security updates for Tuesday

Post Syndicated from ris original https://lwn.net/Articles/780245/rss

Security updates have been issued by Debian (chromium, rdesktop, rssh, systemd, and uriparser), Fedora (bouncycastle, eclipse-jgit, eclipse-linuxtools, jackson-annotations, jackson-bom, jackson-core, jackson-databind, jackson-dataformat-xml, jackson-dataformats-binary, jackson-dataformats-text, jackson-datatype-jdk8, jackson-datatype-joda, jackson-datatypes-collections, jackson-jaxrs-providers, jackson-module-jsonSchema, jackson-modules-base, jackson-parent, moby-engine, and subversion), openSUSE (chromium, docker-runc, firefox, GraphicsMagick, kernel, LibVNCServer, php7, pspp, spread-sheet-widget, and runc), SUSE (kernel-firmware, qemu, and systemd), and Ubuntu (nss and systemd).

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close