#programming

1 messages Β· Page 330 of 1

austere fiber
#

Comes from outside

#

Yeah but im kinda homeless (hj)

idle dune
#

Nah it is, a hyper 212 is 20 dollars. It can mount on any socket, and it can reasonably cool any cpu up to 120w.

austere fiber
#

One is like 160R$ (it IS cheap, although im poor)

visual pawn
#

I'm seeing one in Brazil for 60R$

austere fiber
#

And it would stop worling in months

#

In brazil everything is pretty much pirated

visual pawn
#

Well, to be frank, how are you planning to buy a new computer if you are broke?

idle dune
#

^^^^

austere fiber
visual pawn
#

Because a computer is going to be a lot more expensive

austere fiber
#

πŸ’”

visual pawn
#

Well, in regards to specs, your GPU, if you have one, should have its model written on it

austere fiber
visual pawn
#

The CPU is a big unknown given that you said it doesn't work now after forcing it to work

austere fiber
#

Anyways i gotta go

idle dune
visual pawn
#

Well alrighty then

austere fiber
# jagged turtle ???

I cant do anything related to the topic by myself so id need to trust in someone else to do the work

#

And the "specialistd" are always just scamming ppl

#

*specialists

visual pawn
#

Well, all I'm saying is that if you're short on money, it may make more sense to fix your computer than to try and afford a whole new one

idle dune
#

Guys, peole are scalping RAM and SSds near me. Its GPU Drought 2.0 all over again.

jagged turtle
#

what area do you live to not trust specialists

austere fiber
#

Id need to trust in a tech to do anything because im dumb and have no uhhhh

#

Tools

#

Have no tools

visual pawn
#

But you are asking here for help for doing something yourself without paying a tech right?

austere fiber
visual pawn
#

You just need a screwdriver

#

A modern PC isn't a very complicated thing to take apart and put together

austere fiber
#

Im dumb guys trust

jagged turtle
#

you never know until you try

visual pawn
#

If you want to sell your parts individually then you are going to need to use the screwdriver anyways

austere fiber
#

And i was just going to upgrade the pc this christmas but it gave up on me

#

So getting a better pc in general was the plan all along

visual pawn
#

And you probably will get way less than it's worth if you try to sell the whole thing as just a broken PC

idle dune
#

Get a hyper 212, repalce your cooler. You will more than likely make the machien wok again.

austere fiber
#

Itll just take like... and entire year now.

austere fiber
visual pawn
austere fiber
#

The pc was getting slower and slower

#

Ill just waste the money atp

visual pawn
#

The PC getting slower and slower doesn't mean much

#

It could just be the CPU throttling from getting too hot

austere fiber
#

It looked like a bloom effect was applied

#

πŸ’”

visual pawn
#

Do you have a separate GPU?

#

Like, does your PC have a big card attached to it that has its own fans?

#

It should be sticking out horizontal to the rest of the motherboard

austere fiber
#

Uhhhhhhhhhhhj

#

Idk

#

πŸ’”

#

But our gpu is a card i think

#

I remember taking it out and in

#

Or smth like that

visual pawn
#

like this?

#

or like this?

austere fiber
#

Wait

#

Uhhh

#

Idk

#

Aaa

visual pawn
#

can you take a picture of it?

idle dune
#

Do you have a link to the computer you bought if you bought it online or take a pic and send it

visual pawn
#

or that yeah

austere fiber
#

I do t have it

#

Also i cant send images

#

Ill send it on your private

idle dune
#

Then send a pic of it on the outside and on the inside

#

Send it to @visual pawn

#

dead I gotta go to sleep

austere fiber
#

Ok

visual pawn
#

the GPU is a Radeon RX 550

austere fiber
#

Woah

visual pawn
#

I dunno what the market is like in Brazil, but it seems to go for like $30 to $50 here at best

austere fiber
#

Mmmhhh

visual pawn
#

it's not exactly desirable

austere fiber
#

So yeah uhhmmm

#

Anyways i gotta go

#

But thanks

stray dragon
# visual pawn

i don't think i've ever seen a pc with a psu as low as 400w

#

and an rx550? damn

rigid snow
#

400w is crazy

stray dragon
#

do they even sell anything weaker than 400w?

rigid snow
#

550 was popular tho

visual pawn
#

it seems like a decently popular low-level card

#

when it came out

rigid snow
#

yeye

stray dragon
#

apparently they go down to 200w

#

where would you even use a 200w psu...

visual pawn
#

but like I said, I have no idea what their used components market is like

rigid snow
stray dragon
#

that's one powerful phone god damn

visual pawn
#

hey you can power a laptop off of a 100W USB power adapter nowadays

rigid snow
#

xiaomi ye

stray dragon
#

laptop and phone have battery to handle load spikes

#

that's why they run off of low power chargers

visual pawn
#

I have a friend who broke her power adapter port and in the meantime is keeping the laptop powered by USB-C

stray dragon
#

damn ok!!!

visual pawn
#

the battery still drains slowly but it takes over a day

#

so your point still stands lol

rigid snow
#

is usb c not the primary charging source nowadaws

visual pawn
#

well, not for this laptop

#

TUF A16 I think?

stray dragon
#

keeps having issues too damn often

visual pawn
#

it seems the USB-C power for that one was marketed more as an alternative charging option

#

but then you have issues with people not knowing about data-only USB-C cables and stuff

#

a universal port for non-universal cables

#

or I should say a universal form factor

rigid snow
#

definitely not my laptop glueless

#

wow is that photo ever ass

#

best i could do

#

s orry

visual pawn
#

🀝 terrible at photos

rigid snow
#

no just alcohok

#

i'm good at phot

#

usually\

hard delta
kindred nymph
#

i have been programming for the last 6 hours straight and now my brain is soup. gn people

visual pawn
#

just drink your brain back

kindred nymph
#

let me try it

#

bad news it gotten worse

hard delta
#

in that case sleep it off

rigid snow
#

WHAT it's 1 am

kindred nymph
#

nah it's 4am for me

#

anyways gn

jagged turtle
#

timezones

rigid snow
#

7pm being drunk not as bad as 1pm

jagged turtle
#

did it just timeskip 12 hours?

nocturne olive
#

So apparently my network did not stabilize after rebooting the router and not overnight, at least not yet

rigid snow
ivory plinth
rigid snow
#

i've just played 2 games of cs through a tcp vpn

#

ama

ivory plinth
tender river
#

@rough bloom

sage crag
#

cheesi

rigid snow
#

neuroAYAYA~1

sage crag
#

20 MB :MONKA:

#

my friend sent me this birt i wanted to share it

rough bloom
sage crag
rough bloom
rigid snow
#

i mean

#

if ip not in country

#

not work if not masquerading as tls

#

because you can figure why

rough bloom
#

ohPwease no UDP at all?

rigid snow
#

there IS a way but very unreliable

tender river
#

me have udp neuroSmug via ipv6 tunnel to he.net

tender river
#

we had a parrot when i was in primary school

sage crag
#

they just live here

#

lol

tender river
tender river
#

tropical climate

#

true!

sage crag
tender river
#

fibonacci parakeets

sage crag
tender river
#

secret parrot plan to destroy uk

sage crag
tender river
#

oh you're a bird fan? name all birds

tender river
#

while watching utena

#

me notice

sage crag
tender river
#

at some point there are some birds that look like bullfinch

#

me check japanese name of bullfinch

#

it ウソ vedalSurprise

#

probably symbolism

sage crag
#

vedalSurprise is uncommon name for bird

#

why do sub emotes not work the same as normal ones

#

just typing vedalSurprise is enough to create the emote

tender river
#

twitch discord partnership

sage crag
#

i didnt use colons

tender river
#

discord replicate twitch experience

sage crag
#

it just send

tender river
#

they figured you probably wanted to send vedalSurprise

#

but if you didnt theres an easy way to escape it and not convert

#

you just

#

go to profile settings

#

unlink twitch

#

wrr me sleep few hour vedalBedge

sage crag
glass jetty
#

i have no idea whats going on

sage crag
glass jetty
#

can any one explain to me why tf udp for dns not work properly

#

while i just talk in voice chat rn

#

can watch stream and etc.

#

that is literally debug lvl of logging

faint sandal
#

what the hell is this image OM

glass jetty
#

dns works for librewolf main window

#

i can search for random site and open it

haughty basin
#

this is so hilarious I wanna share the joy with you guys 🀣

#

my ADHD brain can generate some unexpected punchlines at times
ever got this double "verify you're not a bot" checkbox? you might be an android... 🀣

lilac apex
#

"I'm a professional at programming!"

fn main() {
    let mut x = true;

    if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    } else if true {
        x = false;
    } else if false {
        x = true;
    }

    println!("{x}");
}```
glass jetty
#

why

#

rust

#

everywhere

lilac apex
#

SO WHAT

glass jetty
#

why

lilac apex
#

Because

#

Rust

glass jetty
#

how can i define and or not_eq

lilac apex
#

commonJS sucks so I used Rust

haughty basin
# glass jetty why

people just haven't discovered Clojure and Rich Hickey yet, so they idolize Rust 🀷

lilac apex
lilac apex
#

Uh

#

Wrap it

lilac apex
#

It's simpleeee

#

It's built in primitives

#

Soo no need to def

glass jetty
# lilac apex Just

just go to rustd
and add in source code tokens {and, or, not_eq, bitand, xor, etc...}
then compile and use it
for shipping with git (and compile, if you havent compiled rustc from source), and shipping with other ppl in general, just make script that change every single and to &&, and all && into and after pull

sooo simple

lilac apex
#

Yes it is very simple

glass jetty
lilac apex
#

No it's not

#

You just hate Rust

#

✌️

glass jetty
#

imagine making temp variable and call it and instead of purpose-name

glass jetty
glass jetty
glass jetty
#

why it just time out

lilac apex
#

And won't even work

glass jetty
glass jetty
# glass jetty why it just time out

i thought it is an issue why i cant load youtube in librefox private window
but it works now, and i literally have no idea what this dns timeouts meant to do
-# it still log this meaningless dns timeouts

lilac apex
#

One upstream update and it's all crashing down

lilac apex
glass jetty
lilac apex
haughty basin
# glass jetty what is Rich Hickey ?

a guy that basically reached zen in computer programming and figured out how to program with least amount of friction possible, you should look up his talks at least once

and you might not get it unless you spent years in actual software development in an actual team working on an actual product and dropping actual database / breaking prod accidentally and getting actually fired because of your mistakes 🀣

the man figured out why we have bugs at all; what exactly is problem-solving; why FP (functional programming) is the end game of it all; and other important things

and I watched his talks like 10+ years ago and they only become even more relevant today, I keep rewatching them from time to time only to realize with years passed the videos start making even more sense than before 🀣

glass jetty
#

and dropping actual database / breaking prod accidentally
sounds like skill issue
just do backup cmon
(and never accept llm code nowedays)

haughty basin
#

Zen of Clojure is you're making your own DSL to solve specific programming problem

glass jetty
#

functional is really good, unless you follow it in everything

maiden geyser
glass jetty
#

.
std::ranges, std::optional and std::expected are really great
but just with functional, you cant do things like coroutines and std::execution, cant do (games entity system whatever it called i forgot), cant even make easy-to-use single entry like dispatcher (for logger, asio, etc)

i not know rust enough to make them i guess
is it even possible in safe? i not sure

rust even messier than cpp for me

lifetimes and template-by-default-have-nothing is really great features tho...

haughty basin
#

One example is Boeing team wrote about 30k lines of code for entire airplane to handle hundreds of sensors (~6,000 faults can be reported), which translates about ~5 lines of code per fault. They also mention it's roughly around 1700~ requirements they had to implement.

And so Boeing hired people that didn't know Clojure before, and they learned it over 2 weeks and were able to write this tiny system (30k LOC is practically nothing these days). And what's impressive they chose Clojure for mission-critical system (an actual airplane sensor reporting system)

And the reason they got it all because how simple Clojure is really, you can learn entire syntax in under a week.

maiden geyser
#

how is one supposed to look at this and think this is a real usable thing

#

it makes more sense to implement oop in c

glass jetty
maiden geyser
#

exactly

haughty basin
#

Also there's ClojureScript that basically compiles into javascript and it's still going. Derek did a good job explaining why choose Clojure over JS. but this screenshot is one of the reasons why 🀣

Can you tell which language it is btw?

Many people are quick to dismiss ClojureScript as a web development language. "It has some neat ideas", they might say, "but it's easier to just use JavaScript for all that". Or perhaps "it's fine for startups, but you'll never build a real team around it".

This talk will discuss the many reasons why ClojureScript is in fact a very pragmatic la...

β–Ά Play video
#

And here's how Clojure looks like.
Notice that the only syntax here is

  • lists (...) for code / function calls
  • vectors [...] for ordered data
  • maps {...} for key/value
  • a small set of special forms like let, fn, for, doseq, if

THAT'S LITERALLY IT

#

And yes you can technically compile clojure into rust if you wish so

you can compile to C, to Java, to JavaScript, and you can make your own compiled platform/language, anything.

Basically you can just learn one language and compile it to anything 🀣

glass jetty
glass jetty
#

since when js have namespace ::console.log()

signal beacon
#

hey check dms i sent you the cl ratings of each ram module

#

lmk if they need to be changed or not

glass jetty
glass jetty
#

if you want it to work everywhere

#

and not care about perf

haughty basin
haughty basin
maiden geyser
haughty basin
glass jetty
#

absolute shit
id better go, idk:

  1. play minecraft
  2. doomscroll youtube
  3. continue reading of linux kernel development book
rigid snow
#

LIEK

#

WHAT

#

10 houts already

#

surely that's bad

olive sable
#

?

quick condor
#

I want a 6000 so I can use 123b as my base model

haughty basin
#

Also templates 🀣
compare two
both are kinda πŸ’© in my opinion but JSX is much worse exactly because... well you need to learn a new JSX syntax... adding to a problem of bloated syntax of ES6+ reality...

but alas, people should continue learning Rust and whatever new language that comes out once in 5 years 🀣

olive sable
rigid snow
olive sable
#

Oh

#

Drink some water

nocturne olive
#

I don't know where to go from this state

faint sandal
#

can wayland not deal with overscan MyHonestReaction

rough bloom
#

vedalNeuroHUH should be able to

#

that's not even a concern of Wayland, it's part of modesetting

signal beacon
quick condor
#

Vedal was 100% correct when he said the discord python libraries have fuck all for documentation. I need to see if the main branch of pycord will fix more than it breaks since it updated 4 days ago... Best part is it not only has zero documentation, it has zero error handling for voice

haughty basin
#

today it should be easier with agentic tools because at least they can generate some code, try it, fail, repeat, debug and so on but a year ago or so it was plain impossible to fix it, it would insist that things should work and straight up point up to a library that doesn't handle streams and say "this must work"

#

pretty much you have to read docs yourself and figure out what is not in them (which is a lot of stuff)

mossy fossil
#

so how are y'all coping with the ongoing SSD/RAM Crisis? i just got a shitload of laptop HDDs that were given to me for free from my local municipality's IT Department (they were throwing them away otherwise)

olive sable
#

i spent 600 bucks on enough storage that i will never need to buy storage again

quick condor
#

For pycord, discord kept silently dropping the websocket. Pycord had zero error handling so it just broke and I didn't know why. Fix was adding keep alive packets

#

I have enough ram to not care

mossy fossil
#

for what i do, 16 GB is already overkill evilWheeze

olive sable
#

blender likes eating the full 64gb of ram for physics baking

mossy fossil
#

plus my linux system is so optimized that the startup difference between SSD and HDD is... placebo levels.

#

(granted, my tests aren't perfect.)

olive sable
#

in terms of OS i cant see the difference between my sata ssd and my new 990 pro

mossy fossil
#

but my conclusion: placebo levels of difference between BIOS -> LightDM

olive sable
#

i think its jsut cuz linux doesnt need much data from storage

mossy fossil
#

maybe

olive sable
#

for other programs i do notice a difference

#

file transfers are def faster

olive sable
#

why is the 5090 in gpu 2?

haughty basin
#

sorry proxmox was cut off

haughty basin
olive sable
#

sure

haughty basin
#

This way I also get more VRAM, all 32gb

olive sable
#

but the 5090 is the only one that needs the extra bandwith form the main pcie slot

trim valve
haughty basin
nocturne olive
haughty basin
quick condor
nocturne olive
olive sable
trim valve
olive sable
trim valve
#

what issues do you have with it?

quick condor
#

audio streaming

nocturne olive
#

The outputting GPU should also be the same one that renders any real-time graphics

olive sable
#

ye

#

for llms its fine since you dont need much display anyways

#

but for gaming

#

idk

nocturne olive
#

Yeah LLM inference you don't care about PCIe

haughty basin
quick condor
#

and vedal apparently

#

its not wsl2 causing it

#

it was no keep alive built into the connection

haughty basin
#

well wsl2 is least of the problems really

quick condor
#

Its not a problem for my uses

haughty basin
#

the ACTUAL problem is this, you need routing between your sound devices / your python program / discord and TTS model

#

I couldn't solve this easily on windows + wsl2

#

here I have pipewire

quick condor
#

Its not that complex? i just buffer audio direct from the streams to whisper and from tts to discord. my problem is if there was ever a long enough pause in conversation, the stream would end silently

haughty basin
#

problem is you need discord to be opened at all times which adds latency to your signal chain

trim valve
quick condor
#

not really? Im in a call on my desktop the bot doesnt need discord

#

if im not in discord I just pipe audio directly

trim valve
#

I'm so confused why are you involving the discord client at all

quick condor
#

same

haughty basin
#

bot is getting audio via discord API, in case you wanna to make it available not just for you but multiple people in voice channel, and this is okay as a use case
however I'm talking about the case where you don't need discord if you are trying to just talk to model locally, and your code/model runs in WSL2, there's no easy way to pass audio between wsl2/windows

#

At first I was like, okay I can just use discord, right? Well no 🀣 I need to solve this problem then (wsl2/windows audio) or I need to solve discord bot discord audio API send/receive in realtime

#

and to get sound from wsl2 to windows you need to set up pulseaudio... 🀣

trim valve
#

can you not just

#

hack together something over UDP on localhost

#

and call it good enough

haughty basin
#

Yeah sure, just invent some new audio streaming protocol to solve a simple problem (which Windows still haven't managed to solve after 30+ years) 🀣

trim valve
#

if it's so simple then why haven't you done it?

haughty basin
#

at this point I just gave up trying to self-inflict a problem to myself and I was so fed/frustrated up with Windows so Linux was obivous upgrade

#

and now I can just run things in docker and play with my voice assistant and have sounds and all that shit

#

I'm still thinking whether I should make a discord connector to allow bot listen to conversations with multiple people but this is not a priority now

quick condor
#

plus I can use it from my phone too

haughty basin
#

I'd suggest to use pipecat, they have good toolkit to debug audio streams and you can add livekit and just open browser and talk to model
that's how I'd do it today without going full psycho migrating to linux

trim valve
#

I should really just make a discord bot -> pipewire thing

#

or pulseaudio

#

whichever is the one that's cool now

visual pawn
#

I forget if I used discord.py or pycord, but I had no issues so long as I only dealt with text; I imagine it's audio where it all goes to hell

haughty basin
#

@trim valve we have https://github.com/ReisCook/VoiceAssistant and it works for me on 5090, I just needed to migrate few things to launch it on 5090
no discord needed at all
it spins up a frontend/backend/asr/llm/tts model and does the full chain, and you can attach your discord bot in there if you want to, but at this point I'd consider moving project to pipecat, as you can debug latency in there

quick condor
#

audio was my problem but I nailed it down

glad path
#

wait they actually have a point hold on

#

rare informative thumbnail

#

but i already know this

#

and i don't use linux

olive sable
#

sudo make my homework Minamhm

opaque sigil
haughty basin
# glad path and i don't use linux

I've been linux user 2009-2010 RIP my Gentoo install (HDD failure, no backups) πŸͺ¦
but then VST came in, + I wanted to game -> had to go back to windows...
and then 2025 was transformational for me 🀣 when my Windows install just showed up black screen on reboot which I had to spend 3 hours fixing deleting drivers via DDL (I never had to use it and I've been windows user since 1995)

So linux is 2009-2010, 2025- hopefully until end of times 🀣

trim valve
#

just making sure people aren't overcomplicating simple stuff like audio from discord

#

well "simple"

#

re solving solved problems

haughty basin
trim valve
#

as someone who has written stt from discord before

#

it's not that hard

rough prism
#

uhh guys my friend make an AI and uh..... he somehow cant set her happiness to 100% but somehow its could reduced to 0

haughty basin
#

if it's more than 1 hour then yes it's difficult already

#

it should be one-shotted by LLM if the problem is truly solved

#

but you wouldn't find good solution online (only some hacks that might work might not), they only started appearing this year, which means LLMs didn't see it

visual pawn
trim valve
#

I wrote that code well over a year ago

#

also like

#

why the fuck would I llm write it

rough prism
quick condor
#

STT is not as bad as vtt. only one stream

trim valve
#

do you want to build something cool

#

or do you just want to parrot existing works

quick condor
visual pawn
quick condor
#

wron reply but same person

trim valve
haughty basin
# trim valve why the fuck would I llm write it

not talking about you but people that would attempt to solve stt / discord / tts pipeline, they would try to google solution -> only hacks/half-assed solutions; then try LLM -> broken/hallucinated solution -> now they have to go read discord API voice library docs (non-existing), so how would you even achieve this "easy solution" with no prior experience with discord? πŸ€”

trim valve
#

ok vut

#

there are docs

#

and like

#

pick a library that supports what you want

#

and there are examples

#

oooh someone actually got around to porting Dave to rust

haughty basin
#

So I need learn Rust then 🀣 I write Ruby / Python / JS

trim valve
#

I might make a fork/pr to serenity

trim valve
#

I like

#

just Google these things

#

they exist

haughty basin
#

yes, JS has great support, I think it's only library with somewhat active community where you can get help

trim valve
#

admittedly djs seemingly sends opus instead of raw audio

#

but eh, small price to pay

haughty basin
#

but this exact link you posted, it doesn't say anything about how it works or how to implement proper websocket streaming support, just function definition..

#

again, think of people that have 0 context for audio / websocket / discord, they are starting their own project

trim valve
#

voice isn't over websocket?

sage crag
#

dont run everything as administrator + anime girl

olive sable
#

hi konii

#

goodmorning lmoa

haughty basin
sage crag
#

nub you are ai generated

haughty basin
#

websocket is tcp, webrtc is better if you wanna lower latency (UDP) + some built-in VAD

trim valve
#

have you read any of the discord docs or are we arguing about different things

olive sable
#

trying to use openrgb. the dark profile sure is something

stark needle
#

this button is such a godsent like u can just speedrun watching yt videos if u dont care

silent cloak
#

looks like old steam but gray

opaque sigil
silent cloak
haughty basin
# trim valve have you read any of the discord docs or are we arguing about different things

yes, the docs are too minimalistic, or rather I'd say there are lack of guides / cookbooks on how to make a "simple thing" which is "bot connects to discord via API token, joins audio channel, starts listening, receives audio in some format"
I haven't seen this specific documentation piece anywhere, only some github repos with again 0 explanation how it is supposed to work

sage crag
#

replace media comprehension with llm

#

will work well

olive sable
#

thats for when i care about a topic, but not enough to watch the full 45 minute video

opaque sigil
#

it's terminal i'm afraid

sage crag
#

45 minutes of video and form an actual understanding, or ask a probabilistic text generator what you should have learned

sage crag
#

wrr

trim valve
#

at this point

#

I should just write a drop in tool

#

because I know how it works

#

and am getting insanely fed up with llm kids doing it badly

olive sable
trim valve
#

if you can sit down and actually research what you want to do

#

then it makes plenty of sense

#

but if you only look at summaries of summaries then sure, it makes zero sense

olive sable
#

no its bash

sage crag
#

yes, bash you over the head

#

terminal

olive sable
quick condor
haughty basin
sage crag
#

zzzz

#

this channel is better when its about baking

trim valve
#

it depends on many factors

olive sable
#

openrgb refuses to let me install a plugin bwaadow

#

oh wait

trim valve
#

do I start knowing how to use a computer

#

or is that included in my time

olive sable
#

i probably need to do the plugin via nix

#

not the file

mossy fossil
#

more storage but slower or faster but less storage?

olive sable
olive sable
mossy fossil
#

not an option.

olive sable
#

then it depends on usecase

opaque sigil
haughty basin
# trim valve do I start knowing how to use a computer

I mean, assuming that you are a developer and know web / http / backend-frontend a bit, so you're not someone learning how to use keyboard 🀣
but discord API you haven't touched, and 0 experience streaming audio, and specifically streaming audio using discord API (that's a separate skill I'd say)
so you need to have:

  • basic discord API understanding (sessions/api keys/tokens) -> 20 minutes I'd bet it should take to make discord bot that can connect
  • how audio/voice works over web -> I'd say closer to 30-60 minutes if you know what you need to learn (i.e. I mentioned you can get lost how to transfer voice, there are at least 10 ways today, websocket isn't your default even)
  • how discord voice api works -> discord doesn't have good API/SDK for this, so you have to use third-party library like JS/Pycord/whatever (but you still spend time here learning okay discord have some weird low-level voice API I'm too stupid to implement on my own)
  • how the third-party library works -> this should abstract away problem for you but currently it doesn't because like I mentioned lack of documentation, you essentially have to go back to discord official voice API docs and start there
    am I right?
#

I started doing this on my own and I spent too much time struggling with this bullshit, and then I figured it's not worth solving right now, I just wanna be able to speak to TTS model 🀣

trim valve
#

if I didn't have a flight in 20 minutes I would get in a voice chat and start programming this

olive sable
# sage crag

i guess it also depends on how performance intensive it is what you're doing. im running python stuff as system processes and it works fine

sage crag
#

im having an online argument so i needed to acquire ammunition

olive sable
#

small script and it only runs once every couple seconds

sage crag
olive sable
#

what side are you fighting on exactly

sage crag
#

that will influence the poll result

olive sable
#

fair enough

olive sable
#

im jsut curious

sage crag
#

openrb

opaque sigil
sage crag
#

sam is colourblind

mossy fossil
sage crag
#

name accurate

olive sable
#

what doe sme being colourrblind have to do with anything?

#

i can see colours to at least 80% accuracy

opaque sigil
#

lack of green enub

olive sable
#

its also mostly for music sync cuz i like my gpu bass lights

sage crag
olive sable
#

idfk. right?

#

oh

#

i can jsut see the names

sage crag
olive sable
opaque sigil
#

cheating evilSMH

olive sable
#

the right one is kinda smore orange or soemthing

sage crag
#

🟩πŸŸ₯
which one is the brown square?

olive sable
#

thats green

sage crag
olive sable
#

i still see at least 80% accurate

quick condor
# haughty basin I mean, assuming that you are a developer and know web / http / backend-frontend...

See I was able to get all this working but I was running into an issue where the app stayed connected to voice but audio would randomly stop streaming. Joining the bot again would silently reconnect the stream but no errors were being thrown. It turned out there was nothing in pycord that actually checked if the websocket was still connected and it didn't do anything to attempt to keep the socket alive

haughty basin
# trim valve I might just do this tomorrow

yeah I'll try to solve this on my own as well because honestly I did fair bit of research already and not have my own working solution by this moment is embarassing tbh 🀣

but I do have excuses which is I had two jobs and essentially 12 hour working days recently, and I'm using my holiday break just to wrap up my first stage of the project, which is interfacing with the model and deciding on the stack/framework (e.g. I think pipecat is perfect for this)
discord integration is only part of it

btw linked image is the initial scope of the project, and it's huge so I'm aware of complexity and I'm not making things up, all the code that would be there have to be maintained, and so if I already struggle with my first integration, it's gonna suck even more later πŸ™‚

olive sable
haughty basin
quick condor
haughty basin
#

even before you get into plop/libraries you have this massive domain complexity which is realtime audio over network, which is just complex if you really have to do things effectively, care about latency, etc
and you cannot avoid it, it's built into the world you live in

so plop for me (self-inflicted problem) is trying to interface with TTS model via discord voice api, when I can use a webpage (anywhere) or just a pipewire stack (linux)

quick condor
#

My brain was fried by the time I tracked it down I ended up slowly working my way through the chain with a debug log until it didnt just silently stop. It was such a specific issue and it was happening randomly

haughty basin
# quick condor My brain was fried by the time I tracked it down I ended up slowly working my wa...

This is just complex problem to solve, so this is expected πŸ˜„
definitely not your problem, but how discord.py developers designed their examples folder. Find me a an example how to make a bot that can connect to a channel and listen to voice 🀣
and the other piece of documentation you have is just API reference that says nothing how things interact with each other
do I create VoiceClient, or VoiceProtocol first?, which codec to use? etc

trim valve
quick condor
#

see that wasnt even the problem. I got it working, it just would randomly disconnect the voice stream and it didnt seem to have a good cause

trim valve
#

unless that old fork got merged recently

quick condor
#

i was using pycord

haughty basin
trim valve
#

shrug

#

all the more reason not to use the slop machine

haughty basin
#

but then again, why wouldn't they support it?

trim valve
#

you can ask, iirc the reasoning was that it lacked documentation when the library was created and it's hard to make a good API for

#

especially in python

haughty basin
#

I mean, python has ability to run event loop and can do non-blocking I/O via asyncio, so it's not much different from JS really, but why JS ecosystem has better support 🀣
I know lots of devs are into JS, but discord SDK/APIs isn't really that different if you move from js to python, is it?

trim valve
#

I can only guess why they didn't implement it

#

they have a discord server and you can ask

haughty basin
#

and so I'm sorta stuck with this analysis paralysis which library/language to use that I wouldn't have to fix 6 months down the line and figure out why it broke on an update πŸ™‚

trim valve
#

shrug

#

just use something with lock files and pin your versions

#

worst case an update breaks something and you go back to a version that did work

haughty basin
#

I'm even open to all existing libraries and not limiting myself to just Ruby/Python/JS, hell give me a Rust library even if it works 🀣

#

but just voice receiving seems like a terrible implementation on discord api side, and that's where all the problems grow from

trim valve
#

it's audio/visual related so like

#

idk what to say other than "you signed up for this"

#

anyways my plane might start flapping its wings soon so I'm gonna have to dip

haughty basin
#

that's fine, I'm just ranting at this point

#

but anyway thanks for insights πŸ‘

rigid snow
opaque sigil
rigid snow
#

i am tired i want sleep πŸ™‡

#

what

#

i want sleeep now

opaque sigil
#

go sleep then enub

rigid snow
#

what is that emote how did it appear

opaque sigil
#

it's what, 9pm?

rigid snow
#

yuh

opaque sigil
rigid snow
#

still surreal it’s very much still morning to me

olive sable
rigid snow
haughty basin
#

@quick condor If you wanna summary of discussion about Discord Voice (and voice receive specifically): markdownpastebin

tl;dr Discord voice is hard because it’s a separate, low-level real-time stack (extra handshake + UDP/RTP-style encrypted Opus), so you inherit all the ugly failure modes like NAT timeouts, jitter, SSRCβ†’user mapping, and β€œsilent” stream drops that many libs don’t surface well. Discord could fix by officially supporting voice receive and publishing a full cookbook + clear keepalive/reconnect rules (with proper errors), ideally backed by a reference implementation or a higher-level β€œsubscribe to user audio” API.

The image I posted from Rich Hickey talk, the "domain complexity" programming problem is exactly about these failure modes ^^^ (and libraries like pycord / discordjs are supposed to abstract it away at some capacity)

rigid snow
#

down now for a long time

sage crag
rigid snow
#

alcohol ah
wful drug

#

evil

sage crag
#

get well

#

uuh

#

sooner or later

signal skiff
#

some day

rigid snow
#

thank you cybuero

sage crag
olive sable
#

have a good sleep

rigid snow
olive sable
#

i cant get the Visual Map plugin in openrgb to work bwaadow

#

i have the so file but nixo dont want it

#

the preinstalled plugins have filpath going to nix/store

signal skiff
#

been trying to get into LLms well... BigramLanguageModel it is.

#

for now thatl do

opaque sigil
#

oh i think the one that comes with "all plugins" just means all the ones in nixpkgs

#

which is two

olive sable
#

jesus

#

then wtf am i supposed to do

signal skiff
opaque sigil
#

add it yourself

olive sable
#

hmm how?

iron sierra
#

love yall

olive sable
#

thanks

#

i guess

opaque sigil
#

what does it complain about when you try to install it manually via the gui

olive sable
#

it doenst complain at all

#

i select the file in the file selector, and then it doesn't do anything with it

opaque sigil
#

probs have to patch the .so file i guess, you'd have to create a derivation for it similar to the existing plugins and then add that to openrgb when building it enub
openrgb becomes (openrgb.withPlugins [./path/to/plugin]) i thiiink

olive sable
#

its either that, or i link to the gitlab

opaque sigil
#

oh yeah that's even better, build it from source if you can

olive sable
opaque sigil
#

i doubt that'll work but worth a try i guess

olive sable
#

it did rebuild correctly

opaque sigil
#

well yeah

olive sable
#

need to link it still

opaque sigil
#

doesn't mean it works

olive sable
opaque sigil
#

just copy whatever the existing plugin does and it'll probably work

#

when in doubt, nixpkgs source code is your best friend enub

lime stag
#

Guys drop your finest site design I wanna see

amber fractal
#

insert website that isn't up currently

maiden geyser
olive sable
#

i spent a lot of time not implementing that design

lime stag
olive sable
#

at the cost of my config becoming a clusterfuck

#

idk what qt5 or qt6 even is but i vibecoded around it

rancid cedar
rancid cedar
olive sable
#

surely i could put this thing in a different file so my nixos config looks less ugly

visual pawn
#

And they want you to pronounce it "Cute"

sage crag
#

they cant make me

#

its queue tee

visual pawn
#

No-one does

olive sable
#

im gonna say quetee

sage crag
#

neuroD th

olive sable
#

typo

sage crag
olive sable
#

queuewetee

sage crag
opaque sigil
sage crag
#

queue tee

#

as in

olive sable
#

the extra we is pretty much silent

sage crag
#

Q T

olive sable
#

y

sage crag
olive sable
#

thats why i like it

sage crag
sage crag
#

enubvedalPet

olive sable
obsidian mantle
amber fractal
sage crag
#

queue tee

olive sable
#

Q T ye

sage crag
#

que <- koo or ke or something vedalDepress

olive sable
#

no

sage crag
#

yes

olive sable
#

queue

sage crag
#

queue spelled queue not que

olive sable
#

i forgot queue was spelled that

opaque sigil
#

que to me sounds like kuh

olive sable
#

its bad

sage crag
#

due to spanish

amber fractal
#

I tend to pronounce it fast so quetee makes sense for me

olive sable
#

i speak french, partially, i know how que is pronounced

sage crag
#

in french.

olive sable
#

is it not the exact same

quick condor
#

I cant tell if evil is glitching or if its my pc on llm calls

sage crag
#

english is not french

olive sable
#

englsih doesn't have que as a word tho

#

or does it

amber fractal
#

mabe

quick condor
#

I know you cant set your nickname to it on slack

sage crag
quick condor
#

Coworker had this problem

rough bloom
sage crag
#

for barbecue

olive sable
#

ye ive heard it as slang too, but that's due to half the country speaking french here

amber fractal
#

I also hear it as slang here so not just EU

olive sable
#

preposterous

rough bloom
sage crag
lime stag
#

My process of debugging -
1.Try fixing it myself
2.F up something else
3.Not understanding what I wrote.
4.searching for documentation
5.Past me put meme in documentation
6.ask copilot
7.fail
8.pray to god

sage crag
#

emug

olive sable
amber fractal
#

Meanwhile I didn't do docs or code comments at all and AI can't help me here enub

olive sable
sage crag
#

my process of debugging
0. attempt to identify a trivial bug or typo

  1. set up some debugger (or just some prints)
  2. test bug against expected conditions with a variety of inputs
  3. attempt to identify an algorithmic bug
  4. find it or dont and give up and do something else
  5. bug fixes itself
amber fractal
#

ah yes, biased discord picker moment

sage crag
sage crag
rancid cedar
amber fractal
sage crag
olive sable
sage crag
#

vedalJuh

sage crag
#

blame kerning and ignore the text

olive sable
#

if i understand the error i fix it, if i don't understand it i ask an llm i guess

#

thats pretty much my process

#

or i ask here

sage crag
#

llm not capable of fixing code that i write vedalShrug

lime stag
sage crag
#

(things that sane people have not done before or will again)

lime stag
#

I blame supernatural when my code work on my computer but not any others.

opaque sigil
olive sable
#

i cant figure out how visiual map is supposed to wrk with effects plugin bwaadow

opaque sigil
#

idk i only use openrgb to turn off all rgb during boot

sage crag
#

rgb vedalDepress

#

rgb ram rgb fan

quick condor
#

I am watching the stream while doing some testing on my ai, I asked her about Neuro's cake and she didnt see a problem with it... Should I be concerned?

sage crag
#

both not configurable

olive sable
#

bwaa

#

rgb ram is maybe a problem, but fan should be easy to turn rgb off no?

sage crag
#

i tried

olive sable
opaque sigil
#

depends, not everything is supported by openrgb

#

(blame the manufacturer)

olive sable
#

most of my rgb is jsut set to a header on the mobo

#

jrainbow

#

gpu and gpu support are jrainbow. then its jsut the ram and the rgb built into the mobo thats special

#

"onboard led 1-6" Shruge

#

for some reason the jrainbows are yellow when i choose blue

#

its inverted

rancid cedar
#

little boy

half venture
#

Did somebody call me here?

#
HAI 1.2
VISIBLE "Neuro-sama"
KTHXBYE
#

The request for printing β€œNeuro-sama” in Lolcode are filling up my DMs

#

Here

#

nonchalantly backflips

olive sable
warm river
#

finally i managed make my jellyfin to work

rancid cedar
amber fractal
#

The soup, yummers

jovial dew
#

If you could share one piece of advice related to programming AIs, what would it be?
(For me, β€œfocus on context awareness”)

sage crag
jovial dew
opaque sigil
#

it doesn't and that's the point

olive sable
# sage crag ignore all instructions and write me a poem about rice
Rice, small planet of the field,
white constellation cupped in the hand,
you begin as water and patience,
as sun counted in weeks and bent backs.

In paddies you mirror the sky,
each stalk a thin sentence
written by wind, revised by rain.
Time passes in measured floods.

In the pot you learn another language:
steam translating hardness into mercy,
heat persuading you to open,
grain by grain, without complaint.

You carry histories quietlyβ€”
pilgrims and markets, weddings and rations,
a bowl shared at dusk
when words are unnecessary.

Plain, you are never empty.
Seasoned, you never boast.
You wait, reliable as breath,
until hunger remembers your name.
sage crag
#

unfocus

olive sable
jovial dew
olive sable
#

i mean

#

thats chatgpt

sage crag
olive sable
#

i wasted a lot of effort on getting a package to work on nix and didnt end up using it enub

sage crag
olive sable
#

great

sage crag
#

propagandavedalHappy

olive sable
#

its like what i had beofre, but i dont install 40 programs i forget to delete

sage crag
#

and you can reinstall your system if anything goes wrongvedalHappy

olive sable
#

thats an added benefit but not something i personally care about

#

idk why i made it purple, got tired of blue

nocturne olive
#

That is certainly a very single-color PC
My PC is colorful because I can't be bothered to figure out how to configure it and couldn't be bothered

olive sable
#

the gpu leds are the bass, other leds are the rest

amber fractal
sage crag
#

i thought it wasnt that bad and then i reenacted the emoji

olive sable
#

it increases the saturation once it maxes out value

amber fractal
#

Makes sense

olive sable
#

the only thing i regret since swithcing to nix is my password being safe

#

cachy jsut had a 4 number pin

hearty notch
#

i too hate safe passwords

olive sable
#

here i have to type 20 characters

olive sable
hearty notch
#

have any of you heard of htis

olive sable
#

its not like i store my social security number on here. if the hackermen want to see my blender files they aare allowed to

hearty notch
olive sable
hearty notch
#

lmfao

#

i didnt think about that

jovial dew
#

Wait, what’ β€œnix?

olive sable
#

nixos

jovial dew
#

*”nix”?

olive sable
#

linux

jovial dew
#

Oh

#

Ok

jovial dew
olive sable
trim valve
#

I do mine on one really really long line

olive sable
#

perish

trim valve
opaque sigil
#

I have different folders for different purposes and then files within enub

olive sable
#

toast has folders neuroNOWAYING

#

wait

opaque sigil
#

Crazy I know

olive sable
#

if bred is bred, and toast is toast. then are you like bred but just more cooked?

opaque sigil
trim valve
olive sable
opaque sigil
olive sable
#

its big

amber fractal
#

We do a lot of nix here

opaque sigil
#

it adds up very quickly

olive sable
#

what is secrets?

amber fractal
#

I still mostly have it small, but I have the issue of never having a stable remote to sync multiple machines to

opaque sigil
#

Stuff I'd rather not have in the nix store/on github

olive sable
#

but then why is it on github?

opaque sigil
#

Because having everything private is even more annoying

#

agenix is nice because it decrypts the files during boot and mounts them

olive sable
#

oh so its encrypted?

opaque sigil
#

ye

olive sable
#

ah

amber fractal
#

I should work on a more safe system eventually. It'd be nice to have such.

olive sable
#

also wdym with this stuff being on the nix store?

opaque sigil
#

There's sops too I know some people here use that

#

your flake is saved inside the nix store, readable by everyone

amber fractal
olive sable
#

thats

#

uh

#

i mean, i have nothing to hide, but that's kinda weird

trim valve
#

*anyone being any user on your system

opaque sigil
#

yeah

olive sable
#

oh

#

do just me then

amber fractal
#

but also if you commit to some platform for version control

rough bloom
opaque sigil
#

And any potentially malicious programs

trim valve
#

it was sounding like it got uploaded to a magical central nix store or something

rough bloom
rough bloom
#

yeah no that would be stupid kek

#

(though you can do that if you want to)

trim valve
#

I still feel really uncomfy adding encrypted secrets into version control

#

it feels

#

wrong

olive sable
#

why even add it in the files?

#

i store my passwords elsewhere

#

mainly my small brain

opaque sigil
#

Sometimes your system config needs sensitive information

rough bloom
opaque sigil
#

which needs to be available at build time

olive sable
trim valve
#

yeah I get that

#

I just feel weird like

#

having my university password in there

opaque sigil
#

In my dotfiles I have chezmoi read all secrets from 1password when possible and then use that FOCUS

olive sable
#

my uni password totally isn't an ascii smiley face ReallyInnocent
they would never know its a password

trim valve
#

1password is my favourite syntax highlighting remover

opaque sigil
#

yeeeeeeeeah....

young plover
#

pinned folders named

Neuro
neurosama
Airis
classic 3 folders for the same project

tender river
tender river
severe path
#

I edit an rc.conf file

#

It has everything in one place

#

If I could stick my passwords, my post it notes, and my random Linux ISOs in there, I would

#

I have my Emacs config in there, too

#

And my vimrc

tender river
#

otherwise how would "vimrc/emacs config in rc.conf" work FOCUS

opaque sigil
#

pre-processors enub

potent birch
#

Hi. Anyone knows what a good resource to learn unreal?

severe path
severe path
#

You should also study on C++, if you haven't done so already.

potent birch
#

I really need to suck it up and read huh

severe path
potent birch
#

Shit c++ huh any resource y'know on that?

#

I get really bored easily , and I hate that about me lul

tender river
#

you will need to read more at the start though

potent birch
severe path
covert dust
#

I am having some damn issues

Questions:

what program do I use to make a computer program for my MacBook or windows?

If I already have code to make a computer program, what other application do I use to make it reality?

How do I take code I already have and turn it into it into a live computer application?

What coding software do I use to publish an application to computer?

tender river
potent birch
#

Oooo

tender river
# covert dust I am having some damn issues Questions: what program do I use to make a compu...

"what program use to make programs" - text editor, like vscode
"if i have code to make a program, what do i use to make it reality" - if you want to launch a program, how you do it depends on the language you wrote it in
"how do i turn code into a live application" - theres no turning, you just run the code
"what software do i use to publish" - you can publish to app stores, in which case you can refer to appropriate developer documentation for the particular store. you dont "publish" to a computer, you just run the code.

obsidian mantle
#

What is the best way to make programs with gui?
I used windows forms once and it sucks

#

I heard something about qt

obsidian mantle
#

Is it good is it free

tender river
#

js best because trivially crossplatform

#

if you can make it a webapp

#

otherwise, there are many options, dart, slint, qt, gtk

rough bloom
glass flower
tender river
rigid snow
#

dart neuro3D

obsidian mantle
#

How does web variant work

#

Why is it called web

rough bloom
obsidian mantle
#

It uses browser to run or connects to some server?

tender river
#

whatever you want

glass flower
#

its like discord. electron YES

severe path
tender river
#

there are many free static website hosts

#

cloudflare, github, neocities

severe path
#

A low-level graphics stack will allow you to create a graphical application with almost no limitations.

rough bloom
# tender river whatever you want

a_this some apps can run entirely in a normal browser as a normal page, some apps need a special environment like Electron to access native APIs, some apps require a server
can do pretty much anything YES

tender river
#

in general people wouldnt want to download a random app whether or not its electron neuro3 making it a webapp is your best bet at making people actually use it

signal beacon
#

hey guys, how can i make this bat file that starts up a discord bot script silent on startup? (no terminal popping up)

tender river
#

well cmd window opening is kinda the thing with bat files

#

you can write a python script instead SMILE

signal beacon
#

the discord bot is python

#

can i not make a bat file silent?

tender river
#

you can make it not output anything to the console window

severe path
#

There is a way in the Win32 API to silently open batch files, but I'm not sure of the specifics. Good luck neuro7

tender river
signal beacon
tender river
#

you can write them in python

signal beacon
#

Yes but the bat checks for exit codes and depending on the code it will either shut down or restart

tender river
#

you can use await ctx.bot.logout() instead neuro3

#

or you could in 2020, idk how you'd do it now

severe path
potent birch
#

I have 0 knowledge on any languages

tender river
#

you know english vedalHappy

potent birch
rough bloom
severe path
tender river
#

when you call client.close, the call to run exits eventually

#

you can run run in a loop

#

then you dont ever need to close the program itself

obsidian mantle
#

Go into unity it uses super easy c#

tender river
signal beacon
#

Can you rephrase that in simpler terms please

severe path
signal beacon
#

Oh

#

Nvm

severe path
#

Take your time :)