#programming
1 messages · Page 138 of 1
I did a 512x512 Eulerian fluid simulation in C++, CUDA, OpenGL: https://vimeo.com/1109607095
Just Thread.sleep(1_000_000)
Sleep in the bath tub 
wouldn’t recommend
Aight imma sleep
I know i said i would do the vertex buffer today but linux happened
Ill do ot when i wake up
Also ive been thinking, im pretty much stuck at 15k fps with how vulkan works, i could maybe stretch it to 17k fps if i do manual memory stuff
But like
What if i just dont draw a new frame if nothing in the scene changed? I could easily get 50k fps like that
this is horrible lmfao
What are u trying to do this
Which ai (how to fill ram WITH this one )
it doesn't count as a new frame if you don't actually render anything 
it's also not an optimization that game engines can really use effectively, everything is too dynamic
Ye thats why i thought
The yt video about "highest minecraft fps" did exactly that tho
It feels like cheating
MY TEACHER IS SUCK
The thing with skipping a frame. Nothing on screen changes, bjt you dont have the overhead from the cpu-gpu queue
So like ofcourse you can "draw" 100k fps
It becomes a game of 10000 cuda cores, 1500mhz, x amount of pixels
hot take but, why would you want 100k fps
Im wrong on this, its the cpu clock speed that matters since if you skip drawing a frame you're not interacting with the gpu at all
That is basicly the only way to get more that 100kfps
Unless you start optemizing the compiled code manually
If you're not drawing a frame, the only thing the mainloop would be doing is incrementing the framecount.
Ok enough schizoing about frames
Gn
are you still only drawing a triangle
Yes
Altho there wont be much diffrence between a single triangle and 10000
Cuz im cpu limited
Gpu us at 40%
higher FPS means more stressed out your CPU is
at some point the CPU won't be able to process/schedule a frame faster than that, even though the GPU still can
sam you've made be curious about your shenanegans again 
literally leave me alone creep
yo chat i wanna improve my code more
can anyone give me ideas involving tools for text
like prefixer, suffixer, etc.
Hmmm is there anyone familiar with fedora based bazzite system?
I want to install libc++ but bazzite cannot use sudo apt get
make a regular expression (regex) engine 
with perhaps a minimal subset of typical regex engines
you use dnf install on fedora basef distros
Woo ok wait let me go check how to use it
Theres not much information for install android studio sdk on fedora and this is my first time dealing with linux/fedora
hmmm can i really do this?
my skills are becoming rusted n shi

State machines 
github copilot
oh
I misunderstood
do AWA5.0 byte-code compiler
Updates to ChatGPT:
You can now choose between “Auto”, “Fast”, and “Thinking” for GPT-5. Most users will want Auto, but the additional control will be useful for some people.
Rate limits are now 3,000 messages/week with GPT-5 Thinking, and then extra capacity on GPT-5 Thinking mini after that limit. Context limit for GPT-5 Thinking is 196k tokens. We may have to update rate limits over time depending on usage.
4o is back in the model picker for all paid users by default. If we ever do deprecate it, we will give plenty of notice. Paid users also now have a “Show additional models” toggle in ChatGPT web settings which will add models like o3, 4.1, and GPT-5 Thinking mini. 4.5 is only available to Pro users—it costs a lot of GPUs.
We are working on an update to GPT-5’s personality which should feel warmer than the current personality but not as annoying (to most users) as GPT-4o. However, one learning for us from the past few days is we really…
tools for text
Holy course correct
markov chain 
Markovbaj my beloved
Welcome to AWA5.0, the future of vtuber based computering. In this tutorial we'll go over the basics of the language, as well as write a Hello World program. Happy coding!
EDIT: I made a mistake, ASCII uses 7 bits to represent a character, not 8, and AWASCII uses 6, not 7. Let's be accurate!
AWA5.0 Specifications: https://github.com/TempTempai...
i noticed it happening when it thought for 20-60 seconds recently
awa
awa
I mean, it is a tool for text

and it's an interesting tool
my nuro.rest 
Not working🥲
I give up
Windows it is
yeah i cant bring that back unless i have funds
sadge
ok as much as go feels weird to use I am starting to understand why people might choose it

still never going to use it
the space of go fans is somehow even worse than the space of rust fans
awa
you cant install things normally with bazzite as the system files are read only
also hi programmings
maybe its because rust reached a high popularity so the rewrite-in-rust people are satisfied
I am only using go because the alternative is worse
time to figure out how to pipe two tcp streams together with zero go experience
they would be if they weren't a worse version of Erlang/BEAM processes
-# mostly because of the OTP, but still
is there a way to help vedal with programming?
i really like ethical AI and i feel that this world needs more of it.
"ethical" AI 
we need a new direction
my ai steals ethically
if you have art that means you weren't working in the mines -> you're the rich -> i'm stealing from you ethically

how do you know they aren't drawing in the mines
from the lack of coal dust between pixels
oh wait how do I do functions with a instruction-based language 
I can only simulate SIMD
you make arbitrary decisions and say "this block of instructions is now a function"
"hey neuro, i wanna see a magic trick!"
i would assume you’d have labels stored somewhere in the program which is just the offset of a specific instruction and then you can just move your instruction counter to the labels offset
and then you’d need to have a system for function ages
that's what the Label(lbl) do, except you need to manually handle the returns your own
I meant how to call the functions
oh I see now
holy that's some pretty complex rewrite to the original specification 
jump to the offset and shift call frame
yea I need some linking magic
shouldnt be too hard
you got this fr
I'm bad at coding
well i used bazzite because I thought linux android emulator is better
if in doubt use AI to analyse the code and test extensively or alternatively just send code ur unsure of here xd
But anyway I got it running in windows

vwa


"look at how innovative our language is, we have this feature invented in 1950s! still not satisfied? look you really don't need much more, but just for you, there's one more feature invented in 1970s"
Edited is like unedited
ok go is certainly going
btw i would recommend making some test units for ur compiler
what programming language has a idea invented in the 2000s though

i recommend googles test suite or alternatively boost
goroutines
yep I'm going to

c++?
an idea*****
rust frfr
ye
googles test suite is the way to go, its relatively simple and gets the job done

wait there's rust bindings 
rust invented programming
or well a rust wrapper over the C bindings
:neuroTrue:
although google is a bitch with their dependencies (take a look at protocol buffers)
protobuf awa
got me fighting for my life trying to compile it
awa
awa awawa awawa awa awa awa awa awa awawawa
awa awawa awawa awa awa awa awa awa awawa awa
awawa awa awawa awa awa awawa awa
awa awawa awawa awa awa awa awawa awawa awa
awa awawa awawa awa awa awa awa awawa awa awa
awawa awa awawa awa awa awawa awa
awawawawa awa
awa awa awawa awa
2 0 3 1
free test (idk if this behavior is even correct the spec is not very clear about this)
...and of course they're 2 years out of date
I'll stick to writing awful go for now
hold let me boot up my termux and test 
my colleague is talking to me about rewriting a c++ multiplayer game server that we use in go (i have not touched go at all)
a choice i wouldn’t make
yeah
i feel like c++ is fine, but it’s mostly due to because i’m better at c++ than anything
and my colleague doesn’t know c++ so..
well he’s learning but
apparently go rivals c++ at compilation time and exec time
in some cases
which i find hard to believe
theres a lot of ideas that exist theoretically but havent reached a state that's good enough for general adoption 
yeah i can believe that but exec time i find kinda hard to believe
as for speed, the reality is most things are not just raw number crunching so they'll be pretty close
even algebraic effects have appeared in literature since very late 90s but they're still not used in any mainstream language
i’ll have to try to learn it when i get back home
my current view is that go's networking feels really icky
but c++ imo is kinda weird too, you have so many functions for setting up a socket and to let it receive connections and packets it just feels very convoluted
and due to my stupid self trying to get build time as quick as possible (we use a CI runner for this) i don’t use a lot of dependencies
I vastly prefer that over the way go's stdlib does it
so using a helper is off the table
on a scale of 1/10 how bad is it xd
arguably, borrow checker is an idea from 2000s
it depends on what you define as bad
yeah true
basically though all of the tcp listen functions are in the format Listen(network string, host <either string or address struct depending on function called>)
and then network defines whether you're doing dual stack networking, ipv4 only or ipv6 only
not to mention the existance of net.Dial
I do not like this thing
oh god yeah i just looked that up
wtf
thats super weird
why don’t they just use the same function??? 😓
it would be much better to do something like net.Listen("udp", "*:8000")
ohhh i see
*:8000 makes no sense as a listening ip but sure
i do NOT know go 😓
usually that’s how you would listen on .NET so i just used it
it would fail in every language I use 😭
fairs
0.0.0.0 is how you generally specify you want to listen on every single interface
* is a microsoftism
yep but im used to it so oh well 😥
definitely switching to nix next time i switch 
on one hand I like that you can simplify your tcp and udp into one function
on the other hand
who on earth though that would be a good idea
for two protocols with entirely different semantics
😭
I waited 3 minutes
Rip 😭😭😭
hate when that happens
do you have a main function?? it’s saying you don’t lmao
we have gentoo at home 
im ready to cook my cpu for science
i will use literally anything but portage


aaaa I hate this so much
you will probably still just use tabs but anyway the preferred indentation in the nix ecosystem is two spaces
g++ -std=c++20 -Oz -o awa src/AwaConverter.cpp src/AwaInterpreter.cpp src/main.cpp worked
Fuck gold linker
Doesn't compatible with termux
why in the hell do you expect anything to work on termux
its packages are outdated and hardly anything is supported
bwa

use lld instead
gold is the gnu linker, i dont expect it to be very portable
don't use the word outdated, use stable instead
its stable like debian 10

I can see that avif on mobile
niuh
niuhs
please gods of go allow me to figure out how to write this
let (mut conn_a, _) = listener.accept().await.unwrap();
let mut conn_b = TcpStream::connect(...).await.unwrap();
let (a_send, a_recv) = conn_a.split();
let (b_send, b_recv) = conn_a.split();
async fn pipe<'a>(from: ReadHalf<'a>, to: WriteHalf<'a>) -> Result<(), /* error type */> {
let mut buffer = vec![0u8; 2048];
loop {
let read = from.read(&mut buffer).await?;
if read == 0 { return Ok(()); }
to.write_all(&buffer[..read]).await?;
}
}
select!{
res = pipe(a_recv, b_send) => res.unwrap(),
res = pipe(b_recv, a_send) => res.unwrap(),
}
because the only current option seems to be some really annoying deadline-based polling on a cancellation
when you avoid polling you just delegate the polling up a layer of abstraction
btw tokio::io::copy
eventually you get to interrupts and its just the cpu polling
use channels and select i guess

the unwrap gremlins will attack you in your sleep
also ::copy_bidirectional
what
I would but unfortunately the goal is not to do this cleanly in rust, but to do it at all in go
yuh just use select
sure let me just put a ? on the end instead
will be meaningfully different 
its so clear what happened when a function that deals with 2 sockets and bidirectional data transfer returns an io error 
when something go wrong, ending program execution is OK!
thats why we have unwrap and unwrap_unsafe
if I was writing it more thoroughly I'd wrap the error but lazy
unwrap_unsafe continues the program which is UB
that code was 100% written in the discord chatbox
unwrap ends the program, there is no UB
thats why we have expect
I guess this works, kinda. 
oh damn go has basically exactly this
better than the JS implementation
it just gave me undefined as the output
i like the libc++ error at the end after it's done
no idea if it works though
the bad variant access I assume due to wrongly treating div as a instruction that needs a variable, when it doesn't
hey @rough bloom , i got a polyglot file, wanna see
why on earth is it io.Copy(dst, src)
the error is probably from writing a stacktrace after everything's done
stack machines stack machines
go mention 
what else would it be
wait wrong reply

register machines are based and stack machines are bad
end of presentation

src, dst?
I feel like that's a pretty commonly accepted order
tokio uses it
This is just slander against AWA5.0
dw I already saw them 
polyglots are cool but no longer that interesting once you know how they work
I know that you can do some funny stuff with zip especially because the header is at the end of the file
memcpy and mov are dst, src
c does dst first so i guess that's why
is go complicated to learn 
ah fair
Aw man, you already changed again lmao
fair enough, I'll lose that argument
the original JavaScript interpreter takes account for line breaks, they aren't filtered out, it might be the reason why
I still dislike go though
if you're familiar with programming already you can get the basics down in an afternoon easy
no i dont care enough about awa5.0 to slander it
ah okay
this needs no introduction then
alright, ill try it out someday
yeah, I decided to keep it for 24h and then change back
its directed more at python 
it's literally designed around being easy to learn
Python is stack machine? 
python bytecode & interpreter yes
not for things like cython or pypy
wait for me to make it both reg based and stack based 
but for cpython yes
thats silly
x86 already does that
push pop awa

x86 is AWA5.0 extension confirmed
need to keep those tech debts alive, backward compatibility with the original specification is essential
the only advantage of stack machines i can think of off the top of my head is their simplicity
I think even on the hardware level it is not simple 
Or wait
first-in-first-out is based
they are much simpler on hardware level
you dont need to encode operands for simple instructions
no register operands
Yeah true
also stack machines generally have a smaller ISA than register machines for this reason
since there is only 1 size or kind of data on a stack

for these reasons they are simpler and can have smaller binaries and ISAs
but they suck at parallelism and pipelining
and their memory traffic is crazy
Yo
You won't have crazy memory traffic if every operation is done at the memory 
push
pop
push
pop
push
pop
memory traffic
its a pond because its depth isnt infinite
mhm
probably around 16 bubbles is enough
hbvm has 256 registers but its huge overkill
Nah, let's not call it bubble
iduno
@tender river do you recommend i use a graphical or minimal iso for installing nix
ive been a staunch arch user for the entire time ive used linux
ive used gentoo sometimes, fedora sometimes, and debian sometimes
i used popos once or twice

but arch has always been the thing i go back to
go the gpu route and have 2^16 registers 
i think you can just not install a DE If you want to with the graphical installer so there's no reason not to go with that
all the installer does is generate a temporary config that can then be installed anyway
im interested in bcachefs
but also i dont really want to go near it considering the linux kernel drama
yeah i went with btrfs because of that
Bubble Pond contains sentient bubbles capable of responsive locomotion upon calling.

last thing i'd like to deal with is my file system being kicked out of the kernel 

never used the graphical iso so cant comment but its probably gonna work fine
💀
is this written by AI
ye, only advantage is that with the minimal install you get to use the tools that you're going to use later anyway
but it's not too important
All sold out
wdym
Tell an actual power hungry datacenter
context stuff
do you get to edit the Nix files directly using the graphical installer
Yeah you can just close the installer and use the terminal
just use the minimal installer at that point 
Yeah but I don't want to have 2 installers on my drive 
Artist+ programmer ?
I give up and I can't draw an image i need ai models to do works

fair
I think I only have the minimal one around, the graphical one is too fat
Ure legend piece
what do you recommend
i have never used nix before
for the installer? minimal
mostly because it's 10x smaller and you get transparency into what happens
but graphical one is fine, you'll get practically the same system at the end
the graphical iso is just calamares; the minimal iso is super easy as its just partition + config generation + then just run nixos-install
just use whatever you want
calamares is nice
i will try minimal first
need to backup my stuff first tho
I will stick with no gui at least i can save vrams
i may even remake my ventoy disk because exfat doesnt preserve git repos
ok finally I made go bend to my will
note that by default anything in /etc and /var will just be there and not get nuked on reboot which is probably what you want, later if you want you can setup root on tmpfs so only /nix and /boot (and /home etc) have to be mounted persistently
Bye I'm going to my basement
the manual has a good summary actually
does anyone have the original files for the neuro-sama vscode icons
i have the nuro one but not the evil one
#neurotic-neurons message ip grabber
searching "create and format" didn't bring up disk management so I got scared
a wa wa wa wa
dism being not disk management is kinda bad naming sense
oh so reddit actually banned people from using their data to train AI
cool
:mhm:
Ba + 2Na = BaNaNa
sequel please
reddit is selling it https://blog.google/inside-google/company-announcements/expanded-reddit-partnership/
wouldnt make sense to allow taking that data for free
god fucking dammit go
apparently !ml means it was detected through machine learning
azaka please dont kill me if im wrong i dont know anything about windows
bro uses an antivirus in 2k25 💔
I would just like not care about this if I could
unfortunately this needs to live on a usb stick so if I'm tripping defender I'm not gonna be happy 😭
classic corpa 
why not corpo
ok stripping symbols seems to have fixed it
Mistral Small 3.2 Q6_K_XL my beloved

Azaka will not kill you. Instead, azaka will replace every OS on every compute device you own to some flavors of windows
Windows IoT, Windows Embedded, and (god forgive me for uttering this word) Windows 11
nix update
i have not touched the installer yet
because im too busy converting my files to better formats


spot the elvyn
i found her
also this is something you can use for dotfiles https://github.com/nix-community/home-manager/
(essentially a programmable substitute for something like gnu stove)
but it doesnt work super well for DE configuration since DEs arent made with external configurability in mind
gnu stove
no
gnu stow
i still dont know a good way of using home-manager
because if you make it part of your system it works well but now you have to evaluate your system and your dotfiles together which is slow
if you separate them it evaluates much faster but now your dotfiles and your system are potentially desynced
I have accepted my fate and am just storing all dotfiles via chezmoi and then non dotfiles home manager stuff in the config 
Does that mean I have absolute paths as string in my nix config? Yes 
`
the way i do it is
- nixos-rebuild boot
- reboot
- without opening sway, home-manager switch
- open sway
that way its mostly synced
if i update mesa old versions of packages built for old mesa stop working
so if the system mesa changes the package versions in my home profile have to also be updated
anyway i like home-manager but its because my configuration is quite big, if its small its probably more trouble than its worth
home-manager lets me use the same setup on my phone and pc
normal dotfiles wouldnt work because the configurations are largely the same but have lots of minute differences
imo, your pathway should probably look like this:
- first, just get comfortable editing your config instead of running commands for modifying your system
- then, look into using flakes (it specifies the exact version of nixpkgs used for your system, without flakes its stored somewhere in /etc or something)
- then, if you want to you can look into impermanence (to make your system more predictable by wiping everything that isnt allowlisted on boot) or home-manager (allows non-systemwide configuration)
https://nixos.org/manual/nixos/unstable/options.html is a lifesaver
also available via man 5 configuration.nix
random tip:
sed -i '' <some-path> to turn a file from a symlink into a regular file (useful if you want to turn nix-managed files into something to edit manually, your changes will be destroyed next time you use nix but its useful for quick testing/debugging)
hi i moved on from organising backups and changing file formats
now im on finding a different multiboot usb solution to ventoy
because i dont like ventoy that much
bwaa does it even exist
questionable upstream 
https://github.com/ventoy/Ventoy/issues/3224 there's this so things seem to be kind of happening but yeah
looks like everyone has just been arguing
just about 0 productive happenings
lol
Hey I'm just happy it's being acknowledged at least

the creator provided build instructions but basically nobody suggested a way of making them part of the ci pipeline. lol
maybe i will stick with ventoy 
yeah... i dont think there are any good alternatives
i could put grub on there and do it manually
mhm chainbooting
Achievement unlock: multiple at ones
STATUS: 4
2 years ago
sadge
might still work
oh it doesnt rely on grub chaining
i think grub chaining is the easiest way to implement it, create a grub config that has entries for each grub config on each partition
"easiest" this is just sad
seems like a hassle, i dont even know if will work
[download] Got error: <urllib3.connection.HTTPSConnection object at 0x70c92590a0>: Failed to establish a new connection: [Errno 101] Network is unreachable
[download] Got error: <urllib3.connection.HTTPSConnection object at 0x70c92590a0>: Failed to establish a new connection: [Errno 101] Network is unreachable. Check the URL or your connection.
Error
thats the way i implemented triple booting when i was evaluating nixos, guix and also had an arch install
screw it im just gonna
grub can just jump to a different config file on a different partition
i dont even have a nix usb 
Show ure command
my other issue with ventoy is it completely obliterates the disk permissions of all the files you put on there
since you know, exfat
apparently not, ive just been suffering for no reason
WAIT I WILL INSTALL ARCH
SIMPLE OR
MANUAL
SIMPLE: ARCHINSTALL
MANUAL: /DEV/Fat32
But you can have data partition after the ventoy no?
its a waste of space
now wondering if i bother with ntfs or just go straight to ext4
what is ventoy
Why would you want ntfs
multiboot usb thingy
multiboot solution
windows
huh?
got this hdd for like $18
You still use the USB to transfer file often?
that is entirely not the point
https://github.com/bobranten/Ext4Fsd
something like this exists, i will use ext4
Ext4 file system driver for Windows. Contribute to bobranten/Ext4Fsd development by creating an account on GitHub.
I've upgraded from a 5800x3d to a 5950x, compile times will be 15 seconds shorter now 
damn double core count
And faster cores too (over clocking as well)
theres also winbtrfs
yeah
yeah 5950x ccds are binned better
the page doesnt specify support for btrfs so im not going to touch it
The 5800x3d also has a locked multiplier cause the cache couldn't handle it
I’m making an online scratch game that’s Forsaken but scratch. Yes I only know how to code on scratch that’s why I’m a superior being compared to you mortals.
x3d aren't so good for non gaming workloads
they're expensive too lol
5950x goes for under $270 now
rich
nah, i hunt deals
basically, its a bootloader that offers a menu to load isos from a partition, supporting both linux and windows isos, even with extensions like provisioning with autounattend. used for easy multibooting, just throw your isos on the filesystem and ventoy will load them
$18 is 3 full meals for me 
Hey.. someone in another server said they bought the new macbook pro and that they missed the touch bar, and i remembered that someone shared a good looking external one here, however i cannot find such thing on google
sensel maybe?
touchbar
or maybe this https://eniacelec.com/products/flexbar
I think that was it yeah
apparently nix language doesnt support tabs in multiline strings

i.e. with spaces
''
abcd
defg
''
is just
abcd
defg
but with tabs its something like
abcd
defg
its also not subject to change in the future for backwards compatibility reasons https://github.com/NixOS/nix/issues/3759
Was looking at project thread and this reminds me of screeps 
its so over
cant use nix
You're team tabs?
but autoformatters cant be configured with tab support
at least nixpkgs-fmt i think
some other might be
theres like 3 of them
she is, uses them in rust and just about everywhere
i personally am team "whatever the language's standard is"
team 1984
Now I know 2 person that has strong opinion on formatting at #programming 
force everyone to do the same thing
Sam with the bracket and konii with the tabs
i use this bracket style in c#
true because i dont want to write another line of c# in my life 
i mean is preferring tabs necessarily a strong opinion
i get it’s 2025
i wouldnt call it a strong opinion, but i would call reconfiguring everything to use tabs and not using ecosystem-standard formatters that dont have the option of using tabs a strong opinion
strongly enforcing your opinion
My only gripe with formatting is the many toolings around it
Like, why can't a language have just 1 formatter
often they do
Most modern ones do
and if they dont its because the formatter was made too late
and the ecosystem is too split on how to do formatting
hblang uses tabs 
im fine with tabs 
also tabs are based because they’re one character and you can configure your editor for them to be as much wide as you want
also your source files are less in size
Not this again
i still think this is a stupid argument
im fine with tabs i just think uniformity >>>> particular syntax preference
4 
you save 3 bytes per indentation on 4-spaces-per-indent
wow
yall indent? 
2 space means more compact code 
not all languages need it
some languages have lots of nested structures (nix, lisp) and need compact identation
less in size than 4 
some languages would rather discourage nesting, like in C its fine to use 4 or even 8 spaces
I'm still fine with 4, but 8 is pushing it a bit too far
8 is intentional
Yes I know
its to prevent you from indent spamming
To discourage nesting
yeah 
i will nest however much i please on a particular day and 8 spaces is not going to stop me
So a minified js
just 1 indent
Minified C 
Can C even be minified?
duh
not the preprocessor directives
but everything else can be a oneliner
preprocessor is optional anyway
just write all the headers from scratch mhm
the code looks like this
int main() {
{\t}return 0;
}
middle line is 1000 chars long
:mhm:
apply preprocessor and minify after 
what do you mean, copy paste is all you need
Ch is a C/C++ interpreter and scripting language environment. It is used by teachers, students, engineers and scientists around the world
they forgot to add (unwillingly)
what even is the reason for this to exist
just compile it

Don't ask me 
that's just c
The most I need C to do is execute arbitrary math function
i can write ch too, watch
#!/usr/bin/env sh
out=$(basename "$1")
gcc -o "$out" "$1"
$out
"Oh we have this big project that needs script utilities. What language can we use to achieve it?"
"Why not use the same language as the codebase?"
BUT YOU HAVE THE COMPILER ANYWAY 
(said no one ever)
bwa
did you know it supports chromebook
fun fact, c also supports chromebook
c is also free for raspberry pi and ARM based computers such as orange pi

I can see a use cases to extend some MCU program space. But even then, C is a bad language choice
- use c (normal)
- use c (normal)
- use (literally anything but) c (god)
- use c (normal)
- use c (emscripten)
Say an MCU only have N KB of flash memory. You want the MCU to access external Nand chip and execute the program there. It's better to just make a bytecode interpreter instead of C
does this entire project, which costs $59 a year, exist only to avoid calling cc one time
please
diagram
what does it mean
Ch is C comptabile unix shell and it works in Windows/Linux/MacOSX/Unix. The shell features such as Foreach-loop, Here document, Verbatim output and variable substitution are supported. It can be used as a login shell in Unix/Linux/MacOSX.
i cant say i never want a c/c++ repl but theres igcc and clang-repl for that
:mhm:
Foreach-loop, Here document, Verbatim output and variable substitution are supported.

here document is an actual thing but uh
i forgor
In computing, a here document (here-document, here-text, heredoc, hereis, here-string or here-script) is a file literal or input stream literal: it is a section of a source code file that is treated as if it were a separate file. The term is also used for a form of multiline string literals that use similar syntax, preserving line breaks and oth...
so EOF in bash
this language is obsolete due to the existence of languages actually designed for scripting
python is an infinitely better choice of language
And this exists to evaluate math https://github.com/codeplea/tinyexpr
it was written at least after C99
I went to google "rust scripts" and forgot there was a game too, oh well
there is a way to write scripts in rust
🐥 🚬 searching for rust documentation, but you find rust documentation instead
rust compile times are a bit sad though so i wouldnt do it
just turn off the borrow checker 
mrustc
Now something like THIS is the one which suited the use cases that I said before (interpreting program on non executable memory region)
https://github.com/rust-lang/miri
i just vaguely remembered there being something
theres something like cargo script
I know
bwa
i do find it kind of funny how a lot of these languages are so complicated they need an IR for the IR
tiny bit unmaintained
theres forks though
https://github.com/fornwall/rust-script this looks maintained

I dont really mind the rust compile time, I think that's a fairly reasonable tradeoff. So I just use it whenever I feel like I can't get away with Python
im so grateful to reddit admins for banning 3rd party clients
i never have to touch the site again 
it is a cesspool
you know you messed up when you need incremental compilation to make things somewhat bearable 
i have it in my dns filter except for when i need to resolve a technical issue that no one else has
ok its time to reboot into iso
or is it
er
oh my vscode settings
if only there was a way to keep them organised in a central place, maybe even version control them 
yyup im doing that™ when i move to nix
good luck
hopefully painless, the worst that can happen is bootloader not getting properly installed, you'll figure it out
Famous last word
cooking time
if you have any questions i'll get back to you within up to 10 business days
What are you cooking?
mung+rice+veggies
Rice 
You should try liwet rice if you have rice cooker
Rice cooker reminds me of someone asking why we have rice cooker but no pasta cooker
Bro, if you can't cook a pasta then you're cooked instead
chicken/eggs 
Nope. Not needed for liwet rice
also i'd imagine something like lemongrass is hard to get in siberia
Ouch, yeah
That is one of the things that makes or breaks the liwet. Lemongrass and bay leaf provides the unique smell
we do use bay leaf quite commonly (dried of course)
Ye, I learned from Boris that the baltic region food tends to use bay leaf
But I imagine the variety of ingredients is limited in cold cllimate, so spice and herbs is not always available 365 day a year
you can just buy spices in dried/powdered form all the time
ginger is also always available
veggies and fruits tend to be available all year round (if at all) but of course quality and price varies greatly through the year
currently tomatoes cost around $1 per kg but it can go up to $4 in winter
Wow, thats quite expensive
You can also try to make peanut sauce / bumbu pecel. It's great for a lot of stuff
Bumbu pecel / bumbu kacang in ID
Look up kupat tahu. Its a tofu dish that uses the sauce
Something like this
Looks yummy
Got me wanting some too 
Make it, it's easy enough
Why choose btrfs btw?
copy-on-write, disk compression, subvolumes, and disk snapshots
Hmmm, fair. I just don't see the need for COW or compression since I don't store that much data 
I thought Evil stream is today 
Welp, bime to sleep
Sometimes I feel like creating my own file system from scratch and I mean like everything from scratch cause I guess it would be cool but I am not sure how many hours I would put into it but it definitely sounds like a cool project and I know I can do it
Smh

The quarrels of being a developer
i cant do that
didn’t they stop doing that in win10
i didnt install linux on the m.2 drive but i am wondering if its worth moving it to there
@tender river awawawa
its not like sata is slow but it would be faster
for inspiration https://github.com/chayleaf/dotfiles/blob/master/system/devices/msi-delta-15-workstation.nix
awa
How big is your m.2 drive?
1TB
im still fiddling with configuration.nix
I recommend installing it on tjete
any tips
there*

Holy keyboard typo
this mb does have a 2nd m.2 drive slot but i dont want to spend moneyt on that rn
you can just change your config later 
Thats fair
partitioning is the most static part of your system
like with arch its a good idea to start with something minimal that works and iterate later
How big is the drive with linux on it right now?
223GB
i forgot you can nix-rebuild
Ahh right, I guess it’ll be better for linux to be on that drive
Linux isn’t really disk heavy, unlike windows
Keep windows on the bigger disk for now

right, do luks now if you want to have it
my only tip
also in my experience impermanence is a tiny bit annoying to setup if you dont do it right away but its still possible so whatever
easier to grow a partition than to shrink it
no luks awa
impermanence 
i do not know what that mean

mount / on tmpfs
erf
bind mount the directories that you want to keep after rebootss
I really wanna make my own file system when im back home xd
hi vanor
help
i no longer use nix
hello vanor
guh
at least the system runs fast then xD

i like my system to break occasionally
he already stopped, you should say start. start using nix
why do i want to do that
makes life exciting
no vanor need to stop stopping using nix

ah
still figuring out how to salvage some of it xd
makes your system predictable
you know that your config is exactly what you get
rather than also having random files in /etc some software wrote
xserver 
i want wayland
xserver is just default on nix

since you dont use flakes its a bit annoying so feel free to skip, but if you want to look into https://github.com/nix-community/impermanence
wayland for lyfe
what is a flake

normally nix loads nixpkgs from a random path on your filesystem
skilled osu players account for latency in their minds 
i forgot about osu and x11
if you use flakes, it instead loads the version of nixpkgs specified in that flake
is it? surely if you enable Plasma you just get the Wayland version
i dont know 
do i want to do that
flakes are good but you can skip them for now if you want
awawawa
even with the native version it was still horrific
flakes make importing other people's code easier
mhm

if kerzgesagt says so it must be true. hail the mighty ballmers peak 
@native surge 
Dawg
im still waiting for rotation support on xdg-desktop-potal-hyprland
im gonna be honest
True
i have no clue what im looking at
looks like for Plasma you just set services.desktopManager.plasma6.enable = true; and you get both sessions?
I remember it being under services.xserver once which was confusing because half the options there had nothing to do with X11

just add this flake.nix file near your configuration.nix (replace <hostname>)
boom you're using flakes
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
{
nixosConfigurations.<hostname> = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
];
};
};
}
You code better with a bit of alc its true drink more always 
im a linux user, i see config file code 
you will also have to tell nix to use flakes by passing --flake <path to flake directory> to nixos-install, probably
what?
i understood the first part of the sentence but you kinda lost me at alc
that's a thing? 
I thought you had to install first then rebuild with a flake
-# I will probably continue doing that because it's convenient
alc is short for alcohol chat
i can't find the issue on the thing for rotations
but essentially obs has rotation support while browsers do not
i forgor what does this and why but that's why i can't be on wayland yet
can i have onedrive on linux?
with rsync anything is possible
rclone
on linux anything is possible (*with enough effort)
but like, would it save to my actual onedrive?
if you get rsync working with onedrive you might get cops on your door
oh
why tho?
rsync is essentially just fancy scp
We don't tell the part in parenthesis to the people who are just new to Linux shhh






