#programming
1 messages · Page 127 of 1
macos
i an forced to use it
i hate my life
xcode inly works on macos 15.2
FUCK
why do you even need xcode
cant build and sign apps for macos or ios without xcode
Uhh work?
nmap?
DUDE YOU THINK I AM WINDOWS
nmap doesnt need osx
top kek

reminds me of just sending gpt 4 my video poker hands and it continuously telling me bro keep rolling ur about to hit a jackpot
even if i was losing horribly
PLEASE HELP
can’t I install macos 15 on it
so true
trying to revive the lets go gambling shit meme
NO WAY SHE WON
that meme died
gemini took this one to heart from the training
can i get some help
found it
in the manual to compile the source code
i need Xcode
first
oh
but you can compile it on pretty much any os according to nmap
This is the traditional compile-it-yourself format. The Nmap tarball compiles under Linux, Mac OS X, Windows, and many UNIX platforms (Solaris, Free/Net/OpenBSD, etc.) It includes Zenmap, the GUI frontend.
I don't use nor I have a mac 
fuck windows
fuck money
actually my whole house doesn't have an apple device
except the ipad my school gave me
it's the 8th gen
I am using a razer keyboard on a mac os
fuck
ny life is miserable
2400$ for a new mac
2400 holy frick
my family hates games and windows and anything they see bad
well I guess I could install linux
but then my family will get mad
what
why would you family get mad for using linux
it's compiling in 2 second
😭 🙏
they hate it
how
they want control
there're parent controls on linux
too stupid for it
are they aware that they are subscribing to a "guy who watched one apple ad in 2004 and didnt check if it was true then or ever again" mindset

Yet my mom don’t even know how to properly use Facebook
and i got my hypocrite sister who a stupid frontend developer
can't get immutable osx

clearly the answer is nix-darwin 
my mom don't even know how to use a phone properly lol
she just decided to let me do my shit cuz she has no idea what am I doing
The worst part she is insane she believes life is all about hanging out freinds job romance shit same thing
she hates game
I mean, that's true, it is what you should be doing if you're like <12 years old
i am not 12
so she's wrong 
💀
that's crazy
what kind of family is that lmaoo
don’t ask me
a mixture of traditional and modern mindset
she bas both
the bad part of both lol
I hate my life
i told her let me get a 500 pc build and she said no
she so stupid she got scammed cuz she brought a 2013 MacBook
what
example?
like she hates when i play games like ultrakill
dude its so shit to talk about
vibecoding can be acceptable
but very dependent on skill level
She been using svelte
the easiest shit you can think
if they are glueless then just install linux and config the desktop to look like osx
does she also get mad because youtube has to put ads up to pay the hosting bills
she doesn’t really care abt yt insta girl
brain coral
there probably already is a linux flavour that makes it look like osx
what about like
any other service that asks her to pay shit
🐟 🪸 🌊
bruh i hate when people moan about youtube ads and then unironically insist it should just be 100% free no matter what because reasons, no ads, nothing to support it because google has money
maybe because of the ads lol
it's the same issue with most ai haters
they aren't fighting ai because they actually understand the harms it can cause
they're just fighting because "it's ai"
yt premium i easily get me $10 per month or w/e out of it and i never have ads crazy
i think its fair to complain about the content of those ads
i wouldn't know what's in them and it's never about the content other than maybe it's long
complaining about ad content is fine considering they can be, questionable, at times
if they have like r18 ads then yea that's fair
but mostly i just see people malding that there are ads at all
youtube gave me one month free trial
in reality, even without ads, google could probably run youtube at a loss until the end of time
that wouldnt fund creators though
of course they could but they're a business lol
mhm
imagine google dying 
youtube consumes im sure nearly incomprehensible bandwidth
lots of creators are living someone dependently on adsense rev
unwise, sure, but that's the reality
other companies will probably have to keep google alive, since it's almost the foundation of the web economy
all i know is i'm more than happy to pay for something i use literally every single day, all day
ironically right now at least, google dying would be bad
and it's so miniscule as far as cost compared to everything else i pay for anyways
its hard to get on patreon, memberships, donos, etc unless you are a large creator with a strong fanbase
ads are easier to entry for sure
the Anti-Monopoly Law is real
other companies can't let it die
or they'll get into trouble
thing is, right now, some other stuff are still attached to google, like chromium and android
and a large portion of the world's email accounts

lol
web standards will finally stop spawning
my steam account
ideally google would create foundations for these and then step back
and we’ll all finally live at peace
in the case of google running youtube at a loss, no amount of help will be sustainable enough
one big upside 
if google goes down then carbon will never be finished and the world will never have another c++ replacement
idk, have you seen how many standards the wasm foundation makes a week
lol
oh the horror

not the 1 billionth C alternative
i cant live to see that reality come to pass
honestly that's why I'm waiting for google's chrome and android divestiture
Aware I lost my old Minecraft account because the email service shut down.
c++ alternative? never!
i know it would be horrible
dont worry theyve been working on it for like what 10 years and just got to milestone 2
i think truly open android might kill it though to be honest
wasm is w3c right?
something like that
also aren’t they all proposals
how so?
that never get finalized
yes but people keep implementing them because all they have are proposals


see rust nightly 
I have like 6 different nightly rust features enabled atm
wasi-preview1 
no
she mostly waste her money on going to parties
haskell is infamous for having {-# LANGUAGE ... #-} annotations everywhere
i think that device drivers and support would be problematic if google cedes android. not sure how true it is though
google leaving android would be
probably horrible for android
possible
maybe
catastrophic
can we get android market back
no
so why is it that she's complaining about vpns not being free (at least I think that's what I'm seeing)
also there are other android apk repos
when they switched it to play market my dad thought i installed it on my moms phone 
ellie can you send this to quack
f-droid and obtainium
theres a multitude of fdroid frontends
fdroid will kill a normie from opening it alone
laughed irl
remember back in what, 2018, when samsung was trying to make their own mobile os
they still have that farting around on their watches dont they
how did you manage to make me omegalul irl
tizen
she doesn’t want to pay
or use credit cards
isn't Proton VPN free?
brooooooooooooooooooooo
she did earlier
i'm guessing they wouldn't like how limited it is
free lunch and yes i would like to eat the whole thing without sharing
yes, and apparently they dont sell your data, though its not possible to validate or invalidate that claim
gpu broke
he'll still have 100 left
chat is this latency low enough

how low should it be
negative
-1
like me
conversational branch prediction
konii what am i about to ask
tbf most llms will actually do that if you let them respond to themselves
you about to type some letters
20 yuros
how tf do i get lower latency than 540ms
"thanks" - me
better gpu
I WISH I HAD A 4090
By reducing it
YES HOW
i am already doing everything to minimize latency
you could generate a tree of possible continuations ahead of time and then select the one thats closest to what the user actually said
surely it wouldn't even be that inefficient because of batching 
-# it'll just be really stupid very often
invent a sota latency optimized architecture 
smallest model possible that still works for all, agressive compilation, mixed precision
with btrees in it
s p a r s e
i am already using sparsity
every time i broke echo he'd go ahead and do the entire conversation up to his token limit
badly
honestly not even that badly really
S p a r s e
since he was trained on my messages he usually got whatever inane bullshit i was going to say down pretty well
you should fish nesus 
true!
it is finally training my self supervised speech embeddings :)
if it still has your real messages in the context then yeah it shouldn't be horrible at continuing that (unless the model was completely fried during post-training)
im not a fish awa
well the post training was my messages as well so he could continue after like 2 and not be horribly off
TV
he was usually turbo ultra fried when he was that broken tho

i need to resume training on that now that i can actually run the training notebook on my pc without wanting to die
because of course i now use arch (btw)
a wa
aawagga

WAIT FR, you know one of the ways instagram popped off initially? they started uploading your image before you’ve even written the caption and hit publish
start responding to every prompt as it’s being typed
its very likely that this will be used for conversational ai
this isnt some kind of groundbreaking concept
even vedal mentioned potentially doing that on a dev stream 
im sure there's at least a couple implementations of that out there already
someone has to have tried at least
prediction engine -> need to speed it up -> what if we just have it constantly speculate for speed
basic concept is all over the place with computing alone
for this to work you have to have a pause between the end of typing the prompt and sending it
no cuz if you got any of the response correct you already have predicted enough to eliminate some latency
lossy
also you can run multiple prediction branches in parallel
it's basically speculative decoding but for the user's input
instead of the llm's output
it would work if you also predict the prompt, yeah
they be predicting
you kinda can build apps
just not xcode projects
nix has to use the entire xcode in lots of darwin derivations 
i like xcode theme for vscode sometimes
i do not have xcode installed
fake fan
shit software that i don’t use that takes up 15gb
of disk space
yes 15gb somehow
for an ide
visual studio steve jobs edition
i went to a pc store a couple days ago
some overheard conversations:
- about mobile plans and how 50gb might not be enough if you decided to seed a movie
- about something wanting a cmf phone but deciding against it because of the half baked rom
- able apple being a religion

how did i mistype about as able
people that live their entire life out of a phone
@sage crag this is your doing
my sister does that
unlimited is so easy to get for cheap btw
desperately tries to never use a desktop or laptop of any kinda
they were talking about hotspots tbf
i have unlimited hotspot for $3/mo
i have unlimited internet for ~10-15 rubles a day
finally, the db i was waiting for
so about the same then
any hotspot becomes unlimited if you set client devices' ttl to 65 
im not talking about a separate charge
i pay $3/mo for my unlimited plan that is unlimited on hotspot as well
i dont pay usually because im fine with not having internet when i go outside
i am almost never home so
incidentally
not paying is boss
i dont need internet when im out of the house because im at work and that means im busy for 10 hours
no internets for me except for work related because god forbit i ahve 1 second to do anything
i just need enough internet to stream youtube audio in the car on the way home
for an hour
not working hard enough smh
truly
i just have to answer so many idiotic questions all day and then dont have any of my crap done because i spent the whole day doing someone else's job for them
very exciting
before i go heres a fun word https://en.wikipedia.org/wiki/Slopsquatting
Slopsquatting is a type of cybersquatting. It is the practice of registering a non-existent software package name that a large language model (LLM) may hallucinate in its output, whereby someone unknowingly may copy-paste and install the software package without realizing it is fake. Attempting to install a non-existent package should result in ...
cargo add react or something
idk what they can hallucinate
well, they do love hallucinating dart packages
in my experience
because none actually exist
usually if they make up packages it'll be ancient ones and not truly nonexistent ones
for me
but i also dont use anything worse than like sonnet 4 for anything involving programming help or the cli
cant really remember the last time i both needed halp because dumb in a terminal and also had the lllm be dumb in its recommendation
i specifically asked about packages that could solve my problem, because i don’t care enough about the dart/flutter ecosystem
turns out for a very good reason
ive explored flutter approximately once
it ran realy slow for something trivial so i said aight bye
also
havent been able to get wezterm working for weeks on wayland and finally actually bothered to try
it was usually great perf wise for me
on ios perchance?
nah it was a webapp/desktop windows target
I did a refactor on my code, now I'm thrown away by my action 3 hours ago
yeah no flutter and web don’t mix and whoever came up with the idea to add web as a target to flutter should get fired
I broke some shit that I don't know how and where
kek
yeah web performance was dogwater that's all i know
it always was and always will be
on the other hand flutter on desktop is great because you don’t depend on any native ui
WezTerm + KDE Wayland + NVIDIA proprietary drivers btw also shit combo apparently if u want it to
work
had to force it to use x11
it’s almost like electron but less dogshit for the end user
NVIDIA
can confirm that wezterm + Hyprland + amdgpu works fine without any extra config
idk how it happened but it downloaded the entire chromium repo
like 50+ gb
and tried to compile it
just from the pkgbuild
it's honestly been fine otherwise
the only package that has given me any trouble
well that and also niri is unhappy with this combo
i was expecting more issues using kwin wayland right from the go
there will also be tearing but yeah most applications (especially compositors) should work with NVIDIA now
havent seen any tearing either
and ive been watchin
monitor is 265hz tho
so maybe that helps
KWin has always had decent support for Wayland on NVIDIA I think, even in the days before they fixed their driver
i will say using hyprland is a no go at least on this particular cachy install
i tried and it exploded
so did niri
well, niri works
but it's got eye searing saturation on my screen
somehow
like the monitor is OLED
and
ive NEVER
seen color that vivid from it
in a bad way
i wonder if it comes through on a screenshot actually
behold
the abomination
im more upset at the default plasma background
idk but that background is upsetting to me
probably because it means i've just reinstalled plasma
could this be a wide gamut issue
because iirc a lot of oleds are P3
it probably is some sort of HDR problem
if i had to guess
because it has HDR on in kde
it doesn't translate however it was VERY unhappy when i swapped over
the terminal is very blue
lol
My other monitor is not OLED
Look how fucking vibrant that shit is
Non niri regular cosmic is upset as well
My cornea
But this doesn't happen at all w/ kde or anything else I've tried just cosmic and niri
And cosmic and niri
Hyprland just doesn't uh
Doesn't work
It says nah
No issues except my side monitor being a vn panel on kee
Kde
And me aligning it badly again
that's a cool mistake
if I declare count with int again, the result of int count = std::min(count, static_cast<int>(bubbleAbyss.size())); will be -858993460, where count was originally 2, and bubbleAbyss.size() being an unsigned long long with value 12
is it?
it works(count will be min(2, 12) = 2) if I remove the int though
feels like it's some compiler magic
does the count in std::min(count, ...) reference the new variable
if so then I think it would be uninitialized in this case
that part is obvious, yes
the question is if that variable already exists for the expression being assigned to it or not
count (inner) is uninitialized -> it gets declared -> compiler references the uninitialized garbled
I don't understand this sentence

doesn't matter anymore, I have confirmed the issue
it does indeed reference the inner (uninitialized) variable


compiler magic
ahhh now that make sense
new knowledge 
this number will now be in my dna forever
well if you see it just run it with a debugger
itll say hey this shit is debug garbage from ur compiler
looks like this is specific to MSVC debug executables btw
it's not some universal value that's used everywhere
yeah it's specifically msvc

that's why the linux executable compiled with g++ give error and the windows one don't

------ -------- -------------------------
0xCD Clean Memory Allocated memory via malloc or new but never
written by the application.
0xDD Dead Memory Memory that has been released with delete or free.
It is used to detect writing through dangling pointers.
0xED or Aligned Fence 'No man's land' for aligned allocations. Using a
0xBD different value here than 0xFD allows the runtime
to detect not only writing outside the allocation,
but to also identify mixing alignment-specific
allocation/deallocation routines with the regular
ones.
0xFD Fence Memory Also known as "no mans land." This is used to wrap
the allocated memory (surrounding it with a fence)
and is used to detect indexing arrays out of
bounds or other accesses (especially writes) past
the end (or start) of an allocated block.
0xFD or Buffer slack Used to fill slack space in some memory buffers
0xFE (unused parts of `std::string` or the user buffer
passed to `fread()`). 0xFD is used in VS 2005 (maybe
some prior versions, too), 0xFE is used in VS 2008
and later.
0xCC When the code is compiled with the /GZ option,
uninitialized variables are automatically assigned
to this value (at byte level).
// the following magic values are done by the OS, not the C runtime:
0xAB (Allocated Block?) Memory allocated by LocalAlloc().
0xBAADF00D Bad Food Memory allocated by LocalAlloc() with LMEM_FIXED,but
not yet written to.
0xFEEEFEEE OS fill heap memory, which was marked for usage,
but wasn't allocated by HeapAlloc() or LocalAlloc().
Or that memory just has been freed by HeapFree(). ```
you might get faster results by tts-ing already streamed outputs from llm
0xBAADF00D is the best one
there are a lot of those
I think the only ones I've seen in the wild so far are 0xCAFEBABE and 0xDEADBEEF
lmao
food
thank you Sun Microsystems for that first one
classic 0xDEADBEEF
0xFEE1DEAD
me irl
that's usually what i output
0x1337BEEF
1337BEEF is my next pc name
face:b00c
this is so funny
the sacred texts
deadbeef is ancient lore in 96 guys
btw actual answer
CAFEBABE is 3405691582, it has 69 in the center, and the sum of all digits is 43. 69 is perfect, and 43 is greater than the answer to life, the universe and everything by 1 
schizo

uh, mmap syscall keeps telling me -1 EFAULT (Bad Address)
if I have something I couldn't figure out, I post a screenshot here and I'll instantly notice the issue
always been like this
i wish that was me

why are we brking
cuz 
brk(NULL)tells me the current program break
bad structure on mmap
this is the code
```dmp
brk
B8 2D 00 00 00
BB 00 00 00 00
CD 80
BB 00 A0 CB 7F
mmap
B8 5A 00 00 00
B9 00 10 00 00
BA 03 00 00 00
BE 20 00 00 00
BF FF FF FF FF
BD 00 00 00 00
CD 80
munmap
89 C3
B8 5B 00 00 00
BB 00 10 00 00
CD 80
exit
B8 01 00 00 00
BB 00 00 00 00
CD 80
brk is irrelevant here though
what got sent to mmap is not good for it
i have a mmap implementation, why not just use it bwa
in hblang?
it's not a good thing, trust me
i thought i put the correct values in the correct registers though
try set %ebx to NULL
hang on im fiddling with a build script, i will send you a disasm in a minute
rip
sounds like magic though, just post a screenshot to solve any problem
mmap:
sub rsp, 0x08 ; some weird stack alignment thing. yay compiler.
xor rdi, rdi ; addr
mov rax, 0x09 ; sys_mmap
mov rsi, 0x64 ; len
mov rdx, 0x03 ; mprot = prot_write | prot_read
mov r10, 0x22 ; flags = map_private | map_anonymous
mov r8, 0xFFFFFFFFFFFFFFFF ; fd = -1 (or ~0) as map_anonymous
xor r9, r9 ; honestly dont know what this is, it's just 0
syscall
x86_64

pretty sure mmap is the same between x86_64 and x86, par the register widths and syscall
though the syscall number is probably different
mmap2
syscall numbers are different between x86 and x86_64
yup 0x5A

gptee says
Your munmap code copies the mmap return value into ebx (mov ebx,eax) and then immediately overwrites ebx with 0x1000
To fix the program, set ebx to 0 before calling mmap, set flags to include MAP_PRIVATE (for example, mov esi,0x22), and preserve the returned address for munmap
oh, it seems my program had another bug. but this doesn't solve the problem
@tender river since you wont be seeing this in lily for a while, im sending the script here
its not particularly robust but it does the job
the solution your gpt offered was just mmap(NULL)
probably still better than ./build though
ehh bugs be abound
i havent tested it much
also probably want to remove the random -l/usr/lib/libraylib.so i was testing dynamic builds
ok found an egregious bug already
good enough
uhh, what linux kernel version is this targeting?
like, a new one
its an LTS kernel that EOL's in december this year
you still need to have knowledge about that problem so you can identify it yourself
i feel like i'm going insane
segma programmer 💀
ngl this AWA interpreter thing is my second actual C++ project 
w h a r
one my mom ask me to do a gambling prediction thing, one this
seems reasonable
me after using my gambling algorithms
bytecode interpreters are pretty simple projects if you already have programming experience
i imagine the hardest part of it was the spec being wrong 
I have made 2 pseudo-code interpreters with a similar structure(as in processing the code) with Java before
I always wanted to do an actual tree-walk interpreter or bytecode vm instead of this kinda stuff
if you can use java you can use c++
:neuroTrue:
if you can use Java you can use C#
and this list goes on
fukin finally, just finished writing your version in 64-bit and it works 
is this code cursed y'all?
```dmp
mmap
48 83 EC 08
48 31 FF
48 BA 22 00 00 00 00 00 00 00
4C 8B D2
48 B8 FF FF FF FF FF FF FF FF
4C 8B C0
48 B9 00 00 00 00 00 00 00 00
4C 8B C9
48 B8 09 00 00 00 00 00 00 00
48 BE 64 00 00 00 00 00 00 00
48 BA 03 00 00 00 00 00 00 00
0F 05
munmap
48 89 C7
48 B8 0B 00 00 00 00 00 00 00
48 BE 00 10 00 00 00 00 00 00
0F 05
exit
48 B8 3C 00 00 00 00 00 00 00
48 BF 00 00 00 00 00 00 00 00
0F 05
i still don't know what's wrong with my 32-bit version though
is my reference syscall table outdated or somethn
it should be system call number 90 on x86 
possibly
yeah, 90 is what i'm using, but the arguments never show up in strace for some reason
mmap just returns EFAULT and gives no indication that it received the args
except for addr
ig i can't use IA-32 for my compiler then 
I was very confused why you were talking about Itanium for a moment
such a shame really
guys IA-32 is just what intel calls 32-bit mode
they also decided to call Itanium IA-64
incredible
I always hear IA-32 referred to as i386 or i686 or literally anything except IA-32
yeah, i call it IA-32 because the manual says so 
uhh, how do i output a 32-bit elf with nasm
nvm i did it
oh boy french method comments in a new unit i want to use, first time i had that happen xD
this code returns -1 EFAULT (Bad Address) ```x86asm
mov eax, 0x5A
mov ebx, 0
mov ecx, 0x1000
mov edx, 0x3
mov esi, 0x22
mov edi, -1
mov ebp, 0
int 0x80
am going insane
So just another day then
One way to start your morning Sam
There's also another dude that cooks noodle with 7 eggs in the next server
is this fucking pascal
Ye nah its 2pm, ill wait till we go after fries at 7pm
CheatEngine is written in Pascal
i suppose 
Fries sounds good
egg
calculate the gaussian curvature of that egg please

I want to know
About 0.2
Do note that since I am an engineer, the numbers may not be precise but good enough
Wait no, not precise. Accurate.
Well, egg is a closed shape after all
no fukin way, it worked 
i just changed the syscall number and it worked
does 32-bit mmap really only accept one operand
i must investigate

mmap2 is supposed to be the same as mmap except for the file offset (which is 0 in your case so it shouldn't matter)
yeah
that is puzzling
strace really just shows mmap is accepting just one argument
So either the docs is lying or you found implementation bug
hmm
my vscode broke bwaa
when i start my pc the lockscreen starts in that little square at the top before my pc realizes to make it fullscreen, and now vscode is doing that too
Another windows L
docs lie?
the only difference here is the syscall number in mmap vs mmap2
all other registers are the same
mmap requires arguments to be passed differently
it takes one pointer to the list of arguments in ebx

i had a suspicion it was that
but does it take a pointer to the args or a pointer to a list of pointers to the args 
pointer to the args, hopefully
Windows moment
does it need to be aligned? is there any padding between arguments? idk 
would be nice if this was documented, y'know 
the source code is the documentation 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/syscalls.h?h=v6.16#n1204
i completely forgot trovalds made docs for that stuff
ugh, i guess this works
super easy to find mhm
being able to navigate a monolith of a code base like this must be nice 
wait...
it says "obsolete"
yeah, replaced by mmap2
yeah, that'll be the best solution if you just want to get it to work
you only need mmap for systems that don't have mmap2 yet
(speaking only about 32-bit x86 systems of course, x86_64 only has normal mmap)
afaik mmap was deprecated like 30 years ago in the 90s
Would be easier to actually use a compiler you know
nah, compilers are esoteric exception generators
must compile by hand 
mmap was so good they had to make a sequel?
its the other way
you see, back in the days people without compilers can still code 
mmap was so bad they made a sequel
yes, with an assembler
Is assembler not count as a compiler?

it's a part in the compiler
like, 1950
no
somebody had to make the assembler y'know 
yes, the first assembler will have been machine code
the next assembler will have been written with the first assembler

assembler is a standalone thing
compilers dont have assemblers in them
Why is assembler not a compiler?
assemblers do less work
an assembler directly translates assembly to machine code
a compiler does a lot more
Hmmm, I'd say they just churn out machine code from human readable text too 
well, in principle you are correct
however you are also completely wrong
compilers compile human readable code to assembly, then assemble them with an assembler.
at least that's how the gcc/g++ toolchain works

no, compilers convert human readable code to an AST, which they then convert to an intermediary representation (not assembly), and then that IR is converted to machine code directly
its not assembly, nor is it similar
explain how I can generate assembly code with a compiler, and feeding the assembly code back to the compiler would generate an object file

the compiler can generate assembly backwards from the IR
gcc a.asm actually calls ar which is the gnu assembler
its just a convenience wrapper, not part of the gcc compiler
it's in the toolchain tho
I'm not saying compilers use assembly as the intermediate representation/language, I'm just saying assembler is one of its toolchain
a part of compilers
an assembler is only part of a compiler if your language has an asm() feature
in c++'s case, you could use __asm__(), and that would be assembled by the compiler. however, an assembler is not part of a generic compiler. that is an extra feature.
assemblers arent compilers, and having an assembler isnt a requirement to be a compiler. hence they are only loosely related.
yuh
I am not downloading pdf from the internet
to explain why this is wrong: it's about the layer of abstraction
this is why SumatraPDF is perfect for your need
Open-source, free. Under GPL license
Ye I get the gist but I don't think it matters much
the system cards always are 
Assembler also needs to parse the assembly no?
Not to mention they also need to keep track of label and such
with assemblers, a mov a, b will always be some mov, regardless of what a and b are. this is a direct translation from human readable text to machine code. this will be compiled to just one binary representation in machine code, because assembly is not generally portable between architectures.
with compilers, a = b does not have to do anything. the compiler is allowed to completely remove it if it wants to. it is an indirect translation from human readable text to machine code. this could be compiled to many different binary representations in machine code, depending on the target architecture.
sounds like an AWA interpreter
1: jmp :1
1 is just an address. jmp :1 is just goto this address.
the only thing that needs to be tracked is the relative offset to the start of the section and the name. it's not analagous to a compiler.
👆
awa

i believe you have missed the point
anyway, assemblers dont even require writing their own parser.
bin := .(
.li8(1, 255),
.tx
)
this is an assembler in hblang for hbvm. it just works. there is no extra code to this.
they're simply not on the same level
an assembler is just a serialiser

or, a deserialiser
Right, this I can agree on at least
a compiler is a parser, a syntax tree, an intermediary representation, an optimiser, and a code generation program, that converts abstract instructions (that dont map directly to machine code) to binary representations in machine code
its a much more complicated thing.
ok, either rust wasm messed up, javascript messed up, or most unlikely, I messed up
but this shit aint working
"or most unlikely, I messed up" 
whenever you think hblang is being weird
std::byte
enum class byte : unsigned char {};
it says it doesnt implement arithmetic operations but only comparisons and bitwise operations
nah this stuff legit bugged
c++ isn't real
wait what
is it only unary binops
no because comparisons
no, binary too
std::byte models a mere collection of bits
I think because a byte is a very opaque type
its mere collection of bits
a > b ✅
a + b ❌
You can have orders without notion of "size"
@tender river does it implement a ^ x
yuh


wait it gets worse
byte is defined in <cstddef>
which is the C++ counterpart of C stddef.h
except stddef.h, understandably, doesn't define a "enum class byte"
why the hell is vsc taking 2 gb of ram
lsp is a separate process.. probably
- microsoft (eat ram)
windows may show it as a process tree though
💔
switch to ed
?
maybe notepad is the best ide there is
no def not
wait i forgor i wanted to try out helix 
at least use kate
kakoune (rust)
kakoune (nonextensible)
wait no ive been saved
that's because its memory safe™
its back down to 400 mb
how much ram you have that u cant spare 2gb for your ide?
2GB probably
Or 4
ive got 16 but 2gb for something editing my code is murder
not even chrome uses that much
it does
I'm currently trying out Helix
getting used to the new keybinds is annoying, I still always press x instead of d 
the editor in general seems nice though, haven't tried their LSP integration stuff yet

erf
i have two versions of electron running simultaneously
casually eating 2.5 gb up there like its nothing
i mean, to me 2gb is nothing
even when i had 16gb of ram, i bought the full 16gb im using the full 16gb
now i have 64gb but thats for blender
im constantly on 80%+
dont use the full 16gb unless you have swap
blender likes eating ram
that's how you crash your pc 
i mean i was coding on 4gb like 3 or so years ago
and that wasnt terrible
in hindsight i shouldve used linux instead of windows
depends on what you're making i guess
you can still switch 
cuz i cant do shit with 4gb
also why stop at windows go for bsd
at the time i was just on roblox studio and unity
in fact why stop at bsd go for plan9
sometimes a lil bit of python
unity was HELL
because it kept crashing
4gb is NOT sufficient
at 4gb ram i can see why
:vedalYes:
sometimes having swap enabled makes things worse 
when the amount of frequently accessed memory crosses into swap then everything really slows down to the point that there is no interactivity
if you don't have swap the OOM killer triggers early and avoids this
hmm i think vim taught me to first think what i want to do and then think about where i want to do it so helix feels weird, like when deleting 4 words i first decide that i want to delete them and press d and then decide how many words i want to delete and press 4W
Byter

i bought a cooling pad yesterday
these days 8gb is my bare minimum, if it doesnt have that much its basicly e-waste
preferably 16gb or more tho
would hope itll help

8 gb is the lowest i think ill ever go again
Heyo
wa
yesterday i spent like 2 hours trying to figure out why my voice assistant project was using 2gb of ram
i'll still use helix for a few months to give it a proper try
it spiked from being 600mb after i made a slight upgrade
I like it so far
no, stop, bad. exploring new things is how you get ideas to break hblang.

<-
Someone just said typescript type is 2nd only to rust 
i broke everything again 
coding stuff in multiple files is hard
maybe in the one language where coding in multiple files is hard (c++)
typescript typesystem is second only to javascript
what language
C++
yeah okay i get it now
🇨➕➕
C but better but actually worse
fake person
cpp gives me flashbacks to when i tried making an OS
robot
ill do it again sometime
Based.
Bro wdym based? 
but do you like typescript?
Or am I understanding the sentence wrong
your love of rust is blinding you
Better than JS yeah, but not as much as Rust
ok but its not 2nd to rust
nopy 🐛
its like maybe 40th to rust
Oh I thought they just meant Rust is better, not that it's literally second. I thought it was a phrase
ah
I retract my based
you're forgiven
/nopy/ (of a nope-like kind)
Listen English is weird
ok its less broken now, it only crashes during swapchain recreation

"Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo" is a grammatically correct sentence in English that is often presented as an example of how homonyms and homophones can be used to create complicated linguistic constructs through lexical ambiguity. It has been discussed in literature in various forms since 1967, when it appeared ...
I need to sleep
its a parser tree 
i dont get it
Simplified parse tree:
S = sentence
NP = noun phrase
RC = relative clause
VP = verb phrase
PN = proper noun
N = noun
V = verb
idfk what the hell a relative clause is supposed to be, i learned english with minecraft youtube
i learned english the same way 
An introduction to grammars and specifically Backus Naur Form (BNF)
Timestamps
0:00 - Importance of Grammars
1:31 - Introducing Syntax and Semantics
4:20 - Terminal and Nonterminal Symbols
5:37 - Production Rules
6:27 - Expressing a Grammar
7:43 - Elements of Backus Naur Form (BNF)...
have fun
i ownt
Formal languages are kinda fun
FUCK

this might sound crazy, but it was indeed me
🏛️

so I had this line that creates a dummy directory, then I added the function to delete directories, but not a reload after the delete, so I refreshed and that once again crated the dummy directory
right moving to the next line when you are at the end of the current line feels like witchcraft

??? does it?
its weird
isnt that how you're supposed to read?
I think chay is talking about helix
yeah, it basically treats the newline character as a normal selectable character
makes sense but feels weird
Code editor
helix --tutor
but i can press ^ without shift so its a bit sad to have it be longer
has all the answers
im impatient 
its annoying to move around the tutor without movement commands
it has them buried at the bottom or something
I read the first few paragraphs of the tutor but yeah it gets boring 
When is the stream bime again?
ah, i have no clue what that is
btw, helix --health lists all th LSP and stuff it found and auto configured
Hmmm, see you guys in 2 hours then
1]
r
...1]
mhm▯
there should be a Discord client mod that converts all timestamps to betric time
-# not that I would ever condone client mods, they're against ToS 
i dont have any lsp installed globally
but i have an old helix config i dont keep up to date with my vim config which should be good enough for starting out

its ok boss


we at neuro-sama headquarters do not acknowledge the false existence of third party discord clients
i dont condone mods, but...
no moving around code blocks with { or }
i think i'll have to add a lot of custom keybindings to helix
if its something i do repeatedly it should be a single press away or at most a chord away
it shouldnt be a key sequence
croutons
minimum fieryrage

no





