I just found a use for ed.
You know those people that make horseshoes by hand, usually at some sort of historical exhibition. I sorta feel like those guys, except with computers. I love studying old computer technologies. I've spent dozens of hours learning about old 8 bit architectures, weird one-off computer systems like the Apollo Guidance Computer, and also old unix utilities.
Now, of course, the unix utilities are still with us, and I'd argue they are here to stay, but some of them have become more obscure than others. For instance, ed isn't even installed by default in many linux distros. I spent a bit of time learning about it, mainly for the legacy it has in the way vim works (also, grep gets its name from ed).
Today I was not actually in my historical mood, I was working on another project involving book length flat html files generated from markdown. I wanted to generate a table of contents with an entry for every level 2 heading in the document. Now, there are many ways to crack an egg, but it occurred to me that this was actually a problem that I could solve with ed! It seemed like an interesting challenge at least. In a surprisingly short time, I had a working ed noscript to solve the problem. It's only 17 loc and even has the distinction of containing my most knarly looking line of code written to date.
H
1
/<h2>/
i
<h2>Table of Contents</h2>
<ul>
</ul>
.
-1ka
g/<h2>Chapter /s/\(<h2\)\(>Chapter \)\([0-9][0-9]*\)</\1 id="\3"\2\3</\
t'a\
s/<h2/<li><a/\
s,</h2>,</a></li>,\
s/id="/href="#/\
ka
w
q
https://redd.it/c10wx1
@r_linux
You know those people that make horseshoes by hand, usually at some sort of historical exhibition. I sorta feel like those guys, except with computers. I love studying old computer technologies. I've spent dozens of hours learning about old 8 bit architectures, weird one-off computer systems like the Apollo Guidance Computer, and also old unix utilities.
Now, of course, the unix utilities are still with us, and I'd argue they are here to stay, but some of them have become more obscure than others. For instance, ed isn't even installed by default in many linux distros. I spent a bit of time learning about it, mainly for the legacy it has in the way vim works (also, grep gets its name from ed).
Today I was not actually in my historical mood, I was working on another project involving book length flat html files generated from markdown. I wanted to generate a table of contents with an entry for every level 2 heading in the document. Now, there are many ways to crack an egg, but it occurred to me that this was actually a problem that I could solve with ed! It seemed like an interesting challenge at least. In a surprisingly short time, I had a working ed noscript to solve the problem. It's only 17 loc and even has the distinction of containing my most knarly looking line of code written to date.
H
1
/<h2>/
i
<h2>Table of Contents</h2>
<ul>
</ul>
.
-1ka
g/<h2>Chapter /s/\(<h2\)\(>Chapter \)\([0-9][0-9]*\)</\1 id="\3"\2\3</\
t'a\
s/<h2/<li><a/\
s,</h2>,</a></li>,\
s/id="/href="#/\
ka
w
q
https://redd.it/c10wx1
@r_linux
reddit
r/linux - I just found a use for ed.
10 votes and 10 comments so far on Reddit
How To Install Visual Studio Code on Ubuntu
https://www.itsmearunchandel.co.in/linux/ubuntu/steps-to-install-visual-studio-code-on-ubuntu-18-04.html
https://redd.it/c0ypk1
@r_linux
https://www.itsmearunchandel.co.in/linux/ubuntu/steps-to-install-visual-studio-code-on-ubuntu-18-04.html
https://redd.it/c0ypk1
@r_linux
SYSTEM ADMIN
How to Install Visual Studio Code on Ubuntu 18.04 - SYSTEM ADMIN
Simple steps to install visual studio code on ubuntu 16.04 & 18.04. You can download .deb package or can add repository.$ apt-get install code
AudioStellar: Open source data-driven musical instrument for latent sound structure discovery and music experimentation
A couple of weeks ago we released the first public version of our open source project: AudioStellar.
We've put together a basic machine learning pipeline for visualizing a collection of short audio samples in an interactive 2D point map we like to call "sound space".
Any sound artist can create a sound space using his/her own sounds and explore AI learned representation. We propose three creative modes for playing samples including casting moving particles and creating constellation loops.
It's made in c++ using openFrameworks and Python
Code and binaries:[ https://gitlab.com/ayrsd/audiostellar/](https://gitlab.com/ayrsd/audiostellar/)
​
This is the first project open source project I actually spread.
Any feedback very well apreciated.
https://redd.it/c14q7m
@r_linux
A couple of weeks ago we released the first public version of our open source project: AudioStellar.
We've put together a basic machine learning pipeline for visualizing a collection of short audio samples in an interactive 2D point map we like to call "sound space".
Any sound artist can create a sound space using his/her own sounds and explore AI learned representation. We propose three creative modes for playing samples including casting moving particles and creating constellation loops.
It's made in c++ using openFrameworks and Python
Code and binaries:[ https://gitlab.com/ayrsd/audiostellar/](https://gitlab.com/ayrsd/audiostellar/)
​
This is the first project open source project I actually spread.
Any feedback very well apreciated.
https://redd.it/c14q7m
@r_linux
GitLab
ayrsd / audiostellar · GitLab
Opinions on Manjaro Deepin?
What's everyones opinion with Deepin on Manjaro?
Satisfied?
https://redd.it/c15zmt
@r_linux
What's everyones opinion with Deepin on Manjaro?
Satisfied?
https://redd.it/c15zmt
@r_linux
reddit
r/linux - Opinions on Manjaro Deepin?
0 votes and 1 comment so far on Reddit
KDE Usability & Productivity: Week 75
https://pointieststick.com/2019/06/15/kde-usability-productivity-week-75/
https://redd.it/c16h3m
@r_linux
https://pointieststick.com/2019/06/15/kde-usability-productivity-week-75/
https://redd.it/c16h3m
@r_linux
Adventures in Linux and KDE
KDE Usability & Productivity: Week 75
Week 75 in KDE’s Usability & Productivity initiative is here! It’s a little lighter than usual because we’re all feverishly preparing for the dual Plasma and Usability & P…
Calendar management dialog, archiving task lists, Every Detail Matters on Settings (Sprint 2)
https://feaneron.com/2019/06/15/sprint-2/
https://redd.it/c15t45
@r_linux
https://feaneron.com/2019/06/15/sprint-2/
https://redd.it/c15t45
@r_linux
Georges Stavracas
Calendar management dialog, archiving task lists, Every Detail Matters on Settings (Sprint 2)
During the Sprint #2, a new feature landed in GNOME To Do, GNOME Settings went through an Every Detail Matters session, and Calendar advanced in the calendar management dialog rewrite.
2 years ago, installing linux on baytrail systems was a nightmare. Yesterday i tried it again and (almost) everything worked out of the box
Hi,
I hope this is the right place to post this. I just wanted to share my sheer amazement.
TLDR: Two years ago it took an usb keyboard, a usb ethernet adapter, digging around in efi variables, wanting no sound at all and lots of patience and crashes to get an [ASUS X205TA](https://www.asus.com/us/Laptops/ASUS_EeeBook_X205TA/specifications/) (or F205TA for that matter, but they seem to be the same) to boot. Tried it yesterday with xubuntu and besides an initial x86 UEFI loader for the x64 system it required no extra tinkering.
I want to say thank you to everyone involved on making this magic happen every day.
For context:
My wife is currently in the hospital and needed a device to pass time and to better communicate with people as her phone didn't really do it for her.
Remembering that a lot of time had passed since my last installation of this [monster](https://www.asus.com/us/Laptops/ASUS_EeeBook_X205TA/specifications/) and that i had to refer to two wikis ^[1](https://wiki.archlinux.org/index.php/ASUS_x205ta) ^[2](https://wiki.debian.org/InstallingDebianOn/Asus/X205TA) to get this thing remotely working before, i said fuck it to myself and tried it again.
After making an x86 efi grub standalone and patching a xubuntu iso to use it the thing just ran. Sure it crashed mid-installation because of the fucked up cstates on baytrail, but the well documented fix (refer to the wikis) did its job. After that it was just one config file to edit to make the headphone jack work and done. The xubuntu ubiquity installer even installed the right x86 grub onto the system. Something i had to do manually after the initial installation last time. It all just works out of the box.
And boy the performance difference to back then. It's like it is another notebook. Bundled with zswap you don't even notice the 2GB of RAM till you try [Banished](https://store.steampowered.com/app/242920/Banished/) in Steam's Proton now that they killed the native linux support for it. But even then, the game runs way more smoothly than it did before. It's just amazing how much work has gone into each and every component of this beautiful ecosystem.
So wrapping up i want to say thank you to all of you for making this experience possible and making my wife's time in the hospital a little more endurable for her.
https://redd.it/c17p9r
@r_linux
Hi,
I hope this is the right place to post this. I just wanted to share my sheer amazement.
TLDR: Two years ago it took an usb keyboard, a usb ethernet adapter, digging around in efi variables, wanting no sound at all and lots of patience and crashes to get an [ASUS X205TA](https://www.asus.com/us/Laptops/ASUS_EeeBook_X205TA/specifications/) (or F205TA for that matter, but they seem to be the same) to boot. Tried it yesterday with xubuntu and besides an initial x86 UEFI loader for the x64 system it required no extra tinkering.
I want to say thank you to everyone involved on making this magic happen every day.
For context:
My wife is currently in the hospital and needed a device to pass time and to better communicate with people as her phone didn't really do it for her.
Remembering that a lot of time had passed since my last installation of this [monster](https://www.asus.com/us/Laptops/ASUS_EeeBook_X205TA/specifications/) and that i had to refer to two wikis ^[1](https://wiki.archlinux.org/index.php/ASUS_x205ta) ^[2](https://wiki.debian.org/InstallingDebianOn/Asus/X205TA) to get this thing remotely working before, i said fuck it to myself and tried it again.
After making an x86 efi grub standalone and patching a xubuntu iso to use it the thing just ran. Sure it crashed mid-installation because of the fucked up cstates on baytrail, but the well documented fix (refer to the wikis) did its job. After that it was just one config file to edit to make the headphone jack work and done. The xubuntu ubiquity installer even installed the right x86 grub onto the system. Something i had to do manually after the initial installation last time. It all just works out of the box.
And boy the performance difference to back then. It's like it is another notebook. Bundled with zswap you don't even notice the 2GB of RAM till you try [Banished](https://store.steampowered.com/app/242920/Banished/) in Steam's Proton now that they killed the native linux support for it. But even then, the game runs way more smoothly than it did before. It's just amazing how much work has gone into each and every component of this beautiful ecosystem.
So wrapping up i want to say thank you to all of you for making this experience possible and making my wife's time in the hospital a little more endurable for her.
https://redd.it/c17p9r
@r_linux
ASUS USA
ASUS is a leading company driven by innovation and commitment to quality for products that include notebooks, netbooks, motherboards, graphics cards, displays, desktop PCs, servers, wireless solutions, mobile phones and networking devices. ASUS ranks among…
Any companies that deal with free/open-source software and have programs for autistic people (and for LGBT ones)?
In about one more year, I will graduate from college and be expected to find a job to support my family. However, I want to add working with FOSS to this mix. I already know most of the big-name organizations that work with them, but what I may not be able to discover easily is if they have support programs for autistic people and/or LGBT people, since I am both of these traits (gay/homosexual male for the latter).
I have a tendency to be slow on certain tasks (due to my autistic personality), which may impair my ability to work within shorter time constraints, and possibly get me fired if this gets bad enough. Additionally, while I haven't encountered bullying related to my homosexuality for my entire life so far, it is possible that this can change in my later life. If this bullying or similar happens in a work environment, it may discourage me from doing my work. I could try to find all this with web search engines, but I am unable to phrase my search query clear enough to get any relevant results.
TLDR/Summary: I am seeking for information about any companies that satisfy the three things below:
* Works primarily with FOSS
* Has a program for helping autistic people
* Has a program for helping LGBT people
I really don't want to sacrifice any of the three to get another, such has having to work at a company that primarily puts out proprietary software, or having to work at a pace that I am unable to keep up with.
https://redd.it/c17a06
@r_linux
In about one more year, I will graduate from college and be expected to find a job to support my family. However, I want to add working with FOSS to this mix. I already know most of the big-name organizations that work with them, but what I may not be able to discover easily is if they have support programs for autistic people and/or LGBT people, since I am both of these traits (gay/homosexual male for the latter).
I have a tendency to be slow on certain tasks (due to my autistic personality), which may impair my ability to work within shorter time constraints, and possibly get me fired if this gets bad enough. Additionally, while I haven't encountered bullying related to my homosexuality for my entire life so far, it is possible that this can change in my later life. If this bullying or similar happens in a work environment, it may discourage me from doing my work. I could try to find all this with web search engines, but I am unable to phrase my search query clear enough to get any relevant results.
TLDR/Summary: I am seeking for information about any companies that satisfy the three things below:
* Works primarily with FOSS
* Has a program for helping autistic people
* Has a program for helping LGBT people
I really don't want to sacrifice any of the three to get another, such has having to work at a company that primarily puts out proprietary software, or having to work at a pace that I am unable to keep up with.
https://redd.it/c17a06
@r_linux
reddit
r/linux - Any companies that deal with free/open-source software and have programs for autistic people (and for LGBT ones)?
0 votes and 2 comments so far on Reddit
where does gdebi download packages?
Hi!
I need to make offline instalation for nagios + chcek\_mk according to documentation I need to use gdebi to install check\_mk.deb and I want to know where does gdebi download required packages to lately copy them for offline instalation.
https://redd.it/c18o8d
@r_linux
Hi!
I need to make offline instalation for nagios + chcek\_mk according to documentation I need to use gdebi to install check\_mk.deb and I want to know where does gdebi download required packages to lately copy them for offline instalation.
https://redd.it/c18o8d
@r_linux
reddit
r/linux - where does gdebi download packages?
0 votes and 1 comment so far on Reddit
Linux-powered System76 Gazelle laptop allows users to avoid the Windows Tax
https://www.techrepublic.com/article/linux-powered-system76-gazelle-laptop-allows-users-to-avoid-the-windows-tax/
https://redd.it/c198tb
@r_linux
https://www.techrepublic.com/article/linux-powered-system76-gazelle-laptop-allows-users-to-avoid-the-windows-tax/
https://redd.it/c198tb
@r_linux
TechRepublic
Linux-powered System76 Gazelle laptop allows users to avoid the Windows Tax
Venerable Linux hardware OEM System76 released a refreshed version of their Gazelle desktop replacement.
OpenMandriva 4.0 released. Clang 8.0, LTO by default, PGO, Znver1 ISO with optimization for AMD ZEN CPU and much more
https://www.openmandriva.org/en/news/article/the-best-until-openmandriva-does-better-released-omlx-4-0
https://redd.it/c19doy
@r_linux
https://www.openmandriva.org/en/news/article/the-best-until-openmandriva-does-better-released-omlx-4-0
https://redd.it/c19doy
@r_linux
OpenMandriva
The best, until OpenMandriva does better: released OMLx 4.0 – OpenMandriva
OpenMandriva Lx 4.0 final release is out now! Exciting news! Shortly after the release candidate we are very proud to introduce you the fruit of so much work, some visible and much more behind…
TalkingArch is one of the most wholesome projects I've encountered in my Linux journey
https://talkingarch.tk/
https://redd.it/c1a0aw
@r_linux
https://talkingarch.tk/
https://redd.it/c1a0aw
@r_linux
reddit
r/linux - TalkingArch is one of the most wholesome projects I've encountered in my Linux journey
0 votes and 1 comment so far on Reddit
Explaining File Systems: NTFS, exFAT, FAT32, ext4 & 8 More!
https://www.youtube.com/attribution_link?a=-3K8xh-mQKw&u=%2Fwatch%3Fv%3D_h30HBYxtws%26feature%3Dshare
https://redd.it/c19ziu
@r_linux
https://www.youtube.com/attribution_link?a=-3K8xh-mQKw&u=%2Fwatch%3Fv%3D_h30HBYxtws%26feature%3Dshare
https://redd.it/c19ziu
@r_linux
YouTube
Explaining File Systems: NTFS, exFAT, FAT32, ext4 & 8 More!
NTFS, FAT32, exFAT, ext4 and APFS are just some of the file systems used to organize data on storage drives. This video outlines the differences between thes...
If Firefox started an email service and offered “Sign in with Firefox”
https://jatan.blog/tech/if-firefox-started-an-email-service-and-offered-sign-in-with-firefox/
https://redd.it/c1afah
@r_linux
https://jatan.blog/tech/if-firefox-started-an-email-service-and-offered-sign-in-with-firefox/
https://redd.it/c1afah
@r_linux
Uncertain Jatan
If Firefox started an email service and offered “Sign in with Firefox”
A privacy respecting email service that’s easy to use. Also, yourname@firefox.com sounds cool.
Suppose you are in a corporate network environment and often times find yourself manually setting/unsetting the HTTP_PROXY environment variable in order to access different hosts. Sounds familiar? In this case, dePAC might help you!
https://github.com/creaktive/dePAC
https://redd.it/c19eqi
@r_linux
https://github.com/creaktive/dePAC
https://redd.it/c19eqi
@r_linux
GitHub
GitHub - creaktive/dePAC: seamless Proxy Auto-Config (a.k.a. Web Proxy Auto Discovery) for CLI apps
seamless Proxy Auto-Config (a.k.a. Web Proxy Auto Discovery) for CLI apps - GitHub - creaktive/dePAC: seamless Proxy Auto-Config (a.k.a. Web Proxy Auto Discovery) for CLI apps
KDE Plasma 5.16, AMD Ryzen/Navi, Firefox Premium, Matrix 1.0, OBS, PinePhone | This Week in Linux 70 (notes in comments)
https://www.youtube.com/attribution_link?a=1k62sk9uH6g&u=%2Fwatch%3Fv%3DtqsrKxM-1zI%26feature%3Dshare
https://redd.it/c1bhdt
@r_linux
https://www.youtube.com/attribution_link?a=1k62sk9uH6g&u=%2Fwatch%3Fv%3DtqsrKxM-1zI%26feature%3Dshare
https://redd.it/c1bhdt
@r_linux
YouTube
KDE Plasma 5.16, AMD Ryzen/Navi, Firefox Premium, Matrix 1.0, OBS, PinePhone | This Week in Linux 70
https://tuxdigital.com/contribute || https://tuxdigital.com/linuxiseverywhere Sponsored by Digital Ocean - https://do.co/tux On this episode of This Week in ...
Meet The Affordable [Linux] Challenger To Dell's XPS 13
https://www.forbes.com/sites/jasonevangelho/2019/05/15/linux-laptop-benchmark-dell-xps-13-star-labtop-intel-i7-8550u/#2e4ef140470c
https://redd.it/c1czkh
@r_linux
https://www.forbes.com/sites/jasonevangelho/2019/05/15/linux-laptop-benchmark-dell-xps-13-star-labtop-intel-i7-8550u/#2e4ef140470c
https://redd.it/c1czkh
@r_linux
Forbes
Laptop Benchmark Battle: Meet The Affordable Challenger To Dell's XPS 13
An underdog rises up to challenge my favorite Dell XPS laptop. It features a blazing fast SSD and the same Intel i7 CPU. The benchmark results show this is a decidedly lopsided battle...
charles leifer | Suffering for fashion: a glimpse into my Linux theming toolchain
http://charlesleifer.com/blog/suffering-for-fashion-a-glimpse-into-my-linux-theming-toolchain/
https://redd.it/c1dc48
@r_linux
http://charlesleifer.com/blog/suffering-for-fashion-a-glimpse-into-my-linux-theming-toolchain/
https://redd.it/c1dc48
@r_linux