#💽Programming Chat v2
1 messages · Page 82 of 1
*ばびおを生まれました*
what
(corrected, was using transitive verb)
yeah that sounds more like it
unless you wanted me to??
MTg3MjkzOTM3NTY4NTk3NjIxMA== ??
@turbid tiger
thanks for confirmation
twitter dot com

sent another message… hoping I’m not bullied when I wake up..!
so scary. but I trust these guys are nice.
WHA
;-;
Protocol Steak
No no no katsumi save yourself from the Bayachao mind virus
It is fun
I’m at work
BGMは冒頭と最後に何が使われていますか?日本語が下手でごめんなさい。
play at work.
no
weak.
fym weak
@spare quartz urgh wtf
?
need to wait until deltarune........
your interface needs to exist on both ends of RMI users
(classes can be isolated, though)
erm it does
who has Supervisor
both use the same file
what is the package of Supervisor
please define a package
ughhhhh
show the jar
im not building a jar
?
im just running it in intellij
send Supervisor.class
and also
... carpoolsupervisormainkt.class
send those two
okay the bytecode looks correct
im not sure why it can't find Supervisor.class
but you should probably define a package
cringeee
0000000000000
send your messages in unfunnylads dms so i dont have to get whiplash
no
also still classnotfound
I tried doing -Dava.rmi.server.codebase=file:~/Documents/Coding/application_carpool/build/classes/kotlin/main/org/bread_experts_group/application_carpool/
but
didnt help
my fcucking eyes
IT'S A LONG ASS CLASSPATH OK
no not that
just so tired im crying but not actually crying
i dont get why your application doesn't work
the interface should be existing on both ends
Cause this RMI shit SUCKS
no wonder it was deprecated
ITS NOT DEPRECATED
if you're finding it hard to use implement a more traditional IPC stack
I might honestly
you can accomplish it in many ways
- shared memory
- unix domain sock
- localhost sock
- shared file
what is the problem you get for that
because when i use RMI in BSL i dont get issues revolving around class not found
crap
Exception in thread "Routing /45.131.155.254:41358" java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "<local6>" is null
forgot CTRL + C is also the same buttong mingw uses to close the process
wanted to copy just that log
real
here lemme try running RMI BSL
need to write a project on the other end...
fun fact in queens mansion they turn into the cursor when selected over a clickable object but ill let you find that yourself
i now disappear for 200 years
give me a seconddd
😭
@timid quartz
class InstrumentationServiceServer : UnicastRemoteObject(), InstrumentationService {
private val threadMXBean = ManagementFactory.getThreadMXBean()
override fun threads(): List<String> = threadMXBean.getThreadInfo(threadMXBean.allThreadIds).map { it.threadName }
companion object {
private val logger = ColoredLogger.newLogger("Remote Method Invocation")
val registry: Registry = try {
logger.fine("Creating RMI registry [25799]")
LocateRegistry.createRegistry(25799)
} catch (e: ExportException) {
logger.log(Level.FINE, e) { "Failed to create registry, dialing RMI registry" }
LocateRegistry.getRegistry(25799)
}
fun attach(name: String): InstrumentationService {
val server = InstrumentationServiceServer()
logger.fine { "Attaching service [$server] to [$name]" }
registry.bind("InstrumentationService-$name", server)
logger.fine { "Attached service [$server] to [$name]" }
return server as InstrumentationService
}
fun lookup(name: String): InstrumentationService {
logger.fine { "Looking up service [$name]" }
val lookup = registry.lookup("InstrumentationService-$name") as InstrumentationService
logger.fine { "Got service [$lookup] for [$name]" }
return lookup
}
}
}
this works
Eh nah
but why do it work and mine no work
are you doing it exactly how im doing it
no I didn't copy paste that class
show your code
your classpath is dumb and stupid
even when I did the super simple thingey
chiharu
it broke
same thing
ur the jvm wizard fix it!!!
Object::class.java.classLoader.loadClass("<package>.Supervisor")
print the output of this
what's the type
of the output
fuqq me
rmiregistry -J-Djava.rmi.server.codebase=file:/Users/me/tmp/java-rmi/build/
im spawning the registry inside the supervisor now
Unicode diff
huh
Skill issue
Cringe
freaky dog lady.
CRINGE
❌
学ばない方がいいよ
give up!
sybau 💔
kys
OK bye
noooooooo
improving logger once more...
there we go
ugh
intellij decompiler bothering me so much
feel like making my own
tldr instead of having a server, your server is your database
everything is just operations on the db in realtime
oh and theres rust (this may be targetted)
use spacetimedb::{table, reducer, ReducerContext, Table};
#[table(name = person, public)]
pub struct Person {
name: String,
}
#[reducer]
pub fn add(ctx: &ReducerContext, name: String) {
log::info!("Inserting {}", name);
ctx.db.person().insert(Person { name });
}
#[reducer]
pub fn say_hello(ctx: &ReducerContext) {
for person in ctx.db.person().iter() {
log::info!("Hello, {}!", person.name);
}
log::info!("Hello, World!");
}
and baszucki is an investor
curious to hear yalls thoughts on it
it seems pretty darn cool
it seems like a cash grab
well not a cash grab exactly
huh why
its not a library its a product with free demo option
demo option
it only costs money if you want them to host the db
do you not see the big pricing at the top
yea... its free?
you only get all the features if you let them host the db
the features u don't get are cuz you have to host it yourself
instead of having them host it
like backups
and deployment
and admin panels
and uptime related stuff
its source available and OSS soon I think https://github.com/ClockworkLabs/SpacetimeDB
just sounds to me like your falling for their trick
it is reasonable
but its a trick to make you stuck on their service and their service only
and when you need to scale you will pay them
yes
I don't get it then
they are hoping that someone will use it because its completely free, but because its marketed towards big mmo's when you need to scale to big mmo's the only way you can scale is to pay them
and because your already using it you wont switch from self hosting and just pay for them to host it
and then they make a profit
its not scummy but they are still tricking you
hmm ok
I see what you're tryna say
I don't really think its a trick
looks like it would be possible to scale yourself? idk tho
it says only single node for the free one
and im sure the paid one is proprietary and known only to them
and its not oss yet so if you make your own scaling they will sue you
proprietary is opposite of open source
rlly?
Its just a marketting buzzword for only one server at a time
so a single mmo server with spacetimedb wont be able to scale to multiple servers for like thousands of players or smthn
hm
good point
well regardless of their monetization strategy
or monetization aside
I think cool tech
hell yeah
not having to deal with server <-> db communication is cool
and then you realize that postgresql has users
minecraft is going to give me cancer
lmao
ye I blame java
probably
yeah postgresql has users (as "roles') https://www.postgresql.org/docs/17/user-manag.html
so you an just do the same thing with postgresql and have no problems
what is this in reference to?
no
its a database and you just connect as a client
idts?
well
there still needs to be a server
its just that the server operates on the database directly
they are 1 thing
but the server is just the database
right but u still need transactional logic
Instead of deploying a web or game server that sits in between your clients and your database, your clients connect directly to the database and execute your application logic inside the database itself. You can write all of your permission and authorization logic right inside your module just as you would in a normal server.
thats what it says at least
oh so it is just
Ive never used postgresql
but from what im reading you can just replace it with postgresql
can definitely replace it with a quick sqlite frontend
huh
ok I did a little digging
I think you're right but it looks like postgres can function similarly but this pattern is less supported and thought out
and they're tryna go all-in on it
looks like the main difference/motivation
yeah
it not being OSS is 🙁 tho
especially if you can just replace it with something more trusted
"I shall watch its development with great interest" 😁
stare that thing down
read from here btw
first reply on the top comment
Why would this approach be beneficial? Moving all app logic into the db as stored procedures is a well known, painful anti-pattern. Your readme needs to call this out early and explain why it’s not an anti-pattern with your specific db design.
first commment lmao
o
LITERALLY WHAT I SAID LMAO
The open source version can be run only as a single node
So why use this instead of SQLite, which can be deeply integrated into applications of just about any language? Inverting that relationship by making the database more important seems like a big step backwards.
its a startup
trying to make some quick bucks
it could turn into something good tho
well im not saying it wont work
just that its tricking you into using only it
so you will pay it
oh yea
True!
lol
lemme see if its in the police database
ah it wont be in the police database then
dyamn
I mean its summer
everything starts in the winter and gets released around now
can't wait for atp to be sentenced
to death
Nooooooo
to 2 years without a pc
NOOOOO
fr!?!?!
the bell tolls
I want to play my game from a Japanese NEET who is good at drawing…
Oh okay
Reading thru their readme
It really is just a SQL database … that you compile into your application
Why did it take so many words to say that?
cuz they gotta fool me
Anyways cool idea that is probably already in use alongside DBCs. I wonder if their game will be any good
Hello
I fell asleep 😭
I'm a skeptic!??!!
This is the first time I've been called a skeptic
cute..
hmm
someone has posted a moderately substandard script on Twitter.Com
should i write a PR for it... i am uncertain..
Well
When you press those two characters really fast in a Roblox game
It makes it look like you’re humping someone
So. Not great, and only trolls really do it
but it didnt before
if you were doing the same thing 5 years ago everyone would think you were messed up not what they think now 😭
well 5 years ago a pathogen that killed millions of people also wasn’t around
😭
and 10 years ago the humor was totally different
ATP爆破
@timid quartz HOCHI MAMA!!!! I CAN FEEL THAT [[Smooth Taste]] ALREADY
CAN A [[Little sponge]] DO THIS
GO [[Ga-Ga]] AND [[Die]]
NO, I GET IT! IT'S YOU AND THAT [Hochi Mama]!
YOU'VE BEEN [Making], HAVEN'T YOU!
YOU'VE BEEN MAKING [Hyperlink Blocked]!
AND NOW THAT YOU HAVE YOUR OWN SUPPLY, YOU DON'T NEED ME!!!
@spare quartz for some reason even if the registry doesn't exist, .getRegistry() still returns
which is odd
Hmm would it be better to distribute client and supervisor as one jar or two
Kvmbmbmbmb
Ewww don’t put _ in your logger
can I put spaces 🥺
Yes
You can put any string including Unicode
Some terminals might not like Unicode and show them as ?, including Log4J, but screw them
Me when I put nbsp
they will be baked soon alhamdulillah
no 😭
hmmmmm
this command handling may be scuffed
since all the commands are flags
I could do like -command="add-service ./whatever.exe --args" but then im parsing args within args
vs -add-service="./whatever.exe --args"
that might not work due to how the jvm splits arguments (i.e. you get [-command="add-service, ./whatever.exe --args"]
if you want me to add that into bsl i can...
yeah so
that's why I was gonna do the latter
-add-service="./whatever.exe --args"
even in the quotes??
im not sure how stupid the default JVM parser is
let's try this
if it does split ill code in a patch in the bsl parser
but also now
have to handle start separately
and then I prune out the flags that aren't "commands" like start
finally... fully upgraded walls
and send the rest of them to be handled
though this has the added benefit that you can do -start -add_service=... -add_service=...
rather than -start and -add_service on two separate invocations
humumu
wonder if i should add an additional parameter to flags
dependsOn = listOf("other-flag", ...)
orrr mutuallyExcludes = listOf(..)
probably just add a rules data class
@spare quartz I don't think it's as stupid as you think
oh okay thats good
i thought it'd just be as simple as x.split(" ")
that's funny though
you can technically write a parser for that which itself uses readArgs
and have Flag<Pair<SingleArgs, MultipleArgs>>
how bad is this code
this does make me wanna move this logic into bsl though
since ive always hated chained ifs
welll some servers might not use that
yeaah same...
Today we attempt to survive for 24 hours on the recently opened Japanese version of 2b2t, the oldest anarchy server in Minecraft. What could possibly go wrong?
My Twitter: https://twitter.com/FitMC
My Instagram: https://www.instagram.com/fitmcsippycup/
YT Streams: https://www.youtube.com/c/FitMC/live
Catch up on streams here: https://www.youtube...
I should maybe separate -stop out too because I don't want it to be handled
I SURVIVED 24 HOURS ON BAYACHAO 2B2T
with the rest
like -add_service=... -stop should immediately stop
not add the service and then stop
also
this is a little goofy
giving it the supervisor stub
but then status not using it
(because checkSupervisorStatus has a try-catch that returns null on error)
(and I dont wanna rewrite that)
?????????
are you doing anything other than that when in that for loop
uh...more cases
and also im gonna do the multiple args parsing after
I mean I could
there's more cases so
but just the one when
also hm it doesn't like port 1099 being default
supervisor creates the registry just fine...but client no likey connecting
oh fuck me
that's why
yknow what screw it
screw using checkSupervisorStatus for the status command
mmmmm
// rust be like
let _ = supervisor.stop();
log::info!("Supervisor daemon stopped");
std::process::exit(0);
do you think astra would kill me if I made a killdozer and hid it somewhere
yes .
@timid quartz
do you need what
why do you have it in the first place
well
the immediate thing to say is that
if you're polling forever somewhere w/o doing anything you have a flaw in your design
but the second thing to say is
while (true) Thread.sleep(Long.MAX_VALUE)
but im asking
do I need to have that since I'm starting an RMI server
does the RMI server keep itself alive
without exiting
run a diagnostic on the rmi thread and see if its a daemon or not
ugh urmom
public static void park()
Disables the current thread for thread scheduling purposes unless the permit is available.
If the permit is available then it is consumed and the call returns immediately; otherwise the current thread becomes disabled for thread scheduling purposes and lies dormant until one of three things happens:
Some other thread invokes unpark with the current thread as the target; or
Some other thread interrupts the current thread; or
The call spuriously (that is, for no reason) returns.
This method does not report which of these caused the method to return. Callers should re-check the conditions which caused the thread to park in the first place. Callers may also determine, for example, the interrupt status of the thread upon return.
interesting class LockSupport
RMI thread is probably not a daemon then
so thats good
you can check thread status with jcmd
...nvm
oh
oh wait
hwhuh
OHH I know what that is
it takes a second for the rmi server to start
so if I try to query it too fast it's not ready
wow what a roundabout way to get a OutOfMemoryError
yep that's it
@spare quartz supervisor daemon just needs some time to wake up
so I added a 1 second pause and it's fine
000000
i do not like the arbitrary wait
use WaitTimeProviderFactory then
shut up harry .
HOWEVER
its in C#!!!
aeras favorite language!!!
❌
it does
wth
u sure?
thats the whole point of CLASS
but it doesn't seem like it can
does it matter
ofc
(it doesn't)
it does
doesn't
how does it matter
cuz I need to build for X system on a different system Y
yes
these builds need to happen locally
they don't
they do
explain
wym explain
explain why they need to happen locally
policy
meaningless
then dont wait for CI
why would you need to build on ci for "every change"
how else am I gonna build it
no cross compilation
and running the code locally
the code cannot run locally
it can
Better than Java
thats the point of JVM code
yes
do you understand what graalvm is for
Well what’s ur solution then hm
also driving bbl
id need the entire project
i just dont like arbitrary waits
u said it does the same thing as native aot for csharp
uh huh yes
it aot compiles JVM class code into a native machines code
and deploy it to a different system
yes do that with CI
but if you want to test and build your code, just do it locally, and when you're ready, do it with CI
it's that simple
why can it not be
cuz it depends on resources you don't have locally
no it doesn't
the code you're writing is initially going to be tested as JVM code, which is by design, platform agnostic
by resources I mean hardware
it accesses hardware not present locally
does that make sense now
it doesn't matter if the code will "run"
it will not work
uh huh
idk what else I can say
and if you compile your application for that other platform through another machine on CI, you get the same end result
thats not a tenable workflow
for what reason
for what reason??
why do you need this exact circumstance
for this reason
elaborate
this workflow ends the same
you do not need strict cross-compilation to achieve the same result for what AOT/cc is used for
if you want to test your application, you do it on your machine locally, and let either GraalVM/MSVC (more specifically .NET/CLI) handle the platform agnosticism for you
then when it's ready, you run it through MSVC's cross compilation / a CI imaging step for GraalVM
Yeah like I said tho, I cant test it locally
why can't you, though?
Didn't I say already
you can't test locally with strict cross compilation either
uh huh but the end result is still the same
Yea ik that, I never said it wasn't
but i don't see your point about "not being able to test locally"
Just that graal doesn't fit
Why not
It relies on hardware not available locally
LOL
Thus, it cannot be tested locally
U got me lost too
you're supposed to be able to test locally no matter what the hardware is on the local machine for both JVM/C#
as that is the entrie point for both of those languages
No, hardware resources
okay but what hardware resource exactly
Beyond the computer itself
what do you require
what is an MCU
Microcontrollers
i sure wish you had said that earlier instead of an opaque "hardware resources", both languages lose their agnosticism and i can't really say anything for either
you'd need a simulator for a JVM to be nicer to test with, AOT wise
(or just put a JVM on the machine interacting with the microcontrollers, and test there)
mb bruh
ye I refered to them as resources cuz they're stuff the device needs to access beyond itself
i only really see the benefits of a JVM (or similar) when the applications purpose is to be isolated to everything on that one machine
either way we can't test locally without mocking/simulating stuff, so testing on the actual platform is a must
and not having to go through CI every time we make a code change is important
yea one option is to just put graal on the actual device
but we're hardware limited as it is already
depending on that devices power im unsure if that'd be more suitable than C# though, a lot of underpowered devices struggle with compilation, especially with the amount of optimizations graalvm will take to do
the last stat i saw for graal was 30 seconds for a hello world java app
and i assume that was on an average computer
yes, thats my point
ouch
but it does run much faster than what it would be in a JVM
so theres a method to the madness
yea, aot is important cuz otherwise JIT running introduces timing inconsistencies we don't like
you know what language is battle tested and great for real time environments?
in a brighter world we would be using cpp
Ada!!!!!!!!!!!!!!!!!!!!!!!!!
but csharp it is
or rust or whatever people are using now
I would say ada but idk if that fits with the "people are using now"
they're trying to get rust in real time applications but certifications and stuff are hampering their progress
maybe more like "person was using before"
so it's not like they'll be in super safety critical stuff soon
(ada)
I really don't hear about ada that often despite u always insisting its everywhere
its mostly fortran + c
maybe in the military tho
because everywhere adas used its not really... that spoken about, especially since a lot of the neighboring code to it is C everyone knows
but i do know ada was built with fortran and cobol interop in mind so
if it were generational... it'd be... fortran + cobol, ada + c, ... future languages, maybe rust/c++ ...
also zig too but that's super far behind rust
ちゃちゃ20-ぽーり1305
what kind of evil message is this
ChaCha20-Poly1305
CLR is just better in general
no
yes
no
ChaoChao20-Pain1305
if you love your clr so much make an abstract computing machine out of it
ちゃおちゃお20-ペイン1305
this is a JVM project
same with JVM* (also Ada, fun fact)
again, JVM project
(kotlin has a few things to fix this, but we're waiting on the project to be delivered)
(how would this work?)
see the FFM delivered in JDK 22-24 for details
not a point
Mmmhyes
it isn't
like, you'd need to be both a JVM and CLR developer to get the difference
neither of which you are
so get to coding
get off your phone
I am a superior Rust dev
its almost like saying x86 is worse than ARM for sole reason of "instruction count"
We are not encumbered by VMs
see cisc vs risc argument
yes
neither are better than the other for every possible job
and same goes for JVM / CLR
bayachao is better than you at coding btw
name one disadvantage of the jvm
fat :3
die.
mr poshi make this guy marry a schizo japanese woman
@lone sky
send babios
how do you have htat.
ill give u one guess
ばやちゃおと申します。 イラスト・アニメーション・キャラクターデザインetc. 連絡先→ [email protected]
send babios
no
ATTENTION CUSTOMERS! [[Clean up on Aisle 3!]]
BAYACHAO PERSONALITY DISORDER STRUCK AGAIN
nerd.
lobotomy corporation is literally
NO ITS NOT*
yo do you want Babio
chiharu seen
🥺
@timid quartz
does this count as kokuri
Thinking of porting GML VM to new platforms is hopeless optimism, I'm afraid - sure, the VM itself is relatively non-complex (compared to IL, for example), but anyone that is legitimately able of creating accurate replicas of hundreds of standard library functions (and far more undocumented elements, such as event processing) through black box testing alone is most likely to be already occupied with a full-time job as a senior engineer at some medium-sized company.
What is that
whats what
Tha
right above what
The last thing you said
this?
Ya
there are 4 distinct things there
which would you like me to explain
(see the package names)
I have no clue lmao
I LOVE GENERICS!!!!!!!!
also means i can reduce stuff like the RIFF parser to just readBase()
along with the init {} block containing the advanced parsers per block
@timid quartz also think im gonna change the argument casting issue
instead of x[name] as y ill probably just do x.get<y>(name)
since we can reify y (potentially) itll practically be the same as before
scary

im gonna reify you
inline fun <reified ATP> kill(atp: ATP)
now i need a gets for multiple args...
inline fun <reified Makemon> kill(target: Makemon)
nobody even uses reified
kotlin has so many funny keywords that nobody uses
literally everyone uses reified
you're just not big brain enough to use it
okay i think thats good enough
now to say goodbye to my typealiases ☹️
oh thats cool
they made an operator for me
50000000 crates to join two maps
refineBase[1]] Parsed chunk into [org.bread_experts_group.coder.format.gamemaker_win.chunk.GameMakerWINContainerChunk] from [org.bread_experts_group.coder.format.gamemaker_win.GameMakerWINInputStream$$Lambda/0x000000801414f210@78a773fd], GameMakerWINChunk."FORM"[@8]
BABICHAO
there we go
functions
operagx detected
First userland ropchain exploit on the Switch 2
︀︀Source: bsky.app/profile/retr0.id/post/3lqtwrndzf22w
their switch was bricked by nintendo 30 minutes later
Wrong
This actually happened to them
[credit]
vocal / ルウル
all works / r-906 https://x.com/arukuremu
[off vocal , stems]
https://drive.google.com/drive/folders/1VvETt6-yXAQmrkpQlq9NEokbPmOs6Bn-?usp=sharing
[streaming]
https://linkco.re/yhhhA2dF
[lyrics]
抜け出してさ
朝、夢が裏返る
止め処などない甲斐性
[‘Cause I’m just being loaded]
忘れな...
finally
imagine if they just hooked up the screen to a raspi under the table and said they hacked it 💀