#programming
1 messages · Page 90 of 1
i think its partially also done to support something like test harnesses
makes sense
very explicit algebraic effects
essentially colouring functions by their effects
interesting
makes sense with the allocator api too
you can set makefile highlighting for these btw
$(shell mkdir -p $(OUTPUT))
all: $(OUTPUT)/a.exe
$(OUTPUT)/a.exe: $(OBJS)
$(CXX) $(OBJS) -g -o $@ $(LDFLAGS)
$(OUTPUT)/%.o: src/%.cpp
$(CXX) $(CXXFLAGS) -c $< -o $@
-include $(DEPS)
ah, sdl2_image depends on libgcc_s
im not sure if anyone uses excel here
so im fucked?
but i was hoping someone could help me make an addon with cpp and VBA
pretty much anything compiled with gcc depends on that IIRC
this doesnt directly solve it because delimited continuations are very much different from "regular" code
https://github.com/ziglang/zig/issues/23446
This proposal assumes the existence of #23367. Background At the time of writing, @andrewrk and @jacobly0 are exploring the idea of implementing async/await in userland, based on the new Io interfa...
that'd be news to me
is the nixos manual a good place to start in terms of getting to grips with nixos
libgcc contains functions that gcc emits calls to instead of generating code. I'm pretty sure operations on __int128 are part of it.
imo just jump straight to the options html
if you know what you need that is
i have never touched nixos before
the config file is pretty self explanatory
but its true that for stuff like updating you'll have to read the manual
the problem is nixos manual still suggests stuff like nix-env which is just not a good idea
is this version on github yet, there's a couple things i'd like to try to make it work 
anyway its not that hard to understand surface level configuration, and the best place to start is just editing it
the broken ass makefile?
no
when you're comfortable with that i'd recommend you to learn nix flakes
i have a working version on there tho
genuine question about nixos, I know that it uses a programming language for it's configs, but when would you actually need to calculate things instead of just using the static variables etc
if something is documented there then I think it's pretty good, yeah
could at least skim sections you're interested in
but you can expect to have to jump between the manual, the options list/search, and the sometimes Nixpkgs repo a lot in general because not everything is documented well 
when in doubt, ask here 
wait i didnt push that one
its not for "config"
its for "building software" (or any kind of files, really)
but also
if you just put each config file as a string you dont necessarily need computations
but if you want structured configuration, you at least need something like string interpolation
if you want to use lists, you now have to have list concatenation and access operations, folds, maps
any good language for operating on structured data supports key-value maps
then you may want to convert a structured list of mounts to fstab format, boom you need toposort
also, the module system itself is written in the nix language
the way configuration from different modules is merged is written in the language itself
this means you can e.g. write custom rules for merging configuration
@opaque sigil wouldnt gdb work?
that's a debugger
isnt it also able to look at avriables?
if you want to use a debugger to help diagnose your UB problem, then yeah, you could do that
is gdb a thing on Windows
gdb can show you a backtrace when the program crashes
its installed lready
and you can inspect the asm and the stack and so on
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff6c689e453 in std::_Hashtable<int, std::pair<int const, unsigned int>, std::allocator<std::pair<int const, unsigned int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_before_node (this=<optimized out>, __bkt=<optimized out>, __k=<optimized out>, __code=<optimized out>) at C:/w64devkit/lib/gcc/x86_64-w64-mingw32/15.1.0/include/c++/bits/hashtable.h:2205
2205 __node_base_ptr __prev_p = _M_buckets[__bkt];
(gdb)
hmmm
whatever that is
you gave an invalid key to a hashmap
i didnt know i was using a hashmap
press bt
orry, type
so neuro is just a chatbot? have my own running on my phone lmao ye
(gdb) bt
#0 0x00007ff78b64e453 in std::_Hashtable<int, std::pair<int const, unsigned int>, std::allocator<std::pair<int const, unsigned int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_before_node (this=<optimized out>, __bkt=<optimized out>, __k=<optimized out>, __code=<optimized out>) at C:/w64devkit/lib/gcc/x86_64-w64-mingw32/15.1.0/include/c++/bits/hashtable.h:2205
#1 std::_Hashtable<int, std::pair<int const, unsigned int>, std::allocator<std::pair<int const, unsigned int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_node (this=<optimized out>, __key=<optimized out>, __c=<optimized out>, __bkt=<optimized out>) at C:/w64devkit/lib/gcc/x86_64-w64-mingw32/15.1.0/include/c++/bits/hashtable.h:909
#2 std::__detail::_Map_base<int, std::pair<int const, unsigned int>, std::allocator<std::pair<int const, unsigned int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[] (this=this@entry=0xedaac8, __k=@0x26a4cb0: 0) at C:/w64devkit/lib/gcc/x86_64-w64-mingw32/15.1.0/include/c++/bits/hashtable_policy.h:888
#3 0x00007ff78b593af1 in std::unordered_map<int, unsigned int, std::hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, unsigned int> >
>::operator[] (this=<optimized out>, __k=@0x26a4cb0: 0) at C:/w64devkit/lib/gcc/x86_64-w64-mingw32/15.1.0/include/c++/bits/unordered_map.h:1058
#4 Model::drawModel (this=0xedaa80) at src/loadGLTF.cpp:85
#5 0x00007ff78b5453e3 in Render::baseloop (this=0x5ffd00) at C:/w64devkit/lib/gcc/x86_64-w64-mingw32/15.1.0/include/c++/bits/shared_ptr_base.h:1672
#6 Render::baseloop (this=<optimized out>) at src/main.cpp:301
#7 Render::nativeLoop (this=0x5ffd00) at src/main.cpp:298
#8 Render::chooseLoop (this=0x5ffd00) at src/main.cpp:280
#9 Render::Render (this=0x5ffd00) at src/main.cpp:264
#10 SDL_main (argc=<optimized out>, argv=argv@entry=0x6c4ce0) at src/main.cpp:535
#11 0x00007ff78b5b92e6 in main_getcmdline () at ../src/main/windows/SDL_windows_main.c:80
#12 0x00007ff78b5412f1 in __tmainCRTStartup ()
#13 0x00007ff78b54135c in mainCRTStartup ()
(gdb)
too big for 1 message lol
🐥 🚬 Segmentation fault
Pizza time
well, now you know that the crash is in loadGLTF.cpp at line 85
so you somehow corrupted the texture index
fuck
are you casting any pointers?
or maybe, are you modifying some containers while iterating over them?
like removing or adding elements
creating the textures happens in this loop here
and the index get added to meshdata
which gets added to a vector
and the other possible loop is this one
for (RenderableObject &rendObj : objectlist)
{
glm::vec3 position = rendObj.object.position;
rendObj.model->aabb.min += position;
rendObj.model->aabb.max += position;
for (boundingbox &box : rendObj.model->boundingboxes)
{
//box.min += position;
//box.max += position;
}
}
rendObj.model->aabb.min += position;
rendObj.model->aabb.max += position;
box.min += position;
box.max += position;
seemed to be the culprits earlier so probably them?
note that push_back creates a copy of the object to be pushed

(you have to use std::move if you dont want that)
push_back didnt break it before but im thinking if that was just coincidence
additionally, if the GL code takes some pointers for binding, you have to be extra sure not to invalidate them
when you have weird stuff like that you pretty much have to scan your entire program for potential errors
theres no other way
thats why we have static and dynamic analysis tools like ubsan/asan that do it for you
in your case, its data being corrupted for no reason when you do something unrelated, so the actual problem is probably in a completely different place

very helpful
my base is starting to be a lot more solid now
idk if it looks like much has changed but I have improved a lot of things under the hood
though if I'm invaded atm, I shall perish
i feel as though i am going insane
i have been switching my applications
and themes
to light mode
I went through something somewhat similar, but I kept dark mode everything at home while I set light mode everything at work. I don't know if it's placebo, but it may have helped me with keeping my head in my work tasks.
(gdb) print this
$1 = <optimized out>
(gdb) print this->textureMap
value has been optimized out
Ah yes, we do like optemizing i guess?
compile with -g and no -O if you want debug info
there is the -Og flag to get better debugging
is that $15 an hour, or $15000 an hour?
15k
yikes
15$/hr
you're not getting a 32x4090 for $15 lol
wtf?

wth
why buy a 4090 when you can have 32 for 200 hours for the same price?
I suppose, if you're only doing a one time task with them, then it is much more cost effective
if we divide that by 32 its 266 days of 24/7 uptime
32 for 200 hours is the same as 1 for 6400 hours no?
minus power costs
12 4090s it's 3.77$/hr
bruh
okay fwiw i managed to get your game engine running with clang sam, all statically linked too
vcpkg my beloved
could be worse 
You'd legit be better off paying for that 3090 in full
if your going to be using it very often for interference and other sruff
I think I have a spare 3090 in a drawer somewhere
@rough bloom the things we do to avoid msvc 
this is why we use build systems 
surely with something like CMake you at least don't have to specify stuff like -lkernel32

meson has wrapped dependencies for pretty much all of these so it'd be like 5 lines to get everything locally
you probably don't need to specify all of them i just grabbed them all from the pkg-config file for sdl2
ok -O0 moved the crash to
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff662de9d80 in glm::vec<3, float, (glm::qualifier)3>::operator+=<float> (this=0x6ce000, v=...) at src/include/glm/./ext/../detail/type_vec3.inl:248
248 this->x += static_cast<T>(v.x);

For me it definitely makes sense to own the 3090 with how often I do training
i'm half tempted to make a pr with meson as the build system but i doubt it'd get accepted 
i am the best konii clone
idk how meson works so idk
How many other clones are there :susge:
i have killed the other chayleaf clones so i am trivially the best chayleaf clone
unless some escaped
at least 4
could be
do you have gatherings
i have no time for garbage collection


i migth accept it if you explain how i use a melon
meson
whatever same thing
melon is type of fruit
actually if some escaped i'm still the best chayleaf clone
meson is type of particle
meson is probably edible
what if its a really big meson made of chocolate
how will you eat it, it disappears after like 0.2 nanoseconds
im faster
your digestion also has to keep up

we can buy you a regular chocolate bar instead, it wont disappear
(unless its really really hot)
my digestion is masterclass
my metabolism works away the carbs before they're even in my body
dark 
good choice
in my nearest supermarket theres like 5 shelves of milk chocolate but only 1 shelf of dark chocolate i wish they'd add more variety
my nearest shop is the exact opposite, the cheap own-brand bars always have no milk and white chocolate, but hundreds of dark chocolate
for referemce I don't like dark chocolate
dark and light chocolate is nice

sketch
# ~(List[A]; int; ~Option[B]; ~(val:A, backtrack:~()))
amb choices i finish choose =
if = i choices.length @ {
finish ()
} else {
choose choices[i] @;
amb choices (+ i 1 @) finish choose
};
# ~(~(int; int))
pair_sum10 return =
let (a, backtrack) = amb [1,2,3,4,5,6] 0 panic @;
let (b, backtrack) = amb [1,2,3,4,5,6] 0 backtrack @;
if = (+ a b @) 10 {
return a b
} else {
backtrack ()
};
the language itself isnt that weird (other than cps everywhere) but what i'm interested in is compiling it to use the stack rather than the heap
awa
bwa
awa
cwa
bwaa
they have some good rates.
i just remembered i have an exam in 4 days, maybe i should prepare for that 
just remembered lmao
... probably lol
it's fiiiiiiiine
wait this ones crazy wtf
Btw Sam I pushed my clang version to its own branch if you ever feel like going that route for whatever reason 
uses vcpkg for the dependencies though
idk what vcpkg is but sure
it's a package manager for c/c++

https://www.cs.tufts.edu/~nr/cs257/archive/kent-dybvig/stack.pdf this looks promising
lets you avoid having to grab the dependencies manually and just install them via a single command which is nice, especially for windows 
i want to implement a simple systems language with continuations without fancy type shenanigans or, well, without anything really, because i want to understand how to implement algebraic effects
I think it's because it's interruptible, so if someone else bids higher than you, then your instance stops until you bid again.
hipity hopity your makefile is now my property
ahh
errors, my favorite
ok i originally thought continuations would be a cool idea for "first class return" but after reading more it seems the cost of general continuations seems to just be not worth it, oh well
then i can jump back into erf without bothering with continuations
the makefile assumes you have access to the static libs for sdl2 and sdl2-image 
i might have them somewhere
you can make it dynamic but then it expects the dlls to be available and that's kinda annoying too
so i just made it static
if you got it working, where did you get the static versions from?
vcpkg, if you have it installed somewhere you can just run vcpkg install --triplet x64-windows-static in the project root and it downloads them
it is doing downloading a bunch of stuff now ye
i probably should move vcpkg out of my onedrive tho 
probably 
gotta continue making microsoft scan new exe files tho :xdx:
Seems like it is indeed doing that still

huh
i did a quick make clear and now i get ./src\loadGLTF.hpp:43:7: error: no template named 'optional' in namespace 'std'
guess it's targeting c++14
that's weird though, what version of clang are you using
i added a -std=c++23 and now i receive a bunch of glew errors
why cant things jsut work?
chatgpt says -lglew32s instead of -lglew32?
nah
im just doing make
the 4 clang++ commands that run
clang++ -O3 -Wall -I./src -I./src/include -I./models/V-nexus -I./vcpkg_installed/x64-windows-static/include -DSDL_MAIN_HANDLED -DSDL_STATIC -DGLEW_STATIC -std=c++23 -c src/shader.cpp -g -o output/shader.o
clang++ -O3 -Wall -I./src -I./src/include -I./models/V-nexus -I./vcpkg_installed/x64-windows-static/include -DSDL_MAIN_HANDLED -DSDL_STATIC -DGLEW_STATIC -std=c++23 -c src/loadGLTF.cpp -g -o output/loadGLTF.o
clang++ -O3 -Wall -I./src -I./src/include -I./models/V-nexus -I./vcpkg_installed/x64-windows-static/include -DSDL_MAIN_HANDLED -DSDL_STATIC -DGLEW_STATIC -std=c++23 -c src/glcontext.cpp -g -o output/glcontext.o
clang++ output/main.o output/shader.o output/loadGLTF.o output/glcontext.o -g -o output/a.exe -fuse-ld=lld -L./src/lib -L./vcpkg_installed/x64-windows-static/lib -lSDL2-static -lSDL2_image-static -lSDL2_ttf -lfreetype -lopengl32 -lglew32 -lkernel32 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid -ladvapi32 -lsetupapi -lshell32 -ldinput8 -llibpng16 -lbz2 -lzlib -lbrotlidec -lbrotlienc -lbrotlicommon
hmmmm
the only difference is the c++23
okay
it does work with c++23 for me 
oh
i know why
is there a repo where I can try to compile it?
you're using the other glew
you still have the #include <glew/glew.h> so it doesn't error out because it does find it
ahhh
even though it should use the one under GL/glew.h
so i delete the other one?
which is the static one
yeah
just yeet them all under src/lib
and fix the compile errors 

before crashing from the issue that is still present 
how did you even run it before, does mingw automatically link everything statically
dynamically linked I assume, depending on what was in src/lib
all the system libs should be automatically linked by MinGW 
oh wait you're right
the mingw library path is under PATH i think
so it'd find them there at runtime
idk
doesn't matter anyway now i guess 
static linking

*glibc
this is true
musl my beloved
libc is pretty much the only library where static linking isn't that useful anyway
onedrive casualy "you're running low on storage 84%" 
like nah i aint paying for a glorified 5GB usb stick
you will statically link libc and you will be happy 
my compile times 
keeps complaining about a missing dll for some reason

system32.dll was missing (real)

hi
what if every IO function can return Future(IoResult(T)) or IoResult(T)
hm
no, then you would have to shove await everywhere
how to async without await

hi
hi
hi
its called continuations
hi
but its not well suited for a systems language, typically requires lot of heap allocations or at least stack switching
rip
eh, the main problem with await is fragmenting ecosystems
what if i just make everything async
now everything is a state machine 
i dont mean that everything is necessarily async, just that it has async ergonomics
i once tried implementing async and sync deserialization code for a random file format
i could do it with some macros but since async functions are state machines they cant actually recurse without boxing
who needs async anyway just use threads

every time i revisit async i realise how much it sucks
why not do async via threads 
if you design your whole language around async it doesnt suck but then it not a systems language
then i have to write threads
yeah, its javascript 
synchronization and syscall/context switching overhead
i mean go is not javascript but i get your point

go shares zero letters with javascript
so i agree
unlike rust
go > rust confirmed
its read-only aliasing so rust is fine with it
i'm trying to figure out a way to do async in erf and pretty much the only conclusion i came to is - make so the same code can compile using different "compilers", some to "native" code, some to state machines. in the lisp world this is also used for something like automatic differentiation. well, this requires heavy metaprogramming which is out of scope, this is all just theoretic
Windows moment
you can run dumpbin.exe /DEPENDENTS /path/to/binary to get a list of DLLs it depends on
it's in somewhere akin to C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx86\x64\dumpbin.exe
it comes with msvc
ok
this is the list for me, all shipped by windows so unless you added another library or something went very wrong they should all be accessible 
dumpin is in visual studio tho? i dont have that

say goodbye to 8gb of your storage or however much it is
why are we looking at the list of runtime dependencies? didn't it run here? #programming message
awawa
it crasjhed with Error -1073741515
your guess is as good as mine
and that code is supposed to mean "missing DLL"? 
good job Microsoft
NTSTATUS 0xC0000135 => The code execution cannot proceed because %hs was not found. Reinstalling the program may fix this problem.
it's annoying cause they internally store the status as i32s but then show them as u32s
or rather, they show them as u32 in their reference
i get that they're technically the same number but 
I like how (relatively) easy debugging dynamic linking issues is on Linux
LD_DEBUG=all solves everything
oh wait i'm dumb
you can quite literally just double click the executable and it'll tell you which library is missing
i was always forget about that since i never launch stuff that way 
liek this?
forgot the /dependents
found our culprit 
it doesn't find the first one i bet
so how do i fix it?
I have a suggestion
copy that DLL and put it next to a.exe 
This is very fun:
a.a.a.a
you can add the folder where the dll is to PATH temporarily
what the...
should be close to whereever Clang is
just make sure you get it from the right version since you might have multiple versions of Clang installed
there's a clang_rt.asan_static_runtime_thunk-x86_64.lib 
Basically I ask it to analysis a regex I wrote that cause ReDoS
And now it DoS itself and also my laptop
(don't ask me how to statically link asan idk)
Or maybe not itself since Google have bunch of compute
ye idk either lmao

Limitations
- Static linking of executables is not supported.
I think you might just have to use the DLL
Something like the compiler know what the function the library have and would already link to them at the start of program🤔
oh hey, I remember you from the b001's server
welcome
of opengl?
of ASan
Oh hi
idk where to get that
now just need to find clang
It's been showing 53s for 4 mins.
i would like to add that the code works perfectly fine with emscripten 
\lib\clang\20\lib\windows\clang_rt.asan_dynamic-x86_64.dll under whatever folder they installed llvm to
ok found it
I am killing this💀
it found something
Seg fault?
where can one find that?
My phone just refuse to let me any higher resolution 🥴
make a new backend

-fsanitize=undefined
it didnt like that
lld-link: error: /failifmismatch: mismatch detected for 'RuntimeLibrary':
libcpmt.lib(StlLCMapStringA.obj) has value MT_StaticReleaseclang_rt.ubsan_standalone_cxx-x86_64.lib(ubsan_type_hash_win.cpp.obj) has value MD_DynamicRelease
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [makefile:36: output/a.exe] Error 1
mt md 
so what does that mean?
try pasing -s compiler.runtime=MD or -s compiler.runtime=MT
wait no
not gonna work i think (or it might idk)
anyway the issue is that ubsan expects dynamic linking i think? idk
right, md is about dynamic linking to the C++ runtime
oh wait
no dont wait idk
-fsanitize=address at least returned something
idk what it means but ill hopefully find out
-static-libsan or -shared-libsan may work
it just returned that the invalid access happened on exactly the line of code you said breaks the code
error: unsupported option '-static-libsan' for target 'x86_64-pc-windows-msvc'
so that does mean its due to that operation? or could it still be somewhere else?
it does not mean its due to that operation
and it even works on emscripten so idk anymore
its not my code thats wrong, its the c++ compiler

at this point i'd recommend you to commit everything and then try to strip your program of every feature not related to causing that crash

normally i get AddressSanitizer: heap-buffer-overflow on address 0x125875ba1100 at pc 0x7ff747793fb4 bp 0x0079112ff500 sp 0x0079112ff548
but when i dont initialize opengl or the sdl window i get AddressSanitizer: access-violation on unknown address 0x000000000000 (pc 0x000000000000 bp 0x00804fcff9a0 sp 0x00804fcfeed8 T0)

crazy how not initialising causes a segfault
also i think the only way to get ubsan working here is to not pull dependencies from x64-windows-static and go back to dynamic dependencies so if you feel like using it there's that 
Who knows
@open copper

mian.cpp has been masacred
you can still do something like remove type aliases, replace shared_ptr with new (dont care about memory leaks) or stack allocation
going fromfor (boundingbox &box : mesh2.boundingboxes)
to for (boundingbox box : mesh2.boundingboxes)
seems to fix it
that is true yes
what i find most weird is that mesh2.aabb.min += position; doesnt make it break but the ones in the loop do
so uhh
i think i figured it out
i started removing includes...
removing #define GLM_FORCE_ALIGNED fixes it
ye its running completely fine now
bruh

why didnt you tell me earlier chatgpt? i gave you the entire source code
this is where those alignas(16) come into play then?
yep
oh my lord
its fixed 

im taking a break
fuvk
Oh yeah no it's not
It's on demand
I would keep the alignment, and just tell the vectors to use an aligned allocator
on the strruct
struct alignas(16) boundingbox
{
glm::vec3 min;
glm::vec3 max;
std::optional<glm::vec3> intersectRay(const glm::vec3& ray, const glm::vec3& origin);
};
this is the struct that the loop goes over
so since the struct has 2x16 bytes allocated and the for loop was offsettign by 2x12 bytes i think that was what broke it
putting source code into chatgpt with limited context 
Does this solve the issue though? As the std allocators don't need to follow the alignas of a struct
it stopped crashing

why wouldnt they need to follow the alignas?
the whole point of alignas i thought was for them to be followed
thats the dumbest shit ive heard c++ do
Alignas is info for the compiler, not for classes
bruh
Remember that the standard library is just regular c++ code, so it doesn't have as many requirements.
i was kinda hoping the standart code would follow some guidelines
it shouldnt just be inconsistent
It's not a guideline, it's a standard for the compiler, and some data is just straight up not available to c++ code

well nayways it works now
@opaque sigil thanks btw 
have a cookie 🍪
same for chay
awa
we dont need ubsan
not wrong
who names their child ub anyways?
Elon would

aight imma watch some anime, fix the collision system hopefully, and then i can start 3D modeling for the game-jam tomorrow
waiting for konii to confirm 
no, too cute
its more like voiced pacman
https://www.youtube.com/watch?v=Kwf6_Btok1o
except its a person saying awa
DOWNLOAD (r-click and Save As):
https://www.dropbox.com/s/cr33zrhw3ro8cxp/PacmanWakaWaka04.wav?dl=0
Also, as a bonus, death sound:
https://www.dropbox.com/s/0ppl0k5fe5k0gzu/PacmanDeath01a.wav?dl=0
Note: It loops perfectly seamlessly in Winamp and Audacity, but for some reason, Windows Movie Maker 2.6 makes it jumpy anyway.
So this video if made with ancient vocaloid tech

Whar are you sillying?
konii awawa'ing
Whar
Exactly as I said
awa
why is it that windows device portal is more information in a graphical format, in one place, than anywhere else on the entire system
and you have to enable it and connect to it remotely
logics
Why is it a web app 
you can look at every piece of the window manager being rendered
uh it looks wide
you're supposed to remote in to use it i guess
but only LAN
so like
idk
Now I am curious, is that specific web app got higher priority than the rest of the system. Because that would be wack
you can even sideload shit
you can enable full stack tracing and reboot to get a whole trace of the bootup
install certificates
uninstall stuff
kill running processes
see the entire file system
there's a performance monitor that is just task manager's graphs but run smoother and have more visible
event tracing
device management
network config management
damn that web app is crazy
you can apparently also use this to host a diag api endpoint for anything YOU are running if you want
Starting with Windows 10 Creators Update (version 1703, build 15063), you can use Device Portal to host your app's diagnostic interfaces.

So that is the backdoor in the name of diagnostic it seems 
yeah i mean if someone got into this thing it's joever
guess that's why it's LAN only even tho that doesnt necessarily mean you can't remote to it
What is the authentication tho?
literally set username and password with almost no minimum reqs

The windows account uname and password or different one?
different one but you can make it the same
it wont stop you
you can turn auth off entirely
That's some juicy toggle for malware 
imagine a 0day in it 
honestly
surprised there isn't one
unless im missing something
well
that's why theyre called 0days
someone out there HUGE chilling that found the device portal "auth off" button
apparently this thing is available on xbox and such as well
hololens
anything with a windows kernel
well it sure sounds like a juicy attack surface
they packaged it up in a nice restful api for em
gave it a lil kiss
shipped it out the door

im just waiting for azaka to appear to explain how actually it's fine and i'm a moron missing a huge piece of information
i am a magnet for that
all rootkits are fine as long as nobody abuses it tho 
real
i'm a certified windows expert
yesterday i left a command running to install like
13 packages
the first one being miniconda (reinstalling)
and i came back like 2 hours later and it was still on step 1/13, installing miniconda
so i was like weird
oh well it's REALLY slow
left again
came back
still installing miniconda
also hard drive threw an out of space warning
miniconda had installed itself over and over
failing right at the end
until it filled the entire drive with broken minicondas

That's crazy
impressive
the reason it was failing was some arbitrary restriction that you're not allowed to update a miniconda install thru winget
apparently
probably causes it to explode in some way

but i did not know this
and apparently you can get DAMN close to fully installing it
until it catches it and stops it
but by then you've installed almost the entire package
and it does NOT clean that up
i hope you decided to pin the version so winget won't try again
Windows moment
i have successfully ignored version updates for miniconda in winget
going forward
lol

wait winget has a gui??
it's not just for winget
3rd party
it does like every pkg manager
UniGetUI: A better UI for your package managers. Install, update remove and manage any software you want to with UniGetUI
3rd party tho

but it's nice because i get winget, scoop, choco, npm, pip, cargo, vcpkg, .net, and powershell updates thru it
if desired
it's just package managers
all the way down
that and various performance managers
monitors*
i think rn i have
atop
btop
htop
nvtop
nvitop
iotop
HOLY TOPS
way too many
thankfully btop and maybe nvtop are the only ones one realistically ever needs
nmon
vtop
bashtop
gtop
bptyop
way
wait
bpytop*
which is just btop of course
but instead of btop++ it says bpytop
bashtop -> bpytop -> current btop++
those are all car sounds my guy
you described the sound a car makes as it crashes of a clif

boutta install gvtop just for u
and bottom
bottom 
btm hehe
i am crafting the ultimate monitoring .sh
open tmux to 40 sessions each with a different flavour of sysmon
once i've installed every available one
i'll finally be able to see about as much info as one(1) grafana dashboard
browser extension that replaces all instances of [consonant] [vowel] with [consonant] y [vowel]
general-network -> gyenyeryal-nyetwyork
amazing
Will it consider words like university?
That's just someone with thick russian accent ngl
Hello neruosama enjoyers... heres a little project I am working on
If there's anyone out there with the same interests as me (virtual machines for programming languages, creating personal programming languages) pls let me know what I can do better
I am in the early stages of creating a VM for this language I am really passionate about, all and any criticism/questions is encouraged if you're interested
heres a little extract of what im planning to compile later down the line (this is a rough draft of what its supposed to look like, eventually i will get things smoothed out)
its supposed to be a mix of a bunch of a languages but if you guys have any ideas of how i could do certain things that would be much appreciated ^-^
uuuuh
they keep coming
@real sierra @rare bridge
@open copper @cobalt vessel
thanks

i do wonder why there is so much spam
I forg but don't we have a rule acceptance thingy when you first join? Unless the spam accounts aren't fully automated
poor random accounts bwaa
Maybe we need an auth method to verify if you really came back with another account after getting shot lol
"What plane did you recently fly on?"
getting my discord hacked is like one of the most scary things that can happen to me
yup
Probs get phished through an email or click on a funky link like the gullible person I am 😅
Gonna head to bed gn

Hopefully tomorrow is another day I can learn to do cool things
the shitty one
i had a socket to charge my phone to lisbon
but to dubrovnik i didnt 
boeing 737 sucks
you're british, you dont have a gun
i on the other hand do have a gun 
or well, acces to one
Double sided gun, as I know you can't wield that without issues.
i never tried to use it so idk
idk why but this function only works if i put it in the .hpp
ill just leave it there then ig
ok goodnight
8am so thats not completely true but you know
LIKE THE VIDEO
Merch:
https://my-store-e85bb5.creator-spring.com
Business Email:
sponsormemezee@gmail.com
Twitter ► https://twitter.com/MemeZee_YT
Instagram ► https://www.instagram.com/memezee.yt/
TikTok► https://www.tiktok.com/@memezee_
Second Channel! ►
https://www.youtube.com/channel/UCa60-kUD9ppI46oaODMxIig

Company bonus
why is there spam in #programming lmao
would've thought it would only be in like gn or nn or smth
Yeah, I saw spam necro pings last week. Strange how that turns out
Doesn't help that this is the second highest publicly available channel in the list
What list?
Hey guys I'm a spammer!1!!1 download my free app "Eat Lilac" to literally eat Lilac for breakfast
use the download link below at www.eatlilacforbreakfast.com for the price of 179.99$.
✅‼️
I hope you consider eating Lilac for breakfast soon!!
Such a shame. I thought you buy the domain just for the lolz
i'm new here, may i ask what code language you guys use the most here?
Whatever is needed to get it done
from python,lua,js,gdscript to c#,c++,rust or whatever
?????????
let it out
It's trying to escape 
Fun fact, you can actually tell him to flash things
Did they not sandbox the JS code generation?
- Chatgpt, flash arch linux on my usb
- NO NO NOT DISK C-
I wonder what the previous user of this disk did
thats an average of 3.5 days of uptime
they probably rebooted the pc every now and then but kept it on at night

or were used in a homelab
that would probably be more than 3.5 days
wtf
get on my level (misinfo)
okay, this is much better
Top is poweron hours, bottom is cycling
what I aboslutely cannot comprehend, is that the NVMe SSD that is being currently booted
how does it only have 36 power on hours
does NVMe count it very differently?
the cries of the server are deafening
dead chat
This would be smth i'd see neuro doing 😂
Imagine if neuro could actually email people .-.
Too dangerous propably but still
I love chatgpt!!!!1!1!1!
Parasocial relationships with ai anime girl custom gpt my beloved!!!!!!

all my homies love chatgpt induced psychosis
I will never understand why this pc has such even reads and writes
clearly it writes the data back on every read and reads it back on every write
real
how did I not notice this great quote
Would you say the Twins did worse or better with the McNeuro's? (Pretend this discussion is not taking place in a server where answering "worse" could earn you a personal lifetime ban from the owners themselves)
can someone tell me how does neuros karaoke work like how is she able to sing the smae way as they do in the songs does neuro have a ai for rythem or something?
Hey, when it comes to large language models, is the GB just the storage size, or the amount of ram it uses?
im sure there are separate numbers in documentation for each model, for storage on your disk and amount of VRAM it'd use
but let the experts answer that 1
i've barely worked with LM studio
What if it has the GB amount in the name
it means 'gigabytes'
And that’s it
It’s not
It would be from Ollma or somthing
And the LLM had diff versions with different GB numbers
most likely its the VRAM capacity then
not really, it could still run partially on ur gpu
the rest of the vram would be taken from ur main RAM, but it will run slower
Does a bigger vram req make it better?
the bigger the model, the better it is
And if it also lists a number and billion or B after it what does that mean
depends on which number it is
LLMs usually have the number of parameters in the name, for example Qwen3-8B has 8 billion parameters
those 8 billion parameters may be stored with a varying amount of bits, the most common and "default" dtype is bf16 meaning 16 bits / 2 bytes per parameter, so it would need 16 GB of storage for the model
models can also be quantized to need fewer bits per parameter, like 6 bits per parameter, in which case it would be ~6 GB large
this model storage size applies to both on-disk and in VRAM, but to actually run the model additional information needs to be stored in VRAM which inflates the requirements there a bit depending on the model architecture and what you're doing with it
Tyvm
im not for hire for birthday parties or concerts

thats okay i dont plan on holding either
buy a second flipper zero and call it vram
i have an esp32 extension board
oh right i bought you choco will cranberry strawberry pistachio 72% suffice
yesh
it looks like this
fancy
pinephone camera couldnt even pick up the text so i had to take it on my laptop 
it would probably be better if i could use the camera app made specifically for pinephone (megapixels)
but i cant because gtk4 recently deprecated gles2
Oh one more quick question when using an llm if you have both a dedicated and integrated gpu does it combine the VRAM of both, just use the dedicated gpu, or just use the stronger of the two gpu?
it will not combine anything
unless you reconfigure it it will usually just use the dgpu
depends on how you run the model
usually you use only the dGPU and offload some layers to the CPU if that doesn't have enough VRAM
So I just bought a dgpu weaker than my igpu is that bad?
Prior my old dgpu did not function
it should be fine as long as it has enough VRAM, unless that VRAM is somehow slower than your system RAM
though obviously having two bad GPUs is just not ideal 
Well I think the system is better
I think it is a ryzen 7000 series and my new dgpu is a rx 6600
But is having a bad dgpu better than none?
i'm pretty sure rx6600 is gonna be better than your igpu
Only 8gb tho
Isn’t average ai gpu 20gb plus
sure, but if we're comparing your igpu and dgpu the dgpu is gonna win hands down
Even with less gb?
your igpu probably has like 512mb vram
Oh
i actually dont know how vram works with igpus
other than just being able to fit the model in VRAM you also need a lot of memory bandwidth
VRAM has high bandwidth, system RAM generally does not
iGPUs use system RAM = slow
igpus are awfull
True getting a dgpu double the loading speed of games
Or more like 5 fold actually
cuda-gdb won't let me hit any breakpoints 90% of the time, I'm gonna lose it 
Anyone knows where can i apply for like some internship , im in 2nd year in college studying Ai/Ml
as far as i know its kinda how vocaloids work. she says the voice lines and then pb does the actual tuning to get it in line. its pre-recorded after all.
i might be wrong on the exact things but i think this is roughly how it works. there is no rhythm ai
not exactly correct
as far as ik
first, you need to extract the original voice track (separate it from music), pb does that
then, that is likely used as an input for neuro's singing AI model, along with the text transcription of the lyrics, output is her own version of singing that
since ML models arent 100% certain in outputs, it can and will likely sound a bit different from the original (other than the voice itself: some little quirks, tone, etc.)
then, the separated music is recombined with neuro's singing output, with some more tweaking from pb (sound effects that may have appeared in the original and such)
ofc how the full pipeline works is confidential to vedal, pb and whoever else helps out with producing the karaoke/originals, but this is just my own guess
elp
so im trying to make a scroll interation where it does
3 scroll 2x
2 scroll 1x
3 scroll 3x
but by the next iteration where it goes back to 3 scroll 2x it does 3 scroll 3x instead
im assuming i did the math wrong but confuse

maybe its a combination... but for example the fresh princess of bel-air is very different in rhythm and syllables that i don't think you can get away from extracting the original flow and just adjusting the lyrics...
in the procces of porting the collision to C++ i have also made it 10x more eficient

i'll be honest.. i have absolutely 0 idea what you are even trying to do with this 
solution: have somebody re-sing the song with the new lyrics, like monii did with LIFE and BOOM (yes, those are originals, but regardless thats the 2nd option how to get the voice track)
im sorry 
i'll debug it myself
elaborate on what you mean by
3 scroll 2x
2 scroll 1x
3 scroll 3x
like a list of what it shoudl do?
easy solution:
hire someone to manually scroll for you 
judging by the while loop, i interpret this as:
scroll twice 3 times
scroll once 2 times
scroll thrice 3 times
rn i see that globalcounter goes from 0 - infinity
count is just clobalcounter % 7
i goes from 1 to 3 each increase of count
and the mouseevent happens only if count and i arent 3
nah, there is globalcounter > 24 break;
oh true
so it executes the scroll_down 3 times
so basicly each scrolldown does
3 event
3 event
2 event
if im reading it correctly?
Morning nerd
every scroll_down calls does 8 loop:
0-2: scroll 3 times
3: scroll 2 times
4-8: scroll 3 times
it is an interesting way to implement this
but the goal is 3x2 2x1 and 3x3
so 4-8 is already one too many
0-2 should do a scroll less
and 3 should only do 1 scroll
oh wait
3 can stay at 2 ig
unless they specifically want 3-4 to do 1 scroll each
step1
unsubscribe
this usage of videos is too funny 
awa
awa

i like how you just have to type "awa" and immediatly mkae others say it too
doesn't osu! lazer just have a linux client?
yes
i have brain poisoning i just walk on the street and randomly get the urge to meow
understandable
:mhm:
neurodivergence hits hard ig
Lutris does not necessarily mean using Wine, it can just launch native Linux executables too

i remember trying to run skyrim using playonlinux in like 2016
also you could just add osu! lazer as a external game to steam. and since it has a internal update it will be kept up to date everytime you launch it.

decided to jump into arch on the other drive and it works perfectly fine there, thanks for nothing nvidia or microsoft idk who to blame 
trying to figure out references for erf 
Whar is the silliness of the day in #programming?
gonna have to teamview to another pc to push a commit i forgot to push, so i can pull it on my current machine
i am a silliness but idk about the
porting my collision code
Silly

approx 8.5 hours per power cycle
I'm honestly surprised it is so low, only 450 days, even though I've had the drive for the better part of 4 years

bool recursion = 0 
(type coercion my beloved)
Optimization
oops, typo
it used to be an int
usually it's the other way around 
C++ being more verbose but faster and Python being concise but slow
the thing is, my python code was completely idiotic
there is absolutly no need to work with lists
also i was using a premade collision function that only returned the collision position, and then i calculated the distance manually.
but the collision function already calculated that internally
and i also get the normal from that function now
always nice to make code more compact while also making it more readable (and in this case, faster)
i still have some things to fix about the boundinboxes themselves, cuz they're not in the correct locations
does anyone have recommendation for vision tools?
Dont really know too much about them, currently using llava to interpret images but im trying to see if theres any lower latency or higher quality options
its just for a small ai project, it currently can view memes and stuff but it takes about 30 seconds on my 2070 and id like to try and reduce that
if it's running in such a resource constrained environment but you still need a language model then I think Moondream is probably the way to go
(never used Moondream myself but only heard good things about it)
https://github.com/vikhyat/moondream
looks promising, ill look into it thanks for the lead! 
So somebody really wrote a hole article to justify me about an old message i send about Neuro vram thing
a game in python: import game
(“game” is bindings for a c++ library)
shader, has: layout (location = 1)
.cpp file, has: glGetUniformLocation()
std::cout << location;

we should get 1
.cpp file: 4294967295 
thats 2³²
WHY????
i never told you to do an integer underflow
blame the people that came up with c 50 years ago






package manager manager to manage your package managers




