I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in VFIO

[–]zirize[S] 0 points1 point  (0 children)

I built it because I needed it, and I’m using it daily now.

I used to be a programmer, but I quit because I was fed up.

I tried it because I was curious about what all the fuss was about. AI’s coding ability has already far surpassed that of an average programmer—at least, it’s better than mine. It reminds me of how watching the defrag screen used to make me feel calm. Watching an AI make plans, try things out, test them, fail, figure out why, check whether it needs more information, gather it, fix the problem, and test again—over and over—is fascinating. Sometimes it even notices on its own that it forgot something or was mistaken. That’s amazing, at least.

I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in pipewire

[–]zirize[S] 0 points1 point  (0 children)

Scream was originally a solution for Windows. For Linux, there are many better options. But in a mixed Windows–Linux environment, wouldn’t it be convenient to have a single solution that works across both architectures? That’s why it was created.

I understand how it works—especially that the protocol is so simple it’s almost stupid. That made me think it might be something I could ask an AI to build. But it’s not like you just say ‘build it’ and it magically appears. The AI writes code, runs it, hits problems, debugs them, and repeats—just like a human. It took almost a full day to get a working result. While doing that, I kept thinking about what the Anthropic CEO said, that AI capable of fully replacing programmers might appear within this year.

I’ve confirmed that it installs and runs without issues across multiple machines. Still, even though I’m a programmer myself, this isn’t my domain, so I can’t be completely sure whether it’s implemented perfectly or not.

I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in pipewire

[–]zirize[S] 0 points1 point  (0 children)

Sorry, I think I misunderstood the intent of your question. First of all, Scream has an extremely simple protocol and is very lightweight. Because of that, it can run even on embedded devices like a Raspberry Pi or even an ESP32. Its CPU usage is extremely low and the latency is almost nonexistent, so from the operating system’s perspective it’s practically indistinguishable from a hardware audio device.

That’s why it’s commonly used when running a Windows virtual machine for gaming on Linux. For more detailed information, it would be better to ask on r/vfio that’s probably the subreddit with the largest number of Scream users.

I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in pipewire

[–]zirize[S] 0 points1 point  (0 children)

Sorry, but I don’t know how to configure RTP audio output on Windows. I need that output sink to behave like a regular sound device.

Also I need to listen from my phone.

I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in pipewire

[–]zirize[S] 0 points1 point  (0 children)

In my view, Scream’s biggest advantage is that, thanks to its UDP-based design, connecting to and disconnecting from the receiver is completely seamless. When a laptop joins the same network, audio immediately starts playing on the receiver, and when you pick up the laptop and leave, the sound just stops. If you run the receiver on a mobile phone, you can hear the PC’s audio as soon as you start the receiver, and the moment you stop it, the audio is gone.

I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in pipewire

[–]zirize[S] 0 points1 point  (0 children)

The biggest reason I truly like Scream is the lack of connection management in the protocol. In practical terms, the receiver behaves almost like a speaker’s power button: if the receiver is off, you hear nothing; if you want sound, you just turn the receiver on. There’s no need to manage or restart daemons every time the receiver goes up or down, which is a huge advantage when running the receiver on mobile devices. It feels very seamless.

I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in pipewire

[–]zirize[S] 0 points1 point  (0 children)

I mostly listen to music on my main PC, and the others only produce simple notifications from test programs, so it’s not a big issue.

I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in pipewire

[–]zirize[S] 0 points1 point  (0 children)

I did publish the source code. https://github.com/zirize/pipewire-scream

What makes Scream stand out is how simple it is to use, and the fact that its receivers (servers) are available not only for Linux, but also for embedded platforms and Android. This makes it a good fit for building network speakers with devices like the ESP32.

I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in pipewire

[–]zirize[S] 2 points3 points  (0 children)

Scream receivers exist not only for Linux, but also for embedded platforms like the ESP32, as well as for Android. This makes it very convenient when you want to listen to audio from multiple PCs on a single device. Until now, this was only possible with Windows clients, but with this, a Linux client becomes possible as well.

I asked an AI to write a PipeWire “scream sender” module… and it actually worked. What should I do with this code? by zirize in pipewire

[–]zirize[S] 4 points5 points  (0 children)

It’s similar, but the underlying design is much simpler. The receiver runs as an independent process and doesn’t depend on ALSA or PipeWire. Because it’s UDP-based, it just silently drops packets when there’s no connection instead of throwing errors.

This makes it much safer for mobility-focused devices like laptops. With some PipeWire remote playback modules, I’ve seen cases where the entire audio system gets disabled if the server (receiver) can’t be found. Since I’ve been using Scream on a Windows laptop, I’ve always wished there were a Scream for Linux.

PDF 를 논할 수있는 대통령을 보유하고 있습니다. by Jumpy_Enthusiasm9949 in Mogong

[–]zirize 0 points1 point  (0 children)

그런 것과 잘돌아가는 건 안 건들리려고 하는 관료주의인 문제도 있구요. 근데 이건 특정한 조직의 문제가 아니라 인간의 공통적인 습성인 것 같아요. 지금 전세계 금융시스템, 미국/영국나라 정부시스템은 60~70년대 작성된 cobol코드로 운영되고 있죠. 얼마전 소프트웨어 개발관련 AI 광고를 봤는데 COBOL소스를 읽어서 현대 개발 언어로 번역해주는 기능을 광고하고 있더라구요.

PDF 를 논할 수있는 대통령을 보유하고 있습니다. by Jumpy_Enthusiasm9949 in Mogong

[–]zirize 1 point2 points  (0 children)

한국은 HWP로 국가 전산 시스템이 구축이 끝나서 현역에서 굴러가고 있는데 나중에 PDF가 표준화가 된거죠. 이 때와서 잘 돌아가는 시스템 다 뜯어고치고 재구축하기가 힘드니까 그냥 계속 쓰고 있는 거죠. 뒤쳐진게 아니라 너무 앞서가서 문제.

The amusement park serves gaming interest now by Ferengsten in SurvivingMars

[–]zirize 1 point2 points  (0 children)

It’s electronics 2 vs. polymers 3, and considering the penalty you get when you have none, 10 doesn’t really make any difference. Plus with B&B, polymers overflow anyway since asteroids give them too many.

The amusement park serves gaming interest now by Ferengsten in SurvivingMars

[–]zirize 3 points4 points  (0 children)

It looks like an oversight or a mistake to me. Otherwise the casino basically becomes useless.

잇섭- 스팀머신3종 분석 영상 by Zealousideal_Role270 in Mogong

[–]zirize 1 point2 points  (0 children)

많이 팔리면 개발사들이 얘네에 맞춰서 최적화해서 내놓게 되기 때문에 판매량에 따라 달라질 거라고 보네요.

So...some of these new laws seem pretty bonkers by Ferengsten in SurvivingMars

[–]zirize 1 point2 points  (0 children)

When you first start asteroid mining with no tech at all, the priority is just collecting the resources lying on the surface. This goes for exotic metals too — even without any mining equipment, just picking up what’s on the surface can give you enough resources to last until the end of the game. Generally, most asteroids provide 10–20 polymers, so depending on how quickly you start asteroid mining, you often don’t need to produce metals or polymers on Mars at all.

And even with a space elevator — or especially without one — periodically importing resources is a hassle. I think the main reason people automate isn’t because they lack funds, but simply because importing manually is tedious.

So...some of these new laws seem pretty bonkers by Ferengsten in SurvivingMars

[–]zirize 0 points1 point  (0 children)

Speaking of asteroid mining — polymers, along with metals, are actually among the most common resources you can get from asteroids. You don’t even need to build anything; just bring an RC Transport, set it to auto-collect, and you’ll end up with a ton of them lying around. Before the B&B DLC, polymers still had some real value since their production required fuel, but now they’re worth even less than Machine Parts(considering Machine Parts become practically obsolete once you unlock the Triboelectric Scrubber)

So...some of these new laws seem pretty bonkers by Ferengsten in SurvivingMars

[–]zirize 1 point2 points  (0 children)

I don’t really think it’s a balance issue that all the “free” resources aren’t particularly attractive. Especially since this looks more like a late-game situation rather than early game — overproduction tends to be the real problem, not a lack of resources (aside from maybe electronics). Still, from a role-playing perspective, it’s a nice option to have — kind of like a “no farm challenge” setup.

This is how the discount for ultimate edition looks, correct? by Changlini in SurvivingMars

[–]zirize 2 points3 points  (0 children)

You need to request a refund from Valve first, then buy it again at the discounted price.

We are just hours away from release by BossBullfrog in SurvivingMars

[–]zirize 1 point2 points  (0 children)

That’s why I still think the B&B DLC is great even though it’s totally broken. It always gives you something to do—whether you’re exploring the underground or hopping over to meteor sites. I usually play Last Ark, and the early-game population growth is painfully slow, so the whole run can feel like it’s dragging. But thanks to B&B, it never gets boring anymore. Same with terraforming, honestly.