amanwithausername

joined 2 years ago
[–] [email protected] 5 points 2 years ago (5 children)

Wait until they learn that you can ctrl+u when you mistyped your password in sudo instead of spamming backspace...

[–] [email protected] 2 points 2 years ago

You joke, but this is how the typing system of BASH works

Also, upvote for Nanachi 🐰

[–] [email protected] 3 points 2 years ago

Your guess is as good as mine haha

[–] [email protected] 0 points 2 years ago (3 children)

Does the method you’re describing play well with speaking at the same time

Yes.
With pipewire, it is possible to patch two sources (i.e. your microphone and an application's audio) into a single input, and it will mix them together into one stream. I just tested this with Audacity (didn't feel like booting up Discord, but it should work the same). I could hear my voice and the application's audio at the same time. This is what it looked like for me in Helvum:

The gray PortAudio block is Audacity (would be Discord in your case). "ALC3232 Analog" is my microphone (on the left) and my headphones (on the right). Music Player Daemon is the application whose audio I wanted to stream. The connection between the microphone and Audacity was made automatically as soon as I started the recording. I had to manually make the connections from Music Player Daemon to Audacity for both left and right channels. After that I could see both the mic sound and the music player daemon sound in the recording, mixed into one stream. It should work the same way with Discord. If you wanted to, for example, make your voice louder or quiter compared to the application audio, you could just adjust your mic's gain (or the application's volume) with Pavucontrol (it's an app made for Pulseaudio, but it works flawlessly under pipewire as well).

In my original comment, I said that you could patch your output's monitor back into Discord. This is a bad idea, since if anyone speaks to you in the call, that audio will also be echoed back to them. So it's better to connect the individual applications' audio into Discord as opposed to the output monitor.

Now, this could get a little tedious, making those connections by hand every time you want to screen share. So you could try to make a script that does something like that automatically. Pipewire also has the concept of a "session manager", which is basically a daemon that decides which connections are made by default, when new sources or sinks register with Pipewire. For example, wireplumber, the default session manager, was responsible for connection audacity to my microphone automatically. Maybe you could try to configure your session manager to also automatically make connection between Discord and any app that outputs audio (idk tho, never done it before).

[–] [email protected] 0 points 2 years ago (5 children)

since they still haven’t fixed the lack of audio on Linux

Huh, never heard of this. Do you mean that it's impossible to stream desktop audio through discord? As a workaround, you can try switching to Pipewire and patching your audio output's monitor into Discord through helvum. Or write a script that does that automatically.

[–] [email protected] 1 points 2 years ago

But that ad is ridiculous, because it shows absolutely nothing of value.

I think I disagree with you here. The ad shows:

  • Ligature support
  • Themeing
  • Integration with WSL
  • that Windows Terminal is open source ("Check out our github!" at 0:21)
  • Hyperlink support
  • Unicode support (implied by the emoji)
  • Some sort of package manager specifically for Windows Terminal extensions? (0:20)

Which are all features that could conceivably be valued by developers. At the very least it gets across the point that "Yeah, CMD is shit, but fear not! Now there's a first-party terminal that doesn't suck!". There's no denying that all of this is presented in an "emotion-based" format as you put it, but I would argue that it's a good balance between informative and entertaining. Heck, I much prefer it to the ads you get nowadays on youtube where you can't even tell what they hell they're trying to sell to you.

[–] [email protected] 2 points 2 years ago (1 children)

I don’t see who WSL is for.

My guess is that this time they really wanted to pull the developer demographic over into the M$ sphere of influence. MSYS, MingW, and Git Shell already fill the same niche as WSL, so it wasn't destined to succeed. Thing is, they probably didn't expect it to succeed either. Microsoft's strategy has always been to throw a hundred dicks at the wall and hope that one of them sticks (think Zune, Windows Phone, etc). This time, Azure kind of stuck. WSL didn't. When you're as big as Microsoft, the occasional win more than covers the cost of a hundred losses.

[–] [email protected] 5 points 2 years ago* (last edited 2 years ago) (9 children)

They were really trying to pander to developers back then... What shows it best is their ad for windows terminal that I swear has more production value than most of Nike's advertisements. You know you're desperate when you go this hard on advertising a bloody terminal

[–] [email protected] 21 points 2 years ago (4 children)

Transcript:

[Miracle of the word wide web meme template]
"Thanks to the miracle of windows subsystem for linux..."
"...I can use the Linux terminal from the comfort of windows"
[Computer monitor showing windows update screen]
"Marvelous"

[–] [email protected] 5 points 2 years ago

I remember seeing a version of this meme where for all distros the "users" was in plural, except for gnewsense, where it was just "user", implying that Stallman is the only one who uses it XD

[–] [email protected] 1 points 2 years ago

You can do 3D modeling with OpenSCAD, which uses plaintext files as source code for 3D models. So yes, you can edit these .scad files with vim. If you then want to compile and preview your model, you can just open the official OpenSCAD editor and close the text pane. It'll automatically watch the file you're editing for changes, compile it, and give you a preview of the model that you can rotate and move around.

The other software mentioned in the last panel is cadquery. It's a Python library for creating 3d models. But it's much slower and buggier than OpenSCAD, and, in my opinion, less intuitive.

[–] [email protected] 19 points 2 years ago* (last edited 2 years ago)

Transcription:

[you go to jail meme template]

Panel 1: You want to write a program? Use vim.

Panel 2: [logos of matplotlib, pandas, and R] Need to process scientific data? Also vim.

Panel 3: [LaTeX logo] Writing a report about that data? Vim.

Panel 4: [OpenSCAD, CadQuery logos] 3D modeling? Believe it or not, straight to vim.

view more: ‹ prev next ›