Odprtokodni pogled

Opensource view

Tuja odprtokodna scena

Security updates for Thursday

LWN.net - Čet, 07/04/2019 - 14:56
Security updates have been issued by CentOS (libssh2 and qemu-kvm), Debian (lemonldap-ng), Fedora (tomcat), Oracle (kernel), and SUSE (elfutils, kernel, and php5).

Samba 4.11 Aims To Be Scalable To 100,000+ Users

Phoronix - Čet, 07/04/2019 - 14:17
For those using Samba for better Windows interoperability with SMB/CIFS/AD, the forthcoming Samba 4.11 will be a lot more scalable so it can be used within massive organizations...

To Little Surprise, Many Linux Apps Run On The Librem 5 Linux Smartphone

Phoronix - Čet, 07/04/2019 - 14:00
Now being into Q3, we're waiting to see if Purism will be able to deliver the Librem 5 GNU/Linux smartphone this quarter after being pushed back twice from their original January ship date. They haven't released any finished design yet or the finalized specifications (they still haven't finalized on the RAM, battery, cameras, and speaker(s)), but their latest series of blog posts are showing that GNOME/Linux applications can run on their Librem 5 developer kit...

RADV Vulkan Driver Switches To The RTLD Linker

Phoronix - Čet, 07/04/2019 - 12:59
A big set of patches landed this morning in RADV Git for Mesa 19.2...

CentOS 8.0 Completed Its Initial Build Loop

Phoronix - Čet, 07/04/2019 - 12:47
It looks like CentOS 8 as the "community" version of Red Hat Enterprise Linux 8.0 is still a few weeks away, but good progress is being made...

AMDVLK Support For Navi Might Be Slightly Delayed

Phoronix - Čet, 07/04/2019 - 12:27
While there is the open-source OpenGL driver support in RadeonSI now part of Mesa 19.2 for the Radeon RX 5700 series launching on Sunday, for the open-source Vulkan driver support due to timing you might be needing to wait a little bit...

OpenBSD Is Now My Workstation

tuxmachines.org - Čet, 07/04/2019 - 11:34

Why OpenBSD? Simply because it is the best tool for the job for me for my new-to-me Lenovo Thinkpad T420. Additionally, I do care about security and non-bloat in my personal operating systems (business needs can have different priorities, to be clear).

I will try to detail what my reasons are for going with OpenBSD (instead of GNU/Linux, NetBSD, or FreeBSD of which I’m comfortable using without issue), challenges and frustrations I’ve encountered, and what my opinions are along the way.

Disclaimer: in this post, I’m speaking about what is my opinion, and I’m not trying to convince you to use OpenBSD or anything else. I don’t truly care, but wanted to share in case it could be useful to you. I do hope you give OpenBSD a shot as your workstation, especially if it has been a while.

read more

Software: WireGuard and Olivia

tuxmachines.org - Čet, 07/04/2019 - 10:25
  • WireGuard Snapshot `0.0.20190702` Available Hello, A new snapshot, `0.0.20190702`, has been tagged in the git repository. Please note that this snapshot is, like the rest of the project at this point in time, experimental, and does not constitute a real release that would be considered secure and bug-free. WireGuard is generally thought to be fairly stable, and most likely will not crash your computer (though it may). However, as this is a pre-release snapshot, it comes with no guarantees, and its security is not yet to be depended on; it is not applicable for CVEs. With all that said, if you'd like to test this snapshot out, there are a few relevant changes. == Changes == * curve25519: not all linkers support bmi2 and adx This should allow WireGuard to build on older toolchains. * qemu: show signal when failing This was useful in tracking down upstream armeb bugs such as: http://lists.infradead.org/pipermail/linux-arm-kernel/2019-May/655926.html * wg-quick: darwin: support being called from launchd We now ship a sample launchd file, for folks who would like to run WireGuard on macOS servers with some form of automation. Most users are still advised to use the GUI app from the App Store. * compat: some kernels weirdly backport prandom_u32_max * compat: unify custom function prefix/suffix * compat: rhel backported list modifications Usual maintance of our compat layer for existing platforms and kernels. * compat: support RHEL8's skb_mark_not_on_list backport We now support RHEL8/CentOS8's kernel. * global: switch to coarse ktime Our prior use of fast ktime before meant that sometimes, depending on how broken the motherboard was, we'd wind up calling into the HPET slow path. Here we move to coarse ktime which is always super speedy. In the process we had to fix the resolution of the clock, as well as introduce a new interface for it, landing in 5.3. Older kernels fall back to a fast-enough mechanism based on jiffies. https://lore.kernel.org/lkml/tip-e3ff9c3678b4d80e22d2557b68726174578eaf52@git.kernel.org/ https://lore.kernel.org/lkml/20190621203249.3909-3-Jason@zx2c4.com/ * netlink: cast struct over cb->args for type safety This follow recent upstream changes such as: https://lore.kernel.org/lkml/20190628144022.31376-1-Jason@zx2c4.com/ * peer: use LIST_HEAD macro Style nit. * receive: queue dead packets to napi queue instead of empty rx_queue This mitigates a WARN_ON being triggered by the workqueue code. It was quite hard to trigger, except sporadically, or reliably with a PC Engines ALIX, an extremely slow board with an AMD LX800 that Ryan Whelan of Axatrax was kind enough to mail me. This snapshot contains commits from: Jason A. Donenfeld. As always, the source is available at https://git.zx2c4.com/WireGuard/ and information about the project is available at https://www.wireguard.com/ . This snapshot is available in compressed tarball form here: https://git.zx2c4.com/WireGuard/snapshot/WireGuard-0.0.20190702.tar.xz SHA2-256: 1a1311bc71abd47a72c47d918be3bacc486b3de90734661858af75cc990dbaac BLAKE2b-256: 3b8668eed4c11c3d5995f23152c645ee40017ab84c8b15ce5f84015730290c9f A PGP signature of that file decompressed is available here: https://git.zx2c4.com/WireGuard/snapshot/WireGuard-0.0.20190702.tar.asc Signing key: AB9942E6D4A4CFC3412620A749FC7012A5DE03AE If you're a snapshot package maintainer, please bump your package version. If you're a user, the WireGuard team welcomes any and all feedback on this latest snapshot. Finally, WireGuard development thrives on donations. By popular demand, we have a webpage for this: https://www.wireguard.com/donations/ Thank you, Jason Donenfeld
  • WireGuard 0.0.20190702 Released For This Cross-Platform Open-Source VPN Tunnel

    WireGuard 0.0.20190702 has been released as the newest snapshot for this increasingly popular open-source network VPN tunnel that has showed much potential and has now been ported to all major platforms.

    WireGuard 0.0.20190702 is available for those interested. To much dismay, it doesn't look like the kernel module will make it into the upcoming Linux 5.3 merge window. As of writing, the code still hasn't been queued into net-next for merging into the Linux 5.3 merge window in early July. But for that to happen anyhow, WireGuard would likely still need to survive another round of code review on the Linux kernel mailing list along with its Zinc crypto API. We haven't seen that happen yet so long story short the WireGuard Linux support will likely still need to rely upon the DKMS out-of-tree kernel module for another round.

  • Cloud music player Olivia

    Olivia looks like a standard three-panel music player, with links to albums, artists, and playlists on the left, the player queue on the right, and a context-shifting middle pane. But it's not. Rather than helping you manage and maintain your own music collection, Olivia has been designed to simplify access to music that's typically played and discovered online. It's currently in an alpha testing state, and not all the features shown in the user interface (UI) are functional, but it's functional enough to be very useful and shows great promise. Type the name of a track into the search field, for example, and a list of image thumbnails for discovered tracks start to load into the middle pane, complete with details about the performer, release date, duration, and album. It's exactly as if the music is sourced from your local storage. A double-click adds the track to your queue from where it can then be played. The actual source for the music seems to be YouTube, from where the music is streamed stripped of its video content.

    The UI scales and animates smoothly as you navigate through different search and playback modes, and it can even dynamically theme itself according to your currently playing track's artwork. There's a very neat "widget" mode, which reduces the UI to nothing more than the current track thumbnail and playback controls. This is a great way of removing the distraction of choosing music from the infinite possibilities of online resources. As you play tracks, they're added to your "collection," so you can easily play them back or manage them much like you would local files. Local music is supported too, and there's an excellent song recommendation system. Type in the name of a piece of music you like, and Olivia will come back with a recommendation for something it thinks (or the Internet thinks) is similar. It works surprisingly well.

read more

Leftovers: CX at FLOSS Weekly, Automotive Grade Linux (AGL), SystemRescueCd, Fedora and Red Hat OpenShift

tuxmachines.org - Čet, 07/04/2019 - 10:21
  • FLOSS Weekly 536: CX

    CX is an interpreted and compiled, garbage collected, general purpose programming language, which means that it can be used to create any type of program, such as web, desktop, and command-line applications.

  • Candera, IDW Technologies, Reutlingen University, T-Systems, and Wuhan Bluestar Technology join Automotive Grade Linux to Support Shared Technology Development for In-Car Technology

    Automotive Grade Linux (AGL), a collaborative cross-industry effort developing an open source platform for connected car technologies, announces that Wuhan Bluestar Technology has joined as a Silver member, and Candera, IDW Technologies, Reutlingen University, and T-Systems have joined AGL as Bronze members.

    “We are excited to expand our growing, global community with five new members,” said Dan Cauchy, Executive Director of Automotive Grade Linux at the Linux Foundation. “We look forward to working with them as we continue to expand the AGL platform including instrument cluster, telematics and vehicle-to-cloud connectivity.”

  • Install Python on Ubuntu 19.04/18.04 using command terminal
  • How to install a CockroachDB cluster on Ubuntu 18.04
  • SystemRescueCd – a live system that rescues data and systems

    The SystemRescueCd live system contains numerous tools that you can use to recover deleted files or a defective system.

    The SystemRescueCd live system above all offers programs with which you can reanimate defective data carriers and recover data. It includes the Firefox browser, which can also be used to search for solutions to a problem on the Internet if the permanently installed system fails to boot. Finally, SystemRescueCd provides useful tools for everyday work, such as creating or shrinking hard disk partitions. The live system relies on standard tools such as the well-known GParted for partitioning hard disks.

  • F30-20190628 updated isos released

    The Fedora Respins SIG is pleased to announce the latest release of Updated F30-20190605 Live ISOs, carrying the 5.1.15-200 kernel.

    This set of updated isos will save considerable amounts of updates after install. ((for new installs.)(New installs of Workstation have 1.2GB of updates)).

    A huge thank you goes out to irc nicks dowdle, Short-bike,Southern-Gentlem for testing these iso.

  • Simplify Migration from OpenShift 3 to 4

    Now that Red Hat OpenShift 4 has officially been released, it’s time to start thinking about migration from Red Hat OpenShift Container Platform 3 to OpenShift Container Platform 4.

    You can check out the details about the differences between OpenShift 3 and 4 here.

    One of the biggest differences between OpenShift 3 and 4 is how OpenShift 4 clusters operate using immutable and automated infrastructure enabled by RHEL CoreOS and automation. We’re going to show you one way to migrate to this new platform with as few bumps as possible.

read more

OSS: OSI, Mozilla, Crunchy Data, LibreOffice, NexDock

tuxmachines.org - Čet, 07/04/2019 - 10:11
  • On Why OpenStack Foundation Joined the OSI

    Over the past year, the definition of open source has been challenged, as some companies wanted to change the licensing of their software while continuing to reap the benefits of calling it open source, or at least the benefits of being potentially confused with open source.

    That makes the work of the Open Source Initiative more important than ever. For more than 20 years, the OSI has been a steadfast guardian of the Open Source Definition. They’ve kept it focused on user freedoms, evaluating new proposed software licenses against that definition, while discouraging further license proliferation. They’ve also been instrumental to the success of open source through their tireless advocacy and education work.

    These objectives resonate with the work we do at the OpenStack Foundation (OSF). Today open source is necessary, but not sufficient: users of open-source licensed software are sometimes denied some of the original free and open source software benefits. We need to go beyond how the software is licensed and drive new standards on how open source should be built. Users should be able to tell easily the difference between a truly open collaboration guaranteeing all of open source benefits and single-vendor or open core projects.

  • 8 Years of Reps Program, Celebrating Community Successes!

    The Reps program idea was started in 2010 by William Quiviger and Pierros Papadeas, until officially launched and welcoming volunteers onboard as Mozilla Reps in 2011. The Mozilla Reps program aims to empower and support volunteer Mozillians who want to be official representatives of Mozilla in their region/locale/country. The program provides a framework and a specific set of tools to help Mozillians to organize and/or attend events, recruit and mentor new contributors, document and share activities, and support their local communities better. The Reps program was created to help communities around the world. Community is the backbone of the Mozilla project. As the Mozilla project grows in scope and scale, community needs to be strengthened and empowered accordingly. This is the central aim of the Mozilla Reps program: to empower and to help push responsibility to the edges, in order to help the Mozilla contributor base grow. Nowadays, the Reps are taking a stronger point by becoming the Community Coordinators.

  • Will Kahn-Greene: Crash pings (Telemetry) and crash reports (Socorro/Crash Stats)

    I keep getting asked questions that stem from confusion about crash pings and crash reports, the details of where they come from, differences between the two data sets, what each is currently good for, and possible future directions for work on both. I figured I'd write it all down.

    This is a brain dump and sort of a blog post and possibly not a good version of either. I desperately wished it was more formal and mind-blowing like something written by Chutten or Alessio.

    It's likely that this is 90% true today but as time goes on, things will change and it may be horribly wrong depending on how far in the future you're reading this. As I find out things are wrong, I'll keep notes. Any errors are my own.

  • CIS Benchmark for PostgreSQL 11 Enhances PostgreSQL Security for Enterprises
  • Crunchy Data releases an update to the CIS Benchmark for PostgreSQL 11

    Crunchy Data, the leading provider of trusted open source PostgreSQL technology and support, in collaboration with the Center for Internet Security, announces the publication of a PostgreSQL CIS Benchmark for PostgreSQL 11.

    Crunchy Data again collaborated with CIS by evaluating open source PostgreSQL 11 against CIS’s security requirements and developed the guide defining how open source PostgreSQL can be configured and deployed to meet security requirements for enterprise systems.

    The PostgreSQL CIS Benchmark offers security-conscious enterprises a comprehensive guide for open source PostgreSQL configuration and usage. Enterprises can refer to the CIS Benchmark as they consider open source PostgreSQL as an alternative to proprietary and other database systems.

  • Annual Report 2018: LibreOffice events and activities around the world

    Zdeněk Crhonek and Stanislav Horáček attended the two biggest Czech FOSS events, LinuxDays in Prague and OpenAlt in Brno. There was generally positive feedback from users, interest in new features and what is going on. Also, there was discussion with someone from the National Technical Library in Prague (who enthusiastic about FOSS, migrated client computers to Linux and LibreOffice, and encouraging us to spread the word about it) and a representative of an organization trying to coordinate using FOSS in Czech municipalities (two towns running LibreOffice, with the intention to pay for some bug fixing).

    Other meetups took place at these events: a meeting with the Slovak community (Miloš Šrámek and Andrej Kapuš) in Brno, a meeting with the Czech localization community (Mozilla, Linux distributions), discussing mainly the possibility of a new Czech dictionary, and a discussion with a marketing specialist who suggested ways to simplify the LibreOffice web page.

    Apart from events, the Czech community worked continuous localization of LibreOffice’s user interface, website, help and marketing materials (press releases, video subtitles). There was also user support and moderation on the Czech “Ask LibreOffice” site.

  • LibreOffice QA Report: June 2019
  • NexDock 2 Hands-On Video

    The NexDock 2 crowdfunding swiftly met its goal earlier this year (no major shock as there’s little else like it out there to my knowledge).

    A 13.3-inch laptop shell that lets you use smartphones and single-board PCs as fully-fledged computers. The NexDock provides the screen, keyboard and trackpad, and your phone or Raspberry Pi provides the brain.

    Every time I see the dock in action I want one. And that want goes double since the launch of the Raspberry Pi 4 and its touted desktop-class performance…

    Anyway, if you want one you can have one.

  • A worldwide, open source model for solar performance

    As solar’s share in the global energy mix continues to grow, managing the intermittencies inherent to the technology and ensuring its reliable integration into grids is an ever more important question.

    By collecting 38 years’ of irradiation, temperature and weather data and combining it with the historical output of European solar installations, scientists at Denmark’s Aarhus University have developed a model they say can predict the output of PV projects anywhere in the world.

    “We can look at not only a single installation but energy production in entire countries or continents from PV installations,” said Marta Victoria, an assistant professor at Aarhus University. “This is extremely important for the way in which the energy systems of the future can be combined to function optimally.”

read more

GameShell is a portable and modular DIY retro game console

tuxmachines.org - Čet, 07/04/2019 - 09:48

It’s the “world’s first modular, portable game console” running a GNU/Linux operating system. You can easily play retro games from Atari, GameBoy, GameBoy Advance, Nintendo Entertainment System, and more on the GameShell. Or, create your own game entirely with Preset C, Python, Lua, Javascript, or LISP.

Also: Google's Fuschia operating system has been in works for years now.

read more

Miscellaneous New Articles From Linux Magazine (Partial Paywalls)

tuxmachines.org - Čet, 07/04/2019 - 09:41
  • Linux Voice – Introduction

    For many of us mortals, the two greatest challenges are managing money and managing time. We tackle both these pressing issues in this month's edition of LinuxVoice. You'll find out how to keep your bank account balanced with the classic banking tool GnuCash. We also show you Fanurio, a time-tracking tool oriented for the professional user with advanced features for reports, invoicing, and other tasks pertinent to the enterprising freelancer.

  • openSUSE Leap 15.1 and SystemRescueCd

    OpenSUSE is a community-based Linux project sponsored by SUSE. The openSUSE Leap edition is a regular release version with tools and new technologies that will one day appear in SUSE Enterprise Linux.

    According to the openSUSE developers, the latest release offers "continuity and stability." OpenSUSE 15.1 comes with a major update to the graphics stack and better support for GPU virtualization. The YaST configuration tool offers an improved partition utility and a new interface for firewall configuration.

  • Borg Reorg

    Microsoft just announced that its built-in Linux kernel is available for testing. The Linux kernel that will be integrated with Windows 10 is tuned to work with the Windows Subsystem for Linux compatibility suite. Predictably, a new round of alarms went up around the Linux community ? just as they did when Microsoft announced that they would soon be shipping this new Linux back in May. Microsoft distributing Linux? Is this a trick or some kind of nefarious subterfuge? Weren't they the ones who said Linux is a cancer?

  • Stay punctual with chrony
  • Scheduling Commands and Scripts
  • Preparing an object for 3D printing
  • Making your scripts interactive
  • Integrated client/server solution
  • Innovative time management with Fanurio
  • Go program finds photos with nearby GPS coordinates
  • In the news

read more

Linux Mint 20 will ditch 32-bit architecture following Canonical's recent announcement

tuxmachines.org - Čet, 07/04/2019 - 09:32

Clem Lefebvre, head of the Linux Mint project, has announced that Linux Mint 20 and beyond will drop support for 32-bit systems. The news comes on the heels of a decision made by Canonical to drop support for the 32-bit architecture in Ubuntu 19.10 and Ubuntu 20.04 LTS, the latter of which Linux Mint 20 will be based on.

In the blog post, Lefebvre said he believes most people are happy with the decision to drop 32-bit versions and that it makes sense in 2020. Computers with a 64-bit processor have been on the market since 2003, and most of the computers that have shipped in this decade are 64-bit ready (except several infernal netbooks).

read more

Security: Updates/Patches and Chinese Mawlare on Top of US Malware (iOS/Android)

tuxmachines.org - Čet, 07/04/2019 - 09:26
  • Security updates for Wednesday

    Security updates have been issued by Debian (pdns), Fedora (kernel and kernel-headers), Mageia (cgit and firefox), Oracle (libssh2 and qemu-kvm), Red Hat (openstack-ironic-inspector, openstack-tripleo-common, and qemu-kvm-rhev), Scientific Linux (libssh2 and qemu-kvm), SUSE (bzip2, cronie, libtasn1, nmap, php7, php72, python-Twisted, and taglib), and Ubuntu (thunderbird and znc).

  • Google Releases July 2019's Android Security Patch to Fix over 30 Security Flaws

    Google has released today the Android Security Patch for July 2019 for all supported Pixel devices to address the latest security issues, fix bugs, and add various improvements.

    [...]

    Apart from all the security fixes, the Android Security Patch for July 2019 also fixes various bugs for supported Pixel devices. As such, it improves the "OK Google" hotword and music detection on Pixel 2, Pixel 2 XL, Pixel 3, Pixel 3 XL, Pixel 3a, Pixel 3a XL devices, and addresses an issue for some Pixel 3 and Pixel 3 XL devices getting stuck during boot.

    Moreover, Google fixed an issue on Pixel 3, Pixel 3, XL, Pixel 3a, and Pixel 3a XL devices getting stuck in EDL mode with a blank screen, improves Unicode Japanese language support for Pixel, Pixel XL, Pixel 2, Pixel 2 XL, Pixel 3, Pixel 3 XL, Pixel 3a, and Pixel 3a XL devices, and improves the performance of the Titan M module on the Pixel 3, Pixel 3 XL, Pixel 3a, and Pixel 3a XL.

    The Android Security Patch for July 2019 is now rolling out to all supported Pixel devices, including the Pixel 2, Pixel 2 XL, Pixel 3, Pixel 3 XL, Pixel 3a, and Pixel 3a XL, and it should also be available shortly for other Android devices from major manufacturers like Essential, Sony, and others. The rollout will take a few days to arrive to all users, so make sure you update as soon as possible.

  • Chinese Border Agents Now Installing Malware On Foreigners' Cellphones

    It's a pretty open intrusion. The malware makes no attempt to hide itself. It even places an icon on the device's application screen. The app has been uploaded by Motherboard and analysis shows this may possibly be for the convenience of the person scanning the phone. The app is sideloaded by border agents, who run a scan and search for the targeted content. Once this is done, those files can be viewed/exfiltrated and the app uninstalled. Also, soon after the article was published, most of the major anti-malware providers started flagging this software.

    It's all part of the surveillance regime the Chinese government has directed towards the Uighur population in Xinjiang. Only now it's spread past the historically-oppressed population to visitors to the region. Pretty much anyone travelling into the region via certain checkpoints is subject to device seizures and malware installation.

  • VMware begins patching process for Linux SACK vulnerabilities

    The two flaws, SACK Panic (CVE-2019-11477) and SACK Excess Resource Usage (CVE-2019-11478), were originally found and disclosed by Netflix researchers, along with two Linux bugs.

    “These issues may allow a malicious entity to execute a denial of service attack against affected products, warns a July 2 company security advisory that collectively rates the vulnerabilities as important in severity. (SACK Panic has a CVSSv3 base score of 7.5, while SACK Excess Resource Usage has a score of 5.3.)

    As of July 3, 11:30 a.m. ET, patches were available for SD-WAN Edge by VeloCloud, SD-WAN Gateway by VeloCloud, SD-WAN Orchestrator by VeloCloud, Unified Access Gateway and vCenter Server Appliance, and workarounds were available for Unified Access Gateway and vCloud Director for Service Providers.

read more

Devices: Librem 5 Phone, Rasp Pi and More

tuxmachines.org - Čet, 07/04/2019 - 09:03
  • Support for the Librem 5 Phone

    With the release of the Librem 5 phone approaching, Purism has presented a foretaste of how it will be supported. Purism has released the first version of a suite of communications services called Librem One, consisting of Chat, Social, Tunnel, and Mail applications designed for privacy and encryption [1]. Although Purism has yet to reveal its plans for an app site to match Google Play or the Apple App Store, Librem One by itself is likely to be a key factor in the success of the Librem 5 or future mobile devices. Without such software support, the Librem 5's chances to survive in a saturated market would probably be slim – as the BQ Aquaris M10 tablet loaded with Ubuntu Touch proved several years ago. However, in its first release, Librem One manages to be only partially successful.

    You may have already seen the promotional campaign for the Librem One services [2] (Figure 1). If so, ignore it. The campaign includes an ad featuring the voice of Linux podcaster Bryan Lunduke and the slogan, "We don't look at your junk." While the campaign must have seemed to someone a clever way to explain to unsophisticated users the importance of security and privacy, a charitable description of the ad would be that it is heavy-handed and full of repetitive adolescent innuendo. It badly misses the audience of early adopters, and feels badly out of sync with Librem One – not least because it suggests that the services are more user-friendly than they really are.

  • Runs on the Librem 5 Smartphone – Week 2

    We have just wrapped up our second week of looking at one new application (or game, or feature) running on the Librem 5 Smartphone Development Kit every single day. (You can find the first 7 pieces of software running on the Librem 5 being shown in the Week 1 post.)

    Below you’ll find the software for Week 2 (days 8 through 14) — from Emacs to Torrents to Games.

  • Salad Grower

    Columnist Charly Kühnast recently attached Mi Flora humidity sensors to his potted plants. At first, they only transmitted junk on Bluetooth, but armed with the right tools and a Rasp Pi, Charly now reaps a rich harvest of data.

    A long time ago, I wrote about my little Pomodo Pi project [1] in this magazine. It involved me monitoring my tomato plant's soil humidity and watering the plants when there was a risk of them drying out by automatically opening a solenoid valve when the humidity dropped below a certain value. The Vegetronix sensors I still use for this are high quality and durable, but, unfortunately, they need an extra A/D converter and wiring them involved some tinkering.

  • DDS-based Rasp Pi function generator

    A touch display, a case, and a custom add-on board transform the humble Rasp Pi into a high-performance function generator that rivals expensive commercial offerings.

    Modern laboratory instruments are a marvel of integration, combining hardware, software, and often mechanical components to produce versatile and highly functional units that bring real value to the engineers and technologists who use them. In this article, I aim to show how such an instrument might be put together by combining the Raspberry Pi with several elements to provide a low-cost and flexible function generator that can rival its more expensive commercial cousins on price and possibly beat them in terms of flexibility.

  • Controlling a cheap smart plug from Linux

    You could spend hundreds of dollars on specialized IoT appliances and fixtures, or you could just hack a smart plug and talk to it with your Linux system.

    Have you ever wondered if you could use Linux to power your entire IoT house? Make it prepare your coffee in the morning – even if your coffee machine is older than you and does not have a CPU? Or maybe start the PC at work with the push of a button while you sit down at home to enjoy breakfast?

    Homeowners spend hundreds of dollars on high-tech light bulbs and appliances that tie in with IoT networks. But what if you like your old appliances? What if you are concerned about the security and privacy issues of a full-blown IoT infrastructure, or maybe you just want to keep it simple while maximizing your flexibility for future customization.

read more

Kernel: DW5821e, NVMe, Linux Plumbers Conference and Zack's Kernel News

tuxmachines.org - Čet, 07/04/2019 - 08:53
  • DW5821e firmware update integration in ModemManager and fwupd

    The Dell Wireless 5821e module is a Qualcomm SDX20 based LTE Cat16 device. This modem can work in either MBIM mode or QMI mode, and provides different USB layouts for each of the modes. In Linux kernel based and Windows based systems, the MBIM mode is the default one, because it provides easy integration with the OS (e.g. no additional drivers or connection managers required in Windows) and also provides all the features that QMI provides through QMI over MBIM operations.

    The firmware update process of this DW5821e module is integrated in your GNU/Linux distribution, since ModemManager 1.10.0 and fwupd 1.2.6. There is no official firmware released in the LVFS (yet) but the setup is completely ready to be used, just waiting for Dell to publish an initial official firmware release.

    The firmware update integration between ModemManager and fwupd involves different steps, which I’ll try to describe here so that it’s clear how to add support for more devices in the future.

  • With An Out-Of-Tree Kernel Patch You Can Finally Read/Write To The SSDs On Newer Macs

    While Apple computers once ran well with Linux, that's not been the case in recent years particularly for MacBook Pros but now really all newer Apple computers have become a mess on Linux. There's been really messy issues in trying to run Macs on Linux. With MacBook Pros from recent revisions, it's now only finally possible for Linux to read/write to the solid-state drive if using an out-of-tree patch.

    This Linux NVMe driver patch was pointed out to us by a Phoronix reader for allowing 2016 and newer MacBook Pros (and newer Macs) to be able to read/write the NVMe SSD from Linux.

  • Linux Plumbers Conference: RDMA Microconference Accepted into 2019 Linux Plumbers Conference

    We are pleased to announce that the RDMA Microconference has been accepted into the 2019 Linux Plumbers Conference! RDMA has been a microconference at Plumbers for the last three years and will be continuing its productive work for a fourth year. The RDMA meetings at the previous Plumbers have been critical in getting improvements to the RDMA subsystem merged into mainline. These include a new user API, container support, testability/syzkaller, system bootup, Soft iWarp, and more. There are still difficult open issues that need to be resolved, and this year’s Plumbers RDMA Microconfernence is sure to come up with answers to these tough problems.

  • Zack's Kernel News

    When Linus Torvalds recently agreed to raise the GCC minimum supported version number to 4.8, it meant that any older system that still used older build tools, including older versions of GCC, wouldn't be able to compile new kernels without upgrading that software. The justification for his decision was partly that the various kernel ports had come to depend on later GCC versions and partly that the various Linux distributions had started shipping with later GCC versions as well. To Linus, this meant that regular users would almost certainly not be inconvenienced by the change; while kernel developers – well, Linus didn't mind inconveniencing them so much.

    But it wasn't entirely an inconvenience to developers, as Steven Rostedt recently demonstrated. Now that GCC 4.8 was the new minimum, the kernel no longer had to support older versions of GCC that lacked some of the modern new features. The way this generally works is that the kernel build system checks which version of GCC is installed and then compiles certain kernel features that are specifically coded for that GCC version. This way, by hook or by crook, all kernel features get implemented, even if they have to work around deficiencies in an older compiler. When the older compilers aren't supported anymore, all of that targeted kernel code can simply be torn out by the roots, without anyone making a fuss.

read more

Development Leftovers: Humble Book Bundle, Python, Rust, Collabora, KDE

tuxmachines.org - Čet, 07/04/2019 - 08:49
  • Humble Book Bundle: Open Source Bookshelf

    This book bundle is the perfect one for you if you’re interested in diving more deeply into the open-source developing space. If you’re a starving developer, this could help even more, as you will pay very little when you buy the Humble Book Bundle: Open Source Bookshelf by Bleeding Edge Press. You’ll pay as little as $1 for books that explain creating interfaces with Bulma, chatbots for eCommerce, practical gRPC, and more. You’ll get instruction and hands-on training in several areas. Buy the bundle and receive only the books you really need to dive deeper into open-source developing.

    When you purchase the instructional books you’re most interested in, the price you pay will include some of the money going toward charity. You can donate to Humble’s featured charity, Girls Who Code, or choose a different charity as well. Humble has raised $150,000,000 to date for its various charities.

  • Why We Removed the “Free” Channel in Conda 4.7

    One of the changes we made in Conda 4.7 was the removal of a software collection called “free” from the default channel configuration. The “free” channel is our collection of packages prior to the switch in recipes/compilers that we did for the Anaconda Distribution 5.0 release. The current primary channel, “main,” is also totally free of charge. This is not a switch to charging for packages, only a switch from two potential pools of packages to just one. We removed the “free” channel from defaults for a number of reasons – all oriented towards providing you with a faster Conda experience.

    [...]

    The brokenness that can come from the free channel can be obvious (solves taking hours) or subtle (cryptic error messages about seemingly unrelated parts), but we hope this clarifies the situation and helps you get back on track if you’ve been affected by this change. Be sure to try to rectify the usage of free in your packages, rather than leaving this setting on.

  • Awakening from the lucid dream

    While I was happy to see her familiar face, her presence struck me as odd; what would Kat, a Collabora QA team lead, be doing managing community folks on-site at a Purism facility in California? I would have thought Heather (Purism’s phone project manager) would be around, but I didn’t see her or other recognizeable members of the team. Well, probably because I was just passing through a crowd of 20 people spread on tables around a lobby area—a transitional space—set up as an ad-hoc workshop. One of the walls had big windows that let me see into a shipping area and actual meeting rooms. I went to the meeting rooms.

  • Ngrx Entities and One to Many Relationships

    When I started with Ngrx the Entity module didn't exist. My state consisted of arrays of objects. The reducers and selectors were array manipulations. It worked well but if the state had a large number of objects, the filter and maps were expensive and required lots of code.
    The Entity library made it much simpler. My reducers are much less code and dramatically simple in comparison. The selectors are about half the length. It all works quickly, is easy to set up.

    Essentially the data is stored as an entity object. { [id: string|number]: dataobj} There is a list of id's, which can be sorted. You access a specific object using the id as a property. entity[id]. If you have a list of id's, idlist.map(i => entity[i] will give you a list of objects. The Entity can sort the ids, extract whatever key you want from your data. But what if you have a relational data structure?

  • This Week in Rust 293

    Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing the trifecta: safety, concurrency, and speed. This is a weekly summary of its progress and community. Want something mentioned? Tweet us at @ThisWeekInRust or send us a pull request. Want to get involved? We love contributions.

  • Introduction to PyCharm Themes

    If you are an intensive coder, there will always be chances of you being more inclined towards the dark coding theme. According to research, over 70% of the software developers prefer to code on a dark themed IDE since it helps them concentrate longer and pay more attention to the screen. Does that happen with you too?
    While colors and attractive backgrounds bring a fresher vibe to the working environment, completely dark background, on the other hand, makes it easier to focus on the screen and helps your brain stay active while you code. Nonetheless, always choose a color scheme that is comfortable for you and increases your productivity on all levels!

  • Go programming on a Raspberry Pi
  • KIOFuse: June in Review

    The coding period has now extended over a month and quite a few improvements have been merged into KIOFuse. In my last post I mentioned the development of a KIO error to FUSE error mapping and 32 bit support.

    However, interestingly enough it took quite a long time for the 32-bit support branch to be merged. This was because of a test that didn’t fail nor pass – it froze. The test suite would never finish and the process would only respond to SIGKILL. After days of debugging it was determined that fuse_notify_inval_* functions don’t play well when writeback caching is enabled and hence there is now a patch to disable it. Of course this will incur a performance hit as writes will go straight to KIOFuse, and hence straight to disk (although the kernel may cache our write requests to our own cache). Whilst this is unfortunate, seeming as most KIO slaves are network based, switching from a writeback caching policy to a writethrough one is unlikely to hamper performance too much.

    In other news, KIOFuse can now handle SIGTERM, SIGINT and SIGHUP signals. Signal handlers can only call async-signal-safe functions. However in Qt there is a bit of hack one can perform, as inspired by this tutorial. Hence, in response to these signals, KIOFuse will flush all dirty nodes to disk, meaning no sudden data loss!

read more

Material Shell Is A New Tiling Shell For Gnome (Beta)

tuxmachines.org - Čet, 07/04/2019 - 06:32

Material Shell is a new tiling shell replacement for Gnome Shell that's currently in beta. It's tagline mentions that this extension proposes "a performant and simple opinionated mouse/keyboard workflow to increase daily productivity and comfort", while also following the Material Design guidelines.

The extension adds a new panel on the left-hand side of the screen, which has (from top to bottom) an Activities Overview button, application categories buttons (Internet, Development, Social, etc.), and a tray at the bottom.

What's more, Material Shell replaces the top bar with its own bar that lists each running application for a particular category, a + button that allows opening another application from that category, and a button to switch between tiling layouts (only 2 are available for now) for the applications in that particular category.

Also, window titlebars for applications that don't use client side decorations are removed, being replaced with the application name in the top panel added by Material Shell. A close button is also there, for easily quitting applications, though you can also use Super + Q to quit an app.

Also: Initial Fun with the Open Desktop Ratings Service: Swearing!

read more

Syndicate content
sfy39587f05