#programming

1 messages · Page 52 of 1

sour harness
#

Neuro certainly has some technical deficiencies that could be improved, but the watchers aren't there for technical excellence.

livid edge
#

Vedal really cornered the market for the AI VTuber. Unless you can make one that plays a game really well (without getting banned) you're prolly out of luck

#

(other than osu!)

fossil flume
#

Yeah but I think it would take like 5 years or something like that

nocturne olive
fossil flume
#

I think the only hard part for me is to make something unique

nocturne olive
#

Well, copying others won't get you anywhere

fossil flume
pastel nymph
#

Curious thing: I think melba is pretty good, but still not very popular. Why is that?

nocturne olive
nocturne olive
pastel nymph
fossil flume
nocturne olive
#

I hear SNN has some potential, maybe look into something in that direction

sage crag
#

klang

noble zodiac
#

c-lang

tight tinsel
#

metal pipe clang

tender river
#

i call it cc

opaque wharf
#

Kronk

ruby timber
#

klang

livid edge
#

c-lang

opaque wharf
#

gif

livid edge
opaque wharf
#

Jiraffe

stark needle
#

If ur not entertaining urself, there's not much point

fossil flume
#

I will invent a new architecture for LLM lol see you in like 5 years

ruby timber
livid edge
livid edge
opaque wharf
#

Hope you succeed. Genuinely. neuro7

fossil flume
#

Thanks lol I wont forget this if I get a phd id thank you guys first:))

stark needle
#

Even if u got a PhD

#

U would lack the funds anyways

livid edge
#

inb4 this guy's actually a billionaire with a private data centre

stark needle
fossil flume
opaque wharf
#

Hey, if his Phd results in something breakthrough we all benefits from it

livid edge
olive sable
opaque wharf
#

That's just research in general. Aren't you required to publish your finding for phd?

gritty dust
#

I'm done my physics exam

stark needle
opaque wharf
cloud frigate
livid edge
stark needle
#

Most llm architectures are just slight variations

livid edge
fossil flume
trim ingot
#

salutations

stark needle
#

then 1 person is very unlikely

#

Unless ur an absolute mother brain

fossil flume
olive sable
#

What?

stark needle
#

But sure, you do you

livid edge
olive sable
fossil flume
olive sable
livid edge
#

Ahhh, fair

#

nvm then

livid edge
fossil flume
opaque wharf
olive sable
#

Louis Victor Pierre Raymond, Duc De Broglie

stark needle
gritty dust
sour harness
gritty dust
#

Although here peoples pins can be up to 6 digits lol

livid edge
#

Fond memories of telling people that having a sticky-note of their password on their monitor defeats the purpose of both

ruby timber
gritty dust
stark needle
gritty dust
ruby timber
gritty dust
stark needle
#

Ash did u migrate to green

ruby timber
#

I did

#

To fit the mighty pfp

#

Of Nene sleeping

stark needle
#

shrek

ruby timber
#

glorp

gritty dust
#

How's ya day btw stellaa

tender river
#

@real sierra see? i am strong. speedlines are no match for my power. they cower in fear when they see me

uneven pulsar
#

yo

ruby timber
#

Been doing a bit of rust and cpp though neuroNod

#

How's yours?

drifting pine
#

Oops wrong chat sorry

gritty dust
supple chasm
gritty dust
drifting pine
gritty dust
#

I know I got like 2 small things wrong at least haha

gritty dust
ruby timber
gritty dust
ruby timber
#

It's fine, could definitely be worse

hoary lion
#

Rahh

#

Summer break finally

dense cosmos
#

I wanna be productive but no energy evilDeadge

#

also too late to do anything of note

livid edge
#

just write a note to yourself of what you want to do now, and do it tomorrow when you have the energy

dense cosmos
#

less something specific and just a desire to be productive

livid edge
#

Fair

olive sable
#

i still have monday and tuesday left

livid edge
dense cosmos
livid edge
#

If you just work on them a little bit at a time when you can, they'll slowly start to form

sage crag
#

update

#

hblang while loops

olive sable
tender river
#

smh language bloat

sage crag
olive sable
#

while loops are based tho

noble zodiac
#

I peek into general and instantly see a —

tender river
#

we had white loops already it's called loop if <cond> break else

olive sable
#

a pizza?

sage crag
#

but did you have

while x := optional() {
  ...
}
olive sable
#

whats the diffrence?

sage crag
olive sable
#

but like, does it compile to the same thing or?

tender river
#

it does

sage crag
#

yes

olive sable
#

it seems like between yesterday when uploading it to itch and now the ebgine has broken down in a spectacular fashion

#

idk how cuz i didnt touch it but

#

there are another 50 of these errors

#

i must have fucked sometihn up with the header files i guess?

stone cedar
#

missing semicolon after InitGLContext in glcontext.hpp?

olive sable
#

i guess so

#

may have forgot to put the semicolons in one of the headers

stone cedar
#

Classic c++ error message pointing to a different file than where the actual error is

#

I think all headers are missing semicolons neuroD

olive sable
#

oh no

#

im too used to python

#

oh i see another problem

#

if the return type is from a lib i need to include it in the header ye?

tender river
#

you do

stone cedar
#

For loadGLTF.hpp yes.
It needs the OpenGL headers, the tinygltf header and includes for the stl objects used.

olive sable
stone cedar
# olive sable <:okp:1303099578630803527>

Also, every .cpp should include its .hpp as the first thing it does. This makes sure that the header is compilable on its own, as it's the first thing that is parsed and would complain about GLuint and tinygltf::* types being unknown.

olive sable
stone cedar
#

So the first line of loadGLTF.cpp should be #include "loadGLTF.hpp"

#

There are also some other reasons to do that like the one definition rule but I'd say that is not a beginner friendly topic to deep-dive on.

opaque wharf
olive sable
#

hye

jolly coral
#

hey
What free software you recommend to fix up models for a resin printer? (inner cavities, etc)

olive sable
#

i actually did do that

opaque wharf
olive sable
#

now i get this

jolly coral
olive sable
#

i guess like photon workshop????

#

ive heard of that before but isdk if its any good

opaque wharf
olive sable
#

zoom in or turn your screen

stone cedar
opaque wharf
jolly coral
opaque wharf
#

But can't you use blender?

olive sable
olive sable
opaque wharf
stone cedar
#

There are 2 options. Quick and dirty is: just add them after main.cpp on the same command line

opaque wharf
stone cedar
#

The proper one is to compile each cpp to an objectfile (iirc -o flag) and then do a separate like command to link all object files into an executable

opaque wharf
olive sable
#

uhhhh

stone cedar
#

Not anymore if the repo is up-to-date

olive sable
opaque wharf
#

Oh, I haven't taken a look at the repo again

#

Nice one sam

olive sable
#

i never updated the repo

opaque wharf
olive sable
#

it was like that to start with

#

it was always .hpp?
always has been

opaque wharf
olive sable
#

ye

#

i did this before uploading to github

#

not relaizing i brok it

stone cedar
opaque wharf
#

And you can compile in parallel

olive sable
#

but like, how do i make the makefile realize that only one changed?

opaque wharf
#

I would strongly suggest learning build system now

olive sable
stone cedar
rough bloom
olive sable
#

does a file thats only a .hpp need to be added to this?

rough bloom
#

no

olive sable
#

okay

rough bloom
#

they get included from the .cpp files

olive sable
rough bloom
#

Hmm actually, I only considered the build targets, but I think you need to specify the headers as dependencies somehow
otherwise it won't detect when the headers change

olive sable
rough bloom
#

#programming message
this is just specifies them explicitly, but it's ugly and seems both unreliable and unmaintainable

#

any GNU Make experts modCheck

warped narwhal
#

Do remember though that with make you need to either tell the compiler to generate dependency files, or you need to do a clean build after you edit any header

#

Or just use cmake as it handles it for you

rough bloom
warped narwhal
#

Otherwise you could edit a header, and any cpp file that includes it will not be recompiled

rough bloom
olive sable
#

uhhhh

opaque wharf
#

*Meson whispers

olive sable
#

i still dont know what that is

#

you suck at advertising stuff

sage crag
opaque wharf
tender river
#

meson is the arguably least horrible C/C++ build tool

opaque wharf
sage crag
#

no proof for anything useful except a shell script evilLightbulbJuice

opaque wharf
tender river
#

a makefile can take you a long way

jolly coral
# opaque wharf But can't you use blender?

This is where I am right now, I'll consider this to be my answer. (I was curious if there is anything better considering that it does not tell me if what I did to the model fixed it, but i guess no)
Thank you.

rough bloom
opaque wharf
#

Yeah since makefile *basically* shell script

olive sable
tender river
minor crag
#

Why does meta make it so hard to download "open source" models 😦

opaque wharf
tender river
#

you can download them but you cant use them however you want

olive sable
#

guys i failed at step 1

minor crag
#

Meta wants my personal info to download llama 2

jolly coral
olive sable
#

this was supposed to be an easy fix

opaque wharf
olive sable
opaque wharf
minor crag
#

Idk what other models to use

jolly coral
opaque wharf
olive sable
#

isnt the model submerged in resin anyways while printing? it will get stuck inside any holes there are no?

opaque wharf
rough bloom
opaque wharf
minor crag
#

Feck it I'm using deepseek

tender river
#

do i have a 16 exabyte directory?

noble zodiac
#

sounds totally legit

olive sable
#

E

minor crag
stark needle
stark needle
minor crag
minor crag
stark needle
#

This

#

Or

#

The instruction tuned version

tender river
jolly coral
#

Saved it differently, and the original reported issues are not there... I think it will break, but we'll see it tomorrow as the second test print.

opaque wharf
minor crag
tender river
#

deepseek r1 is a reasoning model

minor crag
#

I wasn't gonna use deepseek for my neuro ripoff

minor crag
#

I feel like I'm being really dumb

rough bloom
#

nobody uses the .bin or .pth formats anymore, safetensors has been the way to go for a while now

#

most models that don't specify some other format are compatible with HF transformers
just don't expect it to be fast mahiro

stark needle
#

Yeah idk why youd use the meta implementation of llama

minor crag
rough bloom
#

a safe storage format for tensors catSUS

#

usually used for model weights

minor crag
#

So I've gotta rewrite my code to use this new weird format?

rough bloom
#

Shrugeg if you have a way to use your existing code and you don't want to rewrite anything then go for it
all I can say is that LLMs have standardized on safetensors (and GGUFs if you're using llama.cpp)

minor crag
#

Can I convert safetensors to bin files?

nocturne olive
#

What are you actually trying to do?

minor crag
nocturne olive
#

That seems silly

minor crag
#

Yes

nocturne olive
#

My ALT + TAB is now just completely gone
I hate this update

minor crag
#

My code uses a custom format and I've only got 89 days to get everything working

nocturne olive
ebon basin
#

when you make voice to text and get : 1.0.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1'

minor crag
#

September 18th is just the release date of this thingy (that's the technical term)

nocturne olive
wary rover
#

Rust when I didn't specify the data type for the output of a function:

opaque wharf
nocturne olive
wary rover
opaque wharf
mighty marten
#

I did a quick search and didn't see it mentioned, but Vedal and/or anyone else working on agentic gaming may find this interesting: https://github.com/lmgame-org/GamingAgent

It isn't real time like Neuro, so it may be of limited use, but it's always interesting to peruse how other people approach similar problems. If nothing else it would be interesting to see Neuro run the benchmark and see how she does. (Maybe not necessarily live, since it's not real time, it might be boring to watch on stream.)

nocturne olive
#

I'm gonna have to Linux this thing

#

There's no way I can use this state of Windows as a high-uptime system

nocturne olive
#

Whar

#

Even the settings app is broken

#

Nothing works any more

olive sable
#

how?

nocturne olive
noble zodiac
#

by delaying them so long thats how

mighty marten
# nocturne olive Nothing works any more

I don't use Windows 11 cause I'm not a masochist but it really sounds like your update failed / corrupted. Sounds like a system restore to me. You did create a system restore point before updating, didn't you? 🤞

nocturne olive
noble zodiac
#

exactly

nocturne olive
noble zodiac
#

after not doing so for like half a year

nocturne olive
#

Only 71 days

opaque wharf
mighty marten
noble zodiac
#

which windows isn't

opaque wharf
#

And this is MS, famous for its backward compatibility to the extreme

ebon basin
#

Now it works but set to the wrong language

opaque wharf
tender river
noble zodiac
#

LTS or not if you don't restart a linux after updates you are just larping security

opaque wharf
#

At least there is hot patch

tender river
opaque wharf
mighty marten
nocturne olive
#

I may just have to rewrite that one server that I've been putting off rewriting and move to Linux because at least that should actually function

wary rover
tender river
#

you have to use sum types if you want to use one of multiple types

#

(called "enums" in rust)

olive sable
#

bwaadow do i need to add the headers of every single lib im using?

tender river
#

this isnt about headers

#

this is a linker error

opaque wharf
nocturne olive
#

And now the taskbar is barely working any more

olive sable
#

huh

tender river
# olive sable huh

it means everything compiled just fine but you didnt tell the linker where these functions are (in their compiled form)

mighty marten
# nocturne olive I may just have to rewrite that one server that I've been putting off rewriting ...

Yea, I mean... it's easier to work on when it doesn't at least. Personally I run Ubuntu 22.04 on my linux server where I do all my AI/GPU tasks, and run Windows 10 as a client machine so I can use programs thsat don't run well in Wine, like Clip Studio Paint. Then I SSH in with MobaXTerm (or NoMachine if I want a GUI). Could not recommend it more. If I didn't need some software Linux / Wine doesn't like, I'd ditch Win 10 all together but, tis what it is.

opaque wharf
#

You have a compiler and linker

tender river
#

heres a minimal example to reproduce a similar error:

int thisFunctionDoesntExist();

int main() {
    return thisFunctionDoesntExist();
}
wary rover
olive sable
#

i guess i need to put the main.o last?

#

that halfed the errors

jolly coral
rough bloom
jolly coral
tender river
#

subtyping doesnt work well for systems programming imo, even in typescript it causes a bunch of issues honestly but it works well enough

jolly coral
#

Typescript has other issues to be honest.

tender river
#

well, rust does have limited subtyping in the form of trait objects and lifetimes

nocturne olive
#

Trying to open any software no longer works

tender river
#

good riddance

#

less software neuroPogHD

opaque wharf
#

Taskbar = bloat

rough bloom
#

neuroPogHD Windows debloated

#

didn't even require manual effort or third-party software

nocturne olive
#

I think I'm gonna have to dig out the random 4TB NVMe I have lying around and install Linux, and do the migrations from that side

#

This is just unusable at this point

wary rover
#

I heard you can make Linux run off of a usb drive. I don't know all the possible issues with that, but it sounds cool

tender river
#

the issue is that usb drives are slow and bad

jolly coral
opaque wharf
nocturne olive
#

This thing is so broken I can't even get to the shut down button

jolly coral
#

Unlike windows, you have a usable system while you install it.

sturdy wing
#

good description thanks s&box

rough bloom
jolly coral
# opaque wharf Taskbar = bloat

Honestly. Give me a desktop, something that can figure what my hardware needs and a graphical package manager and that is the bare minimum for a usable and actually user friendly system.

rigid snow
nocturne olive
#

How do I shut down this thing when I can't access anything?

jolly coral
#

shut down the pc?

nocturne olive
#

Yes

jolly coral
#

I think you know the answer.

olive sable
nocturne olive
#

I can't get the shut down button, I can't get CMD for the command, I can't do anything

opaque wharf
nocturne olive
#

I guess it's power button time

jolly coral
opaque wharf
#

Then mint is second

jolly coral
opaque wharf
rigid snow
#

gentoo too

jolly coral
opaque wharf
#

inb4 manjaro DDoS arch again

rigid snow
#

but manjaro sucks

opaque wharf
#

Scratch that, what is the fedora derivative again for desktop? That is third then garuda

noble zodiac
#

that is fedora

jolly coral
#

Fedora is linux trying to be windows and I won't ever touch it again.

#

It decided to silently wipe one of my drives without making it sure that I know that it will do that.

rigid snow
#

what does this even mean, i’ve never touched fedora

opaque wharf
jolly coral
rigid snow
#

striving for a good ux is a good thing actually, even if they fail

jolly coral
#

Nah same ux as any other distro.

olive sable
stark needle
#

Since at the end it's torch tensors

#

Saved in the bin file

minor crag
#

But I did

opaque wharf
tender river
opaque wharf
#

I only know the food

jolly coral
rough bloom
minor crag
#

Now I've gotta figure out this safetensor magic

tender river
olive sable
#

now i just need them to combine neuroPray

noble zodiac
#

holy makefile batman

tender river
stark needle
jolly coral
# opaque wharf Is that a software name?

This is what I mean when I don't mention UX for a user friendly distro. Most of the time the quality we have is "good enough" in that department.
We're really in the "hardware/software compatibility" stage with Linux, and that is why the deck matters a lot.

rough bloom
stark needle
#

If u use the python library

olive sable
#

ye it just doesnt want to link them

minor crag
#

But safetensors refuses to install

noble zodiac
#

vibe coder alert 🔔 get the bingo card

rough bloom
stark needle
olive sable
#

wdym? i have headers

noble zodiac
#

you could just use wildcards instead of listing every single file

olive sable
#

balatro sounding mf

rough bloom
stark needle
#

ok i will go back to scrolling twitter again for more brainrot

olive sable
#

i thought this was doing that CFLAGS= ... -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -lopengl32 -lglew32 -Wall

tender river
olive sable
#

and just like that, shadow left never to be seen again

rough bloom
olive sable
sour harness
# tender river

I don't understand the language but still get most of the important words and they make me recoil in disgust

wary rover
#

flibbity jibbity jibber jabber

olive sable
#

its romanic so southern europe

opaque wharf
#

Italian isn't it?

olive sable
#

i think italian

#

ye

noble zodiac
#
SRC = $(wildcard src/*.cpp)
HDR = $(wildcard src/*.h)
OBJ = $(notdir $(SRC:%.cpp=%.o))

$(OBJ): $(SRC) $(HDR)
    g++ $(CXXFLAGS) -c $(SRC)

something like that should be possible to generate the object files. Dont quote me I havnt written a makefile in some time

opaque sigil
olive sable
#

makefile:8: *** missing separator. Stop.

tender river
#

remove the spaces around =

rough bloom
noble zodiac
#

but you dont have to adjust it every time you add or rename a fille

olive sable
#

the issue is with the g++ command

noble zodiac
#

well yea, you need to actually create the variable for the flags and all that jazz

#

or just paste it there I guess

olive sable
#

i did

olive sable
#

i think i did it

#

ye it works neuroHypers

gritty dust
#

Yay neuroHypers

olive sable
opaque wharf
#

The audio is getting more and more nuked

#

Can't wait for the V1 when the audio is full static

gritty dust
#

Music is 100/100

olive sable
#

the emscripten one is still broken tho

#

lemme fix

gritty dust
tender river
olive sable
#

uh

#

looks hard

tender river
#
$(OUTPUT)/%.o: %.c $(BPF_SKELS)
    $(call msg,CC,,$@)
    $(Q)$(CC) $(CFLAGS) -c $(filter %.c,$^) $(LDLIBS) -o $@

this too

tender river
olive sable
#

is this better than what i curently have?

tender river
#

whatever works works

#

i just wanted to know how linux does it

olive sable
#

ah

rough bloom
#

if anything you should consider using the $(OUTPUT)/%.o part or similar
having all the object files in your project directory sucks

olive sable
#

true

#

jsut gotta figure out how it fits

#

good enough

CXX = g++
CXXFLAGS = -O3 -Wall -Isrc -Isrc/include -Imodels/V-nexus
LDFLAGS = -Lsrc/lib -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -lopengl32 -lglew32
OBJS = $(OUTPUT)/main.o $(OUTPUT)/shader.o $(OUTPUT)/loadGLTF.o $(OUTPUT)/glcontext.o
OUTPUT = ./output

$(OUTPUT)/a.out: $(OBJS)
    $(CXX) $(OBJS) -o $@ $(LDFLAGS)

$(OUTPUT)/main.o: src/main.cpp src/shader.hpp src/loadGLTF.hpp src/glcontext.hpp
    $(CXX) $(CXXFLAGS) -c $< -o $@

$(OUTPUT)/shader.o: src/shader.cpp src/shader.hpp
    $(CXX) $(CXXFLAGS) -c $< -o $@

$(OUTPUT)/loadGLTF.o: src/loadGLTF.cpp src/loadGLTF.hpp
    $(CXX) $(CXXFLAGS) -c $< -o $@

$(OUTPUT)/glcontext.o: src/glcontext.cpp src/glcontext.hpp
    $(CXX) $(CXXFLAGS) -c $< -o $@
olive sable
#

hi shiro neuroWaveA

real sierra
#

hi sam

olive sable
#

omg he remembered my name neuroNOWAYING

real sierra
#

learned an exciting Linux trick today

opaque sigil
real sierra
#

"Esc, T" swaps the arguments on either side of the cursor

tender river
olive sable
tender river
real sierra
#

yeah

tender river
#

that probably an emacs thing then since bash uses emacs keybindings

real sierra
#

ohhh I see

tender river
#

i configured readline to use vi keybindings though

real sierra
#

it's very useful tho

tender river
real sierra
#

too many times I'll have an option like --threads 2 and then my stupid ass adds another argument like --threads --verbose 2 and ruins the command

#

so being able to instantly swap those last 2 options seems handy

tender river
#

yeah i'd just do something like <esc>dBBPA

#

with vi keybindings

real sierra
#

you might be overestimating my vim familiarity

#

I know q, x! and /

#

never needed anything else

tender river
#

esc -> from insert (typing) to normal (do commands) mode (puts the cursor right before 2)
dB -> delete from the cursor to one WORD to the back (so the entire --verbose including the trailing space)
B -> go one WORD back (so right before --threads)
P -> paste before the cursor (so it ends up inserting --verbose including the space right before --threads)
A -> go back to insert mode and put the cursor at the end of the line

real sierra
#

programmers will do anything but actually write their code

tender river
#

btw WORD means anything that isnt whitespace, if i just deleted a word instead of WORD i'd only remove verbose instead of --verbose

stark needle
#

hi shiro

tender river
#

i'd switch to emacs or kakoune or whatever if necessary

rough bloom
tender river
#

i dislike it because of microsoft not because of technical reasons

#

i feel like with github you can at least justify using it because using github means networking

#

but with vscode there's zero justification

rigid snow
#

guys did you know they killed atom? smh now i have to switch to sublime

tender river
#

they killed vim now i have to switch to ed

rough bloom
rigid snow
jolly coral
#

Also, happy birthday.

rigid snow
tender river
#

joomla is good but imo you should install wordpress

rigid snow
#

wordpress is just hype

#

joomla has everything i need

jolly coral
#

Wordpress is a useful tool, but I do find it to be too much for me.

tender river
#

anyway if anyone else wants to configure readline to use vi keybindings, put this in ~/.inputrc

$include /etc/inputrc
set editing-mode vi
set show-mode-in-prompt on
olive sable
#

i love when shit just works

opaque sigil
#
CXX = g++
CXXFLAGS = -O3 -Wall -Isrc -Isrc/include -Imodels/V-nexus
LDFLAGS = -Lsrc/lib -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -lopengl32 -lglew32
OBJS = $(OUTPUT)/main.o $(OUTPUT)/shader.o $(OUTPUT)/loadGLTF.o $(OUTPUT)/glcontext.o
OUTPUT = ./output

$(OUTPUT)/a.out: $(OBJS)
    $(CXX) $(OBJS) -o $@ $(LDFLAGS)

$(OUTPUT)/main.o: src/main.cpp src/shader.hpp src/loadGLTF.hpp src/glcontext.hpp
    $(CXX) $(CXXFLAGS) -c $< -o $@

$(OUTPUT)/shader.o: src/shader.cpp src/shader.hpp
    $(CXX) $(CXXFLAGS) -c $< -o $@

$(OUTPUT)/loadGLTF.o: src/loadGLTF.cpp src/loadGLTF.hpp
    $(CXX) $(CXXFLAGS) -c $< -o $@

$(OUTPUT)/glcontext.o: src/glcontext.cpp src/glcontext.hpp
    $(CXX) $(CXXFLAGS) -c $< -o $@

$(OUTPUT):
    mkdir -p $(OUTPUT)

this should do the trick for making sure there's a build folder btw, replace with whatever you use to create folders if they don't already exist on windows neuro7

opaque wharf
olive sable
#

i think

#

ok nevermind?

#

something to do with spaces vs tabs i guess

#

btw, what is prefered? spaces or tabs?

#

i dont mean makefile, i mean general programming

rough bloom
#

spaces

olive sable
#

spaces?

#

i thought it would be tabs

#

isnt the default tabs?

rough bloom
#

there are a few projects that use tabs (Linux kernel evilStare) but generally everyone uses spaces for everything now

rough bloom
tender river
#

yeah nobody uses tabs

rough bloom
tender river
#

tabs is the default in hblang though

olive sable
#

if vscode has tabs being 4 spaces in a trenchcoat, then why is the formattign on my github fucked?

tender river
#

you might've copied the initial code from somewhere with tabs

olive sable
#

ah

opaque wharf
#

Sam, imma be honest with you, since the start of your project, the whole thing has been cursed that I lost track what may have caused which

opaque sigil
olive sable
opaque wharf
opaque sigil
#

i do

opaque wharf
olive sable
rough bloom
olive sable
#

yall just hate god syntax

#

i meant to type good, but sure god fits

rigid snow
rough bloom
opaque wharf
rigid snow
#

because a textarea can't do anything

olive sable
#

i do feel like the "wasting space" argument is pretty shit when most monitors can fit 100+ lines on screen at the same time

#

1440p fits 169 lines, im sure 4k does over 200

#

if you have a 480p screen then you wont be able to run my code anyways

rough bloom
opaque sigil
#

bruh how small is your text

#

mine shows 50 lines too

olive sable
#

wait i might be bad at counting

rough bloom
olive sable
#

no i just made a typo and did the rest of my math with the typo

#

i can fit 69 lines

#

not 169

opaque sigil
#

why is there math involved in the first place huh

olive sable
#

the 4k thing

rigid snow
# opaque wharf Why can't people use semantic HTML

you use contenteditable if you want to insert html into the editable area, can't do that with a <textarea>. "semantic html" does not apply here because it's a technical limitation and accessibility is easily fixed with aria- properties

opaque sigil
#

fair enough

olive sable
#

i do feel like 69 lines is more than enough

#

and if not i use my scroll wheel

opaque wharf
olive sable
#

i did notice that people here seem to be against scroll wheels with max file sizes of 70

rough bloom
chrome arrow
rigid snow
opaque wharf
#

Use vertical monitor

#

Mine can fit 95 LOC

olive sable
#

oh ye mlntcandy, your fork is outdated xdx
once i gitpush this at least

opaque wharf
olive sable
#

why? thats not fun

#

thats not fun at all

#

i cant tell anymore if vscode does tabs or spaces by default
or does it change the default if you change the size of tabs?

rough bloom
#

you can see the current setting in the status bar at the bottom

rigid snow
#

my horizontal screen can fit 127 loc now

rough bloom
rough bloom
#

for Elixir, yeah

olive sable
#

is that normal?

rough bloom
opaque wharf
rigid snow
#

it's a 13" laptop, that should give you an idea if i do

#

i mean i can read it

opaque wharf
#

Same, I used 13" laptop too, and my 2nd USB-C monitor is the vertical one

#

It's nice for reading the docs

tender river
#

nix uses 2 spaces too

olive sable
#

huh

tender river
#

some languages value horizontal space a lot

olive sable
#

do yall put tabs on the unused spaces or do yall leave those at no indentation?

opaque wharf
olive sable
#

just preference or?

tender river
#

most linting tools complain about there being useless space

olive sable
#

ok

ruby timber
#

Less bytes in your source files glueless

#

Just makes them tidier

tender river
#

and more consistent

opaque wharf
#

I hate space with semantic meaning with a passion. *looks at python and yaml

olive sable
#

this just happened cuz i converted all the tabs to spaces with an extension and i have another extension to show white space at the end of a line

ruby timber
#

I don't think you even need an extension for that though neurOMEGALUL

rigid snow
# opaque wharf I hate space with semantic meaning with a passion. \*looks at python and yaml

Whitespace is an esoteric programming language with syntax where only whitespace characters (space, tab and linefeed) have meaning – contrasting typical languages that largely ignore whitespace characters.

As a consequence of its syntax, Whitespace source code can be contained within the whitespace of code written in a language that ignores w...

olive sable
#

the converting or the whitespace?

ruby timber
opaque wharf
rigid snow
opaque wharf
#

The off-side rule describes syntax of a computer programming language that defines the bounds of a code block via indentation.
The term was coined by Peter Landin, possibly as a pun on the offside law in association football.
An off-side rule language is contrasted with a free-form language in which indentation has no syntactic meaning, and inde...

ruby timber
rough bloom
rigid snow
#

it looks like vscode

#

wdym fancy

ruby timber
ruby timber
rigid snow
#

just very wide

rough bloom
rigid snow
#

that's just a wide screen

opaque wharf
#

I don't think the command palette is on the right

ruby timber
rough bloom
#

nvm then

#

it ugly

ruby timber
#

Anyways

#

I use zed nowadays

#

At this point I'm basically switching editors once every two months neuroDeadge

rigid snow
#

neuroNOWAYING zed users are real???????

ruby timber
#

"nowadays" like I've been using it for ages but it's been two weeks

opaque wharf
#

I prefer Psioniq file header

ruby timber
ebon basin
#

what is zed?

opaque wharf
ruby timber
ebon basin
opaque wharf
#

I'm still waiting for lapce

rigid snow
ebon basin
#

Its a code editor with (milk?)

ruby timber
#

oooooh fancy

#

It's actually the first editor I actually spent time configuring and it was fun

rigid snow
ebon basin
#

A touch of Intellij

nocturne olive
#

How does one make Firefox run on the iGPU? I don't want it wasting 3GB of VRAM that would be better used for training

ruby timber
rigid snow
ruby timber
#

It's so good

nocturne olive
opaque wharf
#

Can you change github theme to use catpuccin? Because I use the github theme on my editor just to make it easier for me

dire turret
#

What was your motivation to get into coding

#

To be a binary wizard

ruby timber
#

You could try creating your own theme based on both of these

olive sable
#

i have done le gitpush neuroHypers

#

lets hope this repo will be less shit than the pytohn one

rigid snow
opaque wharf
rigid snow
ruby timber
opaque wharf
ebon basin
#

Who said an LLM can't create an LLM

ruby timber
#

There's extensions to change css of websites, I just have no idea how to use one, never tried it

olive sable
#

i did a typo

ruby timber
#

Uses the Stylus extension

opaque wharf
#

Oh, nice

fading olive
opaque wharf
#

So now I can ditch github theme neuroHypers

nocturne olive
amber fractal
wary rover
#

Question: to make the program work with JSON files I need serde dependency. I found serde and serde_json. Do I need one of those? Do I need both?

fading olive
opaque wharf
nocturne olive
ruby timber
#

okay this is cute (flashbang warning)

opaque wharf
#

Try looking for it on the library of babel (Arch Wiki)

olive sable
#

you doxxed your school mate

ruby timber
fading olive
rough bloom
nocturne olive
wary rover
#

Spent all day reading rust syntax rules, watching youtube videos and such. Sit down to code. Head empty, 0 idea what to do. 👍 .

dire turret
#

Are you also just starting out?

wary rover
#

Yep

dire turret
#

Do you have a language in mind

wary rover
#

Several, all of them human

dire turret
#

I dont, i got arch linux on my ol laptop, felt cool and now im very slowly learning python and C++

fading olive
wary rover
dire turret
#

Ive only heard about rust in the cpp server my friend invited me to

opaque sigil
#

Bold move

dire turret
#

The little crab

#

I love this though

fading olive
rough bloom
wary rover
#

Difficult tasks and overcoming them RRAAAGH

dire turret
wary rover
#

K, bye, thanks for help. Will go reread an article on enums for the 5th time

dire turret
#

I should hop back on the train too

#

Bed is too comfy though

tender river
#

no need to do full projects for now

wary rover
#

I mean, that's what I was reading and watching all day

#

I will just implement them now. In the perfect world I should blitz through my idea. But we are not in a perfect world

tender river
wary rover
#

I mean, serde and randomizer

#

That's all

tender river
#

serde is a complicated piece of software

wary rover
#

And I am a complicated piece of humanNeuroClueless

wary rover
#

Oh god, I can't iterate enums, I will have to convert it into a list somehow. Oh the misery

#

Oh, thats why you need impl. Cool

quick flame
#

the other day I had the same issue

#

dont recall how I solved it now...... but haven had to convert anything

wary rover
#

I can feel my grey matter expanding inside of my cranium

sour harness
#

Why do you want to iterate over the enum? That's usually not something you need to do.

wary rover
quick flame
#

exactly, I was like at the end doing <enum>.<value>.name something like that

#

and didnt had to do iteration

sour harness
stark needle
wary rover
#

God I am so fucking smart

sour harness
#

If you want to store the number of fish you caught for each type then a hashmap from your fish type enum to a u32 will do

wary rover
#

YES, EXACTLY

stark needle
#

nyoom

wary rover
#

I'm so in the zone right now that I can almost hear [Ultimate Mr. Robot Original TV-Series Score Music Mix for Hacking, Coding & Programming] playing on the background as I type

sour harness
#

you probably don't need to convert your fish enum to an integer though

wary rover
#

I am listening very carefully

#

My undivided attention is on your proposition

sour harness
#

I assume you want to used your RNG to pick a new random fish type, right?

wary rover
#

Yes, catch command gives you one random fish

sour harness
#

So you could for example impl a get_random_fish() function on your enum

#

which would return a FishEnum

wary rover
#

but how random if fish not number

sour harness
#

there's two ways

#

(Warning, rust-y pseudocode)

wary rover
#

That's 95% of what I usually do

sour harness
#
impl FishEnum {
  fn get_random() -> Self {
    let random: f32 = rng.random_range(0.0, 1.0);
    if random < 0.2 {
      return Self::FishA;
    }
    else if random < 0.5 {
      return Self::FishB
    }
    Self::FishC
  }
}
wary rover
#

More new conceptsdespair

sour harness
#

So you have this method get_random on your FishEnum that will return a fish value

#

like

let new_fish: FishEnum = FishEnum::get_random();```
#

Instead of the if/else construct you can also match on random and give ranges as the matching arms, but that might be a bit much for the moment

wary rover
#

I kinda wanted to avoid new_fish thing and just return one random fish value from fish enum, and the fact of its returning will be recorded in a borrowed hashmap and alter JSON file, but if this method allows me to skip list creation step it's worth it probably. It's not like I can assess what is optimal with my level of knowledge, I just have a vision and try to implement it, so not a critisism, just saying that it's not the way i imagined it

opaque wharf
wary rover
sour harness
#

Enums are a very important construct in rust because of static typing. If you shuffle en enum around it will always be explicit what type it is so the language will avoid errors that can happen if you mismatch types (like can happen in C or Python). For example you cannot pass a string into a function where a FishEnum is required. the compiler will not let you.
If you have some way of turning your enum into another type (like an integer) then you are giving up that guarantee, so it's not a very idiomatic way of writing rust.

#

When you are starting to use more external dependencies you will find that most of them define their own types and enums exactly for this reason. The interfaces become very explicit, making it harder for the user to use them incorrectly.

#

There is a good youtube video on this, let me find it real quick

wary rover
wary rover
sour harness
#

The Self type inside an impl is a substitute for the type you are impl'ing on

#

So in this case Self would be equivalent to FishEnum

wary rover
#

Oh, that seems easy to grasp

sour harness
#

This is useful if you rename the enum later. You don't have to replace every instance of it in its impl stuff

wary rover
#

Intelligent nERMd

#

Why isn't there a keyword like EnumVariant:Enum_name or something like that? That would refer to a variant of a chosen enum so you could do stuff with it later

lapis wraith
#

Okey... i looked at rust hash map and i got an idea... what are you trying to do... the thing is... for me, that sounds like you want this:

"HashMap<FishkeyName, number of fish>"
If you want just this, seems that you can get all the values in a vector using this:
some_hash_map = score_table.values().cloned().collect();

If you want to then say, save more stuff about those fish, then you would probably want something like this:
"HashMap<FishkeyName, some_class_about_your_fish>"
that class could store anything like, the name of the fish, fish color, or whatever.

sour harness
#

There is also the lowercase "self" which is used in function signatures like this

impl FishEnum {
 fn to_string(&self) -> String {
   match self {
     Self::FishA => String::new("I am FishA"),
     Self::FishB => String::new("I am FishB")
   }
  }
}```
Here, `&self` is a reference to the object that a method is being called on:
```rs
let fish = FishEnum::FishA;
println!(fish.to_string()); // <- Will print "I am Fish A"```
lapis wraith
#

I have no idea of rust, sorry, i can only help by intuition

sour harness
#

Note that fish.to_string() does not have a parameter, but the function definition does.

wary rover
lapis wraith
#

It's okey. Take your time YES

wary rover
#

Oh, while we are here: method and keyword. I still don't really feel the difference

sour harness
#

Keywords are things like if, let, return and so on

#

A method is a function that is implemented on a struct or enum, so the get_random() or to_string() examples from above

wary rover
#

Ok... But what is .read_line then?

sour harness
#

That's a method

#

Well, .read_line() is a method call on the respective object

wary rover
#

But it can be implemented without structs or enums

sour harness
#

No.

#

If you have a ".", then you have some object before it

#

like in fish.to_string()

wary rover
#

Ok, got it

#

Thanks

#

Read about this at least 10 times and even asked AI to explain, but still didn't get it until now

sour harness
#

There are also static methods (don't know if they are called that in rust, maybe they are called type methods?), like the FishEnum::get_random(). That's a method implemented on the type directly and does not require an object. fish::get_random() probably doesn't even compile.

wary rover
#

My brain tells me that it will probably work with a proper set up before it, but I can't explain this intuitive conclusion and cannot elaborate on it in any way

rare bridge
#

okay i may be stupid

#

so i set up a sftp remote in rclone

#

and it did mounting perfectly fine

#

but the second i tried to do a clone or sync it decided that it, in fact, could not see any file on my machine

#

so i set up an actual sftp server thinking that was the problem

#

now it doesn't think anything exists LULE

nocturne olive
#

It appears my Linux Mint GPU switcher thing isn't letting me run stuff on the iGPU for some reason, even when set to Intel only mode
Does anyone have any idea how to make it actually work so I can save some valueable VRAM?

rare bridge
#

but trying to do anything against the sftp remote other than retreiving files FROM it fails

#

or more accurately, doesn't bother

nocturne olive
rare bridge
#

this does not seem right

amber fractal
nocturne olive
#

It doesn't let me get anything running on the iGPU, I've tried to get especially Firefox on there for hours now

amber fractal
#

My setups normally deal with it well, but that isn't everyone's.

#

Does your DE happen to be on dedicated?

#

Only thing I can think of is that it is keeping the option from that.

nocturne olive
#

Well, there is that one Nvidia optimus thing that's meant for swapping GPUs but even setting it to only Intel mode doesn't make Firefox run on Intel

amber fractal
#

Yep I'm aware of that, but you didn't answer my question

#

Is XFCE running under dedicated graphics

nocturne olive
#

XFCE? I'm on Cinnamon

amber fractal
#

I forgot what mint uses, my bad

#

Same question tho

nocturne olive
#

It does appear to be running on dedicated, but I have no clue how to decide where it goes

amber fractal
#

I'd fix that first tbh

tender river
#

sorry i have no idea how the linux mint switcher works, but i assume you have an nvidia gpu?

amber fractal
#

Yep

cobalt sigil
#

Do you want a Mac for college, but your parents aren’t quite on board? Download the Parent Presentation: https://apple.co/4e4ykEI. Available for free in PowerPoint, Google Slides, and Keynote.

The presentation template has 45 customizable, parent-persuading reasons why Mac is crucial for college. Watch comedian Martin Herlihy show a group of...

▶ Play video
nocturne olive
#

No matter what mode I use, only Intel, on-demand or Nvidia only, it always has the same stuff on the dGPU

tender river
lapis wraith
amber fractal
#

That's less of a headache at least

queen ginkgo
tender river
#

@nocturne olive something like this

amber fractal
#

Nvidia card
X11
DE stuck on dGPU
switcher not doing anything

cobalt sigil
tender river
#

note that files in /usr/share can be overwritten by updates and you should ideally edit stuff in /etc instead

#

how? your guess is as good as mine, good luck

lapis wraith
amber fractal
cobalt sigil
#

now time to let idk asus or something like that to make a same video about why ppl should get a notebook

amber fractal
cobalt sigil
#

actually guys

#

do you like ios/ipad os 19

#

uh i mean 26

amber fractal
#

I Avoid IOS like the plauge

cobalt sigil
#

liquid glass isnt as good as I thought

#

personally not a big fan, and idk for those who uses old A13 chip, their ipad might explode after updating lol

sage crag
#

b

nocturne olive
tender river
#

good luck

nocturne olive
#

This stuff is messed up, I just want my iGPU to take this really VRAM heavy app

#

It shouldn't take hours to make that happen on a fairly standard Intel + Nvidia setup

tender river
#

there is some way, but you'll have to read forums or wikis to figure out how

pseudo aurora
#

i only use a macbook for macos tho lmfao

tender river
#

i have to explicitly run apps with DRI_PRIME=1 if i want to run them off the dgpu (unless the app explicitly requests to run on the dgpu)

nocturne olive
#

Mint should allow me to set what GPU to use for each app but it's being really annoying and not putting anything on the iGPU

tender river
#

the curse of "user-friendly" distros is that they dont really teach you troubleshooting

nocturne olive
#

It doesn't help every result is the opposite of what I want

amber fractal
amber fractal
#

isee

nocturne olive
tender river
#

anyway, wayland may or may not fix it, switching to open-source nvidia drivers (if you are using proprietary ones) or back may fix it, or possibly even a newer kernel

amber fractal
tender river
#

you can also try prime-select

pseudo aurora
#

oops

#

wrong server

tender river
amber fractal
tender river
nocturne olive
#

Well, funny thing, now it's running on Intel and only Intel, the dedicated GPU isn't even outputting

tender river
#

progress neuroPogHD

nocturne olive
#

That was achieved by adding this in an XOrg config file in /etc/X11/xorg.conf.d

#

File 10-intel.conf

warped narwhal
#

Well at least I can confirm that my bot works

#

The side effect of my phone blowing up will be inconsequential

tender river
amber fractal
stark needle
frigid coral
#

My colleague found this museum piece that was thrown out. Asked if there's a way to reformat and put on an old OSX.

2002 iMac G4

I don't think these things had the ability to install from USB back then.

nocturne olive
#

How do I make NTFS drives writeable?

#

I need access to my other big drives

opaque sigil
#

idk if the kernel mint comes with supports this though (looks like it does as a module)

nocturne olive
#

Apparently I just had to boot and properly shut down Windows

opaque sigil
#

oh yeah that'll do it too i guess

nocturne olive
#

I'm gonna configure the Neuro stream capturer and go to sleep
I'm gonna have to install Streamlink is something I just realized

#

I guess I'll have to recompile the capturer because of a change in Streamlink

nocturne olive
#

Well, that took a while, but I think I did it
Time for me to sleep I think
Tomorrow I'll have a ton more stuff to solve, like how to autorun this stuff

amber fractal
ruby timber
stark needle
#

Good morning

#

Actually, bad morning I'm sick af

amber fractal
#

NOOOOO! I hope you get better neuroBwaa

ruby timber
tight tinsel
#

hope you get better soon shadow

stark needle
#

Chat i cant believe

#

My sister's teacher

#

Tells to use the same password for all like 26 students

#

And the password is like 6 characters long of only letters and numbers

#

💀💀💀💀IT infrastructure on a new level

midnight sigil
#

I accidentally left 1 extra screw in my pc case while adding two storage drives, now I spent 30mins and still couldn't find it

#

I mean I can just leave it there, but I'm more afraid of it shorting things out

#

buh

#

I'm crashing out

tight tinsel
#

you can change it but no one really does

amber fractal
#

mfw the password is a student ID

ruby timber
#

my feeling when my school password is 32 characters long and everyone loses their mind when I type it in front of them (I need 3 tries every time)

midnight sigil
#

whatever Imma just leave it inside

#

fuck it

#

fuck that screw

ruby timber
#

i suppose you already tried shaking the pc around to see if you can hear it? neurOMEGALUL

sage crag
olive sable
#

goodmorning neuroWaveA

olive sable
olive sable
olive sable
midnight sigil
opaque wharf
#

The trick is I compose it from the simpler password, so the 3 password is technically just a permutation

midnight sigil
olive sable
#

guys

#

500

#

also one for 550

#

there's aslo a wholesale of 90 broken 4090's for 150

#

no chip no memory

#

the real ones are 1.2-1.5k

midnight sigil
olive sable
opaque wharf
olive sable
#

no thats the 90 4090's

#

they're pretty clear about them being non-functional

#

for 150 its not bad

opaque wharf
#

Oh

olive sable
#

you just need the ram and chips

opaque wharf
#

I don't read the first part

olive sable
#

i wonder where you would get a die from tho

#

maybe a working chip on a broken mobo?

opaque wharf
#

Like, literally using server cpu and designing a desktop motherboard

#

Which is not bad since it is a functional hardware not go to waste

olive sable
#

the 3090 is pickup only so they'l show it works in their house i guess

#

so not too suspicious

warped narwhal
ruby timber
warped narwhal
#

the bot uses probably the worse 200 lines of code anyone here has ever seen, but it was written in 15 mins so it was to be expected

tight tinsel
#

fuck off command is genius

opaque wharf
ruby timber
#

Lmao yeah it does that to you

#

I installed the thing and I didn't realize it would install the theme on like 130 websites

#

I'm not complaining though

opaque wharf
#

Now my KDE Plasma 6 is catppuccin, my firefox is catppuccin, my GTK is catppuccin. Imma catppuccin everything

dim dune
#

i need to switch to nixos NOW

#

uuu how to integrate chaotic v4 into my flake

midnight sigil
#

🥭

stark needle
wary rover
#

Experiencing that feeling when you keep finding more and more ways to do what you want to do and now you are on a side quest to find out how all of them work and can't start the very thing that prompted you to search for these ways

stark needle
#

Chat are you ready for what we all been waiting for?

#

Ai generated music model

#

The use cases are so stupid

#

Ai generating music is NOT the way to make music more "accessible" if you are disabled imo