Language Selection

English French German Italian Portuguese Spanish

Kernel: Linux 5.4 and Intel Work

Filed under
Graphics/Benchmarks
Linux
  • F2FS Will Have Faster Case-Insensitive Lookups With Linux 5.4

    F2FS has done a good job following EXT4 that spearheaded this modern case-insensitive directory/file feature that's optional and opt-in on a per directory basis. Like with F2FS' other following of EXT4 around this feature, it's now ported the look-up optimization from 5.3 to its driver. On the EXT4 side it has resulted in around 30% faster look-ups on large directories by introducing a temporary cache to avoid repeated case-folding.

  • How Intel's Clear Linux Team Cut The Kernel Boot Time From 3 Seconds To 300 ms

    Intel engineer Feng Tang spoke at this week's Linux Plumbers Conference in Lisbon, Portugal on how the Clear Linux team managed to boot their kernel faster. They started out with around a three second kernel boot time but cut it down to just 300 ms.

    Among the optimizations carried out to really speed-up their boot time were ensuring more asynchronous driver probing, only initializing a small amount of RAM at start and then after booted hot-plug the rest of it in parallel via systemd, optimized root file-system mounting, disabling unnecessary kernel modules, and similar approaches.

  • Intel's Gallium3D Linux Driver Now Exposes OpenGL 4.6

    But unlike the i965 driver with OpenGL 4.6 support back-ported to Mesa 19.2, for the Intel Gallium3D driver it isn't marked for back-porting so is likely a feature for next quarter's Mesa 19.3 with that being the version in development on Git master. The Intel Gallium3D support comes after all the heavy-lifting done for getting the SPIR-V extensions in place for the common Intel graphics code over the past two years. This Intel Gallium3D driver is now the second in Mesa supporting GL 4.6 and the first Gallium3D driver to do so.

More in Tux Machines

Programming Leftovers

  • Code your first algorithm in Scratch

    With more kids learning from home this year, it's important to engage them with unique learning opportunities. The classroom looks very different than it did before, and it's going to continue to evolve. So should the lessons we teach. In the first article in this series, I shared how my students taught me to code. Over the next few weeks, I will be exploring how educators and parents can harness the power of coding to teach kids a wide variety of skills. "But I don't know anything about coding!" you may be shouting at your computer. That's one of the beauties of open source code: everyone is a learner, and everyone is a teacher. Whether you're new to coding or you've been doing it all your life, part of the process is making mistakes. It's all about problem-solving and learning how to find information. The greatest tool an educator has in a coding classroom is the phrase, "I don't know; let's find out together!"

  • 5 questions to ask yourself when writing project documentation

    Before getting down to the actual writing part of documenting another one of your open source projects, and even before interviewing the experts, it's a good idea to answer some high-level questions about your new document. [...] Or, what company is behind the document? What brand identity does it want to convey to its audience? The answer to this question will significantly influence your writing style. The company may also have its own style guide or at least a formal mission statement, in which case, you should start there. If the company is just starting out, you may ask the questions above to the document's owner. As the writer, it's important to integrate the voice and persona you create for the company with your own worldview and beliefs. This will make your writing sound more natural and less like company jargon.

  • 33 Excellent Free Books to Learn all about R

    The R language is the de facto standard among statisticians for the development of statistical software, and is widely used for statistical software development and data analysis. R is a modern dialect of S, one of several statistical programming languages designed at Bell Laboratories. R is much more than a programming language. It’s an interactive suite of software facilities for data manipulation, calculation, and graphical display. R offers a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, …) and graphical techniques, and is highly extensible. The ability to download and install R packages is a key factor which makes R an excellent language to learn. What else makes R awesome? Here’s a taster.

  • [Perl] while loops that have an index

    Perl got this syntax that allow to use a while loop without having to explicitly increment an index by doing an i++. It is made possible by the each function.

  • OO linked lists in Perl

    After many days, trying to implement linked lists by nested hash (link to Rosetta Code) (link to my code) or Struct::Dumb, I get how to write the (singly) linked list in object-oriented style by Perl. One with bless, another one with Moose. Keep the learning record here.

  • Find all the prime numbers less than 'n' in O(n) Time complexity

    Our task is to find all the prime numbers that are less than n in Linear Time. We use Sieve of Eratosthenes to find the prime numbers till n. But the time complexity is O(N log (log N)). Here our desired time complexity is O(N). Hence a modified version of the Sieve of Eratosthenes is to be used.

  • PyPy 7.3.2 triple release: python 2.7, 3.6, and 3.7

    The interpreters are based on much the same codebase, thus the multiple release. This is a micro release, all APIs are compatible with the 7.3.0 (Dec 2019) and 7.3.1 (April 2020) releases, but read on to find out what is new. Conda Forge now supports PyPy as a python interpreter. The support is quite complete for linux and macOS. This is the result of a lot of hard work and good will on the part of the Conda Forge team. A big shout out to them for taking this on. Development of PyPy has transitioning to https://foss.heptapod.net/pypy/pypy. This move was covered more extensively in this blog post. We have seen an increase in the number of drive-by contributors who are able to use gitlab + mercurial to create merge requests. The CFFI backend has been updated to version 1.14.2. We recommend using CFFI rather than c-extensions to interact with C, and using cppyy for performant wrapping of C++ code for Python.

Security Leftovers

  • Security updates for Friday

    Security updates have been issued by Debian (rails), openSUSE (chromium, jasper, ovmf, roundcubemail, samba, and singularity), Oracle (firefox), SUSE (bcm43xx-firmware, firefox, libqt5-qtbase, qemu, and tiff), and Ubuntu (aptdaemon, atftp, awl, packagekit, and spip).

  • Foreign Hackers Cripple Texas County’s Email System, Raising Election Security Concerns

    Last week, voters and election administrators who emailed Leanne Jackson, the clerk of rural Hamilton County in central Texas, received bureaucratic-looking replies. “Re: official precinct results,” one subject line read. The text supplied passwords for an attached file.

    But Jackson didn’t send the messages. Instead, they came from Sri Lankan and Congolese email addresses, and they cleverly hid malicious software inside a Microsoft Word attachment. By the time Jackson learned about the forgery, it was too late. Hackers continued to fire off look-alike replies. Jackson’s three-person office, already grappling with the coronavirus pandemic, ground to a near standstill.

  • Windows XP Source Code Reportedly Leaked, Posted to 4chan
  • Windows XP source code leaked online, on 4chan, out of all places
  • [Attacker] Accessed Network of U.S. Agency and Downloaded Data

    An unnamed U.S. federal agency was hit with a cyber-attack after a [attacker] used valid access credentials, authorities said on Thursday.

    While many details of the hack weren’t revealed, federal authorities did divulge that the [attacker] was able to browse directories, copy at least one file and exfiltrate data, according to the Cybersecurity & Infrastructure Security Agency, known as CISA.

    The [attacker] implanted malware that evaded the agency’s protection system and was able to gain access to the network by using valid access credentials for multiple users’ Microsoft 365 accounts and domain administrator accounts, according to authorities.

New in calibre 5.0

Welcome back, calibre users. It has been a year since calibre 4.0. The two headline features are Highlighting support in the calibre E-book viewer and that calibre has now moved to Python 3. There has been a lot of work on the calibre E-book viewer. It now supports Highlighting. The highlights can be colors, underlines, strikethrough, etc. and have added notes. All highlights can be both stored in EPUB files for easy sharing and centrally in the calibre library for easy browsing. Additionally, the E-book viewer now supports both vertical and right-to-left text. calibre has moved to using Python 3. This is because Python 2 was end-of-lifed this year. This should be completely transparent to calibre users, the only caveat being that some third party calibre plugins have not yet been ported to Python 3 and therefore will not work in calibre 5. For status on the various plugin ports, see here. This effort involved porting half-a-million lines of Python code and tens-of-thousands of lines of extension code to Python 3. This would not have been possible without the help of Eli Schwartz and Flaviu Tamas. Read more Also: 5 Best free software for disk imaging or cloning hard drives

today's howtos