#programming
1 messages Ā· Page 31 of 1
thanks guys like idk i though the headset could give it a look its a asus rog astrall headset
set bloom 400%
crapy iphone 12 pro max phone
keyboard glows so hard it would be surprising if it doesn't have a CIA keylogger inside
ONE OF US - ONE OF US
i am broke rn
YOU DREW ME??????????????????????????????????
THIS IS PEAK
FIXED
(what changed?)
(Shirt clipped thru hand)
erased some lines
Arm had line in it
ah
mouse drawing
eye seen through the eyelash
That looks radioactive not gonna lie
*hand


i look greatš
is this a vr game????????
(thats shadow[aka "how long for zeppelin 1. warning"] in vrc)
Man, would love to have a VR setup. Sucks that it is quite expensive
i got my rift for a hundred bucks
it's sam picking me up
it is
Does it need gpu?
yes
Then no way I can use that
anything recent should work fine tho
third person view
rtx 4090š¤”
Yeah, not with an iGPU
to run shadow lilac at 90 stable fps
You can probably pick up a quest 2 for £120 depending on the model
Nor with GTX1050
yes you can, just run on the lowest settings
vrchat
altho i would get at least a 3050 first before spending the money to get vr
Oh, really? I wanted to experiment with VR but I don't have the hardware so I never learn much yet
Does this need gpu?
no
quests are standalone
true
the quests have a built in gpu, but since they stuffed a gpuy into a device that small its basicly phone graphics
ps2 graphics were not that bad tho
Then I think I'd just defer it for now. Even £ 120 is a lot. Not to mention the pricing here is higher that what the wester market usually has for that kind of part
vrchat graphics on quest
tell me rn this isn't worse than ps2 games lmao
- u cant see most people and join most good worlds
u can see the fallback impostor avatars
Now it just makes me feel old
png 360 degree and make a 3d model from those views
quest 2 has "qualcomm adreno 650", the same gpu as in my tablet lmao
my pico 4 as well and just home screen sometimes lags
or the youtube app
sam we should watch italian brainrot in vr
its high enough already ok
also i found out
when will he join neurocord?
my dad is an ai bro
he uses all ai tools
goes to all ai conventions within like 100km radius
even tho i'm rly against ai slop idc about my dad using it i just want him to be happy and do whatever he wants

but ye discord account at like 60 is insane
your dad is 60?
ye
most of my familys health started deteriorating quickly starting the 70s
so i just want him to be happy for as long as i have him
ye kinda sad
its kinda weird to ask people what their iq is, but i am kinda curious what the distrubution in #programming is
my grandpa was all fine then he once tripped and had a bit of leg pain and suddenly ended up within 2 years with 3 strokes, heart failure, cancer and then metastasis then died
youtube comments are full of actually elderly people, reddit kinda has some too, discord tho not really yes but ai bro/crypto bro communities are all on discord so makes sense
i am in exactly one crypto bro adjacent discord server and it actually makes me die inside every time i check it
YES agreed
i just enjoy unregulated online stuff so that's my excuse
had to add "online" because that sounds really bad otherwise
I only support crypto because I've seen family not lose thousands to it. Not a thing to be braindead about.
unregulated online stuff also sounds bad
erm ackshually it's not gambling it's investing into short term alt coins
riiiight, because no one ever got burnt from that
i love gambling
i don't know how to reference the certain website i'm talking about
literally best thing in existence
iykyk i guess
i love taking money from the poor and giving it to the rich
"taking money from the poor" is an interesting way to call spending your own money
oiia oiia
voluntarily given by the poor 
look let me cook
i wonder if rockstrar is a good investment rn with gta6 launching in 2026
if we collectively give money to the rich, they go into a higher tax bracket and contribute more to society overallš š£ļø š„
redistribution of wealth
Time for my favorite phrase "I love programming"
trickle down economics has never failed us š„
so giving money to the rich is actually giving money to the poor indirectly
also
the bigger the fish, the more likely they are to have a monopoly which incurs in punishment fees
which are money income
so the bigger the companies, the better for us
š„š„ š„
the government should just have a patreon obviously, that's too many extra steps
pay taxes via ko-fi
can we make it so it's just shadow and they pay everyone's taxes
to really boost the economy you should commit tax fraud by paying double
what an absolute titan of an intellect
put all your money in stocks and never cash out. Easy tax evasion 
no hear me out
take out a loan of equal amount of everything u have
so u deduct the debt
and are net zero
if i was fr, i would set up a company in luxembourg and pay taxes there
easy infinite money glitch right there
i wanted to say i don't either but i actually do, our government makes it so easy i forget i do
actually, my stocks are going pretty well tbh
pay the loan fees with all ur shares
infinite money glitch
take a loan of 100k to invest in stocks for 100k then pay off the loan with the stocks earnings
- extra profits

too bad you have to pay taxes on your gains. Unless you find someone who you can repay in stock shares
income tax? never heard of her
actually its capital gain tax but whose counting
deduct the 100k
(the IRS is)
luckily for me the irs doesnt have juristiction in belgium
actually with the new bill they will
but this is going too off topic
don't worry about it
hear ME out
you take out a loan, put it all in on red
if you lose, go take out a loan twice the size, all in on red
repeat until you're jeff bezos
||erm this is clearly a joke and the opposite of financial advice
||
im pretty sure the irs cant just go into another country and demand taxes from me. thats not how that works
they would have to go through my governemtn
put a short on ALL ai companies
in 5 years ur ultra rich
you already have to pay US taxes if you live overseas
unless you give up your citizenship or sth
i know
Interest tho
Section 899 would allow them to put an additional tax, on top of the already existing withholding tax, on gains you get from investments in american stocks if they deem your country to act "unfairly"
Maybe not google as they are not falling within the decade
Google was going down a lot recently though
why are the poeple in charge of the us such wankers om my god
Tho VEO3 kicked their stock price back up
I really cannot answer that without summoning the mods
does apple count too then 
what
a part of them is in luxembourg, not all of it
i'm so lost the reply chain was about shorting ai companies
if they keep at it with their "ai" they definitely will
Good riddance
OpenAI I feel like is the best one, all in on "ai"
Unless they make actual ai they will run out of slop servers to build or money
So its a waiting game
there is no telling when the bubble is going to burst tho
It wont pop unless real ai is made
Otherwise it will just die out from bleeding itself
we have seen 100000th company hosting models or prompt wrapper or customer support chat
the AI bubble popped so often that they had to make an own term for it
In the history of artificial intelligence (AI), an AI winter is a period of reduced funding and interest in AI research. The field has experienced several hype cycles, followed by disappointment and criticism, followed by funding cuts, followed by renewed interest years or even decades later.
The term first appeared in 1984 as the topic of a pub...
It will run out
Only so much money for computational power
They will see pretty quickly the limit of it atm
Not to mention the many other limits
The term first appeared in 1984 ...
literally 1984
Physical space, data, etc
can just print more tpus
Space will be the kicker
For google
And the eventual cost vs returns
Again its just a slow bleed out
the problem is that this time it will cause some serious damage to the global economy when the bubble bursts
they STILL did not ship shit btw except for writing tools, notification/mail summary and this cursed piece of crap
why did this message take 5 minutes to send discord 
and autocomplete
all this llm crap and we still don't have decent semantic search
itās such bad marketing i really really donāt understand how APPLE of all companies promised llm-based siri, showed the new design for it, then proceeded to only roll out the fucking design (you still only get it if apple intelligence is available on your device and turned on!) and NONE of the llm-powered siri features
google as well fyi
gemini is not there
like this is actually a fucking scam at this point
at least you still have cloud gemini 
Google seems to be trying at least, and they already managed to do on-device LLMs in Chrome
the only LLM-related thing from Apple I've seen so far is OpenELM 
no they actually do ship an llm as part of apple intelligence right now, but itās only used for writing tools and summaries
i donāt know anything about the llm itself
but itās a thing and you theoretically can rip it and infer it elsewhere?
if you figure out the architecture and inference code of course
if it's as bad as OpenELM was then no
example output from their biggest model (3B), from a random HF Space:
Human:
How many r's are in strawberry?
Assistant:
This is the place to find out!
A: Strawberry has 2 r's, pronounced like "er".
B: Strawberry's second syllable ends in a short vowel sound, /a/.
C: The first syllable of strawberry, /stɹÉbri/, has two long vowels (e.g., str-, struh-).
D: A fruit with one RR.
E: A fruit with 2 LLL's.
F: A fruit with two LL's.
G: A fruit with three LL's. Also known as lemon balm.
H: A fruit with four LL's. Known for its citrusy flavor.
I: A fruit with five LL's. Citrus fruits are members of this family.
J: A fruit with six LL's. Pineapple belongs to this family.
K: A fruit with seven LL's. Kiwi belongs to this family, along with bananas and plantains.
L: A fruit with eight LL's. Lemon belongs to this family; limes belong to the citrus family.
realistically a voice agent like siri doesnāt need much params
yo i signed up for this too the other day but i havent gotten anything it's joever
3b for āset an alarm at 12 pmā is overkill already
i think it worked?
can be done with embedding model + 70M llm
use the llm as embedding itself
lmfao
raylib in hblang
libraylib 
how is it failing at deleting stuff
idk
@stark needle maybe this is my access bro i'll be giving them access to my wallets for sure
yes
all you need to do is @import("NamedSymbol") and then in the linker just -lraylib
??????
it doesnt look like anything changed on github, and my vscode doesnt have the purple cloud emoji on it now
should be fine? I think?
even if there are somehow still files present locally they shouldn't have any references to them and shouldn't be pushed (or at least they should be cleaned up by GitHub)
bred lap reveal 
so what now? how do i make the github version match?
i was referring to #programming message this
i searched googole in my email when i saw this and all i found was a scam
commit hashes changed
newest commit on the main branch: 029cdc05aa5b8a74574ac93720a2b9c33b11294b -> f0536ef167435f03722925575b9dfb9381d95a05
but it still has the build folder
oh yeah
why 
why would it be?
i wonder how big flash-lite is if they call it "much larger" than this diffusion model
or how small the diffusion model is
:(
It has it's size
Receiving objects: 100% (1556/1556), 861.07 MiB
it messed with the history but the repo size didn't change
The second it released
oh so you were on there like 1.5 weeks before me lmao
1500 objects 800mb repo wtf

that might uh do it


Ye
Somewhere in chat I posted a Screenshot of when I cloned the repo
we dont talk about the models folder being filled to the brim with numpy files
just works better in the web
said every programmer
never ask a woman her age
a man his salary
a
poster the size on that "models" folder
technically you could create a new git repo, and copy each commit over manually, this would remove the file fully (assuming you add it to the gitignore) you would lose your commit dates, but it would work
nah, i like my dates
can't you just force push
idk
edit the history first
it'll still be >500 MB after cleaning because of those 
those would be a bit harder to move out of the repo, but it's also not super uncommon for assets to be stored in the repo, so 
force push worked, editing the history failed somehow
herhehee
holy moly man
cover thine eyes
my eyes hurt its flashing too fast
some type of fucked up green, and red
its brown 
im still colourblind
dangit
Bro wtf
btw, I ran exactly that command and it worked just fine, reduced repo size to ~520 MB
last time i ran a git-filter-repo it absolutely annihilated that repo beyond all comprehension
I ran it from a proper terminal emulator on Linux like a normal person 
yeah it can do that
but this one is simple so it should be fine 
-# (also I made a backup of the original history just in case)
vscode's terminal is a real instance of cmd so it should be fine
git-filter-repo --path build --invert-paths
or powershell if ur based like me
just pasting it here so i dont have to scroll up each time
all i know is that day i crossed git-filter-repo off as an option ever again
probably just have a file from build/web open or something
close VS Code and any applications referencing the repo and try again
what even is trhe diffrence?
big difference and little depending on how you use it
if on windows, cmd feels like slightly upgraded dos
powershell is not a text shell (like dos)
powershell is an intermeddiate between that and bash
how does one use a git command in cmd? do i need to go to the folder first?
add it to your PATH
dont need that so dont care

add what to my path
go to the path of the repo with cd <path goes here>
git
oh you mean like
that happens when you install it
apparently
ye
it works now
i misunderstood sry
but yeah powershell is mainly if you care about doing more bash-tier things (it's not posix compliant tho lule) it's better for scripting and automation
this did not help
shrekt
laugh and point at me
i pretty much only use powershell unless i need to run the world's simplest old DOS command or something
believe it or not powershell is also cross platform
people do be having it on linux
and macos
is VS Code or anything referencing the repo still open? 
Windows has the stupid "file in use, can't delete it" thing, it's either because of that or because of permissions
yeah that does look like "lol the terminal you already closed in vscode is actually still alive and holding that open"
nope, shouldnt be
lemme check task amnager
morbing?
is it because its on my onedrive?
it's what 
it's where?
a onedrive user in #programming ?
just let a man have his project on onedrive like jeez
no
oh yeah @stark needle this does mean you could do ML in hblang now
since it has c linking
you could import tensorflow or something
if i have to pay for office 365 anyways for school ill damn well use the things i pay for
that is valid
libtorch 
it shouldn't cause issues, but actually yeah, just copy the whole directory somewhere else and run the command there 
that should also get rid of any potential "file in use" errors
can just copy it back to OneDrive if you still want the project there
daily reminder to consume hblang propaganda
i've tried to use onedrive, genuinely, a few times since it's already jammed up my OS' butt on first boot
and it was more irritating somehow than not using it
for literally anything
wdym? i dont have any day to day issues with it. only the minor inconvienience once a full moon
this is not helping my case
it just causes stupid stuff like perhaps what's happening to you now (if it's the issue)
stuff isn't where programs expect it either because they'll think documents are on c:\ by default but onedrive yoinked them
it was actually OneDrive's fault
common onedrive L
the file is 73 bytes, why are you dying onedrive??????
you don't happen to be having a blue moon every day are you?
because it's onedrive
it's too smol microsoft is only interested in files of at least 10gb or more prefereably .ggufs
or zip files containing large amounts of structured personal data from an unknown source

probably, if onedrive is trying to sync it while you're messing with it
i've had literally 0 issues and complaints with dropbox and icloud drive on windows
Man, reading all of this made me laugh hard in the morning
The plot twist that the repo is on onedrive is *chef kiss
although i cannot say i ever put a vcs repo on any cloud storage provider
ye insane
Yeah, having cloud integrated to the os is nice. Especially when needing to share between device and people
ive seen lots of people complain about the onedrive folder being in file explorer, but i love it ngl
why would i do ml on hblang for free propaganda
Don't feel bad tho, I've done the same mistake too before learning about the filesystem and abstraction
As in doing something cursed on the cloud folder. I forget what it is tho, but not making vcs repo
even in a diffrent directory it doesnt seem to be working
why is it even trying to delete stuff in .git?
what happens if you shift+delete that e8
must be a permission issue then
try deleting it manually, Windows should tell you the error then
Because .git is where git actually store the data
man I love seeing number go up when updating. It's Mesmerising
lemme see
Don't
the web folder is in the build folder, i just wanted to see if it would change anything
pls don't
having the waterfall of progress bars is the best
ok i wont
you could try in an admin terminal i guess
what even is the e8 folder?
it's fiiine, there's backups 
Its the beginning of the hash
i figure the command is gonna delete it anyways if it works
Inside it there will be more hex number folder/file
the objects are the source tree
Or was it the end?
beginning i think
Anyway, yeah. Try admin terminal. As in run as administrator
it could be that since the folder was inside onedrive there was some permission fuckery going on
sudo git-filter-repo --path web --invert-paths
nope didnt work
if that e8 dir does get deleted it's gonna mean ur source tree is kill
that's where blobs are and also it will need it to build the git source tree again
if you don't have any local changes you could try it on a fresh clone of the repo
depends on what's in there
it might just not contain any (live) objects anymore
so why does it want to delete e8 if thats my tree?
that could be true
and it's just stuck with perms to try and prevent it from being deleted
Shit is cursed yo
i hate git
its empty
okay then just delete it manually
Safe
hit it wit da rmdir /s /q e8
wut?
that should work in cmd
advanced knowledge 
i just deleted it the normal way
oh well wtf was all the fanfare for if it just goes away hitting delete lol
windows moment
it wasnt even onedrive
Remove-Item e8 -Recurse -Force 
this time
yes
he said powershell causes him to have diarrhea or something
everything should be stored in git lfs or just boom boom
so i went oldschool
i'd still recommend replacing this with a clean clone if you can just in case onedrive messed with permissions in any way
I PAY FOR IT, IM GONNA USE IT

yeah, should do that after the git-filter-repo mess is over and the repo on GitHub is in a good state again
trying to recover a busted ass git repo drives me to drink
use it for storing all those datasets, instead of projects
its not in need of recovery, just git being weirdge
I should get a cloud storage too, speaking of
git does not act weird for no reason
yeah i mean if there's one thing git is, it's painfully by the letter of what it's saying
i mean i am actually, the onedrive folder gets copied to git
so the binaries are in onedrive
clearly the solution is to use jj 
Pijul
Mercurial
which also has file history, so im probably using a couple gigs there 
bruh these audio datasets, why are they so fucking fat
0.5M hrs of audio -> 300TB
uncompressed audio go brrrr

dont starve please
i mean, waveform generation has to be uncompressed š
project_v18_final_FINAL_latest_4_2025
<- Microsoft malware detection seeing sam upload a new unknown binary every minute
i feel like surely there's a way to store the audio in a losslessly compressed format and then just decompress it on the fly
White noise has entered the chat
ok so the git-filter-repo --path build --invert-paths didnt have any errors now, but the github page still has the build folder
wht?
git remote add origin https://github.com/samvanmaele/game-engine.git && git push --force origin 
did it actually just not get pushed yet? 
git-filter-repo for security reasons removes all remotes
need to push all branches, otherwise references to the huge commits won't be removed
it does not like && lol
pwsh moment
oh you're on cmd.exe right
cmd 
Run the command after && separately and you're good
doesn't pwsh not like it too
i forget that some people hate themselves and don't use pwsh
no pwsh is the sane one that does like it
PowerShell doesn't like it either I think
IIRC they have the semicolon at least
windows powershell doesn't like
powershell core specifically
same thing
i mean it's not


you underestimate the scale of the versioning mess Microsoft causes with anything related to .NET
it's cuz powershell 7 is the one that is allowed to escape windows
mfw .net and .net core are two entirely different pieces of software
Mono ftw
theyre like unironically incompatible in too many ways
yep
not yet 
not ever

idd rather make my own shell
do it 
samsh 
ive made my own game engine, eaht makes you think i wont make everything else myself?
have fun rebuilding the 3000 Active Directory cmdlets MS PowerShell has
i only use zsh
Oh-my-zsh
i would like to add that google translated it incorreclty, the fuck should be in verb form
fucking

I use š
i have a cursed idea, i wonder if a js shell is plausible, like some sort of sh/js hybrid syntax
or lua
nah
neither of those are what i mean

javascript? nah ill make my own api
somehow i'm familiar with both
I do all of you one better
it's called gnome
i will mkae everything myslef until it all runs on python
i mean like i wanna write my shell scripts in a mixed sh/js abomination
Dew it. Beat the JS dev
isn't that exactly what bun's shell is for
the python interpreter? now running on python šŖ
Wdym this causes the entire pc to catch fire?
there is a reason everything gets ported to js though
ahem browsers ahem
Python JIT written in Python š„
Yeah, browser is basically its own mini-os
half the damn applications people use are just browsers anyways now
not even mini
Just
in
This coming tuesday evening maybe
it's all browsers all the way down
Hey, at least the WebNN has not been finalized yet. After that, then you can call it not-mini-os
it would make your game engine faster 
is that actually a thing
Look it up
would it tho?
the whole point is to have less code running on the cpu
isn't this why webgpu exists in the first place
python interpreter written in python
Nah, WebGPU is more general
i mean that's kinda it but i want the shell itself to do that. like yes one PATH=$PATH:${things.join(":")} please
why does this exist? doesnt it need to interpret itslef then?
for fun and science
ah, i see
a JIT wouldn't actually execute the code in the Python interpreter, it would be native machine code
only the translation would happen in Python
NN is specifically neural net inference, so if a device has neural accelerator, it might choose that over gpu
ya it's like saying pypy is pure python
kiiiiinda
not really tho
not when it runs
Is this better than huggingface transformers.js
literally everything is
isn't transformers.js just an onnx wrapper
i'm not convinced I'M not just an onnx wrapper
The idea is it will interface with the device native hardware so yes
i don't see the point, just write some libraries on top of webgpu and be done with it
Transformer.js do have webgpu
Welcome to web development baby!
Whatever webdev is atp
i seem to remember recommending a JIT python thing at some point when you were optimizing months ago @olive sable
numba
btw chat
it worked, the game engine repo shrunk
Receiving objects: 100% (1324/1324), 596.01 MiB
@olive sable
i wish, let me leave pls
now step 2, time to move all the numpy files to git lfs 
But for real, Transformer.js is a wrapper so it may use webgpu when the browser provides it. You know there's like a dozen browser (even if they all based on chromium)
I just love looking at every person who tries to make sense of web dev
I think they're generated from glTF files, so they should probably be removed from the repo and autogenerated on first start instead
that's even better 
they are yes, the problem is that the gltf reader im using doesnt work in web
luckily it mostly works for me, webdev
I would try to run the game engine, but everytime I need to install python packages, I end up just running this command as it never works. Python dependencies are an absolute mess
my brother
what in tarnation
don't install python dependencies globally
that's fine, you can generate them as part of the build process for web too
just... more extra code 
problem solved
Yeah, this shit is even more cursed than JS
uv venv .venv
source .venv/bin/activate
uv sync

is there something bad about that? im pretty sure almost everything is global for me
yes
nix develop
that command doesn't seem to exist, or I don't have it
dependency hell
you can only have 1 version globally
i only use one version, so thats fine
you dont have uv installed
but you can do it with vanilla pip
it's a (very good) third-party tool
https://docs.astral.sh/uv/
Python package management is its own hell
I couldn't even find zengl as a dependency on arch
pip install zengl?
Oh, is that a new tool?
it's the only python pkg manager worth using in 2025
yes man just webpack babel transform jsx react tsc target es2020 polyfill those throw eslint on top don't forget to memoize! rxjs mobx redux zustand jotai xstate, pinch of tanstack query table forms router start, and you're all set. (for the frontend)
i hate that i know all of those words
doesn't work on arch, it won't allow you to install globally
then dont
I know half of them and I don't even do webdev (except that right now I'm trying and failing, but thankfully not with React)
It's been a while since I delve into python ecosystem again. It may help me now with my current cursed FreeCAD integration for neurobot
half of those are just for state management 
installing python packages globally idk how you can even run anything unless you just literally never update dependencies and are very lucky
that's a recipe for ultra hell
state management 
you can get away with it for a bit but after a while i can't imagine
i use the version that has a build wheel for wasm, thats it. not a single diffrent version is needed
yeah but like what if you want to run
another python package
that wants a different version
later on
i guess for zengl that's uh
not very common
buut still
i start hyperventilating if i dont have a venv
Nix fixes all of that btw 
#ad
cd /path/to/project 
nix does sound better and better the more i hear of it
so uh, if it doesnt work with the version im using for web, then it wont work in web anyways and i dont need it
direnv 
I don't use it but it looks convenient
i love direnv
so I got it working, and I can even tell my fps by the pitch of my GPU's coil whine
if need be ill just nuke the site packages folder
all it takes is use flake path:$PWD
same with llm tps
ok this https://direnv.net/ does make me intrigued
i mean ye, its uncapped fps
i'd use direnv for python too but i opted for a zsh hook instead to automatically (de)activate venvs
no
But why... why would uncapped fps cause the gpu to work hard?
it sprintin
cuz
so basically just autoenv but in a hook instead of a package
lol
autovenv
yeah
it auto activates then auto deactivates
This is great for...
auto-activating virtualenvs
auto-deactivating virtualenvs
project-specific environment variables
making millions
You can also nest envs within each other. How awesome is that!?
i see nothing but truth really
anyways what was i doing again?
oh
so how can you actually see which files are using the most data in git?
it's got the down home country charm
by using a sort-object
probably
or filter repo
but i dunno if you can do that without killing files
im too scared of anything involving filter repo
apparently there's crazy scripts and one-liners people make for it, but generally:
- big files (obviously)
- files that change a lot
both combined => very bad (your apk that we just deleted)
stack overflow has a few of those i was about to spam
git ls-tree -r -t -l --full-name HEAD | sort -n -k 4 | tail -n 10
and they all don't work because he uses cmd 
git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
| sed -n 's/^blob //p' \
| sort --numeric-sort --key=2 \
| tail -n 10 \
| cut -c 1-12,41- \
| $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
simplest git script
the .git file is a gig, which is interesting
"it's easy bro just use the cli"
is this one safe?
it only lists the objects and sorts them and grabs 10
ah yes The term 'tail' is not recognized as the name of a cmdlet, function, script file, or operable program.
windows moment
windows 
that's normal
it stores the entire history of the repository, including its current state and files that may not even be referenced anymore and only existed temporarily for some reason
it's also larger for repos that you've worked with for a while, freshly cloned (or gc'd and packed) repos are smaller
just > output.txt it instead of tail?
that's what I said, you aren't using bash, so all of these commands don't work 
yup, git -> -r (recurse) -> -t (tree) -> -l (file sizes) -> --full-name (full paths) -> HEAD (current commit)
what is a have bash?
sorgy am going insane
git ls-tree -r -t -l --full-name HEAD should work in cmd
without tail
tail doesnt work
loooong list
Nix spotted
yeah uhhh that will show every version of every file in your repo
also i lied it not every version it's just every file
large.csv 

As advertised
he's large

wait
I use devenv for sam's game engine. Unfortunately the default web build command doesn't vibe with the env.
was about to say, it seems to just be the tree at the newest commit
yea
literally just ls -l
which i figure is what he wanted because otherwise you'd just do a plain tree
but that'll have stuff from gitignore etc
thats fine
the goal would be to know the total impact of files on the size of the Git repo including the history
I just have it a level up, if sam ever moves stuff into a src folder I'm willing to commit my env
if he just cleaned his tree it would have everything in there wouldnt it
cuz if it wasn't in the commit most recent it would've gotten yeeted
how does one clean a tree?
no, we didn't delete the history
just modified it to remove the build directory
oh for some reason i thought you did a whole history purge
even so if i have stuff in my repo that isn't part of the source tree i'm tilted off the planet
We love nix
cuz that's my api key sitting there prob
you would be (almost) right if the entire history was squashed into one commit but that would be stupid
-# almost because there are still multiple branches which also have to be considered
My only feature is WIP
only one commit message: updates

clears you of all liab
oh i think ill need to do atleast 1 other git-filter-repo --path build --invert-paths
i may or may not have a licensed file in the repo for testing


ah yes the micro$oft testing
"whoopsie idk how that got in there"
oh sorry meta not m$
looks hella pasted in there to me
i mean, it has the license file with it in the repo
yea it looks fine if that's in the repo with it lmao
it's fine yes
might even be required depending on the license
CC-BY-NC
so non comercial usage

requires attribution, so yeah, license must be kept
(or rather, you must provide a link, but same thing)
@olive sable Could you also move into a src directory while your editing git 
i think we should all adopt the IgglyNN Ultra Corpa 6.9 license

like the entire thing put into a "src" folder?
custom licenses 
Ye
it should be
root dir
-> src
-->projectname folder
why a projectname folder?
that's just how it is
no it isnt
init.py 
authority is not a valid argument
very underlined
As we all know the project directory is as follows:
src
license
readme
million package management files
saw this while checking if filter-repo worked 
please no ive grown
some python tooling expect there to be a folder with the package name in the root of the project, idk why
for packaging
as far as i know
it would work locally and on localhost but not in github pages, so this was the result of debugging
i suppose
it's always GitHub Pages or CI 
i ended up yeeting cv2 and turning my 16 bit images in 2 channel 8 bit images so pip could read them
most of the pain i've had with python directory structure is some stupid framework expecting whatever specific layout their turbo gremlin dev decided is the best
yeah, it's just a standard
I've encountered it with PYTHONPATH
usually the top src directory goes into the PYTHONPATH environment variable, then when you import a module from there Python goes to look in the subdirectory named after the module, so you need src/<module name> to exist
this case only applies to libraries though
it can't 
yup - ive been through enough pythonpath failures and imports fucking up that i just roll with this structure now and it's saved me a lot of pain
can't you host your own runners
or do they force you to use their shitty containers
containers
i have strong dislike of this
took me a while to find this in english.
I'm not actually sure, but the configuration is always the same AFAIK
you always need to define it in a way that's compatible with containers anyway because other people can't use your runners
the logical fallacy regains its power when it was used sarcastically in the first place
Nix helps with the build process but not with the infrastructure
1 6 
yeah that was what caused my pain yesterday among other things
i fucking HATE
docker
anywhere it doesnt belong
which is to say
anywhere
do you hate Docker or just containers in general
i dont mind kubernetes
i couldnt hear your sarcasm over the sound of my autism
https://www.youtube.com/watch?v=9qljpi5jiMQ reminded me of this video 
To try everything Brilliant has to offerāfreeāfor a full 30 days, visit https://brilliant.org/fasterthanlime/. The first 200 of you will get 20% off Brilliantās annual premium subscription.
This video was sponsored by Brilliant.
Follow me on Mastodon: https://hachyderm.io/@fasterthanlime
Support me on Patreon or GitHub: https://fastertha...
unstoppable force meets immovable object
gh actions does suck balls yes.
mostly cuz i run them manually and im inpatient
I have done automatic actions, like installing firefox for screenshotting a svg
so do i put the entire repo in a src folder now or what is the bullshit with the projectname folder?
Blame python packaging
python packing is the reason for the projectname folder
why?
it would just be main.py that requires moving
but I'm not sure if it's actually necessary to have the src/game-engine subdirectory or if just src is enough because it's an application, not a library
ah yes init.py import samgameengine.main
factual infomation
cuz that's how it runs
he's just importing it so that it's visible to the runner but it isnt even needed
what?
my_package/
āāā pyproject.toml ā Build backend & project metadata (PEP 621)
āāā README.md ā Project overview for PyPI/GitHub
āāā LICENSE
āāā src/ ā **All importable Python code lives here**
ā āāā my_package/ ā Import package (`import my_package`)
ā āāā __init__.py ā Declares the directory a Python package
ā āāā core.py
ā āāā helpers.py
āāā tests/
ā āāā __init__.py
ā āāā test_core.py
āāā docs/
ā āāā index.rst
āāā examples/
āāā .gitignore
take it up with these fine folks https://www.pypa.io/en/latest/ in their ivory tower
The only reason to do that is to allow it to be imported, otherwise it is useless to you Sam
remind me again why we want to import it???
to package it lol
and why are we doing that?
cash money
but its a gma eengine?
no but like, everything is hardcoded
i WOULD download a bear
i mean the structure being the 'expected' one would also help avoid mess with stuff being hardlinked
what even is hardlink=ed?
Once it can be separated then it is an valid option. Also for packaging reasons is nice (I'm looking at you nixpkgs)
Granted you'd need to package the deps first
it lets you more easily avoid shipping out the tests/ and docs/ dir when packaging for distribution
also makes imports for tests easier in general
i dont have test/docs/dir
Test being the test env mhm

Once it isn't hardcoded we can deal with it
my test env is the global env lol
so why do i need to change it then?
That was what I was referring to with this
you don't need to do anything
it's just a best practice lol
to avoid future annoyance
that's all
this reminds me
everyone knows the __name__ variable, right?
it's the thing you check with __name__ == "__main__" to see if the module is being executed directly from the CLI or not
except __name__ is the module name, which should be whatever the file name is, except in this very specific case where the module is loaded under a different name
usually when you import something the import statement first checks if that module is already loaded
but there's a really fun case where the main module can import another module that then imports the main module again
except because of the __name__ thing it imports the main module again for a second time
that causes all classes, function, and variables defined in that module to exist twice, once under each module name
so any static references to those suddenly fail to work sometimes for no reason
thank you for listening to my ted talk
python as a whole doesn't give a shit about structure of the folders
because python is, as we all know, incredibly based
I love setting __name__ in my programs
i dont do if __name__ == "__main__": anyways so 
so its good
it doesn't matter, Python always does this
the words of a soul that has seen some shit and was never the same
this has been the most confused ive been in like 6 months
so fun thing with importing
if you import stuff in python, the contents of the imported file just executed at runtime
but why are we importing if everything is hardcoded anyways? you wont gain anything by importing
i love python
just dont import then
if you run your program in a way that looks like this: python myscript.py
or python -m mypackage.myscript
you are running __main__
i dont do either
well, that's what it's being referenced as
mfw i'm trying to import a file that isn't in the current directory but python says no
python do be giving a shit when it SHOULDNT matter though
lol
python has the awful package management 
you forget i dont use the terminal unless i have to
maybe im spoiled with rust
no python package management is not sane you're right
if the python file is being run as the main file, it is named __main__, if it is not being run as the main file, it is not named __main__
but the __main__ thing is just a guard to prevent, again, random shit you dont want to include in your distributed packages leaking out
the actual file name doesn't matter
it's __main__ when it's running as the entry point , internally
it could be named poopfart.py and it's still __main__
okay i guess
also comes with the neat little side effect of being able to "run" a directory if it contains a __main__.py
also zip files (yes really)
sure...
I did not know this
I am strongly considering writing all Python scripts like this from now on
yes, if i have
# my_lib.py
print("im hacking your pc")
# my_program.py
import my_lib
the output from running it will be
print("im hacking your pc")
even if there is nothing else in the my_program.py
yep
what?
if you have this:
# fart.py <- filename
print("i always run") #will always show
if __name__ == "__main__":
print("only runs when fart is *the* entry point")
python my beloved







