Linux - Reddit – Telegram
Linux - Reddit
776 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
North Korean newspaper Pyongyang Times talks about Red Star OS
http://www.pyongyangtimes.com.kp/pdf/2019/02/6.pdf

https://redd.it/bq3clv
@r_linux
Onwards and upwards at lowRISC (grown from a single full-time engineer to five, with more on their way )
https://www.lowrisc.org/blog/2019/05/onwards-and-upwards-at-lowrisc/

https://redd.it/bq5iz6
@r_linux
Ubuntu cola?! Didnt know they sell this in Sweden...
https://redd.it/bq6vim
@r_linux
Battle of the file search programs: another (real) clone of Everything

Hello everybody,

I want to present to you my attempt at creating the piece of software that I missed the most from the proprietary world, which is the program Everything. My program is called gosearch and is best described as 'Everything as a terminal program'. You can find it here: [gosearch](https://github.com/ozeidan/gosearch/)

As you might have realized, another very similar program has been posted to this subreddit today: [Drill](https://old.reddit.com/r/linux/comments/bpztj9/finally_switched_to_linux_decided_to_create_a/). This is pure coincidence and I would like to present to you the differences of our programs.

The reason why I liked Everything so much is because it could find everything at all times. This requires some kind of file index to be built and held up-to-date in real time. Everything used the journaling of NTFS (or something like that) to track file changes on a disk. For Linux something like a global and efficient file watcher did not exist, until recently, when [these patches](https://lkml.org/lkml/2019/3/1/400) were applied to the Linux kernel and were mainlined with version 5.1.

The mentioned patches allow gosearch to update the created index in real time. That means as soon as you create a file, you can instantly find it. And the searches are fast (mostly <100ms).

Now that I have done the base work of this project, and think that it is in a presentable state, I am calling for testers and contributors! Although it works pretty well already, it still needs a lot of testing and polishing to be a stable program that we can rely on. So please download the program, test it, and open issues on anything that occurs. Also feel free to open any kind of pull requests that provide some value to the project. Especially installation noscripts for your linux distribution are wanted!

Thanks everybody, I hope you enjoy the program

https://redd.it/bq63f9
@r_linux
Discussion/question - are there good Linux GUI git clients for beginners and intermediate users?

I am working in a project where very experienced developers, less experienced developers, and engineers from other disciplines work together, and am setting up a shared workstation where will use git for revision management and also configuration control. This is essentially laboratory software. Engineers will be able to change the configuration and they will not have the time to learn all of git. Some of the younger developers know only subversion well, and they are, say, a bit intimidated by the complexity of git. After setting up the base system with Ubuntu, I had therefore the thought it might be nice to include an easy-to-use git tool.

I am using git myself since a long time. Most of the time, I was using the command line. Recently, I have switched to using Magit for all code editing tasks. I find it fantastic because it makes it very convenient to select diff chunks to split commits into subsets, and if necessary amend and squash local commits before merging them. However, I'd say it is not exactly beginner-friendly (as in, "quick to learn"). I am also occasionally using gitk when solving complex bugs or merge conflicts. But as I am lazy, that does not happen too often, we are in the comfortable situation that we can almost always organize work in a way that avoids such conflicts. An other viewer that I like a lot is "tig", which is a console repository browser. As one might expect, it is very fast and can easily be used in a remote terminal. In the sense used above, it is not "beginner-friendly" either.

I thought there might be easier GUI clients which are more accessible, so I had a look what is on the market. I already knew "git gui", which I think is quite OK for committing changes, and simple enough. For [alternatives, I found](https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools#Graphical_Interfaces_-_FLOSS) (and looked into):

giggle, gitg, git-colab

I did not look into IDEs and huge commercial apps. Partly because I just hate them, and partly because the developers are already using their respective tool of choice, they are not going to switch.

My impression is that the viable variants mostly split tasks into committing a set of changes, with a simple interface, and viewing a commit graph, in the same way as tasks are divided between git gui and gitk. I think this makes sense because for an active task, like committing code, one wants an interface which allows to focus as much as possible on the change to make, while for a browsing task, one wants to have a lot of information easily accessible.

I found gitg a nice variant of gitk, it has a bit less functionality but might be OK.

For "git gui" - like applications, I found nothing that convinced me. For example, the giggle version I looked into does not allow to check out another branch, so it does not allow to make or initiate a merge. This is easily possible with git gui. Also, giggle conflates a bit the concept of history browsing and committing changes. I was even less satisfied with git-colab.

What I miss is not so much that one cannot do everything possible but that basic functionality is not there or not easy to access. For example, I do not think that merging branches is a too advanced concept, as in many work flows, a developer should split changes into small orthogonal feature branches.

I think an easy GUI should support these functionalities:
- add files to staging
- ideally, add selected hunks (section of changes) to the staging area
- view diff of changes both in relation to latest commit and to another branch (e.g. the master)
- commit changed files
- possibly, have the option to amend a commit
- create branches
- check out branches
- merge branches
- launch a merge tool or editor of choice if there is any merge conflict

So, did I oversee something? Are there beginner-friendly, not overwhelmingly detailed, easy-to use GUI git clients for Linux? (I am not asking for huge, IDE-like proprietary programs which do not have a FOS
S license.)

Do you have any good alternative suggestions? What do you like? Which criteria would you consider important in the described case, and why?

https://redd.it/bq4qaa
@r_linux
What specter protections should I enable or disable for best balance of performance and security?

Hello I have noticed some pretty substancial slow downs due to the specter protections that keep being piled on to my 4790k. I would like to disable some of the protections but i'm not sure which ones to disable. Like if some of the exploits are pretty common the ones that would protect against those I would like to keep enabled but ones that may not be as common to run into I would like to disable for performance reasons. I know its not safe to disable any of them because who knows what I might run into right but I can accept that. which of these should I disable to balance performance and security.

`noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off`

https://redd.it/bqcebc
@r_linux
Looking for music creation tool

I'm looking to write some music so I need some software like cubase for Linux (I'm using a Chromebook). My needs are fairly simple - I just want a piano sound. I have no requirement to input from a team e keyboard via midi etc; I'm happy editing on a virtual stave or a sequencer. I would like a decent piano sound and the possibility of rendering the output to wav/flac. In the past I've used PC software, having failed to get anything working on Linux but that was a long time ago.

https://redd.it/bqdqi5
@r_linux
Linux Command Line Help and learning more about computers.

Hi there, long time lurker.

I'm familiar with Dos 5 and 6.22 back in the day and wanted to get used to Linux Terminal. Is there a good resource for me to learn all the commands and maybe even a tutorial to learn basic and intermediate stuff? Maybe a Youtube channel to see how commands work and learn as I go as an idea. My goal is to set up a sandbox of sorts with a Raspberry Pi and just kind of mess around with commands until I get comfortable with it. I kind of miss Dos Edit for config.sys or autoexec.bat, and just a bare interface with text.

&#x200B;

For now I try to read a lot of tutorials on how to set up certain things in Linux but I find myself not really understanding what I'm doing and then I'm too far into the tutorial without anything really learned. I'd use my wife's mac to figure out stuff and then move onto the Pi making mistakes and learning slowly but effectively. Thanks in advance and sorry if this is the wrong sub for this question.

https://redd.it/bqfb5y
@r_linux
Raspberry Pi-esque SoC but with dual HDMI?

I've been looking for a system on a chip type of computer with dual HDMI (or mini Displayport or anything besides VGA) but I can't seem to find anything for less than $300. I'm looking to run Ubuntu or one of its variants on it.

&#x200B;

Are there any Raspberry Pi-like computers that have dual HDMI or support dual monitors in general?

https://redd.it/bqfn2m
@r_linux
Ubuntu server 18.04 periodically crashing.

Hi,
My server keeps periodically crashing and I am unable to figure out why.
It never used to do it and has only started happening since it has been moved into a data center.

System logs [https://paste.ubuntu.com/p/tCRQ3jHH7S/](https://paste.ubuntu.com/p/tCRQ3jHH7S/)

https://redd.it/bqf37v
@r_linux