#programming
1 messages · Page 54 of 1
Spectrogram of an audio file or?
could be clipping?
apo is an eq
EQ profile?
i thought it was clipping too but it does seem to go louder
Then I would guess it's areas that could cause clipping in the volume
might just be an estimate then
if its an equalizer profile it may mean that it can theoretically cause clipping
Yeah, it could cause clipping when playing audio that already maxes out the volume
i geuss il do more preamp then
or less actually
more negative
dont question why im making the bass that high, this subwoofer just isnt that loud on low volumes
Very silly
adding spdif on mobo's is very based
can you not set inhereted varibales in c++?
im probably just doing something wrong but wehy wont this work?
you have to use constructors
the default value is part of the field declaration
you're trying to create a second field declaration
or, well
just doing illegal syntax in general
ok
anyway, use constructors
I think his friend declaration is backward?
Oh yes
not using constructors is the only issue
It's inheritance
(while you're at it learn about destructors)
The answer to everything in life seems to be constructors
constructors are just __init__

gigabrain function
Your function is too smart, dumb it down a little
it's literally just the optional settings config but i gave it about 10000 possible branches because of the various things that can be changed
so that's the issue
whoopsie
it's like 10+ nested levels at points LULE
sounds like you need a refactor so it isnt a bunch of if conditions but a function composed of smaller functions intead
declarative and all that
yeah that's what i'm about to do unfortunately
What language? :0
python lul

not talking about moving code around obviously
i shall create 100 smaller functions and each one will just be an if statement
lol
i am kidding
when you have a bunch of similar looking control flow it's a sign that you should abstract that control flow away
i basically knew this was happening but decided to just keep going until i had all the options i wanted and then fix but it uh may have been smarter to go the other way
just one more option 
when ur "interactive" settings are 200 lines
Oh god it took me a day to write 50 and half of them are brackets just chilling there occupying the whole line
And half of non-brackets lines are a result of "Guys, help..."
it's been being added to for about a month now
as i added other stuff
slap another option in that bihh
pretend i do not see the complexity warning each time
Anyone else ever encountered Steam having broken Captchas? I tried to change the password of the account I have because I don't know it and I couldn't pass the Captcha and then it said I exceeded the rate limit after a while
the AI must not need more training rn
Two dice one?
Captcha with 2 dice and you need to write the number that they dispaly
One of those took me 20 minutes
Just your average "Choose all squares with X in them, skip if there are none"
All the captchas steam shows me are dice ones for some reason
It can smell the gambler inside of me
Speaking of gambling, time to play balatro
btw, if you ever need to call the constructor of a base class from the constructor of the derived class, you need to use the member initilaliser lists. you use a colon after the function signature, similar to how you use a colon for inheritence. You can also use it to initialise variables
e.g.
class Base
{
public:
Base(int value) noexcept
: m_var(value)
{
}
virtual ~Base() noexcept = default;
protected:
int m_var;
}
class Derived
: public Base
{
public:
Derived(int value, int other_value) noexcept
: Base(value), m_other_var(other_value)
{
}
private:
int m_other_value;
}
What kind of devtool is that
unfortunately?
Wtf is happening
Okay 
probably
also knowing about virtual destructors is important

not quite
you still need a virtual destructor due to the variables of the derived class
well, yeah, its more like assuming you dont add extra fields with destructors
it's also just best practice, it does little harm by having it, but a lot of harm if you don't use it when you needed to
also just be aware that object slicing exists
aka don't pass a Derived to a std::vector<Base>
it will cause issues
yup, you must use std::vector<Base*> in that case
or ideally std::vector<std::unique_ptr<Base>>
And if you're confused Sam, this is what it feels like developing in lower level language. Higher level language usually do garbage collection so you don't have to worry THAT much about memory while Rust won't compile to make sure memory safety
Its all tradeoff
let me introduce you to the fact that python can segfault 
Idk what that is so 
Yeah, but it's quite rare I think
also knowing about copy constructors is important
yup, you pretty much need to manufacture the situation, but it does exist
ideally move constructors too but thats a newer concept
copy & move operators and constructors
Just like that one time Toast tried to make comparison throw error lol
in JS
oh god lmao
and the rule of 3/5/0
So yeah, all of this complexities is the result of freedom
no,its the result of not knowing what you're doing and organically growing a language throwing whatever fits at it
C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do you blow your whole leg off.
It will be a joyful ride once you do your first stack mangle and your function crashes randomly somewhere and you can't tell why
Hey, at least rust puts a guard rail so even if it's complex, they tried their best to make sure the program does not encounter memory issue
thats because rust was carefully engineered from scratch rather than adding features to an existing language
(they did end up going for some compromises obviously)
Now I'm curious, is there game engine in Golang
who would be masochistic enough to do that?
i've played some games written in go
This list of people
https://www.dragonflydb.io/game-dev/engines/golang
cognitive complexity checker for functions, i have it running with qlty, the metric is simple enough it's just "how hard would this to be able to mentally follow/understand"
similar type of thing to cyclomatic complexity
in my industry cyclomatic complexity is a big thing
200 line configuration function with like 10-15 levels of nesting LULE
it's ok i have the base of it being reduced at this point ready 2 go which is taking it from that to like 50 lines with some helpers to turn it all into an index based thing instead of a shitload of if statements
i hate past me's proclivity to just slap Any on everything in the world

im going through and actually adding correct type hints rn and there are just so many
encoder should be type Encoding 
This is why I never use "Any" in TypeScript no matter how convoluted the type may be
Brother, you're using typescript to get some sanity, not losing it even more
still having trouble getting rclone to copy or sync from local to remote
i think the host server is misbehaving
rclone worked great for me when i was removing everything from my onedrive and wiping the whole thing
and then it didnt work at all for google drive
so i have 50/50 success with it
host cerber?
cerba
srba
srb
srbska
i appear to still be doing it wrong
the formatting of this is something
fields are declared in the struct/class body, not the constructor
ah
the constructor is for code that runs, field declarations arent code that runs (well they partially are but thats a story for another day)
fields are just a list of what the struct/class contains
since the compiler has to know the struct/class layout before it can do anything with it
Yep, sounds like file explorer to me


https://www.youtube.com/shorts/9NVrz_pu4k8
when we putting ai in one of these?
My son and myself put together 24 robosapiens to dance, great fun! it was interesting that it worked as had tried outside with 30 on the drive which all went all over the place as well as not in sync!
Wtf?
I never thought I would see an ai commit seppuku
white_screen.png
ye basicly that
oowie

decided a less cursed solution was best, it's working now 
Nooo, I wanna see the cursed solution
cursed solution was:
local to docker container running minio s3 then from minio s3 to local filesystem on server, then local filesystem to cloud storage s3
current solution:
local to local filesystem on server via smb then local filesystem to cloud storage s3
currently running the first cold upload to local backup store, will mean i leave my machine running overnight
its beautifull
im trying to cook audio inhouse so i dont need to find yt videos with cooked audio
basicly im just throwing random things in apo at the audio
Use audacity/tenacity and increase volume over 100%. Add noise. Clip it. Go wild
Also, I just wanna share this great article about writing userspace usb driver in rust
I wonder if Explorer was also responsible for my Windows destructing and Win11 got the same downgrade
w elove win fiel explorer
if anything freezes I just restart explorer
We love it indeed
It has zero issues working
If I were to transpose how I do "art" into audio, this would not be considered distorted enough for my tastes.
Honestly, sounds fun to do some distortion, but overprojecting
im trying to make it more distorted but its jsut going silent if i overdo it
Every 3-4 effects do an amply, I usually have to reanchor after that many.
Silly
Reminds me of when I garbled some audio samples for the last game jam
Or apply the orginal at a fraction
For intentional distorting at competitive level (real), I like to abstract the effect's intended purpose from what it does. Granted it takes a long time to do that if your not used to thinking like that.
One new graphics card later and after some adjustments (because different drivers behave differently in weird ways) I finally finished CSM. It even comes with the tell-tale transition artefacts between csm layers 
-# This took way longer than it should and to whomever it concerns, don't accidently enable anisotropic filtering on your shadow map sampler and chase weird bugs the better part of a week.
I keep forgetting the programming channel is also used for non-programming stuff
Somewhere like 2 years ago there was a poll for the name and it ended up like this IIRC
*punchcards
anyways I need to figure out how to make this require unique items per array slot
so for example if the first slot is EnvEnums.Workspace then the second can't be EnvEnums.Workspace, has to be EnvEnums.UI or EnvEnums.Web
thing is writing code with punchcards is the original inception of programming therefore the current channel name would include it anyways
It's easy to outcast them, so it is good to make sure they feel included
(emoji disappeared so typing it out) neuroHesRight
Free "beginner" project idea, listen for a keyboard shortcut and pop up a window. Enter in a string, the string is tiled until it reaches a char limit defined in the config file. The resulting string is copied to the system keyboard and the window fricks off.
Listening to neuro karaoke and thought about the twitch chat.
@nocturne olive out of not really curiosity, how much yapping would I need for an "acceptable" RVC model?
function makeRunEnvs<
F extends EnvEnums,
S extends Exclude<EnvEnums, F>,
T extends Exclude<EnvEnums, F | S>
>(
...tuple: [F] | [F, S] | [F, S, T]
): typeof tuple {
return tuple;
}
something like this?
It depends on quality, but I've heard numbers as low as 10 minutes
But for better data quality I'd go for something closer to 30-60 minutes
Alrighty, was considering self cloning for fun so those seem like decently attainable numbers.
You do need a decently good GPU to get good batch size
12GB VRAM gives you around 16 batch size
Or on the latest version of Applio potentially as high as 22 batch size
I got 24GB VRAM card that I can use, granted it'll be slow as balls but I don't mind waiting a bit.
I mean, it would be boring if all we ever discuss is the programming and not the technology surrounding it
P40?
Yeah, I can get one or two of them working atm, 4 in the future. Bandwidth is not going to be the best so I'm not counting on multi gpu training.
The compute on those things sucks, definitely gonna be compute limited rather than memory limited
Like this?
https://github.com/mindverse/Second-Me
110% but it is what I got to work with
enum EnvEnums {
UI = "UI (Client)",
Workspace = "Workspace (Server)",
Web = "Web (Browser)",
}
type _Permutate<T, U = T> = U extends unknown
? [U] | [U, ..._Permutate<T, Exclude<T, U>>]
: never;
// @ts-expect-error It's fiiiiiiine
export type RunEnvsArray = _Permutate<EnvEnums>;
typescript my beloved (there's like 380 parts of this union)
The reason I want 3090s is because they have 24GB VRAM, great bandwidth, compute comparable to what I have now and can be paired up to double their effectiveness
I was wondering how to do that in a .d.ts file, but I think enforcing it at runtime also works
Just annoying that they're so pricy
yeah you may as well just check at runtime
Yeah they are stupidly pricey, I could sell all 4 and only get a single 3090.
For more type gymnastic, maybe check type-fest
You don't have to add it as dependency, you can also just copy-paste the implmenetation
For large model inference, 4x P40 will be better, but for training 3090 will be able to use gradient accumulation to simulate comparable batch sizes waaaaaaayyyyyyyyyyyyyy faster
playing with the typescript type system is fun 
Nah, just the voice cloning is all I need. I'd rather build my own AI tooling for various needs.
Applio is all you need for a simple RVC voice clone
You could even include both singing and speaking to get a more flexible model
Indeed. The things that it could do...
https://github.com/MichiganTypeScript/typescript-types-only-wasm-runtime there's this banger
I'm not denying that, I'm just saying it's what I have. I'm fully aware it'll be slow as balls.
I really hope I can figure out a way to fund at least a single 3090 with how much of a pain dealing with the iGPU is on Linux
Still haven't got Firefox onto it
My god this repo is just a gateway to another crime
EDM
Ideally this is BEFORE the video

edm cooks the audio better
put money machine over it
iirc it’s that very loud song last dev stream
last one jn the intro
At least one random bwaa as well
?
programming war crimes now that I read it a bit
ok
Programing AI in a language other than Python is no fun, but I'd rather have the blazingly fast speeds of a compiled language for something I know is going to benefit from every ounce of performance -_-
the shitpost budget is only growing
i think i'm just never going to turn on audio on your videos again
Ditch compiler altogether, make you own custom hardware
Lmao
as it should 
If I am successful, then maybe, but let me program something that works first lol
Come and learn Verilog or VHDL with me
i like how everything is 2x as loud on my end cuz discord actualyl makes it quiter
AIGAIN, HEADPHONE WARNING
Lol, after I learn GO enough to make a working network, then I'll look into it
Theres a version covered by neuro
nah it’s good this is very peak
But why?
idk, its 4am. shitpost time
it’s also already garbled to shitpost levels
Lol, fair enough ig
palate cleanser
Do you actually need the python performance? What intense things are you doing inside python that that would be an issue?
yeah it's called sleep
you wanted this, you shall receive
Give us spinning 144p tutel with funky town 🥺
There is already a tutel spinning with funky town, just needs to be 144p
boo cobalt won’t let me download yt videos
bruh
so no cooked audio? only low bitrate?
I'm assuming also cooked audio
is very low bitrate audio a form of cooking?
idk
you are preparing ingredients to make a product worthy of consumption
sounds like cooking to me
slightly loud for 3:40am 
masterpiece
at 10% volume it's still a bit loud holy
this is art
the best low quality funky town i have is this one
perfect
I assume you mean "do I need compiled performance?", and to answer that question I would simply say that I think its silly that Python is the default option for AI considering how much is actually happening in those networks, or well, I know why they use it, its easier, but I'm trying to make something more performant and scalable
shoudl i make another one? i feel like at this rate its jsut gonna become annoying
you're aware none of the actual math heavy computation runs in python land right
What I am saying is, all the hard work is done in libs that are compiled anyways. Most python AI programs consist of 1. Load data 2. Let library do work
yep
you're gpu limited anyways
or you shoudl be at least, otherwise you have a major problem
Yes, but its hard to explain why what I'm specifically doing would require that a lot of math be done CPU side so the language performance for my model idea does actually matter
that's fine, doesn't mean it has to be run as interpreted python
Look into cython or cpython
Ya, well, tbf, even if I did use Python, I'd need to rewrite a lot of those libs anyway for this particular project, so IG what I'm saying is that doing things from scratch is hard lol
Some of the libs that are out there could have been used though, but meh, still feel like GO is the better choice in this particular situation
Oh right, I forgot you can actually compile Python
You have unlocked new role
i was mainly talking about c extensions but i suppose some implementations you can compile too
Well, fuck it, I'm already well over 1k lines and I know GO better so
Oh, ya, I suppose there's that too
Let the yapping begin, my throat hurts because that is a lot lower and higher than my voice normally goes
I'm just reading from https://discord.com/channels/574720535888396288/1337733692709146674 as vocal
Quite silly
idk either so I recommend coin flip
Once you're done with it try to reduce empty space and noise
Leave some pure emptyness for the model to deal with though
I figured that was a step that was needed, I started 400 msgs back from the thread so I'm going until I catch up. And that thread is as popular as a text channel
Silly
I would have done programming, but entire essays exist over there so better for it anyways. Plus I get to look into that thread, it has been a bit.
Good stuff
At this rate you can get a training run going quite soon
Then just throw a bunch of batch size at it and let it go to like 60-100 epochs and you're done
Though you could try going higher, just make sure you save every 10 or so epochs so you can then test for the best model
If you'd like some good test files I can help with getting you that
gn sam 
That'd be appreciated yeah, I'll wait for the audio first. I'm only 50ish messages left on the thread but my throat should not be destroyed.
Silly
I probably still have some NeuroSynth test files lying around, though I don't know how suitable exactly that would be for your voice
It'd probably not be close at all
Especially because the voice will be intentionally scratchy
If there's a gender difference you can just -12 in the inference pitch
I don't think that is the issue but yeah
RVC is surprisingly flexible at times, we'll see
Our test files are usually quite easy to pass
Hm, that's gonna be a very interesting one to see
You're gonna need some crazy good data with very consistent sound profiles to make it sound good after RVC, otherwise a vocal synthesizer might be the only way to go
I'm gifted enough to be consistent and have entry level audio equipment
This will be particularly intersting for me considering how much audio model stuff I do
Exactly why I asked
I kinda want to know what it ends up sounding like
Will do
If you need help setting up Applio or with training configs or anything else, let me know
I'll be sure to do so
I should say, this is not merging two. I can just do this raw in my vocalcords.
Voice is too dead, I'll just work on cleaning the current
ik it'll be over 10 minutes at least so I'm at the starting line.
Try to aim for 30-60min as I said, though if you're trying to have some intentional noise profile you should get as much good data for that as possible
I'm just taking a break, I tried going for as long as I can for this session
Voice isn't voicing anymore
Will be exceptionally interesting to see what you come up with for dataset
I'll see what part 1's time ends up coming to. It was about 16:30 when I started, so I'll see how much empty will end up being removed.
I'm glad I can speak, just locked out of that one for a bit
By the way, if you want I can also try my hand at the dataset later after your attempt
I need something to figure out how Applio on Linux compares anyway
It'd be fun to see how far it goes
It'll be very interesting indeed
If the model turns out flexible it would be funny to make a synthetic vocal synthesizer dataset
If one wants a flexible model I'd just yap normally
My pitch normally is on a pendulum
vocaloid iggly
I also can't voice crack because it is just that normal that even if it exists it would just be normal tuesday 
vocaloid would go hard
We will see what happens, it would be funny if your random voice became a well known vocal synthesizer with original songs and stuff
I wonder if I can just yap into the RVC and it'd be considered decent data? Probably not but it would be a lot closer than someone else doing it.
I guess it's valid, though adding singing would of course improve sinigng performance
The voice normally is hell on my body, singing is going to be even worse. It'll be interesting for sure.
not even 20 minutes speaking
Just pick some short songs with a lot of pitch and phoneme variance
teto reboot? 🔥
no 🔥
we'll see
NeuroSynth is the one I'm currently most excited about, it's already proving very promising
The issue is that I can normally yap for hours
so it is that intense on my vocals
DO NOT CRASH OUT BEFORE I CAN SAVE PLEASE LINUX
I do not know what audacity was smoking, but the entire system locked up twice. Something I thought wasn't possible.
And that's why one gets muscle memory to spam save
I lost keyboard input, that's how bad it was
From 20 minutes down to 16 removing void parts, didn't do too much grading on the audio itself.
Note to self for next time is to actually merge the sections before removing stuff
At some point you'll want to remove noise and if there's any segments of audio that sound like bad data
I was in a quiet room so it's minimal, bad data I'll have to listen through and remove a bit.
For any silence you leave (make sure to leave at least some so the model learns how to do silence) try to do the select > create > silence thing to make it pure silence
Probably got rid of too much silence, but I got a bit more data to add to the dataset.
You can add more silence later if you want, it's not really a big deal
Yeah I'm not stressing over it, just noting it for later
Well, I'm gonna sleep
If you need any help with the dataset, feel free to DM me whenever and I'll respond as soon as I have time
Tomorrow will be day 3 of setting up Linux Mint after Windows decided to die
Main point: HTTPS certificates
is there anything better than a tub of frozen mashed raspberries
I have added a save/load System for drawings in my art program, still should really work on my brush system though as it would be a pain to draw anything sizable.(also need to be able to delete drawings but that surely won't be difficult)
I built these abstractions that called "knots" (= nodes) that have assignable neighbors, assignable transition probabilities and assignable targets.
As an example, I use one network to decide the chords + root for the synths (left) and another network for chopped amen breaks (right).
I sequence the drum network to re-trigger the kick on every f...

Peak AI behavior
Is the editor open source?
depends on framework and gpu
Sounds like you ran out of ram, id recommend adding some swap
wait what
Love the .cpp) files
In this video I discuss how several countries in europe are switching various public services (EMS, county records, etc) to use free and open source software like Libreoffice, Thunderbird, Linux, and more.
My merch is available at
https://based.win/
Subscribe to me on Odysee.com
https://odysee.com/@AlphaNerd:8
₿💰💵💲Help Support the ...
call when US government dumps it, otherwise it's another nothingburger
what?
it will take them 10 years to migrate way from microsoft products
that's cool, rarely does anything non-english influence programming language i feel like
There is a lot of non-english influence in the whimsical realm of OS's that are in use on merchant vessels
Will be a maritime mechanical engineer and if I want to advance to Chief Engineer in the future I will have to learn how to manhandle those
nice pretraining speed
Not really, Denmark is rolling out Linux and other FOSS applications by August (First Half) and By October (Second Half)
so much for taking 10 years, huh?
we will see about when that one is complete
Switzerland already made the switch, and several European Public Sectors have already done the switch too.
France's Police for example: they got so upset that Windows XP got discontinued that they made their own linux distro.
2008 - The decision is made to migrate to Ubuntu on 90% of the Gendarmerie's computers by 2016.
Early June 2019 - 90% of workstations running GendBuntu
ok sorry, its 11 years
my bad
you're just mad that microsoft is getting what it fucking deserves
no, I am for the switch just against clickbait thats acting as if the microsoft endtimes is nigh
Clickbait is literally everywhere, this is why dearrow was invented
just use pattern recognition, it makes clickbait ineffective :)
FINNALY ITS WORKING
So I work on government and I like linux, but honestly aside from reducing dependence on Microsoft I can't see much reason to move to Linux
- most devices are thin clients now, the performance difference is minimal
- windows actually historically had had longer support than Ubuntu, 12 years on XP and 14 on win7
- the security improvements aren't the biggest deal when your primary vulnerability is social engineering
- Microsoft has better custom support just because of size
- people are tech illiterate, sticking to windows does help, even if you think they're dumb
- there's so much custom tooling that would have to be migrated
The Only real argument I can see is cost but you could also end up hiring more SWEs to fix the above stuff like tooling and support which might not be worth it
For servers many should be linix already though, though could probably migrate more over if they haven't
from the perspective of someone who's been dealing with EDR endpoints and observing IR cases over the years I can tell you Windows is significantly better at providing toolings and APIs for pinpointing threats than Linux
There are also government affiliated agencies that are related to governments that are not very good friends with US government. Using Linux is a pretty important layer of cybersecurity for those
That is fair
But until recently, even China was using Windows for government applications and still migrating
same with russia, migrating recently
In this video I discuss how several countries in europe are switching various public services (EMS, county records, etc) to use free and open source software like Libreoffice, Thunderbird, Linux, and more.
My merch is available at
https://based.win/
Subscribe to me on Odysee.com
https://odysee.com/@AlphaNerd:8
₿💰💵💲Help Support the ...
Don't know about less secretive departments, but russian intelligence and counter-intelligence services use astra linux since at least 2019. Maybe even before that, but I am not sure
2019 is recent in my eyes
I mean, fair

2019 was the happiest year of my life
if you want business level support there isnt a lot out there. Redhat is usa based, canonical is british which is almost as bad
To be fair, for a government that is indeed recent
6 years is like, the blink of an eye for government work
Bathroom break
idk what to do should i start working on a discord bot
You should cook dinner
What effect does this potion give
Speed buff mainly as it contains lots of spice and capsaicin
i suggest about a ai bot filter that prevents by passing the filter using any other language then they laughed at me 
Fire resistance then (through exposure)
like what ever the fuck i suggest i just get shit on
Because the data it needs is enormous. I don't think there exists a toxic dataset with all possible combination of insult/toxicity
Yea
running the first cold backup takes so long
yeah my ideas are really stupid and shit i hate my life
You could help me create a bot to somehow bridge discord dicussion into github
esp since for some reason SMB is refusing to use like 90% of this network's capability
oh
What if you add every single possible alternative for english letters in the form of symbols from other languages? English has 26 letters and there are like 10 variants for each on average I estimate. What if you check symbol by symbol?
Super Mario Bros 
i once made an url scanner code uisng chat gpt api and when i showcased the idea it got rejected like they said its pointless and then i told them it can be used to check if the link is safe tho

and then they said its shit on me
i mean the SMB file transfer software, also known as Samba
how do yall think of my idea pretty bad?
Could you open more ports to try and increase the speed?
That can be used to generate the dataset yes. But doing comparison to that data itself will be a huge computation. Usually simple filter use what-is-that-distance-name
Basically the similarity of words by symbols alone
Hamming distance? Euclidean ditance?
yea i did try this didn't work
Maybe hamming, but there is something more specific
if given a list i can open the ports locally, but i have no intention of opening SMB ports outside of the local network
cosine similarity?
In information theory, linguistics, and computer science, the Levenshtein distance is a string metric for measuring the difference between two sequences. The Levenshtein distance between two words is the minimum number of single-character edits (insertions, deletions or substitutions) required to change one word into the other. It is named after...
like i always wanted to make a fps game about a girl being a cook who hunts for demonic ingredients to make special high paying food
then they said its a shit idea
cooking game with fps
Monster hunter is a shit game then and so is Zelda
fps not open world
and in a ultrakill and mixed with doom style
they said its a shit idea
I think you should just go for it. Let the world judge it after its finished later
If there are two different game loops, like hunting and cooking it can be fun
I have an idea of a roguelike rpg that revolves around passive skills. Like your stats can't be changed, but you can acquire skills that alter stats in some way, or make them influence your damage output or resistance in some way
I really like passive skills
As a concept
yeah but i wanted to make a cooking game but to get this is where the fps is in a ultrakill and doom way
how do you even
a cooking fps?
Oh, I just shared my idea of a game. Not related to yours, I like yours. Just thought it's sharing time and shared mine
dude's making kitchen gun into a game
Two game loops? Like hunting phase, return to base, cooking phase for example
i can see that
Extraction shooter template works with that concept I feel like
yes thats the idea
breaking into a building and shooting everyone to steal a bag of rice for dinner
yes it would be funny like you would have kill a demon god too cook its meat
but you get payed a lot for your dishes
Imagine like caring a huge corpse of a monster back to base, cause you need it for cooking and now your speed is 10% of what it usually is and you still need to dodge and kill pesky low-level mobs swarming you
might work better as a post-apocalyptic setting with the difference between the fps and the cooking parts exaggerated for comedic effect
Like dragging a fat insect-hive queen while her children are enraged attacking you
yeah but here the twist she the diagther of a fallen god who living normal life as a cook and found a special dish boook
cozy little cooking game and then literal hell to pick up groceries and then back to cozy little cooking game
interesting
I've been learining English for 16 years at this point and I never heard the word diagther. 100 years you live, 100 years you learn
she the daughter of hades but she gets EXILED to the modern humman world end up as regular cook
typo of daughter
Oh
fast typing
lmao
I thought it was some synonym to descendant
synonym
English not my main language and i type to fast
Same, English is my third
honestly any thought's on the concept?
I like it
could work
mixing cooking with fps would be some good idea
@grokk is that a good concept?
@grok i have a question
you cant ping grok on discord😭
@t2 i have a question
you get one question.
@stray dragon ngl gotta ask, why the 9900X with a RX 6600XT? You using it mainly as a productivity machine or?
minecraft servers
the most i play is modded minecraft recently
the gpu simply does not matter
i do host minecraft servers though
and those run single-core
so single-core speed is VERY important
9900x seemed like a good option for that
to be honest the idea wont get out of my head
Just make a computer more powerful than yours in applied energistics and game on it, easy
ok now what
the setup only eats 140 watts on average with all the servers running
"only" it used to eat 70 watts before i upgraded the cpu lmao
And the energy for it both irl and in game is generated by, you guessed it, boiling water
hydro engineering
Boilers and heating contours are my specialty irl
Also diesel engines
But for now mosly boilers
My favorite part is sitting in the control room next to engine room for 8 hours during night shift and having auditory hallucinations due to constant brain-numbing noise
all roads lead to boiling water
Or orange crayons
Hi
I am actually looking to develop a vtuber .
Can anyone guide me
AIVT? Tip: don't
If you're just gonna make another LLM AIVT there's no point, Neuro saturates the market
except photovoltaic and thermoelectric
and hydroelectric
...and wind
........and gas
4 roads lead to water
there
I mean, to be fair, same thing could have been said about vocaloids. Miku saturates the market, there is no point
I mean gas powered powerplants use it to boil water
actually i retract that, gas uses a secondary steam turbine to use the waste heat
yeah
5 roads lead to water
Silly
I was honestly amazed when I learned all layers of utilization of "waste energy" of vessels. It's almost a closed system
since they are in voyage for months at a time fuel efficiency is peak
yeah it was really interesting when i first heard about district heating
so many ways to use waste heat
also this is also technically caused by water boiling/evaporating and then depositing on higher altitudes
check mate
damn it you're RIGHT
what about pumped storage hydroelectric though.
I mean that's storage not generation
it is storage and generation
Day 3 of setting up Linux Mint after Windows died: HTTPS certificates and autoruns
You wouldn't count batteries as a generation method
What energy do pumps operate on?
you're just converting it
pumped storage hydroelectricity uses surplus electricity to pump water into a storage basin uphill, and then uses that water to run turbines when demand is high
they just run on electricity
well, using the word "generating" to mean converting energy to a form usable by us
whatever i'm not debating language you win
Even if you put 100 people in comically large hamster wheel it will still partially run on water because metabolism
ahahahahaha
facts
yeah but it's not boiling water that runs them
I mean, yeah
Hydro powerplants use regular water too
Geothermal ones use hot water, but not boiling water
So it's like a gradient
UUUuuuuhhh...
Thermal couple 
Evaporation apparently. Water doesn't need to boil to release steam that has enough pressure to be used in electricity generation
interesting
Technically speaking the term boil refers to the fact that water turns into steam no?
Oh right, it's not
I forgot
Also water pressure and boiling are weird, cause some geothermal powerplants use water that is above 180C, but is not boiling, and then depressurize it tomake it flash-boil
I can speak about this topic much more freely in native language, but my knowledge of scientific english terminology nerfs me a lot
So, ugh, heat water thingy turbine vroom
Yeah, all roads lead to moving electron/magnetic field somehow
There is also dry steam, saturated steam and a bunch of niche terms for all the flavors inbetween
oh there's also binary cycle
water is used to carry heat and then boils a refrigerant to produce the high-pressure gas that goes through a turbine
When the topic of conversation is in your field of expertise, but language barrier steals your 2 minutes of smart 
But I do wonder, don't they usually teach technical term in english everywhere?
At least my college did
Depending on the field it can vary. In computer science you will learn everything in english directly because yeah
In my field I MUST eventually know all terminology in English, but I learn how this whole thing works in my language first and then vocab is trained through association
Cause if you don't know what translation means what is the point of knowing it
And I am only on my second year, cut me some slack, ok :(
Oh you haven't finished higher ed yet. Yeah, that's normal then. Usually my college also place the english/international standard at the end
I mean, I do know some stuff. I am actually considered the best in terms of English level in my year and guys who are third year or even 4th year sometimes come to me for English related questions
But when you are in English-speaking environment this title doesn't mean anything
I also teach kids English as a side hustle, so I have a good grasp on the basics and how to explain language related stuff to others
exam tomorrow and I have yet to unpack my bag for revision stuff
at least the first exam is geography which is mostly common sense
that's not wrong tho
there's been dozens of vocaloids since but people overall are most attached to miku, and her generation 
"sound of the future" vs idk some new flavor of voice synth with marginal better this or that than v4 was
Depends on your goals I guess. If you intend to make money on vocaloid - highly unlikely. If you want to make one as a personal project - why not? Same with AI vtubers
yeah anything goes as a personal project
it's just that if i didn't intend actual viewership, i'd just call it an assistant or gaming friend or such, not a vtuber 
so it feels like viewership is intended
Im making a text-based fishing gacha game for example to learn coding. I don't think you can come up with a game idea dumber that this. But it's fun. And painful. And fun!
do you fish the lootboxes that give you better fishing gear and making you a better fisherman
I mean, there are so many paths you can take with this, that Vedal won't be able to implement them all in 8 lifetimes. there is always something different you can come up with and make niche for yourself
For now its "catch" to catch a random fish, collection to see collection. Later I will add fish editions, like shiny, holographic or something like that (definitely didnt steal an idea from balatro), color and size. then I might learn how code in the realm of internet works and make a discord bot out of it maybe
Like this is my whole ""game"" for now
i just like to think of this as "crushing dreams as advice"
someone walks up to you with starry eyes asking for guidance, clearly absorbed in some kind of image of the future where something is so great and so cool, lots of details are missing but are filled with the magic brush making it even cooler. it's sort of my job to yoink them straight into a (somewhat gentle) trial by fire to see if they really want it, if they know what they're wishing for, and such. generally the part that the genie asking for your 3 wishes will neglect doing
"just wanna practice" is always the magic word because that can always be done
but people who are attached to the dreamy result and not the journey often need "are you sure" and "why not" type of advice more than they need "start here"
I can't help but wonder how much money Vedal spends on maintaining Neuro's operation. I am not speaking of projects lile concert or merch, but the AI cluster itself
this is just like irl fishing
Add 0.1% probability of catch command working and clean collection every 3 days and it's on point
yeah especially considering how many tools there are in the background
iirc he mentioned there being 3 different filters and 2 of those are AI services meaning some company hangs off some profit
Also training is out of the equation, cause its a whole different beast. Just regular test and stream runs
i'm not into the whole thing (for lack of hardware and time to mess around to learn) to be sure, but from what other people seem to say about this or that model bing this smart, that smart, this fast, that fast, i'm sure they need more than "two good gamer PCs" worth of power even for inference - especially to do it so fast and also be kind of interruptible
then their vision, gaming stuff, etc etc
also idk how their memory exactly relates
like is there a big preexisting model, fine tuned with a memory wrapper 
like do they read a context of 500 or 5000 pages every time before they open their mouth
how layered all that is, whether they can choose to go deeper this way or that way
that's probably the most interesting part
of which vedal does not talk about for a reason 
Maybe they make a memory call only if they need to? And they kinda cascade. 10 pages read - no relevant data, reading more, 100 pages, no relevant data, reading more
I have no idea
I started coding 3 days ago
God I have to read how to make hashmaps now, oh the misery
And then bossfight with serde dependency
neuro almost certainly runs on a cloud h100/h200
not like it's 10pm for some
i love when this happens
At least you know you fucked up on your side
Yay, Sam is here. Can't wait to see what shenanigans you'll up to
btw scadu-sama
how hard would you say is it to split them like
make neuro run on 3 of those
good old times when stuff would just not load
not hard
This chat is frying my brain
Welcome to #programming
250 messages in 2 days? zamn
i have decided that my temple will be made of bricks
what specs does neurosama run on
Check twitch bio of Vedal987
They are all listed there :)
Ok, can somebody explain the logic behind this? I am working on catching function to make it actually work and output a variant of an enum. It threw a tantrum about mismatching types (other functions of a match just print "thing will be here" for the purpose of testing). I disable other functions with //. It still complaints about mismatched types. Why? There are literally no other types
Oh, I need to make a fishie randomizer a separate function and make catch command output a string of text that would be the same as the output of a randomizer?
Try to put a semicolon at the end of the match closing bracket (})
Unless you intent to return the result
I have never seen this error before. I feel like it would be more clear if I screenshot the whole thing
the whole thing
I forgot rust, let me check brb
I feel like I need to make all match arms output println and just make randomizer a different function instead of making it an inbuilt part of catch command
I do when all arms are enabled, but when they are it complains about mismatched types
So the solution is
But this is a valuable piece of info for the future, thanks
you need to do that always
its not optional
if you dont want to match all cases use an if instead of a match
because catch_function returns Fishie while println! and collection_function both return ()
the return type for all branches in a match has to be the same
Wait, don't use match for the conditional in this case. You want the return to be different for the different function right?
This I understood from compiler error and the second error that was unclear to me now makes sense thanks to tsurai
Use if-else for this
if-else does the exact same thing though
No
What do you guys think of this solution
Would love to hear feedback on it
if-else has no requirement that each case must have the same return type
Oh shit it does yes
it does yes. You just usually dont notice it because you terminate everything with ; unless you want to use let a = if ...
So... randomizer is separate, catch function reads it's output and prints the same stuff put through println, my code is happy everything works?
as an easy fix you can replace catch_function() with { catch_function(); }
that will make that branch return () (same as the others)
Or you could also make it an if-else to be more familiar like other language. Just make sure you don't forget the semicolon
S-tier glm functions
this is everything ive ever wanted
Oh shit that actually works. I understand like 40% of the reason why, but I will ponder this question later. Thanks
Without the bracket, you are saying "the return value of the function catch_function is being used". With bracket, you basically said "do something inside this bracket. It may or may not return something". And when you end the catch_function(); with a semicolon, the return value is just discarded

I used autoformatting and rust fucked up the code
Rare Sam W
Rare?
im always winning
Ok, I might be tired and tweaking, but this should not return "argument never used" error. Values die after the curly, those two in one curly and this is like very basic scope and must work. Am I stupid?
The catch part
Where red swirly line
String type? Idk rust but that looks like java stuff
Is it some weird function nesting quirk that I didn't learn yet?
I mean, I am unwrapping the output of fish randomizer
no, it's just how the println!() macro works
you never use any argument in the "You caught:" string, so it doesn't expect any to be present
Utilities for formatting and printing Strings.
sometimes i wonder how illegal the syntax im doing is
How does one configure Nginx to take HTTP stuff from one port and using some Certbot certificates HTTPS it out another port?
If the compiler doesn't complain, its not illegal lol
it sure does
Cursed maybe
Because apparently that works better on Linux than having the software itself handle the HTTPS part
So Request in HTTP -> NginX -> some other service?
(trying to use the software's own HTTPS mode just throws a permission denied)
The requesting side should be communicating HTTPS, the service side is HTTP
An external application sends a request to a port on my server to a https:// and so on address, then the Nginx thing handles giving that to the backend which is running in HTTP mode, gets the result and sends it back as a response to the request
Do you feel confident in container technology like Docker?
Alright, then my best advice is just look at the example config on default nginx install. Should be at /etc/nginx/sites-available/something-something.conf
The certificate management can be done by ACME.sh
That is called reverse proxy configuration with TLS termination
The certificates already exist on the filesystem from CertBot
I just need Nginx to add them to the outgoing side of the server
Off the top of my head, you need to configure it's listening port and put mod_ssl on port 443, then on the listen directive you do something like proxy_pass [target service]
It should be on the proxy_pass docs then
The outfacing port needs to be 8727
this is the type of thing you can ask an LLM for tbh if you don't want to learn nginx configuration
it'll probably give you a working config in seconds 
Yeah then you just change the listen directive to use 8727
Hmm, true. Then you can ask here if there's anything amiss
It sounds like you probably want something like this in your default.conf file for nginx
server {
listen 8727 ssl;
ssl_certificate <PATH TO fullchain.pem>;
ssl_certificate_key <PATH TO privkey.pem>;
server_name example.com;
location / {
proxy_pass http://<ADDRESS YOU'RE SENDING THE REQUEST TO>:80;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
This is basically exactly what I use for my reverse proxy, except I use listen 443 ssl; instead
I'm gonna guess I can change this 80 to anything I need
Yeah I assumed you wanted to forward to port 80 on the server you wanted
but if not then you can change to whatever
Also later I'm gonna need a second one of these with a different pair of ports (though outgoing is the more standard 443)
But I need to rewrite that part to allow for a HTTP running mode first so that'll be a while
If I understood what you wanted correctly, you can copy the same server{} block again in the default.conf file and just change the ports accordingly
Yeah the best practice is having separate config for separate domain
All of this is happening on the same single server
I don't have the money for more servers
Yes and? It doesn't have anything to do with where the software is run. You can point 2 domain to the same IP just fine
I don't have more than one domain either
listen 8727 ssl; line tells NginX to listen on port 8727 and it must be SSL.
proxy_pass http://<ADDRESS YOU'RE SENDING THE REQUEST TO>:80; is where the magic happen. After processing the request and perform the matching from location, nginx will forward the request to the listener defined from proxy_pass
If you don't want to listen HTTPS, then remove the ssl line
so listen <PORT_NUM>
And a config file can contain more than one of those?
One server can contain multiple listen. It just means the port are processed the same way. One config file can contain more than one server too. It's just that usually splitting it is recommended for different service
yeah, but if you want accessing your server at port 8727 (https://example.com:8727) to open e.g. google.com and want port 443 (https://example.com) to forward to e.g. youtube.com those need to be in different server blocks I'm pretty sure
Now I just need to wait a while to get a Linux client to test if the thing works
basically a shortened example:
server {
listen 8727 ssl;
listen 443 ssl;
...
location /youtube {
proxy_pass https://youtube.com:443;
...
}
location /google{
proxy_pass https://google.com:443;
...
}
}
This variant will result in you having to open https://example.com/youtube.com to access youtube (you could also use https://example.com:8727/youtube), whilst this example:
server {
listen 8727 ssl;
...
location /{
proxy_pass https://youtube.com:443;
...
}
}
server {
listen 443 ssl;
...
location /{
proxy_pass https://google.com:443;
...
}
}
Will result in you having to open https://example.com:8727 if you want to access youtube
Another tip, you might actually want to use subdomains depending on what you're trying to achieve instead of different ports
Indeed, that is because the catch all location / will proxy_pass it to just one service
e.g. you could make youtube.example.com redirect to youtube and google.example.com to redirect to google
Well, I'm just trying to get HTTPS to work
It's just day 3 of me setting up Linux
In that case these configs should just work for that
So, I looked into it, and IF I UNDERSTOOD IT CORRECTLY fmt::Display does not support custom data types. And variants on an enum are custom data types. So I looked up how to display those. Found shit called strum and now my functions just refuse to work. I promise, it's the last time I bother you today with my shit
I will try to do that again
But it disabled those two functions too
The last time I did
#[derive(Debug)]
enum Foo {
Bar,
Baz,
}
fn main() {
println!("{:?}", Foo::Bar);
}
npm == cargo slander was real 😭
fmt::Display does not support custom data types
it does, it just isn't automatically implemented by a derive macro
you can manually implement the trait though (or, if you really want to usestrum, you can skip all the#[strum(to_string = "")]macros)
car go vrrooom 
it's slightly more organized and less of a mess 
its crazy that I've never heard of or seen strum in my dependencies and yet it has 200 million downloads which is wild
i have never used it
its always derive Debug and then if i need more finegrained, impl Format
I swear its only used by ppl who dont want to actually use Rust and just want wrappers around it to make it act more like whatever they know

it can very rarely be useful, but it's just convenience (which apparently many people like, who would've guessed)
usually it's better to avoid the dependency and just implement the one trait you need manually 
to most people that switch to rust from other languages it's usually always "safer c++" or "super fast langauge" or "trendy language"
the em dash of dependencies
Why do you guys seems to be against dependency? Strum is small enough functionally no?
npm
it's because it's so small that it's not worth depending on
you can just add the one function you need instead of adding a dependency on a whole crate
Ok, to hell with strum. My task is to manually implement fmt::Display onto enum without using "use" keyword. Did I understand that correctly?
My counter point would be why must you rewrite something over and over again? And it's not like all of the code is shipped like npm anyway no?
It is a macro, its meant to be reused
it's not like all of the code is shipped like npm anyway
it is
why must you rewrite something over and over again
because it's easy
...did rust not perform dead code elimination?
you still have to download and compile the whole crate
And you still have to compile the code you write with the same functionality

Download is just adding another step
Ok, enough coding failures for today, Ill go kill something in helldivers. Thanks for help everyone
using strum means:
- downloading and compiling the proc macro support crates (tbf that's likely already present)
- downloading and compiling the strum proc macros
- downloading and compiling the actual
strumcrate - running those proc macros on every build, probably also confusing your LSP (and making your code more confusing because there's more behind-the-scenes magic)
using your own function means:
- compiling that function
it's bloat 
if you really need all of the functionality strum has, then yeah, use it
but generally you just need to have Display for an enum like in Mushrooms example 
when you have macros you often also have quote and syn and then those have their own depencenies and so on
bonus points if your dependencies use different versions of the same crate so you have to do shit twice
I don't know about this since I don't use rust as much, so this is a valid point then if syn and quote functionality is not "simple"
But also I wanted to ask, why does a macro dependencies in rust need those automatically?
you don't strictly need any of them
it's just that proc macros receive and emit tokens, and working with those directly tends to be difficult
Its complicaed isn't it...
you don't have to use syn if you want to write a parser to convert rust code into an ast yourself 
I see
we can't all have a perfect macro system as lisp that runs on like 10 lines of code
If there is a problem that you think should be common when using rust it is very likely that there is a solution that is not convoluted.
its always nicer when you can autogenerate some code
anyway the usual policy is, do what you want in binaries but dont pollute transitive dependencies if you're a library
on my speakers it sounds like a phone on loudspeaker across my room
It isn’t open source no, there are a bit too many issues with it at the moment and the file structure is a complete mess.
just finished redesigning my bots dashboard AGAIN. Svelte is fun.
Oh, I was hoping I could use it as a base to experiment something lol. I figured that earlier in the development cycle the code would not be too complicated still
What did you want to experiment? my computer is currently without a keyboard so it’s been a bit of a pain to write. The main clutter currently comes from a bunch of buttons having their own scripts that I have poorly named so it’s a bit of a mess to navigate.
can you not just derive from EnumStr or whatever it's called?
instead of manually giving each name manually
I was wondering how viable it is to make multi-user editor for art application. I was asked because an artist friend of mine said that currently no solution exists that allows multiple people to edit the same art-piece. So I need to know the data structure of the underlying canvas and see if it could be implemented with CRDT
It will be hard, yes. But I am still curious
figma exists and it's for sure 100x more complex
you dont need a crdt if you just use multiple layers
Does figma support brush and such? IIRC figma is vector only no?
if you dont use multiple layers i guess you would need a crdt for ordering but its not complicated, you dont have to do anything like operational transformations
Hmm, true. each user has their own layer could work too
yes that's why i said it's waaaay more complex
in rust, you can very easily derive debug
Display is not Debug
you did not understand it correctly, you have to impl fmt::Display for your type
Yeah it's why I wanted to see the underlying data type. I could just check out GIMP code, but I don't feel like trailblazing it
ik, but you get away with debug pretty often for displaying simple types
encode it with whatever lossless compression format is best for performance/bandwidth for frequent updates
if you have access to the underlying editor code thats very clearly not the optimal solution
or, well, just do that for sync frames, and for frequent updates just send the raw brush motion data
anyway all modern editors support undo/redo which is all that's needed for collaborative editing (and also consistent ordering)
So you're saying that the host will perform the operation from the peers/client? Yeah, that could work. I didn't think of that one
anyway theres plenty of proprietary solutions like https://magma.com/
no, i'm not saying that
Mint
i'm saying that xd
But I do curious chay, how would you approach it?
theres literally no problem in the first place
if you can undo/redo, that means you can store the operation and serialize it and apply it over the wire
all that's needed beyond that is, as i said, ordering
That's... sending the operation no?
i'm confused, at first you're not saying that, now you are
well, yes, it is, i'm just saying it's a feature that any modern image editor already supports
it's not saved as raw pixels
Ahh got it
it's saved as a specific operation with accompanying raw input data
it's not saved as raw pixels for the purposes of history in one session
when saving to disk it almost definitely is
But .psd file exist too
those do contain raw pixel data
If I have to guess, simple .zip of the original image and json serialized operation is enough tho
anyway thats just a super simple problem of how much history you want to preserve
i'm just afraid of bandwidth implications, most tablets are 100hz polling rate
???
or don't send them in real time ig
What does it have to do with it?
So what you guys are saying is that I should add an undo/redo.

I think operation data wouldn't even touch 200bytes
100 position+pressure pairs a second is at most 2.5kb a second
You can take a loot at markerjs. It's open source simple editor
true idk what i was thinking
if we're being extremely generous and using 64 bits for pressure and each coordinate
i wasn't thinking at all

Okay this is nice
https://web.drawpile.net/
meaningless
HTML files but the content is not HTML 

For all I know that file could contain c++ code
Just click start
it says <!DOCTYPE html> and everything -.-
It works regardless
it's html (mostly css but)
that does not matter in vscode, and not what the message says

Yeah, now I re-read it again its even more funny lol
i think the html lang features default ext just can't format at all
or something
i thought they all had some sort of formatting built in but maybe not
probably
I just test it on raw HTML, it could format just fine
i feel as though i've seen this drawpile thing before
but that might just be because it has the same interface as every other drawing application
🫧🧼🪩
wait a sec
I think it's because it's got some direct .tsx imports
I hope everyone's having a nice day
i think it can normally format but only like pure html like he was speculating
what do those imports look like
<script type="module" src="/index.tsx">
that does not matter in the slightest
i mean i didnt thik it was crazy
yeah
it's the only thing i can think of
is that it's like
that + css
and it just sees it and says nope
i have to recalibrate that it's you every time you change your name
but yeah idk it's literally like a boilerplate index.html
HTML language features said "idk man"
i say do this
i just reloaded the window 
that doesn't restart the extension backend
i figured it must've been some weirdness since this is a wsl remote but that has never caused this sort of thign before
i thought it did if it's a pure windows only vscode instance but if connected to a remote it obviously wouldn't reset the ext host
neither does this lol

hallo
This may be the last change
surely
Hmmmm
Shad fish, particularly the American shad, are anadromous fish found along the Atlantic coast of North America, known for their migratory behavior of swimming upstream to spawn in freshwater rivers. They are valued both as a sport fish and for their delicate flavor, often considered a delicacy.















