#programming

1 messages · Page 96 of 1

hard raptor
#

--experimental-strip-types

opaque wharf
#

Meaning valid JS is valid TS. But not all valid TS is valid JS

opaque sigil
#

You don't need that flag anymore

hard raptor
#

But do namespaces and enums and stuff work too now?

opaque wharf
opaque wharf
hard raptor
#

Pkay i am dumb

#

I didn't read the aritcle properly

opaque wharf
#

Yeah, for that to work you still need flags

topaz tendon
#

Just figured out how to compensate for Bluetooth audio latency while watching videos/streams 5Head

midnight sigil
#

No mom it's not a "messy pile of clothes on my chair" it's an L1 cache for fast random access to my frequently used clothes in O(1) time. It needs to be big to avoid expensive cache misses (looking in my closet). I NEED to be minimizing latency, this is important to me. Please.

prisma spoke
#

But casually how can I build an ai like neuro though

midnight sigil
#

learn

prisma spoke
#

Which language

#

I know python and java

tight tinsel
opaque wharf
trim valve
#

@opaque sigil ok so I'm getting fed up with hyper-v networking and using nixos-wsl instead om

tender river
#

why not just dual boot

opaque sigil
#

dual booting is annoying

trim valve
#

and I don't wanna dual boot on my laptop

#

I could be tempted by a cheap ThinkPad for Linux though

tender river
tender river
opaque sigil
#

a vm doesn't make me reboot every time i want to use the other system neuroPogHD

hoary lion
#

morn

olive sable
midnight sigil
midnight sigil
#

let's investigate

sage crag
#

already some conflicts, like super rare vedal appearance coinciding with new chatter

#

also the one that is 5+ people required

#

cant be done in one sentence

inner pike
#

what about top row

#

that could potentially be done in a single message

midnight sigil
midnight sigil
rare bridge
#

if i have to do a modcheck here i'll just tell ya'll to mark your bingos sheets CerberOMEGALUL

sage crag
#

i think these ones could all be done in a single sentence

#

but it would have to be from an ai spambot that just joined the server

midnight sigil
sage crag
#

actually i missed one, #programming inside joke gets art should also work

#

also this person needs to get promoted to moderator before they send their message

#

so modcheck in theory could also work

#

i think sending this message would get you instantly banned though

tight tinsel
#

the art one is never happening ever again after december

rare bridge
#

don't include spambots

#

... mainly cos ya'll summon us

#

but also cos the spambots aren't on topic

cosmic sphinx
#

ultra rare vedal appearance.. yeah no, not for another 2-3 months in #programming neurOMEGALUL

midnight sigil
#

how do you doompost from only one sentence

midnight sigil
sage crag
rare bridge
#

also me being here rn is a bingo square LULE

sage crag
#

this is true

#

🤔

midnight sigil
#

mod chatting neuroNOWAYING

#

unreal

inner pike
sage crag
#

ahh problem

inner pike
#

we need more squares

rare bridge
sage crag
#

i just realised that this person would have to be a twitch subscriber otherwise they wouldnt be able to embed images

inner pike
#

Oh true

sage crag
#

either that or a moderator neuroCatUuh

midnight sigil
#

@sage crag

rare bridge
#

if a mod is compromised there's bigger problems than the scams

midnight sigil
sage crag
sick owl
#

The way Magistral breaks down its chain of thought into reasoning steps is really interesting

#

None of the other open weight reasoning models do this

#

That I know of anyway

inner pike
sick owl
# sick owl

It has the full reasoning trace broken up into steps dedicated to specific lines of inquiry like the ones you might see on a consumer frontends summarised version

sage crag
inner pike
opaque wharf
sage crag
#

vedal amnesia bingo

#

then he can be a new chatter too

#

doesnt add any new bingos but does add another square

midnight sigil
sage crag
#

with some kind of multiple personality disorder perhaps we could also get os/editor wars and poll from 3 people

opaque wharf
midnight sigil
#

are there any AI bots in history pinged vedal

opaque wharf
#

It needs to be something that vedal actually needs to intervene / clarify

sage crag
#

easy answer

midnight sigil
trim valve
#

glueless guys why is my ssh struggling on a 6500kbps link speed wifi connection

trim valve
#

I think I just have a terrible connection to the router

opaque wharf
midnight sigil
#

like

trim valve
#

its an lte modem

midnight sigil
#

it's a wire

trim valve
#

:3

midnight sigil
#

oh

trim valve
#

it has no holes aside from usb

sage crag
#

evil eats a lemon and dies

midnight sigil
sage crag
#

🍋 evilFumo

olive sable
#

I am here

sage crag
#

true

midnight sigil
#

imagine someone in the future wants to ping vedal, but pinged the vedal987 account instead

#

which is owned by me neurOMEGALUL

opaque wharf
sage crag
olive sable
sage crag
#

millipede

midnight sigil
#

millipede

olive sable
#

Friend came by to play more res evil 4, we're stuck on the boss of disc 1 bwaadow

tender river
#

"too lazy to count let's just say 1000"

sage crag
#

bugs

#

awa

opaque wharf
#

I have centipede issue here at my place

#

They kept crawling from somewhere into my bedroom

olive sable
#

Also i tried kindom hearts for ps2, but tbh it kinda sucks ngl

rigid snow
#

why lie fym 100 and 1000

tender river
#

forty- is just the archaic name

rigid snow
#

oh? i always thought they referred to millipedes and centipedes respectively

tender river
#

ok maybe not archaic but either way the reason its 40 is because 40 used to also mean "many" for random christian reasons (edit: may alternatively be related to fur trade)

rigid snow
#

NeurOhISee thank you language nerd

#

so basically ?=100=many=40

tender river
#

mhm

trim valve
#

hm

#

doing this with nix will be a mildly fun game

rigid snow
trim valve
#

tl;dr I have elected that my previous idea is glueless clearly the best idea for how to proxy moonlight

#

but I want it in an appimage

#

so like

#

time to build an appimage

#

which surely is best done from a nix flake

rigid snow
#

reasonable assumption tbf

#

though wouldn’t it be faster to just throw it together if you need it only for yourself

trim valve
#

its probably stupid

#

but I don't want to make my ubuntu wsl install any worse with random appimage building stuff

#

and I really should learn nix at some point

small anvil
#

moments where AI is actually useful to me: my router likes to invalidate my private ip if im not making any net requests so i made AI create a program that constantly pings 1.1.1.1 (i couldnt be bothered to work with windows api myself)
pretty neat, i also have it on my startup apps too

small anvil
tender river
#

you dont have to work with winapi you could've just ping -w 1.1.1.1

#

(or whatever the windows flag for infinite ping is)

small anvil
#

id rather not open a command prompt window each time i start my pc

tender river
#

you can autostart it

small anvil
#

yeah but the window is never hidden too

rough bloom
#

if it's the private IP why not just set a static one? does your router not allow setting the address range for the DHCP server?

small anvil
small anvil
opaque wharf
#

Is discord having an outage?

#

Or just the specific server I'm in?

small anvil
rough bloom
small anvil
#

im not sure if its a driver problem

opaque wharf
small anvil
#

wait it probably is a driver problem for windows, i switched to linux for a short time and my wifi always worked on it

#

but when its windows it never works

#

one of the things i saw while troubleshooting is that my wifi network is duplicated 2 times, same signal strength but the wifi name of the duplicate is empty, but im not sure if thats causing it

rough bloom
small anvil
#

sorry if i was vague when i sent that message

#

its been happing for a good amount of time

#

its only windows that does it too

rough bloom
#

yeah, more likely an issue with your device than with your router then

midnight sigil
#

windows problem

#

L

small anvil
#

i have to switch the channel whenever i try connecting, I have a repeater thats upstairs, i connect to it, then go to my panel and then switch the channel to be either channel 1 or 6, save it and then pray that when i connect to the main one it actually works and then start pinging 1.1.1.1

midnight sigil
#

microsoft moment

small anvil
#

its so weird

small anvil
midnight sigil
#

that's a complex solution

#

hey it works it works

small anvil
#

im not too sure how i found it

#

i was just messing with alot of stuff

#

i think this was after i was messing with DHCP

trim valve
#

hm a thinkpad is so mildly tempting

small anvil
#

im genuinely thinking of moving over to linux though, my only gripe is that anything above 120hz does not work and results in a black screen when moving my cursor or using my keyboard
probably a driver issue but i cba to look into it right now

#

oh and also the fact most of my apps are windows only NeuroPossessed

opaque sigil
#

that definitely sounds like a driver issue or sth, my 240hz monitor works just fine

small anvil
#

im just glad my GPU isnt nvidia

#

its AMD

tender river
#

i feel like i'm getting more sponsorship spam lately

opaque wharf
tender river
#

i technically was many years ago

#

"many years ago" is how i know they just send these emails indiscriminately

nocturne olive
tender river
#

it's gotten better recently

small anvil
tender river
#

but historically nvidia has been very uncooperative

nocturne olive
#

Those recent upgrades must have really made a big difference, I have encountered 0 GPU related issues

#

Not any that weren't user error anyway

opaque sigil
#

It's still a bit more effort to set up but after that it should just work, thankfully there's a driver for using vaapi via nvdec now OK

nocturne olive
#

For me it was just a matter of installing the driver

#

And that was made very easy by Mint coming with a driver manager thingy

opaque sigil
#

Yeah mint will do this for you automatically

olive sable
#

i am here

opaque sigil
#

Hi here neuroWaveA

olive sable
#

hello neuroWaveA

trim valve
#

reading about flakes is fun evilStare

tender river
amber fractal
#

No guide about flakes quite explains it well, some people might default to how you first use it; some might look at packages that have upstream nix code. It's a very nice system that is expanded by just allowing a version of nixpkgs.
There is always the example of two sets of nixpkgs, but I'm personally for the extra apps and options that other projects can add ontop of the defaults.

olive sable
stark needle
#

hi

olive sable
#

HIII

ebon basin
#

I wonder how many viewers can Twitch handle wasn't it so 1.2 mio with this Spanish streamer ?

opaque sigil
#

the current record is 3.8M

ruby plover
#

on firefox is there a way to ozom in on websites other than ctrl + and settign the zoom function on the settings? For some reaosn this one website im using doesnt zoom in with any of these options. tried an extension zoom we too

ruby plover
#

same thing doesnt do anything

nocturne olive
#

The site has probably captured input then

ruby plover
#

i think its because this monitor is 4k

#

doesnt look too bad on my other one so guess ill have to just swap em over

#

yh its based off display resolution only rip

#

nvm figured it out o7

left prawn
olive sable
#

goodmorning

#

i slept

sick owl
#

My PC really enjoys the experience of running reasoning models

stark needle
#

hell yeah

gritty dust
olive sable
#

hello

safe path
#

today i learnt that training an AI model on a tablet is a terrible idea

humble shell
gritty dust
safe path
#

im testing something glueless

#

i have a personal hairdryer now

olive sable
#

a snapdragon gen 3 pro max ultra whatevert he fuck, or a 3090?
who would win? NeuroClueless

safe path
#

attempt 2

olive sable
#

get the drill

safe path
#

it is only a bad idea if my tablet explodes (it turned off because tmax)

olive sable
#

it did WHAT?

safe path
#

aww gdi

opaque wharf
olive sable
#

didnt even thermal throtle, just straight up turned off

safe path
#

it cant be that bad, ive only been at 100% cpu usage for the past hour

#

raaaa it froze again

olive sable
#

maybe you should put it in the fridge or so to train

safe path
#

wtf it killed my browser

olive sable
#

remind me again why you're doing this?

opaque wharf
olive sable
#

what cpu does it have?

opaque wharf
olive sable
#

we knew that already

safe path
opaque sigil
#

that poor thing

olive sable
#

oh so x86?

safe path
#

ok its working again

#

its fine

olive sable
#

is it capping cpu or gpu?

safe path
#

tmax is just a number

olive sable
#

its also the boiling point of water

safe path
#

caps cpu, this thing has an igpu

olive sable
#

does the igpu count towards cpu usage? it shouldnt?

safe path
#

i think loading data into ram requires the cpu, but i might be wrong

#

the igpu still reads from the ram

olive sable
#

ah

#

checks out i think

safe path
#

anyways it probably doesn't help im trying to compile something at the same time

#

maybe i should consider doing less

olive sable
#

damn that thing has 10 cores and 12 threads. for a tablet thats unexpected

opaque sigil
#

i'm sure it's fine neuroPogHD

#

lemme guess, 10 e-cores

#

or i guess 8

olive sable
#

8e 2p

opaque sigil
#

checks out

safe path
#

ya that

olive sable
#

ig this doesnt make sense without the labeling neurOMEGALUL

#

here they are Flashbang

#

this is so cursed

safe path
#

HOLY i think it's actually fine

#

nvm the fans started spinning

olive sable
safe path
#

i love openvino

hoary lion
#

man my head hurts

#

why does ssh 5090 is not using huggingface datasets

#

while my 3070 dies of OOM but still manages to do that

#

🤔

#

i should check components again

opaque sigil
#

remember the 5090 has a hard requirement on cuda 12.8+

#

could also be some locked down network FOCUS (idk where you got the 5090 from)

opaque wharf
olive sable
#

do yall rate your files tho?

signal trout
#

Never; I forgot that was a thing neurOMEGALUL

olive sable
#

i dont see why anyone would but ye

#

it exists

weary oyster
#

because silly

signal trout
#

only really makes sense for songs, imo

opaque wharf
#

Huh. KDE Dolphin has it too

signal trout
#

at least it's not an option on every file type—I can't rate my text files, and I'm not sure whether to be disappointed or not

trail charm
#

As we are all autistic femboys and catgirl here we are great at programming we should make a program that hypnotizes politicians into becoming femboys and catgirls.

tight tinsel
#

wtf??

olive sable
#

speak for yourself

#

i may be autistic but i am not a femboy nor a catgirl

#

(yet?)

tight tinsel
#

no comment xd

#

i just remembered my interviewer asked me how much ram i had

#

that was pretty cool

opaque wharf
olive sable
#

hey pssttt.. by the way, how much ram you got? cuz our project folders are unoptemized as fuck and you're gonna need at least 64GB

tight tinsel
trim valve
olive sable
#

7am noodles

#

its a sad bowl but its food

opaque wharf
#

Imma be honest Sam, it doesn't even look cooked

olive sable
#

its just maintaining its shape well

opaque wharf
#

Suuure NeuroClueless

olive sable
#

the water is hot so it is cooked

#

you just have high noodle standarts as an asian person

hoary lion
#

i should try a different method

opaque wharf
olive sable
#

i did

hoary lion
#

and it seems like you forgot the stock

signal trout
#

I just eat oatmeal in the mornings

olive sable
#

Its fine

hoary lion
#

...

#

I really don't understand where would the flavour even come from based on the original looks

#

did you just put only the boiled water or something

olive sable
#

The litle pack of powder

hoary lion
#

you did add it??

olive sable
#

Yes

opaque wharf
#

Now I want some noodles

hoary lion
#

My korean ass refuse to believe there is powder added to it but okie

opaque wharf
#

I like more spicy noodles myself. The broth will turn red and even then, I still like to add more powdered chili

hoary lion
#

the humble buldak sauce catdespair

opaque wharf
#

Yep

noble zodiac
#

wait why is it still swimming in water?

#

that aint no broth

opaque wharf
hoary lion
#

I mean the water literally looks like it changed color only due to the noodles

#

I still refuse to believe that powder stock package still results that color after adding it to that small amount of water

olive sable
#

It was fine

#

Yall are so pedantoc about noodles

#

you're supposed to use that litle water,t he pack said 300ml

hoary lion
#

seems like we were too biased towards korean ones where broth is red/orange

olive sable
#

this one was onion

#

i do liek the more spicy ones but i ran out bwaadow

hoary lion
#

update on my datasets:

#

even the huggingface datasets logging is not showing anything

#

it was blazingly fast for pip fetch

#

but why huggingface fails

amber fractal
# olive sable

Granted I don't use a dedicated water boiler, but I usually go the least amount of water needed to have all of the noodles submerged.

#

no need to be wasteful

#

(It's also more fun because you place in too little and quickly got to refill it)

opaque wharf
#

I like to drink the broth after eating the noodles tho. So no waste there

midnight sigil
olive sable
#

i think its mostly just the reflection of my monitor

hoary lion
#

my credentials were not used at all

#

but there was no bug raised

#

wtf

bitter coral
#

I procrastinated a bit to much today so I won’t be able to work on the art program, I think the next feature I’ll add is the ability to rearrange layers, then duplicating layers. Mainly because I want to add frames and make animations.neuroHypers

#

Also I should probably change the version number that I’m calling it now that undo-redo is here.

bitter coral
#

I realized earlier that the cursed undo solution that unconputable thought of wasn’t actually that bad as it would basically be an layer of just a single action rather than including all the past actions in each new layer. Which I technically have to make anyway if I want to preview the current action. Just without storing the action layer that is.

opaque wharf
#

Still cursed tho

bitter coral
fast pagoda
#

i like how ruff always offers #ignore <the giant problem that will cause program to not function> as a fix

bitter coral
#

If you were to draw a horizontal line, after how many pixels would image.fill_rect() be better than image.set_pixelv()thonk

opaque wharf
#

Profile it and find out neuroHypers

bitter coral
#

I have to sleep first, and I don’t want to write purposeless code in this project so I’ll have to make a new project for testing this.
I’m wandering because I think my fill bucket uses set_pixelv() and I think converting it into rectangular chunks and using fill_rect() would probably be faster, but that’s a lot of unnecessary work if drawing it isn’t a big issue at all compared to searching the image for the pixels to fill.

trim valve
#

it probably all depends on what you're using, but the only real answer is profile it

safe path
#

smh why did i see sad instant noodles the moment i open the channel

#

you guys should invest in coffee ramen, it gives you all the nutrition you need to tackle the day

opaque wharf
#

Noodles with coffee as the broth?

safe path
#

yes (it does not taste good)

jagged turtle
#

is it a good idea to convert my spare surface into a mini-server

safe path
#

i know the tablet ones overheats a lot, like the current one im using

jagged turtle
#

tablet one does overheat but that's not much more of an issue if you leave it in a cool environment directly in front of a fan right NeuroClueless

safe path
#

glueless ya bro i personally like to put my tablet in the arctic whenever i feel like opening 2 chrome tabs

opaque wharf
opaque wharf
unkempt citrus
#

mi goren my beloved

inner pike
#

For anybody wondering, this is what it looked like when he made the Coffee Ramen

#

He also made Protein Powder Ramen before

opaque wharf
#

Why catdespair

inner pike
#

I dont know

rare bridge
opaque wharf
#

Are y'all secretly ID or got some hidden route to Indomie mi goreng?

unkempt citrus
#

its sold everywhere in australia

opaque wharf
#

Ahh, our so close yet so far neighbor

faint sandal
#

Administrator Protection is now on insider beta

opaque sigil
maiden geyser
#

uacslop

faint sandal
opaque sigil
#

oh

#

i like that

midnight sigil
#

guys is this real

faint sandal
#

no it probably tastes mid

midnight sigil
#

yea monster energy still on top

opaque sigil
#

my tummy hurts just looking at that

trim valve
#

water neuroCatUuh

opaque wharf
#

Microsoft finally getting sudo

opaque sigil
#

FOCUS (it's off cause i use gsudo)

opaque wharf
#

Well, technically it isn't sudo either. Is it PAM or DBus that ask for authentication when some GUI app want to access some privileged action?

opaque sigil
#

pam

hoary lion
#

de-engineering time

noble zodiac
#

I'm gonna crash out when the web-sys crate makes me add another feature

opaque sigil
#

holy

#

wdym there are 1657 features AINTNEURWAY

#

though i guess there are A LOT of web apis

opaque wharf
#

Indeed there is

midnight sigil
#

hmm I wonder if there're vulnerabilities of forcing admin privileges or bypassing this prompt NeuroClueless

faint sandal
#

none yet this is pretty new

#

traditional UAC bypass methods won't work because you can't just pass around tokens like that anymore with this on

midnight sigil
#

windows is a big chunk of tech debt

#

meh

faint sandal
#

this model is a lot more secure and resilient than previous implementations since it relies on an entirely new account and SID/SMAA

#

since it relies on a new shadow account the SID is different

midnight sigil
opaque wharf
#

Now the question is, will they deprecate the old stuff and introduce backward incompatibility or not

midnight sigil
#

probably redirecting the apis ngl

opaque sigil
#

knowing microsoft they will just support both until the end of time

midnight sigil
#

more tech debts neuroHypers

faint sandal
#

it is an entirely optional feature

#

privileged shadow account can't access processes on the standard account now

opaque wharf
#

Because the actual problem is that. MS is accumulating a lot of tech debt from maintaining backward compatibility so far back to the past

stark needle
#

hell

opaque sigil
#

heaven

opaque wharf
#

Earth

midnight sigil
#

Mars...? NeuroHuh

olive sable
#

Uranus

sage crag
#

OGLE-2005-BLG-390Lb

opaque wharf
#

Oh wait no, that's distant earth like planet

olive sable
#

ROXs 42 Bb

#

The biggest

opaque wharf
#

I raise you all, the observable universe

olive sable
#

Thats not a planet

opaque wharf
#

But for all we know, the universe could be a hologram on the surface of a black hole

#

So still 1 spherical celestial object

olive sable
#

Holograms?

opaque wharf
#

Yes, because for some odd bizzare reasons, the information required to describe the smallest unit of space is not a voxel, but reducible to a hologram on the surface of a sphere

#

Do you know what a hologram is?

olive sable
#

I thought the smallest unit of space was described in energy

olive sable
opaque wharf
#

It provides a good basis of understand light hologram

olive sable
#

I did see that one before ye

opaque wharf
#

If light, i.e. electromagnetic waves can be captured on a surface of 2D plate, then so does every other wave can be described on the same way

olive sable
#

Yes

opaque wharf
#

So a hologram on the surface of a black hole can, in theory, encode a whole universe

#

Or at least object that falls into it

trim valve
#

catdespair neither tsocks nor proxychains (nor proxychains-ng) seem to support udp

olive sable
opaque wharf
opaque wharf
#

Or at least, not that we know of currently

olive sable
#

My vote is on us not being inside a black hole

opaque wharf
#

The many world interpretation could just be multiple black hole lol

olive sable
#

For the universe to be a black hole wed need a dense mass at the center and im pretty sure we wouldnt be able to see light from all directions due to it being sucked in

opaque wharf
#

Besides, the encoding happen at the surface

trim valve
opaque wharf
#

Ouch, yeah, not having root is quite an issue there. I need to check tailscaled docs one sec

trim valve
#

my current ideas are:

  • try and make tsocks, proxychains, proxychains-ng work
  • recompile moonlight-qt so it doesn't explicitly disallow proxies
  • make a proxy myself that can forward packets to tailscaled whilst also acting as a sunshine host (this might also be possible with ssh tunnels instead of making my own proxy if I can force ssh through a socks5 proxy)
#

it can make a socks5 proxy in userspace-networking mode iirc

#

(also advanced warning, my messages might take ages to send so sorry if I say something at a stupid time 😭)

#

also worth noting that despite the obvious drawbacks of tcp, I'm not too worried because I'm probably only going to be streaming at a low bitrate anyways

opaque wharf
#

Alright, the moonlight docs is ass ngl

trim valve
#

😭

#

I just searched the source code for "proxy" and got most of the answers I needed

opaque wharf
trim valve
#

yeah that lol

opaque wharf
#

Yep it is cursed alright ClaraKek

trim valve
#

part of why I'm considering all the cursed proxy-forcing options

opaque wharf
#

The best way to go about it is somehow sandboxing the network and capturing all of the request to the proxy

#

But we know sandbox require some root privilege

trim valve
#

tbh I have no idea what you can do in an appimage file

trim valve
#

I think it's just FS sandboxing

opaque wharf
trim valve
#

imo my best bet is probably to try recompiling moonlight without disabling proxies first

opaque wharf
#

But that's not a switchable compile options

trim valve
#

I can just fork it I think?

opaque wharf
#

Not from what I've read anyway

#

I think making a simple tcp proxy would be easier ngl

trim valve
#

like the client updates so rarely I don't really care about "maintaining" a private fork

#

yeah true

#

if ssh can port forward udp and work through a proxy then I might be able to use it

opaque wharf
#

Yeah, you can create SOCKS proxy through SSH tunnel

#

But you can also do reverse tunnel

#

Wait, have you tried reverse tunnel?

trim valve
#

I haven't tried anything quite yet because my internet is a pain in the ass here

#

so I want some idea of what I'm gonna do before I do it

opaque wharf
#

A reverse tunnel may just work

#

But I don't know about the overhead of SSH on top

trim valve
#

keep in mind ssh will need to access the internet through tailscaled 😭

opaque wharf
#

I used to do some cursed stuff with reverse tunneling like changing setting on my ISP router at home from somewhere ClaraKek

trim valve
#

moonlight is pretty resilient

lapis wraith
#

Now I know exactly how vedal feels when working on neuro... Even though gary knows how to read, he tried everything but to place anything over that exact position SMH

opaque wharf
lapis wraith
#

True. Neuro is always right GIGANEURO

#

To be fair to gary, I have to improve the context given by the messages. They could always be better

opaque wharf
tender river
#

which sfx

opaque wharf
#

Phone dialing tone

tender river
#

um no idea its probably the default android sounds anyway

lapis wraith
opaque wharf
#

Yeah, I just asked since you used Graphene maybe you'd know the layout of the installation image too. Thanks anyway

hoary lion
#

redoing all my fuckass training script

opaque wharf
#

I thought you said you use graphene? Am I imagining things?

tender river
#

i use linux on my phone

opaque wharf
#

OHHH

distant patio
#

How does Neuro sama works? Are the dialogue entirely generated by a custom LLM or does it sometimes have a custom dialogue injected in by a human?

opaque wharf
#

We don't know

tender river
#

vedal is personally writing every line

lapis wraith
opaque wharf
#

We may speculate but that's it

lapis wraith
#

Unless you count "custom dialogue" as discord direct messages

opaque wharf
lapis wraith
rigid snow
#

he writes the lines with one hand and slaps that hand with the another whenever he types something bad

opaque wharf
#

Vedal lore just keeps getting more and more interesting

rigid snow
#

on the topic of nextjs, i wasn't trying to defend it then but i started a project and i want to now

opaque wharf
#

I myself still adamant on JSX

rigid snow
#

i unironically love that it allows me to write spaghetti of whatever caliber i want

#

it reminds me of cpp in a sense

distant patio
#

Because some are just a bit too

#

Clipfarmy

opaque wharf
#

Neuro does have control panel yes. It is a web based application that is protected with cloudflare zero trust

#

I saw it from one of the stream but I do not know how much it has evolved since

#

Is it okay to post the link?

#

I'll wait until there's a confirmation from mod/vedal employee anyway evilLightbulbJuice

glass flower
#

scrajj i don't think vedal is personally interacting with the ai in real time. probably just looking over the responses sometimes to filter them. but now even that is automated.

#

the clipfarmy parts are likely just the AI fetching memories and trying to be entertaining. thats kinda the point of neuro afterall YES

opaque wharf
distant patio
#

Since ive read neuro have unlimited access to its past conversations and stuff

opaque wharf
#

That is a recent addition

rigid snow
# rigid snow <:neuroPray:1108327370206744576> bless server actions
<Modal
  button={{
    color: user.verified ? "success" : "danger",
    children: user.verified ? 
      <><Check size={18} /> Yes</> :
      <><X size={18} /> No</>,
  }}
>
  <div className="max-w-xs">
    <Heading h={3} className="mb-3">
      Are you sure you want to{" "}
      {user.verified ? "unverify" : "verify"} {user.name}?
    </Heading>
    <form
      action={async () => {
        "use server";
        await toggleVerified(user.id);
      }}
    >
      <Button type="submit">
        <Check size={18} />
        Yes, I'm {user.verified ? "taking away" : "granting"}
        verification status of {user.name}
      </Button>
    </form>
  </div>
</Modal>
``` this is real code for a admin panel i've written and shipped (it is in prod rn), don't you love this pattern ![neuroTroll](https://cdn.discordapp.com/emojis/1155281375767838850.webp?size=128 "neuroTroll")
glass flower
#

assuming it was saved. and it can find it YES i doubt the AI remembers everything all the time. i'd assume (very rough assumption), he got somekind of MCP or RAG setup for the memory

rigid snow
glass flower
tender river
opaque wharf
tender river
#

obviously theres also intervention in the form of filtering certain stuff or adding certain stuff to memories

#

("memory" is most likely not a single system anyway)

opaque wharf
distant patio
sage crag
#

hblang update

#

function pointers

opaque wharf
rigid snow
# glass flower <:tink:1160885779543900231> i like this. seems very nice to work with.

it looks nice in examples, is easy to write, but isn't great to maintain on a large scale - i did ok here by having a separate function toggleVerified but like, the idea that you can invoke any backend code in any seemingly frontend context- seemingly because technically no you can't, it's code executed server side only because react server components - but that's relatively new (not many people have rewired their brain to think of react code as server only) and still doesn't change the fact that you can attach backend code to user actions so easily and that makes you think less about the implications/makes catching dumb and dangerous shit at code review much harder

midnight sigil
#

man I have so many things that I wanted to do

#

and I'm sure I can't finish them within the holidays neurOMEGALUL

#

I really need to make a todo-list thing for all my dumb shits and gave-up(suspended) projects

olive sable
midnight sigil
#

we should make an operating system out of hblang

sage crag
#

hblang is the os language for ableos

opaque wharf
#

My favorite things to do using function pointer is changing the function being called on the fly neuroTroll

midnight sigil
olive sable
#

thats how i od my graphics settings

midnight sigil
#

how does an OS work without pointers

olive sable
#

it just does

midnight sigil
sage crag
opaque wharf
rigid snow
# rigid snow it looks nice in examples, is easy to write, but isn't great to maintain on a la...

like even this works

// inconspicuous-server-code.ts
"use server";
export async function makeDatabaseFaster() {
  await sql`DROP TABLE "users";`;
}

// client-side-code.tsx
"use client";
import { makeDatabaseFaster } from "./inconspicuous-server-code";
export OptimizerReactComponent() {
  return <button
    onClick={async () => {
      await makeDatabaseFaster();
      alert("Optimization complete");
    })
  >
    Optimize
  </button>
}

it's very implicit that a given interaction will execute code on the server; when you're doing api routes you at least add an endpoint and that gets caught easily, this? good luck

sage crag
#

why wouldnt it have pointers

midnight sigil
#

I have read the ablecorp git stuff now

#

cool

#

is there a coding standard?

rigid snow
sage crag
rigid snow
#

hblang abi? neuroTroll

midnight sigil
#

coding standard

worldly plank
#

Yes and no?

sage crag
#

since hbvm has a set abi, and for it uses systemv abi on linux

rigid snow
#

oh yeah the whole os thing

sage crag
#

(for c ffi)

#

mhm

#

working on finding some function ptr bugs

#

about to create a dynamic object

midnight sigil
#

neuroSadge I can't read rust what is all this

sage crag
#

its not rust

midnight sigil
#

bieispbhshoaw

sage crag
#

its hblang

#

ohh you mean the original compiler

opaque wharf
sage crag
#

yes you can do this in hblang now

sick owl
#

ICANT peak thumbnail in my recommended

#

Much as I love SSAO :hesRight:

midnight sigil
opaque sigil
midnight sigil
sage crag
opaque sigil
sage crag
#

reasons we have dynobject conventions and vtables

opaque sigil
#

i will say, reassigning fn pointers is nice for runtime selection for vectorised implementations OK

#

but that's only once obv

midnight sigil
#

zig looks like JavaScript

#

but Java like

opaque wharf
trim valve
#

ooh I didn't realise but it looks like tailscaled supports socks5 udp

#

so that's like mildly less of a hassle

rigid snow
#

one could say, it's a combination of words

midnight sigil
#

my brain ain't braining at 2am

#

I'm heading to bed

#

gn

opaque sigil
trim valve
#

so I think my current best plan is to make my own "proxy" that acts like a moonlight-compatible device but actually forwards all traffic through tailscale

#

because then I can properly use the featureset of socks5 that tailscale supports and don't have to hack (much) of moonlight-qt

#

so like moonlight-qt < - tcp & udp - > my "proxy" < - socks5 tcp & udp - > tailscaled < - ... - > the rest of the magic

tender river
trim valve
#

both tcp and udp

#

iirc its tcp for the handshaking stuff (and maybe inputs?) and udp for the video stream

opaque wharf
#

Mumble uses the same scheme. Tcp for handshake and control channel, udp for low latency audio

trim valve
#

I don't actually know if it uses tcp for inputs

#

but I do know that if you scroll really fast it delays the mouse inputs 😭

opaque wharf
#

Well, I mean control as in, muting, deafen, channel change, I think the text message is also done on TCP?, but audio and even positional audio with supported game plugins is through udp

#

Been a while since I read on their protocol

trim valve
#

fair

#

mumble is neat but I've never really used it

#

and the one time I was going to use it recently we made a last minute decision to ditch it

#

because the IOS client was too broken and kept crashing

sage crag
#

awa

#

waiting on bug fixes

opaque wharf
#

Yeah, it's the ol reliable for me. I made a compatible client for some MCU once

trim valve
#

fair

#

we had like 100 people to organise so stuff that breaks isn't ideal

trim valve
opaque wharf
tender river
opaque wharf
trim valve
#

mhm

sage crag
# sage crag waiting on bug fixes
DynObj := struct {
  .v_func: fn(^never): u8;
  .obj: ^never;
  
  $func := fn(self: ^DynObj): u8 {
    return self.v_func(self.obj)
  }
  $new := fn(obj: @Any()): DynObj {
    return .(@bit_cast(&obj.func), @bit_cast(obj))
  }
}

Obj := struct {
  .state: u8;
  func := fn(self: ^Obj): u8 return self.state + 1
}

main := fn(): u8 {
  obj := Obj.(255)
  dyn_obj := DynObj.new(&obj)
  return dyn_obj.func()
}

it doesnt work yet, but im hoping it will soon

glass flower
#

aaaa what is that monstrosity of a syntax

sage crag
#

it looks fine

opaque wharf
tender river
sage crag
tender river
#

it makes me feel unsafer

sage crag
#

its really a waste for small functions of course enub

glass flower
#

mhm i think its confusing personally

tender river
opaque wharf
#

hblang is directly compiled to x86/target architecture right?

glass flower
#

uhhh i just like readablity instead of random symbols..

sage crag
sage crag
#

directly, yes

glass flower
opaque sigil
#

as always, it's a matter of familiarity neuroPogHD

tender river
#

rust is considered to be unreadable by many

#

that is, by people who dont know it

glass flower
opaque sigil
#

i'd argue there is some rust code that is just objectively ugly af

#

but that's like 2% of it

tender river
#

like my code neuroPogHD

glass flower
#

the one thing that i still have trouble with is. that you can just have a random variable as the last line of a function and it just works

tender river
#

not variable but expression nERMd

faint sandal
#

I mean I still can't read it

#

even less so when it's compiled

tender river
#

strings neuroDespair

glass flower
opaque wharf
#

You all have not met ERF

sage crag
tender river
opaque wharf
tender river
faint sandal
#

does anyone have that "x is for delusional ppl" meme but with rust

opaque wharf
ember finch
opaque sigil
glass flower
#

tink i mean... yeah...

opaque wharf
#

I am too sleep deprived to explain things

opaque sigil
#

there's also nothing stopping you from just doing return messages; (pls don't crucify me chay)

glass flower
#

its just weird being able to just have something as the last thing. instead of it being empty or with a return statement

opaque sigil
#

takes some getting used to for sure, but it does offer some nice things

opaque wharf
glass flower
#

its not a big thing LUL just was odd

opaque sigil
#

like not needing an extra syntax for ternaries

wet oyster
glass flower
#

tink i also should probably disable inlay hints... they are making it harder to read i think

opaque sigil
#

i usually turn them off but i know a lot of people like to keep them on for seeing the intermediate types

glass flower
#

myaaa i know... let me be. im rewriting my cpp code in rust and just want it to work

tender river
glass flower
#

KEKW every function i wrote is still technically "unused" since i haven't tested anything yet

#

maybe i should actually connect things up and just see if it atleast runs...

tender river
#

naaah it typechecks surely its fine

glass flower
#

it also builds

#

(with 35 warnings)

opaque sigil
#

if it builds it must run mhm

glass flower
olive sable
#

glDrawArraysInstanced(GL_TRIANGLE_STRIP, 0, 5, 1000000);
1 million instances 4Evil

opaque wharf
#

Sam next logical step is rust

trim valve
#

glueless inlay hints mentioned

olive sable
opaque wharf
#

Oh, he shows up

opaque sigil
#

rust uses llvm

opaque wharf
opaque sigil
#

llvm can target nvptx so it runs on the gpu glueless

#

actually

#

does rust expose llvm intrinsics in any form

tender river
#

it kinda does

#

but not in a public way

olive sable
olive sable
glass flower
#

i mean... you can write everything in rust that you can write in C or c++ YES so yes you can write gpu code

trim valve
trim valve
#

so everything was typechecked and extensible

#

at the slight cost of insane generic signatures

opaque wharf
#

LSP stress test

rigid snow
opaque sigil
#

but i guess it's rust so makes sense

trim valve
#

its good but it does not need to be a multiline inlay hint enub

rigid snow
#

it needs to be as descriptive as it can be glueless

trim valve
#

glueless just look at how clean the result was

trim valve
#

(there are totally not a metric fuckton of other lines that completely negate a lot of this cleanliness)

glass flower
#

annytfSittu honestly.. i've roughly been working on this cpp => rust project for like a week. and i do start to enjoy rust a bit. tho i don't like how restrictive the compiler is sometimes. (but i guess thats kinda the point of rust kek )

olive sable
#

everytime i start the game engine the twitch stream im watching freezes the video and i have to reload the page KEKW

sage crag
#

dyn objects are working

opaque wharf
#

Or is it because of the browser?

olive sable
#

i have no clue

#

probabyl somethign to do with decoding on the gpu

faint sandal
#

that can happen when there's not enough resource to decode the video, and eventually the renderer just gives up

olive sable
#

so my pc gives full priority to opengl ig?

glass flower
#

tink i mean.. i'd assume the gpu has its own scheduler. so a game or a program will take priority over something like a browser

sage crag
#

not sure what the best usecase would be in lily though

#

perhaps some DynAllocator, DynHasher, etc

#

for deduplicating some code

opaque wharf
#

Normal gradle things

opaque sigil
#

reasonable response to gradle

sage crag
#

a a a a

tender river
#

but obviously for something like kernel modules its a must

#

for low throughput and high variance

dry charm
sage crag
#

struggling to think of the immediate usecase except for things like callbacks

#

schedulers perhaps

tender river
sage crag
sage crag
#

Future(T) would be a convenient dynobject

tender river
sage crag
#

though, yes

sage crag
#

im curious

tender river
sage crag
#

nope enub

tender river
#

good

#

dont

sage crag
#

oki poki

tender river
sage crag
#

nope enub

tender river
#

good

sage crag
#

it appears that function ptrs work with named arguments

#

and without

tender river
sage crag
tender river
#

its a file full of just struct definitions

sage crag
#

lovely

#

hang on let me check if i can do overload arguments with this

#

i cannot

#

bwaa

tender river
#

awab

sage crag
#

no way of checking if function has an arg or not

tender river
#

mhm thats what i complained about a while ago, no way to get function arity or its argument types

opaque wharf
sage crag
#

yeah

#

perhaps on @TypeOf(&func)

#

but doubtful

sage crag
#

i think it makes sense to keep a DynAllocator in alloc.hb because it serves as an up-to-date representation of the allocator api

tender river
sage crag
opaque sigil
#

what would a DynAllocator be for, isn't the normal allocator already pretty damn generic menherathonk

sage crag
tender river
sage crag
opaque sigil
#

ah so basically as an interface

#

got it

tender river
opaque sigil
#

oh i know neuroPogHD

tender river
#

mhm and theres no interfaces in hblang, only @Any() and thoughts and prayers

sage crag
# opaque sigil ah so basically as an interface
DynObj := struct {
    .v_func: ^fn(^void): u8;
    .obj: ^void

    $func := fn(self: ^DynObj): u8 {
        return self.v_func(self.obj)
    }
    $new := fn(obj: @Any()): DynObj {
        T := @TypeOf(obj.*)
        fptr := @as(^fn(^T): u8, &T.func)
        return .(@bit_cast(fptr), @bit_cast(obj))
    }
}

Obj := struct {
    .state: u8
    func := fn(self: ^Obj): u8 return self.state + 1
}

yeh, mild inconvenience when setting one up, but as you can see, only the new function is generic, dynamic dispatch is used for other bits

opaque wharf
#

Man, 2.4GHz band needs to be nuked

tender river
#

that would be a pretty big explosion

sage crag
#

yeh

opaque sigil
#

i'm down

#

nuke it all neuroPogHD

opaque wharf
#

I am an evil fan, what do you expect?

sage crag
tender river
#

closed polymorphism?

sage crag
#
takes_alloc := fn(alloc: @Any(is_allocator)): []u8 {
  return alloc.alloc(u8, 100) || &.
}
is_allocator := fn($T: type): bool { return false }
// ...
tender river
#

i see

sage crag
#

of course its unimplemented

#

however @Any() still takes arbitrary arguments

#

(even if they are no-op)

#
fn(alloc: lily.alloc.AnyAllocator): void {}
fn(alloc: @Any()): void {}

one makes you feel safer

opaque sigil
sage crag
#

will be adding DynAllocator to this list

#

and then you have the choice between monomorphisation and dynamic dispatch without a change to the interface

sage crag
# tender river i see
DynAllocator := struct {
  .alloc: ^fn(^void, $T: type)
}

i have encountered the first problem enub

#

somehow i do not think this is going to work enub

tender river
#

and use typed APIs as wrappers around those

sage crag
#

you may be right

#

let's do it now neuroPogHD

tender river
#

good luck neuroSmug

sage crag
#

i have encountered the second problem

#

compiler bug

tender river
tender river
sage crag
#

i have surpassed the second problem

tender river
#

it used to complain much more

#

but i still have T1 everywhere instead of T in json.hb

sage crag
#

im considering changing dealloc to just accept a ptr instead of a ptr and a length

olive sable
#

damn this shader ugyl as fuck

sage crag
#

but then it might be mean for making all allocators track allocations

sage crag
#

they use a ptr and a Layout

#

where Layout is size/align

#

hm

sage crag
#

seems dubious to me

tender river
sage crag
#

yeah, i agree

tender river
#

without dependent types you pretty much just have to say "this should be the same not like i can prove that"

sage crag
#
unsafe fn grow(
    &self,
    ptr: NonNull<u8>,
    old_layout: Layout,
    new_layout: Layout,
) -> Result<NonNull<[u8]>, AllocError>

rust uses this

#

which is interesting

#

i think i will elect to do this:
.resize: ^fn(^void, ^u8, mem.Layout, uint): ?[]u8;

#

mhm

tender river
#

the layout serves as both

sage crag
#

yeah

tender river
#

so it does make sense imo

#

and you can provide higher level wrappers on top of it

sage crag
#

speaking of, i should probably make it return Result huh

#

vaguely annoying

#

will be cost free when tagged unions

tender river
#

you dont have to since nullptrs are undefined behavior

sage crag
tender river
#

just make it return ?^void

tender river
sage crag
tender river
sage crag
#

in the case that
alloc(100, u8) -> [50]u8
then i suppose you will just retry allocation anyway

#

hm

tender river
#

no you dont retry this just should not ever happen

#

it should return what was asked of it or null

opaque wharf
sage crag
#

hum

tender river
sage crag
#

void over u8 mhm

tender river
#

whatever works newliv

sage crag
tender river
sage crag
#

alloc, alloc_zeroed, dealloc, resize, anything ideas for other things?

tender river
#

but what is this

sage crag
tender river
sage crag
tender river
#

vaguely useful for dynamic analysis maybe

#

or for doing unspeakable things to objects depending on their lineage

sage crag
#

but why did they use usize and not ?*void

sage crag
#

?[*]u8 is an optional slice

#

possibly just flexibility reasons

opaque sigil
#

you're allocating memory, why wouldn't you return a slice

sage crag
opaque sigil
#

how else would you represent a chunk of memory

tender river
#

by making it only return the pointer you remove the potential for depending on the returned length being somewhat different from the len in arguments

#

and the caller has len either way as they provided it

opaque sigil
#

hmm

tender river
#

this is interface design 101

#

dont expose anything beyond the bare minimum or it will be depended on

sage crag
#
ret := alloc(100)
if ret == null die
if ret.?.len < 100 die

imo its mainly ergonomics. provided your allocation was undersized you are likely to redo the allocation anyway

opaque sigil
#

is it even exposed?

#

idk if you can call the raw vtable funcs directly

tender river
#

imo ergonomics are to be provided by a higher level wrapper

sage crag
opaque sigil
#

i guess there's nothing stopping you from doing so

tender river
sage crag
#

system allocator failing is catastrophic, cant do much about that

tender river
#

and so do userspace allocators

sage crag
#

i agree

#

i didnt disagree with that nwero

tender river
#

so if ret.?.len < 100 ever runs its a bad allocator

#

so it makes sense to remove the ability to write allocators like that by making them not return slices

sage crag
#

i believe you may have misread what i said, i didnt say it was a good design choice neuroCry

tender river
sage crag
#

awb

sage crag
#

init or new

opaque sigil
#

create newero

sage crag
#

zig fan

#

bwa

tender river
#

imo it makes sense for init to intiialize existing objects and new to create new objects

#

create is longer than new rejected

sage crag
#

new to new objects
create to create objects
neuro5head

#

5head design choice

opaque sigil
#

i think the clear answer is to copy the name of the struct mhm

sage crag
#

very usable

#
A := arena.create()
B := arena.new()

arbitrary naming choice is always the hardest

#

deciding create has too many chars

olive sable
#

imm aneed to watch the acerola grass video again, my grass sucks

tender river
#

or for creating new arenas

mighty thorn
#

Yo

#

It is I

#

John programming