Scala Collections

Posted: 2022-03-21 01:35:28
Source: https://linuxhint.com/scala-collections/

A collection in Scala in particular or in any other programming language, is simply a container that can hold the data. As far as the Scala programming language is concerned, it supports multiple different collections. In this article, we will discuss collections in the Scala programming language in Ubuntu 20.04.

Scala Hello World

Posted: 2022-03-21 01:19:22
Source: https://linuxhint.com/scala-hello-world/

The Hello World program is generally the first program that you will ever create in any programming language. With this, you try to understand the syntax of the programming language that you wish to learn. In this article, we’ll learn to write a Hello World program in Scala programming language.

DistroWatch Weekly, Issue 960

Posted: 2022-03-21 00:32:50
Source: https://distrowatch.com/11495

This week in DistroWatch Weekly: Review: Pardus 21.1News: Debian prepares for Bookworm, Changing FreeBSD's root filesystem live, Univention offers new client management toolQuestions and answers: Tracking local changesReleased last week: Linux Mint 5 "LMDE", Lakka 4.0Torrent corner: KDE neon, Linux MintOpinion poll: Tracking changes to local filesNew additions:....

How to play classic NES and SNES games on Raspberry Pi

Posted: 2022-03-21 00:08:53
Source: https://linuxhint.com/play-nes-snes-games-raspberry-pi/

The Nintendo Entertainment System (NES) and Super Nintendo Entertainment System (SNES) were the first home video gaming consoles. For the Raspberry Pi users, playing the classic NES and SNES games on their device will be a worthy experience and for those who are interested in playing these games then they should consider installing an emulator preferably RetroPie. This article is a detailed guide on how to run NES and SNES games on Raspberry Pi.

5.17: mainline

Posted: 2022-03-20 20:14:17
Source: http://www.kernel.org/

Version:5.17 (mainline)
Released:2022-03-20
Source:linux-5.17.tar.xz
PGP Signature:linux-5.17.tar.sign
Patch:full

How Do You Like Ubuntu's New Logo?

Posted: 2022-03-20 16:34:00
Source: https://linux.slashdot.org/story/22/03/20/006252/how-do-you-like-ubuntus-new-logo?utm_source=atom1.0mainlinkanon&utm_medium=feed

Slashdot reader mmanciop reminded us that Ubuntu released a new version of its "circle of friends" logo this week (which its designer says gives it "a more contemporary look and feel.") From the Ubuntu blog: We proudly present to you the transformation of the Circle of Friends logo for Ubuntu. The new logo isn't a revolution; rather, it's an evolution of the Circle of Friends. As you can see at the top of the post, the classic white-on-orange colour scheme hasn't changed. But the new version sports sleek lines which bind the Circle of Friends even more closely together. While it is important to have a respectful continuity with the previous Circle of Friends, the updated version is leaner, more focused, more sophisticated. It also makes a little more sense that the heads are now inside the circle, facing each other and connecting more directly. The rectangular orange tag is a break from the conventional square or circle, as it allows for the boldness of the orange to express itself and provides a recognisable colourful mark across media. Finally, the logo moves from a tiny superscript to a large, dynamic and leading presence. Some might wonder why we had to touch the Ubuntu logo at all. As one can imagine, it is a daunting honour to work on something so many of us have such a strong connection to. But in the end, a logo should match what it represents. Similar to how Ubuntu continues to evolve and adapt to new uses in technology, its logo should follow suit to encapsulate and reflect such ongoing change. For comparison, here's the original logo. Share your reactions in the comments. (For example, how do you think it compares to other logos?) Do you like it more or less than, say, the logo for Raku?

Read more of this story at Slashdot.

Distribution Release: Linux Mint 5 "LMDE"

Posted: 2022-03-20 11:58:53
Source: https://distrowatch.com/11494

Clement Lefebvre has announced the release of a brand-new version of Linux Mint's Debian edition, better known as LMDE. The new release is based on Debian 11 and uses the Cinnamon desktop: "The team is proud to announce the release of LMDE 5 'Elsie'." The release announcement contains....

Linux Random Number Generator Sees Major Improvements

Posted: 2022-03-20 11:34:00
Source: https://linux.slashdot.org/story/22/03/19/1821254/linux-random-number-generator-sees-major-improvements?utm_source=atom1.0mainlinkanon&utm_medium=feed

An anonymous Slashdot reader summarizes some important news from the web page of Jason Donenfeld (creator of the open-source VPN protocol WireGuard): The Linux kernel's random number generator has seen its first set of major improvements in over a decade, improving everything from the cryptography to the interface used. Not only does it finally retire SHA-1 in favor of BLAKE2s [in Linux kernel 5.17], but it also at long last unites '/dev/random' and '/dev/urandom' [in the upcoming Linux kernel 5.18], finally ending years of Slashdot banter and debate: The most significant outward-facing change is that /dev/random and /dev/urandom are now exactly the same thing, with no differences between them at all, thanks to their unification in random: block in /dev/urandom. This removes a significant age-old crypto footgun, already accomplished by other operating systems eons ago. [...] The upshot is that every Internet message board disagreement on /dev/random versus /dev/urandom has now been resolved by making everybody simultaneously right! Now, for the first time, these are both the right choice to make, in addition to getrandom(0); they all return the same bytes with the same semantics. There are only right choices. Phoronix adds: One exciting change to also note is the getrandom() system call may be a hell of a lot faster with the new kernel. The getrandom() call for obtaining random bytes is yielding much faster performance with the latest code in development. Intel's kernel test robot is seeing an 8450% improvement with the stress-ng getrandom() benchmark. Yes, an 8450% improvement.

Read more of this story at Slashdot.

Distribution Release: Lakka 4.0

Posted: 2022-03-20 09:07:19
Source: https://distrowatch.com/11493

Tomáš Kelemen has announced the release of Lakka 4.0, a major update of the project's lightweight Linux distribution that transforms a small computer into a full-blown retro-gaming console. This new release updates the distribution's build system to LibreELEC 10.0.2: "We are happy to announce the new and updated....

How to Interface 7 Segment Display with Arduino Uno

Posted: 2022-03-20 07:12:10
Source: https://linuxhint.com/interface-seven-segment-arduino/

There are a wide variety of displays available that can be interfaced with Arduino, but it depends on the type and amount of data that is to be displayed. For a limited amount of data and only for displaying the numbers we can use the seven-segment display as they are easy to work with. This article is a detailed guide on how to interface 7 segments with Arduino Uno. Two different methods are discussed in the guide: interfacing 7 segments through SevSeg library and without using the library.

How to Make Digital Dice Using 7 Segment and Arduino Uno

Posted: 2022-03-20 06:20:31
Source: https://linuxhint.com/digital-dice-seven-segment-arduino/

If we have to display the limited amount of data having only numeric and alphabets, we can use a 7 seven segment display. There are a variety of applications where 7 segments are used. In this guide a digital dice is created using a 7 segment and Arduino Uno. Schematics, code and hardware demonstration is also provided in this guide.

How to Interface PIR Motion Detection Sensor with Arduino Uno

Posted: 2022-03-20 06:04:39
Source: https://linuxhint.com/interface-pir-motion-sensor-arduino-uno/

To detect the presence of any moving body we use the PIR sensor and this sensor can be named as the motion detection sensor as well. This article is a detailed guide on what a PIR motion sensor is and to demonstrate how we can interface the motion detection sensor with Arduino Uno we have designed a circuit and implemented it on the hardware in this guide.

How to Control 12V Devices with Arduino Uno

Posted: 2022-03-19 18:39:41
Source: https://linuxhint.com/control-12-volt-devices-arduino-uno/

The Arduino boards are the advanced form of the microcontroller that can be used for various tasks. By controlling the devices, we can perform certain tasks at certain time periods so in this way we can create automation projects. Arduino is a powerful tool that can even be used to control devices that are higher than 5V volts. This article is a detailed guide on how to control 12V DC devices with Arduino Uno.

Linux For M1 Macs? First Alpha Release Announced for Asahi Linux

Posted: 2022-03-19 18:34:00
Source: https://linux.slashdot.org/story/22/03/19/0440202/linux-for-m1-macs-first-alpha-release-announced-for-asahi-linux?utm_source=atom1.0mainlinkanon&utm_medium=feed

"Asahi Linux aims to bring you a polished Linux experience on Apple Silicon Macs," explains the project's web site. And now that first Asahi Linux alpha release is out — ready for testing on M1, M1 Pro, and M1 Max machines (except Mac Studio): We're really excited to finally take this step and start bringing Linux on Apple Silicon to everyone. This is only the beginning, and things will move even more quickly going forward! Keep in mind that this is still a very early, alpha release. It is intended for developers and power users; if you decide to install it, we hope you will be able to help us out by filing detailed bug reports and helping debug issues. That said, we welcome everyone to give it a try — just expect things to be a bit rough.... Asahi Linux is developed by a group of volunteers, and led by marcan as his primary job. You can support him directly via Patreon and GitHub Sponsors.... Can I dual-boot macOS and Linux? Yes! In fact, we expect you to do that, and the installer doesn't support replacing macOS at this point. This is because we have no mechanism for updating system firmware from Linux yet, and until we do it makes sense to keep a macOS install lying around for that. You can have as many macOS and Linux installs as you want, and they will all play nicely and show up in Apple's boot picker. Each Linux install acts as a self-contained OS and should not interfere with the others. Note that keeping a macOS install around does mean you lose ~70GB of disk space (in order to allow for updates, since the macOS updater is quite inefficient). In the future we expect to have a mechanism for firmware updates from Linux and better integration, at which point we'll be comfortable recommending Linux-only setups.... Is this just Arch Linux ARM? Pretty much! Most of our work is in the kernel and a few core support packages, and we rely on Linux's excellent existing ARM64 support. The Asahi Linux reference distro images are based off of Arch Linux ARM and simply add our own package repository, which only adds a few packages. You can freely convert between Arch Linux ARM and Asahi Linux by adding or removing this repository and the relevant packages, although vanilla Arch Linux ARM kernels will not boot on these machines at this time. The project's home page adds that "All contributors are welcome, of any skill level!" "Doing this requires a tremendous amount of work, as Apple Silicon is an entirely undocumented platform," the team explains. "In particular, we will be reverse engineering the Apple GPU architecture and developing an open-source driver for it." But they're already documenting the Apple Silicon platform on their GitHub wiki. We will eventually release a remix of Arch Linux ARM, packaged for installation by end-users, as a distribution of the same name. The majority of the work resides in hardware support, drivers, and tools, and it will be upstreamed to the relevant projects.... Apple allows booting unsigned/custom kernels on Apple Silicon Macs without a jailbreak! This isn't a hack or an omission, but an actual feature that Apple built into these devices. That means that, unlike iOS devices, Apple does not intend to lock down what OS you can use on Macs (though they probably won't help with the development). As long as no code is taken from macOS to build the Linux support, the result is completely legal to distribute and for end-users to use, as it would not be a derivative work of macOS. An interesting observataion from Slashdot reader mrwireless: It once again seems Apple is informally supportive of these efforts, as the recent release of OS Monterey 12.3 makes the process even simpler. As Twitter user Matthew Garrett writes: "People who hate UEFI should read https://github.com/AsahiLinux/... — Apple made deliberate design choices that allow third party OSes to run on M1 hardware without compromising security, and with much less closed code than on basically any modern x86."

Read more of this story at Slashdot.

How to free up the space on the Raspberry Pi operating system

Posted: 2022-03-19 13:50:17
Source: https://linuxhint.com/free-up-space-raspberry-pi/

Raspberry Pi does not come with built-in storage; a microSD card is used to hold the operating system and packages. By downloading different packages on the Raspberry Pi not only occupies the space of the Raspberry Pi but also reduces the efficiency of the CPU. In this guide, we have discussed the methods to free up the space on the Raspberry Pi.

How to Use Strings in Rust

Posted: 2022-03-19 13:46:09
Source: https://linuxhint.com/strings-in-rust/

This article provides a guide on how to utilize strings in the Rust programming language. In this helpful tutorial, we highlighted the two different types of strings that are the String Literals &str and the String Objects. In addition, we discussed the different methods to heap allocate a string.

Latex Square Root

Posted: 2022-03-19 13:44:31
Source: https://linuxhint.com/square-root-latex/

Backslash "\" is used to indicate special instructions in several scripting languages. The backslash is a unique character or instruction in LaTeX. With the parameter as radicand, the sqrt instruction outputs the square root sign. This article discusses how to show the square root in an expression within the latex documents.

Latex Double Arrow

Posted: 2022-03-19 13:44:18
Source: https://linuxhint.com/double-arrow-latex/

Different sorts of arrow characters are accessible by the standard in LaTeX. To refer in a certain direction, oriented signs are utilized. These are commonly acknowledged as directional indicators. Different commands in the Latex tool to create double arrows pointing towards up, down, left, right, and in both directions at the same time are discussed in this article.

Latex cube root

Posted: 2022-03-19 13:44:10
Source: https://linuxhint.com/cube-root-latex/

Latex is a high-profile standard file formatting system that allows us to style our files in different formats. It came up with many of the “\” commands to perform many operations. One of those commands is \sqrt. It can be used to take the root of any value. How to take cube root in Latex is discussed in this article.

Install NVIDIA Drivers on Debian 11

Posted: 2022-03-19 13:43:46
Source: https://linuxhint.com/install-nvidia-drivers-debian-11/

If you have an NVIDIA GPU installed on your computer, installing the NVIDIA GPU drivers is the first thing you would want to do after installing Debian 11 on your computer. NVIDIA drivers are available in the official contrib and non-free package repositories of Debian 11. The official contrib and non-free package repositories are not enabled by default. How to install NVIDIA drivers on Debian 11is discussed in this article.

1 ... 497 498 499 500 501 ... 726