Linux - Reddit – Telegram
Linux - Reddit
774 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
Purism Releases Hardware Schematics for Librem 5 Linux Phone

https://puri.sm/posts/a-different-kind-of-transparency/

What do you think? How momentous is this? Is this the start of a new era for smartphones? What do you think of Purism’s design? Why are they having issues with heat? What will it take to fix it?

https://redd.it/e581b8
@r_linux
Tool: I wrote a realtime regex extractor and data-aggregator

This is a bit of a x-post from /r/golang, but I thought folks here might find use for this.

I wanted to share a tool I wrote recently which was driven partly because of some technical issues I've faced recently (Lots of large-scale log parsing), and some frustration with existing tools in my toolkit. I ended up writing a small go cli app to run a regex and extract/summarize data in various formats (histogram, table, numerical summary, etc) in a performant way. This solved the problem of getting incremental output while parsing the files, along with an easy to learn syntax for aggregating the data (as long as your pretty good at regex..)

Here's a moderately complex example of parsing a nginx access log. There are three parts in this example: -m
the match extractor (regex), -e the key expression and -i to ignore a truthy expression. The below example gets all the paths and their statuses, ignoring 200, and outputs the results.

$ rare histo -m '"(\w{3,4}) ([A-Za-z/.]+).*" (\d{3})' -e '{3} {1} {2}' -i '{eq {3} 200}' -b access.log
404 GET /robots.txt 728 ||||||||||||||||||||||||||||||||||||||||||||||||||
404 GET /favicon.ico 109 |||||||
304 GET / 52 |||
301 GET /mirror 11
403 GET /mirror/distros/cup/ 7

Matched: 941 / 161,622 (Ignored: 160,681)
Groups: 23

There's a lot of features (gunzip, json, asthmatic, etc), but I don't want to bloat this post, so check the links below.

I'm posting here for two reasons. 1) I'm hoping that someone will see this and find it helpful or useful and 2) I'm not a go expert by any stretch, and am definitely open to language or functional input!

I've spent a lot of time optimizing the performance characteristics of the program to be comparable to other similar applications (Learned a lot about go's pprof along the way). I also tried to bundle it up in all the popular formats (deb, rpm, tar, homebrew)

Always happy to hear feedback!

Github: [https://github.com/zix99/rare](https://github.com/zix99/rare)
Post (With lots of examples): [https://www.zdyn.net/projects/2019/11/17/rare.html](https://www.zdyn.net/projects/2019/11/17/rare.html)

https://redd.it/e58l7q
@r_linux
Going back to Windows is not an option! A month into my switch to Manjaro KDE

I have my machine dual-booted but I haven't gone back to the Windows installation. I don't want to. I will put up with any of the glitches and bugs with the Nvidia drivers and such. I haven't got much to say; I could go into a rant about how much I hate Windows and never realized it but, that would make this post be a novel and I think that it is very well covered on this sub. I will just say that every time that I have to use Windows (like at school or in a VM for my 3D printers software) it just feels so clunky. The customization; wow the customization it's endless. I love it! It is awesome.

https://redd.it/e5ate0
@r_linux
Beta testers wanted for harmony - Voice chat using Opus over WebRTC and Go

I'm working on a Discord alternative called [harmony](https://git.sr.ht/~tslocum/harmony). The initial proof of concept works! I'm hoping to find a few testers to run the initial release on their server (and hopefully share it with a few friends) and provide feedback.

A server exposes a web interface utilizing WebSockets and WebRTC. A native client is planned for desktop and mobile.

Please reply or send a message if you're interested in running a server. I hope to have the first release ready within the next week.

If you have any issues or suggestions feel free to share them [here](https://todo.sr.ht/~tslocum/harmony).

https://redd.it/e59ts2
@r_linux
Disney plus working

Just tried Disney plus on Firefox. Seems to be working. Anyone els have any luck?

https://redd.it/e5dm31
@r_linux
Desktop Linux on Android!

I've been using my note 9 for nearly a year now thanks to Linux on Dex but they've now cancelled it. I found a great alternative called andronix on the play store! I'm running Debian 10 arm64 now.

​

https://preview.redd.it/o9215n7cae241.png?width=1920&format=png&auto=webp&s=3b4bb17605c9cd1d0328e2998448e5b266799f6c

https://redd.it/e5f886
@r_linux
I added a new piece of software to my arsenal today - Remmina and freerdp

I use my personal laptop at work where we have a fully windows environment. I had to have my laptop though, I was designing a website and using a windows desktop to rdc into the server to open the hyperV vm window was not cutting it, I needed vim, i3, and speed to be comfortable. I could just ssh from my Linux pc into my webserver and all my problems were solved. I began to use my laptop more and my windows desktop even less, to the point where the desktop is just a total waste of space... Until I gained some new responsibilities which forced me to use our companies very custom build inventory program built around MS Access and inaccessible without getting through active directory.

We had talked about trying things like Samba and OpenLDAP to have a more free and non-platform exclusive environment, but those are huge projects and they don't come without bugs. I started looking into using rdp this morning and immediately found Remmina. With freerdp to add the remote desktop protocol Remmina made it super easy to get into multiple servers since I already had a windows login to give it, I just specified the domain and it just works, I don't need to be a part of active directory to initiate rdp, I just have to have the credentials. Now I no longer need this desktop taking space on my desk, in fact there are numerous other perks to it. If I was using one of the companies laptops, not only would it be slower, if I walked around the plant I would periodically jump between routers and lose connection to AD long enough for it to break Access. With rdp all it does is lose connection to the server and it reconnects and everything serverside is left as it was, still connected. There wasn't a single config file I needed to configure either, compare that to joining a domain with samba. Running and rdc is way more efficient too, I was contemplating using a vm, which would not only require a license, but it would be extremely intensive, and better yet, I have a literal server to run stupid MS Access, 24gb of ram baby.

I'm just hoping this helps someone out. It is very possible to use Linux in a Windows environment, even if you have to piggyback and still use Windows, you can do it even better and still have nothing proprietary on your end.

https://redd.it/e5mfoj
@r_linux
Weekly Questions and Hardware Thread - December 04, 2019

Welcome to r/linux! If you're new to Linux or trying to get started this thread is for you. Get help here or as always, check out r/linuxquestions or r/linux4noobs

This megathread is for all your question needs. As we don't allow questions on r/linux outside of this megathread, please consider using r/linuxquestions or r/linux4noobs for the best solution to your problem.

Ask your hardware requests here too or try r/linuxhardware!

https://redd.it/e5tk31
@r_linux
aws-gate 0.8.0 was released!

aws-gate 0.8.0 was released featuring extended list output and optional ZSH completion.

URL: https://

https://redd.it/e5mkkz
@r_linux
Cinnamon Desktop

Does Cinnamon Desktop suffer from the same issue as GNOME Shell, ie. is Cinnamon Desktop single-threaded?

https://redd.it/e5wcdh
@r_linux