#programming
1 messages ¡ Page 38 of 1
when buying in china, especially electronics, you do need to be knowledgeable in the hardware you are buying
cuz i have seen scams
especially the half price ones
rule 5 when rule 5

i had the guy test it before buying it
i think thats good then
My usb feel inadequate, it's small and only 8gb lol, it's my dad's from work 
new Rust user detected
rust
why is print called println? why the ln?
also, why do i need to make the function shout with a ! each time?
Is the syntax fn main() {
they got him 
sam altman when he does not elaborate and just makes random hype pov
! means macro invocation, ln means line
because println prints a line
you can also do print!()
println! because it also appends a newline for you
print! is without the newline
i like them to be on the same level
its nice for showing indentation imo
your opinion is factually incorrect
Based 
well fuck you then
the correct opinion is whatever rustfmt does by default
-# (that means konii is right)
LMAO
yes 
Sadly...
dont care, mine looks pretty
at least you dont put the brackets and semicolons to the end of each line
they're both at the same indentation, it looks nice, it gives me my ocd fix
it gives me ocd
i think you'd loooove c# then 
consider this: the function signature also has the same indentation as the closing bracket if you put the opening bracket on the same line
i will be forced to learn C# in a few months anyways for my bachelor independent game production. so maybe
It also does with the bracket on another line, just with a line in between 
yeah, but then you unnecessarily waste a whole line on a single bracket 
you're saying words in programming language. idk what the fuck a signiture is
Can someone help me with ai stuff because it's difficult to find actual tutorials or proper documentation
Makes it less crowded 
the fn main() part
CODE BLUEEEEE GET THE CHAAAAAAAART
ALERT
look into stuff from andrej karpathy, he has some really good tutorials
@serene briar
I have already seen that chart
Already saw this 10 days ago
Where are you in the chart then
And yes I do qualify
vertical screenspace is precious, unnecessary empty lines are bad
I can agree that the closing bracket should have it's own line though, putting that on the same line as the function body is atrocious
Basically the name of the function and the list of the argument/parameter it accepts
Script swap removed a problematic script in convai and 0 errors in Unity.
On the final yes/no, I'm at No
To be fair I can agree with the empty lines making the whole things harder to read, so I understand the stance of the opening bracket being with the signature
In any case, my brain is C-rotted, I'll have to comply when I eventually do rust so I'll be able to weight the pros and cons of each approach 
I just want to make a small chatbot, only limitation is my hardware
Project Zelda is about to start working
breaking chains is noble work more people should do it 
i don't think i've ever seen a c/c++ style guide that puts opening brackets on their own line
brother use your scroll wheel, you have one for a reason
C has some interesting code styles too because they don't have an opinionated standard for it at all
though i'm sure they exist
@olive sable why is there not a yes option for the Are you ready to smash your head against a wall node?
ln because it prints a "\n" at the end
and ! because its a macro
its not a function
That's what's really funny, how everywhere I look there's a different style
I'm pretty sure some of those are trolling
also use clippy and rustfmt
I kinda like the idea of having a precise style that you "have to" comply with over an entire language
oh right, gnu does this
Makes it easier to switch projects imo
Ain't no way someone writing C uses haskell style
because you shouldnt be making ai but doing javascript then
the last 3 seem like memes, yeah 
Welcome to 42 school I guess
this mf?????????????????????
https://code.visualstudio.com/docs/languages/rust
@olive sable follow this part
next you'll say return types get their own lines
this is one of the few things Go does right
gofmt literally does not have options, there's one standard way of formatting everywhere
this would make Go code really easy to read if it wasn't bad for other reasons
i dont even know what that is
That's nice
It can be annoying to begin with but I like that idea of having a standard for a language
That's sort of what we have to do with C at school, so yea
Yummy, C-style casts
no really, use rustfmt
and when writing C++ use clang formatter
and when writing python use black
why?
The real answer is "have fun on your own projects, but if your code is going to be read by anyone else, use the rust format"
i dont care
it gets you accustomed to reading other code since it'll look about 99% the same
As long as it's only for you, do your thing
because its nice when every project in the entire ecosystem uses the same formatting rules
This is de way
Yeah that too
and because when you break these conventions for no reason your code is actually considered bad for no reason
Rust community 
any community with widely accepted standards
Fair
if i dont agree witht he rules why woudl i follow them?
they can just leave a negative comamnd on my github i wont read
Chad
because you arent the only person in this universe
you have to work with other people
and for that, standards exist
(again, if you're not working with others, do your thing)
(but it's good practice to take up now, if you start working with others and you don't have the good habits down it might come back to bite you)
its best to abide by the standards evne when working alone since it makes you used to doing the right thing
early, good morn
Hi inabakumori mascot
like i prefer { on the same line but i would never do that in C#
nah im cooked
if you really insist on deviating from the standard formatting conventions for no reason then at least configure rustfmt accordingly
that way you'll still have a standard across your own project
i just format on save
i do same line and just press format periodically
because there are more important things to worry about than styling
i can do the entire method in one line and itâll fix itself
i just prefer how this looks. i have made all my code using these brackets like that before too
it doesnt matter what you prefer if the entire ecosystem prefers the opposite
thats just how the real world works
i dont know what to tell you
itâs semi common to write shaders as strings
so itâs not even that out of the ordinary
this isnt about it being a string
if you wrote function names in python with SCREAMING_CASE people would consider your code bad too
for C/GLSL this is reasonable because there's no real consensus anyway, so in this case your preferred formatting just happens to be standard enough that it's readable
also no syntax highlighting 
i only use screaming case for constants
and this is the same
its good for constants
Are you secretly a C programmer
It has its uses
oh yeah, except constants
yes, but if you used it for functions nobody would take you seriously
never use it outside of env tho
i do have syntax highlighting for glsl if it was a seperate file, but this is just a python string 
why so serious?
it literally does not matter if you { on a new line or not, people just cry about it because they have nothing better to do

C preprocessor macros 
it doesnât make the code any more or less readable
consistent style does make code more readable
In the end it's all preference and standards
i havent touched a single bit of C in my life so uh no?
Yeah, you do your thing sam. When you code gets used by a lot of people I hope that the rust community will have to take you style seriously because I too love chaos
not blaming you for this one because GLSL shaders as strings is common, but yeah, no syntax highlighting is super annoying 
I'd 100% find a way to embed a GLSL file instead
oh no it should be quite easy to do that with a simple "filename.open()" i was just too lazy to do that
I think GLSL counts as C 
the programs are small but the syntax is very similar
I want to say that's like saying TypeScript is JavaScript
What even is GLSL though
shadercode
Shader
I could look it up but I'm lazy so I'm asking my favorite llm, #programming
C but for programs that run on the GPU (shaders)
Ooooh
Yeah, I guess fair point
So it's not cuda? like something more portable?
consistent in a certain context, of course itâs bad if half your methods are \n{\n and the other half is {\n in one project, âacross the ecosystemâ only matters if thereâs a strong expectation that you follow the rules like in rust, i wouldnât say the expectation is as strong in c# for example
it seems like C# does put { on a newline?
yes
yes
Yeah but that's another beast entirely
i hate it
And another standard-
Ohhh, he gonna move to C#
how about C++?
You're free
and what is C then?
whatever you want or whatever your company wants
im unemployed 
im gonna have to think if i care enough about upholding those "standarts" to use rust
You don't have to with that formatter thingie
over time people realised that having to constantly have debates over style guides is fucking stupid so newer languages tend to come with a formatter that takes away the decision-making
Nah, you don't need to
Though you'll have to adapt to reading it for sure
If you wanted to work with others however, it is needed for easier collaboration
No matter how fucked the style guide is
Because any style guide is better than none
i love style guides in general tho
there are many disagreement with your own style
but prevents you from getting lost
I like them too
like, I did not understand what the fuck was DI, but after I understood them, they are genuinely cool
do whatever you want as long as you format it according to the style guide before you send it out

I too like style guide. But I don't care enough to make them. Sam is one of those that care
I like them as long as they come with a formatter configuration
I'm not manually formatting my code to look like shit
That's design pattern my dude
overly configured eslint screaming at you for doing the most insignificant things to code quality
ik

I love when my prettier fight my eslint. I use biome now
I'm under formatters are not touching my code camp. I'm hesitant about using rust purely because of people that choose to be insulted by every little thing.
I do recommends learning to use CMake or Meson along with it. Manually compiling and linking will be less tedious. Or you can stick to the good 'ol makefile/build script
brother what are all these things i need to do 
I write my code how I wish, and you're not stopping me.
at this point im gonna write raw webassembly instead
You see, for rust, you have cargo to manage your used library. For python you have pip. C or C++? Nada
welcome to the world of non-scripting languages
dont care, i do everything myslef
have fun setting up your C++ build system, it's very easy 
there's totally no need to learn one or two other programming languages or anything
That was a very short friendship lol
it lasted about 5 min
look, i just dont wanne hear shit about the brackets
thats literlay the only deciding factor on which language im using

We're #programming , we'd argue just about anything
bro wtf is that, that dont even have brackets
That's why there'll be no debate about bracket lol
we only use C++ for cuda kernel, no?
cmake................... 
man I HATE cmake
Hey, meson exists now
im sure vscode has an exstension

i need to learn that
But school makes us Makefiles, we don't have to use cmake yet
meson is tolerable at least
.......... 
we take those
Better than Cmake
I'm picking rust due to not dealing with build scripts personally.
tried Meson once ages ago, can confirm that it was okay
definitely much better than CMake
But meson being new make not many project uses it. So I still choose CMake for my project needs too
Every language does
have you seen the "mascot"
C++ have mascot?
I don't know of many languages without a standard library
no it doesn't but it's funny to pretend it does
what the fuck is that
Officially it does no?
Also stands for sexually transmitted disease
oh, that one 
I've always thought of it as "support the developer"
<stdlib.h> just took a terrifying new meaning
That's nice
im not gonna lie, C++ code looks ass
Use <cstdlib> you barbarian
it may not be anal about the brackets, but no way im gonna do all this shit
I do C 
it doesn't get much better, you're going to have to get used to it
In C++ I'll use <cstdlib>
have you seen templates yet
To be fair, you can use C too since they are interchangeable in C++
does C look shit?
At this point just do C
sometimes, but usually it's much better than C++ at least
If you know GLSL, you'll feel at home with C
darn
Coming back to my first suggestion
use hblang 
Though C is old as heck and very mature, while Zig is so young
IT'S HAPPENING
To this day, I still want know why you guys develop hblang. It does looks neat tho
I could see sam being a Zig enjoyer
what does their style guide say about brackets
why not
............same line as signature iirc 
same line
Noice
no Zig then
Waiting for the next step to x64 assembly
Sam programming arc descending into lower and lower level language
hey, i'm not complaining about this development

what's next, fasm?
ill eventually just loop back around to rust with with the nice brackets
Whar is happening here, deciding what to rewrite your game engine to?
yes
Needle and a steady hand
C is okay at least
NOOOOOOOO
Silly
And how would you compile C to web?
all roads lead to Rust (or React web development, depending on the quality of your life choices)
If you evolve on the brackets use zig :3 you'll like it
Nah, you don't have to follow that
YOU DON'T HAVE TO DO THAT
C does not enforce shit
Rejoice, there's no standard 
it's okay C is messy there's no singular style guide 

(i like to follow llvm's)
llvm is based
honeslty at this point is it even worth it?
Can someone show him lisp, I just want to see his reaction
why program, if all languages are dogshit?
I said it before, use TypeScript lol
ass
Do your own, hop on the hblang bandwagon 
I'd rather JavaScript
lets check out hblang first
IT'S HAPPENING
they aren't, you just don't have taste 
if you think you know what the one true language that is better than all others looks like, make your own
i love adding the entirety of posix for 2 functions 
I mean, hblang is in zig iirc soooooooooo
@sage crag
Reminds me, I may need a JS frontend dev at some point, because I want to rewrite Neuro rants and port it to a new backend
noway
small obstacle
hblang AFAIK doesn't compile to wasm
this is true 
I mean
no wasm backend
Do it yourself 
it's okay we can compile to x86 and then to wasm via emscripten 
make one
has hbvm backend
what is that?
does emscripten to x86 to wasm? I thought it was only C and C++ to wasm
The real plan is hiring sam to develop a backend for wasm 
(itcs C(++) to wasm)

Why JS specifically? To not have a build step?
(anything but react)
can you not just give it some object files
Neuro rants is a website
surely you can right
i dont know how to wasm
because frontend duh
Well, yeah. I mean TypeScript is also capable of making a website. It just takes a build step
Whar?
#programming try to not be overly pedantic challenge (impossible)
konii one smalle question, does hblang use these { }?
Y'all never heard of frontend web framework before? A new one is born every week lol
js dev = ts dev
oh you have to produce the object files with emscripten in order to use them sadge
yesh

if you mean Emscripten, it basically provides a WebAssembly target for LLVM
I don't think there is an x86 object file frontend for LLVM anywhere
(+ you'd have issues with the standard library)
I was asking why JS specifically and not TS?
and do they happen to have { start on a nweline?
:true:
The amount of languages that do not use brackets for scoping is...really small
I myself suck at frontend and the frontend of Neuro rants is gonna need a rewrite with the backend to work on the new backend along with some much needed new features
(say no konii)
@olive sable you dont need wasm, just run fakern in the browser
hey you can keep a tab on me i do frontend for a living
(say no konii)
yes but you "don't" have to
I suggest use a framework then and not raw-dogging JS

Silly
But modern JS is at least tolerable
wait, you dont have to use brackets?

main := fn(): uint {
return 0
}
can also be written as
main := fn(): uint return 0
but not as
main := fn(): uint:
return 0
or anything like that
I don't really care whatever the final thing ends up being made with as long as I can just throw some files in a folder and it works

Second one is me in python
brackets arent a big deal 
(I say "Silly" to most things I don't have a better response for)
same
but can you put the bracket on a separate line?
well surely if theyâre looking for a frontend dev they expect them to use a framework right?
i need the starting bracket to be on a nweline
for multiline functions sometimes as well
formatter will shred you
this is a must
but yes
@olive sable reminder that you can do whatever you want in C(++)
but C++ is ugly
okay hear me out
You'll be surprised at someone writing raw HTML + JS + CSS
Then use C
not suprised, i once wrote a 1k character one liner that does what a 40 line function does
@main def hello() = println("Hello, World!")
the
is more about me being a frontend dev than a direct reply ur all good
what is that?
Very silly
scala 
I just like using semicolons in python sometimes
wtf is a scala?
hblang isnt 
oh my god i hate scala so much
it's a better java 
send pic
Hear me out, you write C-style C++ instead
I'm certainly not against it, as long as it works
its so over
you can do C++ without the std's?
yes
YES
of the language

me, i do that sometimes

C++ is basically an extension of C
so you can write C++ but only use the features available in C
what does that mean?
that you can build absolutely everything from scratch and have a working window for your game engine in 2000 years
You can do C++ like this
#include <stdio.h>
void main()
{
printf("Fucked up but it is C++\n");
}
std contains everything that is c++ pretty much IIRC
you can treat c++ as c with a better compiler if you want
i cant do this. the { needs to be on a newline or i cant use it. otherwise i would still be friends with rust
python dev doesnât want a standard library ts makes no sense đ
brain is over
is it fine if they're on different lines as long as it's not brackets?
eh wtf
This will fail in C
struct Data
{
int a;
};
void main()
{
Data var;
}
But that is valid C++ IIRC
its so over
you can do whatever the fuck you want in any language you want donât listen to anyone
Hence my suggestion, write C in C++
but thwn why even write c++ if its C?
it's not
then ill just do C
unless you meant to use Data
I mean it will compile. You don't have to use ty[edef
try C
no need for C++
Oh right lol
i lied, main also needs to return int 
You could also just use rust but never use cargo fmt
build system is a pain and the language is old but other than that it's okay
(and most importantly, you can put the brackets on a separate line)
NOOOOOOO i got an ad, fuck youtube
Is C++ build system better? isn't it basically the same?
Sorry, embedded habit. I don't care when main return because at that point I'm fucked lol
unusable
it's the same, yes
this wasn't a comparison to C++, just a general statement
i was gonna say weird that clang accepts it too but then i remembered when it's in a .cpp it just treats it like cpp
guys i think i might be losing my sanity
depends on the scope of the project, for small-ish ones it's fine to not use a framework, for large ones not using one will result in an atrocious unmaintainable nightmare of a codebase
you guys genuinely make me want to learn everything 
do it
Dew it. Come to mechatronics
me too
And learn true P A I N
and by "it", haha, well. let's justr say. My makefiles
same here
you're realizing that the majority of the world (everyone other than C developers) does not conform to your bracketing style preferences that you acquired from using a language without brackets? 
do it
tho i wont learn java nor c#, screw runtimes
c# you mean 
sorry I forget about the Microsoft language sometimes
the rest of the world can go ~ themselves if they have a problem with it 
i have bad news, every executable that links with libc (aka nearly all of them) uses a runtime 
staying unemployed forever 
i'm still on python đ đ
im doing gamedev, that was already anticipated
You got this!
thanks man -heart-
right, I forgot that gamedev code standards are different from normal peoples (they don't exist)
Abandoned Archive slander
Yandere Simulator Slander
(What style guide?)
does firefox have gmail?
Copilot didn't exist yet when it was first created
not sure if that makes the situation better or worse
it's a website???

I don't know if Neuro rants can be classified as large in its current scale, but I do want to add some new features and make the server able to host more than a single website with a configurable main page
my 1 to 1 pytorch to jax migration is behaving very weird
you mean this button?
Maybe a bit of both


yes
then yes, as it's still a website
It's not part of your browser-
you were asking why its such a big deal but you're the one making it a big deal ngl
why do i not have it then?
your pc might be haunted i'm sorry
true, but stop making good arguments
Are you using google as the search engine?
idk
Go on google.com and you'll see it
malware that removes all Google products from your machine
I'm using zen (basically firefox) and I have it
That's a win in my book besides maybe youtube
Very good malware
ye but google.com isnt the homepage of ffirefox
ublock
you can change that
oh whatewver
Go have fun with the settings
i found ow to do it for the hompage, but i cant for a new page?
took a glance at the website. it already uses react, it's fine
overwatch?? also I'm positive you can customize the new tab page
?
why is encoding vp9 webm so resource intensive 
I'm VERY tempted to suggest changing the framework lol. But that's just my personal opinion
AMD?
no harware acceleration apple silicon
Try to use free hosting for static site if you communicate to the backend via api anyway. Like cloudflare pages
Ahh, then no idea
IIRC you need an addon to fully replace it
but you should be able to add a Gmail shortcut on the default one
by default it shows the most visited sites or something
to be clear no hw acceleration because i chose to do it without it, ffmpeg or something will almost definitely be a LOT faster, i'm just rawdogging libraries and encoding 3s of 512x512@15fps takes like 1-2 min???
What the actual f
now i'm curious how long a single threaded av1 encode is going to take
also single threaded ye
That is cursed af
lets hope C is the last one 
I'm still suggesting writing C in C++ lol
nah
Annoying ass typedef
you should try odin 
i like how i started with python, so i just went down a single level
same-line brackets, literally unusable
true
damn, nvm i guess
You know the brackets....

unusablr
also @olive sable be sure to install Ublock Origin
I like self-hosting my stuff
And it's not a static page I think, and even less what I want for the new version
welcome to the no yt ad world, enjoy your stay
glad firefox has it, chrome revomed it fromt heir platform 
MV3 
Well, it's gonna need a rewrite to work with the new backend with added new features
Fair
About static site, what I mean is that the site itself is not generated from the backend
surely it's manageable to just add those features
My brain went on the typo

haskell doesnt have curly brackets, just saying
Well, it very much uses changing data that is on the backend to draw its contents
it already is
Well, I didn't write the current site and its dev disappeared, so
And the new backend is gonna work very differently too
know what doesnt have curly brackets? lisp
Ahh, then it IS a static site HTML
we already went over this one
"this is ugly" person who has never been exposed to a single line of code in that language in their life
as i said, keep a tab on me, i'm very comfortable with react
haskell is very elegant
brother this looks like TI basic
Symbols mhm
I'm more of a vue guy myself lol
There's one route we haven't gone down yet
why are you insulting TI Basic like this
HolyC
apl code is art
i actually started progreamming on TI basic
Noted
I guess I'll try to remember that for when I have time to do the rewrite
BQN
protected me from C 
if I understood it maybe, until then I can't see the vision
you're telling me this is not art? #programming message
thats egyptian
Youtube channel code_report cover a lot of that programming language type. Its called concatenative IIRC or Array?
the pyramids of giza werent built, they had advanced programming technology
I know it is switching between operators and single letter vars with backets and whitespace, but that is where my understanding ends
Do you have a template for this?
its just a website
Ah
this tutorial is litteraly unwatchable
at this point i think the brackets have caused critical damage to your brain
your only way towards salvation is lisp
thats what I've been saying
x86 asm then?
there's a Common Lisp game engine and the language probably runs in the browser somehow, so it's not even that unrealistic 
it seems like all the C tutorials use the bad way to do brackets 
Using only mov challenge
thats what i'm saying you need lisp
leave all your mortal attachments behind
why are the functions in brackets themselves?
because data is code and code is data
I wonder what kind of glass. Borosilicate?
im beginning to think my code is not meant for the mortal realm
this is the most stupid reason for dismissing langs i've ever seen icl
thats precisely why you must use lisp
i don't recommend it often but i really think you need it
i mean, yes it is. but if i dont like to look at it how must i program it?
if you really think about it lisp is for making DSL and then you can make it look however you please
this is so stupid "i never saw this so im not used to it so i hate it"
yes
branch out a little
no
you are being stuck up like a geezer
its good that you understand it
He is set for life
now go use lisp
Time successfully wasted
section .data
hello: db "Hello, World!", 0x0A, 0x00
.end:
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, hello
mov rdx, hello.end - hello
syscall
mov rax, 0x3c
xor rdi, rdi
syscall
ah yes, my favourite programming language
jvm 
jokes aside if there's one thing the jvm is good at it's number crunching tbf
I already have things I'm supposed to be doing today, so I can't learn (or find anything for) hblang
i might sound crazy for saying this, but there arent enough brackets and semicolons
that is true
might
NodeJs is JVM
what the hell do you want then

JavaScript VM
I'll add semicolons and brackets to your python script
Just grab Rust, configure the style options and be happy with that
just as a thought, after i watched the dev stream, i listened to neuros song on spotify, and i thought she sounded the most "human" when she sings, is there a reason why vedal cant somehow use the data from that? (i dont know much about programming so forgive me if this is stupid)
dont bother, the python is too slow
Yeah do this sam. This is truly the easiest way tbh
semicolons are comments in lisp. So you can just add them at the end of each line to feel comfy. win-win
Tuning a vocal synthesizer for speech is a pain and takes a long time
The singing is most likely completely different technology from the usual TTS, so no go
make a preprocessor for rust
fn main():
...
Going C++ or C is a pain if you are used to having package manager
Yeah, singing models work completely differently from TTS ones
I would know, I do a lot of training of vocal synthesizer models
oh ok sry it was just a random thought i had so i wanted to ask
wdym, vcpkg fixes this 
Just another standard
* Several people are typing
when C# starts to look liek an okay language you need to take a break. brb
I'm still mildly curious how the singing is done. Maybe a custom Synthesizer V voice or something.
tbf, you still get package management but its in the form of distro lib packages
I rember it being overlayed on a human singer IIRC
Probably not SynthV, but could be an open-source SVS arch
new idea
preprocessor that lets you include files that don't actually exist (it generates them with an LLM)
let result = :
...
;
```?????
More likely just referencing the human singer using automatic pitch transcription tools along with automatic phoneme transcription
this is meant to be a block expr btw
unironically go branch out and learn the weirdest language you can find my final message goodbye
let result = \
if a: b \
else: c
println!("{result}")
just like python

me when dealing with python being stupid
no thanks
it kinda exists in rust
There's this thing but I haven't tried it yet. https://www.weights.com/replay
Commercially there is this https://acestudio.ai/ which does support voice cloning.
i was kidding
yeah, the proc macro thing
would just be funnier to have in the actual language
like DreamBerd does 
I believe those suck and nobody should use them
I achieve much better results with home-trained models than stuff like weights can
https://www.youtube.com/watch?v=kl1bHdlArhw
Been a bit, but I at least found this
Vedal almost certainly trained Neuro's vocal model using locally running (or cloud compute) tools
has someone actually written an interpreter or how is it an "actual language" now
I just mean that a proc macro isn't actually part of the Rust language itself
I know what that is, and I already analyzed it, it's not a voice changer, too many differences with Neuro's voice
It's almost definitely a vocal synthesizer referencing the human sung version
oh i get it
I want to be able to use a struct that just doesn't exist in a local file 
Should have expected you to already looked through it
Yeah, there was a whole argument about it elsewhere, so I looked trough it and found enough evidence to confidently say LIFE is not using a voice changer -based solution
peak code
use imagine::imagine;
#[imagine]
struct CoolStruct;
fn main() {
let x = CoolStruct::new(101);
x.pontificate()
}
i love my amduw23g-416003-55c70b53 driver
Why is Edge doing that
Like every month or so it'll just log me out of all websites unprompted
edge
edge 
code
Come to linux, we have amdgpu
I see this once more and I'm switching fr
forgot return 0;
Delete Edge, embrace Firefox
where?
Always had an issue or two with Firefox, tried switching to it multiple times
Also Google messing with Youtube and non-Chromium browsers doesn't help
https://www.guidingtech.com/how-to-set-microsoft-edge-to-automatically-clear-browser-cookies/
I advise switching to Firefox, but if you want to stay with edge, turn off this
#include <stdio.h>
int main()
{
printf("EEEEEE");
return 0;
}
It's the only usable browser (Chromium is dropping MV2 so UBlock won't work)
Youtube works fine on Firefox
havent gotten to that part of the tutorial yet lol
i wonder where
BRUH
ur so right
I don't have any of those on. It doesn't happen with every browser close, it's just like every month or so
I almost smack you for that semicolon lol
even with ; its underlined red. and the tutorial didnt have it
true, Firefox is better
it won't even let you sign in sometimes 
(not because of Firefox, but because Twitch does stupid things)
semicolon not the problem
i just forget c is inconsistent

nah i dont wanne do this no more
i was joking
i don't actually know why it's underlining 
Hover over the underline
Return to bwaathon
It'll tell you what its probably asking for
"Probably" because C and C++ LSP are liars
ill be back someday
Lolll I had that same problem haha
Wait a minute


@olive sable wait another idea for you prolog doesnt have curly braces 
nobody cares about cobol
43% of banking systems
i will blow them up
that is illegal
on the second thought mods no i wont be doing that
Funny you say that while I'm watching a Payday 2 video
bf doesnt either
lua
lua is 
oh yeah theres also forth
lisp
i already suggested it
no the other one
like 4 times
ok which of the 15 billion do you mean
the other one
right
possibly
i wonder how many lisp implementations there are per lisp programmer
i'd wager 10 or 15
average of 10 seems conservative
you can't divide by zero i'm afraid
thats true, how about we include all people who wrote a single line of lisp in their lifes as lisp programmers
then 10 seems accurate
everyone writes a lisp but no one writes in lisp
I'm in regex hell. Plz send help
dichotomy
I prefer https://regexr.com/ tbh
whatever works
Yep. I do need help tho as I am not a regex expert. Here is my current regex
/-.+(\(.+\))+$/g
I want to get the (.+) that is always at the end of the string and after -, but it can be one or many of (.+)
antidote

And the (.+) group is separated by space
okay so this is currently -, then 1+ characters, then capture group with brackets with arbitrary amount of characters repeating arbitrary amount of times (1+), then end of line?
and you want only the last thing in brackets to be captured?
Yep
No, I want to capture individual bracket
After the -
then the following will probably work
-.+\)(\(.+\))$
Its still only capturing the last bracket
what do you want then?
All the bracket after -
i see
then just move the capture group brackets to include the +
/-.+(\(.+\)+)$/g
Oh, yeah I didn't think of that. Thanks
wait right that wont work
you will have to create a second inner group
but mark it with no capture
It doesn't indeed
/-.+((:?\(.+\))+)$/g
I was hoping to get (Neuro V3) and (Evil)
so you want multiple capture groups?
or you want them all in the same capture group?
Either is fine. I will further process it anyway
just use this .+-[^(]*(\(.*\))$
Perfect. Thanks a lot
can be improved but really just try to remember that * or + or ? applies to the single thing before it, capture group ((......)) is a single thing, no-capture group ((:?.......)) is a single thing, you can specify multiple characters with [abcd] (again, single thing), or exclude characters with [^abcd] (single thing).
regex tries to match as many characters as possible before moving on to the next part of the pattern
Yeah, I always forgot because I rarely use them
so parentheses are included into "any character" even if you want to match a paren after that
And then there's the legendary stackoverflow parsing HTML with regex level
Which reads kind of like a neuro rant nowadays
backslash backslash backslash backslash backslash ad infinitum
Why do dmarc report emails look like super cheap malware mails
Realistically its aimed at domain administrator. You think they'd care about flashy design? Maybe they even prefer it simple that way
that was a rhetorical question. It's just funny that they look exactly like one of those: "hey, this is totally google security. Someone logged in to your account, please see the attached zip file"
I tried to install steam os... but this is not working
And i install clear arch with this rn https://github.com/HyDE-Project/HyDE
What do u think about it?

Do you need a gaming OS or a development OS?
Also this looks fine?
I need an OS
Gaming and smol development

installation script user 
just follow the guide
aaaaaaa
No-no, ik how to install it without script

But thx
I install it not the first time
:Saved:
-# I still lack the emote 
It needs nvme
But i havent nvme
Garuda is a very heavy
According to the Getting Started, you can use anything https://github.com/ValveSoftware/SteamOS/wiki/Getting-Started
how is discord search so bad
... ik how to install arch without scripta
How light do we need?
And already installed it
hot take: arch derivative are pointless
wouldnt endeavouros be better
i search drive.google.com, get youtube hits.
i search drive.google, still only get youtube links
steamos does have a reason to exist
I don't know. I didn't see how it differs from garuda. Basically fancy installer for arch
fair, I will give steamos a pass
I use this instruction because i think this is better than official guide https://gist.github.com/mjkstra/96ce7a5689d753e7a6bdd92cdc169bae#preliminary-steps
that isn't even an Arch derivative, it's just a bunch of dotfiles 
if you mean actual Arch derivatives, yeah, half of them suck
there are only a few (like SteamOS) that have a real purpose
The biggest hurdle of arch is just the installation part. After that, its just like any other linux
silly tsurai
Steam OS based at Arch

archinstall and be done with it in 2 minutes
And it gets more fps than wiwdows
God no. We have gone through this already. Archinstall is bug ridden
i wish it worked well 
looks nice, it's very linear
the official guide is kinda all over the place
What was that again? The toggle for installed DE doesn't actually install the actual DE? Imagine choosing GNOME on the install script and ended up with KDE
imagine chosing either of those trainwrecks
Apparently the trainwreck that is KDE Plasma 5 is working for SteamOS
Idk i never used archinstall 
oh, Im lying
only one time
speaking of Gnome
Ubuntu is getting rid of the Xorg option in the display manager in 25.10 
And it was more complicated and unclear than manually (I couldnt install with it)
I like the wiki since I like reading anyway. In the process I learn a lot about the installation process and how my setup came to be
????
â
that's one of the best parts about Arch
you end up knowing your system very well
yeah theres been stuff like that all over the news
Imagine if people like that encounter neuro-sama
unfortunately some people have 0 critical thinking and collapse when met with hallucinations
how dare you talk to mama like that
thats the beautiful thing about an arch installation, that it isn't linear. So many choices you can make
Sooo, Ubuntu just ditched sudo for sudo-rs
whats the difference between them? other than the language
schizo people do schizo things with an AI

istg news reporting just has to go
i'd rather know nothing about what's going on in the world if it meant the end of journalism
They got rid of some options nobody used
we love ai delulu
Hopefully none
I hope it's not a "rewrite in rust for the sake of rewriting in rust"
No, sudo is a very valid one
So I really hope there is no unexpected difference between the two
they replaced coreutils too 
As I said, they removed some options nobody used
Wait they already replace coreutils to rust in ubuntu? I though the project isn't ready yet?
Because the original sudo is a 180k loc monstrosity
I misspoke
they are replacing coreutils with the Rust implementation in the next release, but have already made the decision
Yes, so hopefully no difference in functionality if nobody uses them right? ...right?
so yes, not shipped yet
I see. Because I know the effort to replace coreutils. But I don't see it as valid as sudo, or SSL library
Ideally yeah, and the couple of people that did use those features can just manually compile the old one
I like uutils since it's cross platform
can use on windows
I think the effort to replace them is good, mostly because of memory safety and how prevalent and important they are, but I don't know if the Rust coreutils are really ready in other aspects like compatibility yet
Canonical seems to think so at least
though for Ubuntu they'll be in a non-LTS version first, so if it breaks they can just go back 
Yeah, my problem with rewriting coreutils is just that it poses no bigger of a risk than running any other program. Sudo however is one big risk. Like sure, maybe bug in coreutils will allow Remote Code Execution. But the permission that the code have will probably not more than the user running it. I said probably because I don't know if there exists a privilege escalation bug from coreutils
I have mixed feelings about the effort
Yeah, no privilege escalation
yeah, the issue would mostly be that they're expected to be able to handle user input
so it wouldn't be privilege escalation if you already have a shell, but the risk would be RCE through some stupid PHP script that uses coreutils or something like that
you're right though that the risk with the coreutils is a lot lower than with sudo
The coreutils are old pieces of code, some closing in on 40 years. They stood the test of time and we still use them which speaks for how well designed thought through they were
I have no clue who has the authority over the rust coreutils is or how competent they are. Just because its rust doesnt mean that bugs cant exist
Yeah, I mean just look at
https://github.com/Speykious/cve-rs
But for some big project that has critical role like sudo, I do trust it more in rust even if its a little newer
the main issue wouldn't even be memory management bugs, it would be logic bugs
if they really want to maintain compatibility then that requires a lot of testing
tbf you can just yoink all the tests from the original coreutils and then start from there
its not a bad project but i hate rust devs' love for mit/apache
Also we might get cross-platform for free. I'd like coreutils on Windows that are not cygwin
well, ultimately, its just busybox 2.0
You can already use it on windows 
Really? I never checked...
It's available via scoop too
Well, I guess I could just have tried a cargo install
That too
iono, I have a softspot for the old pieces of code
maybe thats just me being old and depressed
ok but have you seen the gnu style guide
theyre begging for someone to replace it

eh, let the gnu ppl do what they want among eachother. I never really cared too much about their ... particularities
So...will it be Rust/Linux now instead of GNU/Linux, the most annoying ackshually nitpick ever?
I have yet to actually meet a person who seriously argued about that in real life
no one gives a shit
the Rust community will celebrate this for the next 10 years at minimum
I yearn for simpler times when programs did a single thing well and thats it
Sam
like maybe some day someone will write a terminal emulator thats both functional and not bloated out of the arse
Then you have to go back really far because X11 had a print server.
print is an external display that makes sense
is Suckless or XTerm not debloated enough
(or foot if you're on Wayland)
st is just a single tiny step too far. There are patches that makes it usable but they break with every single update and have to be edited by hand each time
i dont care if its a bunch of small utilities or a monolith just give me software that doesnt require maintenance every 2 weeks 
i have enough changes to go through when refactoring my broken code i dont want to also deal with your broken code being refactored
What kind of software are you guys using?
this is just the stuff i have to maintain build scripts or patches for
nix moment 
Also, have you seen the README of xterm?
Abandon All Hope, Ye Who Enter HereThis is undoubtedly the most ugly program in the distribution. It was one of the first "serious" programs ported, and still has a lot of historical baggage. Ideally, there would be a general tty widget and then vt102 and tek4014 subwidgets so that they could be used in other programs. We are trying to clean things up as we go, but there is still a lot of work to do.
i dont patch it because of nix
i patch it to make it work

I have not 
We are trying to clean things up as we go
well that certainly failed then
it even has a second warning in main.c
/*
* W A R N I N G
*
* If you think you know what all of this code is doing, you are
* probably very mistaken. There be serious and nasty dragons here.
xterm carries around code for 50 year old modem terminals and what not
yeah, I think the fact that it's an actual emulator is mostly to blame here
terminal emulators in general could probably be nicer if they didn't all have to support the same 3 ancient terminals
I've started writing my own but the time... the time...
would be nice tho. I'm already using my own WM and statusbar. Bit by bit
Why use terminal emulator at all. Just raw dog the linux terminal at that point
theres no non-emulated terminals
I mean, yeah
there are, but chances are you're not using one 
you could say that
Is using uart to control embedded linux system count as terminal? Because chay have done that no?
no it doesnt






