Linux infomagic december 1999 update
[linux disc opened up](https://imgur.com/gallery/yanyaxO)
I opened up one of the disc sets from my previous post and have pictures to share with the community. I did some research and noticed I still cannot find these anywhere online. These are the december 1999 release and they are a 6 disc set. Still cannot believe I found them, and i have about 38 more sets completely unopened and fac sealed.
If anyone is interested in a copy pm me!
https://redd.it/ca64a1
@r_linux
[linux disc opened up](https://imgur.com/gallery/yanyaxO)
I opened up one of the disc sets from my previous post and have pictures to share with the community. I did some research and noticed I still cannot find these anywhere online. These are the december 1999 release and they are a 6 disc set. Still cannot believe I found them, and i have about 38 more sets completely unopened and fac sealed.
If anyone is interested in a copy pm me!
https://redd.it/ca64a1
@r_linux
Imgur
Linux informagic
Post with 1 votes and 9 views. Shared by sadisticblazer. Linux informagic
Bash function 'FuzzyMatch()'.
A few days ago I posted in this [thread](https://www.reddit.com/r/commandline/comments/c7gkfe/is_there_a_command_palette_for_the_unix_terminal/esf84jc?utm_source=share&utm_medium=web2x) and then started to think that I didn't have any 'fuzzy' things in my toolbox.
I looked into the subject and found it quite complicated, there was no practical way to implement real 'fuzzy search' in 'bash'. But I like 'my things' as simple and distro independent as possible. Could I cut some (lots of) corners and write a simplified 'fuzzy search' function?
Well I did and this is the [result](https://i.imgur.com/d4KBCZK.png). As you can see it seems to be pretty fast, 0.25 mS per word (with a 7 characters KeyWord), and it seems to rate matches reasonably well.
I even wrote a new version of 'l', the search command noscript mentioned in this [post](https://www.reddit.com/r/commandline/comments/c7gkfe/is_there_a_command_palette_for_the_unix_terminal/esf84jc?utm_source=share&utm_medium=web2x), 'lf' (local fuzzy), using 'FuzzyMatch()'. [Here is a comparison of the two noscripts](https://i.imgur.com/2bmewfj.png).
Here is the function:
FuzzyMatch() { # $1: String, $2: KeyWord. Exit: 0: Always. Returns match rating: 0 .. 1000. Example: 'FuzzyMatch "ClassifyTextFiles" "txt"'.
if [ -z "$1" ] || [ -z "$2" ] || [ ${#2} -gt ${#1} ] # Notes: Case insensitive, $1's length should be >= $2's length, Vowel characters are 25% less relevant.
then
echo 0;return 0
fi
local S="${1,,}";local K="${2,,}" # Convert to lower-case.
if [ "$S" == "$K" ]
then
echo 1000;return 0
fi
local V="aeiouáéíóúäëïöü";local IV # IV: Is_vowel (boolean).
local FMV=0;local MV=0 # FMV: Full match value; MV: Match value.
local I=0;local C;local R=""
while [ $I -lt ${#K} ]
do
C="${K:${I}:1}"
if [ "$V" != "${V/${C}/}" ]
then
let "FMV = $FMV + 75"
IV=true
else
let "FMV = $FMV + 100"
IV=false
fi
if [ "$S" != "${S#*${C}}" ]
then
S="${S#*${C}}"
if [ -z "$R" ]
then
let "R = ${#1} - ${#S} - 1" # R: Number of irrelevant $1's leading characters.
fi
if $IV
then
let "MV = $MV + 75"
else
let "MV = $MV + 100"
fi
fi
let I++
done
if [ -n "$R" ]
then # If there have been matches.
let "R = ${#1} - $R - ${#S}" # R: Nr of relevant characters: For "0123456789", "25": "2345" (number is 4 - of 10).
let "FMV = $FMV + 100 - (${R}00 / ${#1})" # No change if Nr_relevant_chars -eq Chars_in_string, FMV increases otherwise (+0..100).
fi
let "MV = ${MV}000 / $FMV"
echo $MV;return 0
}
I'd like some feedback. Please use the function and let me know what you think. Can you see a way to improve it? Do you have access to 'fuzzy search' libraries (python)? Could you, please, conduct a test similar to [this](https://i.imgur.com/d4KBCZK.png) using '/usr/share/dict/words' and KeyWord "applgec"? How long does it take per word? Which are the top 10 matched words?
Thank you in advance.
https://redd.it/ca70ay
@r_linux
A few days ago I posted in this [thread](https://www.reddit.com/r/commandline/comments/c7gkfe/is_there_a_command_palette_for_the_unix_terminal/esf84jc?utm_source=share&utm_medium=web2x) and then started to think that I didn't have any 'fuzzy' things in my toolbox.
I looked into the subject and found it quite complicated, there was no practical way to implement real 'fuzzy search' in 'bash'. But I like 'my things' as simple and distro independent as possible. Could I cut some (lots of) corners and write a simplified 'fuzzy search' function?
Well I did and this is the [result](https://i.imgur.com/d4KBCZK.png). As you can see it seems to be pretty fast, 0.25 mS per word (with a 7 characters KeyWord), and it seems to rate matches reasonably well.
I even wrote a new version of 'l', the search command noscript mentioned in this [post](https://www.reddit.com/r/commandline/comments/c7gkfe/is_there_a_command_palette_for_the_unix_terminal/esf84jc?utm_source=share&utm_medium=web2x), 'lf' (local fuzzy), using 'FuzzyMatch()'. [Here is a comparison of the two noscripts](https://i.imgur.com/2bmewfj.png).
Here is the function:
FuzzyMatch() { # $1: String, $2: KeyWord. Exit: 0: Always. Returns match rating: 0 .. 1000. Example: 'FuzzyMatch "ClassifyTextFiles" "txt"'.
if [ -z "$1" ] || [ -z "$2" ] || [ ${#2} -gt ${#1} ] # Notes: Case insensitive, $1's length should be >= $2's length, Vowel characters are 25% less relevant.
then
echo 0;return 0
fi
local S="${1,,}";local K="${2,,}" # Convert to lower-case.
if [ "$S" == "$K" ]
then
echo 1000;return 0
fi
local V="aeiouáéíóúäëïöü";local IV # IV: Is_vowel (boolean).
local FMV=0;local MV=0 # FMV: Full match value; MV: Match value.
local I=0;local C;local R=""
while [ $I -lt ${#K} ]
do
C="${K:${I}:1}"
if [ "$V" != "${V/${C}/}" ]
then
let "FMV = $FMV + 75"
IV=true
else
let "FMV = $FMV + 100"
IV=false
fi
if [ "$S" != "${S#*${C}}" ]
then
S="${S#*${C}}"
if [ -z "$R" ]
then
let "R = ${#1} - ${#S} - 1" # R: Number of irrelevant $1's leading characters.
fi
if $IV
then
let "MV = $MV + 75"
else
let "MV = $MV + 100"
fi
fi
let I++
done
if [ -n "$R" ]
then # If there have been matches.
let "R = ${#1} - $R - ${#S}" # R: Nr of relevant characters: For "0123456789", "25": "2345" (number is 4 - of 10).
let "FMV = $FMV + 100 - (${R}00 / ${#1})" # No change if Nr_relevant_chars -eq Chars_in_string, FMV increases otherwise (+0..100).
fi
let "MV = ${MV}000 / $FMV"
echo $MV;return 0
}
I'd like some feedback. Please use the function and let me know what you think. Can you see a way to improve it? Do you have access to 'fuzzy search' libraries (python)? Could you, please, conduct a test similar to [this](https://i.imgur.com/d4KBCZK.png) using '/usr/share/dict/words' and KeyWord "applgec"? How long does it take per word? Which are the top 10 matched words?
Thank you in advance.
https://redd.it/ca70ay
@r_linux
reddit
Is there a command palette for the unix terminal?
Posted in r/commandline by u/sorisos • 33 points and 24 comments
The death watch for the X Window System (aka X11) has probably started
https://utcc.utoronto.ca/%7Ecks/space/blog/unix/XDeathwatchStarts
https://redd.it/ca8wuk
@r_linux
https://utcc.utoronto.ca/%7Ecks/space/blog/unix/XDeathwatchStarts
https://redd.it/ca8wuk
@r_linux
reddit
r/linux - The death watch for the X Window System (aka X11) has probably started
0 votes and 5 comments so far on Reddit
Glimpse: Fork of the GNU Image Manipulation Program
https://github.com/glimpse-editor/Glimpse
https://redd.it/ca9qre
@r_linux
https://github.com/glimpse-editor/Glimpse
https://redd.it/ca9qre
@r_linux
GitHub
GitHub - glimpse-editor/Glimpse: Fork of the GNU Image Manipulation Program 2.10.18
Fork of the GNU Image Manipulation Program 2.10.18 - GitHub - glimpse-editor/Glimpse: Fork of the GNU Image Manipulation Program 2.10.18
Ubuntu-Maker Canonical’s GitHub Account Gets Hacked (added 11 empty repos)
https://thehackernews.com/2019/07/canonical-ubuntu-github-hacked.html
https://redd.it/ca8t36
@r_linux
https://thehackernews.com/2019/07/canonical-ubuntu-github-hacked.html
https://redd.it/ca8t36
@r_linux
AMD Radeon RX 5700 / RX 5700XT Linux Gaming Benchmarks Review
https://www.phoronix.com/scan.php?page=article&item=radeon-5700-linuxgl&num=1
https://redd.it/cadr4s
@r_linux
https://www.phoronix.com/scan.php?page=article&item=radeon-5700-linuxgl&num=1
https://redd.it/cadr4s
@r_linux
Phoronix
AMD Radeon RX 5700 / RX 5700XT Linux Gaming Benchmarks Review - Phoronix
Phoronix is the leading technology website for Linux hardware reviews, open-source news, Linux benchmarks, open-source benchmarks, and computer hardware tests.
PSA: I reduced my boot time from ~30 seconds to ~3 seconds by editing a single file (Linux Mint 19.1)
https://www.reddit.com/r/linux4noobs/comments/cafpd5/psa_i_reduced_my_boot_time_from_30_seconds_to_3/
https://redd.it/cafqao
@r_linux
https://www.reddit.com/r/linux4noobs/comments/cafpd5/psa_i_reduced_my_boot_time_from_30_seconds_to_3/
https://redd.it/cafqao
@r_linux
reddit
r/linux4noobs - PSA: I reduced my boot time from ~30 seconds to ~3 seconds by editing a single file (Linux Mint 19.1)
144 votes and 24 comments so far on Reddit
Linux Experiences/Rants or Education/Certifications thread - July 08, 2019
Welcome to r/linux rants and experiences! This megathread is also to hear opinions from anyone just starting out with Linux or those that have used Linux (GNU or otherwise) for a long time.
Let us know what's annoying you, whats making you happy, or something that you want to get out to r/linux but didn't make the cut into a full post of it's own.
For those looking for certifications please use this megathread to ask about how to get certified whether it's for the business world or for your own satisfaction. Be sure to check out r/linuxadmin for more discussion in the SysAdmin world!
_Please keep questions in r/linuxquestions, r/linux4noobs, or the Wednesday automod thread._
https://redd.it/cagdg8
@r_linux
Welcome to r/linux rants and experiences! This megathread is also to hear opinions from anyone just starting out with Linux or those that have used Linux (GNU or otherwise) for a long time.
Let us know what's annoying you, whats making you happy, or something that you want to get out to r/linux but didn't make the cut into a full post of it's own.
For those looking for certifications please use this megathread to ask about how to get certified whether it's for the business world or for your own satisfaction. Be sure to check out r/linuxadmin for more discussion in the SysAdmin world!
_Please keep questions in r/linuxquestions, r/linux4noobs, or the Wednesday automod thread._
https://redd.it/cagdg8
@r_linux
reddit
r/linux - Linux Experiences/Rants or Education/Certifications thread - July 08, 2019
0 votes and 0 comments so far on Reddit
Contribute to the Gnu/Linux Project?
Hello,
First of all im sorry if this post is against the rules but i haven't found a rule that would forbid this post.
Since this is not really a support request and rather meant as a discussion im posting this here and not on /r/linuxquestions.
But enough talk about about that stuff.
So since im soon a real employee(done with my apprenticeship) i was wondering what projects you could donate to thank them for their awesome work and to support them.
So i would like to discuss a bit and maybe learn about awesome projects that i haven't heard of.
https://redd.it/ca70fj
@r_linux
Hello,
First of all im sorry if this post is against the rules but i haven't found a rule that would forbid this post.
Since this is not really a support request and rather meant as a discussion im posting this here and not on /r/linuxquestions.
But enough talk about about that stuff.
So since im soon a real employee(done with my apprenticeship) i was wondering what projects you could donate to thank them for their awesome work and to support them.
So i would like to discuss a bit and maybe learn about awesome projects that i haven't heard of.
https://redd.it/ca70fj
@r_linux
reddit
r/linux - Contribute to the Gnu/Linux Project?
3 votes and 3 comments so far on Reddit
DDG gives you a cheat sheet for any chmod configuration, good for noobs like me.
https://redd.it/cahhs9
@r_linux
https://redd.it/cahhs9
@r_linux
Linux 5.2 changelog - includes a new platform to create open source firmware for audio devices , performance improvements to the BFQ I/O scheduler, a new mount API, case-insensitive names for Ext4, more open source drivers for ARM devices, and more
https://kernelnewbies.org/Linux_5.2
https://redd.it/cahyke
@r_linux
https://kernelnewbies.org/Linux_5.2
https://redd.it/cahyke
@r_linux
kernelnewbies.org
Linux_5.2 - Linux Kernel Newbies
List of changes and new features merged in the Linux kernel during the 5.2 development cycle
Man pages with examples. Looking for a website with lot of examples for Linux commands. (Not for beginners). - sed, awk, find, ls ...
Something like this: [https://gobyexample.com/](https://gobyexample.com/)
Something for advance using. For Linux commands. Do you have recommendations?
https://redd.it/ca4wgh
@r_linux
Something like this: [https://gobyexample.com/](https://gobyexample.com/)
Something for advance using. For Linux commands. Do you have recommendations?
https://redd.it/ca4wgh
@r_linux
Virtualization on linux, the candies.
I use linux at home i learnt linux and how to do this stuff via internet. Fedora Silverblue in a virtual machine with GPU Passthrough and a linux container with xfce, recording on wayland is hard, my ram usage gone over 9000 while recording. 😩😭🤔
[https://youtu.be/oSw-urRgwzQ](https://youtu.be/oSw-urRgwzQ)
https://redd.it/ca5578
@r_linux
I use linux at home i learnt linux and how to do this stuff via internet. Fedora Silverblue in a virtual machine with GPU Passthrough and a linux container with xfce, recording on wayland is hard, my ram usage gone over 9000 while recording. 😩😭🤔
[https://youtu.be/oSw-urRgwzQ](https://youtu.be/oSw-urRgwzQ)
https://redd.it/ca5578
@r_linux
YouTube
Virtualization on linux example
Example of GPU Passthrough on qemu + xfce in a container
I've been working on this minimal xdg-open drop in replacement in the last days, what do you think? Any suggestion?
https://github.com/galatolofederico/pso
https://redd.it/cajn2v
@r_linux
https://github.com/galatolofederico/pso
https://redd.it/cajn2v
@r_linux
GitHub
galatolofederico/pso
Pretty Straightforward Opener. Contribute to galatolofederico/pso development by creating an account on GitHub.