Odprtokodni pogled

Opensource view

Novice

Audiocasts: Kubecon, The Linux Link Tech Show and FLOSS Weekly With YottaDB

tuxmachines.org - Čet, 12/13/2018 - 13:33
  • Keeping up with Kubernetes | TechSNAP 392

    A security vulnerability in Kubernetes causes a big stir, but we’ll break it all down and explain what went wrong.

    Plus the biggest stories out of Kubecon, and serverless gets serious.

  • The Linux Link Tech Show Episode 787
  • FLOSS Weekly 510: YottaDB

    A lifelong hacker and geek, K.S. Bhaskar has been programming for almost half a century, and as a consequence of the technology gap between India and the US when he was an undergraduate, has programmed computers designed in the 1950s. He spent many years in the electronic test and measurement, and scientific computing worlds before moving to databases and the predecessor of YottaDB. He led GT.M, the predecessor of YottaDB from 1995 to 2017, before founding YottaDB in 2017 to take that code base – which by then felt to him like one of his children – to new markets and applications.

    Christopher is a true geek, and from a young start always wondered how the world works. He knew from a young age the computer field is where he was going to wind up working due to the infinite ways they could be used and cool things they could be made to do. Christopher has spent time in the healthcare industry working with YottaDB/GT.M/M and applying modern software development techniques to it. He also is a maker with more Raspberry Pis, Arduinos, other development boards, along with a 3d printer to keep himself busy.

read more

LWN Articles About Linux (Kernel)

tuxmachines.org - Čet, 12/13/2018 - 13:29
  • Bounded loops in BPF programs

    The BPF verifier is charged with ensuring that any given BPF program is safe for the kernel to load and run. Programs that fail to terminate are clearly unsafe, as they present an opportunity for denial-of-service attacks. In current kernels, the verifier uses a heavy-handed technique to block such programs: it disallows any program containing loops. This works, but at the cost of disallowing a wide range of useful programs; if the verifier could determine whether any given loop would terminate within a bounded time, this restriction could be lifted. John Fastabend presented a plan for doing so during the BPF microconference at the 2018 Linux Plumbers Conference.

    Fastabend started by noting that the lack of loops hurts; BPF developers are doing "crazy things" to work around their absence. He is working to enable the use of simple loops that can be modeled by the verifier. There is academic work on ways to verify more complex loops, but that is a problem for later. For now, the objective is to detect simple loops and verify that they will terminate; naturally, it's important that the verifier, too, is able to terminate in a reasonable amount of time.

  • Binary portability for BPF programs

    The BPF virtual machine is the same on all architectures where it is supported; architecture-specific code takes care of translating BPF to something the local processor can understand. So one might be tempted to think that BPF programs would be portable across architectures but, in many cases, that turns out not to be true. During the BPF microconference at the Linux Plumbers Conference, Alexei Starovoitov (assisted by Yonghong Song, who has done much of the work described) explained the problem and the work that has been done toward "compile once, run everywhere" BPF.

    Many BPF programs are indeed portable, in that they will load and execute properly on any type of processor. Packet-filtering programs, in particular, usually just work. But there is a significant class of exceptions in the form of tracing programs, which are one of the biggest growth areas for BPF. Most tracing tools have two components: a user-space program invoked by the user, and a BPF program that is loaded into the kernel to filter, acquire, and possibly boil down the needed data. Both programs are normally written in C.

  • Taming STIBP

    The Spectre class of hardware vulnerabilities was apparently so-named because it can be expected to haunt us for some time. One aspect of that haunting can be seen in the fact that, nearly one year after Spectre was disclosed, the kernel is still unable to prevent one user-space process from attacking another in some situations. An attempt to provide that protection using a new x86 microcode feature called STIBP has run into trouble once its performance impact was understood; now a more nuanced approach may succeed in providing protection where it is needed without slowing down everybody else.

    The Spectre variant 2 vulnerability works by polluting the CPU's branch-prediction buffer (BPB), which is used during speculative execution to make a guess about which branch(es) the code will take; see this article for a refresher on the Spectre vulnerabilities if needed. Closing this hole requires changes at a number of levels, but a fundamental part of the problem is preventing any code that may be targeted from running with a BPB that has been trained by an attacker.

  • The x32 subarchitecture may be removed

    The x32 subarchitecture is a software variant of x86-64; it runs the processor in the 64-bit mode, but uses 32-bit pointers and arithmetic. The idea is to get the advantages of x86-64 without the extra memory usage that goes along with it. It seems, though, that x32 is not much appreciated; few distributions support it and the number of users appears to be small.

read more

AMD Squeezes In Some Final AMDGPU Changes To DRM-Next For Linux 4.21

Phoronix - Čet, 12/13/2018 - 13:04
Complementing all of the AMDGPU feature work already staged for the upcoming Linux 4.21 kernel, another (small) batch of material was sent out on Wednesday...

KDE Applications 18.12 Are Waiting for You

KDE Dot - Čet, 12/13/2018 - 12:06

It's that time of the year again. Everyone is in a festive mood and excited about all the new things they're going to get. It's only natural, since it's the season of the last KDE Applications release for this year!

With more than 140 issues resolved and dozens of feature improvements, KDE Applications 18.12 are now on its way to your operating system of choice. We've highlighted some changes you can look forward to.

Practical File Management with Dolphin

File management encompasses a lot of activities. There's renaming, copying, and moving files around. Perhaps you want to quickly preview a file to make sure it's the right one. You're in luck, because the thumbnail preview experience has been greatly improved in the new version of Dolphin. LibreOffice documents and AppImage applications can now be previewed as thumbnails, and icon thumbnails look much cleaner. If folder thumbnails are enabled, video files larger than 5 MB will be visible in them.

Of course, there is more to Dolphin than just thumbnails. The "Control" menu makes it easier to show hidden places and create new files and folders. After unmounting a storage volume in the Places panel, it can now be remounted. Those who still own audio CDs and use Dolphin to open them will be glad to hear it can now change the CBR bitrate for MP3 files and fix timestamps for FLAC files.

Some security measures have been implemented in Dolphin to prevent users from accidentally losing their data. It no longer allows attempts to unmount the active home directory and the disk where the active OS is installed. When renaming files, Dolphin will warn you if there's an extra dot in front of the filename, which would make the file hidden. Pretty neat, right?

Okular: Annotate ALL the Things

Okular with the new Typewriter tool

Okular has steadily grown from a document viewer into an indispensable assistant in activities such as studying, doing research, or collaborating on text in read-only file formats like PDF and EPUB. Its annotation capabilities were already powerful, but the new version introduces a new tool called Typewriter. With this annotation tool, you'll be able to write text literally anywhere in your files. Whether it's commenting on an image or highlighting a spelling mistake, your hands are now untied, and you can freely express yourself in Okular.

Other improvements in this release include better options to expand and collapse entries in the Table of Contents sidebar. If a file contains links, hovering over them will always display the full URL in a tooltip, regardless of the currently selected Okular mode.

Konsole, Now with More Emotion

Spending hours or even days working in the terminal can get monotonous. Cheer up - the new version of Konsole has full support for emoji! Add a cheeky smiling cat to your commit messages, or insert a facepalm emoji into your shell scripts.

If you're into more serious things, Konsole now makes it easier to reset the font size back to the default. When a bell is triggered in an inactive tab, the tab icon will be highlighted to visually alert you of the activity. Last but not least, if your mouse has back and forward buttons, Konsole is now able to recognize them, and you can use them to switch between tabs.

Usability Improvements for Everyone

If you have been keeping up with KDE-related news, you're probably aware of our community-wide Usability Improvement goal. After all, it's hard to miss the weekly updates from our awesome developers who are dedicated to making the KDE software more accessible and friendlier to everyone.

The KDE Applications 18.12 release integrates all those fruits of labor, and the result is a much more pleasant user experience across the board. KMail now supports a unified inbox display, and emails should now be readable regardless of your color scheme. A small improvement with a big impact is the ability to repeat the last calculation in KCalc multiple times.

Kate comes with new defaults that are meant to help you work more productively right from the start. Specifically, line numbers and the Text Filter plugin will be enabled by default. You can now change the focus of the embedded terminal in Kate by pressing the F4 key, and it will automatically synchronize the location in the terminal with the location of the currently active document.

in 18.12 Kate comes with better defaults

If you are using Gwenview to fix the wretched red-eye effect in your photos, it will now be even easier thanks to the improved Reduce Red Eye tool. When taking screenshots with Spectacle, their filenames will be sequentially numbered by default. You will also notice that saving options in Spectacle are now easier to access from the Save page.

New Spectacle makes it easier to save screenshots

Ark has received support for tar.zst archives, and it's now much smarter when it comes to file previews. Instead of previewing document files as archives, Ark will now launch the appropriate application for the selected file format.

Apart from improving the standard set of applications, we have also made some of our specialized tools more usable. Lokalize, the translation and localization tool, now has a better search functionality that can recognize plural forms of words. If you keep a lot of tabs open in Lokalize, you will be able to navigate between them much faster.

Cantor, the advanced mathematical tool, now offers better visualizations and highlighting of command entries. You can also open multiple files in one Cantor shell. For users who need to draw mathematical functions, we have made Kmplot more stable and improved the SVG export functionality.

As always, check out the full list of changes in KDE Applications 18.12 to find out more.

Our work on KDE Applications continues, and we can't wait to show you what we've created in 2019. Until then, enjoy the Applications 18.12., and let us know which changes made you the happiest!

GNOME 3.31.3 released

tuxmachines.org - Čet, 12/13/2018 - 12:04

GNOME 3.31.3 is now available.

This will be our last snapshop before the year is over. Try it out,
test it, improve it.

If you want to compile GNOME 3.31.3, you can use the official
BuildStream project snapshot.

Also: GNOME 3.31.3 Released As Another Step Towards GNOME 3.32

read more

Mesa 19.0 RADV Vulkan Driver Gets New Fixes To Help DXVK Gaming

Phoronix - Čet, 12/13/2018 - 11:53
Samuel Pitoiset of Valve's Linux graphics driver team has landed some fresh patches in Mesa 19.0 (and also marked for back-porting to the stable branch) to help out the DXVK gaming experience for Windows games using Direct3D 11 that are re-mapped to run on top of the Vulkan graphics API...

Linux on the Desktop: Are We Nearly There Yet?

tuxmachines.org - Čet, 12/13/2018 - 11:51

The numbers are pretty stark: Linux might be the backbone of everything from embedded devices to mainframes and super computers. But it has just a 2% share of desktops and laptops.

It seems the only way to get most people to even touch it is to rip away everything you recognise as Linux to rebuild it as Android.

Until recently, I was in the 98%. I honestly wasn’t even conflicted. I used Linux most days both for work and for hobbies – but always in the cloud or on one of those handy little project boards that are everywhere now. For my daily driver, it was Windows all the way.

I guess what’s kept me with Windows so long is really that it’s just been good enough as a default option that I haven’t been prompted to even think about it. Which, to be fair, is a great quality in an operating system.

The last time I tried a dual boot Linux/Windows setup was about 15 years ago. I was using Unix at university, and was quite attracted to the idea of free and open source software, so I decided to give it a go.

This was back when, if you wanted to install Linux, you went to the newsagent and bought a magazine that had a CD-ROM on the front cover. I don’t exactly remember what distro it was – probably something like Slackware or Red Hat.

read more

Mozilla Firefox 64 Is Now Available for All Supported Ubuntu Linux Releases

tuxmachines.org - Čet, 12/13/2018 - 11:21

Mozilla Firefox 64.0 continues the "Quantum" series with new features and improvements, including better recommendations for US users by showing suggestions about new and relevant Firefox features, services, and extensions based on their browsing habbits, enhanced tab management by allowing you to more easily and quickly close, move, pin, or bookmark tabs.

This release also makes it easier to manage performance via a new "Task Manager" accessible from the about:performance page, allowing users to view which tabs consume more CPU time so you can close them to conserve power, adds link time optimization (Clang LTO) for Linux and Mac users, as well as a new toolbar context menu option to remove add-ons.

read more

Relax by the fire at your Linux terminal

tuxmachines.org - Čet, 12/13/2018 - 11:15

Welcome back. Here we are, just past the halfway mark at day 13 of our 24 days of Linux command-line toys. If this is your first visit to the series, see the link to the previous article at the bottom of this one, and take a look back to learn what it's all about. In short, our command-line toys are anything that's a fun diversion at the terminal.

read more

FSF Licensing and Compliance Lab: 2018 and the future

tuxmachines.org - Čet, 12/13/2018 - 11:09

I am the current licensing and compliance manager for the FSF, though I've had several roles in my time here. The Lab handles all the free software licensing work for the FSF. Copyleft is the best legal tool we have for protecting the rights of users, and the Lab makes sure that tool is at full power by providing fundamental licensing education. From publishing articles and resources on free software licensing, to doing license compliance work for the GNU Project, to handling our certification programs like Respects Your Freedom, if there is a license involved, the Lab is on the case.

When I started working at the FSF part-time in 2008, the GNU General Public License version 3 (GPLv3) was only a year old. Our Respects Your Freedom certification program didn't yet exist. The Free Software Directory wasn't yet a wiki that could be updated by the community at large. Things have changed a lot over the years, as has our ability to help users to understand and share freely licensed works. I'd like to take just a moment as 2018 draws to a close to look back on some of the great work we accomplished.

read more

QEMU 3.1 Released For Advancing The Linux Open-Source Virtualization Stack

Phoronix - Čet, 12/13/2018 - 10:50
The QEMU emulator that is widely used by the open-source Linux virtualization stack is out with its version 3.1 feature release. This is the QEMU update that is adding multi-threaded Tiny Code Generator support, display improvements, adds the Cortex-A72 model and other ARM improvements, and various other enhancements...

Wayland's Weston Switching Over To The Meson Build System

Phoronix - Čet, 12/13/2018 - 07:42
Complementing the Meson build system support for Wayland itself, the Weston reference compositor now has been Meson-ized...

AMDGPU DC Gets Polaris Corruption Fix, Some Code Refactoring

Phoronix - Čet, 12/13/2018 - 06:09
AMD has published their latest batch of "DC" Display Core patches for the AMDGPU Linux kernel driver...

NVIDIA Now Shipping The Jetson AGX Xavier Module

Phoronix - Čet, 12/13/2018 - 05:00
NVIDIA has been shipping the Jetson AGX Xavier Developer Kit the past few months while now they are beginning to ship the AGX Xavier Module intended for use in next-generation autonomous machines...

Pantheon Desktop Makes Linux Elementary

tuxmachines.org - Čet, 12/13/2018 - 02:00

The more I use the multitasking feature, the more I like its click-and-go navigational style. Getting rid of workspaces or running apps is simple. Hover the mouse pointer over the multitasking bar and click the icon's circled X.

Elementary OS is a very solid Linux distro. Its uncluttered design is encouraged by not being able to place app icons on the desktop. There are no desklet programs to create distractions.

So far, the only real obstacle I've encountered in using Elementary OS is the need to adapt to having fewer power-user features. While basic installation was smooth and event free, not having preinstalled text editors, word processors or an alternative Web browser was an inconvenience.

New users who do not know what software they need to fill this void are at a big disadvantage. Want to Suggest a Review? Is there a Linux software application or distro you'd like to suggest for review? Something you love or would like to get to know?

read more

[$] LWN.net Weekly Edition for December 13, 2018

LWN.net - Čet, 12/13/2018 - 01:42
The LWN.net Weekly Edition for December 13, 2018 is available.

leftovers and howtos

tuxmachines.org - Čet, 12/13/2018 - 01:19
  • What is the preferred developer operating system?

    If you compare traditional OSes, the differences shouldn't be that significant for developers.

    We deploy most apps in the cloud now, where you can choose to host them on whichever developer operating system you want -- well, maybe not on macOS, but certainly Windows or Linux. And, even if you deploy your application locally, virtual machines (VMs) make it easy to set up whichever type of OS environment you need.

    Cross-platform portability is an explicit goal for most popular programming languages today, such as C, Java and Python. C was born in the early 1970s as a way to make Unix portable across different hardware platforms. The Java virtual machine greatly simplified cross-OS portability. And Python applications can run on virtually any OS.

    Modern programming languages still aren't entirely OS-agnostic, of course. Developers often have to address OS-specific dependencies when they write an application, and the installation process for most applications differs from one OS to the next.

    Still, by and large, the modern programmer doesn't have to think about the differences between various developer operating systems nearly as much as she did a decade ago. In some cases, you can drag and drop the same application from one OS to another without requiring any configuration changes at all.

  • Linux / UNIX: Check If File Is Empty Or Not Using Shell Script
  • How to install a TIG stack on Ubuntu 18.04
  • How to install LDAP Account Manager on Ubuntu 18.04
  • How to install Winbox on Ubuntu and Linux Mint
  • How to install Webmin on Ubuntu 18.04 /16.04 LTS server
  • MySQL GUI Tools for Windows and Ubuntu/Linux: Top 8 Free & open source
  • How to install MySQL workbench on Ubuntu
  • Christmas Maps

    It´s been ages since I last shared any Maps news, so it´s probably about time…
    Some things have happened since the stable 3.30.0 release in September.

    First off we have a new application icon, courtesy of Jakub Steiner using the icon style for the upcoming GNOME 3.32

  • Calamares seeking translators

    Calamares, the Linux system installer for boutique distro’s, is translated into 50 or so languages. It’s not a KDE project, but uses a bunch of KDE technology like the KDE Frameworks and KPMCore. It doesn’t use the KDE translation infrastructure, either, but Transifex.

  • ROOT histograms

    In one of the previous blogs we introduced the new capability of LabPlot to calculate and to draw histograms. Given a data set, the user can calculate the histogram using different binning methods and to visualize the calculated histogram in the new plot type “histogram”. A different workflow is given when the histogram was already calculated in another application and the application like LabPlot is just used to visualize the result of such a calculation and to adjust the final appearance of the plot.

    Couple of weeks ago Christoph Roick contributed a new input filter for ROOT histograms. ROOT is a computational environment developed at CERN that is used for data processing, statistical analysis and data visualization, mainly for purposes in the high energy physics community.

read more

Syndicate content
sfy39587f05