#programming
1 messages · Page 131 of 1
i was really hoping theyd drop a lot in price
because of nvme
but nvme is just cheaper
it turns out
makes sense because of material cost and size ig
omfg
why the hell
for some reason, even when run as admin, windows won't let 7zip access some files
are they created BY windows or like residual linux bits that it gets confused on
also, apparently ubuntu wsl has managed to create multiple files with the exact same name, which 7z hates
like it can't just skip over the duplicate files, it just fully errors out with no continue option
what filesystem is this drive
copying from ntfs
if it's ntfs
yep

it's probably ownership
you could tar those dirs from wsl
before you 7z
so it doesnt have to run across them
7z never skips
it will just explode
how is this possible
also, I thought that wsl was in vhd
windows cannot
ik linux is case sensitive, but is ntfs not?
nah you can happily cruise out of ws2 dirs
no it is not
windows (and ntfs) are case insensitive
and they are case preserving
if you open terminal there and just wsl in cli you'll be in wsl at that dir
you can just tar with that
wish 7z would let me exclude stuff
usually wsl will put the windows dirs as a virtual in /mnt
but the structure and files are fully usable
it can be a bit slow ive heard but i never had an issue
linux does not have a great affinity for ntfs
wsl on ntfs is super slow
yeah
i really didnt notice unless doing mass file ops tho
which i mean
you are
but
apparently this is possible from the CLI
LMAO
looks like the last 9/10 of my batch jobs
just watching them do nothing
openai mad that they finished fast so just hits unload at the end to make me actually wait the 24hrs
fsutil file setCaseSensitiveInfo <path> enable
i mean the gpu is in usage
if it's case sensitive i think 7zip will ignore that it would usually consider it a dup because windows/ntfs no longer would have a problem
this is so sad
i looked at that
and was like
only 179gb of vram
....
it really isnt
for anything serious
i mean i could put more ram i my pc rn
than that
wont be fast but
ive thought about it
Laptop suddenly have an identity crisis n
this will not do
i need the laptop to install random distros on every couple days
if i cant do that well
what's even the point of living
most definitely
vibe coding is using ai to do the programming for you right?
yeah
alright sweet
without looking at the changes, yea
that screenshot is EXACTLY what you're gonna get if u tell copilot or something to just build a faq
and literally do not ever even resize it
i see
ive been trying to learn c++ the past week after watching my buddy do it and heard it once through him in a vc
what other things are disgraceful or considered bad
it's a meme and also term of derisionj
say, why is it called vibecoding
it's just vibes
you jus vibing
not a care in the world
ah okay
i have found the main source of the perception are the people who literally have no idea wtf is even possibly going on in their codebase because they not only never even bothered to look, they probably CAN'T look because they dont know anything at all about programming in the first place
they just heard claude is good at brogramming and decided to try and make a AAA game or something goofy
and then people use it to make fun of themselves if they ever have claude or copilot or w/e just yolo a solution to something
10 mins for it to do a "quick fix" = 12 hours of fixing it after
vibe coding is alright as long as it's not being put into a prod environment seriously
if you are vibe coding something that will actually be taken at least somewhat seriously then you're doing it wrong
vibing is srs business
i am reminded of that guy who had never programmed before and used the firebase ai editor thing to build some generic search lead website or something
and then was bragging about it
and INSTANTLY got pwned
just check manually duh
had a bunch of api keys out in the frontend and such
can't believe people just exist without revising code
cant check manually if you dont know what you're looking at
you think someone who can't bother to check it in the first place would turn around and bother to have it check itself
yes
yes
why would they do that when it spit out perfect code the first time :^)
i do that
how do you manage to do that 💀
not checking lol
i vibe model w/ claude and verify if it is cutting off right gradients so
yeah skill issue for those who doesn't check
that's the whole reason for the derision
it's just a skill issue dunning kruger that causes them to think it's going flawlessly and no issues
and it's actually a nightmare
they just dunno how to recognize it
oh yeah i remember one case too
what was it
so there was this one AI chat service made with vibe code™
and the endpoints could just be accessed
also the DB could be accessed(read only, frankly)

someone who doesn't know shit about programming shouldn't be operating SaaS bro
also "for now, I will stop sharing what I do publicly on X":
- X mentioned, shields up
- that's not the real problem
also, I found copilot's email, ig
I'm just gonna make all my CI runs use Copilot's email now 
Yeah
I decided to do a little funny (to me) and request a review from it
Actually ended up catching something I missed
i like the code reviews lol
(I copy-pasted too much and forgot to switch out functions)
not having to ask someone to look at it with fresh eyes
they can sometimes come up with some catches
Goodnight 
gnight sam
I made the easy change for multi frame layer support. I'm still not sure how I'm going to do the ui to modify it, I was thinking a drop down but currently the total amount of frames gets generated by the highest frame that is in the layers so It would be weird to display the frames like that.
I added cut&paste because I got tired of not being able to drag things.
its a future me problem to figure out how to undo this action.
waylannnddd
everything but there are ones who can actually vibe and ones who should be banned from vibing

ive only tried about 40~ changes surely im nearly there
wp_linux_drm_syncobj_surface_v1#35: error 4: explicit sync is used, but no acquire point is set```
at the end of the day this is the issue
i'd honestly just switch terminals
oh i have
konsole 
i am just malding that it's a problem
ew
konsole is great
i like konsole, it's never let me down , it does well on rendering too
environment.plasma6.excludePackages = with pkgs.kdePackages; [
konsole
];
this is what i think of konsole
its not super fast but its also got minimal latency
i dislike alacritty because it has no features
NVIDIA proprietary drivers?
open drivers
recent tho theyrelike 575
i swapped at one point to see if that would fix it
nope
plus i have it configured to not look so cluttered
still uses the proprietary userspace components I think
they pretty famously have sync issues on Wayland so it would make sense 
wezterm uses this smithay-client-toolkit which just straight up refuses to not try and use wp_linux_drm_syncobj_manager_v1 which winit doesnt support
i also use ghostty but its got worse integration with kde
that's one thing konsole has going for itself i guess
konsole does well on rendering
send me that script bwa
i use it to test every terminal
kitty fails so does alacritty
where the hell did i put it hold on
bwa
ghostty outputting the same
yep here's ghostty
i wonder why \e doesnt work
does the __NV_DISABLE_EXPLICIT_SYNC=1 thing not work
would be kinda fucked up if not
if i force it to launch x11 it works fine
the env variables SHOULD work
but it ignores them
but not always
running message loop: error during event_q.dispatch protocol_error=Some(ProtocolError { code: 4, object_id: 39, object_interface: "wp_linux_drm_syncobj_surface_v1", message: "" }): Protocol error (os error 71)
heh heh
once again wezterm...
lets abandon wayland and move to a new, more robust software 
isnt wayland like 14 years old
bwa
xlibre time
yeahh no
yeah wayland is a spring chicken compared to xorg tho
for sure
its funny xorg has existed since 1984
x11 since 1987, according to wikipedia
i WANT to like wayland and use it but if i go back to i3wm on xorg and shit just works i am mad when i go to hyprland and it just explodes on launch
price to pay for using nvidia
honestly if your cpu integrated graphics are good enough just use them
i dont even have a dgpu
since the 11 in X11 is a version
presumably X9 and X10 were a thing
these are the only things i can find about x10
x9 has even less
x11 came about pretty much the same way this xlibre thing that just happened di
did
i mean x11 is just the 11th version of the protocol
but the whole Xorg split from project athena
Project Athena was a joint project of MIT, Digital Equipment Corporation, and IBM to produce a campus-wide distributed computing environment for educational use. It was launched in 1983, and research and development ran until June 30, 1991. As of 2023, Athena is still in production use at MIT. It works as software (currently a set of Debian pack...
i cant see xlibre succeeding in the long term
cuz of X consortium
it probably wont its just funny that the same thing happened again
i expect x11 will continue to dominate
you can have ya
xorg
xwin32
x386
xfree86
xdarwin
xming
xsgi
xsun
xgl
xephyr
xcb
xquartz
xwayland
how many has anyone ever heard of
2 of those
i have heard of 10 of those in passing before, but only know of 4
yeah idk if it even had a proper name like X11 does
it seems like they went through 10 versions very quickly and just ended up sticking with X11
well they stuck with x11 when they split from the corpo side
yes, they went from nothing to x11 in three years and then x11 remained mostly unchanged for another 39 years

everything is designed to work with xterm
cuz i finally got pacman to shut up and found the list of them again
yeah, at least the core protocol was unchanged
they made it super flexible so that everything can be done with extensions 
that's the problem with it tho
client/server & everything can mess with/observe everything
security oof
wayland still does client/server
yeah but in a "better" way that prevents the snoopin
they also freestyle like crazy and dont do things just because like
windows kinda does it
but that doesnt mean it's bad
yeah
though my biggest gripe by far with X11 is how they treat monitors
having multiple monitors is just not a concept in X11
yes, with x11 anyone can get input
with wayland, the server sends inputs to the clients
the same is also done with rendering. in x11, the clients draw straight to the screen, whereas in wayland, they are rendered into buffers and then the compositor puts those on the screen.
x11 is more of a suggestion than a compositor 

but yeah the opengl renderers for it like i think glx can
Xvfb is what you'd be looking for tho
apparently there's something called OSMesa for the mesa drivers that ive never heard of
OffScreenMesa
lol
renders right to a memory buffer bypassing the compositor and xserver itself
oh also this wayland wezterm thing
it's litearlly just
fractional scaling
if im at 1x or 2x etc it works normally
I'm just gonna become a Kali Linux live boot image only Chad
Laptop really likes Kali for some reason
Also I don't recommend 15 inch screen right along with a 32
It's a bit jarring
They do have a pretty cool logo I'll give them that
every time ive heard some form of turbo unhinged opinion on a distro that normally gets mostly... praise
it's a kali user
Kali users are weird
was reading some review of cachyOS as a distro and it was a positive piece up till the last few paragraphs
where they proceeded to assert that there is no usecase where cachyOS would be preferable to something REALLY good such as kali
and im sitting here like
the pen testing distro?
who has steam on kali linux
who needs steam when you can be a sick hacker 
my favourite part of cachyOS is that you can get all the benefits without actually installing it
i guess you could just use the kernel build thing to build yaself a nice cachy kernel and then go right back to whatever distro
just from the live cd
my kernel has
in the name so i never forget
i was more talking about the arch repos but i guess that works too
oh yeah i mean their repos ARE great and i put them on every arch i hop around to even if not cachy
just nice to have a lot of that stuff from a source that isn't billybob69 - maintainer
especially with the recent RATs on the aur
i mentioned the ILoveCandy pacman hook thing where the progress bars are pacman eating the pellets
using voice mode
to like gemini or something
and it misheard me to think i was asking it to make that but spongebob ?
so i now have to install this at some point
#!/usr/bin/env bash
if command -v cowsay >/dev/null 2>&1; then
printf "Who lives in a pineapple under the sea?\n" | cowsay
else
cat <<'EOF'
[S] [P] [O] [N] [G] [E] [B] [O] [B] SquarePants!
EOF
fi
http 1.0 is strictly one connection per request
it LOVES catting random shit
ive found if you stick them in a terminal llms will stick to the most basic possible text manipulation methods for everything if they can
which makes sense
mm
kek
there needs to be more ascii in every terminal
you build nmap and get
this should be a requirement
for everything
this poor tux has seen some SHIT
i accidentally clicked on this channel instead of general and am already confused lmao
you stare into the abyss and it may stare back

it's over
i'm using zsh with p10k (and also some fish frankenstein shit) and it works for me
so that's weird
lol, tbf i do want to learn coding eventually just ADHD makes me stop after like 2 days of trying to learn.
i guess germany does not exist
smol can't resolve the wm on wayland :(
there's no time like 4 am
im hoping to get an actual assessment done for my ADHD im like 99 percent sure i have it but i want to get medicine and maybe become slightly more able to do things lmao. i actually have the brain for it i know that. also yes i agree with that time, it is currently 10am and i have not slept lmao
i hope it's not too expensive in ur country
for my aspergers it was like 4000-5000 bucks
whew
jesus
i like to collect fetches
and i ran this one
scary tux again
but also running this one unmounted both of my storage drives
but yeah lucy you should join the abyss of #programming 
im from vedal land so it is free just have to wait ungodly amounts of time
where is fetchfetchfetchfetch
probably off with my ssn and scredit cards

not for everythingfetch
maybe, i do actually enjoy it and just gaining knowledge
smol doesn't work on my system >:(
well it does but it cant find wmctrl
mostly because i dont have it
which field are you mostly interested in getting into

259 pkgs matching fetch in my current sources
lotta dups and non-screenfetches but
jesus

this one was made for me
i dont even understand what that is, idk any specific thing really i mean originally i was wanting to make something like games but now idk i just want to learn a language mainly
i should make a lilac neofetch art
the things im spamming are all derivatives of cli tools that just 'fetch' system info and display them in a nice-ish way
been around a long time
very popular one is neofetch, this is fastfetch which i only found after neofetch decided to quit development
but theyve been around forever
and they have nice little ascii arts
for your distro
ah ok thats actually quite cool
you should compare execution times
fast is a lot faster (crazy)
hear me out, name the slowest one fastfetch and the quickest one tutelfetch
I have awoken from my slumber
LATENCYFETCH
are you finally computable
Lmao
congratulations
so what is the fastest fetch
compare all fetches
outer wilds spoiler for during the stream || when the nomai were talking about how something came out quicker than it went in and vedal was like "negative latency?" and you could just feel him thinking about it like omg||
make a fetch benchmark tool
this is your duty as a fetch collector
Nope
here's ur fast vs neofetch
jeez
10ms smh
surely you have a faster one in your collection
c is faster than bash 
it's pretty much 10 ms even loading a diff logo so that's a verdict
One of those fetch "program" is a bash script? 
lemme go find a zig and rust fetch
those 10ms are probably all from opening files
neofetch is bash

well im going to go for now but nice to meet you all, maybe i will try to learn something again idk
think of some random little tool you want
and then
try to make it
dont force it
but if you're ever like
Nooo, don't go. The abyss of #programming won't let you
I WISH I COULD DO <X> SPECIFIC NICHE THING
just try to make it yourself
best way to learn
i literally cant think of anything lmao but ill try but like i need to first learn a language of coding lol i know nothing really
yeah that's why i mentioned dont force it
oh yeah i did make that fuking cron clock btw
and it was boring
because it's just numbers
I missed day F 
Wait, you just know?
and NOR
Yeah, universal gate or something

yea ill just need to learn the basics first
Good, now make it from discrete component (transistor-resistor)
i ended up making a full adder as the last NANDsploration
but thats where my practical knowledge in logic gates ends
cron time rn:
47 4 10 8 0
47
minute
4
hour
10
day
8
month
0
weekday
Current time: 04:47 (Sun)
it doesnt even look like cron
you can also make ROM from NAND
Change it to bime 
bime
why the day not 10

0x10
So the format is B:BBBS?
also seconds just dont really exist in cron
so that's what i'd call not ideal for a clock
D:BBBS
But... Bay 
i am working on a discord bot
Hmmm, fair enough
also can i use chatgpt api to connect it to a discord bot
i did get distracted after getting to "wow cron is boring" and then went about doing the css colour theme stealing machine
so like when i ping it answers questions like grok on twitter
quac
fuck it, upgrading from 14600kf
🦆
why intel
you can use openAI api and run a service that listens for the messages in disc and then send them to the API
yeah i should work
i phrased that so bad
because i already have lga 1700 mobo?
ryzen
debian headband
discord bot -> in a channel -> command cog to talk to it and/or it just watches for keywords -> send to bot client -> api rersponse -> back to bot in disc
that's basically how echo works anyways
i see..
Am hungry now that I'm awake
i also planned another PC for my home server (and for my daughter to mess around with) to replace my current i7 10700 machine
I can eat some roasted duck 
but im still waiting for my friend to find their 7950x ES because all i needed rn is the CPU

building this rust based fetch that says it wanted to have as feew deps as possible for @desert plaza
and uh
dude why did you pick lga you could went with am5
Cargo cult
wait till bro realize am5 is just basically LGA 1718
it's in the hundreds 
but yeah i pick intel for my personal build for a reason. i need the IMC because they have better IMC than AMD's (for 128+ GB ddr5 upgrade later)
it's also just malware i guess
and i got the 14600KF for cheaper than any am5 CPU, simple.
i need the multicore perf
not really but i cant remove it
there's nothing wrong with going with intel?
how is it not finding the package by that name 
what does linus mean by this

rust moment
you have your cargo set up to put binaries in /usr/bin/???
nah it's aur
Cargo installing to system is fucked tho
but pacman cant see aur either
I already know but I would use RYZEN
Use aurto next time
13th and 14th cpu
It's a thin wrapper around aurutils, which requires that EVERY installed aur package be on a custom repo
easily fixable. the oxidation happened because of a certain clock module receiving too much voltage
it should I think? it can't install new packages from the AUR obviously but it should see installed packages
Oh i see
So pacman can actually manage it
Try to check the output of pacman -Qe
you didn’t use a 13th or 14th cpu
I would buy a 12th generation
fuckers
Query explicitly installed
it's zeitfetch-git
classic aur
yeah it should, AUR packages still get installed through pacman
no need to use a repo for that
im malding
time for the obligatory "Nix fixes this"
of course its nix
"what is zeitfetch never heard of it"
"ohhh THAT zeitfetch, you didn't say -git bro"
i hate everything
time to boldly continue installing rust fetches to find one faster than fastfetch
which is also rust tbf
oo found 2 zig ones
https://www.npmjs.com/package/@zeit/fetch ain’t no fuckin way they actually have that
thank god he copyrighted this one
your zig is too new
it's the zig that was in the pkg dependencies
i didnt have zig installed before
oh you know what
i installed the other zig one at the same time
probably just abandoned the project then
i wonder if THAT zig overrode it and is too new
i wish zig versions were backwards compatible
kek zig is going well thus far
zeitfetch? whats that
well it's supposed to be a neofetch but in zig
but both candidates cannot build from their own pkgbuilds
pls no, not before the language is actually finalised
it's not finished
?
lol no
so how do i know when it's out of early access then
either when you realise that it doesn't really matter and you can just pin the version yourself or when they announce 1.0 i guess
give it a couple years
ooh i found one written in C and then he went ahead and put out an x86 asm version
surely this one will be fast
bro, how much more time does one need to polish a language
it works, does it not?
it does
carbon is like 10 years old and they just got around to maybe doing the memory safety thing they started the entire language for
its explicitly not going to be backwards compatible until 1.0.0
okay i see you afetch with your cheating ways only having to put out like 6 lines and barely beating fastfetch
but still
so zig devs are already writing in an obsolete language
yup, everyone who writes zig already knows this
it would be the same as using hblang or any other indev language
subject to change
hblang compiler written in zig
which zig version
zig 0.14.0
oh
a classic
does nix have 0.14.0
it does
https://github.com/mitchellh/zig-overlay there's also this
use perf stat afetch instead
it's not about whether it works or not, it's about whether it's good or not
if you start guaranteeing backwards compatibility you have to keep old shitty features around forever even when you have figured out a better way to do things
basically, you get something like Java or C++ where the modern way to use the language is vastly different than the original way the language was meant to be used
accuracy
but time is sooo easy to type
you have c++ to thank for that tbf
where, i see not
it's just zig
but then the heavyweight champion neofeast
im going to ignore all of this
then explain this
not the deallocation
what ancient version of nixpkgs are you using
uhh, idk
14% of cycles idle sounds like its waiting for IO
it shouldn't be it's on a samsung 990 pro
not the fastest int he universe but
plus it's 2nd run so hot
well 25.05 has 0.14.1 as its zig, idk about older versions
neofetch takes a smelly minute with its call to fill in teh color boxes
uh configuration.nix says 24.05
how do i get a newer package
change to a newer channel
channel?
sudo pacman -S zig
tbh i have not touch nix docs


that shouldn't be defined in your configuration.nix
if you mean the stateVersion then do not change that
yuh stateversion
ik not to change
cachy extras zig ver is 0.14.1-2 rn so 0.14.0 cant be very far away from that
if you're not using flakes for your system configuration then you should be able to set the nixpkgs channel to a newer version through nix-channel
i found some thing called anyzig
A universal zig executable that lets you run any version of zig. Since you can only have one zig executable in your PATH, anyzig removes the limitation that this can only be one version. The version of zig to invoke is pulled from the minimum_zig_version field of build.zig.zon. build.zig.zon is found by searching the current or any parent directory.
Anytime a new zig version is needed, anyzig will invoke the equivalent of zig fetch ZIG_DOWNLOAD_URL to download it into the global cache.
In addition, you can also specify the version of zig to invoke by including it as the first argument, i.e.
surely that wouldn't cause massive nightmares all the time forgetting you have it
just use zvm
https://nixos.org/manual/nixos/stable/#sec-upgrading
this
idk I haven't done this process in ages because I use flakes as any sane person does
isn't it just sudo nix-channel --add https://channels.nixos.org/nixos-25.05 nixos or do you have to remove it first
oh nice i was right
flakes are nice 
aren't nix flakes experimental
they are
they're "experimental"
but everyone uses them regardless
it's fine until it's not

nah it's actually fine
they're so widespread now that incompatible changes practically never happen, and in the Nix ecosystem in general is pretty good about adding deprecation warnings ahead of time before something is removed
- you can always use an older version of Nix for a while
nah i get it
i think i said it the other day
was idly like man
i wish there were SOME WAY
to just have my configuration set in stone
declared if you will
and portable
too bad there just isnt. . .. . .
the btrfs/zfs snapshots in question
Guix is a distribution of the GNU operating system.
Guix is technology that respects the freedom of computer users.
You are free to run the system for any purpose, study how it
works, improve it, and share it with the whole world.
already got me a hookerino
here bro, here's your neofetch vs afetch vs fastfetch time trial
Video editing 100
so afetch is faster than fastfetch mhm
now do that with all your fetches

seriously use zvm
you can see the results if you have rust or zig powered eyes

Blazingly fast 🦀 🚀
and i dont have a video editor installed that isnt this shitty gnome video trimmer
which does NOT
have cropping
so you get my entire desktop
well
that monitor
just use ffmpeg 
I think ffmpeg can do cropping
I miss Sam and his quality shitpost
im jumping
The nuked audio is the touch of perfection
nuked like into not existing?
i suppose that is what nuking tends to do
i just wasnt listening to anything lol youd have seen cava dancing on my top bar
and it was definitely not
so im just sitting here in silence
max focus
running time benchmarks on fetches
yuh appropriate amount of focus for fetch benchmarking
What is the word equivalent for man?
no he is not ( ͡° ͜ʖ ͡°)
You're bri'ish :evilsmh:
Because of societal double standards, there was not a specific term needed for a male virgin. Someone may have coined a term, but there's not one that I know of that has the same lingual cache as maiden.
Makes sense
mfw eunuchless
So, what word do we want to invent?
It doesn't have the same ring as maidenless
you've distracted me
into actually organizing my music into the correct place
because it's in about 3048927398 different backup archives

uh help?
looks about like my zig experience so far today
it's just an idiom for running build and then install
I just use bun wrangler directly lol
did you init the submodules
getting no audio
have only ever used pipewire on this install
have never changed or configured anything to use pulse audio
cant get the damn audio to work
swap to pulse audio
audio only works on pulse
what
thanks linux
I believe toast has now become and expert on pipewire
i never want to touch pipewire ever again
it somehow exploded pipewire
i guarantee if i reboot pipewire would be back without issue
but you see i used it in two(2) different ways (slightly)
so it instead has exploded
hi
hi
git submodule update --init --recursive -- vendored/zydis
oh fuk
the other submodules arent required
unless you want to build the raylib example and also run the test suite
you made me look at my pipewire config and i just realised i never used some of the config options i defined so ty for that
Time to bother the compiler dev again?
i like to immediately assume the problem is like
wayyyyyyyyyyyy upstream
i email linus every time my pipewire doesnt work actually
bwaleaf
Honestly, if it was the old Linus and he did find out the cause is from the kernel, that maintainer will have a bad bime
i have found an EXTREMELY important repo
i was reading his exchanges with the bcachefs guys
the maintainer
lol
linus may be the most fed up yet trapped man
Uwuntu is real btw
https://uwuntuos.site/downloads/
yeah tere's a few of these
i realize i don't know how that --help output helps me
He is getting his anger issue solved thankfully. But yeah, that exchange on lkml is something else
each one is an arg
args with underscores 
nope, its replaced with -
hmm
because the need for most shell features is obviated by using a good wm
(or tmux if you're fine with no scrollback)
uh
yeah btw you can pretty much commit to gh repos without any authentication unless the repo requires signed commits
as anyone
if you know their email
which wouldn't be difficult to discover 
i dont like tiling wms, and scrollback is important to me
git be like
even setting politics aside, the dev didnt know that ^ is xor rather than exponentiation
please dont use it
tmux is unusable due to the scrollback
i kinda like tihs theme
i just like meming about it i'd never use it at this time just from the prospect of breaking 30 year old dependencies nobody knows about from changing so much
yeah i like when it highlights things red and then red also for other things
and then
when its something else
go ahead and make it red
( i do like how it looks lol)
hey i like a little column A a little column B
hi t
hi chayleaf
t mentioned
hi afunyun

@tender river do you know any better way to t ag a struct
hi konii
hi t
i used to use the github color scheme for the longest time because i like how much contrast it has, but the reverse is very common. 50% of themes are extremely bad contrast and i can’t stand them let alone start using
gh dark is my go-to for actually everything if i cant think of anything
and also gruvbox dark
idk what gruvbox even is
i just like its colours
oh it's just the name they chose for it in neovim ig
i was adding the case for returning Result from main
i like solarized dark too so i guess it makes sense that i'ma gruvboxxer
this is better contrast
up close
main := fn(): lily.Result(void, u8) {
// return .ok({})
return .err(1)
}
i.e.
That is tame compared to his older self lmao
you can do TAG := Result or something
thats the point, emulating nominal typing
additionally i have changed this so that if Ok == void, you can just do .ok() rather than .ok({})
Wait, hblang is not nominal?
er how do i compile, gimme a reference
hbc a.hb > a.o
since type are defined using functions rather than type variables, a type's identity is the way it was constructed (often including the specific function that constructed it since that affects the type name)
its probably at hblang/zig-out/bin/hbc
Interesting
i hate using the mouse
i dont actually care about tiling itself, i never tile windows
just put everything in tabs 
You can use the drawing tablet then
(i assume you have one for playing osu!)
ok i managed to compile for x86-64
no i just dont like taking hands off my keyboard for no reason
the compiler outputs object files so you will want to link it
yuh i linked it with ld
ld 

by default you will be linking to the c runtime
you can define your own entrypoint manually though if you want
just tell me everything then
not even that bad but it's so fun to read linus frustrations
$entry_handler := fn(): type $if @has_decl(@RootScope(), "main") {
$main := @RootScope().main
$Ret := @TypeOf(main())
$if Ret == never return main
return fn(): never {
ret: u32 = 0
$if Ret != void ret = @inline(main)
target.exit(ret)
}
} else {
return void
}
@handler("entry", entry_handler())
@handler("memcpy", target.memcopy)
handlers source code from lily
target.memcopy and target.exit are defined using @syscall
well, memcopy isnt obviously
you could do it like this:
_start := fn(): never {
main()
loop {}
}
main := fn(): void {}
and then when linking
ld -nostartfiles -o main main.o
exit:
$sys_exit: u32 = 0x3C
$exit := fn(code: u32): never return @syscall(sys_exit, code)
alternatively you could do this
@handler("entry", fn(): never {
main()
loop {}
})
main := fn(): void {}
ld -nostartfiles -o main main.o
which would be more idiomatic
or if you really feel like it, you could just change the linker args:
ld -e,main -nostartfiles -o program program.o
only if you do -nostdlib
mhm so it is
-nostartfiles will let you write your own entrypoint but you will still link to libc for memcpy
letting this music scan -> move script run and watching people discuss things of which i am ignorant
🍿
It does ye. That man should retire early. He is 50 something but looked much older
he took his hiatus in the last 10 years rightt so he's good
he will be literally too angry to die anyways
Good 
show me your file and the command you used to link
this program works perfectly for me
aight
also you dont have to include the expectations that is for testing 
The classic works on my machine 
the classic "works if you link correctly" 
it should work on every machine that supports x86_64
ld -o test test.o ```hb
main := fn(): uint {
return 42
}
wait
by file you mean
"but hey" registers as llm slop in my head 100% of the time now 
oh ok 
What watching Neuro do to a person
That was fast lol
but hey 
like this?
wdym
oh
is it because of nix
no
y r we c runtime'ing
could also do -lcrt.0
just exit call

because you use main
ok
which requires C runtime
the executable starts at _start and must call the exit syscall
kotlin

Peak language
this does look cool, so i can just define the symbol directly in the source huh
hello
yes, that is generally how programming languages work
awa
but not _start
yup
huh
by passing -nostdlib to clang
i have never
@handler("entry", fn(): never {
main()
loop {}
})
main := fn(): void {}
the more "correct" way to do it is this though
Silly
also @desert plaza you will have to use clang instead of ld because the compiler will sometimes call memcpy which you havent defined
y will the compiler sometimes call memcpy
to copy memory

why clang
you can use gcc
you can use gcc
anything that links to libc since it has memcpy
it will provide the libc memcpy
or, you can define your own memcpy in hblang
so you dont have to write one
Evil and Neuro when speaking together
if you do want to write one, you can define it like this
@handler("memcpy", fn(dest: ^u8, src: ^u8, len: uint): void {
// whatever
})
hmm

oh i think i know why i'm confused
i will let you process that




