#programming

1 messages · Page 127 of 1

uneven pulsar
#

and so i cant install nmap

#

I can’t do shit

midnight sigil
#

GETHIM macos

uneven pulsar
#

i hate my life

#

xcode inly works on macos 15.2

#

FUCK

midnight sigil
#

why do you even need xcode

sage crag
#

cant build and sign apps for macos or ios without xcode

uneven pulsar
#

nmap?

#

DUDE YOU THINK I AM WINDOWS

stark needle
#

Gemini generated book

fast pagoda
#

nmap doesnt need osx

fast pagoda
midnight sigil
fast pagoda
#

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

stark needle
uneven pulsar
#

can’t I install macos 15 on it

fast pagoda
uneven pulsar
stark needle
#

NO WAY SHE WON

uneven pulsar
#

that meme died

fast pagoda
#

gemini took this one to heart from the training

uneven pulsar
#

can i get some help

fast pagoda
#

found it

uneven pulsar
#

i need Xcode

#

first

fast pagoda
#

keep goin

#

it doesnt need OSX

#

it needs unix

#

well

#

*nix

uneven pulsar
fast pagoda
#

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.

midnight sigil
uneven pulsar
#

fuck money

midnight sigil
#

actually my whole house doesn't have an apple device

#

except the ipad my school gave me

#

it's the 8th gen

uneven pulsar
#

fuck

#

ny life is miserable

fast pagoda
#

mac is far worse into the $$fk u pay me

#

than even windows

uneven pulsar
midnight sigil
#

2400 holy frick

fast pagoda
#

yeah with an intel celeron and 3mb of ram

#

(obvious hyperbole)

uneven pulsar
#

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

midnight sigil
#

what

fast pagoda
#

download tarball

midnight sigil
#

why would you family get mad for using linux

fast pagoda
#

it's compiling in 2 second

midnight sigil
#

😭 🙏

uneven pulsar
midnight sigil
#

how

uneven pulsar
midnight sigil
#

there're parent controls on linux

uneven pulsar
fast pagoda
#

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

midnight sigil
uneven pulsar
#

Yet my mom don’t even know how to properly use Facebook

#

and i got my hypocrite sister who a stupid frontend developer

fast pagoda
#

can't get immutable osx

midnight sigil
opaque sigil
#

clearly the answer is nix-darwin neuroPogHD

midnight sigil
#

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

uneven pulsar
#

she hates game

fast pagoda
#

i mean it might be about that

#

for her

#

lol

midnight sigil
midnight sigil
#

so she's wrong nwero

uneven pulsar
#

i am 23

midnight sigil
#

💀

uneven pulsar
#

FUCKING 23

#

she vibe codes

midnight sigil
#

that's crazy

uneven pulsar
#

that i do her code

#

and she yelled AT ME FOR NOT FINDING HER A FREE VPN

midnight sigil
#

neuroSob what kind of family is that lmaoo

midnight sigil
#

a mixture of traditional and modern mindset

uneven pulsar
midnight sigil
#

the bad part of both lol

uneven pulsar
#

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

uneven pulsar
#

they go crazy

jagged turtle
#

example?

uneven pulsar
#

dude its so shit to talk about

jagged turtle
#

but very dependent on skill level

uneven pulsar
#

the easiest shit you can think

fast pagoda
#

if they are glueless then just install linux and config the desktop to look like osx

jagged turtle
uneven pulsar
sage crag
#

brain coral

jagged turtle
jagged turtle
#

any other service that asks her to pay shit

sage crag
#

🐟 🪸 🌊

fast pagoda
jagged turtle
#

they aren't fighting ai because they actually understand the harms it can cause

#

they're just fighting because "it's ai"

fast pagoda
#

yt premium i easily get me $10 per month or w/e out of it and i never have ads crazy

sage crag
fast pagoda
#

i wouldn't know what's in them and it's never about the content other than maybe it's long

jagged turtle
fast pagoda
#

if they have like r18 ads then yea that's fair

#

but mostly i just see people malding that there are ads at all

midnight sigil
sage crag
fast pagoda
#

of course they could but they're a business lol

sage crag
#

mhm

midnight sigil
#

imagine google dying neuro5head

fast pagoda
#

youtube consumes im sure nearly incomprehensible bandwidth

jagged turtle
#

unwise, sure, but that's the reality

midnight sigil
fast pagoda
#

all i know is i'm more than happy to pay for something i use literally every single day, all day

jagged turtle
fast pagoda
#

and it's so miniscule as far as cost compared to everything else i pay for anyways

sage crag
#

ads are easier to entry for sure

midnight sigil
#

other companies can't let it die

#

or they'll get into trouble

jagged turtle
#

thing is, right now, some other stuff are still attached to google, like chromium and android

sage crag
#

and a large portion of the world's email accounts

fast pagoda
sage crag
#

lol

rigid snow
#

web standards will finally stop spawning

midnight sigil
sage crag
rigid snow
jagged turtle
jagged turtle
fast pagoda
#

if google goes down then carbon will never be finished and the world will never have another c++ replacement

sage crag
#

lol

tender river
#

not the 1 billionth C alternative

fast pagoda
#

i cant live to see that reality come to pass

jagged turtle
bitter coral
fast pagoda
#

i know it would be horrible

#

dont worry theyve been working on it for like what 10 years and just got to milestone 2

sage crag
sage crag
rigid snow
#

also aren’t they all proposals

rigid snow
#

that never get finalized

sage crag
umbral thorn
tender river
sage crag
#

see rust nightly neuroCry

sage crag
noble zodiac
#

I have like 6 different nightly rust features enabled atm

uneven pulsar
#

she mostly waste her money on going to parties

tender river
sage crag
# jagged turtle how so?

i think that device drivers and support would be problematic if google cedes android. not sure how true it is though

fast pagoda
#

google leaving android would be
probably horrible for android

fast pagoda
#

catastrophic

rigid snow
#

can we get android market back

fast pagoda
#

no

jagged turtle
# uneven pulsar no

so why is it that she's complaining about vpns not being free (at least I think that's what I'm seeing)

fast pagoda
#

also there are other android apk repos

tender river
#

when they switched it to play market my dad thought i installed it on my moms phone neurOMEGALUL

sage crag
fast pagoda
#

grab dat f-droid glueless

#

experience UI design from 2014

sage crag
#

f-droid and obtainium

sage crag
rigid snow
#

fdroid will kill a normie from opening it alone

sage crag
#

a good one is aurora droid

#

very easy to use

fast pagoda
sage crag
#

remember back in what, 2018, when samsung was trying to make their own mobile os

fast pagoda
#

they still have that farting around on their watches dont they

jagged turtle
umbral thorn
fast pagoda
#

tizen

uneven pulsar
#

or use credit cards

sage crag
#

ellie are you capable of sending more than just emotes here

fast pagoda
#

isn't Proton VPN free?

jagged turtle
tender river
jagged turtle
fast pagoda
#

free lunch and yes i would like to eat the whole thing without sharing

sage crag
umbral thorn
#

ElvynRealSMH gpu broke

sage crag
stark needle
#

chat is this latency low enoughSCHIZO

sage crag
stark needle
fast pagoda
#

0

#

actually

tender river
#

negative

sage crag
fast pagoda
#

it should predict the future

#

and respond before you ask

sage crag
#

like me

fast pagoda
#

conversational branch prediction

stark needle
fast pagoda
#

tbf most llms will actually do that if you let them respond to themselves

sage crag
fast pagoda
#

AI version of popeyes service

#

"i dunno bitch"

sage crag
#

20 yuros

stark needle
#

how tf do i get lower latency than 540ms

fast pagoda
#

"thanks" - me

sage crag
stark needle
sage crag
#

im not genie

#

sory

bitter coral
stark needle
sage crag
#

duhh

stark needle
#

i am already doing everything to minimize latency

sage crag
#

nope, you should make a LUT of all possible outputs

rough bloom
# fast pagoda conversational branch prediction

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 glueless
-# it'll just be really stupid very often

tender river
#

invent a sota latency optimized architecture neuroPogHD

stark needle
#

smallest model possible that still works for all, agressive compilation, mixed precision

fast pagoda
#

s p a r s e

sage crag
#

s p a r s e

stark needle
fast pagoda
#

badly

sage crag
#

something something diagonalisable matrix

#

awa

fast pagoda
#

honestly not even that badly really

bitter coral
#

S p a r s e

fast pagoda
#

since he was trained on my messages he usually got whatever inane bullshit i was going to say down pretty well

sage crag
south needle
#

it is finally training my self supervised speech embeddings :)

rough bloom
sage crag
#

im not a fish awa

fast pagoda
#

well the post training was my messages as well so he could continue after like 2 and not be horribly off

midnight sigil
fast pagoda
#

he was usually turbo ultra fried when he was that broken tho

midnight sigil
fast pagoda
#

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)

sage crag
#

a wa

fast pagoda
#

aawagga

faint sandal
sage crag
fast pagoda
#

the alias for baloo search is fking baloosearch6

#

ok it's getting disabled that's it

rigid snow
#

start responding to every prompt as it’s being typed

tender river
#

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 neurOMEGALUL

fast pagoda
#

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

rigid snow
fast pagoda
#

no cuz if you got any of the response correct you already have predicted enough to eliminate some latency

rigid snow
#

lossy

tender river
#

also you can run multiple prediction branches in parallel

fast pagoda
#

it's basically speculative decoding but for the user's input

#

instead of the llm's output

rough bloom
#

it would work if you also predict the prompt, yeah

rigid snow
#

i didn’t even think of predicting the prompt

#

of course, they’re llms

fast pagoda
#

they be predicting

rigid snow
#

just not xcode projects

tender river
#

nix has to use the entire xcode in lots of darwin derivations neuroDespair

fast pagoda
#

i like xcode theme for vscode sometimes

rigid snow
#

i do not have xcode installed

tender river
#

fake fan

rigid snow
#

of disk space

#

yes 15gb somehow

#

for an ide

fast pagoda
#

visual studio steve jobs edition

tender river
#

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
fast pagoda
#

seeding anything on your phone

#

phone people are unhinged

tender river
#

how did i mistype about as able

fast pagoda
#

people that live their entire life out of a phone

tender river
#

@sage crag this is your doing

fast pagoda
#

my sister does that

rigid snow
fast pagoda
#

desperately tries to never use a desktop or laptop of any kinda

tender river
fast pagoda
#

even so

#

that's even dumber because they are almost always limited lol

rigid snow
#

i have unlimited hotspot for $3/mo

fast pagoda
#

at least phones kinda have unlimited ez

#

well unless you're mlnt

tender river
fast pagoda
#

finally, the db i was waiting for

rigid snow
tender river
rigid snow
#

im not talking about a separate charge

#

i pay $3/mo for my unlimited plan that is unlimited on hotspot as well

tender river
#

i dont pay usually because im fine with not having internet when i go outside

rigid snow
#

i am almost never home so

tender river
#

incidentally

rigid snow
#

not paying is boss

tender river
#

i wont be home for a few hours

#

bye internet neuro7

fast pagoda
#

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

fast pagoda
#

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

tender river
#

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 ...

fast pagoda
#

kek

#

i hope the aliens find wikipedia

rigid snow
#

cargo add react or something

#

idk what they can hallucinate

#

well, they do love hallucinating dart packages

#

in my experience

rigid snow
fast pagoda
#

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

rigid snow
#

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

fast pagoda
#

ive explored flutter approximately once

#

it ran realy slow for something trivial so i said aight bye

#

also neuroHypers havent been able to get wezterm working for weeks on wayland and finally actually bothered to try

rigid snow
#

it was usually great perf wise for me

rigid snow
fast pagoda
#

nah it was a webapp/desktop windows target

midnight sigil
#

I did a refactor on my code, now I'm thrown away by my action 3 hours ago

rigid snow
midnight sigil
#

I broke some shit that I don't know how and where

fast pagoda
#

classic regression

#

time to throw out the last FOUR hours

fast pagoda
#

yeah web performance was dogwater that's all i know

rigid snow
#

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

fast pagoda
#

WezTerm + KDE Wayland + NVIDIA proprietary drivers btw also shit combo apparently if u want it to

#

work

#

had to force it to use x11

rigid snow
fast pagoda
#

i spent like an hour compiling electron 26 the other day

#

and then it failed

rough bloom
fast pagoda
#

idk how it happened but it downloaded the entire chromium repo

#

like 50+ gb

#

and tried to compile it

#

just from the pkgbuild

fast pagoda
#

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

rough bloom
#

there will also be tearing but yeah most applications (especially compositors) should work with NVIDIA now

fast pagoda
#

havent seen any tearing either

#

and ive been watchin

#

monitor is 265hz tho

#

so maybe that helps

rough bloom
fast pagoda
#

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

ivory plinth
#

behold
the abomination

fast pagoda
#

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

trim valve
#

because iirc a lot of oleds are P3

fast pagoda
#

it probably is some sort of HDR problem

#

if i had to guess

#

because it has HDR on in kde

trim valve
#

hm

#

it could be both too

fast pagoda
#

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

#

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

midnight sigil
#

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

fast pagoda
#

that's what they said when i was born

#

overflow moment

midnight sigil
#

it works(count will be min(2, 12) = 2) if I remove the int though

#

feels like it's some compiler magic

rough bloom
#

does the count in std::min(count, ...) reference the new variable

#

if so then I think it would be uninitialized in this case

fast pagoda
#

yeah the 2nd one does not reference it

#

it's making a 2nd one

#

with the same name

rough bloom
#

that part is obvious, yes
the question is if that variable already exists for the expression being assigned to it or not

fast pagoda
#

count (inner) is uninitialized -> it gets declared -> compiler references the uninitialized garbled

midnight sigil
rough bloom
#

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

midnight sigil
fast pagoda
midnight sigil
#

compiler magic

fast pagoda
#

that -858993460 is just 0xCCCCCCCC

#

aka garbage

midnight sigil
#

new knowledge neuroHypers

#

this number will now be in my dna forever

fast pagoda
#

well if you see it just run it with a debugger

#

itll say hey this shit is debug garbage from ur compiler

rough bloom
#

looks like this is specific to MSVC debug executables btw
it's not some universal value that's used everywhere

fast pagoda
#

yeah it's specifically msvc

midnight sigil
#

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

fast pagoda
#
------   --------        -------------------------
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(). ```
south needle
fast pagoda
#

0xBAADF00D is the best one

rough bloom
fast pagoda
#

lmao

midnight sigil
#

food

rough bloom
#

thank you Sun Microsystems for that first one

desert plaza
#

classic 0xDEADBEEF

fast pagoda
#

0xFEE1DEAD

#

me irl

#

that's usually what i output

#

0x1337BEEF

#

1337BEEF is my next pc name

rough bloom
#

face:b00c neurOMEGALUL

#

it's real

midnight sigil
#

face:b00c

rigid snow
#

this is so funny

fast pagoda
#

the sacred texts

rigid snow
#

deadbeef is ancient lore in 96 guys

fast pagoda
#

that post is like a year older than me

#

younger

#

actually

#

i cannot into math

rigid snow
#

btw actual answer

midnight sigil
# rigid snow this is so funny

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 NeuroClueless

rigid snow
#

schizo

midnight sigil
#

oh I realized my dumbness

rigid snow
desert plaza
#

uh, mmap syscall keeps telling me -1 EFAULT (Bad Address)

midnight sigil
#

always been like this

desert plaza
#

i wish that was me

midnight sigil
sage crag
desert plaza
sage crag
#

brk(NULL) seems dubious

#

bwa

desert plaza
#

brk(NULL)tells me the current program break

fast pagoda
#

bad structure on mmap

desert plaza
#

this is the code neuroGlorp ```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

sage crag
#

no one here is parsing that except for you

desert plaza
#

really?

#

damn neuroGlorp

fast pagoda
#

what got sent to mmap is not good for it

sage crag
#

i have a mmap implementation, why not just use it bwa

desert plaza
sage crag
#

yes

midnight sigil
desert plaza
#

hbc

sage crag
#

wa

#

i sent the implementation earlier

desert plaza
#

i thought i put the correct values in the correct registers though

fast pagoda
#

try set %ebx to NULL

sage crag
#

hang on im fiddling with a build script, i will send you a disasm in a minute

desert plaza
#

EFAULT

fast pagoda
#

rip

desert plaza
sage crag
# desert plaza does not work <:neuroGlorp:1315671058866638949>
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

desert plaza
sage crag
#

pretty sure mmap is the same between x86_64 and x86, par the register widths and syscall

#

though the syscall number is probably different

fast pagoda
#

mmap2

sage crag
#

syscall numbers are different between x86 and x86_64

desert plaza
cobalt sigil
rigid snow
#

ipad 2 neuroSHARK

#

i have one

fast pagoda
# desert plaza 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

desert plaza
sage crag
#

@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

desert plaza
sage crag
#

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

desert plaza
sage crag
desert plaza
#

oh

#

is 5.4.0 old?

sage crag
midnight sigil
desert plaza
#

i feel like i'm going insane

sage crag
#

buddy

#

you write machine code manually

desert plaza
#

found teh bug

#

wait

#

wait no

#

wait yes?

uneven pulsar
midnight sigil
#

ngl this AWA interpreter thing is my second actual C++ project neurOMEGALUL

midnight sigil
#

one my mom ask me to do a gambling prediction thing, one this

uneven pulsar
sage crag
uneven pulsar
sage crag
#

i imagine the hardest part of it was the spec being wrong enub

midnight sigil
uneven pulsar
#

GUYS MY DAD BROUGHT MY APP for 5$

#

i am now bruce Wayne

midnight sigil
#

I always wanted to do an actual tree-walk interpreter or bytecode vm instead of this kinda stuff

uneven pulsar
sage crag
midnight sigil
#

if you can use Java you can use C#

#

and this list goes on

desert plaza
#

is this code cursed y'all? neuroGlorp ```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

rough bloom
#

it should be system call number 90 on x86 niuh

desert plaza
#

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 neuroGlorp

rough bloom
#

I was very confused why you were talking about Itanium for a moment

rigid snow
#

such a shame really

desert plaza
#

guys IA-32 is just what intel calls 32-bit mode

rough bloom
#

they also decided to call Itanium IA-64

rigid snow
#

incredible

rough bloom
#

I always hear IA-32 referred to as i386 or i686 or literally anything except IA-32

desert plaza
#

yeah, i call it IA-32 because the manual says so neuroGlorp

#

uhh, how do i output a 32-bit elf with nasm

#

nvm i did it

formal quartz
#

oh boy french method comments in a new unit i want to use, first time i had that happen xD

desert plaza
#

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

opaque wharf
olive sable
#

Hello

#

Goodmorning

opaque wharf
#

One way to start your morning Sam

#

There's also another dude that cooks noodle with 7 eggs in the next server

olive sable
opaque wharf
rigid snow
#

i'm not shaming

#

it's just rare

#

i'm surprised to see it

desert plaza
opaque wharf
midnight sigil
#

calculate the gaussian curvature of that egg please

#

I want to know

opaque wharf
#

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.

midnight sigil
#

can't unfold the egg to match the table neuroSadge

opaque wharf
#

Well, egg is a closed shape after all

desert plaza
#

i just changed the syscall number and it worked

#

does 32-bit mmap really only accept one operand

#

i must investigate

rough bloom
#

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)

desert plaza
#

yeah

#

that is puzzling

#

strace really just shows mmap is accepting just one argument

opaque wharf
#

So either the docs is lying or you found implementation bug

desert plaza
#

hmm

olive sable
#

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

opaque wharf
#

Another windows L

desert plaza
#

the only difference here is the syscall number in mmap vs mmap2

#

all other registers are the same

rough bloom
#

AINTNEURWAY mmap requires arguments to be passed differently

#

it takes one pointer to the list of arguments in ebx

desert plaza
#

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 neuroGlorp

rough bloom
#

pointer to the args, hopefully

rough bloom
#

does it need to be aligned? is there any padding between arguments? idk 4HEad

desert plaza
#

would be easier if pointer pointer

desert plaza
verbal grove
#

i completely forgot trovalds made docs for that stuff

desert plaza
#

super easy to find mhm

#

being able to navigate a monolith of a code base like this must be nice neuroGlorp

#

wait...

#

it says "obsolete"

rough bloom
#

yeah, replaced by mmap2

desert plaza
#

my reference table didn't say that

#

welp

#

i'll just use mmap2 then

rough bloom
#

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)

noble zodiac
#

afaik mmap was deprecated like 30 years ago in the 90s

sage crag
#

not on x86

#

_64

opaque wharf
desert plaza
#

must compile by hand neuroGlorp

maiden geyser
sage crag
#

you

#

its you

#

you are the compiler

sage crag
midnight sigil
sage crag
#

mmap was so bad they made a sequel

midnight sigil
#

nor an assembler

#

they code on vacuum tubes

opaque wharf
#

Is assembler not count as a compiler?

midnight sigil
midnight sigil
sage crag
#

like, 1950

desert plaza
sage crag
#

the next assembler will have been written with the first assembler

sage crag
#

compilers dont have assemblers in them

opaque wharf
sage crag
#

an assembler directly translates assembly to machine code

#

a compiler does a lot more

opaque wharf
#

Hmmm, I'd say they just churn out machine code from human readable text too enub

sage crag
#

however you are also completely wrong

midnight sigil
sage crag
sage crag
#

its not assembly, nor is it similar

midnight sigil
#

explain how I can generate assembly code with a compiler, and feeding the assembly code back to the compiler would generate an object file

sage crag
sage crag
#

its just a convenience wrapper, not part of the gcc compiler

midnight sigil
#

eliv 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

sage crag
#

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.

midnight sigil
#

yuh

opaque wharf
#

I am not downloading pdf from the internet

stark needle
sage crag
midnight sigil
#

Open-source, free. Under GPL license

stark needle
#

90% of the paper is on safety

#

😭

opaque wharf
rough bloom
opaque wharf
#

Assembler also needs to parse the assembly no?

#

Not to mention they also need to keep track of label and such

sage crag
# sage crag to explain why this is wrong: it's about the layer of abstraction

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.

midnight sigil
sage crag
midnight sigil
#

👆

tender river
#

awa

opaque wharf
#

But both convert human text to machine code

sage crag
#

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.

midnight sigil
sage crag
#

an assembler is just a serialiser

midnight sigil
sage crag
#

or, a deserialiser

opaque wharf
sage crag
#

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.

noble zodiac
#

ok, either rust wasm messed up, javascript messed up, or most unlikely, I messed up

#

but this shit aint working

olive sable
#

"or most unlikely, I messed up" NeuroClueless

tender river
sage crag
#

std::byte

tender river
#
enum class byte : unsigned char {};
sage crag
#

enum class (its an unsigned char)

#

(an enum) (with no variants)

tender river
#

it says it doesnt implement arithmetic operations but only comparisons and bitwise operations

noble zodiac
#

nah this stuff legit bugged

tender river
#

c++ isn't real

sage crag
#

is it only unary binops

#

no because comparisons

tender river
#

no, binary too

sage crag
#

so why no arithmetic

#

why

rough bloom
#

std::byte models a mere collection of bits
mhm

opaque wharf
sage crag
#

its mere collection of bits

sage crag
tender river
#

we have bitset<8>

#

why byte

sage crag
#

size of byte is platform variant

#

apparently

opaque wharf
sage crag
#

@tender river does it implement a ^ x

tender river
#

yuh

sage crag
opaque wharf
tender river
#

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"

sage crag
#

c++

neat parrot
#

why the hell is vsc taking 2 gb of ram

sage crag
#

electron

#
  • lsp
#
  • big files
tender river
#

lsp is a separate process.. probably

sage crag
#
  • microsoft (eat ram)
tender river
#

windows may show it as a process tree though

neat parrot
#

💔

tender river
sage crag
#

byte bite

#

a byter

#

@scarlet arch neuroSHARK

neat parrot
#

i dont have the ram for this gang

#

im migrating

sage crag
#

switch to ed

tender river
#

?

sage crag
#

switch to tee

#

switch to dding bytes manually

neat parrot
#

maybe notepad is the best ide there is

olive sable
#

no def not

tender river
#

wait i forgor i wanted to try out helix nub

sage crag
#

at least use kate

tender river
#

kakoune (nonextensible)

neat parrot
#

wait no ive been saved

sage crag
#

that's because its memory safe™

neat parrot
#

its back down to 400 mb

olive sable
#

how much ram you have that u cant spare 2gb for your ide?

opaque wharf
#

Or 4

neat parrot
#

not even chrome uses that much

olive sable
#

it does

neat parrot
#

not for me

#

its on par but still less

rough bloom
sage crag
#

me when Isolated Web Container

#

(firefox pretending that it isnt eating 4 gb ram)

tender river
olive sable
#

firefo like my ram

sage crag
#

i have two versions of electron running simultaneously

neat parrot
olive sable
#

i mean, to me 2gb is nothing

neat parrot
#

yeahh i can tell

#

29% ReallyInnocent

olive sable
#

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

neat parrot
#

im constantly on 80%+

sage crag
#

dont use the full 16gb unless you have swap

olive sable
#

blender likes eating ram

sage crag
olive sable
#

im not serious about using the full 16gb always

#

but i mean i dont mind if its full

neat parrot
#

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

olive sable
#

depends on what you're making i guess

sage crag
olive sable
#

cuz i cant do shit with 4gb

sage crag
#

also why stop at windows go for bsd

neat parrot
sage crag
#

in fact why stop at bsd go for plan9

neat parrot
#

sometimes a lil bit of python

#

unity was HELL

#

because it kept crashing

#

4gb is NOT sufficient

olive sable
#

at 4gb ram i can see why

sage crag
rough bloom
tender river
#

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

rough bloom
neat parrot
#

i bought a cooling pad yesterday

olive sable
#

these days 8gb is my bare minimum, if it doesnt have that much its basicly e-waste
preferably 16gb or more tho

neat parrot
#

would hope itll help

neat parrot
scarlet arch
#

Heyo

neat parrot
#

yesterday i spent like 2 hours trying to figure out why my voice assistant project was using 2gb of ram

tender river
#

i'll still use helix for a few months to give it a proper try

neat parrot
#

it spiked from being 600mb after i made a slight upgrade

noble zodiac
#

I like it so far

sage crag
tender river
sage crag
#

shtop

tender river
#

deliv

sage crag
#

deliv <-

opaque wharf
#

Someone just said typescript type is 2nd only to rust neuroD

sage crag
#

cut ties

#

immediately

#

is it a hair pulling contest

olive sable
#

i broke everything again bwaadow
coding stuff in multiple files is hard

sage crag
tender river
#

typescript typesystem is second only to javascript

olive sable
#

C++

neat parrot
#

yeah okay i get it now

sage crag
#

🇨➕➕

olive sable
#

C but better but actually worse

opaque wharf
sage crag
neat parrot
#

cpp gives me flashbacks to when i tried making an OS

sage crag
#

robot

neat parrot
#

ill do it again sometime

scarlet arch
olive sable
#

no no no

#

byter

scarlet arch
#

I like Rust

#

What can I say

opaque wharf
olive sable
#

but do you like typescript?

scarlet arch
#

Or am I understanding the sentence wrong

sage crag
#

your love of rust is blinding you

scarlet arch
olive sable
#

ok but its not 2nd to rust

tender river
#

nopy 🐛

olive sable
#

its like maybe 40th to rust

scarlet arch
#

Oh I thought they just meant Rust is better, not that it's literally second. I thought it was a phrase

olive sable
#

ah

scarlet arch
#

I retract my based

olive sable
#

you're forgiven

sage crag
scarlet arch
#

Listen English is weird

sage crag
#

🐛

#

lamingo

#

(lame)

olive sable
tender river
desert plaza
# scarlet arch Listen English is weird

"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 ...

opaque wharf
#

I need to sleep

olive sable
#

i dont get it

sage crag
#

benub

olive sable
#
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

desert plaza
sage crag
# olive sable ``` Simplified parse tree: S = sentence NP = noun phrase RC = relative clause VP...

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)...

▶ Play video
#

have fun

olive sable
#

i ownt

sage crag
#

watch it

#

i dont know if its good i havent watched it

opaque sigil
#

Formal languages are kinda fun

noble zodiac
#

FUCK

tender river
sage crag
#

is

#

awa

noble zodiac
tender river
#

🏛️

sage crag
#

never say it probably wasnt your fault

#

it changes the odds

olive sable
noble zodiac
#

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

tender river
#

right moving to the next line when you are at the end of the current line feels like witchcraft

olive sable
#

??? does it?

tender river
#

its weird

olive sable
#

isnt that how you're supposed to read?

opaque wharf
rough bloom
opaque wharf
#

Code editor

tender river
#

okay so where is my 0/^/$

#

gl/gh

#

fair enough?

noble zodiac
#

helix --tutor

tender river
#

but i can press ^ without shift so its a bit sad to have it be longer

noble zodiac
#

has all the answers

tender river
#

its annoying to move around the tutor without movement commands

#

it has them buried at the bottom or something

rough bloom
#

I read the first few paragraphs of the tutor but yeah it gets boring evilFumo

opaque wharf
#

When is the stream bime again?

olive sable
tender river
#

in 2 hours

#

if its in schedule newero

noble zodiac
#

btw, helix --health lists all th LSP and stuff it found and auto configured

sage crag
opaque wharf
#

Hmmm, see you guys in 2 hours then

tender river
#

1]

sage crag
#

r
...1]
mhm▯

rough bloom
#

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 glueless

tender river
sage crag
safe path
olive sable
sage crag
#

we at neuro-sama headquarters do not acknowledge the false existence of third party discord clients

olive sable
#

i dont condone mods, but...

tender river
#

no moving around code blocks with { or } neuroSadge 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

sage crag
#

croutons

tender river
#

i didnt play rhythm games to navigate in my editor

sage crag
#

minimum fieryrage