#programming
1 messages · Page 100 of 1
i know
From this table, you can check the upper bound I think
im not talking baout your drawing tablet thing for osu
i got hyperfixatred on high refreshrate screens
128GT/s should be doable
Yeah, but then at that point you're making a whole ecosystem of new gen hardware
@handler("entry", fn(): never {
@syscall(1, 1, "hello, world\n".ptr, "hello, world\n".len)
return @syscall(0x3C, 0)
})
the program
dont care
_start:
sub rsp, 0x08
mov rax, 0x01
lea rsi, [0x0000000000000007]
mov rdx, 0x0D
mov rdi, 0x01
syscall
mov rax, 0x3C
xor rdi, rdi
syscall
the asm
smh yet another device at 8000hz for no good reason
why does it switch between so many units 
this is my code, 34 bytes for code, 14 bytes for string, and the rest is ELF
I do not know
you use smaller registers
interesting
its a screen, for le epic gamer
damn, that's 64 bit
surely at 8000hz ill get better at fortnite
yup
hehe 
surely you can invent a 50GB/s hdmi cable 
just use display port it can surely handle it 
actually how fast are they these days
maybe just get 20
can i see the hexdump 
0000000 457f 464c 0102 0001 0000 0000 0000 0000
0000010 0002 003e 0001 0000 0078 0040 0000 0000
0000020 0040 0000 0000 0000 0000 0000 0000 0000
0000030 0000 0000 0040 0038 0001 0000 0000 0000
0000040 0001 0000 0007 0000 0000 0000 0000 0000
0000050 0000 0040 0000 0000 0000 0040 0000 0000
0000060 00b3 0000 0000 0000 00b3 0000 0000 0000
0000070 0008 0000 0000 0000 8348 08ec 8d48 2335
0000080 0000 4800 c2c7 000d 0000 c748 01c0 0000
0000090 4800 c7c7 0001 0000 050f c748 3cc0 0000
00000a0 4800 ff31 050f 6568 6c6c 2c6f 7720 726f
00000b0 646c 000a
00000b3
thanks 
yw
https://trychen.com/feature/video-bandwidth it appears my bandwidth estimate was a bit off
My personal website providing software and resources for learning and reference purposes only.
i think i could shave more bytes off the binary if i bothered optimising the ELF
but yk
by about half
purest jank
--omagic is rteally safe i promise...
everything is RWX, page alignment goes bye bye, text and data sections get combined
grok translate please
binary can be modified at runtime, constants are stored next to functions, and everything gets packed together
really i could just use -N
probably the same size too
does grok mean "deeply understand"????
ye i asked chatgpt to translate but also copied my message
it does in vcspeak
yes

1 order of magnitude is pinpoint accuracy for astrophysicist
y'know your magic bytes are all fuked, how is it even running
is it ableOS
no its linux
reminds me of
"konii is approximately the size of 2 cookies"
"i never specified the margin of error"

nope this is very much x86
x86_64**
ableos doesnt use ELF
thank god
the four magic bytes at the beginning are out of sequence 

bro pynput doesnt record continous mouse movements?
noe
Ah yes I love being in debt to my bandwidth
yesh
noee
endianness
hex dump is in 16-bit words
le
where can you see that?
CPU: "Hey GPU, please render this scene"
GPU: "Sure thing fam, here is the dump of /dev/random"
0000000 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
0000010 02 00 3e 00 01 00 00 00 78 00 40 00 00 00 00 00
0000020 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000030 00 00 00 00 40 00 38 00 01 00 00 00 00 00 00 00
0000040 01 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00
0000050 00 00 40 00 00 00 00 00 00 00 40 00 00 00 00 00
0000060 b3 00 00 00 00 00 00 00 b3 00 00 00 00 00 00 00
0000070 08 00 00 00 00 00 00 00 48 83 ec 08 48 8d 35 23
0000080 00 00 00 48 c7 c2 0d 00 00 00 48 c7 c0 01 00 00
0000090 00 48 c7 c7 01 00 00 00 0f 05 48 c7 c0 3c 00 00
00000a0 00 48 31 ff 0f 05 68 65 6c 6c 6f 2c 20 77 6f 72
00000b0 6c 64 0a
00000b3
would you prefer
My personal website providing software and resources for learning and reference purposes only.
/dev/urandom for maximum efficiency
yes, very much prefer
ELF also has 7 padding bytes that HAS to be there, but are unused 😭
Guys should I buy a new mic and webcam or a monitor 
its about what i expected (the backstory), it was probably a good idea not to watch it before s1
im pushing 22.38Gbps x 3 apparently
and don't get me started on the two ELF version fields
What do you need each one for
My headphone mic sucks, it sounds like im in a tin can, and I'm usually in VC with friends and we usually have our cameras on so it would be nice
buuut....
Another 244hz monitor sounds nice 
You can always use Android phone connected via USB for webcam
I have no android phones 
And my only phone that I do have has a terrible battery life
you prob dont need an expensive mic either, a 10 bucks one is fine for most things. unless you're streaming or smthn
thanks for pointing that out btw, didn't realize people would do such a thing
Well I have a small desk and I like having space so I was thinking about a boom stick, nothing fancy
I've got the money anyways
I can afford all of it but I'm just bad at making decisions
Oh
Honestly, I think buying cheap 2nd hand android phone as webcam+mic combo is better than dedicated webcam via usb
I don't know why so many webcam sucks, even though they are not constrained by power budget
Well, maybe bandwidth
But still
have you acquired any insights
I'm not going to do rendering on my cpu again 
my heatsink can't fucking handle the heat
I bet you could cook a steak on that CPU
am currently parsing your hexdump with my hands

Bro is the ultimate programmer. Become one with the CPU. Be THE CPU
yesh 
Most likely bandwidth, but my options are limited when it comes to webcams
I've already tried all of the phone webcams like Iriun and such but they're always so laggy, or they work and my phone just goes kaput
In my opinion it seems worthwhile to invest in a proper webcam
is that a challenge 
Yeah, you don't need special software on your android to use it as webcam
But yes, if anyone knows a good webcam, you can check that out
I would love to use it but unfortunately I have no android phones at my disposal (as much as I would like to)
Because I don't know any good ones
but i dont know why the compiler has done this
i formatted it the way you like
also this isnt x86_64
the compiler is stupid....

thats the hexdump of a hello world program that runs on the os
the os is closer to 1mb

I thought you are sending the hexdump of AbleOS from your wording lmao
Also chay, what does this mean? 
This site's source code is listed here (It's a simple template-based static html generator). The only interactive piece of functionality here is the comment system, which is done by abusing nginx logs.
main:
st $31, $254, -8, 8
addi64 $254, $254, -25
li8 $1, 2
st $1, $254, 0, 1
li64 $6, 12
li64 $1, 3
li64 $2, 1
addi64 $3, $254, 0
li64 $4, 17
lra $5, $0, :main.main.hello, world
st $5, $254, 1, 8
st $6, $254, 9, 8
eca
addi64 $254, $254, 25
ld $31, $254, -8, 8
tx
what is it doing 
its best
main := fn(): void {
@ecall(3, 1, struct align(1) {
.level: enum{.error; .warn; .info; .debug; .trace};
.str: []u8;
}.(.info, "hello, world"), @size_of(u8) + @size_of([]u8))
}
it's not that deep just put the values in the registers
i could make this clearer to read huh
nah
I was going to send a link but it seems Amazon has just wiped my entire order list 
comments are not saved using php or something i simply configured nginx to log all post requests to the upload comment page
what isa then
I know. Its just cursed
seriously it just has to load some consts into some registers
i could do better
My question is more like, why....
easier than configuring another program
and then on top of that, it goes and embeds the type names in the binary 
what are you doing compiler
compiler's got competition
compiler is apparently only optimised for x86
i guess this is our fault for not using hbvm 

embarassing
So much for RISC 
to be fair risc programs can easily be larger
does ableOS exclusively run bytecode 
it does
yup
no fukin way
portable
Yes fukin way
its intentional
RIP optimization
it can be JITd
i'll have you know it can run a full graphical desktop environment 
oki buddy
dont ok buddy me 
it's oki buddy, ableOS is great 
Because I'm not your buddy, pal?
im not your pal, guy
is fast enough
this isnt actually ableos though
just a reimplementation of the ableos kernel as an application
"Fix submodule dir"
"Actually fix submodule dir"
Classic
I wish git submodule is usable tho
computers sure are wonderful
how much fps?
i was hoping
its a software rasteriser running in a virtual machine that writes to an emulated display buffer
the framerate of the window isnt even synced to the renderer

memset not allowing a length of 0 was annoying i worked around it but you should probably remove that check
9 is greater than 9 mhm
where was this
kernel?
or lily
lily
what if the request is malformed
nginx is probably gonna reply with 503 or whatever
hm
i put it there because it was dubious to be giving the kernel a memset of length zero
wasted syscall mhm
418 im a teapot 😇
working on hblsp is like doing your dailies
you hit a compiler bug and are free for the day
hblang will soon be the worlds leading programming language
oh do you mean like you run a hook on every request that can reply with its own thing, something akin to middleware? i thought you meant parsing the log with a script as the requests come in
i dont parse anything nginx just saves all post requests to the log file without doing anything else
i later go through the comments manually because most of it is spam anyway
and by manually i of course mean using a script
So the flow is HTML Form sending POST request -> NginX receive the request -> NginX log said request
locations."/submit_comment".extraConfig = ''
access_log /var/log/nginx/comments.log postdata;
proxy_pass https://${cfg.domainName}/submit.htm;
break;
'';
locations."/submit.htm" = {
extraConfig = ''
return 200 '<!doctype html><html><head><base href="/"/><link rel="preload" href="style.css" as="style"><title>Success!</title><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><link rel="icon" type="image/jpeg" href="pfp.jpg"><link rel="alternate" type="application/rss+xml" title="RSS" href="https://${cfg.domainName}/blog/index.xml"><link href="style.css" rel="stylesheet" /><script src="main.js"></script><meta http-equiv="refresh" content="10; url=$http_referer" /></head><body onload="documentLoaded()"><hr/><div class="main-body"><p>Success! It may take a while for your comment to get moderated.</p><p>Please wait for 10 seconds until you get redirected back...</p><p>Or just go there <a href="$http_referer">manually</a>.</p></div><hr/></body></html>';
'';
};
thats it
maybe if more people used the language
oh also
services.nginx.commonHttpConfig = ''
log_format postdata '{\"ip\":\"$remote_addr\",\"time\":\"$time_iso8601\",\"referer\":\"$http_referer\",\"body\":\"$request_body\",\"ua\":\"$http_user_agent\"}';
'';
right now its just two people who are using the language daily
Chay be out here tracking us all along everytime we visit the site
why not just use cgi + any language you want
this is just for the comments
Less moving part tho
why would i configure cgi if i have to moderate all the comments anyway

Oh right, I didn't catch the postdata part
mlnt at least use TSX
but also, i very much am tracking you since i have nginx access logs enabled
i have not touched a .jsx file since like 2021. i specifically put jsx in to piss you off
Brb, gonna run autocannon so I lit up on the logs like crazy
Sanity and programming skills are mutually exclusive.
Bro i swear to god im legit going to be late to meet a friend of mine because I was lurking in the neruosama programming channel 
actually crazy😭
I cannot be real
they'll understand trust
uhhhh
It is indeed fun and cozy here
tell them you were talking to highly intellectual beings trained in the art of computers


Got it
int main() {
int array[4096] = {0};
array[7000] = 0;
printf("%d\n" , array[7000]);
}
Totally getting a job with this
I'm actually so pro at C (no cap fr)
the b isn't very u here. it will segfault
ub
lol
but will it 
why wouldn't it if that's the whole program 
Suuurely it will not just print some random memory segment somewhere
realistically the compiler may well optimize it to just print 0
which would be equal to 0
i tested it, it didn't segfault
crazy
there are probably more than one page allocated to the process
4096 is the size of a page typically
Segfault my favorite
but it allocates more 
It does segfault for me tho. Sadge
No explainable reason why it segfaults, it just does 

lmao skill issue
Technically, the program is working as expected
Even if the program somehow run a skynet by accident, it is still within spec
why is this an actual argument. i was making a joke
that byte you just wrote could have been a volatile pin in some embedded device that when changed, activates the super nuke

it doesn't have to be an embedded device for clang to launch the super nuke
you just have to piss the compiler off enough
i must make sacrifices sometimes 
anyone know how to capture mouse inputs if the game captures all of them
$ cat main
#!/usr/bin/env python3
print("0")
ive tried all the python libs, they all get blocked by the game before the input reaches them
Fool's binary
Also, is it not /usr/env?
no
wait you want me to show the compilation process lmao
no
im good
but also
antitrust
Pardon me, I meant /bin/env
Still no
awa
Why?
Actually I guess /bin is just a symlink to /usr/bin so i guess that should work on a lot of systems
javascript
Oh, so the reason is just portability?
awa
Cause /usr/bin/env should be the almost default path for every distro
Yes
convert hblang to c by compiling hblang code to x86 and then decompiling x86 to c
its a preprocessing step
This is a sign you need to sleep lmao
awa
Then convert to rust then convert back to x86
tcc let's you turn it into a script via a shebang, close enough 
#!/usr/bin/env c
compile it with zig
don't forget to compile c to brainfuck
And thennnn
||Turn it into an audio and then create another program to convert audio waves from a microphone into x86||
i saw antitone in haskell docs and now antidote is playing in my head osu! brainrot is real
who is emily and why is she both smelly and princess
antitone, gimme that antitone
Oh, it gets worse
oh it does 
Yeah, I'm not putting that up for long lol
The compiler is pretty cool at least 
jhjkhkjh
true
Same
What did you think was going to happen...?
You have unlocked new role

I will have to spend my morning with reading through government standards for email provides. How lovely
my condolences
also not it telling me to use IP adresses instead of DNS records for "stability"
Are you saying someone claims you SHOULD use IP, and NOT DNS records? For STABILITY?
bakushin bakushin bakushinshin
Are you allowed to elaborate? How is plain IP more stable than DNS (supposedly)?
dns requires resolving the link to an ip
if you cant resolve the link, no connection
https://youtu.be/NYu-R2Y9ZmU obligatory
Almost best girl
my multimeter's box says it has "1999-digit lcd"
base2k
i have long-ish (about 2/3rds of my back) dark hair so it's relatively hard to bleach too, i thought about dyeing it but i don't want to deal with the hair health consequences (also i'm broke so i could do with fewer expenses, maybe later)
eeeey I broke something. wohoo
turns out monitoring about 7k connections and writing most of it to file kills the software :P
banana

Well, I have no expectation for UB
💥 CERT-UA published a report on a malware powered by an LLM.
︀︀
︀︀The malware uses Qwen 2.5-Coder-32B-Instruct via the HuggingFace API to generate and execute commands on infected systems.
︀︀
︀︀It is a Python script that embeds prompts to dynamically craft Windows reconnaissance commands. The generated commands are executed on the fly and the result stored in C:\Programdata\info\.
︀︀
︀︀This is a very interesting use case and you can leverage NOVA for prompt pattern detection.
︀︀
︀︀So here are 2 NOVA rules to detect and match those embedded prompts 👇
︀︀
︀︀➡️ Report: cert.gov.ua/article/6284730
Do you need them to stop going to the game, or do you only need a copy of what the game is getting?
they made vibe coding into a malware
It is even more useless than crypto mining lmao
you call it useless but it actually makes threat hunting this more difficult than you'd think
you can write a sigma/ids rule to detect this but there's undoubtedly going to be fp
this is still going to be picked up by any competent EDR during execution but still
hunting this proactively is not going to be easy
How long until app is sandboxed a la Android by default on windows
weird footnote when linux doesn't by default either
I mean that as in, MS going full Android. They already have MS Store
MSIX do that already
they do not get regular fs access
everything they read/write from/to is mounted on a virtual disk
Yeah, and then after that, how long until they enforce approved app only like apple. Closing down the ecosystem more and more
if they do that you'll get people yelling at them
In the name of security
i don't really understand whether you're arguing for or against it
oh, another .*SIX file format
I am neither for nor against it. I honestly think that you should be able to choose however you want to run your system
then i think you already know the answer - the answer is never
there are apps that distribute in msix format already for those that want to install it that way
but the option to run natively on the system will always be there
Indeed. I am just wondering how long until they make more and more decisions that take away the user choice
And again, in the name of security
it'll be a Windows S situation where no one wants to use it
MSIX is technically pretty great otherwise
Windows 11 is also forced to user
Fair
Yoo, im making a tts model and im trying to add non verbal sound, here is a test voice can anyone give me a feedback?
finetuned a base model with 2000 samples from twitch streamers dataset
I got bored so im installing linux mint....
At the current stage, NAPI-RS's
WebAssemblysupport is targeted at users who useWebAssemblyas a fallback in Node.js, as well as users who develop playgrounds and repro in browsers/StackBlitz.
do i look like i care
finally. async wasm is real
i absolutely do have software that isn't notarized by apple or signed on my mac. the "enforcement" is just making sure dumb enough people don't install malware. also "apple approved" in this context is kinda disingenuous, they manually review the app only when publishing to the app store and literally not a single person uses the mac app store. you only "have" to notarize and sign which is unlike windows actually affordable ($99/year)
Mhm, I think I should word it better since I used Android comparison, my immediate chain of thought when going Apple is the iOS
yeah you have to sign on ios, and undergo a manual review to distribute
you still have to go through the manual review process iirc
even when distributing outside of the app store
Didn't they still get into trouble for that or am I confusing it for their payment stuff?
i have no clue
Mhmm, but I do remember the news about EU is still going after them anyway for not following the spirit of the law
they still got into trouble for that iirc
Yeah, but like, for which one. Because the playstore 3rd party payment stuff and side loading are two different regulation IIRC
OH MY GOD im almost there
never, unless something happens (which will never ever happen)
people are known for being soft on things being pushed by corpos, but i hope people will not let that slide
What I am salty about is their OS is not some freeware
People legally need to PAY to use their OS
And the experience is... that
people
legally
people legally need to stop using cheats in cs2
however, legally no one cares
or, people legally need to pay to use their winrar
Yeah, windows does offer trial and a way for you to use the OS without paying much like winrar
But OEM just shove it to consumer anyway
Without any real options to opt out
crazy how there are only two correct sentences there
or one even, she does not post videos
you mean the cost of windows included into the price tag?
I know it's not the full price
Windows Refund Day was a protest that lasted a day, on February 15, 1999, due to Linux users being unable to get refunds for the bundled copy of Microsoft Windows included with their computers. Multiple protests took place outside of Microsoft offices in the US, with the most well-documented one occurring in the San Francisco Bay Area in Califor...
It's even more dire
ssh root@🍆 is a fun command to type out
If the spec doesn't say anything about encoding, slap utf-8 support as feature not a bug 
i mean, how will native emoji speakers assign hostnames otherwise
the base model does not know anything at all
only shes an ai vtuber
you said you're pretraining though
ye
pretrain harder 
on top of a non-it model
it's hard 😭
no shit, why do you think companies spend tens of millions on compute alone to pretrain them
yeah but like
they opt for like
math or whatever
i'm aiming for pop culture which is way different than what these llms are optimized for
i'm trying to cram so much knowledge at once
lol
most papers are
teaching the llm 50-100 facts
in my case it's +100k facts
the problem in this case was that we allowed spaces in hostnames
which.. is fine, but the Go part of our software couldn't handle it
cause of course it can't.

also, in the process, we found a path traversal vulnerability. guess what again: Rust code could easily prevent this with standard library methods. But Go std? nah.
the more I have to work with this plague that calls itself Go, and the weird ass decisions I see standard library devs do, the more I fucking hate it
like deprecating a method and not suggesting an alternative..
okay, mini rant:
The way to prevent path traversal in Rust:
- canonicalize both paths (the dir you know the file is in that is being accessed, and the file name (which can be a path because user input))
- check if the target path is inside the known path by checking if the former is a prefix of the latter
- if it's not, bad path, abort
The way to prevent path traversal in Go:
- join / with the target path, so it becomes /filepath
- then join that with the target dir, so it becomes target/filepath
This shit smells like workaround holy fuck.
Even NodeJS has path.join lmao
I mean thats what go uses. But to use it to prevent path traversal is bonkers
canonicalizing a path is way better because this then handles stuff like symlinks correctly. which a dumb join doesn't.
But the way you worded it sounds like you deal with raw string (as in, prepend '/' to the string and then prepend the target after that)
And yes, NodeJS path I think canonicalize the result
no it's worse. you do "/" with "filename" and then "target" with the result of that, to get "target/filename"
this brings back horrible memories of trying to canonicalizing windows paths 
and while I recognize that that is safe and should prevent traversal, it is the most batshit janky solution I have ever seen
Yeah, NodeJS has fs.realpath that canonicalize
luckily: Rust handles that too!
but Go? good fucking luck. here's methods to convert a path into a "local" one (replaces / or \ with the respective correct one for the system), but does jack shit about symlinks etc.
So golang is indeed cursed lmao
pretty sure something similar like that also exists in Go. It's just apparently not the preferred way to do it?!
when i tried rust couldn't handle the edge cases that windows supports
I think there was a whole patch release about something like that lol
anyway, fuck this language
wouldn't surprise me, there are like half a dozen ways to locate a specific file
go is very much the opposite of rust, for better or worse
Do lens modelling on your own ❌
Spend a day making a complex program to do just lens modelling ✅
imagine modelling a 14nm lithographer in blender
mark off your bingos!
have you tried vibe debugging it
debugging what?
I just in general don't know how to do it
I didn't have the bingo on hand. also how did you send that message before the actual message
bro tried to ping everyone 
oh :D
That's something lmao
Do you have a vision of what the web will look like tho?
Because it will determine the best course of action
Your best option if you don't know any programming languages is to use a website builder, there's more to creating a personal website than just writing the code
I genuinely think that person doesn't even know that what they're asking for is "Vibe Coding". (I will always put that in quotes because the name Implies actual knowledge of programming)
This. But also, you can go away with some generator if all you need is static site
you'd have to host it too, make sure it works fine on mobile devices (you can't trust the llm to just.. do it for you), and other things
Actually, you can also just not support mobile 


i'm currently dealing with "a json object is apparently not a json object despite being passed through JSON.parse"
I have just figured out what vibe code is
Use unjs parser if you're parsing from potentially malformed input
shouldn't be malformed 
I was genuinely worried that the ethical creation of neuro wouldn't translate to the community but that fear so far has been mostly abated.
tysm
Wdym?
Appreciate it
To my knowledge Neuro is trained on Willingly supplied information like twitch chat rather than scraping random stuff. As an example. I was worried that there'd be a bunch of "Use AI for everything, scrape everything" people
its still using a base model thats very much not ethicaly created
it parsed it as a string[]
You're at #programming where it is the dwelling of people that sometimes has to deal with scraper DDoS-ing the neuro wiki
And you said it is not malformed lmao
Where is this supposedly JSON come from?
you're here at neurocord, a community built on bunch of insane weirdos, of course they won't behave like normal weirdos

roight
it's coming from a call from the frontend which sends
JSON.stringify({
op: "obs-end-of-segment",
data: {}
})
through WebSocket
Normal weirdos is wack lmao
its not like every second day some weirdo pops up in here
I'm on it rn thanks for all the advice ya'll
Lmao. What runtime is the receiving end? JS too?
It has been a while since scam bot at least
Thanks cloud for always removing them
yes, both ends are JS. one is web, one is node.js. there should be zero difference in the returned values 
Indeed it shouldn't lol. This is where console.log based debugging comes into play 
lemme guess, it's a type-safety problem 
idk if you saw but 4.5 has custom lens shaders instead of having to manually make the lens
do you meant the ray portal bsdf implementations?
the annoying part is that the websocket call is based on a timer, so every time i wanna debug, gotta restart the timer
timer

I don't wanna deal with json ever again
Nah, type safety ain't it
there's a new lens type in cycles called custom where you give it a shader
idk really what else to say
????? trimming the output was the problem????
oh OSL cameras?

i love js 
Try sending it manually then. Just make a button that sends it
like you basically write shader codes for a custom camera
I think so?
Wha....
that is indeed the fastest way(in render time) of doing lens simulation, but it would require you to literally write lens specifics and ray intersections in OpenShaderLanguage
I refuse to


There are two reasons I despise JavaScript.
1). Not statically typed
2). The semicolons being a suggestion and the fact that that means it has to be parsed in a way that makes the way I prefer to handle some elements invalid because it limits what can be on a new line more than other languages.
I don't think I've ran into 2
I don't remember specifically what it was but I do remember being very annoyed that I couldn't put it on another line.
Question: since a lot of vtuber servers with a tech chat basically puts all tech topics in 1 chat, some name them programming, some name them computers..
Is that the case here too?
Or do i need to go somewhere else with questions about hardware configuration of my first pc build?
All technical talk should go here. This includes programming, hardware, networking, security, mechantronics and so on.
Oh right, that was my fault
So, i have this list of components:
[ ] CPU: AMD Ryzen 9 7900X (€349)
[ ] AIO Cooler: NZXT Kraken plus 360 (€192,49)
[ ] Motherboard: Gigabyte B650 EAGLE AX (€139)
[ ] RAM: Kingston FURY Beast 64GB - DIMM - DDR5 (2x 32GB) (€164,90)
[ ] 1st SDD: Samsung 990 EVO Plus - 1TB (€86,90)
[ ] PSU: Corsair RM1000e - 1000W (€169,90)
[ ] New GPU: Gigabyte AMD Radeon 7600 XT 16GB (€364)
I mainly wanna use it for programming, music production, the sims 4, minecraft and gta v
Is this good for that? Or do i need to change some things?
Kind of everything BUT AI
Including game dev?
Yeh
I don't see anything off with it. Are you targeting 1080p?
As in, using 1080p monitor
I was planning on buying 4k monitors, cuz the ones i want, the 1080p version is not much cheaper
But at the moment i have 720p monitors
I'd personally recommend getting a cheaper cooler like an arctic liquid freezer and put the extra budget towards a better gpu
only question is why an AIO over an air cooler?
To be honest... looks
That too, unless you're space constrained an air cooler should be able to handle the CPU just fine for like a quarter of the price
Hmmm, for 4K I think it is indeed better to lower your cooler budget a bit
Well the thing is.. i don't really have a set budget
This is a project i wanna spread the buying of the parts out over months
Are you fine with upscaling technology and frame generation?
I feel this is going toward nvidia.. which i want to avoid at all costs
Not really nVidia specific tbh. I'm just asking because for 4K, I think you either need to tamper expectation for the quality setting, or compromise with upscaling at best
But from the list of games, I think you're still good
I am not worried about money at all tbh, but morally i think i wanna set the limit for GPU at like 500 euros
Hmmm, then just look for something in that price bracket. Because the CPU is already a good pick IMHO. Or even get better motherboard if you want. Higher tier usually has higher quality component so it may last a bit longer
Get Sam to traffic get you a 3090
Not nVidia
She wanted to avoid it
Silly
Then either Intel B580 or something from AMD
For 4K I'd guess AMD high end is the only good option
Oh right, I forgot Intel Arc exists lmao
Cuz silly penguin OS and green fingerprint company don't like eachother very much
At least they're not planning for any AI/ML, that stuff needs Nvidia with massive VRAM
Meanwhile me with Linux and dual Nvidia working flawlessly
Yeah, but 4K still isn't sipping VRAM either
Like this one?
16GB is the recommended IIRC, so the AMD card is good enough as I said
But it is indeed not future proof
Working flawlessly
guys im a new coder but im having some error opening a python environment can someone help?
can confirm an amd 9070xt can run minecraft with shaders at 4k 90fps
That is indeed a B580
Be more specific please. What are you trying to do
But also not that expensive for a GPU these days
okok so like i am trying to open jupyter notebook from anaconda if u know what that is
At least on X11 with Linux Mint, there is 0 issues with using Nvidia on Linux, at least for 30 and 40 series GPUs
but this error is coming
Yeah, but does it matter if it's like an Acer or an ASRock or anything
Yep
damn i dont have image perms right
Do you need to run it on your PC or are you just wanted to learn python first?
Usually not, just get the cheapest one you can find, they'll perform within margin of error from each other
no im learning but its having launch errors
Then you can use https://colab.google.com
Yeah, remember that 16GB is the recommended so you may aim a bit higher like 20GB
I don't know any consumer card with 20GB
We've come so far that 4GB VRAM is considered small 
If you feel like stretching the budget a lil bit there are used 7900 xtx's
This one looks pretty
Yeah, usually like 24 right?
It just goes from 16GB on 4080 and AMD high end to 24GB on AMD 7900 XT/XTX and 3090/4090
A bit over my budget though
The problem isn't actually the money, but more that i find it difficult to save up all that money and see that i have that much, and then resisting to spend it
Currently the lowest spec card with 16GB is the 4060 Ti 16GB, but that thing is dumb if you're not doing specifically ML on it
Yeah, for 4K gaming at least aim for 70 series card
But isn't the Ti usually specced to be the same as the next tier? So 4060Ti may be as good ad 5070
Maybe i should just go with my original choice or the intel card first, and maybe upgrade later down the road
No, not even close
If upgrade is a choice, your original pick is good enough
4060 Ti loses to 3070
Then I will do that!
But its used to be like that right?
Not specced but they share the same silicon, just cut down
Ahh, I see
Maybe could even just mess with the settings of the monitors a bit and make them run on 1080p if it really becomes an issue for the GPU
Okay I lied that's not always the case
Nah, more like tweaking with the game quality settings
No, not really
Nvidia really made the low end garbage since 40 series
Before you would expect massive improvements in the 60 class and for the 70 class to beat the previous flagship, with 50 series the 5070 is basically the same as a 4070
I am talking about the pre 1000 era. 
Yeah.. or that indeed
Either way, I have a 4070Ti and 3090, that will get me pretty far
Like 750 Ti is equivalent to something 60
Oh, so it is the reverse lmao
Not that the 750 Ti is better but the 60 series is trash
I also happen to have one of these HD7950 laying around
It's like 90 >>>> 80 > 70 ti >> 70 >> 60 ti >>> 60
Not gonna be able to do much probably
But still.. i have it
I THINK, if you're using 1080p it is still serviceable
You'll probably run into software problems more than anything
I think imma buy the GPU as last anyways... i could probably use this one until i have bought the newer one
Yeah, but on linux it is a safe bet I think
Luckily the AMD cpu i listed has integrated graphics
Arch even has wiki https://wiki.archlinux.org/title/ATI
If the old gpu doesn't happen to work i could fallback on that
I found the thing at a dumpster, so either it is broken, or it actually still works, but just sat collecting dust in someone's home
Or third option.. cuz it actually isn't that dusty
The person just recently got a new GPU
That's insane
Meanwhile I'm still rocking a 1050Ti on my shared rig with my older brother
Can't afford new GPU in this economy
welcome back
thanks 
sorry to this hell of which i have confined you


Ermmm okay
Wait
I actually thought about my financial thingies a bit
I may have even more budget than i intended
My idea was to just set aside like 200 every month, but if i calculate what i should have at the end of every month even after that, i can spare an additional 268.. that would make it 468 in total that i am able to set aside
a copy, but roblox captures inputs at the kernel level so idk if its even possible
@opaque wharf tysm for that thing but i managed to fix my anaconda it said one of the core files was not writable so i had to set it to writable and it works now
Sure thing. I usually used colab for quick sketch rather than polluting my own computer lol
you could use a microcontroller to emulate a mouse via software
yea but i woudl have to buy arduino wouldnt i
i didnt expect roblox to have such strong protection against copying inputs
all i want is data for my ai :(
awawawa
Why can't you be jitted?
usually dynamic control flow
setattr type things
or something that depends on runtime types
Why would roblox be so Strong with anti mouse capture
sometimes recursive functions
and usually functions with IO effects or that modify global state (where the interpreter has a global lock)
probably also functions that create dynamically sized objects
For once you're awake in the morning lmao
Oh wait, no
You 00 is my 07 AM
And it's 00 here, so it should be evening now
AbleCorp 
yeah, though you could probably go cheaper than an arduino
ablecorp is a benevolent megacorp 
goodmorning

KONII, how much did you sleeep???????
cuz ity looks like you slept only 6 hours
6 hours is bare minimum tbh. 6-9 hr is the ideal isn't it?
sleep more
are you a hibernating species
That's a luxury ngl
i hibernate during daytime so kinda
i got my well deserved summer break
konii is seemingly just jobless
Ohh right
smh sam don't you know hibernation is bad for your windows 
i dont remember what the diffrence is
me neither tbh
i have a part time job tutoring, but it pays very little 
Neuro is Neuro Samantha. So is Evil also Evil Samantha?
if samantha is a last name then sure
but without hibernation i would be losing all my unsaved data constantly 

Sleep is just going to RAM, Hibernate goes to storage
this is actually not a joke, my pc doesn't post half the time i wake it from sleep
idk I just got sick of hibernate hogging 64 gigs of storage
its a secret 
It is proportional to the amount of RAM you have
it do be like that
aight that means 56 i guess

Because it needs to store the whole RAM to the storage
my uptime is 17 days, i love the suspend button 
konii is the linux grandma 
https://en.m.wikipedia.org/wiki/Color_television
apparently i was born in 1928
how long does a colour television usually live
uhh
10 years? maybe 30 at most
o7
about 30k hours of continuous use
konii are you lcd, oled, crt or led?
3.4 years typical lifespan
crt apparently
Continuous usage tho. That will strain any device
smh konii you should be sleeping more
Does that give hospital UI vibes?
how do i phrase this correctly...
"are you under continuous use"???? 
my computer often wakes up from suspension while i sleep, idk why 
idk what hospital ui means
Operating
looks like ancient windows though
In sleep and hibernate your NIC is still active and can be awoken by any number of things.
It is always those damn ghost that wanted to up your electricity bill
I'm gonna make it simple: I hate coding for GUI, But I want to finish that.
i was only supposed to live 10 years according to some napkin maths
If this doesn't need to be used by actual people its fine.
If it does I'd recommend some kind of UI framework because it can do all the hard parts for you.
hmm 
Yeah, it do be like that
Gives default JVM UI vibes
USB devices are also common culprits and can also wake the computer.
That is also why it looks so bare
function disable_wake {
powercfg -devicequery wake_armed | Where-Object {
$_ -ne "" -and $_ -ne "NONE"
} | ForEach-Object { powercfg -devicedisablewake $_ }
}
i have this little oneliner i like to run every now and then
Dang, it is tkinter
Just get an optane SSD as your windows drive.
Your computer will boot faster than it wakes from hibernate.
is that powershell
yes
it is
then how does that help me
Looks like it
you can tell because of the warcrime command names
Meanwhile toast is asking what did people do to bork their windows install
Excuse you?
While your own windows install is itself quite cursed 
it goes through all devices that can wake the system and disables that functionality
dude you have no idea, my windows is beyond cursed
but i can also deal with it so it's fine
But jokes aside, What should I use for easier GUI developement?
i recently moved onto %PATH3% btw 
I just ordered the case and the motherboard, my pc project gonna me awshome!
There is probably something you could cat > logfile.txt somewhere in /dev/...
What?
Wtf is that?
Up to you
You can even do SDL if you want
toast you're a windows power user lmao
heyo
Is your path so long that you need to have path 2 and 3?
yes
GUI development is pain either way
didnt mean to reply
Gonna be awshome*
Just use cursor /s
Sorry that was a wrong reply lol. Should be for toast
Oh alr
I use Python btw
nice we both fucked up our replies
Why are we like this
Yes
Any language can use SDL
but yeah, me and windows have a very strong love and hate relationship
I assume you're using tkinter?
Okay, I might go to SDL in the future... But for now I just don't want to deal with that past theme rn
Angular /j
tbf if it wasn't for my cursed audio setup i would be daily driving linux already, the one game that kept me on windows is dead to me
Try to look into QML if you want
i'll figure it out eventually i just haven't had the time
does sdl have built in gui?
What did you do to your audio setup?
It doesn't really matter what you use, GUI will be pain anyway
Wait, Why Angular JS?
Because it is easy to write GUI in HTML+CSS+JS
lots of routing and too many VSTs i'd like to admit
At least it can make rectangles and detect clicks, so that probably counts
Isn't that a Coding language?
Routing can be done with pipewire, but yeah, don't know about VST
Nvm
I use Python...
I don't know if QML can be integrated to PyQT
Well if you look atnmy original reply.. notice the "/j"
But if it could, then that would be easier I think
Oh, as "joke"?
It should be
Yes
Oh (。_。)
the problem is that the moment you need any effect you're pretty much forced to use jack apps from what i've seen which uhhhh, idk if i want to larp as an audio engineer 
Btw, I use Visual Studio Code
Oh, you're right https://www.pythonguis.com/tutorials/qml-qtquick-python-application/
If only Ableton and Serum2 were available for linux...

VST already implies audio engineer for casual user lmao
The closest you come to that is bitwig and vital
Btw, is that good?
wave link makes the whole setup very easy and convenient so it's hard to give that up 
at least i have wsl2 
the "command" sg is just that I can quickly test the GUI
that is the short name of "start gui"
Honestly, I'm surprised there isn't a linux app for it yet
Or bitwig and Serum2 through wine and yabridge
if elgato ever makes a linux version i'm gone, instantly
Configuring system things through wine sounds ever more cursed ngl
but i doubt that'll ever happen
Wait, What is WSL2?
It is.. but sometimes there is just no other way
Where?
Ignore that I have IE11 installed...
i think it's enabled by default on any somewhat modern build
That's a lot of built-in services...
As in, built-in stuff that is available on MS Windows
can try using the wsl command
How do I check about the version?
you know how they are with backwards compatibility
On latest windows update, it should default to WSL2
In powershell with admin privileges
$ dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
$ Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -All
$ wsl --set-default-version 2
But I need to install the feature...
Yeah, specifically this section
https://learn.microsoft.com/en-us/windows/wsl/install#upgrade-version-from-wsl-1-to-wsl-2
I don't think you have to for windows with latest update?
I have Windows 10 22H2 (Build 19045.6159)
Oh. So I didn't have to...
Again.. #programming message
Because that prompted me to restart
Also the $ is just to let you know "this is a command" you shouldn't include them when copying, and you shouldn't try to run all 3 in 1 line
Last line did the same thing on PS
for some reason my PC want's me to restart so bad
You really should
I don't restart after installing Programs...

On windows you really should though
I restart my PC just every quarter of the year, nothing went wrong yet


Bro treating windows pc like a linux server fr fr
Alright, I ran out of despair emote
I have a server that runs on Linux that I pay for.
But really, you should restart after every update ideally for windows

Nothing could happen if I only restart every quarter of a year.
I am surprised things even work at all on your end
Why are you two flabbergasted about that?
To be fair, if you didn't install new program that requires either driver or some kernel thingies, it is probably fine
But in this case
But driver update is pretty common I think
And even in linux, if the kernel is updated, you should restart for it to take effect
Wait, I use that Driver, Should I update it?
That too
nVidia release driver quite often, so yeah, ideally you should restart it
Somethings even break in linux after a kernel update and you try to use them before restarting
Otherwise, the driver doesn't really get updated
I can install the driver and then continue
my favourite thing is when i update my nvidia driver and then try to use nvidia-smi inside wsl2 and it just segfaults
That's totally great
Sure, you can. But then the update doesn't really take effect until next restart
I was confused about "55.8 GTexel/s" and thought why is your GPU processing 55.8 very large versions of a dutch island
nah the graphics driver is replaced in-place just fine tbf
though i would still recommend restarting every now and then for good measure
Oh yeah, windows flicker when the driver is replaced
I just wait rn that the render clients are done
it switches to the basic renderer when the dedicated graphics driver isn't available hence the flicker
Yup
Man, my NVIDIA Quadro M2000 is like a snail right now
Sure, it only has 786 CUDA cores
it flickers a lot less if you update graphics drivers over remote desktop
I use Remote Desktop that I can control other PC's I own
brb
I mean
you do you, but I wouldn't advise it
I was mostly musing about it because I accidentally did it without thinking
afaik the rendering just cuts out and recovers shortly
RDP should be able to recover from it hence no flicker but temporary loss of frames
when it drops frames it just lags as opposed to giving you black frames
Oh. if I do something like that, I do go to the PC directly, But if I control the PC longer than like a minute, It is in the same room and no one else uses it.
True 🤔
idk how windows' remote desktop stuff handles it but sunshine got a bit unhappy because it was using hardware accelerated encoding
Alright, All render clients are paused now
Time to do what everyone in here Loves. Updating stuff without restart
I don't get why people are so allergic to both updates and restarts
I'm just allergic to it because I really don't want to start the programs again.
And I install Version 577.00 rn
if only there was a mechanism to start programs automatically, not sure how you would call that.... autostart maybe, huh
True, but I don't run the clients all the time btw
PS: What one is the Taskmanager of the PC shown?
Fiiiine, just for you I restart my PC
YOOO, that driver works with that GPU :O
That is insane
brb now
it's just a bit of a hassle at least for me
I'd have to relogin to everything
Anyways, I have that triple monitor setup
Great and now I don’t have Internet
I’m writing this via my phone
I just restarted my switch now
It did literally nothing
Reeeeeee
Oh great I don’t know what is going on with that device
All my Internet goes through that
And then through the repeater
The most right cable is going to it
Mhm. The problem with networking is there is SO MANY point of failure that it can be quite hard to debug
Should I just restart the repeater?
The basic one is, does the whole network is down?
It is not actually
As in, every device that should have internet access, cannot access the internet anymore
I checked the router and it is not having an spasm attack
I’m using the Wi-Fi through that phone right now
Then check which device the PC is connected to
Hang on
Is it directly to the network switch or via other thing








