#💽Programming Chat v2
1 messages · Page 27 of 1
I don’t know the symbols yet… I still can’t get the time to actually study them … what it’s in Romani… or whatever how that’s spelled
Oh so tired
I’m trying :<
It’s not very easy when your brain partitions time on a single thing for 10 hours straight
kana takes no time at all
Ok so partition 10h for kana and you'll get it down
I WISH
that's totally how it works /j
Ah yes my favorite channel, ATP and Aerasto DM's
No idea what y'all are working on, but good luck and have a nice day
Worst channel ever
does anyone know of a good npm package to parse times like 1y, 10m, etc.
to either unix or even better seconds
Anyone is always free to chip in…
I would like to, but im still kinda far away from what y'all talking about here, im just checking this channel from time to time
Myrreawww
Mrraoww
Far away? What's that mean
either our convs are too advanced for where he's at or they're just unrelated to what he's doing and doesn't want to intrude
either way we'll still help anyone (just no spoonfeeding, obv...)
Oh I didn't realize that was hours ago 😅
is all good
But yeah ofc, totally willing to help anyone understand what we're talking about
Just because we're talking about something you don't understand doesn't mean you can't interject and ask someone to explain
Ik id totally be willing to do that anytime
Or else how would people learn anything
there is one thing i'll admit though, i'm not very generalist on the things i know, i can only really help people with programming and not something domain specific "with" programming
but someone else here probably is...
say audio processing
that requires programming, but it requires knowledge i don't have
Sure, because you need to know about signal processing
yeah
too bad theres like 4 other science channels taking away all the smart people ...
Shoulda just made 1
reminds me
i WILL need to actually learn a little bit about signals when dealing with playing WAV files
the file format they're in (RIFF) is super easy, i just dunno how to turn it into frequencies yet
New fun thing for me to deal with this afternoon
No, my parents car lol
Oh ok look I saw rocket
the third thing i was gonna say was "gun" but
Hopefully just a spark plug replacement
you probably don't make guns..
frriend told me about it, haven't seen wreckage
the circumstances are really weird though
Looks bad
apparently it was between a 60p pasenger plane and a blackhawk carrying 3 soldiers
i dunno how neither of them were informed of each other
Yeah a CRJ regional i think
They were apparently
Like 15 seconds prior to the crash ATC asked the heli if they had the AA flight in sight
And they replied yes
And then like 10 seconds before the heli was told to pass behind the CRJ
On January 29, 2025, a Bombardier CRJ700 jet airliner operating as PSA Airlines Flight 5342 (marketed as American Eagle Flight 5342 on behalf of American Airlines) and a Sikorsky VH-60M Black Hawk helicopter of the United States Army, collided in mid-air as the airliner prepared to land at Ronald Reagan Washington National Airport in Arlington C...
fnd article
I think head on? The heli flew in from the side
Idk if that works
oh jesus
Oh you found anyway
totally obliterated each other
Yeah. Looked like it
honestly odd two major aviation incidents happened very quickly with each other
def a coincidence, but.. the f35 and now this
And both involve the military, yea
hello there
i have a minor coding inconvenience
It doesnt detect in my localScript the .chatted event
player = Players.LocalPlayer
while true do
wait(.1)
player.Chatted:Connect(function()
print("chatted")
end)
end ```
All of this inside of a LocalScript in the StarterCharacterScripts folder
you are using the correct operator for indexing, and you aren't closing the .chatted function call properly
local x = Players.x
... do
...
a.Event:Connect(function()
end)
end
if you want to see what errors a script produces, open the Output tab in studio
scroll up in the output
I can see the same stuff from the devConsole so Imma close the output
It's the Physics stuff
are you sure your script is in the right place
also should note you're registering an event every .1 seconds
yes
ye cuz it desnt run :/
so I tried forcing it
removed the while
no change
which script is the code in, commandsreceiver?
it all looks correct...
pluh
click on the script while you're running the game
it's enabled
it should provide an indication on the tab about if its running or not
specifically the script inside your players character model (should be in playerscripts to pevent multiple registration)
open it and show the tab
huh, yeah, really odd... lemme try it in my own studio instance
alr
thats crazy
let me see
(ignore LocalScript:3, thats the server script i just Reclassed)
TextChatService.SendingMessage is what you want
that doesnt make sense
the animate script uses it
you can test it yourself
well how else would /emote work 😭
i set a breakpoint in animate and its not being triggered
TextChatService has the requisite command within it though
aha thats why
new** text chat disables Chatted from being fired
that's the issue?
Any way to let it fire it?
see
don't use chatted
alr
New issue :)
I have this command that has to be run inside of the same localScript that I just fixed (thanks btw)
It's supposed to change the value inside of a module
But apparently it didnt change it
why
how are you changing the value
actually
it did change it
but smth wrong
hollup
These are the parts that I'm interested in
When I call the /lck command via chat (yes, I'm using the sub message, cuz I'm a psycho) the Module DOES recieve the change, but the script that's supposed to read it, does not
It doesnt see it ._.
is the script thats supposed to read it on the server
It's in Workspace
is it a Script?
Yes
then its running on the server, and your command is being run on the client
so the client value is changing but the server isn't; you need to use a remote event or run the command on the server
so two copies of a module actually exist
ah
one on the server, and one on the client
when you require it the one applicable to your side is used (the other isn't visible)
so yeah
explain real quick how I can use the remove event pls :)
read the docs
its just :FireServer on the client and .OnServerEvent on the server or something
i'd suggest usnig the latter where you run the command on the server if that's a viable option for you
I had first this tremendous code in a script
and it worked
but I had to rework it into a localscript
cuz of resetting issues
cuz I have this noClip command
that if I die it breaks
so I put the entire code into a localscript so I can control the death of the player
and maybe fix the issue
I'm not even entirely sure
:)
||I hate myself||
the correct solution is to turn FE off
yw 👍
okay 2015
I had a long discussion about FE here I think
I forgot what it was about
ye ok I did
Im not going crazy
also unrelated but
idk if any of yall remember that imgui (but not imgui) thing I was working on, heres what became of that
haven't done much work on it recently cause school started
but hoping to continue soon
yea idk about . being a file
curerntly trying to rig this rpgmaker game into being run in a browser
imgui is cool
yea I absolutely love the style
so thats why I've borrowed it
welcome to the post fe world
you camel case things a lot ...
Ada_Case on top
procedure Raise_Undefined_Exception; 💪
well
the keywords in ada are case insensitive
so PROCEDURE Raise_X; works
but the style tools don't like that usually
so
if I use :kick from my localscript will it work on other players?
no
I think they should just use C
or I need another remoteevent
dont
another remote event.. which i don't suggest using!
well actually do
why tho
run the commands on the server using the textchatservice functions
but only if you check it on the server
actually it don't even matter bruh exploiters are extinct
unneeded complexity
just run the textchatservice events on your server
wait till you hear about
PascalCase my beloved
maybe
this is my honest to god reaction to this message
yes ada is a pascal family language 🙏 thank the lord
okay so
im able to get the main screen
BUt
the node js server im using crashes when it tries to load a map
hmmm
I think you're a little too excited for the complexity
💔
<-- [GET] /www/img/characters/$toumei.rpgmvp
<-- [GET] /www/img/characters/Vehicle.rpgmvp
* Shutting down server
C:\Users\Adenosine3Phosphate\AppData\Roaming\npm\node_modules\static-server\server.js:140
var uri = req.path = decodeURIComponent(url.parse(req.url).pathname);
^
URIError: URI malformed
hmm
does it not like the dollar sign??
ah what the heck
ill just write my own server
god i love it when our language is so stable it hasnt changed for 2 decades
I have found once more another problem...
I have this NoClip command
It makes u noclip
But for some reason
if I enable it via command
and then disable it via command
I cant enable it anymore
but if I enable it via command
and disable it by dying
I can enable it again
._.
I used a couroutine so that I can stop it with .close() and restart it with .resume
just kidding i found the way, had to use .yield instead of .close
been on linux on my macbook for longer than I have been in the past
it's not too bad
what
hold on im using another terst subejct rn
but basically
you're just gonna test おきつね物語 for 5 secconds
to see if it loads for you

what is it
its an incredibly basic http server which facilitates loading RPGMaker games
dies
maybe
the sound of progress my frriend
@timid quartz http://107.132.83.172:7777/www/index.html
okay try this
ehehehehehheheh
ok


ughguhgug i broke it 😭
OK
lemme just run this through
@timid quartz http://107.132.83.172:7777/www/index.html
you can testi t now sory
tell me EVERYTHING you see
ok
ughhh I can't get fcitx5 (ime) to work on discord if discord is running natively in waylanddd
the down time was me trying to make it multitheraded but
is it broken
no
oh it's alive
why
do note it has to load the ENTIRE game through http requests, each file is its own request
show
sigsegv
fym sigsev
LOL THAT ISNT A ME ISSUE 😭
ive tested this on 3 other's computers now, they all did fine
i guess your chrome is just extra memory leaky today
ok I see monster eating dumpling
show
are you trying to dynamically load libraries @spare quartz ?
shouldn't be
anything the page is doing is what rpgmaker does
music too?
sound is off
click on the canvas
im in a meeting oh wow my laaptop is cchugging
ohhh
😭
if anything i saw an IMPROVEMENT running it in the browser over rpgmakers node runtime
went from 8ms per frame to 0.5
I got to like the first title screen
i dont think your laptop has enouggh ram
IT HAS 16GB
my test samples included 1 person on edge/linux, 1 person on firefox/linux, 1 person on chrome/windows
edge/linux is wild
and also me who's on firefox/windows
who uses ms edge on linux
i dunno 😭
do you have another computer you can test it on later 😭
here lemme reboot into macos and use arc and see
i dont think your laptop is good enough .
also
unforuntately im leaking about 400 kb of memory per full load
:<
who tf
@timid quartz are you the ip address x.x.70.211?
i just got 3 unique ips out of nowhere so
let's see if macos can run it any better
yeah that's me
are you 67.248.238.154:64809
ok macos has yet to crash @spare quartz
thats good
be careful the server is only singlethreaded
so multiple connections will strain out the total bandwidth
aeras session looks almost loaded
too bad i cant get a rat installed.. .
h😭
macos/arc(chromium) for your reference
you made it smh
no
ugh I wanna go back to linux
bayachao made this game
i just ported it to the browser
(ILLEGALLY MIND YOU)
(DONT SHARE THIS)
I wanna go back to linuxxx macos is bleh
macos is linux though 
Are you hackintoshing or using an Apple product
using an apple product
Cool
brother from a different mother
at least its true unix
make it work on linux next time @spare quartz
literally 50% of my test samples are linux and they worked fine
Hackintosh EFI folder for SandyBridge, IvyBridge, Haswell, Broadwell, SkyLake, KabyLake, CoffeeLake, WhiskeyLake, CometLake, CoffeeLake Plus, RocketLake, IceLake, AlderLake, RaptorLake, SandyBridge-E, IvyBridge-E, Haswell-E, Broadwell-E, Skylake-XW, CascadeLake-XW, AMD Bulldozer, Jaguar, Ryzen, T...
your chrome has a skill issue
I have an alder lake processor with an NVIDIA gpu so the output looked horrible
bright did the game ALSO work with you
There’s a chance it’s because I’m on NixOS but it shouldn’t be considering it’s running inside the browser
i dont think webgl likes it there though
There is an object that is doing an animation
what does the object look like
It could also be the fact that chromium is running natively in Wayland rather than under Xwayland
oh aera you're on his screen
Almost
No u
(it's a fox not a cat)
Also I gotta say this game has the most mid-ass title
loltru
Literally just “Kitsune Story”
still need to mod omor a bit to get everything working
shouldn't be that bad though since
it's coded in js...
@snow oak is everything working
i see no activity from your ip
yknow
im surprised nobody has done anything nasty with my ip yet..
since i give it out like candy
ignore
@spare quartz I’m testing on Linux again
again you have to load the majority of the files -- a lot
So we’ll see
so YOU were the mistery ip
where do you live btw city/state
If it crashes I’ll try loading it just in xwayland
I mean I’ve literally given you my IP
don’t post it though stupid
THATS
STUPID
DONT
It’s taking quite a while to load
Kick him off
i cant do that
Or make it multithreaded
i especailly cant do that quickly enough
oh okay
Just spawn a new thread for each connection
not how that works
I DID switch WiFi networks and this one is probably slower
task.spawn
well one thing im noticing is
Ez
your DNS resolver on this computer
is a lot more wacky
its targetting the entire range from 4000 to 60000
lol sigsegv
Yes
try firefox
you migth have better luck
which is surprising since
the rpgmaker engine was made to run on node, which is v8...
urgh fine
It honestly might be some issue stemming from me being on NixOS
i dunno why that would be though
its not a linux issue... i think
(the other two were using arch...)
You see NixOS is a strange distro
Everything is clearly a Linux issue
@spare quartz so nixos's whole deal is being built around the nix package manager which has a wildly different philosophy regarding dependencies
the entire point is reproducability
you've told me about nix os a dozen times yeah
but ideally that should just better its chances
so each nix package pulls in their dependencies by version
well because it does the things it does, programs have to be tailored to work on nixos
nixos doesn't support dynamic library loading for one, every dynamic library has to have its path resolved to somewhere in the nix store
yeah I just loaded
not segfaulted (yet)
firefox seems to be ok idk what's up
it could also be the patches for ungoogled-chromium fucked something up
whats interesting is you're still loading stuff in
i'd think at this point it'd all be in memory
sound works too
ultimate test
saving and loading
it worked for me but it uses local storage
p.s.
tell me when to terminate the server
@spare quartz lol I did save and now it's stuck on loading when I walked into the next area
nvm
soz
im doing MT testing on 7778
what do you want
I'm also having to run discord in the browser because otherwise I can't use fcitx5 😭
日本語でタイプしたい
eugh what is that highlighting
あいうえお
ok the weird highlighting isn't here
ナード
ok time to switch from ungoogled-chromium to librewolf ig
it works fine for like
an hour
then it requires a restart
anyways ive made the loading siginificantly faster, but idk if the game likes that
you should make a better lsp
waiitttt
ohhh i need a protected object dont i
or else threads will share a file and break the AFCB
you're done testing btw right
linux 🤢
windows 👎
got my final test subject now
windows is like
hmm
godddd
i figured out why there were crashes sometimes
some browsers are sending an SSL/TLS request
and since thats.. yknow.. not recognized
it dies
no
my ada code can't segfault anywhere
I still blame you for the sigsegv
ITS YOUR BROWSER
how tf would i even cause that 😭
maybe
your browser just doesnt like this being
?
Idk maybe
In all honesty it’s either the ungoogled-chromium patches or just being on NixOS
I’m inclined to believe it’s a NixOS issue but it also ran fine on FF
mmm
need to figure out how to stop this from happening
probably just a PO that only lets one handle exist at a time
You should figure out how to make a better LSP
i cant . !!!
do you know how many thigns i have to work on
Ok well you seem fine ignoring things you actually have to do (schoolwork)
yeah BUT
So just….ignore the other stuff too
thats cause i cant controol that ..
ADHD IDOT
take adderall
uh ok drink coffee then
Tea
SODA
Soda is bad for you
Ur stupid sounds can’t affect me if my phone won’t play them
Dw I don’t understand 98% of Japanese either
😭
You think I can actually speak Japanese?
Bro when I was there over the summer on a study abroad program, we visited a school
not like we can do anything
And the kids spoke better Japanese than any of us
We couldn’t understand half of what they were saying
besides know where your city is but you have your address posted
KADe
DO YOU WANNA BE A TERST SUBJECT
??!
no not really
is it going to be your weird creepy ass art or actual art
bye
the moment you said furry game i lost all intrest
okay look
when i say 99% waitnig
i mean all you have to do is keep it in a tab and tell me if anything changes for a good 5 minutes (you can do stuff in the meantime)
and when the screen is ready you press enter
thats all
i do not trust you
I DONT MAKE VIRUSES??
i dont trust anything made by you
but why :<
just cause we've made a.exe into a mod once doesn't mean we're untrustworthy
its not about a.exe its because you just give off malicious vibes 😭
this is not related to you leaking my ip in the past
no your not
you work in the airforce navy whatever thing
u aint no police officer
Dissipate
police aren't feds 😭
lol no they refer to people like the FBI or CIA
domestic and state police def aren't feds
anyways
thell me when you're reaady
giving you 30 hours
i will eat the dirt beneath your house
the what
like they did with my neighbor
gas workers that are redoing shit
i hope they make a spark!!
and also supposdely will replace electric cables in my neighborhood since theyre decaying and from the 60s
Wdym
can you go to a website for a ibt
Later I’m not home rn
ok :3
i dont mind
i can track your loading progress based off the port number usage and what 404s you get
Lol
nya
I wonder how complicated an lsp server would be
probably quite
since you gotta do semantic analysis
if only you used rust...
but it was able to load the entire game + send the entire 500 MB zip to someone and only leaked about 3.2 MB of ram
rust would (probably) not leak :3
the leakly part is this code right here
(ignore the giant line thats for mtring the download progress)
turn the server on
throw away threads 
to observe
7777?
port number
cause im working on it
rdy
i can't garentee it'll load 100% of the time
since theres still the problem of file sharing
but it shuold work relatively okay
did it load?
a lot faster right
there isn't any caching
make an lsp for ME in ada
get used to SPARK 🗣️
Section A.14 of the Ada Reference Manual allows implementations to provide a wide variety of behavior if an attempt is made to access the same external file with two or more internal files.
To provide a full range of functionality, while at the same time minimizing the problems of portability caused by this implementation dependence, GNAT handles file sharing as follows:
In the absence of a ‘shared=xxx’ form parameter, an attempt to open two or more files with the same full name is considered an error and is not supported. The exception Use_Error will be raised. Note that a file that is not explicitly closed by the program remains open until the program terminates.
If the form parameter ‘shared=no’ appears in the form string, the file can be opened or created with its own separate stream identifier, regardless of whether other files sharing the same external file are opened. The exact effect depends on how the C stream routines handle multiple accesses to the same external files using separate streams.
If the form parameter ‘shared=yes’ appears in the form string for each of two or more files opened using the same full name, the same stream is shared between these files, and the semantics are as described in Ada Reference Manual, Section A.14.
sorry for the spam just found this interesting
:o
yeah that fixed it
whatever you feel is best
the standard for ada projects is apache 2.0 with llvm exception
but again
whatever you feel is best
idk I don't think any are particularly better
I don't think like gpl or agpl are necessary
ehhhmmm
how do i wanna implement password auth
i cant exactly let this bayachao game be public cause yknow
illegal
but who would want a collection of coolmathgames but rpgmaker titles
even tho alire's default is mit OR apache 2.0 w/ llvm exceptions?
yeah thats what i mean by standard
ic
it'll also ask you for a website later in init
ideally you don't want to set it to a site that doesn't exist/will exist in the future
since the manual reviewer (mosteo) isn't fond with that
but you can also leave it empty (fine)
yeah I left it empty :3
annnnddd not shown in the alire.toml is the long-description field
which is useful for ... a long description on the site
fml
my suggestion is you dev in Ada_2012
and when the compiler asks for a 2022 feature
you put down a pragma Ada_2022 in the file
yeah
the alire provided .gitignore should be enough
oh well it's in the default .gitingore
ok
rrrr now........must............figure out.........how to organize library....
just obvious note out there
your packages wil be laid out on the top level of the RTS, alire does not put a container over it all
ame
package Your.Mom
will be used like
with Your.Mom
(so you should probably just do Your_Mom)
(don't take that literally pls 🙏)
die
package Your_Mom_Fat
is more appropriate?
ehhh no
Your_Mom would be descriptive enough to point to your package
if Fat provides a distinct subset of Your_Mom then having it as a division is good
alright
note the difference in srtucture though
Your_Mom.Fat
your_mom.ads << mandatory even if empty
your_mom-fat.ads
v.
Your_Mom_Fat
your_mom_fat.ads
it is not possible to have a child package defined within a parent package with no specification
who wants to be my test subject
someone go to 67.248.238.154:7777
and tell me if it gives you a site
copycat 🙏
nuh uh
i just used 7777 cause it was my factorio port and i didnt know what other port to use 😭
lemme open router
i used 7777 cuz its the only one i had open atm
yeah thats the easier way BUT
but
if you make an alire package you could put down on your resume
"i competed personally against a multinational corporation for an lsp library"
(since AdaCore is the only supplier)
thats the competition!!!
maybe the play is contributing to that
theres also ASIS but
afaik thats been obsoleted
ASIS is also more technically complex and i dont reccomend looking at it
asis
(OF COURSE IT COSTS 221 SWISS FRANC TOO)
(I HATE ISO)
I wonder why ALS is even so bad
being good 😎
nah
like i can program but like
i dont think im particularly good nor am i one of those people that can maintain their own shit
idk that sounds a lot like what a dunning kruger survivor would say
nah dawg I just have no motivation for shit
we are opposites
you have too much energy I lack energy
: <
me neither!!!
ok if libadalang aint good enough then wtf
you're enlisting
well yeah but like
basically sounds like static analysis of ada is impossible
except via the compiler
beforehand too... i want some money going in
well
there is the SPARK 2014 tooling
but idk how much of it is applicable
adas rm is 1000 pages long so no wonder its not* complete
could defer to libadalang but
ehhhh idfk
what would this lsp even do that als wouldn't
what's the point
you're asking a lot about practicality...
this is why you NEED to have trust issues about programming
if everything was impractical why not just use nodejs with their billion libraries
idk I just don't see the point
ig I only bugged you because you're crazy enough to do it
emmm whatr was i doing again,
ngl I'm questioning if CS was the right degree
cause it just feels like I enjoy it less
what other careers would you be interested in
i've always just thought for a "real" job i'd do like
light science
tbh idfk either
Nuclear stuff is cool but the physics and math are icky
maybe it's not that I'm not interested in code but for some reason I can never find enough energy to see anything through so I just don't make anything
i kinda just feel basic in my programming language ability
i don't know all the cool stuff cs majors do or programming language scientists or whatever, i kinda just decode protocols and ... thats all
ok that's literally false you're making an OS
looks a lot better now
Tbh it's funny
You feel basic but do cool stuff
I have the knowledge but don't do anything
OK yeah but thats not really sciency or cool
i just follow instructions


