Odprtokodni pogled

Opensource view

Tuja odprtokodna scena

There's A Kernel Subsystem Being Dropped In Linux 5.3 As Easier To Start Over Than Fix

Phoronix - Pon, 07/08/2019 - 10:36
The GPIO updates for the newly-opened Linux 5.3 kernel merge window is dropping the FMC subsystem as they deem it easier to re-start from scratch writing that code than to try to repair it, or "start over using the proper kernel subsystems than try to polish the rust shiny." Funny enough, this code is being used by the CERN's well known Large Hadron Collider...

Jailhouse 0.11 Hypervisor Brings New CPU Support, Spectre V2 Mitigation For ARM

Phoronix - Pon, 07/08/2019 - 10:22
The past several years Siemens and others have been working on Jailhouse as a Linux-based partitioning hypervisor for bare metal appliances. Their previous release was all the way back during last year's Oktoberfest and now with construction for this year's fest kicking off at the wiesn, the developers happen to be releasing their next version of Jailhouse...

today's leftovers

tuxmachines.org - Pon, 07/08/2019 - 09:08
  • Christoph Cullmann: Kate LSP Client Restart

    Since my last post about the LSP client progress in May I didn’t work on that project at all I think.

    But the good news is, somebody else did scratch that itch on his own ;=)

    We have now a prototype plugin in kate.git master, see lspclient in the addons directory.

  • Internet group brands Mozilla ‘internet villain’ for supporting DNS privacy feature

    An industry group of internet service providers has branded Firefox browser maker Mozilla an “internet villain” for supporting a DNS security standard.

    The U.K.’s Internet Services Providers’ Association (ISPA), the trade group for U.K. internet service providers, nominated the browser maker for its proposed effort to roll out the security feature, which they say will allow users to “bypass UK filtering obligations and parental controls, undermining internet safety standards in the UK.”

    Mozilla said late last year it was planning to test DNS-over-HTTPS to a small number of users.

    Whenever you visit a website — even if it’s HTTPS enabled — the DNS query that converts the web address into an IP address that computers can read is usually unencrypted. The security standard is implemented at the app level, making Mozilla the first browser to use DNS-over-HTTPS. By encrypting the DNS query it also protects the DNS request against man-in-the-middle attacks, which allow attackers to hijack the request and point victims to a malicious page instead.

  • Urgent warning to upgrade Windows as flaw lets hackers take control remotely

    Microsoft users have been urged to update their operating systems, with engineers showing how a flaw identified by the tech giant could be exploited by hackers to break into systems and execute code remotely.

    The so-called BlueKeep vulnerability was identified earlier this year.

    It's regarded as so serious that government agencies such as the US National Security Agency as well as the Australian Cyber Security Centre urged users to install the Microsoft security patch as soon as possible.

    Now engineers at British cybersecurity company Sophos have shown how it can be used by cybercriminals to get "full control of a remote system without having to deploy any malware".

    The engineers showed that the exploit is also "wormable" which means once hackers get into one system they can then use it to spread malware to other systems.

  • WPS Office Linux Update Adds PDF Support, Drops 32-bit Support

    An all-new update to the free WPS Office productivity suite is available for Linux.

    WPS Office features a stack of iterative improvements, but no major new features to speak of, besides the ability to open and display PDF documents natively.

    This is the first update to the office suite since April but it does not contain all the ‘new’ features available in the latest WPS Office 2019 release for Windows. The Linux version is community maintained.

read more

LLVMpipe Software OpenGL Implementation Picks Up More GL4 Extensions

Phoronix - Pon, 07/08/2019 - 09:07
It's 2019 and OpenGL 4.6 remains the latest version of this once predominant graphics API yet Mesa's Gallium3D LLVMpipe software rasterizer is still only exposing OpenGL 3.3...

OSS Leftovers

tuxmachines.org - Pon, 07/08/2019 - 09:03
  • Prioritization of bug reports and feature requests in Free and Open Source software projects

    A few months ago I wrote an essay on software development planning in FOSS projects.

  • Kushal Das: Two new federated services for dgplug

    Having our own instance was in the plan for time in my head. I had personal Mastodon account before, but, that instance went down and never tried to find a new home. This time, I think if a few of us (the sys-admins from the group) use this as a regular thing for ourselves, it will be much easier to maintain than depending on someone else.

    Any regular dgplug member can get an invite link for the instance by joining the IRC channel and asking for the same.

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

    We are pleased to announce that the Scheduler Microconference has been accepted into the 2019 Linux Plumbers Conference! The scheduler determines what runs on the CPU at any given time. The lag of your desktop is affected by the scheduler, for example. There are a few different scheduling classes for a user to choose from, such as the default class (SCHED_OTHER) or a real-time class (SCHED_FIFO, SCHED_RT and SCHED_DEADLINE). The deadline scheduler is the newest and allows the user to control the amount of bandwidth received by a task or group of tasks. With cloud computing becoming popular these days, controlling bandwidth of containers or virtual machines is becoming more important. The Real-Time patch is also destined to become mainline, which will add more strain on the scheduling of tasks to make sure that real-time tasks make their deadlines (although, this Microconference will focus on non real-time aspects of the scheduler. Please defer real-time topics to the Real-time Microconference). This requires verification techniques to ensure the scheduler is properly designed.

  • Alibaba, Baidu and Xiaomi Open-Source Their SOTA Research

read more

today's howtos and programming bits

tuxmachines.org - Pon, 07/08/2019 - 09:02
  • Repair a Faulty Disk in Raid-5
  • OpenShift's haproxy as IPv6 ingress
  • How to install the Pantheon desktop environment on Ubuntu
  • Install Siberian CMS with LAMP on Ubuntu 18.04 – Google Cloud
  • Why Use Python for Startups?

    When I was just starting out learning Django to break into the local startup scene.

    I was wondering what are the types of startups, who are looking for python developers?

    There is demand for Django developer which Shopee was trying to search for them.

    Sadly there wasn't much information about it till I was searching consistently for these startups on AngelList, Tech in Asia or e27.

  • Full Stack Python: Developer-led Sales for Startups

    This blog post contains the slides along with a loose transcript from my talk on the promises and perils of developer-led sales as an early-stage company method to acquire customers.

    I gave this talk remotely to Ubiquity.VC portfolio company startup founders and the Extended Team on June 26, 2019.

  • Create integer list from a number with python

    In this chapter, we are given a number and we need to return a list of integer based on that number, for example, number 3 will return a list of [1,2,3].

    We will first create an empty array, then we will loop through that number and push the new number (count + 1) into that empty list.

  • sRGB↔XYZ conversion

    In an earlier post, I’ve shown how to calculate an sRGB↔XYZ conversion matrix. It’s only natural to follow up with a code for converting between sRGB and XYZ colour spaces. While the matrix is a significant portion of the algorithm, there is one more step necessary: gamma correction.

  • Domain Driven Design For Python

    When your software projects start to scale it becomes a greater challenge to understand and maintain all of the pieces. In this episode Henry Percival shares his experiences working with domain driven design in large Python projects. He explains how it is helpful, and how you can start using it for your own applications. This was an informative conversation about software architecture patterns for large organizations and how they can be used by Python developers.

read more

10 ways to get started with Linux

tuxmachines.org - Pon, 07/08/2019 - 08:34

The article What is a Linux user? by Anderson Silva made it clear that these days people are as likely to use Linux (in some way) as they are to use Windows, as long as your definition of "using Linux" is sufficiently broad. Still, if you don't have enough Linux in your life, now is a great time to try Linux in a way you've never tried before.

Here are 10 ways to get started with Linux. Try one or try them all.

read more

Retro Hardware and No Hardware

tuxmachines.org - Pon, 07/08/2019 - 07:34
  • The Most Retro Way to Run Terminal Commands on Linux, Period

    The Lorzenz Lo15 is a 1930s teleprinter (also known teletype, teletypewriter, and TTY [TeleTYpe], the the latter being how the Unix TTY available in Linux distros got its name).

    These machines supported an early form of electronic communication that allowed typed messages to be sent and received over a network using Baudot, an early precursor to ASCII (which is the current character encoding standard for electronic communication).

    The machine features an early serial interface that, with the right know-how, can be mapped to USB (Lind explains more in a follow-up tweet), something a troupe of talented tech bods have taken advantage of over the years.

  • Matthew Garrett: Creating hardware where no hardware exists

    The laptop industry was still in its infancy back in 1990, but it still faced a core problem that we do today - power and thermal management are hard, but also critical to a good user experience (and potentially to the lifespan of the hardware). This is in the days where DOS and Windows had no memory protection, so handling these problems at the OS level would have been an invitation for someone to overwrite your management code and potentially kill your laptop. The safe option was pushing all of this out to an external management controller of some sort, but vendors in the 90s were the same as vendors now and would do basically anything to avoid having to drop an extra chip on the board. Thankfully(?), Intel had a solution.

    The 386SL was released in October 1990 as a low-powered mobile-optimised version of the 386. Critically, it included a feature that let vendors ensure that their power management code could run without OS interference. A small window of RAM was hidden behind the VGA memory[1] and the CPU configured so that various events would cause the CPU to stop executing the OS and jump to this protected region. It could then do whatever power or thermal management tasks were necessary and return control to the OS, which would be none the wiser. Intel called this System Management Mode, and we've never really recovered.

    Step forward to the late 90s. USB is now a thing, but even the operating systems that support USB usually don't in their installers (and plenty of operating systems still didn't have USB drivers). The industry needed a transition path, and System Management Mode was there for them. By configuring the chipset to generate a System Management Interrupt (or SMI) whenever the OS tried to access the PS/2 keyboard controller, the CPU could then trap into some SMM code that knew how to talk to USB, figure out what was going on with the USB keyboard, fake up the results and pass them back to the OS. As far as the OS was concerned, it was talking to a normal keyboard controller - but in reality, the "hardware" it was talking to was entirely implemented in software on the CPU.

    Since then we've seen even more stuff get crammed into SMM, which is annoying because in general it's much harder for an OS to do interesting things with hardware if the CPU occasionally stops in order to run invisible code to touch hardware resources you were planning on using, and that's even ignoring the fact that operating systems in general don't really appreciate the entire world stopping and then restarting some time later without any notification. So, overall, SMM is a pain for OS vendors.

read more

64-Bit ARM Changes Already Sent In For The Linux 5.3 Kernel

Phoronix - Pon, 07/08/2019 - 06:58
Due to summer holidays, the 64-bit ARM (AArch64/ARM64) architecture changes were already sent in days ago for the Linux 5.3 kernel merge window...

Our first look at the finalised design of Purism Librem 5?

tuxmachines.org - Pon, 07/08/2019 - 05:35

The crowdfunded Purism Librem 5 promises to be the most Linux-y Linux smartphone there has ever been — but nearly 2 years on from reaching its funding goal we still don’t really know what the phone will actually look like.

But that situation may have just changed.

The latest video to be uploaded by the privacy-minded outfit to YouTube — an odd choice location given how they rally folks against the major social networks — teases “something a little different”.

And by “a little different” they mean “not a demo of a desktop app running on the Librem 5 dev kit”, which is something they’ve been doing each day for the past fortnight.

read more

Testing Ubuntu 18.04 on XIDU PhilPad 2-in-1 Hybrid with Touchscreen

tuxmachines.org - Pon, 07/08/2019 - 05:27

So I’ve recently completed the review of XIDU Philpad 2-in-1 hybrid with Windows 10. The laptop features a 13.3″ touchscreen and support stylus, and I was intrigued whether those would work in Ubuntu 18.04. So I flash the Ubuntu 18.04.2 Desktop ISO to a flash drive and installed Ubuntu to another USB flash drive to give it a try with persistent storage. Note that while it’s OK for testing, running Ubuntu 18.04 from a USB flash drive is very slow, so it’s not recommended.


Some are clearly the mouse pointer and touchpad, while the “Goodix” one is for the capacitive touchscreen. So I tried SINO WEALTH USB Composite Device which shows support for Pressure, and selected “Screen” mode, before clicking Save. But using the drawing tools in Gimp, only allows me to draw points with the stylus, not continuous lines, and the size of the points is fixed no matter how lightly or strongly I press on the display. Playing with “Dynamics Pressure Opacity” in the Airbrush settings did not yield any results.

In summary, most features work, except the cameras that fail completely out of the box, and the touchscreen may need some fiddling with the settings depending on the program you are using. I’m unclear whether it’s possible to use the stylus at this stage.

read more

Audiocasts/Shows: Open Source Security Podcast, SMLR, Linux Action News and GNU World Order

tuxmachines.org - Pon, 07/08/2019 - 05:06

read more

The Best Features Of Linux 5.2: Intel Bits, RTW88, Sound Open Firmware, EXT4 Insensitive

Phoronix - Pon, 07/08/2019 - 05:00
While back in May we provided a Linux 5.2 feature overview following the closure of its merge window, given Sunday's release of the Linux 5.2 Bobtail Squid kernel, if you've lost track of what there is to get excited about in this new kernel, this article is for you...

Debian Edu / Skolelinux Buster — a complete Linux solution for your school

tuxmachines.org - Pon, 07/08/2019 - 04:52

Do you have to administrate a computer lab or a whole school network? Would you like to install servers, workstations and laptops which will then work together? Do you want the stability of Debian with network services already preconfigured? Do you wish to have a web-based tool to manage systems and several hundred or even more user accounts? Have you asked yourself if and how older computers could be used?

Then Debian Edu is for you. The teachers themselves or their technical support can roll out a complete multi-user multi-machine study environment within a few days. Debian Edu comes with hundreds of applications pre-installed, but you can always add more packages from Debian.

The Debian Edu developer team is happy to announce Debian Edu 10 Buster, the Debian Edu / Skolelinux release based on the Debian 10 Buster release. Please consider testing it and reporting back to help us to improve it further.

Also: Debian GSoC Kotlin project blog: Week 4 & 5 Update

read more

Geany text editor - a sort of genie

tuxmachines.org - Pon, 07/08/2019 - 04:47

I have to say I'm very pleased with Geany, and I'm sort of surprised - with myself - that I never gave it a more thorough examination in the past. But we shall rectify that, as I do intend, as a consequence of this little test, to try using Geany in a more serious manner, in my production environment. At the moment, on my Slimbook, I am using Notepad++, so maybe this could be a solid alternative.

Geany is a really interesting product - rich, extensible, robust, intelligent. It also looks the part, with a spacious, airy, friendly UI, and none of that modern flatness that ruins usability. You get a wealth of options and features, and while I do feel some small things are missing, I don't think there's any massive, glaring weakness in this text editor. Quite worth testing. Lastly, many thanks for those of you who recommended this program. May the code lint be with you.

read more

Review: Mageia 7

tuxmachines.org - Pon, 07/08/2019 - 04:38

Mageia is a user friendly, desktop-oriented Linux distribution. The project originally grew out of the Mandriva family of distributions and is independently developed. The project's latest release is Mageia 7 which, according to the project's release notes, offers 18 months of support. Mageia 7 drops support for the ARMv5 architecture while adding support for 64-bit ARM (Aarch64) and improving support for ARMv7. While ARM packages are being built, ARM installation media is not yet featured on the project's download page. The new release includes the DNF command line package manager and features the ability to play MP3 files - MP3 support was not included by default in previous releases due to patent restrictions.

The release notes mention that GNOME users can enjoy their desktop running on a Wayland session by default with X.Org available as an alternative. KDE Plasma users will have the opposite experience with their desktop running on X.Org and a Wayland session available through a package in the distribution's repositories. The documentation also mentions that when running a GNOME on Wayland session some graphical administrator tools will not work when run through su or sudo. The user can run these tools with their regular user privileges and the system will prompt for an admin password when necessary.

Mageia is available for the 32-bit (x86) and 64-bit (x86_64) architectures. We can either download an install DVD with multiple desktop packages bundled or we can download live media with the Plasma, GNOME, or Xfce desktops. There are smaller net-install disc images available too. I decided to try the KDE Plasma live disc which is a 2.8GB download.

Booting from the live media brings up a menu which gives us the option of immediately loading the project's system installer or launching a live desktop environment. Choosing the live desktop brings up a series of graphical screens asking us to select our language from a list, confirm the distribution's license agreement, and we are offered a chance to read the release notes. We are then asked to select our time zone from a list and confirm our keyboard's layout.

read more

Linux 5.2

tuxmachines.org - Pon, 07/08/2019 - 04:34
  • Linux 5.2 So I was somewhat pre-disposed towards making an rc8, simply because of my travels and being entirely off the internet for a few days last week, and with spotty internet for a few days before that [*]. But there really doesn't seem to be any reason for another rc, since it's been very quiet. Yes, I had a few pull requests since rc7, but they were all small, and I had many more that are for the upcoming merge window. Part of it may be due to the July 4th week, of course, but whatever - I'll take the quiet week as a good sign. So despite a fairly late core revert, I don't see any real reason for another week of rc, and so we have a v5.2 with the normal release timing. There's no particular area that stands out there - the changes are so small that the sppended shortlog really is the best description of last week. A few small random changes all over: drivers, architectures, filesystem, mm, ... So with this, the merge window for 5.2 is open. Linus
  • Linux Kernel 5.2 Officially Released, Here's What's New

    Linus Torvalds has announced today the release and general availability of the Linux 5.2 kernel series, a major release that adds several new features, updated drivers, and many improvements.

    After seven RCs (Release Candidates), the Linux 5.2 kernel series is now available and it comes with some very interesting features and enhancements. However, before we dive into what's new, you should know that this release is not a long-term supported (LTS) branch, which means that you stick with your current LTS kernel instead.

    "I was somewhat pre-disposed towards making an rc8, simply because of my travels and being entirely off the internet for a few days last week," said Linus Torvalds in a mailing list announcement. "So despite a fairly late core revert, I don't see any real reason for another week of rc, and so we have a v5.2 with the normal release timing."

  • Linux 5.2 Kernel Released As The "Bobtail Squid"

    Adding to the excitement of 7 July is the release of the Linux 5.2 stable kernel, which also means the opening of the Linux 5.3 merge window.

    Linux 5.2.0 made it out today on time without having any extra release candidates for this summer 2019 kernel release. This kicks off the Linux 5.3 merge window and its series of release candidates that then should debut as stable in September.

    See our Linux 5.2 feature overview for those wondering about all of the exciting features of this new kernel.

read more

The 5.2 kernel has been released

LWN.net - Pon, 07/08/2019 - 00:32
Linus Torvalds has released the 5.2 kernel. He originally planned for an rc8 this week, rather than 5.2, due to his travel schedule, but was pleasantly surprised at how calm things have been. "So despite a fairly late core revert, I don't see any real reason for another week of rc, and so we have a v5.2 with the normal release timing." Some of the more significant changes in 5.2 are a new CLONE_PIDFD flag to clone() to obtain a pidfd for the new process, a significant BPF verifier performance improvement that allows the maximum size of a BPF program to be raised to 1 million instructions, a BPF hook to manage sysctl knobs, a new set of system calls for filesystem mounting, case-insensitive lookups for the ext4 filesystem, a process freezer for version-2 control groups, pressure-stall monitors, and, of course, a vast number of fixes. See the KernelNewbies 5.2 page for a lot more details.
Syndicate content