#programming
1 messages · Page 123 of 1
i don’t know why and i don’t want to know why but i ain’t touching gui again
just generate some fligma and feed it to copilot dawg that's what the pros do these days according to them
you do have a point
@faint sandal is there any validity to this HTTP/1.1 desync nonsense I've been annoyed with for weeks or is PR for more funding?
Some def con talk about a HTTP smuggling vuln in some CDN provider but its worded as if HTTP/1.1 itself has a critical fault which I doubt
I hate this trend of researches clickbaiting and making a huge fuss about some relatively minor stuff
you need react in your life
dont get me wrong, I get why they have to do it but I hate it still
(if you’re not doing immediate mode)
i'll be honest i don't know a lot about it
and i'm more inclined to believe portswigger and defcon + black hat USA reviewboard
the reviewboards for both are notoriously difficult to get past if your talk isn't of enough substance and strong evidence
i'd know because i've been rejected thrice
I believe them that they got access to a major CDN but I think its something very specific to them and not an inherit problem of the protocol
after skimming their previous article on HTTP desyncs it looks like it's basically parser differentials except for HTTP and it's not always parsing
so maybe they found some issue with the HTTP spec that exacerbates this 

had a bit of trouble getting deserialization to work, apparently i was attempting to access buffers that were destroyed out of scope 
OpenAI surely should have realized that their model quite literally sucks compared to any model released in the last year right?
surely they know
wdym, the benchmarks look great! 
(Ofc this is about GPT-oss)
atleast the speed for the 20b model on ollama is fine now. (still takes wayyy too much vram)
modified my fstab i'm sure this reboot will go flawlessly
every time i do this i fuck it up somehow
we all know synthetic benchmarks are great at measuring real world performance of models 
the benchmarks cannot capture the vibez properly

it automatically opens on startup now 
time to switch to vscodium 
that'll definitely get rid of it
like i am trying to hash map a dict key inside of for loop of a dict key so the api appends the user password key
it builds fast
i sometimes forget my own code
i'm falling asleep writing reports
rand some ultra random series of commands on my laptop that i just tossed fedora 42 on
to get nvidia drivers working right
and rebooted
that shit worked
that's crazy
it was some guy saying it worked for him on fedora 39
yolo just worked
why is it so squished
made it as smal as could
neeeeever really thought about it but cronjob syntax isnt particularly exciting when it's describing a full time in like a clock syntax
like 50 4 6 8 3 was a few seconds ago and that's just
numbers
ihate luau and luau hates me.

Compatible with all kins of motherboard Dos of CPU.
I really like the QC pass sticker
Wake me when it's F day
too many day
human dont sleep 4 day
I am not human 

I am an uncomputable function 

finally my 11 TB (10.5 Years) of audio data is done processing now I can finally start training a model with it :)
i thought you were a computed function 
I am a changed man
altered function
Today the plan is to watch the ado 1st live bluray and play poker 

Meanwhile my battery:
Charge Full Design - 4351000
Charge Full - 4795000
battery saver
sounds resonable for battery saver
no it doesnt 
psychotic battery saver
there are diminishing returns for reducing it
well, each to their own
note that you have different status though
Full vs Not Charging
60-80% is the sweet spot actually
surely it also depends on whether your battery is li-ion or li-po
you dont want lipo in your laptop
no one wants li-po
in general
but its cheap!
60% for prolonged use with charger
Both should be on the same range
What is wrong with my internet 
Can you guys actually read my message?
Yeah, I sent that minutes ago 
and more durable
typically bad for long term power storage, and also has a worse lifetime under repeated cycles
bwa

isnt this bad for drone bombs
how come linux brk is different from libc brk 
okay brk is not in posix

well, linux has a brk syscall which differ in behavior from the brk and sbrk on man page
compiling this with gcc uses brk at the beginning and end of program execution ```c
#include<stdlib.h>
int main(void) {
char* c = malloc(64);
free(c);
return 0;
}
i was wondering how i would allocate memory with just linux syscalls, no libc

the issue is of course that you have to allocate something divisible by page size
but its easier than requesting a heap and manually allocating memory from that pool
also, i wanna be able to see all allocated memory
mm maybe /proc/self/maps?
ugh, why does linux use text files for that
its linux 
the anti debug I've seen on Linux is so funny because of that
I was like why is it looking for the word "racer" in /proc/self/status
i wish i could find reliable documentation about how linux works

also a lot of parts of linux are undocumented so just read the source code
you dont have to read linux's source code
reading other people's code that achieves the goals you want works just as well 
i don't like reading source code, why do you think i'm writing in machine code 

I bet intel also has a lot of undocumented feature
well, at least the features i need are documented
strictly setting fd to -1 isnt required if you pass MAP_ANONYMOUS
true! but its recommended
yeh
Honesty, the mov is cursed since it is turing complete
aight, but what is the value of MAP_ANONYMOUS
in reality mov is a lot of different instructions in a trench coat
hehehe
thats where you git clone linux
good luck

0x20
mhm
here's how it was implemented in an older version of lily
$sys_mmap := 0x9
$prot_read := 0x1
$prot_write := 0x2
$map_private := 0x2
$map_anonymous := 0x20
$map_failed: ^u8 = @bit_cast(~0)
$alloc := fn(len: uint): ?^u8 {
ptr: ^u8 = @syscall(sys_mmap, 0, len, prot_read | prot_write, map_private | map_anonymous, ~0, 0)
$if config.optimise < .ReleaseFast {
if ptr == map_failed return null
}
return ptr
}
what the hell is this i'm scared but i don't have the time to look into it
i found some msrs but this doesnt seem to be it
doing this in VMware suspends the machine
which yes, is a VMware thing than Intel but still
See Chapter 20,
“Input/Output,” in the Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 1, for more infor-
mation on accessing I/O ports in the I/O address space.```
yuh it just writes to the io
undocumented linux vs undocumented winapi
at least you can read linux src code
i love port io
we use this all the time in osdev and its really fun and i love it
mhm
its really nice that x86_64 uses port io and both risc and arm use mmio
mhm
uh, what is this supposed to mean void addr[.length]
context?
in ```c
void *mmap(void addr[.length], size_t length, int prot, int flags,
int fd, off_t offset);
on mmap man page
modern c
?
it implies to the compiler that the memory region at addr is at least length bytes
ah
what
y'know, i really just need to know what number to put in ebx
give me a minute
0 specifically yes
i got excited seeing cuda 13 existing but cuda-gdb is still broken on wsl2 
@syscall(sys_mmap, 0, len, prot_read | prot_write, map_private | map_anonymous, ~0, 0)
refer to A
tis correct for allocating memory
aight 
It is a sign from god Almighty to finally move to linux
nix on hardware
getting there
1-phenyldodecane
Also another glibc release, another patch needed for the cuda toolkit 
i miss static linking
You wanted to have what happens now at rust?
Honestly yes
I think having something like windows .dll is nicer
have you seen how egregiously rust fills its binaries with random stdlib functions that are never called
I never bother to check 
all hblang programs have been statically linked and even the ones with hashmaps and formatters are smaller than glibc hello world
even though glibc hello world is dynamically linked

this is the smallest binary i could make on demand
i rebuilt the standard library for this
# .cargo/config.toml
[build]
rustflags = ["-Zlocation-detail=none", "-Zfmt-debug=none"]
[unstable]
build-std=["std","panic_abort"]
build-std-features=["optimize_for_size","panic_immediate_abort"]
# Cargo.toml
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
dynamic linking is very good for packagers 
if theres a security issue in a dependency you can just swap it out for a patched version
without even recompiling anything
yes
but its not great for portability 
it requires an abstraction boundary and abstraction boundaries are all about indirection and late binding
and if you have generics you essentially have to make the dynamic linker bundle an entire compiler
or use boxed objects everywhere
not ideal 
its a bit crazy btw
when compiled with gcc, this program makes 28 syscalls btw ```c
int main(void) {
return 0;
}
is this -Oz
no
it makes sense because it calls the dynamic linker
and the dynamic linker has to do a lot
try statically linking
musl
and with musl
you can statically link glibc it just makes the binaries a megabyte large


probably less with flto
probably much less with the tuned for size options i use in the lily build script
interesting
works on my machine™
does indeed read like dynamic linker
/lib64/ld-linux-x86-64.so.2
mmap is obvious, its for mapping the file into memory at the correct addresses
brk is less obvious but probably used internally for allocation
since the dynamic linker has to keep some intermediate data
its a program written in the stone age
brk is called at the beginning and end of the program
though they are probably doing different things, so cant draw any conclusion
what

beginning sure
what do they need brk for at the end
fini
wait nvm
fini should just be a handoff to libc fini surely
i'm thinking of a different program
ideally they would have loaded that at the beginning of the program
this is the entire file
why do they bother with brk then 
40 years of technical debt does things to a codebase
ill bet that it was written without mmap
then someone made a bug and a patch got submitted to fall back on mmap
but they didnt replace the whole thing to avoid breaking userspace
i can read some book in swahili, doesn't mean i will understand it
they are committing war crimes in there
it makes me feel less bad about my code
its legacy but its the kind of legacy code that somehow works and is potentially better than alternatives just heaps more complicated

You underestimate how much of very elemental mechanisms are just guess work. It should behave in a certain way but someone somewhere in the last 50 years did it differently and you have to drag that shit along
i don't think i know how to use nixos
just seems to be my machine has a funny quirk
rather than yours
one reason brk might be better is it requests a fixed page thats not likely to be clobbered by the program itself in the address range in elf header
nix-shell -p gcc glibc.static
allegedly 
great binary
i get that modern compilers add NOPs for alignment purposes, but it peeves me
1e82: 0f 1f 00 nopl (%rax)
1e85: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1)
:ReallyMad:
90 90 90 90 90 90 90 90
bwaleaf
today i'll be installing windows on a jet engine
musl itself is smaller but individual functions may be larger 
i dont trust it
bwa
30040 bytes
evil

2424: 48 89 05 1d 4f 00 00 mov %rax,0x4f1d(%rip) # 7348 <_ZN3std3sys3pal4unix14stac
k_overflow3imp13MAIN_ALTSTACK17hbfc09eed90bace91E.0>
:mhm:
mangled functions
i saw a movups in there
if not you can use https://cxxfilt.com/
im not wasting my time analysing a rust binary
it looks like sadness
i just saw movzwl
and movups and movaps
cmove
the compiler paid for the entire instruction set, it's going to use the entire instruction set
nop is the most relatable instruction
90 # xchg eax, eax
90 # xchg eax, eax
90 # xchg eax, eax
90 # xchg eax, eax
90 # xchg eax, eax
90 # xchg eax, eax
90 # xchg eax, eax
90 # xchg eax, eax
2c4b: f0 0f b1 0d c5 46 00 lock cmpxchg %ecx,0x46c5(%rip) # 7318 <_ZN3std3sys3pal4unix14stack_overflow11thread_info4LOCK17hd28eda68fd74036cE>
why are we doing atomics and threads in hello world
stop it
threadinfo
bwa
2cfa: f0 48 0f b1 0d 0d 46 lock cmpxchg %rcx,0x460d(%rip) # 7310 <_ZN3std6thread8ThreadId3new7COUNTER17ha657e37bd8dd76c1E>
but what if the hello world stack overflows
its ok
the binary is too large and too filled with ud2 for anything to happen
i give hblang's codegen too much flak
zig made the right choice abandoning clang 
i dont think this is clang's fault though to be fair
probably rust's llvm IR generation
i think long prologues and epilogues are usually various exception/unwind handlers?
plus a bit of boring initialization like parsing the env vars and command line
why are we locking stdout so much i only printed hello wlrd
in case of rust it also ensures you can println from multiple threads which requires atomics
i cant really blame rust for handling multithreading behaviour by default in println
but also bwa
this definitely still more complex than it needs to be
agreed its too branch heavy
i literally turned off all panic handlers and formatters
it should be a simple lock + loop + unlock
just lock once and write the string you doofus compiler
can you try manually calling std::io::stdout().write_all("a") or whatever it is
5s
I assume they have some good reasons for it
i forgot but also print impls in all languages buffer input
looks like loop unrolling gone wild
to avoid too may syscalls
so its buffering in addition to locking in addition to inlining i guess

use std::io::Write;
fn main() {
_ = std::io::stdout().write_all(b"Hello, World!");
}
reasonable implementation of hello world
insert each character as a leaf of a btree
pop each leaf
genius
binary went from 19000 to 28000
why

i should just write a #![no_std] #![no_main] binary and define _start myself
i guess its unsurprising the println macro is going to generate smaller code than writing directly to stdout
rust's io has a lot of machinery
use std::io::Write;
pub fn main() {
std::mem::forget(std::io::stdout().write_all(b"Hello, World!"));
}
this is better
why in tf is it doing btree stuff though 
yes it went from 27840 to 27760
nice
looks like we are still btreeing it up
this is actually part of rust's memory safety guarantees
your software will be more secure if reverse engineers will cry looking at the assembly
hey if you guys dont mind me asking what is this mostly for?
binary warcrimes
about low level code and compilers
oh ok
so i guest this how you say hello world in rust?
you can write it in an easier way, we're just trying to minimize binary size
println!("Hello, World!");
guys, this executable is 734880 bytes how to make smaller
musl-gcc
what is ! 
why were you doing that code then?
its a macro
why does printing need a macro 
println!("{}", 1)
arbitrary formatting args
implementing a type safe printf in the language itself requires dependent types 
you guys are not real istg
idris does it good job idris 
format macros are a nightmare
i am definite and real
me when im gumi vocaloid and i sing ECHO by Crusher
we are all just ai
Man I need to sleep
how does an osu model have language capabilities emerge
See you guys in 4-6 hour
you mean you dont want format!("{time:.1?}"); in your codebase
ermermgent properties
➡️
⬅️
no, I mean that I dont want to implement it
no one wants to implement macros 
macros are vile to write
and to use 
fun to use except when you need to debug their generated code
lisp macros are just lisp
what is a macro 
its when you press a button in excel and it deletes your spreadsheet
macros have similar problems to optimizers, they erase some info during translation

that’s stupid, that’s what taking a hammer to a hard drive is for
which makes error reporting hard
what is even gogin on rn
if you arent following then you need to go do some leetcode
these bubles have a stupid mirrored hdri in them
immersion ruined literally unplayable
what is a reflectiono
why do you post bubbles
nice, i can now return 0 with a 16KB statically linked executable
you can get it smaller
give me a second

how come exit_group isn't showing up in strace with -c option though 
try
musl-gcc -Oz -static -o test.o test.c
clang -fuse-ld="gold" test.o test -static -Wl,--gc-sections,--build-id=none,--as-needed,--icf=all,-N -s
objcopy --strip-section-headers test
yeah
this will work first try
surely
surely
ereader update: suspend didnt work but i decided i'm fine with just turning it off when i dont use it
someone will magically decide to fix it some day 
the good ol "i cant fix it so i give up and wait"
well, it technically did work, but it stops receiving touch input
/nix/store/z34dss3rj1rnp1g820r64w0na7452jy1-binutils-2.41/bin/ld.gold: internal error in set_offset, at output.cc:4734
clang: error: linker command failed with exit code 1 (use -v to see invocation)
i love linkers
thats why i have this all in the thingy
ing

it's crazy to me that a c program which only exits with status code 0 is at least 16KB 
4 pages
memory
ok
only if you use c runtime
also i had it at a much more modest 4kb when i did the testing myself
in my experience gold produced slightly fatter binaries because it put all segments on separate 4096 byte chunks
damn, that's a lot
that's true when it respects alignment
that's because you write handrolled machine code you doofus
its silly
nuh uh 
when doing advent of code i've had the most fun with prolog
aoc in hblang
too easy
probably
i want to learn scala it has cool concepts
but i dont have a use for apps running on jvm 
maybe i should write erf in scala 


what are we talking about:D?
i use unbound
with a custom module for storing russian domains' ips in my routing table so they bypass the vpn

i wish i could just scan client hellos and do it on a connection basis but i dont wanna write kernel modules
so this is the easiest way (even if cdns sometimes break it)
i dont do any dns filtering though 
since all of my devices run nixos theres no ads to block
my NixOS/home-manager config. Contribute to chayleaf/dotfiles development by creating an account on GitHub.
by the way you can run unbound on any device, doesnt have to be your router
at some point i ran it on my server instead
terminal keeps crashing, need to get off gnome 

i could do that
ghostty if youre trendy
caught
i use kitty 
foot has been installed
now i just need hand
and you already have head
@sick owl unsloth should be ok now, ima test what ig atm
Yeah I've been testing it today and its done a bit better
They also fixed the recommended parameters
no, i have cpu 
i was referring to head the binary that you have installed already
where do they post them in github
oh
i do have that
how did you know
it still noms my RAM so much damn
unix or somethign
Its in the params file on the huggingface repo
It seems to me that something's still buggered because I just saw it make a typo 
and part of posix iirc
oh ghostty uses gtk... i'm not sure whether i dislike the python dependency of kitty or the gtk dependency of ghostty more
gimp toolkit
have you tested out the other quants
gnu's not unix image manipulation program toolkit
I'm going to try the BF16 one to see if there's a difference
ghostty does not depend on gtk on macos, skill ecosystem issue
Doesn't seem like there's much of a difference on first impressions
Ghostty is a cross-platform terminal emulator but we don't aim for a least-common-denominator experience. There is a large, shared core written in Zig but we do a lot of platform-native things:
- The macOS app is a true SwiftUI-based application with all the things you would expect such as real windowing, menu bars, a settings GUI, etc.
- macOS uses a true Metal renderer with CoreText for font discovery.
- The Linux app is built with GTK.
i'll try running the Q8, shouldnt be that big of a diff
home-manager programs.foot 
it's a fucking xcode project in their repo that depends on libghostty
home-manager?
its ~/.config/foot/foot.ini, probably
did they always have this logo 
it does not exist
they also appear to have an ios target???
from an issue about the ios build crashing:
iOS isn't an important target for us but I like to keep it working so that libghostty remains iOS compatible.
absolute psychos
@sick owl is there a way to change the reasoning effort on the unsloth gpt-oss like on the og
I presume you can just set the system prompt to Reasoning:high
okay since i dislike python and gtk dependencies equally kitty wins because of the name case closed
i might revisit it in the future
them supporting apple platforms and ios in particular is a big downside, correct choice

Do you have flash attention enabled?
no
Experimental
llama-server -hf unsloth/gpt-oss-20b-GGUF:F16 -c 131072 -fa --temp 1.00 --min-p 0.00 --top-k 0 --top-p 1.0 --repeat-last-n 0 --repeat-penalty 1.00 -ngl 99 --jinja --mlock --reasoning-format none
Trust me, you're gonna want flash attention
Obviously you may want to edit context since you have less vram to play with
its already at the reccomended 16k
going any lower makes this model absolutely useless for me
You want more than 16k for these models

I'd say go for 65536 at least
It'll fit, trust me
it'll fit, but seeing 98% on my 'memory' aint gonna make 🥶
even the q8 which should ideally fit on my gpu alone with the full memory, somehow still takes up RAM
too large
Also bear in mind flash attention massively reduces the size of the context cache
If you're running without it you're not seeing the true memory usage of the model under ideal circumstances
Is there even enough memory left to store the response? 

I thought you said you had a 4080?
yes
That's a 16GB VRAM card
and im using 23/24 layers
There is a 12gb version iirc
You can offload every layer to it in F16/MXFP4
And at the very least fit a minimum of 32768 tokens
Like I said, enable flash attention with -fa
No, that became the 4070Ti
i toggled it on
And your context is at?
What size of model even is this?
try XF86ScrollUp/XF86ScrollDown maybe?
Its GPT OSS 20B
What quant?
But something is clearly wrong because I can fit that model in 18 gigs max of vram at F16 131075 tokens of context
ok im not clocking whats wrong here
He's running Q8 instead of the F16/MXFP4 version for some reason
FP16 of a 20B model requires 40GB for weights
thats a 4090
Its the model sizes I'm pointing out
No its not, its mixed precision FP4
But the output and embedding layers are FP16
GPT OSS is weird
Explains why there's some weirdness with the model size
But either way, I always go Q4 when trying a model
its not a FP16 infact
Yeah even at F16 the MoE layers are still FP4 here anyway
So I wouldn't quantize further personally
Its already plenty small and fast
Like I said, not pure FP16
those are invalid too, weird part is i can ctrl+scroll to change font size when i'm not in nvim, but it gives me that error
Weird models indeed
Well, luckily I have no reason to use them
well just leave it commented out 
well, how do i space text away from window border
i'm feeling a lot of jank with this
tldr 4080 sucks for local models
Like I said with flash attention this should easily fit and run pretty damn fast
thats generally not something that terminals do 

I used to have a 4080 super with the exact same amount of vram so I'm more than familiar
text to close to border, need to fix
gnome console was better in that way
Try just running it with this edited launch command @cosmic sphinx
llama-server -hf unsloth/gpt-oss-20b-GGUF:F16 -c 32768 -fa --temp 1.00 --min-p 0.00 --top-k 0 --top-p 1.0 --repeat-last-n 0 --repeat-penalty 1.00 -ngl 99 --jinja --mlock --reasoning-format none
in lm studio?
In llama.cpp

You can just unzip the latest github release then run the command from a batch file or command prompt window in the same folder
Download the non cudarts CUDA 12 labelled zip file from releases
idk i just use
main = {
font = "Noto Sans Mono:size=16,Noto Sans Mono CJK JP:size=16,Symbols Nerd Font Mono:size=16";
dpi-aware = false;
and it looks fine to me
but i only use foot on my phone
i use kitty on my laptop
kitty also has a very small margin
so, hypothetically
if you like wasted space you can try sway with gaps
could i write a terminal emulator in my programming style 
you could, but not in asm
modern software is complicated
theres a reason we built a tower of abstractions on top of everything
ion think this would be safe to run
The absolute worst thing that could happen is you get an out of memory error and the program crashes
or I run into another BSOD
Or that if you're especially unlucky but that's not the end of the world
those pesky abstractions 
surely i must be able to create a window in machine code
Just remove mlock from the command if you're worried
heh
is that a challenge
no its a statement of fact
hmm
WAUT
you could do a simple x terminal probably
definitely not wayland 
no
Oh nvm lol
writing a terminal in assembly does sound like pure horror i can't lie
I was gonna say the laptop one has 12gb vram
blud it literally
But yeah you're safe to run it, remove mlock if you're worried about the program or your PC crashing
That way if it doesn't fit it'll just spill into swap and you can close the program
not assembly, machine code 
and it'd be easier to run speed experiments with the q8 that ig rn
so you wanna be a human assembler? 
i'm currently experimenting with mmap syscall in machine code
so i already kinda am
Yes, but you'll probably get faster download speeds anyway
And at least this version won't exhibit weird behaviour to the same degree
llama.cpp is open source and much more reliable than lmstudio in my experience
And the BF16/F16 ggufs are gonna be way less buggered than the weird Q8 version you're currently on
time to put "terminal emulator hand-written in x86 machine language" onto my todo list

Seems like the F16 on the huggingface link points to bf16 in the repo so I guess that's what you're getting
Shouldn't matter either way though
oh, and i'm also trying to make a "compiler" in machine code, to simplify the process of writing machine code 
hence the mmap experimentation
need memory for compiler 
This is how much GPU memory that setup uses at 128k context @cosmic sphinx
Drop that down to 32k and I guarantee it'll comfortably fit
Nothing ventured nothing gained
even q8 might be overweight
Start at 16384 like you were before if you're worried
I guarantee you won't run out of memory at F16 with 16k context using that launch command
llama-server -hf unsloth/gpt-oss-20b-GGUF:F16 -c 16384 -fa --temp 1.00 --min-p 0.00 --top-k 0 --top-p 1.0 --repeat-last-n 0 --repeat-penalty 1.00 -ngl 99 --jinja --mlock --reasoning-format none
Here you go, a 16k context version
where is it gonna download the model
C:\Users\%username%\AppData\Local\llama.cpp
ion need that on C drive
You can download the gguf file manually in that case
Just replace -hf unsloth blah blah blah with -m pathtofile.gguf
I'm running it that way
I recommend Bf16 if you download it manually
gotta add llama-server to PATH holdon
Or you could, run it in the terminal from the folder
You can just save the command as a batch file in your llama cpp directory and skip that if you're just testing
Or run it as a command from command prompt with the folder mounted
Wot superbox said
cd C:\pathtollama.cpp
Then run it
Then once the models loaded you can access the interface by going to https://localhost:8080
hold on lemme run into 220 more problems rq
hello here
I was too slow
Are you still running lmstudio?
hello warm slice of bread
If so close it, I think it also hosts on that port if I remember correctly
pretty sure I shut it down just now and tried again
You can use these commands to find the ID of the process using the port and kill it
netstat -aon | findstr ":8080"
taskkill /PID PROGRAMPROCESSIDHERE /F
the viewing of the ado bluray with my friends has finished, so now i shall code
The process ID will be a numeric string like this
Classic
what are you doing 
it crashed in kbdclass.sys and i was cleaning the keyboard of the laptop that hasnt been booted in years so i assume it couldnt handle the repeated keypresses
damn
hi guys
Hi I'm guys 
physical windows 
do you need to install the hblang repo to your working directory or is just on the C drive fine?
nonvirtual idk what else to call it 
does hblang even run under windows
it doesnt
what
no
but you have a windows install guide
Windows so limiting
wsl time for you
where
wtf is this sabout then?>
the compiler itself runs on windows
since its just zig
but it cant target windows
hi vani 
(what's the point of including windows instructions atp)
actually the git clone doesnt even work lmoa
ok, i decided to run a first test on the downloaded q8 model with only 4k context
first when its loading up it also fills up my memory to the brim, but when its finished it actually clears up and fucking works
ntfs issue
Windows file name constraints
i'll test it at 16k context next, if that also runs fine then i'll probs step up to a bigger quant
that file name is crazy
autogenerated from md headers
ah
committing it allows seeing how compiled code changes between compiler commits
though its not necessarily good for repo size
unrelated question
can i be bothered to use wsl? cuz idk
bakushin
yes
does nix copy the entire folder that the system flake lives at into the store
:HOLY:
nix copy doesnt
but any nix command that uses flakes copies the flake dir into the local store
even when there's a folder that is not referenced at all?

can wsl use the windows zig or do i need to install a linux version?
technically yes but install the linux version
mf
also do yourself a favour and try not to access windows files inside wsl
if it's a local folder without a Git repo then yeah, it'll always copy everything
if it has a repo then I think it should only copy the files added to the repo? but not 100% sure
reading time 
asking cause i have two folders in my dotfiles repo, one for the actual dotfiles and one for the nix config
thought about moving the flake files into the root to avoid having to specify the directory but if it's going to copy the other files then uhh yeah no
if they're large then yeah don't do that
especially if you're not using a CoW filesystem
honestly, why didnt I think of directly downloading the files myself
lmstudio is such a netbloat for this
only 135MB 

sir your Git repo is in OneDrive again
as usual

is that the issue here?
no
well then im staying on onedrive
putting it on a WSL path certainly wouldn't hurt
the issue is that your zig thinks you're using a linux file system
moving it into one such file system would probably fix it
sharing the compiler through OneDrive will suck anyway
you can put your project files on there but maybe not the compiler
@sick owl so, unlike the Q8, the F16 completely gobbles up my memory at 16k context
rule #1 of wsl2, do NOT access files on the windows host if you can avoid it
i dont know how to open vscode in the wsl directory tho
you can just open the one from windows with the wsl path
it'll open in windows and connect to wsl
im not even sure why it uses up all the RAM when the VRAM isnt even full
and the speed is meh
Windows likes to prevent entirely filling the VRAM
yeah, lets instead fill up the RAM so it fucking crashes itself 👍
Meanwhile me on Linux with a dual GPU setup with a total of 36GB of VRAM
-# And I don't even do LLMs
VS Code has an extension for WSL support
just need that and it should be fine
if it's somehow not fine and you're on Win 11 you should also be able to install VS Code inside of WSL but that's a bit inconvenient
i did exactly this
if gpt-oss was this disappointing, ion even wanna talk about GPT-5..
there will probably be an error but we will fix it 
yep
that
"live5tream" they prolly think they're cool for that
how subtle
the file .gitmodules has a line like [submodule "vendored-tests/lily/"]
turn that into [submodule "vendored-tests/lily"] (remove the trailing slash)
then run the submodule command again
gpt-5 at least makes them money so i'd hope they care a little more
its probably fine
you can add a success message to your shells prompt if you wish
makes scripts easier to write when you dont have to pipe every single command into dev/null
but it'll almost always say success so it just wastes space 
the swarm will follow you
i like my prompt
obviously its much wider normally
I still have the default fish prompt
it has been okay
nah same error still
maybe the vscode marketplace guide is out of date
lemme use the ablecorp site
"this one will send hype through the roof, trust"

if it failed on line 36 again then it still can't find a submodule
Its because they're on ollama
Like I said it runs like arse at the moment compared to cpp due to borked memory management
Or thats been my experience anyway
nah i still get the same error
@sage crag i cant get the compiler to build 
its the compiler dev's fault
ah
he hasnt fixed a bug with the submodules yet
we patched that up already
no we didnt
yes we did
it didnt change anything
are you doing this on wsl/linux?
wsl ubuntu yes
i dont think the compiler has been tested on windows
i couldnt get it to install on windows anyways. probably due to the same error tho
well ive compiled the compiler now, how do you use the compiler?
well, typically you wouldnt just use it freestanding because that's a bit of a headache
just pass the source file to the compiler and specify the --target flag (you'll probably want x86_64-linux)
then link it
having the compiler installed on your machine is only there for the extension
lily's build script does it all for you
yeh
but note that it bundles its own version of the compiler in out
also you'll still have to set some env vars to build
uhh
you can just call the compiler manually instead and link with clang or ld or whatever
the command is hbc, but you likely dont have it in your PATH
i think i might have it in path, i followed the hblang vscode exstension tutorial
thank you Common Lisp cookbook, very cool
(this is the whole explanation for that function)
what other info could you possibly need
Then it will be trial by fire 
type hbc --help then
seems to be in path yep
also is zig build test having 19/21 normal?
sure
its a bit of a hassle to compile for x86 without using lily
and you wont have stdlib features
but if you want to, here's how
oh so it doesnt compile to x86 normally?
it does, it's just not automatic
what is the standart format then?
well, if you just run hbc main.hb > out you will get an ableos executable
// main.hb
main := fn(): i32 {
return 0
}
``````bash
hbc main.hb --optimizations release --target x86_64-linux > main.o
ld main.o -o main
here's the simplest way of doing it
and probably what you want
Bother the compiler dev some more 
im sadly not running on ableos
refer to A

Tell me when you have TCP/IP stack on lily. I wanna try to make something 
will it work without a start handler
yes, if you dont use -nostdlib in the ld
it will just link it to libc
is the last main supposed to be an exe?
binary, exe is a windows thing
an executable, not an exe
mhm
to be pedantic
./main
or just zig cc
zig cc is the easiest way
zig cc -o main main.o
use zig cc instead of ld
.
oh i thought that was jsut for using c
whens the first game integration in hblang
first game written in hblang or first game that uses hblang for scripting
both exist
i did implement json de/serialization, but also no thanks
nuro
tls
you're so close you just have to implement websockets!





