#plugins-dev-chat

1 messages ยท Page 124 of 1

unique crane
#

Programmer's skill issue

upper vapor
#

-# i tend to overtest

unique crane
#

Like it you set the volume to 100x

#

That's a skill issue

#

It would be like adding check so you don't cause epilepsy

#

From light toy

upper vapor
#

โŒ read the docs
โœ… follow natural stupidity because volume sliders in games tend to be 0-100%, and don't even think of testing it locally

upper vapor
unique crane
#

Anyways I did fresh install of windows 10

#

Time to add Linux dual boot

upper vapor
#

should've installed linux

#

yes

unique crane
#

I gotta keep windows 10 for some stuff

#

Like Helldivers 2 xd

upper vapor
celest thorn
#

when OnGui Support from server to Client

#

:3

unique crane
#

No more updates

#

XDD

upper vapor
celest thorn
unique crane
hearty shard
#

guh guh guh

unique crane
#

Again

hearty shard
#

hi axe

#

hi david

unique crane
#

I forg

upper vapor
#

me too

unique crane
#

That's like that editor UI no

celest thorn
unique crane
#

Or we'll the very basic one

celest thorn
#

rn

upper vapor
#

she wants IMGUI

unique crane
#

As marked by jesus

upper vapor
#

(pro tip: don't use IMGUI)

hearty shard
unique crane
#

We are looking into alternatives

#

Than hints

hearty shard
#

woah

#

does this mean

#

no more ruei?!

hearty shard
#

no more meowing service?!

upper vapor
unique crane
#

No more what

upper vapor
#

hsm

hearty shard
#

๐Ÿ˜ญ

tepid sluice
#

wait

#

we will rework hints?

hearty shard
#

i love bagels for my birthday

hearty shard
#

alternative

upper vapor
#

david you've breached your NDA
gotta go to hubert jail

celest thorn
tepid sluice
unique crane
#

How do you type % on English keyboard

celest thorn
upper vapor
tepid sluice
#

%

hearty shard
celest thorn
unique crane
#

Thanks

celest thorn
#

Shift 5

upper vapor
#

np

#

shit 5

hearty shard
#

instead of deleting nwapi
its labapi AND nwapi

#

best explanation

upper vapor
hearty shard
#

why didnt yall keep nwapi ๐Ÿ’”

celest thorn
#

added by nw this update

upper vapor
tepid sluice
#

plz kill nwapi

hearty shard
upper vapor
celest thorn
#

if you type "animcullingdebug" in your client console it enables

#

with a GUI updated from the server

upper vapor
#

imagine disclosing that in the changelog

hearty shard
#

i might have to brainrot

#

a lot

tepid sluice
#

holy shit what is that

upper vapor
#

oh right the uhhh

#

far player

celest thorn
upper vapor
#

animation "LOD" thing

celest thorn
#

thats why i know it existed

hearty shard
#

axe

celest thorn
#

and someone added this to the code

hearty shard
#

hows secret api!

#

i need to release it

#

one day

#

in a non beta Trol

restive turret
hearty shard
#

slime boy

#

do you like bagels

celest thorn
#

GOD

restive turret
hearty shard
#

...

restive turret
#

Is like a baget

hearty shard
#

im quitting

static meteor
tepid sluice
#

@restive turrethello slime boy

restive turret
hearty shard
restive turret
celest thorn
celest thorn
hearty shard
#

thanks!!!

#

i have the best nicknames ever

tepid sluice
#

๐Ÿ’”

restive turret
hearty shard
restive turret
#

You are evil

hearty shard
#

also u cant be mean on my birthday

celest thorn
slate flume
#

Fire thank you so much!

restive turret
hearty shard
#

the cake is a lie...?

#

not again...

restive turret
#

Anyway brb gotta buy cigarettes and bread

hearty shard
#

i question my grandma sometimes

#

why r u buying cigarettes

restive turret
#

To chainsmoke it

celest thorn
#

THE CAKE IS NOT A LIE

#

THE CAKE IS REAL

hearty shard
#

good point

#

i approve

celest thorn
#

I can prove that

restive turret
#

Actually to my parents

#

I don't smoke

#

Yet

hearty shard
celest thorn
#

At the end of portal 1 the cake is there

#

SO IT MEANS ITS NOT A LIE

restive turret
#

I somehow memorized some of glados lines

celest thorn
restive turret
#

And i can't escape from it

celest thorn
#

like

hearty shard
#

I someone

#

me too

celest thorn
#

bro you wanna become glados?

restive turret
hearty shard
#

im so proud of you

restive turret
#

U played the game at like 14yr and was really great

celest thorn
restive turret
#

So decided to play too much

celest thorn
#

what valve gives us is love

#

can we make portals in SL

#

like real portals

#

not primitives fake portals

stuck peak
#

portal 1 is great to speedrun

celest thorn
stuck peak
#

portal 1 oob is probably the most fun you can have speedrunning

stuck peak
celest thorn
#

like the ending is crazy how they found the thing to get less time

#

with frame perfect

restive turret
#

And that too much made me hear the line again and again

stuck peak
#

especially portal 3420

restive turret
#

Until i said the line with glados too

stuck peak
#

most broken version that crashes on most machines but has the most broken things

celest thorn
restive turret
#

Oh fiddle stick what now!

stuck peak
#

only portal 2 glitch I know is the flying one

#

where you crouch into the ceiling on the booster things

celest thorn
#

btw this video is amazing

#

the goo sound or mud.wav

#

btw something i forgot to say, idk if david, slejm or axwabo remembers the culling toy glitch that for some reason was causing client side errors even tho it was correct, from a version to another it fixed itself

#

so now it doesn't even say the error anymore

#

of the mismatch

restive turret
#

Lel

celest thorn
#

idk i find it funny that now doesn't happen anymore

slate flume
hearty shard
#

um

#

nuh uh

slate flume
#

My code improved like 10x with the information you gave me

stuck peak
#

yay

hearty shard
stuck peak
#

yes let me write asm for 10 years

hearty shard
#

see

#

someone gets it

celest thorn
#

and no libraries obv

#

only vulkan and directx allowed tho

stuck peak
slate flume
stuck peak
#

I mean yes of course

slate flume
#

Back in the good old days

stuck peak
# stuck peak I love tokyospliff

gotta say some of his code is painful to look at because he's primarily used to shader work so his actual code ends up being structured like shaders

#

but it has been getting better over time

upper vapor
#

recompile for the new update

slate flume
#

Was SecretAPI not recompiled for the latest update?

#

I use it for the SSSS wrapper it's kind of really important

hearty shard
tepid sluice
#

I also need secret API

#

for customeffects

#

๐Ÿ”ฅ

upper vapor
slate flume
hearty shard
upper vapor
#

some ctors

hearty shard
upper vapor
hearty shard
#

eg they change the params to SSS

slate flume
#

Things change every update

hearty shard
#

ya but not everything is a brekaing change every update

upper vapor
#

patches maybe

slate flume
upper vapor
#

i didn't have to recompile my command system but someone is still having issues with its patches skullbutreal

#

-# nobody else reported an issue

slate flume
#

Like this latest update broke my custom items

upper vapor
#

-# works on a fresh installation

slate flume
#

Idek why

hearty shard
#

if they changed SSGroupHeader

#

away from SSGroupHeader(label, reducedPadding, hint);

upper vapor
slate flume
hearty shard
#

and added or removed one of those params

slate flume
hearty shard
#

then recompile is needed

upper vapor
#

even if they add a default parameter, it's a breaking change

hearty shard
#

i recompiled because of the Player::GameObject changes

upper vapor
#

cuz the method without it no longer exists

slate flume
hearty shard
upper vapor
#

my guess is that some signature was changed

slate flume
slate flume
upper vapor
#

method signature in the base game

hearty shard
#

i love playing sl w 600ms

upper vapor
#

happy birthday

slate flume
upper vapor
#

birthgay

hearty shard
#

damn..

upper vapor
#

:3

slate flume
#

I really only attach to a bunch of LabAPI events to register custom items

hearty shard
#

i thought id hop on my server for a bit and then its 200-700 ping ๐Ÿ’”

slate flume
#

I don't do any patching

hearty shard
#

ig i just need to get gud

stuck peak
upper vapor
slate flume
upper vapor
#

๐Ÿ˜ญ

stuck peak
stuck peak
slate flume
#

No clue, I haven't tested nor recompiled, because I'm in Europe

stuck peak
#

olrite

celest thorn
#

For me everything works

#

without update

stuck peak
slate flume
#

My point is that generally it's good practice to recompile plugins each update

hearty shard
#

axe is on smth

upper vapor
slate flume
#

It prevents these issues

#

I can guarantee almost 100% that one recompile is going to fix my plugin

celest thorn
slate flume
#

When I heard SecretAPI wasn't updated with 14.1.4 I get worried because these updates change a fair amount and I'm unsure that any testing has been done to ensure these things haven't broken

slate flume
#

When really all that needs to be done is one recompile

stuck peak
hearty shard
#

unless a breaking change happens

upper vapor
hearty shard
#

because nothing has changed for me

slate flume
stuck peak
hearty shard
upper vapor
slate flume
upper vapor
slate flume
#

My custom items don't give an exception on loading but they're still broken because something got screwed up with the latest update
I don't necessarily know what, and nothing in the changelogs indicates a breaking change, but stuff broke

hearty shard
stuck peak
#

afaik nothing really changed in regards to items/pickups

#

aside from me fixing 914 duplicating items

slate flume
#

My whole point is that even if you don't think something broke, there's a chance something did break and you just don't know about it

#

Which is why it's good practice to just

#

Recompile

#

It takes like less than a minute

stuck peak
slate flume
#

This is why I just try to write everything myself, then I don't have to rely on other devs for these things ๐Ÿ˜ญ

hearty shard
#

oh

#

jailbird is completely broken w bad ping

#

so sad

stuck peak
#

just wondering if I broke it back then sajj

hearty shard
stuck peak
hearty shard
#

jailbird my beloved cant register hits ๐Ÿ’”

stuck peak
#

as soon as I didn't have to make my own loader I made my own api framework because Exiled kept causing so many issues

hearty shard
#

lel

restive turret
hearty shard
#

i cant promise like daily releases or wtv, but i will fix issues that occur

#

w it

#

howeverr....

#

i usually dont recompile unless smth breaks in some way

#

also r u on 1.x or 2.x

restive turret
#

U just have to press 1 button

upper vapor
hearty shard
upper vapor
#

moving to nwapi was painful but full of experience

restive turret
hearty shard
#

and then wait for it... and then compile... and then make a github release....

upper vapor
hearty shard
restive turret
#

Eve moment

hearty shard
#

im still not doing allat for smth that aint broken

upper vapor
#

i bet it will be broken

hearty shard
#

nooo

restive turret
upper vapor
#

something surely

hearty shard
#

nw didnt touch my precious setting surely

#

i gotta get rid of 1.x at some point

#

but then i gotta

#

release 2.x....

#

yuck

upper vapor
#

then

#

do it

upper vapor
hearty shard
#

GUH

upper vapor
#

great opportunity to invade denmark

restive turret
stuck peak
slate flume
hearty shard
upper vapor
#

then they removed support for it

hearty shard
stuck peak
slate flume
stuck peak
#

can achieve the same things

#

and more shrujj

hearty shard
restive turret
#

I still wait for that PR

slate flume
#

I want to eliminate any chance that the problem is with other people and make sure that if there's an issue it's my own fault

restive turret
#

The breaking change one

hearty shard
#

it does work and i havent heard any issues with it

#

well

#

the first few betas werent safe

slate flume
#

So good job GoodOne

#

It's amazing having an SSSS wrapper

#

I did not wanna figure that shit out myself

#

Sounded like hell

hearty shard
restive turret
#

I even expanded the thing you did with proper type support instead of T types

hearty shard
upper vapor
#

what if i remake the base SSSS system

hearty shard
slate flume
hearty shard
#

please

restive turret
hearty shard
upper vapor
hearty shard
#

to allow swapping

stuck peak
hearty shard
#

unless it has disadvantages which in that case

stuck peak
#

unlike exiled Pffttt

restive turret
stuck peak
hearty shard
restive turret
stuck peak
restive turret
#

Thank you ax

hearty shard
#

nao...

#

remember when nao released 9.0

celest thorn
stuck peak
celest thorn
#

he was a great dev i remember playing his server

restive turret
#

I love changing breaks

celest thorn
#

best server ever for modded sl at the time

stuck peak
#

"oh here is a game update so update exiled. Btw 90% of Exiled has changed so have fun updating within 2 days"

upper vapor
#

โŒ make breaking changes continuously
โœ… rewrite your entire library now that you know the requirements better

upper vapor
restive turret
#

The game itself also make breaking changes

hearty shard
upper vapor
#

12.0 was crazy

restive turret
hearty shard
hearty shard
#

also

upper vapor
#

wait not this one

hearty shard
restive turret
#

Good

hearty shard
#

i hate it

celest thorn
upper vapor
restive turret
#

Make a source gen

hearty shard
#

idk wtf im doing

upper vapor
hearty shard
#

it was a concept

upper vapor
#

(she will never)

hearty shard
#

listen

hearty shard
restive turret
#

Ax did you do it in yours

hearty shard
upper vapor
hearty shard
restive turret
upper vapor
#

also if i ever get around to it
i'll try to get it into labapi :3

restive turret
#

Good luck

upper vapor
#

ty

upper vapor
#

can you english

hearty shard
#

No

restive turret
celest thorn
hearty shard
#

wait

upper vapor
# hearty shard No

Some words might not map to any phrase. These will be replaced with a pause of (number of characters * 100) milliseconds.
please fix the first sentence
something like "there might be some words that cannot be mapped to any phrase in the database"

hearty shard
#

@true cedar i see you

upper vapor
#

๐Ÿ—ฃ๏ธ๐Ÿ—ฃ๏ธ

celest thorn
upper vapor
#

o

#

something

hearty shard
#

fazbear entertainment

celest thorn
upper vapor
stuck peak
#

what

upper vapor
#

xd

#

there's a list of phrases the user adds

upper vapor
#

if the text contains a word that cannot be mapped, it'll be silence

#

ne morzsรกzz

#

@restive turret toomuchtrolling

#

-# don't leave crumbs

#

-# don't morsel

celest thorn
upper vapor
#

maro, release her

true cedar
#

help me make an algorithm

#

im making an algorithm to calculate the optimal enchantment order

celest thorn
stuck peak
#

wtf is an enchantment order

upper vapor
stuck peak
#

wtf is an enchantment in sl

upper vapor
#

anvil

stuck peak
#

oh

upper vapor
#

book

stuck peak
#

ah

upper vapor
#

XDDD

restive turret
true cedar
#

yea its a minecraft thing

upper vapor
#

"there's a for loop in my code, you can't subtract a point for a lack of for loops"

restive turret
#

Does anyone have an experience reading RFC documents?

true cedar
restive turret
upper vapor
#

string response = ShatGPT.prompt()

#

XDDDD

#

shatgpt

#

gotta love the home key working

restive turret
celest thorn
true cedar
#

that doesnt let u obtain sharpness 5 from villagers

upper vapor
#

hack the server

true cedar
#

only sharp 3

upper vapor
#

shartness 3

celest thorn
#

Like books

#

do you know the plugin they use?

upper vapor
#

ye

celest thorn
#

or if they use anything

upper vapor
true cedar
#

well its not about the plugin

upper vapor
#

probably

true cedar
#

^

true cedar
#

doesn't work bc it assumes the books are already max level

stuck peak
#

I had a table somewhere of all the costs of all enchantments but idk where it is

upper vapor
#

implement A* to do this

stuck peak
#

google will help

upper vapor
true cedar
#

ive been working on this for a couple weeks

stuck peak
#

oh?*

celest thorn
#
Minecraft Wiki

This page explains the mechanics of the anvil. The anvil is primarily used to repair tools, armor, and weapons, which it can do without stripping their enchantments, unlike the grindstone and crafting table. It can also be used to combine the enchantments of two items, to give an item a custom name, or to crush enemies, mobs or other players tha...

#

this should help

true cedar
#

SCREAMS

restive turret
celest thorn
#

there's the math and everything for it

true cedar
#

ik

#

ive created an algorithm that mostly works

upper vapor
true cedar
#

it doesnt account for 4 sharp 3 books -> sharp 5

#

which is kind of why i wanted to make an algorithm

#

idk!!!

celest thorn
#

i have the perfect idea

#

take the MCP

#

strip everything except the anvil code

warped prairie
#

anyone super experienced with HSM able to help me out? Im getting some serious performance issues at scale and was wondering if anyone could check out my framework to see if im doing something not goog

upper vapor
#

switch to RueI

#

zer0 could tell you all about it

#

spawning threads per player...

static meteor
#

RueI v3 is mostly stable afaik

warped prairie
#

i tried making the most basic thing with REUI but couldnt even get anything to render on screen

upper vapor
#

did you use v3?

warped prairie
# upper vapor did you use v3?

i have 2 versions of my framework one with REUI and one with HSM, as i was gonna switch out, but could not for the life of me get it working

#

ya

upper vapor
#

hm

hearty shard
#

2.1 is what iu se

upper vapor
#

@dapper forge

hearty shard
#

i tried 3 couldnt get it working

warped prairie
#

same. but isnt 2.1 gonna be outdated soon?

hearty shard
#

it should work for a while

warped prairie
#

i wouldnt wanna make my framework around 2.1 if its gonna be obsolete soon

hearty shard
#

last update was in May 25

#

last needed update was april 28

warped prairie
#

mm possibly

hearty shard
#

ruei 2.x is a dependency in its full form
3.x will be a labapi plugin which you reference

warped prairie
#

alright, ill try working on a 2.1 version then

upper vapor
#

pai dies today

warped prairie
#

i have both, im just trying to get SOMETHING working

hearty shard
#
private static AutoElement? _displayElement = new(Roles.All, new DynamicElement(GetHintDisplay, 10));

private static string GetHintDisplay(DisplayCore core)
{
   return "i hate you";
}
#

this wont update itself (aka GetHintDisplay wont get called unless you update the display)

#
new AutoElement(Roles.All, new DynamicElement(GetHintDisplay, 100))
            {
                UpdateEvery = new AutoElement.PeriodicUpdate(TimeSpan.FromSeconds(2)),
            };

this will update every 2s

#

entirely depends what you need

#

those are both elements i use (ofc a lot removed)

#

the first i manually update myself since i wanna have it update instantly on a condition
and the 2nd i use for user info that checking for might not be the most optimal

#

(aka instead of every frame updating health for players, just wait 2s to do it)

warped prairie
#

i see. ill take a look. ill be back if im too tupid

#

ty Joe

hearty shard
#

also stringbuilder is used a lot since ruei has extensions for it which means instead of manually adding text you builder.SetColor

#

(also its not unity color its system.drawing.color Trol)

upper vapor
celest thorn
#

so sad

hearty shard
#

rue did it weird

upper vapor
#

thank goodness v2 is getting deleted

hearty shard
celest thorn
#

guys when v3

hearty shard
#

gid gud

tepid sluice
static meteor
#

Html tags mostly work now SteamHappy

upper vapor
upper vapor
#

wheres john webdev

#

lumi

restive turret
upper vapor
#

@magic gate thank you

hearty shard
hearty shard
upper vapor
#

still no note syntax...

upper vapor
stuck peak
stuck peak
restive turret
#

I have a template so

#

You have to make it once

upper vapor
restive turret
#

Also x3rt what do you think if you could create a labapi plugin with dotnet new command

stuck peak
#

I have a plugin template on nuget if you want but it's CT specific

upper vapor
#

i wanted to make templates but figured i wouldn't cuz i don't wanna put in effort if it won't get merged anyway

restive turret
#

You can create a dotnet templates and it works with dotnet new command, have to check VS and Rider for that

stuck peak
#

oh you mean in the repo

#

hm

#

I know

restive turret
#

Oh

#

:sob;

stuck peak
#

hm?

restive turret
#

But ye could be in the labapi repo itself

stuck peak
#

maybe yea

upper vapor
#

templates repo is private

#

:(

#

we should absolutely have multi-project templates too

#

would probably get more people to learn about MSBuild

restive turret
upper vapor
#

IDEs aren't very smart when it comes to customizing the build pipeline

restive turret
#

With props?

upper vapor
stuck peak
#

yeah there is a props file but it's not included in the template

restive turret
#

What would the creation be?
labapi-multiple

upper vapor
#

something like that i guess

restive turret
#

I create a pr and see

#

You can test locally to i guess

stuck peak
#

would probably be a seperate repo

#

usually are

restive turret
#

So i have to convince Jesus?

#

Or who exactly

#

Beryl?

stuck peak
#

could make a github issue about it

#

then it's easier to keep track of and keep discussions contained

restive turret
#

Ya sure, i already have a template for it that i edited

stuck peak
#

I didn't mean make a PR but just a Idea issue

restive turret
#

So i can just link that

stuck peak
restive turret
#

But ye i powering up my pc

#

My ear got better

upper vapor
#

let's make a draft PR for templates i guess

restive turret
#

It's on my repo so you can track changes

slate flume
#

Can we completely redo LabAPI I think it's cooked

restive turret
icy knoll
#

i think itโ€™s good

warped prairie
#

delete system 32

stuck peak
icy knoll
stuck peak
icy knoll
#

web dev and api maintainer

stuck peak
#

sigh I'm the only webdev that deals with all the laravel shit

stuck peak
celest thorn
#

bro can nw make better roles

icy knoll
celest thorn
#

i still don't understand who does what

celest thorn
stuck peak
celest thorn
#

but i use it

stuck peak
#

js frameworks just suck

#

yippie I love my slow v-dom slop and npm slop

icy knoll
#

me when the framework i use doesnโ€™t have a v dom and uses a compiler :3

restive turret
#

Me when i dont use any

stuck peak
#

yeah but you are still writing js

icy knoll
stuck peak
#

it's horrible to maintain is the issue

restive turret
#

What if i write blazor/razor?

stuck peak
#

blazor is great

icy knoll
stuck peak
#

identity sucks ass but if you work around it (i.e don't use any of the regular identity/claims etc it's fine)

icy knoll
#

like iโ€™m good at maintaining code bases because im practically fluent in js/ts

#

i only use ts now tho

stuck peak
restive turret
#

[] === 0

stuck peak
icy knoll
icy knoll
#

we only use TS

#

and my colleague is shit with js/ts

#

mf uses any wherever possible

#

pisses me off but whatever

celest thorn
#

Guys will we ever get to stage 3?

restive turret
celest thorn
restive turret
celest thorn
#

aw thank you

#

:3

restive turret
#

I meant like

#

Nvm

celest thorn
stuck peak
celest thorn
#

im sorry

stuck peak
#

you can still look at the portal and public posts lol

celest thorn
stuck peak
#

...?

restive turret
harsh thorn
#

all the cool NW sites that are in laravel are also the internal sites

icy knoll
#

so iโ€™m waiting for the response to that next :3

restive turret
#

Same, Jesus being busy as always

hearty shard
celest thorn
restive turret
#

I think even with your bday today I ams still older than you ClassDTroll

slate flume
stuck peak
#

oh that's where

celest thorn
#

didn't know it was your server

restive turret
#

Wtf is soda

slate flume
hearty shard
slate flume
#

I've been in Europe

restive turret
hearty shard
slate flume
#

I'm sitting at a bar drinking

#

I plan to update the servers later

restive turret
#

Try every flavor

hearty shard
#

average dev

restive turret
#

County btw

hearty shard
#

going to a bar instead of working

slate flume
#

I just had an old fashioned for the first time

#

It was meh

celest thorn
#

never drunk again

slate flume
#

Anyways @celest thorn you might enjoy playing on the server more tomorrow, I plan to update the plugin tonight and fix the ongoing issues

#

I'm surprised at how large the community has gotten

celest thorn
slate flume
#

We're over 100 members now

#
  • 1000
#

Dorry

celest thorn
#

Idk we found the server randomly

slate flume
#

I'm a little drunk

celest thorn
#

have fun

slate flume
#

We have some really loyal community members that have helped me tremendously

celest thorn
restive turret
#

you still did not answered what country are you in

celest thorn
#

the guy is in italy

slate flume
restive turret
#

ah

slate flume
#

It was high priority on my list

restive turret
#

i dont know any drink there so

slate flume
#

But I haven't fixed it yet cause I went on vacation

slender lynx
celest thorn
celest thorn
#

this guy is the dev

slate flume
slender lynx
#

i played that server and got exploded by a zombie

#

too confusing for me

slate flume
#

Fire

slender lynx
#

im too old for heavily modded

slate flume
#

Yeah I'm doing a rework for those

slender lynx
#

i dont understand it

upper vapor
slate flume
#

I have a whole document full of reworks and implementations I'm planning on

upper vapor
slate flume
#

Including the exploding zombie, some other variants and things

celest thorn
slender lynx
#

alr cool

slate flume
#

But yeah @celest thorn if you're on the SODA servers I'm making an announcement later when I finish the new updates

upper vapor
celest thorn
slate flume
#

Entirely fair I don't blame you

#

I don't play SL much but when I do I do the same thing

#

I'm just happy someone else learned about the server I dev for

celest thorn
#

else is boring

slate flume
#

It's nice knowing my work has a large impact

slate flume
#

I haven't played much these past months

#

You really need some guys to play with

celest thorn
restive turret
stuck peak
upper vapor
#

what

magic gate
upper vapor
#
> [!IMPORTANT]
> Among us
#

this syntax

magic gate
#

sus

#

So like alert?

upper vapor
#

pretty muzch yeah

#

the github-flavored markdown stuff

hearty shard
#

!TIP
!IHATEYOUALL

#

!WARNING

magic gate
#

Iโ€™ll take a look

upper vapor
restive turret
#

<script alert(1) />

cedar jungle
#

dexter morgan reference?

unique crane
#

):

upper vapor
#

when

#

nice

#

i might have forgor

#

i forg

unique crane
#

Since you first mentioned it

stuck peak
slate flume
#

@unique crane why

restive turret
#

what why

slate flume
restive turret
#

why

slate flume
#

@upper vapor why

upper vapor
#

i get the benefits of C# and .NET

restive turret
#

and webassembly

icy knoll
#

itโ€™s only good when you remember to optimise

#

but thatโ€™s the same with every framework

#

but doesnโ€™t blazor require you to download stuff on client cold start?

upper vapor
#

blazor wasm does, blazor server runs on the server (crazy)

icy knoll
#

ohhhh

#

i thought asp.net was the only thing on the server, not blazor (non-wasm)

upper vapor
#

if using blazor server you can mix & match interaction modes
wasm modules only have to be downloaded when a component is client-interactable

spare zodiac
#

I was working on a project to make Blazor but whole page would be made with C#, no html, no css, but I'm currently stuck at js part

spare zodiac
#

because I believe using C# for css would be easier

upper vapor
spare zodiac
#

even for html

#

if I remake everything I will learn everything

upper vapor
#

there's no way C# would make it easier to declare a DOM

restive turret
#

xml?

spare zodiac
upper vapor
#

fun fact yeah slejm is right

#

xml

#

use avalonia

spare zodiac
#

could you explain what you mean by XML

upper vapor
#

to use as markup

#

instead of C#

#

cuz there's no way that C# would be more concise

spare zodiac
upper vapor
#

you wanna new Div(new Div(new Div(), new Div(new Div(new Label("text"))))?

upper vapor
#

sorry

#

not Label

#

it's Span

restive turret
#

but you cannot use span

upper vapor
#

why

restive turret
#

cus already declared

upper vapor
#

System.Span is generic

restive turret
#

ambigous

upper vapor
spare zodiac
#

also wouldn't it be easier to instead of making C# to js then otherwise make it into ts

upper vapor
#

what

restive turret
#

NO

upper vapor
#

Blazor doesn't transpile C# to JS

#

if that's what you meant

spare zodiac
upper vapor
#

yeah then what are we doing with JS

#

interop?

restive turret
#

intel?

spare zodiac
#

but from speaking to ChatGPT I learned that webassembly has some limitations

spare zodiac
restive turret
#

same when you do NAOT

spare zodiac
#

naot?

restive turret
#

native aot

upper vapor
#

nativeAOT

restive turret
#

ahead-of-time

upper vapor
#

ye

upper vapor
#

besides, JSDoc exists

spare zodiac
hearty shard
#

is this chat being nerdy

#

yuck

#

Talk about sandwiches

upper vapor
#

at the end of the day, you have to compile your typescript

spare zodiac
#

right now with blazor why would you make website in it?

upper vapor
#

real-time applications

icy knoll
limber silo
#

just learn js/ts

spare zodiac
icy knoll
limber silo
#

I have developed multiple websites with blazor years ago

#

there are no advantages that blazor gives you

#

other than being able to use c#

hearty shard
#

jesus....

icy knoll
#

it didnโ€™t take me that long to learn js at all, and my c# knowledge made my ts knowledge leap through the roof

hearty shard
#

ur betraying blazor..

spare zodiac
limber silo
#

well it is slow, hard to implement features on the clientside, you will end up needing javascript anyways in a lot of cases...

#

it is just not worth it

restive turret
#

easy jsut dont do websites

hearty shard
#

so true

#

make jesus do it for you

spare zodiac
#

fuck websites

hearty shard
#

Jesus when r u making a website for me thanks

limber silo
#

I prefer people using php than blazor

hearty shard
spare zodiac
#

what are some other alternatives then php?

hearty shard
unique crane
#

Its time to address the php in the room

hearty shard
#

Add ress

#

Whos ress

restive turret
#

at this point write a better web system that doesnt need js

hearty shard
#

slime boy

#

Can u guess what

restive turret
#

chicken butt

spare zodiac
hearty shard
#

u made me forget my statement :(

restive turret
#

:PPPP

spare zodiac
#

I'm eating chineese soup without water

unique crane
#

skill issue

harsh thorn
# icy knoll i thought asp.net was the only thing on the server, not blazor (non-wasm)

asp.net has like 5 different "modes"

controllers
litterally just a request handler
MVC
controllers that return a "view" which controls your content, kinda like how laravel works, but with proper types and not magic vars (i hate magic vars)
razor pages
its kinda a mix of MVC but instead of controllers theres just a OnPageLoaded or something, never used it
blazor server
browser has a WS connection to the server, server tells it what to render, slow on high latency and if the server dies so does your session
blazor WASM
server just serves the wasm app, interacts with normal http api (or well, whatever you make your code do)

Theres also newer methods now iirc, theres like blazor hybrid
where itl for example do SSR until you press a button that does logic then it starts up the interactive WS connection

or specific views are server only, some client, etc
some also run serverside until the webassembly is downloaded
havent looked too much into it

upper vapor
#

there's also minimal apis
less boilerplate, aot-ready

harsh thorn
#

you have app.use or app.map

icy knoll
#

aot? attack on titan reference?

upper vapor
#

๐Ÿ˜ญ

harsh thorn
#

but i prefer doing controllers even for small things, just seems more oganized

upper vapor
harsh thorn
#

is it?

not sure what the diference is between doing app.map or just mapping controllers

#

in the end it just maps to a method

upper vapor
#

reflection

harsh thorn
#

i thought it does that once on startup

#

and not every request

#

either way its not super slow so i dont really care that much

#

theres also a gazillion ways you can do things inside of controllers pepeLaff

#

making everything a service, repository, whatever
or simply having the code in the controller method

upper vapor
#

if you really need performance, gotta go with AOT, that means no controllers

harsh thorn
#

tbh if you need crazy performance like that where the fact that theres reflection starts im not sure if its the right framework KEK

upper vapor
harsh thorn
upper vapor
harsh thorn
upper vapor
#

right

#

mb

harsh thorn
#

or something

#

cuz you cant circulate references of 2 services

#

welll i mean you can

#

but not with DI

upper vapor
#

true...

#

though

#

at that point
inject the service

harsh thorn
#

but i suppose you could solve that issue by just planning out your services in a way you dont need to do circulatory references

upper vapor
#

right
circular references
i forgor skullbutreal

harsh thorn
#

singleton

#

(im joking)

upper vapor
#

โŒ singleton
โœ… static class

harsh thorn
#

but then you cant use DI to inject things into it

upper vapor
#

that's the point

harsh thorn
#

fuckass dbcontext

#

(i love EF core)

upper vapor
#

we got a problem with EF?

harsh thorn
#

it can be annoying at times

#

maybe skill issue, maybe not

upper vapor
#

i love breaking the database