How does the Unix Philosophy matter in modern times?
The Unix philosophy states that a program 'should do one thing and do it well'. This may have worked in the 1970s and 1980s, but in the modern era, where even the hardware does multiple jobs at a time, how does this matter? People want multi-tasking in their machines, and according to them it increases the efficiency. Why shouldn't software be able to multiple tasks?
Wouldn't it be better that a piece of software can do many operations, rather than one, while doing them all well?
Or, am I getting the whole idea of the Unix philosophy wrong?
https://redd.it/mjmfd1
@r_linux
The Unix philosophy states that a program 'should do one thing and do it well'. This may have worked in the 1970s and 1980s, but in the modern era, where even the hardware does multiple jobs at a time, how does this matter? People want multi-tasking in their machines, and according to them it increases the efficiency. Why shouldn't software be able to multiple tasks?
Wouldn't it be better that a piece of software can do many operations, rather than one, while doing them all well?
Or, am I getting the whole idea of the Unix philosophy wrong?
https://redd.it/mjmfd1
@r_linux
reddit
How does the Unix Philosophy matter in modern times?
The Unix philosophy states that a program 'should do one thing and do it well'. This may have worked in the 1970s and 1980s, but in the modern...
Windows 10 and Linux Mint 20.1 dual boot menu missing
I am fairly new to Linux and I recently installed Linux Mint Cinnamon on my HDD and I already have Windows 10 on SSD for my day to day purposes. My problem is that I am not seeing the dual boot menu on startup and it is automatically booting into Windows 10 now if I am manually selecting Linux from F9 boot option it is booting normally into Linux, now from here things get trickier for me I went into my BIOS setting and manually changed boot order and for some weird reason it is showing my Linux bootloader in my SSD despite the fact that I installed on my HDD and upon making it first priority when I boot into my Laptop now I am seeing a black screen in my GRUB menu with something like Grub and press TAB to see available commands. My Laptop specs are HP Pavilion Power Gaming Series 15-cb with i7 7700 HQ as my processor. Kindly help me as I really wanna stick to Linux in future but for now I can't use it without Windows. Also sorry for my English mistakes as it is not my first language.
https://redd.it/mjqleo
@r_linux
I am fairly new to Linux and I recently installed Linux Mint Cinnamon on my HDD and I already have Windows 10 on SSD for my day to day purposes. My problem is that I am not seeing the dual boot menu on startup and it is automatically booting into Windows 10 now if I am manually selecting Linux from F9 boot option it is booting normally into Linux, now from here things get trickier for me I went into my BIOS setting and manually changed boot order and for some weird reason it is showing my Linux bootloader in my SSD despite the fact that I installed on my HDD and upon making it first priority when I boot into my Laptop now I am seeing a black screen in my GRUB menu with something like Grub and press TAB to see available commands. My Laptop specs are HP Pavilion Power Gaming Series 15-cb with i7 7700 HQ as my processor. Kindly help me as I really wanna stick to Linux in future but for now I can't use it without Windows. Also sorry for my English mistakes as it is not my first language.
https://redd.it/mjqleo
@r_linux
reddit
Windows 10 and Linux Mint 20.1 dual boot menu missing
I am fairly new to Linux and I recently installed Linux Mint Cinnamon on my HDD and I already have Windows 10 on SSD for my day to day purposes....
The modern packager's security nightmare
https://blogs.gentoo.org/mgorny/2021/02/19/the-modern-packagers-security-nightmare/
https://redd.it/mjs8bj
@r_linux
https://blogs.gentoo.org/mgorny/2021/02/19/the-modern-packagers-security-nightmare/
https://redd.it/mjs8bj
@r_linux
Michał Górny
The modern packager’s security nightmare
One of the most important tasks of the distribution packager is to ensure that the software shipped to our users is free of security vulnerabilities. While finding and fixing the vulnerable code is…
How I learned to stop worrying and love the hamburger menu
https://pointieststick.com/2021/04/03/how-i-learned-to-stop-worrying-and-love-the-hamburger-menu/
https://redd.it/mjtoc0
@r_linux
https://pointieststick.com/2021/04/03/how-i-learned-to-stop-worrying-and-love-the-hamburger-menu/
https://redd.it/mjtoc0
@r_linux
Adventures in Linux and KDE
How I learned to stop worrying and love the hamburger menu
Yesterday we introduced KHamburgerMenu to the world, and I wanted to talk a bit more about it, because I think it’s a very exciting UI control in ways that may not be immediately obvious. But…
Sorting and moving automatically videos from download to storage directory
https://yeupou.wordpress.com/2021/04/04/sorting-and-moving-automatically-videos-from-download-to-storage-directory/
https://redd.it/mjue09
@r_linux
https://yeupou.wordpress.com/2021/04/04/sorting-and-moving-automatically-videos-from-download-to-storage-directory/
https://redd.it/mjue09
@r_linux
# cd /scratch
Sorting and moving automatically videos from download to storage directory
In the spirit the earlier noscripts to clean up ogg/mp3 collection (tags, filenames) with lltag, the following noscript is a proposal to automatically move, from download directory to storage dire…
Retry rsync file transfers on unstable connections
https://blog.project-insanity.org/2021/04/04/retry-rsync-file-transfers-on-unstable-connections/
https://redd.it/mju29n
@r_linux
https://blog.project-insanity.org/2021/04/04/retry-rsync-file-transfers-on-unstable-connections/
https://redd.it/mju29n
@r_linux
project-insanity.org
Retry rsync file transfers on unstable connections
Rsync is great for transfering large files over SSH, especially on unstable connections. It can resume copying but lacks an automatic retry option. I was using this command to transfer a big image...
Looking for recommendations on a lightweight scheduling solution similar to AWX
Hi all,
I have a need for an extremely lightweight scheduling solution that can:
\- Checkout from GIT
\- Schedule noscripts and jobs
\- Has a report dashboard accessible via web GUI for successful / failed jobs
​
It does not need any remote connectivity support.
​
Unfortunately AWX is too much overhead, as this is for a project on a Pi 4 and it's got a decent amount of other stuff running on it.
https://redd.it/mjw757
@r_linux
Hi all,
I have a need for an extremely lightweight scheduling solution that can:
\- Checkout from GIT
\- Schedule noscripts and jobs
\- Has a report dashboard accessible via web GUI for successful / failed jobs
​
It does not need any remote connectivity support.
​
Unfortunately AWX is too much overhead, as this is for a project on a Pi 4 and it's got a decent amount of other stuff running on it.
https://redd.it/mjw757
@r_linux
reddit
Looking for recommendations on a lightweight scheduling solution...
Hi all, I have a need for an extremely lightweight scheduling solution that can: \- Checkout from GIT \- Schedule noscripts and jobs \- Has a...
Jakym, An Open Source Command line Music Streaming application with spotify playlist support.
I created this application so that I could use the command line to play music easily. I often play games and listen to music simultaneously but using either Spotify or playing music in a browser takes much-needed resources from my CPU and RAM.
I have spent a lot of time looking through numerous CLI based music players. But they either required setting up lots of things, needed premium features to function or sometimes flat out didn't work even after tinkering with them for hours. Hence I thought that instead of looking for a solution, I should code it myself.
So I present to you JAKYM, Just Another Konsole YouTube-Music.
- Run the program using jakym command jakym or call it as a python module python -m jakym
- This will open up the jakym command window.
- Type '''spotify'' to play music using spotify playlist or enter a songname to search for song or enter its youtube link.
- jakym will queue all the songs once you type them and play them one by one
Install from here
Github
pypi
All Issues and contributions are welcome.
https://redd.it/mjy6ck
@r_linux
I created this application so that I could use the command line to play music easily. I often play games and listen to music simultaneously but using either Spotify or playing music in a browser takes much-needed resources from my CPU and RAM.
I have spent a lot of time looking through numerous CLI based music players. But they either required setting up lots of things, needed premium features to function or sometimes flat out didn't work even after tinkering with them for hours. Hence I thought that instead of looking for a solution, I should code it myself.
So I present to you JAKYM, Just Another Konsole YouTube-Music.
- Run the program using jakym command jakym or call it as a python module python -m jakym
- This will open up the jakym command window.
- Type '''spotify'' to play music using spotify playlist or enter a songname to search for song or enter its youtube link.
- jakym will queue all the songs once you type them and play them one by one
Install from here
Github
pypi
All Issues and contributions are welcome.
https://redd.it/mjy6ck
@r_linux
GitHub
GitHub - themayankjha/JAKYM: JAKYM, Just Another Konsole YouTube-Music. A command line based Youtube music player written in Python…
JAKYM, Just Another Konsole YouTube-Music. A command line based Youtube music player written in Python with both Spotify and Youtube playlist support and easy on memory. See README for installation...
Arm 64 python ide?
Hello, I am currently running Ubuntu on Android using termux.
I was wondering... Is there a python ide that i can use for arm 64 system? I would prefer the ones with similar look and feel (ui) as that of Spyder (anaconda release)
https://redd.it/mjzgch
@r_linux
Hello, I am currently running Ubuntu on Android using termux.
I was wondering... Is there a python ide that i can use for arm 64 system? I would prefer the ones with similar look and feel (ui) as that of Spyder (anaconda release)
https://redd.it/mjzgch
@r_linux
reddit
Arm 64 python ide?
Hello, I am currently running Ubuntu on Android using termux. I was wondering... Is there a python ide that i can use for arm 64 system? I would...
This week in KDE: KHamburgerMenu and some good bugfixes
https://pointieststick.com/2021/04/02/this-week-in-kde-khamburgermenu-and-some-good-bugfixes/
https://redd.it/mjji4h
@r_linux
https://pointieststick.com/2021/04/02/this-week-in-kde-khamburgermenu-and-some-good-bugfixes/
https://redd.it/mjji4h
@r_linux
Adventures in Linux and KDE
This week in KDE: KHamburgerMenu and some good bugfixes
Today I’d like to introduce an interesting new component that will eventually be rolled out in many KDE apps with menubars: KHamburgerMenu. This re-usable component allows QWidgets-based apps…
In trying to find a way to dual boot elementary OS with macOS Big Sur, I accidentally stumbled on a way to make uninstalling Linux as simple as wiping two partitions— and not requiring a fresh macOS install
https://taurealis.medium.com/how-to-dual-boot-elementary-os-and-macos-big-sur-and-make-uninstalling-easy-a7b9d3b0e59c
https://redd.it/mk2xsw
@r_linux
https://taurealis.medium.com/how-to-dual-boot-elementary-os-and-macos-big-sur-and-make-uninstalling-easy-a7b9d3b0e59c
https://redd.it/mk2xsw
@r_linux
Medium
How to dual boot elementary OS and macOS Big Sur (and make uninstalling easy)
Earlier this week I got a much larger hard drive for my 2014 Macbook Pro and planned to take advantage of the extra 750 GB of free space…
Terminal Based Programming IDE
I'm very curious as to whether there is a Programming IDE which is terminal based. I do not mean a text editor like vim but a full IDE using CLI graphics. I'm not looking for extensions for text editors but a standalone terminal IDE
https://redd.it/mk3za3
@r_linux
I'm very curious as to whether there is a Programming IDE which is terminal based. I do not mean a text editor like vim but a full IDE using CLI graphics. I'm not looking for extensions for text editors but a standalone terminal IDE
https://redd.it/mk3za3
@r_linux
reddit
Terminal Based Programming IDE
I'm very curious as to whether there is a Programming IDE which is terminal based. I do not mean a text editor like vim but a full IDE using CLI...
Applied Linux Command Line and Shell Scripting Zero to Elite - free udemy course 48h
https://www.myfreeonlinecourses.com/2021/04/100-off-applied-linux-command-line-and.html
https://redd.it/mk46ve
@r_linux
https://www.myfreeonlinecourses.com/2021/04/100-off-applied-linux-command-line-and.html
https://redd.it/mk46ve
@r_linux
Myfreeonlinecourses
Applied Linux Command Line and Shell Scripting Zero to Elite
download free courses and get 100% off coupons cod for free from top websites like udemy, coursera, Visit now and get your coupons and download courses before they expire!
To make money in FOSS, build a business first - creator of sway and sourcehut on open source funding
https://drewdevault.com/2021/03/03/To-make-money-in-FOSS-build-a-business.html
https://redd.it/mk5fhy
@r_linux
https://drewdevault.com/2021/03/03/To-make-money-in-FOSS-build-a-business.html
https://redd.it/mk5fhy
@r_linux
reddit
To make money in FOSS, build a business first - creator of sway...
Posted in r/linux by u/wiki_me • 2 points and 0 comments
Ai icon converter
Hello,
I just had an idea and couldn't find it on google.
There are loads of different icon packs for linux but obviously they can't all have custom icons for every single program in existence.
I was wondering if any app exists to use StyleGAN to convert icons to different styles to fill the gaps in any icon packs? If not, it might be an interesting project for me.
https://redd.it/mk5v5b
@r_linux
Hello,
I just had an idea and couldn't find it on google.
There are loads of different icon packs for linux but obviously they can't all have custom icons for every single program in existence.
I was wondering if any app exists to use StyleGAN to convert icons to different styles to fill the gaps in any icon packs? If not, it might be an interesting project for me.
https://redd.it/mk5v5b
@r_linux
reddit
r/linux - Ai icon converter
0 votes and 1 comment so far on Reddit
Some tips for limiting damage remote users can do through OpenSSH
https://distrowatch.com/weekly.php?issue=20210405#qa
https://redd.it/mk8duk
@r_linux
https://distrowatch.com/weekly.php?issue=20210405#qa
https://redd.it/mk8duk
@r_linux
Can someone tell me why my while loop never ends
Hello team
I created this noscript to increment IPs and Vlans to copy to a text file and copy and paste on switches. The numbers are incrementing, the only issue is that it doesn't stop. I want the third octet in my IP to stop at 250 and I was the last Vlan to stop at 1250. The third octet start is entered as 1 and the starting VLAN is 1001. Im a bit of a starter on Shell noscripts, so any help will be appreciated.
\#!/bin/sh -x
MaxValue=250 # highest valid IP octet value
MaxValueVlan=1250
Vlan= 1001
\#echo -n "Enter IP address: "; read IP
echo -n "How many IP addresses do you need: "; read count
echo -n "Which Vlan: "; read VLAN
echo -n "Whats network: "; read Third
​
Pre=10
Sec=150
Fourth=1
while [[ $count -gt 0 \]\] || [[ $vlan -gt 0 \]\] || [[ $Third -gt 0 \]\]
do
if [[ $Third -eq $MaxValue \]\] || [[ $vlan -eq $MacValueVlan \]\] ; then
\# here you'll need to increment the third level IP value,
\# but that might cascade into the second, or the first.
\# consider the case of 17.255.255.255 + 1
echo "edge case needs to be written"
fi
\#echo $baseaddr.$lsv
echo $vlan
echo $Pre"."$Sec"."$Third"."$Fourth
\#lsv=$(( $lsv + 1 ))
vlan=$(( $vlan + 1 ))
Third=$(( $Third + 1 ))
count=$(( $count - 1 ))
done
exit 0
https://redd.it/mk592e
@r_linux
Hello team
I created this noscript to increment IPs and Vlans to copy to a text file and copy and paste on switches. The numbers are incrementing, the only issue is that it doesn't stop. I want the third octet in my IP to stop at 250 and I was the last Vlan to stop at 1250. The third octet start is entered as 1 and the starting VLAN is 1001. Im a bit of a starter on Shell noscripts, so any help will be appreciated.
\#!/bin/sh -x
MaxValue=250 # highest valid IP octet value
MaxValueVlan=1250
Vlan= 1001
\#echo -n "Enter IP address: "; read IP
echo -n "How many IP addresses do you need: "; read count
echo -n "Which Vlan: "; read VLAN
echo -n "Whats network: "; read Third
​
Pre=10
Sec=150
Fourth=1
while [[ $count -gt 0 \]\] || [[ $vlan -gt 0 \]\] || [[ $Third -gt 0 \]\]
do
if [[ $Third -eq $MaxValue \]\] || [[ $vlan -eq $MacValueVlan \]\] ; then
\# here you'll need to increment the third level IP value,
\# but that might cascade into the second, or the first.
\# consider the case of 17.255.255.255 + 1
echo "edge case needs to be written"
fi
\#echo $baseaddr.$lsv
echo $vlan
echo $Pre"."$Sec"."$Third"."$Fourth
\#lsv=$(( $lsv + 1 ))
vlan=$(( $vlan + 1 ))
Third=$(( $Third + 1 ))
count=$(( $count - 1 ))
done
exit 0
https://redd.it/mk592e
@r_linux
reddit
Can someone tell me why my while loop never ends
Hello team I created this noscript to increment IPs and Vlans to copy to a text file and copy and paste on switches. The numbers are incrementing,...
CLI replacement for Baobab (disk usage analyzer)?
my current method is slow and clunky, but I guess I could noscript it into a solution. I'll do sudo du -chs / to see the overview and a total, then will do a du -bcs / | sort -n (show in bytes and then sort numerically) to see the worst offenders at the bottom, then will continue the process the with one or two of the worst offender folders, until i've developed a sense of where the problem is...
I don't need something with a pretty display of where the problem is, but it would be nice to have a MC view of the system, and be able to go down the tree to see where the largest files are. Sometimes I may have a suspicion of where the problem is (/var/logs/ or something), but many times i do not.
https://redd.it/mk9wuq
@r_linux
my current method is slow and clunky, but I guess I could noscript it into a solution. I'll do sudo du -chs / to see the overview and a total, then will do a du -bcs / | sort -n (show in bytes and then sort numerically) to see the worst offenders at the bottom, then will continue the process the with one or two of the worst offender folders, until i've developed a sense of where the problem is...
I don't need something with a pretty display of where the problem is, but it would be nice to have a MC view of the system, and be able to go down the tree to see where the largest files are. Sometimes I may have a suspicion of where the problem is (/var/logs/ or something), but many times i do not.
https://redd.it/mk9wuq
@r_linux
reddit
CLI replacement for Baobab (disk usage analyzer)?
my current method is slow and clunky, but I guess I could noscript it into a solution. I'll do [sudo] du -chs /* to see the overview and a total,...