Odprtokodni pogled

Opensource view

Tuja odprtokodna scena

LLVM 11 Merges AMD Radeon GCN Offloading For OpenMP

Phoronix - Sre, 05/27/2020 - 11:40
While AMD has been working on AOMP for Radeon OpenMP offloading as their downstream of the LLVM/Clang compiler suited for GPU compute offloading to their hardware, at least some of that work is beginning to appear back in upstream LLVM...

Qt Updates Its Online Installer To Clarify Open-Source Obligations

Phoronix - Sre, 05/27/2020 - 11:24
Following yesterday's release of Qt 5.15 LTS as the last series before Qt 6.0, The Qt Company has now released a new Qt Online Installer...

While waiting for the Linux train, Bork pays a visit to Geordieland with Windows 10

tuxmachines.org - Sre, 05/27/2020 - 11:11

Bork!Bork!Bork! As the UK tentatively returns to work and those who must venture back onto public transport, we were happy to learn that even in these changed times, Windows remains as wobbly as ever.

Today's entry comes from Register reader Dan.

Snapped last week, the Newcastle Station Info Point is terribly poorly, with three pop-ups showing Windows' escalating levels of distress.

The first sign of wobbling was the "Close programs" message, which tends to pop up when Microsoft's OS is getting short of resources. Things went downhill from there.

read more

Getting Started With Nano Text Editor [Beginner’s Guide]

tuxmachines.org - Sre, 05/27/2020 - 10:29

Though Nano is less complicated to use than the likes of Vim and Emacs, it doesn’t mean Nano cannot be overwhelming to use. Learn how to use Nano text editor.

read more

End-of-life announcement for CoreOS Container Linux

tuxmachines.org - Sre, 05/27/2020 - 08:35

As we've previously announced, Fedora CoreOS is the official successor to CoreOS Container Linux. Fedora CoreOS is a new Fedora Edition built specifically for running containerized workloads securely and at scale. It combines the provisioning tools and automatic update model of Container Linux with the packaging technology, OCI support, and SELinux security of Atomic Host. For more on the Fedora CoreOS philosophy, goals, and design, see the announcement of the preview release and the Fedora CoreOS documentation.

We'd love for you to try Fedora CoreOS and get involved! You can report bugs and missing features to the issue tracker and discuss Fedora CoreOS in Fedora Discourse, the development mailing list, in #fedora-coreos on Freenode, or at our weekly IRC meetings.

Also: Red Hat’s CoreOS Container Linux Reaches Its End-Of-Life

read more

Open Letter to the TrueOS Community: TrueOS Discontinuation

tuxmachines.org - Sre, 05/27/2020 - 08:06

Hey TrueOS Community! I just wanted to take a few minutes to address what some of you may have already guessed. With a heavy heart, the TrueOS Project’s core team has decided to discontinue the development of TrueOS for the foreseeable future. We’ll still be heavily involved in other Open Source projects like FreeNAS & TrueNAS CORE. We’re incredibly proud of the work we put into TrueOS and its predecessor, PC-BSD.

TrueOS source code will remain available on GitHub for others that may want to continue the work that we started so many years ago. I can’t explain just how much we appreciate you all being loyal fans of TrueOS and PC-BSD in the past. We’re confident that even though this is a hard decision, it’s also the correct decision because of the exciting new projects that we’re all becoming more involved in like TrueNAS CORE. If you have any questions don’t hesitate to ask.

read more

Raspberry Pi 4: Chronicling the Desktop Experience – Calculators – Week 31

tuxmachines.org - Sre, 05/27/2020 - 08:06

This is a weekly blog about the Raspberry Pi 4 (“RPI4”), the latest product in the popular Raspberry Pi range of computers.

The desktop calculator is a small utility that’s shipped with all major operating systems. It’s usually a standard affair, and designed for basic use. They typically include trigonometric functions, logarithms, factorials, parentheses and a memory function.

In this article I’m surveying some of the notable calculator software available for the RPI4. I’m not looking at computer algebra systems although they are available from the RPI4. Let’s first look at galculator.

read more

Linux Kernel Development and NVIDIA Graphics

tuxmachines.org - Sre, 05/27/2020 - 03:26
  • Micron's HSE Open-Source Storage Engine Ticks Up To v1.7.1

    Announced at the end of April was Micron's HSE as a new open-source storage engine designed for offering speedy performance and lower latency on modern solid-based storage, especially for systems employing 3D XPoint technology. Version 1.7.1 of HSE was released today as their first open-source release since going public with this technology.

    HSE 1.7.0 was released a week prior to Micron announcing this open-source project in April while has now been succeeded by v1.7.1. This heterogeneous-memory storage engine over the past month has seen a number of fixes throughout, cleaning up code as a result of code review, fixing up some of the examples, and other work.

  • Linux 5.8 Feature Queue Has Multiple Performance Optimizations, Intel Rocket Lake, Other Hardware

    If all goes well Linux 5.7 should reach stable this weekend and that in turn will mark the start of the Linux 5.8 merge window. With our monitoring of the various "-next" branches for weeks already, here is a look at some of what is on the table for this next version of the Linux kernel.

  • NVIDIA 440.66.15 Vulkan Linux Driver Offers Up More Fixes

    NVIDIA has been quite aggressive recently with their new Vulkan beta drivers for Windows and Linux with today marking another such release.

    NVIDIA over the course of May is now on their third Vulkan beta series after the prior two added new Vulkan extensions and different fixes, including improvements to their KHR ray-tracing support. Today's release is focused squarely on delivering more fixes to users/developers.

read more

"Contributing to KDE is easier than you think" and KIO FUSE Beta (4.95.0) Released

tuxmachines.org - Sre, 05/27/2020 - 03:09

  • Contributing to KDE is easier than you think – Websites from scratch

    This is a series of blog posts explaining different ways to contribute to KDE in an easy-to-digest manner. The purpose of this series originated from how I feel about asking users to contribute back to KDE. I firmly believe that showing users how contributing is easier than they think is more effective than simply calling them out and directing them to the correct resources; especially if, like me, said user suffers from anxiety or does not believe they are up to the task, in spite of their desire to help back.

    Last time I talked about websites, I taught how to port current KDE websites to Markdown, and this led to a considerable influx of contributors, since it required very little technical knowledge. This blog post however is directed to people who are minimally acquainted with git, html/css, and Markdown. We will be learning a bit of how Jekyll and scss work too.

  • KIO FUSE Beta (4.95.0) Released

    It’s a great pleasure to announce that KIO FUSE has a second Beta release available for testing! We encourage all who are interested to test and report their findings (good or bad) here. Note that, the more people who test (and let us know that they’ve tested), the quicker we’ll be confident to have a 5.0.0 release. You can find the repository here.

    To compile KIO FUSE, simply run kdesrc-build kio-fuse or follow the README. If your distributor is really nice they may already have KIO FUSE packaged but if they don’t, encourage them to do so!

read more

Firefox Nightly, Mozilla Localization and "Browsers are not rendering engines"

tuxmachines.org - Sre, 05/27/2020 - 03:02
  • Firefox Nightly: These Weeks in Firefox: Issue 74
  • Mozilla Localization (L10N): How to unleash the full power of Fluent as a localizer

    Fluent is an extremely powerful system, providing localizers with a level of flexibility that has no equivalent in other localization systems. It can be as straightforward as older formats, thanks to Pontoon’s streamlined interface, but it requires some understanding of the syntax to fully utilize its potential.

    Here are a few examples of how you can get the most out of Fluent. But, before jumping in, you should get familiar with our documentation about Fluent syntax for localizers, and make sure to know how to switch to the Advanced FTL mode, to work directly with the syntax of each message.

  • Stuart Langridge: Browsers are not rendering engines

    An interesting writeup by Brian Kardell on web engine diversity and ecosystem health, in which he puts forward a thesis that we currently have the most healthy and open web ecosystem ever, because we’ve got three major rendering engines (WebKit, Blink, and Gecko), they’re all cross-platform, and they’re all open source. This is, I think, true. Brian’s argument is that this paints a better picture of the web than a lot of the doom-saying we get about how there are only a few large companies in control of the web. This is… well, I think there’s truth to both sides of that. Brian’s right, and what he says is often overlooked. But I don’t think it’s the whole story.

    You see, diversity of rendering engines isn’t actually in itself the point. What’s really important is diversity of influence: who has the ability to make decisions which shape the web in particular ways, and do they make those decisions for good reasons or not so good? Historically, when each company had one browser, and each browser had its own rendering engine, these three layers were good proxies for one another: if one company’s browser achieved a lot of dominance, then that automatically meant dominance for that browser’s rendering engine, and also for that browser’s creator. Each was isolated; a separate codebase with separate developers and separate strategic priorities. Now, though, as Brian says, that’s not the case. Basically every device that can see the web and isn’t a desktop computer and isn’t explicitly running Chrome is a WebKit browser; it’s not just “iOS Safari’s engine”. A whole bunch of long-tail browsers are essentially a rethemed Chrome and thus Blink: Brave and Edge are high up among them.

read more

FSF Chasing Members and GNU Project Has a Dozen New Releases This Month

tuxmachines.org - Sre, 05/27/2020 - 02:59
  • Don’t miss your chance to win fabulous prizes: Get your friends to join the FSF!

    As you may already know, every associate member is incredibly valuable to the Free Software Foundation (FSF). Since most of our funding comes from individual donations and memberships, associate members aren’t just a number. Each new membership magnifies our reach and our ability to effect social change, by demonstrating your commitment to the crucial cause of software freedom.

    Right now, FSF associate members have the opportunity to reap some fantastic rewards by participating in our virtual LibrePlanet membership drive. We still have the raffle prizes generously donated by Technoethical, Vikings, JMP.chat, and ThinkPenguin for this year’s LibrePlanet conference, which we held entirely online this year due to the COVID-19 pandemic. Now, we’re giving them away to those who go the extra mile to help us grow by referring new annual associate members to sign up!

  • May GNU Spotlight with Mike Gerwitz: 12 new releases!

    bison-3.6.2
    denemo-2.4.0
    emms-5.4
    freeipmi-1.6.5
    gcc-10.1.0
    gdb-9.2
    gnuastro-0.12
    gnuhealth-3.6.4
    mediagoblin-0.10.0
    nano-4.9.3
    nettle-3.6
    parallel-20200522

read more

Programming: SDL, QML, Python, Awk/Bash and More

tuxmachines.org - Sre, 05/27/2020 - 02:44
  • Photoframe Hack

    Sometimes you just want to get something done. Something for yourself.

    You do not intend it to be reused, or even pretty.

    You build a tool.

    My tool was a photoframe with some basic overlays. I wanted the family calendar, some weather information (current temperature + forecast), time, and the next bus heading for the train station.

    [...]

    I also have a bunch of REST calls to my local home assistant server. Most of these reside in the HassButton class, but I also get the current temperature from there. These are hardcoded for my local network, so needs refactoring to be used outside of my LAN.

    All of these interfaces require API keys of one kind or another – be it a proper key, or a secret URL. These are pulled from environment variables in main.cpp and then exposed to QML. That way, you can reuse the components without having to share your secrets.

  • Writing the Ultimate Locking Check

    In theory a clever programmer could discover all the bugs in a piece of software just by examining it carefully, but in reality humans can't keep track of everything and they get distracted easily. A computer could use the same logic and find the bugs through static analysis. There are two main limitations for static analysis. The first is that it is hard to know the difference between a bug and feature. Here we're going to specify that holding a lock for certain returns is a bug. This rule is generally is true but occasionally the kernel programmers hold a lock deliberately. The second limitation is that to understand the code, sometimes you need to understand how the variables are related to each other. It's difficult to know in advance which variables are related and it's impossible to track all the relationships without running out of memory. This will become more clear later. Nevertheless, static analysis can find many bugs so it is a useful tool.

    Many static analysis tools have a check for locking bugs. Smatch has had one since 2002 but it wasn't exceptional. My first ten patches in the Linux kernel git history fixed locking bugs and I have written hundreds of these fixes in the years since. When Smatch gained the ability to do cross function analysis in 2010, I knew that I had to re-write the locking check to take advantage of the new cross function analysis feature. When you combine cross function analysis with top of the line flow analysis available and in depth knowledge of kernel locks then the result is the Ultimate Locking Check! Unfortunately, I have a tendency towards procrastination and it took me a decade to get around to it, but it is done now. This blog will step through how the locking analysis works.

  • Raising the ground

    To read this blog I recommend you to be familiar with C programming language and (not mandatory) basics about SDL2. The main goal of this blog is not to give you a copy and paste code, instead it will guide you along the way until you get results by your own merit, also if you find any issues/mistakes/room for improvement please leave a response, thanks for reading.

  • PyCoder’s Weekly: Issue #422 (May 26, 2020)
  • Real Python: A Beginner's Guide to Pip

    What is pip? pip is the standard package manager for Python. It allows you to install and manage additional packages that are not part of the Python standard library. This course is an introduction to pip for new Pythonistas.

  • Awk Cheatsheet And Examples

    Awk is a great utility for text parsing and maniupulation. All unix operating systems have Awk installed by default. If you are on Windows. Please check out at the bottom of this tutorial on how to install and enable awk on Windows.

  • Printing repeats within repeats, and splitting a list into columns

    Repeats within repeats. BASH printf is a complex piece of machinery. The man page says a printf command should look like printf FORMAT [ARGUMENT]..., which makes it seem the "argument" is the thing to be printed and the "format" describes how.

read more

Devices/Embedded With Linux

tuxmachines.org - Sre, 05/27/2020 - 02:29
  • Gemini Lake industrial mini-PCs are loaded with USB and COM ports

    GigaIPC latest QBiX Series industrial mini-PCs run Linux or Windows on Intel Gemini Lake and offer up to 8x USB and 5x COM ports plus dual displays, GbE, SATA III, M.2, and ruggedization features.

    Taiwanese computer vendor Gigabyte primarily produces consumer and enterprise desktop PC and server equipment, so we were surprised in 2017 when it launched an embedded 3.5-inch, Intel Apollo Lake GA-SBCAP3350 SBC. The following year in 2018, Gigabyte spun off GigaIPC as an embedded unit, and it has already generated a large catalog of Intel-based products including Micro-ATX, Mini-ITX, thin Mini-ITX, and 110 x 105mm “10×10” boards. There are 15 different 3.5-inch “QBi Pro” boards much like the GA-SBCAP3350, but also available with Whiskey Lake and Kaby Lake-U processors.

  • 19″ Rackmounts Support up to 12 Raspberry Pi SBCs

    Last time, we wrote about myelectronics.nl we covered their Tesla Cybertruck Case for Intel NUCs which housed the mini PC into a mini CyberTruck looking enclosure. The company has now come up with new housing solutions specifically designed for Raspberry Pi 1/2/3/4 Model B/B+ boards.

  • PoE-ready Ryzen V1000 SBC is all about camera control

    Axiomtek’s “MIRU130” SBC targets embedded vision applications with a Ryzen V1000 SoC, 4x USB 3.1 Gen2, HDMI and DP ports, cam triggers and lighting controls, 2x M.2, PCIe x16, and 4x GbE ports, 2x of which offer PoE.

    Axiomtek recently launched a CAPA13R, joineing Seco’s similarly 3.5-inch SBC-C90 as the only SBCs we have seen based on AMD’s Ryzen Embedded V100. Now Axiomtek has returned with a larger, V1000-based MIRU130 motherboard with a 244 x 170mm form factor that falls in between Mini-ITX and Micro-ATX.

  • IAR Systems Delivers Efficient Embedded Software Building on Linux

    Through the C/C++ compiler and debugger toolchain IAR Embedded Workbench®, IAR Systems provides its customers with the market's most diverse microcontroller support as well as adapted licensing options to fit different organizations' needs. This flexibility is now extended to the build environment as the well-known build tools in IAR Embedded Workbench now support Linux. The tools offer leading code quality, outstanding optimizations for size and speed, and fast build times. Supporting implementation in Linux-based frameworks for automated application build and test processes, the tools enable large-scale deployments of critical software building and testing and is suitable for installations ranging from a few licenses on a small build server, to massive installations with several hundreds of parallel builds active at the same time.

  • Librem 5 April 2020 Software Development Update

    This is another incarnation of the software development progress for the Librem 5. This time for April 2020 (weeks 14-18). Some items are covered in more detail in separate blog posts at https://puri.sm/news. The idea of this summaries is so you can have a closer look at the coding and design side of things. It also shows how much we’re standing on the shoulders of giants reusing existing software and how contributions are flowing back and forth. So these reports are usually rather link heavy pointing to individual merge requests on https://source.puri.sm/ or to the upstream side (like e.g. GNOME’s gitlab.)

read more

Games: Burning Knight, Elder Scrolls, Cities: Skylines and PyGame

tuxmachines.org - Sre, 05/27/2020 - 02:14
  • Burning Knight is a roguelike where you rob a dungeon, coming soon

    At least the setting is honest, you're totally robbing the dungeons in Burning Knight and then attempting to flee.

    Burning Knight is an action-packed procedurally generated roguelike, with fast-paced action and plenty of exploration across various floors in the Burning Knight's castle that you're stealing goods from. It can turn into a bullet-hell in some rooms, there's hundreds of items to find and they can be combined to "build your very own game-breaking combos" and it does sound awesome.

    The developer, Rexcellent Games, just announced on Twitter yesterday that it's now actually complete. They're waiting on Valve's approval, and it looks like it will hopefully release next month. SteamDB captured the date changing to June 5 but that might be a temporary date.

  • Stadia gets Elder Scrolls Online on June 16, 1440p in web and more

    A few bits of Stadia news for you as Google have announced the next set of additions coming to their game streaming service.

    For players who were a bit let down by resolution options, there's some good news. As some players already saw across the last few weeks and today being made properly official, 1440p is now an option when playing Stadia in a web browser.

  • Humble Cities: Skylines Bundle is up for some easy city building

    Cities: Skylines, one of the finest city builders ever is now available in a big Humble Bundle for you to grab the base game and lots of extra content.

    This is honestly a ridiculously good deal and probably the cheapest Cities: Skylines has ever been. For £1 you can get Cities: Skylines and the Deep Focus Radio DLC. Even if you only go for that, there's a lot to enjoy without any expansions.

  • Python Qt5 - PyQt5 and PyGame compatibility with source code.

    This tutorial tries to solve from the objectives related to solving and stabilizing compatibility errors between PyQt4 and PyQt5 and creating a common interface between PyQt5 and PyGame.
    There is always the same problem in programming when the developer for some reason has to change classes, methods and functions and reusing the old code is no longer valid.
    In this case, common or other errors occur, which leads to a waste of time.

read more

Red Hat and IBM

tuxmachines.org - Sre, 05/27/2020 - 02:07
  • Fighting exploits with Control-Flow Integrity (CFI) in Clang

    Many available exploits are based on techniques such as Return Oriented Programming and Shell Code Injection and execution, as well as other ways an attacker can gain control and subvert the expected execution flow from an application’s execution flow. These exploits aren't novel, nor are techniques to try to prevent them. Compilers deploy a wide range of hardening at compilation-time to mitigate the risk of arbitrary code execution. These include Stack Canaries, Stack-clash protection, and FORTIFY_SOURCE as examples of builtin protections against stack corruption and control flow integrity.

    With that in mind we are going to have a look at the Control-Flow Integrity (CFI) protection implemented by the Clang compiler for x86_64 architecture.

  • Red Hat Software Collections 3.5 and Red Hat Developer Toolset 9.1 now generally available

    The latest versions of Red Hat Software Collections and Red Hat Developer Toolset are now generally available. Red Hat Software Collections 3.5 delivers the latest stable versions of many popular open source runtime languages and databases natively to the world’s leading enterprise Linux platform. These components are supported for up to five years, helping to enable a more consistent, efficient, and reliable developer experience.

  • Build Smart on Kubernetes with OpenShift from anywhere in the world

    The Build Smart on Kubernetes World Tour is a series of in-person and virtual workshops around the globe that help you build the skills you need to quickly modernize your applications. This World Tour provides a hands-on experience and teaches the basics and more of working with Kubernetes using the hybrid-cloud, enterprise container platform Red Hat® OpenShift® on IBM Cloud™.

  • IBM Data Asset eXchange launches new data sets and exploratory Watson Studio notebooks

    The IBM® Data Asset eXchange (DAX) is an online hub for developers and data scientists to find free and open data sets under open data licenses. A particular focus of the exchange is data sets under the Community Data License Agreement (CDLA). Since launching the exchange in 2019, the Center for Open-Source Data & AI Technologies (CODAIT) team has been working on steadily adding new data sets to the exchange, as well as resources that help explore these data sets.

    Our latest update to the Data Asset eXchange adds a host of new data-related assets and user experience enhancements. For existing data sets, we’ve added seven new Watson Studio notebooks as well as three Watson Studio projects (a new class of data assets that package multiple notebooks together). Along with these notebooks, we’ve also added eight new data sets to the exchange, featuring domains such as oil extraction, remote sensing, and speech recognition. Finally, we are working on improving the way DAX displays data set previews. We have begun to add data glossaries and detailed metadata sections to provide users with extra context behind a data set’s features and use cases. We have also started working on accommodating text, image, and audio data record preview allowing users to sample data sets without having to download the entire data set archive.

  • New container capabilities in Red Hat Enterprise Linux 8.2

    In Red Hat Enterprise Linux 8.1, we added new container features including full support for rootless Podman, Podman Play/generate Kube, and container images for the Golang toolset ("A minor release with major new container capabilities"). Red Hat Enterprise Linux 8.2 hits the ground with an even bigger set of features.

read more

GNOME Foundation Elections and Report

tuxmachines.org - Sre, 05/27/2020 - 02:02
  • Looking for candidates for the 2020 GNOME Foundation elections

    I forgot to write this a few days ago; I hope it is not too late.

    The GNOME Foundation's elections for the Board are coming up, and we are looking for candidates. Of the 7 directors, we are replacing 4, and the 3 remaining positions remain for another year. You could be one of those four.

    I would like it very much if there were candidates and directors that fall outside the box of "white male programmer"; it is unfortunate that for the current Board we ended up with all dudes. GNOME has a Code of Conduct to make it a good place to be.

  • Se buscan candidat@s para las elecciones 2020 de la Fundación de GNOME
  • GNOME Foundation Board of Directors: a Year in Review

    The 2020 elections for the GNOME Foundation Board of Directors are underway, so it’s a good time to look back over the past 12 months and see what the current board has been up to. This is intended as a general update for members of the GNOME project, as well as a potential motivator for those who might be interested in running in the election!

read more

Syndicate content
sfy39587f05