This Picture Frame Is Also a Qi Charger, And It's Never Been Cheaper

Qi pads are great, but when they’re not in use, they’re basically just taking up space. Twelve South’s PowerPic though hides all of its charging components inside of a regular picture frame, so it’ll add to your room’s decor even when it’s not juicing up your phone.

Read more…



Source: LifeHacker – This Picture Frame Is Also a Qi Charger, And It’s Never Been Cheaper

Order Group: A Complete Solutions Review 2019

Order Group is a Poland-based software development company that delivers high-quality services for the most demanding corporate and startup clients. Order Group has some of the best developers who build bespoke IT solutions and systems using optimized, safe, high-quality code with modern and user-friendly interfaces. Order Group helps its clients build products for the best […]

The post Order Group: A Complete Solutions Review 2019 appeared first on TGDaily.



Source: TG Daily – Order Group: A Complete Solutions Review 2019

What Would It Take to Shut Down the Entire Internet?

Not too long ago, we here at Giz Asks contemplated what might happen if the entire internet shut down at once. One imaginative stumbling block, in playing out the implications of that scenario, was how something like that could happen in the first place. And so—without advocating any of the methods described below, or…

Read more…



Source: Gizmodo – What Would It Take to Shut Down the Entire Internet?

What's Coming and Going From Netflix the Week of September 30, 2019

Adapted from the comic book of the same name by Dennis Liu and Jason Piperburg, Raising Dion (Friday) is a child-with-superpowers series that stars both Michael B. Jordan and a ton of fun CGI. MBJ also executive produced, so you’re probably going to want to check this one out, especially if you’re still a little weepy…

Read more…



Source: LifeHacker – What’s Coming and Going From Netflix the Week of September 30, 2019

Tesla broke the law with anti-union efforts, judge rules

Elon Musk.

Enlarge / Elon Musk. (credit: Charley Gallay/Getty Images for E3/Entertainment Software Association)

Tesla and its CEO, Elon Musk, violated federal labor laws when it tried to hamper union organizing at its Fremont factory, a federal administrative law judge in California ruled on Friday.

Among other things, Tesla security guards repeatedly ordered union organizers to stop leafletting in Tesla’s parking lots and fired one union organizer for allegedly lying during a company investigation. Elon Musk was also dinged for a tweet that suggested employees would no longer receive stock options if they voted to form a union.

For years, Tesla employees affiliated with the United Auto Workers have been trying to convince their fellow Tesla workers to form a union. UAW members in Tesla’s workforce have worn union T-shirts, hats, and pins to work. They have also handed out flyers promoting the union in the parking lots around Tesla’s Fremont factory.

Read 13 remaining paragraphs | Comments



Source: Ars Technica – Tesla broke the law with anti-union efforts, judge rules

The Xeon vs. EPYC Performance With Intel's oneAPI Embree & OSPray Render Projects

With Intel seemingly ramping up work on their open-source OSPray portable ray-tracing engine now that they have pulled it under their oneAPI umbrella as part of a forthcoming rendering tool-kit, I figured it would be the latest interesting candidate for benchmarking of AMD EPYC 7742 vs. Intel Xeon Platinum 8280 performance. In addition, the Embree ray-tracing kernels are also being benchmarked as part of this performance comparison.

Source: Phoronix – The Xeon vs. EPYC Performance With Intel’s oneAPI Embree & OSPray Render Projects

Microsoft Launches Free Python Programming Video Series On YouTube

An anonymous reader quotes ZDNet:
Microsoft has launched a new 44-part series called Python for Beginners on YouTube, consisting of three- to four-minute lessons from two self-described geeks at Microsoft who love programming and teaching.

The course isn’t quite for total beginners as it assumes people have done a little programming in JavaScript or played around with the MIT-developed Scratch visual programming language aimed at kids. But it could help beginners kick-start ambitions to build machine-learning apps, web applications, or automate processes on a desktop…. It has published a page on GitHub containing additional resources, including slides and code samples to help students become better at Python.

Read more of this story at Slashdot.



Source: Slashdot – Microsoft Launches Free Python Programming Video Series On YouTube

Google Assistant Is Crashing Hard On Many Android Devices, Here's A Potential Fix

Google Assistant Is Crashing Hard On Many Android Devices, Here's A Potential Fix
Some Android device users have been reporting a crashing issue with the Google Assistant recently that as of writing is unpatched. For users who are facing this issue with their Android device, there is an “unofficial” fix that reportedly addresses the crash until Google gets an official patch ready. 
Users impacted by the bug see crashing

Source: Hot Hardware – Google Assistant Is Crashing Hard On Many Android Devices, Here’s A Potential Fix

How To Add A User to Sudoers On CentOS 8

In today’s tutorial, we are going to focus on adding a user to sudoers on the most recent CentOS distribution : CentOS 8.In CentOS 8, there are two ways of adding a user to sudoers : you can add it to the wheel group (similar to the sudo group on Debian based distributions) or you can add the user to the sudoers file.Here are the details of the two methods used.

Source: LXer – How To Add A User to Sudoers On CentOS 8

Pulling Raspberry Pi translation data from GitHub

What happens when you give two linguists jobs at Raspberry Pi? They start thinking they can do digital making, even though they have zero coding skills! Because if you don’t feel inspired to step out of your comfort zone here — surrounded by all the creativity, making, and technology — then there is no hope you’ll be motivated to do it anywhere else.

two smiling women standing in front of a colourful wall

Maja and Nina, our translation team, and coding beginners

Maja and I support the community of Raspberry Pi translation volunteers, and we wanted to build something to celebrate them and the amazing work they do! Our educational content is already available in 26 languages, with more than 400 translations on our projects website. But our volunteer community is always translating more content, and so off we went, on an ambitious (by our standards!) mission to create a Raspberry Pi–powered translation notification system. This is a Raspberry Pi that pulls GitHub data to display a message on a Sense HAT and play a tune whenever we add fresh translated content to the Raspberry Pi projects website!

Breaking it down

There were three parts to the project: two of them were pretty easy (displaying a message on a Sense HAT and playing a tune), and one more challenging (pulling information about new translated content added to our repositories on GitHub). We worked on each part separately and then put all of the code together.

Two computers and two pastries

Mandatory for coding: baked goods and tea

Displaying a message on Sense HAT and playing a sound

We used the Raspberry Pi projects Getting started with the Sense HAT and GPIO music box to help us with this part of our build.

At first we wanted the Sense HAT to display fireworks, but we soon realised how bad we both are at designing animations, so we moved on to displaying a less creative but still satisfying smiley face, followed by a message saying “Hooray! Another translation!” and another smiley face. LED screen displaying the message 'Another translation!'

We used the sense_hat and time modules, and wrote a function that can be easily used in the main body of the program. You can look at the comments in the code above to see what each line does:

Python code snippet for displaying a message on a Sense HAT

So we could add the fun tune, we learned how to use the Pygame library to play sounds. Using Pygame it’s really simple to create a function that plays a sound: once you have the .wav file in your chosen location, you simply import and initialise the pygame module, create a Sound object, and provide it with the path to your .wav file. You can then play your sound:

Python code snippet for playing a sound

We’ve programmed our translation notification system to play the meow sound three times, using the sleep function to create a one-second break between each sound. Because why would you want one meow if you can have three?

Pulling repository information from GitHub

This was the more challenging part for Maja and me, so we asked for help from experienced programmers, including our colleague Ben Nuttall. We explained what we wanted to do: pull information from our GitHub repositories where all the projects available on the Raspberry Pi projects website are kept, and every time a new language directory is found, to execute the sparkles and meow functions to let us and EVERYONE in the office know that we have new translations! Ben did a bit of research and quickly found the PyGithub library, which enables you to manage your GitHub resources using Python scripts.

Python code snippet for pulling data from GitHub

Check out the comments to see what the code does

The script runs in an infinite loop, checking all repositories in the ‘raspberrypilearning’ organisation for new translations (directories with names in form of xx-XX, eg. fr-CA) every 60 minutes. Any new translation is then printed and preserved in memory. We had some initial issues with the usage of the PyGithub library: calling .get_commits() on an empty repository throws an exception, but the library doesn’t provide any functions to check whether a repo is empty or not. Fortunately, wrapping this logic in a try...except statement solved the problem.

And there we have it: success!

Demo of our Translation Notification System build

Subscribe to our YouTube channel: http://rpf.io/ytsub Help us reach a wider audience by translating our video content: http://rpf.io/yttranslate Buy a Raspberry Pi from one of our Approved Resellers: http://rpf.io/ytproducts Find out more about the #RaspberryPi Foundation: Raspberry Pi http://rpf.io/ytrpi Code Club UK http://rpf.io/ytccuk Code Club International http://rpf.io/ytcci CoderDojo http://rpf.io/ytcd Check out our free online training courses: http://rpf.io/ytfl Find your local Raspberry Jam event: http://rpf.io/ytjam Work through our free online projects: http://rpf.io/ytprojects Do you have a question about your Raspberry Pi?

Our ideas for further development

We’re pretty proud that the whole Raspberry Pi office now hears a meowing cat whenever new translated content is added to our projects website, but we’ve got plans for further development of our translation notification system. Our existing translated educational resources have already been viewed by over 1 million users around the world, and we want anyone interested in the translations our volunteers make possible to be able to track new translated projects as the go live!

One way to do that is to modify the code to tweet or send an email with the name of the newly added translation together with a link to the project and information on the language in which it was added. Alternatively, we could adapt the system to only execute the sparkles and meow functions when a translation in a particular language is added. Then our more than 1000 volunteers, or any learner using our translations, could set up their own Raspberry Pi and Sense HAT to receive notifications of content in the language that interests them, rather than in all languages.

We need your help

Both ideas pose a pretty big challenge for the inexperienced new coders of the Raspberry Pi translation team, so we’d really appreciate any tips you have for helping us get started or for improving our existing system! Please share your thoughts in the comments below.

The post Pulling Raspberry Pi translation data from GitHub appeared first on Raspberry Pi.



Source: Raspberry Pi – Pulling Raspberry Pi translation data from GitHub