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

Powered by : @r_channels
Download Telegram
Update your asdf plugins to their latest versions with a little noscript

asdf is a CLI tool that can manage multiple language runtime versions on a per-project basis.
I wrote a little noscript to update these plugins to their latest version if necessary.
https://gist.github.com/developer-guy/4de4e2ff2eaa31633a0fef719c92eada

https://redd.it/m4us5r
@r_linux
Push notification service

There's a lot of push notification apps for Android which will alert you when an API call is made to the appropriate backend. The best one I've come across to date is WirePusher (http://wirepusher.com/)

Very simply you POST a link like https://wirepusher.com/send?id=ab2cdeFgn&noscript=HomeAlarm&message=Alarm%20has%20gone%20off!!!

...and your phone notifies you within about a second.

I'm building my home security around this but am fearful that one day the service could fold and I'm left without an alerting solution. Was wondering, does anyone know of a Linux based solution I could implement myself that provides push notification services (not a third party solution)?

https://redd.it/m4u1i9
@r_linux
Linux evangelism

I would consider myself something of a 'Linux evangelist' (is there a less ridiculous way to phrase that?), and believe now we are at a cross roads where Linux could come out strong - software is great on Linux, Valve has done a lot of work to make gaming much more feasible (although it's far from perfect), there's a lot of user friendly distros out there as well.

1. With the recent string of breaches in Microsoft software, I believe there is fertile soil for the Linux case (this is also a cloud issue, of course, not just operating-system)

2. Linux can be run on old hardware - either a person could install Linux on their old and slow machine, or perhaps some enterprising individuals/friends could help people/friends install it on their computer

3. Microsoft's monopoly is under threat. ChromeOS is fast filling the role of cheap, basic computer, except it does it better than Windows. However, I am of the persuasion that Linux can do this better. Take Pop OS! for example - it's a very user-friendly OS. The only problem is there aren't 'OEM' cheap laptops coming out with Linux on it, like there are chromebooks (I'm considering ChromeOS different than 'Linux') (ie https://www.youtube.com/watch?v=S8kaMQuqnLM&t=7s)

A big part of making change is realizing when there is 'unrest' in the air, and to properly capitalize on that. I'm not sure exactly *what* to do, but this seems like the moment, if there was one, for Linux to come up.

And why should we care if Linux becomes more popular? Ofc, it will mean more malware and all that, an obvious risk, as it becomes more popular - we have a cozy niche as it is. But it also means a larger development community, it means (by virtue of using an operating system which is more transparent with security, and less of a delinquent baby sitter) more security awareness by individuals in the greater population - this has secondary and tertiary benefits of individuals in the workplace having a greater sense of security, perhaps avoiding future crises such as the Florida water plant hack (which is largely a fault of bad 'opsec' than anything). It might mean being the likes of Adobe on board (which I guess it's a circular argument there, especially if you really hate on proprietary software), and forcing hardware companies to be more accommodating with drivers and such. It also means a greater appreciation of the open-source process, which I think is an excellent counter example (although with qualifiers) to the argument that 'innovation is profit driven', and that anything free means 'you are the product' (as we know, it's different with libre FOSS!).

Basically, I believe a less-centralized and more open-source world will be more secure, and 'anti-fragile' - although Linux is accessible enough that it can be advertised on its usability alone, without appeals to FOSS or security (which fall flat on a lot of people, who understandably 'just want something that works'). Linux development, as far as I'm aware, is inherently more suitable to responding to security crises than a more commercial setting (this is more 'opinion', but I think there is merit to it). And finally, Linux is like an old car - it's generally easy/accessible for a large chunk of the population to 'pop the hood' and fix things, maybe with some online help - and the resulting computer literacy is another key component of a more secure 21st-century society, imo.

Idk, maybe others don't think 'spreading the word' is as important - it doesn't necessarily help your workflow - but I think Linux is part of an important counterweight to the current tech trend - harder to repair, more spyware, more centralized, more online, less transparency. I think a push for Linux would also entail a push for right to repair, and issues surrounding that.

I'm wondering what other peoples takes are on this, if I'm just p*ssing in the wind, or if others are feeling this atmosphere as well. After seeing water plants, thousands of companies, and government agencies get compromised over and over this past year, I've got
actual long-term concerns for the country (USA) itself if we continue living in the purgatory of Microsoft+cloud 0-day patchland, and well, I guess I'm biased to think more-popular-Linux could and should be part of the solution, and it's up to us Linux users to cultivate the zeitgeist... but that ofc depends on Linux users thinking that's the move.

https://redd.it/m4m2yn
@r_linux
magick fails with "no images defined evan.gif' @ error/convert.c/ConvertImageCommand/3322"

I downloaded, installed and checked ImageMagick. I tested the installation afterwards with no errors.

I try to test the installation with

convert -density 300 \~evan/data/test\_file.pdf -quality 100 evan.gif

and I receive the following error:

convert: no images defined \
evan.gif' @ error/convert.c/ConvertImageCommand/3322.

I made sure the file "\~evan/data/test_file.pdf" existed.

I tried different output types, jpg, png and tiff but I received the same error.

HELP!!!

https://redd.it/m59zj5
@r_linux
What's stopping me from using homebrew as my package manager?

As the noscript suggests, I was wondering if I can use Linux from scratch handbook to install a barebone of Linux.

and after installing the kernel, GCC, Glibc. install homebrew and use it as my package manager.

homebrew even has tap for installing Xorg now.

but what's bothering me is that homebrew installs everything in the home directory, I don't know if this will be a problem or not.

https://redd.it/m5g2gk
@r_linux
Using virtual machine for a development environment?

So this question is more for web developers perhaps. Let's say you have number projects, each one requires it's specific platform for development, and different versions: Java; Maven, NodeJS, React, python, php, PostgreSQL, etc.

So some projects are new, using latest version of various technologies and then there are number of legacy system that need maintenance that are dependent of older versions of these technologies.

I'd like to use the same versions of the tech stack on dev machine as it is deployed in production.

So I am wondering what are the best practices for this kind situation.

I was thinking of using a docker containers to run the development environment or complete virtual machine (Virtual box). Does it make sense? Are there any other solutions?

https://redd.it/m5ppwt
@r_linux
RAID10 with drives of different size

I have a few leftover $, so I am planning on adding storage. Currently 6 x 1TB NVME (RAID5 mdadm). Wondering if it would be possible to add 2TB sticks and migrate the setup to RAID10, something like 6 x 1TB RAID 0 mirrored to a 3 x 2TB RAID0. Quick search says no, but not clear the this applies to "some" RAID10 configurations.

Other suggestions welcome -- I'd rather purchase 2TB instead of 1TB, yet makes no sense to ditch my 1TBs at this point

https://redd.it/m5twns
@r_linux
Questions Regarding Patching Linux Systems

I am moving from supporting Windows systems to Linux and there are lots of differences I must learn. One thing I am having a little trouble grasping is how Linux systems handle updates. For the sake of simplicity we can stick to Debian based operating systems. On a more general note I understand that there is the major version say Debian 9, and then there are minor releases of that major version like 9.x.

In between the minor versions, are updates available as individual packages? (I believe the answer to this is yes). If I were to look at a machine, aside from running apt-get to check for updates is there a good way to tell if the machine is current on patches?

I was under the impression I could look at the major + minor version release, check the dates on those and that would give me a general idea of how up-to-date the server is. Say a server is running Debian 9.11, which was released in 2019, is that server still capable of being up to date? From installing smaller updates as they come out? Or does it need to move up a version?

Hopefully the above makes sense! Thanks in advance for reading this.

https://redd.it/m5uk8t
@r_linux
USB Reverse Engineering / hacking

Hi all,

I recently picked up a "NIX Advanced Digital Frame X08E" device, and a raspberry pi. I'd love to tinker with this USB digital picture frame from my raspberry pi and see what all I can do with it. Where would I start to begin debugging and playing with the USB device.

Hopefully this makes sense.

https://redd.it/m5qutp
@r_linux