How to use the gpasswd Command on Linux

The gpasswd command lets you administer groups on Linux. Group passwords don’t get used a lot in part because of the security risk they pose: multiple people sharing a password increases the opportunity for accidental or malicious exposure. Any member of the group can add or remove members, controlling the group access, which could easily get out of hand. There are a few ways to overcome this problem. You can avoid using group passwords when possible and use alternative mechanisms such as sudoers or access control lists. You can also limit access to the group passwords using privilege control so that only authorized members can do any operations.

[mai mult...]

How to get the New Windows Copilot on any device

Windows 11 24H2 has a new Copilot interface, designed to be used in a larger window instead of a side panel on your desktop. You can actually use it on any device or web browser, though.Microsoft already has a web app version of its Copilot AI chat assistant, available at copilot.microsoft.com in the web browser.

The custom web app more closely mirrors the Fluent UI used in other Windows 11 applications. Your previous conversations are listed in the left sidebar, which collapses when you shrink the window. The new Windows Copilot feels a lot more polished than the standard web app, with more fluid animations. It’s not clear why Microsoft won’t just make the new Windows Copilot the regular Copilot web app, but maybe that will happen eventually.

There’s both a light and dark mode in the Copilot web app, as well as the option to synchronize with your device’s current theme. You can click the profile icon at the top-right corner and select ‘Appearance’ to change the visual theme.

[mai mult...]

What is a TS File?

While using your computer, you might run into a file with a .TS extension. Unlike most extensions that represent a specific kind of data, a file with “.ts” extension can be either a video file or a TypeScript code file. So, what’s the difference between them, and what’s a TS file anyway?

What Is a Transport Stream (TS) File?

The meaning of a TS file depends on what kind of content it holds. For instance, if you come across a TS file while working with videos and DVDs, then it stands for Transport Stream. These files use the MPEG-2 compression algorithm to achieve maximum efficiency and compatibility across various media types, including internet streaming and broadcasting.

You’ll commonly find these files on DVDs, Blu-ray discs, and digital broadcasting systems like DVB, ATSC, and IPTV. The data stored in these files (video, audio, subtitles, etc.) is broken down into small chunks. You’ll have a tiny piece of video, followed by a tiny piece of audio, and then maybe a subtitle chunk. Each of these chunks carries some extra data that helps detect errors within them. This data also tells each chunk when it’s supposed to play.

This way of representing data includes extra information that isn’t useful for storage but has advantages for broadcasting. Since all the data is broken into small pieces, you can send each piece over a connection in real time. And if there’s any error in a chunk, the receiver can use the extra data present in each chunk to detect the error and skip over it.

The most important thing to note is that the receiver doesn’t need the entire stream. It can easily start from anywhere in the middle of the transmission, assemble the data from that point on, and use it in real time.

[mai mult...]