#dev-general
1 messages · Page 48 of 1
2mb being too big is crazy, you on a floppy disk?
Also Mongo if you're using json already tbqh
I'm not sure how your use case is both relational and non relational, but I trust you know better
690 kb is too much?
Jesus floppy disk won't come out of the pc and can't afford another huh?
2mb being too big is crazy, you on a floppy disk?
Never posted a resource on spigot huh?
Can't Spigot go up to 4.5MB? 2 is nothing
i remember it being 4.5mb
Just uploaded a 2.8MB as a test and it worked, I believe it has been 4.5MB for years
Oh nice.
That works for my plugins then lol. Not for base java though.
Apparently you didn't either lmao
Base java?
You pack them the same way
As in not a plugin.
I think you were misunderstanding the conversation anyways.
To clarify though I was saying like just a normal jar not a spigot plugin.
Yeah no shit
https://imgbin.com/png/nNvQg9bf/minecraft-pocket-edition-3d-rendering-3d-computer-graphics-png anyone got an Idea where i can find more 3d renders like these (royalty free)
make your own
https://github.com/brettwooldridge/HikariCP wouldnt this work
130 kb
It would but read 11 messages ago
ah
that's not a driver
you still need a driver for whatever engine you're running, hikaricp is a condom that wraps the driver
They only need floppy disk sizes for their regular jar now
im not a 3d artist
im not an artist at all for that matter
Sheesh that's crazy must be hard work
My bad i chose a different career path?
it ain't that hard to model a minecraft skin
probably one of the most braindead things imaginable
download blender
look up 10 minute youtube tutorial
render
done
Could say the same things about minecraft plugins and yet theres people paying me half their rent
that's not really that much at all
and in this case, moving around a rig in blender isn't that difficult
Can't cook either I see 😦
#1246323112178487306 message @barren ledge that kinda aint possible
i can cook
It is
wdum it is no it isnt
not with a plugin
that would either be a custom texture pack with custom items or a mod
I asked a another user and he said it is not impossible but he can't do it
plugins dont posess the ability to add new resources to the game
then hes stupid
cost per mile?
no clue what that abbreviation is
@barren ledge maybe you are mistaking plugins with mods
Wrong server
Abd that is Customizable Player Models
And
Also can you make a plugin that adds tails horns and ears
Or onky on mods
Only
you can do that with resourcepacks
not with plugins
take a look at hypixel skyblock
thats about the most you can do with just plugins
How with resource packs
you can make so called „server resourcepacks“ that get downloaded when you join a server
there you can change textures or add new textures to existing things
for example you could make different stone varients
or horns if you please
but they would essentially just be other items with a new texture
I dont think that would work i made some resource packs
theres countless tutorials online
Okay
the what exactly is your question
U said u can add horns and tails to resource packs
Like a pumkin
How
And the tail
Idk yet i am not that skilled
im sure u can find existing trxtures and models for that online
otherwise
tutorials
JDK-22```java
public class RunTest implements Runnable {
@Override
public void run() {
System.out.println("Ran...");
}
}
public static void main(String[] args) {
Thread.startVirtualThread(new RunTest());
}
virtual threads are daemon threads i believe, i.e. the jvm won't wait for them to complete
So if I want it to wait for them I should join?
yeah
👍
but there is also a setDaemon method for a regular thread
weird that they would do both and also name them differently 😔
what
vthreads are always daemon threads, platform threads only when configured as such
Yeah they’re different things
haha yep thought it looked cool I don't play val though
Same
meatballs
Why did this stop working after adding requiremenets and left click commands
Wrong channel #general-plugins is what you want
sorry
No worries
maybe I'll click it next time 💀
Discord has both a block and report feature 😮
anyone wanna help me with mineresetlite? Plugin itself works fine, but when i try to create a mine it says internal error occurred.
My worldedit is up to date and on my version
for starters you could share your logs
Only crucial thing i found is this
[15:26:11 WARN]: Legacy plugin MineResetLite v$version$ does not specify an api-version.
you still didn't share your logs
I figured it out.
Sorry
But my next question I would like to know if there is a way to disable players pvp with just a command?
like /pvp
If you have deluxecombat try /togglepvp all
Is there any good and secure way to hide the username and password in a spigot plugin? As we give the username and password to the database when using JDBC to connect to a database? I know hardcoding it into the code is not very nice, and anyone can access the database. The plugin is required to read and write in my database, so I can't even let people configure it via the config.yml. I heard about some Java script restful endpoints, but I'm not really familiar with Java script.
Yeah sounds like you need some kind of API backend to cover this database
yea the plugin is required to connect to my database, not the one they define in the config 🤷♂️
rip... Seems like i gotta figure out something lmfao
@torn birch you disiliked in #showcase , i just wanna know is there anything i can improve on? or add onto?
sorry if i seem like pestering
How can i make my items adder furniture
so that normal player cannot break it. only players with a specific perm can break
Its not minecraft style, I think too detailed models ruin the concept most of the time
Hmm the beret
Its probably better to have a cube tilted or something
But the badge is hard because it needs detail to be recognizable
Anyone know why I can't open enderchests?
It's not worldguard, because it doesnt say anything
Whats a good design website/software for websites? I'm looking for one thats free and lets you download files.
Figma is free yeah
me resisting the urge to say figma balls 
Ahahhah
Hey guys, someone know if there is any event (minigame) plugin for 1.20 servers? Like few events that starts at a specific time of the day and everyone can join for rewards. (Spleef, tnt run etc etc)
Prolly a better question for #general-plugins or #minecraft even
yeah my bad
How to fix "invalid player id"? some people cannot join on my server
are you using bungee (incorrectly)?
#showcase message damn I was abouta hate cause COC but shits actually cool asf
AI is gonna replace developers, the AI:
funny how it "realizes" the word has 2 r's
when in reality it's basically just repeating what you said
it's like a human but much stupider because it literally cannot do anything except autocomplete words
really awesome how we've poured trillions in this technology
"Glorified autocorrect" is all GPT is lol
yes
ai is smarter than most of the people
nope
only if you define "smartness" as something completely devoid of thinking
AI can't even count to 3
.
Gabe can't count to 3 too
most special needs people could probably do logic exercises better than a gpt
hahaha most funny joke thats a decade old
Managed to store the Entities UUID on the player for retrieval, so it works as a select system effectively yeehaw
what now
isnt it just target.getPersistentDataContainer().set(<some-foo-namespaced-key>, PersistentDataType.STRING, "bar")?
That looks like shit, I'm implementing this in Sponge though, so no.
player.offer(key,UUID) :^)
when something looks like shit, you make a method
SomeWeirdUtilClass.set(player, "key", "val")
me when I have to do something extra that takes like 10 seconds -> 😠
I don't know why you're being hostile, I'm not using bukkit so it's kinda moot?
Sips Green Zero Sugar Monster Energy Drink
https://imgur.com/43BYFVH
It's coming along 🥺
thats so swaggy
util class???? not a Singleton??? father OOP would crumble
ngl util classes are based
what if
hear me out
everything was a util class
no data
just methods
functions, even
but then where does the data go 😭
ai will be to programmers what the calculators were to mathematicians
thats just my way of looking at it
tho tbh if ai does replace someones job the business should be responsible with paying that worker money to help them live for a bit whilst they find new work
and be forced to pay like an ai tax
mf just go with FP then 😭
this is a good analogy
AI will help with boilerplate and repetitive tasks
2 pings
anyone know someone who’s good at recording videos of a minecraft server for tiktoks?
Like a showcase of my smp
But in a tiktok video?
I misread your message and accidentally called you a dumbass
then promptly deleted that
ty
embed fail
:(
begone
no
Someone didn't hear about the security issue!
A new security issue was discovered that affects the JetBrains GitHub plugin on the IntelliJ platform, which could lead to disclosure of access tokens to third-party sites. The issue affects all IntelliJ-based IDEs as of 2023.1 onwards that have the JetBrains GitHub plugin enabled and configured/in-use.
yeah I already got it working
Can you read the current line from BufferedWriter?
I'm trying to see if the current line is blank but can't find a way to check it.
it's a Writer, not a reader
Also a ... "buffer" lol
Was hoping I could just do lastLine() or something.
yeah and the buffer might be empty without any knowledge what the previous line was
https://fancyanalytics.net/docs/java-api.html @wintry plinth someone beat you to it! (bstats alternative)
It looks awesome, I typically follow Apples mentality - “we don’t do it first, but we do it best”
It’s on the agenda but a lot of things happening
I wouldn't expect less from the biggest apple fanboy on earth 😎
Haha, I wouldn’t say biggest! I only have a very selective choice of products. I am just a big believer that being “first” in something isn’t always the best of ideas.
Wait until others validate it, see what works and doesn’t. Then go in and execute harder and better
Why can I build my project from the command line, but when using the reload button within IntelliJ, this happens?
try print with stacktrace
maybe something's locking the file or smth
¯_(ツ)_/¯
did you try restarting IJ?
Funnily enough, that is exactly how I most of the times work and where I am better. I suck at creating something new... Now, improving something is my area xD
even tried to invalidate caches
for instance, my "secret" project indirectly is improving already exiting tools while it also has some new things tbf
hmm
try restarting machine?
and/or deleting the gradle caches folder
Aha, for me it’s more so about an idea being validated. I wouldn’t ever want to build something that nobody else has done before, often it can mean someone else has tried and failed at that idea.
Instead I always prefer to wait for others to build something, and then build the “best” alternative to it
Fair enough, that makes me question the whole project now 😂 thanks
Only just saw this, yeah it’s a better idea to improve and adapt. Find what customers report and find issue with etc
I loved when apple improved on the C connector by making it less accessible, truely the best version
I suppose, I did make a survey that got around 30 responses and most seem to have a similar issue.
Oh that’s superb, well done 🥳
that moment where it is actually useful to create an AbstractProviderFactory
dont you just love apple
they are so quirky
Smh @wintry plinth knows that that title belongs to me
sus, btw gian you own an mc server right?
Yes defo, these days I have only the laptop, phone, headphones and monitor.
Aside from that you have everything else
Yeah
😉
Tried all that
@desert horizon How did you fix this https://github.com/PaperMC/Paper/issues/9765
for me it seems to be
it's just IJ messing w me
Iirc did I shade Configurate in
I am shading it though
What version are you using?
I'm still on the 2 year old 4.1.2
Which is the latest
Don't ask me
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 65 I swear I changed everything to java 21 already...
fking bitch
I literally have the same error
I swear I am gonna kill someone
I HAVE A FIX
yeeeeeeeeeeees
just upgrade to gradle 8.8
bruh
gonna try that but I think 8.8 will break some stuff on my build.gradle lol
love gradle 8.8
💀
works on 8.5 but not in 8.8, does not specify what's wrong just says it can't be created
like
update your plugins bruh
tf
I did
jokes on you
even with 8.8, still getting the same issue 😭
issue only happens when I use the shadowjar task
🤔
It appears to be a problem with FancyHolograms api?
probably cuz shadow doesnt support java like 21+ or smth
you probably need to relocate snakeyaml
no way
?
whyd you ask?
@pastel imp use this https://plugins.gradle.org/plugin/io.github.goooler.shadow
yeah worked, thanks a ton
any reason why there is a fork of it?
lol
original plugin is going to be discontinued
This project started 12 years ago (eb773b1) as a way for me to address CI/CD tooling for developer teams when I was consulting. It has had a long run and I'm glad that the community has enjoyed...
Did anything ever happen to moving it to the gradle org? I know they mentioned a possibility of that happening
😭 i literally have the same issue it randomly occurs for no actual reason
"They're working on it"™️
@lone viperyou need developer
lol
lol
Hi guys
Is someone willing to make me an free plugin 
It's just a plugin which sends some action bar upon typing some command
There's already plugins that let you do that. Two I can think of right now are MyCommands and DeluxeCommands.
Also, if that's not good enough for you, you can ask in #1246323112178487306
Removed message since it is a duplicate of one in #1007620980627230730
@knotty steeple You need beta tester?
I am getting pissed at FancyHolograms' API
fking hell
tried everything but nothing updates the holograms.... (trying to move an hologram programatically)
that does no help lol, I need to specifically use the exact public version
can't just go an modify whatever I want lol
Use display entities, super easy to move :^)
can anyone quickly explain how papi expansions work? IE how papi loads external jars without the need for them to be a plugin. Is it with reflection or...?
Essentially yeah. Can also read how spigot loads plugins.
that seems way more complex than papi itself and I am already confused with papi so... xD
Just to get an idea.
Basically you just run the expansions "main" method.
For example spigot runs the onEnable method. (As well as others but yeah)
Java programs when they have an entrypoint 🤯
look up Classloader API
then yeah it just scans for classes that implement PlaceholderExpansion or whatever and loads em
Event filters are super dope
How did you do that? Is that something that’s found in the api or is it custom?
SpongeAPI provides it for their events
Oh that’s awesome wow
Yeah I've used Root and First for awhile, but Has and Supports are pretty dope too.
https://docs.spongepowered.org/stable/en/plugin/event/filters.html A couple others though. Very nice feature
anyone here familiar with apache pulsar? When I restart Spring application, unconsumed messages from topic X all go to retry topic. Is this normal behavior?
Hello anyone knows thier way around vulcan? i need help optimising it
you mean Vulkan?
probably vulcan
if it's vulcan then probably ask in their discord
or ig #general-plugins
Just saying most recent request in #1246323105719124028 is a scammer
Offered me 150$ for a project then blocked me when I was close to finishing
why would someone request a project and then block you? It's so dumb
Hello. You can always report scams either by DMing @compact perch or by using the /report command. Thanks
I suspect its because he found out I am from Israel
it was a few month ago
understandable nowadays then, several people cease speaking to israeli
same goes the other way ofc
So its justified?
justified? Eh not really ethically
Is what israel is doing in palestine justified? I don't think we need to go deeper into the conversation
To waste someone's time and resources just because you don't like what his country is doing?
this is not a political server anyways
I didn't start this debate
it's his choice after all
Just saying that this guy isn't reliable
Yeah totally fair
as Blitz said, you can just dm barry and provide proof
and it will be handled
This is discord, not politics
in theory yes, but nowadays politics are everywhere, specially the when a war is involved, not much we can do about it
I really wonder which side you support..
i appear to have a doppleganger 
I see discord as a neutral place where no controversial topics or politcal discussion should be raised, especially in a minecraft server
whatever reason they did it is quite irrelevant to be honest in this case
unless there was malpractice on your end which
wasn't involved dont know
Report them to @compact perch then
the actual answer to their request is super simple
/paper dumplisteners is a wonderful command
what side I support does not really matter lol, I just want justice to happen, that's all
fr, I feel like the most probable case is that he asked for such a high price, the person thought it was a joke, and went with the joke and then this happened
If it indeed was for that exact request, the other guy should probably report him then, asking 150 bucks for something like what was asked is hella scam
i feel like the actual probable case is that they said 150 and someone was like yo you're charging like way too much for this lolxd
I mean, we don't know if the actual request was the one in #1246323105719124028
yeah thats true
although that dude has a super strange bio
the other Ori or the request guy?
wth
It was a bigger plugin
He wanted a full gem plugins, designed and fully custom
It wasn't a joke at first he really needed it
like a blissSMP replica
I sold it to some other studio after he abandoned me but I was still lost overall
RIP
hava nagila my friend 🇮🇱 🙏
anyways, plugin devs i wanna know to what extent are boats codeable in 1.19.4 paper mc
im not an experienced plugin developer in any way nor do i understand minecrafts limits so im sort of hoping to hire someone to make me a plugin that can take custom modelled boats from blockbench and put them in my server
i just gotta know how doable is it
doable
ah ok
is it possible to like have it so if the player is in the boat theres like a way they can control boat weaponry
ah i see
Empty vehicle
Wrote my own language highlighter and it turned out pretty well, will parse the string and spit out html ready to be formated, here is an example 
Just realized the for loop on the kotlin example is wrong 
Quite fun if you ignore some annoying cases, for example trying to differentiate between function and keyword, and stuff like that, I just made it validate after parsing, if both tokens are present take only the higher priority, which in this case would be a keyword
It's not very complex, but it doesn't need to since it's just for small documentation
Kotlin :)
Though that is not live highlights, I mean I could compile it to Kotlin Js if I needed it to be live, but in this case the html is created when the markdown is parsed and then stored and served when needed so no js bundle or anything at all needed on the browser side
vanilla js 💀☠️ ⚰️ 👻
is there a way to get world name without UUID
huh
after I hit enter it didn' tmake sense, but then I said it it does
what I think I need to do is to use a constructor
I say this like every time but u gotta be more specific
Bukkit.getWorlds().get(0).getName()
that's how you get world name without UUID but I'm not sure if that's what you meant
yes, but thats hard for me if I'm not sure what I want
thanks testing now, hope that fixed it
it did not return a world
hmm
can you show more code? or if the code isn't really relevant than maybe lets backtrack a bit and can you explain more of the issue
I'm pretty sure getWorlds will give you the worlds
well that too 🥲
but i feel like its also an xy case (or at least a case needing more info ^)
I think the issues is where I'm attempting to get the world
do you have an error? a stack trace? code to share?
yes
can you show the code of BentoBoxHook?
line 32 - getOwner - is this not erroring?
also I don't really know much about your plugin - but the world that you need is whatever world the bento box islands are located, not what I said on line 12 of BentoBoxLevelRequirement
so I can't really give a direct solution for that
that works as long as I name my world Bentoboxhook like this private String islandWorld = "askyblock";
yeah
as long as it's always named askyblock
not sure if that's what you want though - to have the world name hardcoded
may i propose
Bukkit.getWorlds().stream().anyMatch(e -> e.getName().equals("name"));
that was temp code to make it work, I never really firgure out how to make it work for what ever others name their world
isn't there a Bukkit.getWorld(...)
🥲
idk
that depends on the structure of your plugin
are you the developer?
are you armar?
👀
genuine question btw
oh wait you want to get the world name ic
yes, took over from Starrtvin and the codes is crazy to understand, I have fixed some but other sections I have ignored due to I break it when I try to fix it
armar was the first coder
is there like a config option?
yes, very difficult
oh wow you responded quickly
config option to config the world name?
if so, you'll have to use that to get the world name instead of what is currently there (in the paste)
but I can't give the exact code for that since I don't know how the plugin is structured
String.valueOf(Bukkit.getWorlds().stream().anyMatch(e -> e.getName().equals("name"))); this has not errors in code I will see if Spigot likes it
ok, back to a test I was thinking about
if I was to get the world name and I have the UUID this should work right String.valueOf(Bukkit.getWorld(uuid))
never do String.valueOf on the world
or toString
use getName()
but
no that won't work because you told me that the uuid is the player uuid
String islandWorld = Bukkit.getWorld(uuid).getName();
UUID owner = BentoBox.getInstance().getIslandsManager().getOwner(world, uuid);
return owner == null ? null : BentoBox.getInstance().getAddonsManager().getAddonByName("Level").map((l) -> {
return ((Level)l).getIslandLevel(world, uuid);
}).orElse(1L);
}```
then use in the other class
String islandWorld = Bukkit.getWorld(uuid).getName();
```this line can be removed
it again uses the player uuid instead of the world uuid and the variable is never used
sometimes it can help to rename the parameter
to like playerUUID
I thought I could get world info from player UUID, guess I was wrong
wait I didn't really look much into the code until now
what is getIslandLevel supposed to do?
is that something in BentoBox?
that code the developer of Bentobox helped me a year or so ago
a addon in Bentobox called level
which is island level in skyblock, acid world one block, etc
👍 I see - https://github.com/BentoBoxWorld/Level
yes
anyways I think this message + the 2 messages below are the primary things u should look at
we need to know where to get this world name
besides checking every world
I need to know the current world player is in and I think this may work public Long getIslandLevel(World world, UUID uuid) { String islandWorld = world.getName(); UUID owner = BentoBox.getInstance().getIslandsManager().getOwner(world, uuid); return owner == null ? null : BentoBox.getInstance().getAddonsManager().getAddonByName("Level").map((l) -> { return ((Level)l).getIslandLevel(world, uuid); }).orElse(1L); }
it does return a string of current world name
nope, still getting name from who knows where
Does HashMap no longer support null values? More specifically ConcurrentHashMap
It does not 🤦
CHM never did
Yeah, just assumed it did cause HashMap does. I can just work around it.
For future reference (and being a little pedantic), major breaking changes in the jdk like this are basically never going to happen so “no longer supported” is almost never the case hehe
In what situation would you want a null value instead of just not having anything in the map?
Genuine question btw, don't think I have ever encountered a situation where I needed null values before
well there may be scenarios where you need to explicitly indicate that the key exists but has no value
or initializing the keys for the map but they have no values yet
Optional moment
In what situation would you want a null value instead of just not having anything in the map?
In my case I didn't want to make a second variable to "finalize" my changing variable.
I didn't want it to be linked to the object (or current class) or static either.
Optionals are great, I wish kotlin had better support for them, feels easier to use null.
Which ordinarily wouldn't matter so much, but when the api uses optional, converting to nulls for easier handling feels silly
What do you mean by better support?
kotlin doesn't really have anything to use Optional over nullable
I'm not really sure what it could have though
it could have a rice cooker
Elvis operator for none would be cool
Or empty I guess is what it is in java
Nullable ?: action
Optional ?: action
Or the ? Operator if it is empty
I could probably write extensions for it, wouldn't be the same operator, but that's aside the point
But most apis don't use optional a lot that I've seen, so outside of sponge I'm not sure of it's actual scope of use
so is Optional a monad or not???!
a monad is a monoid in a category of endofunctors
@prisma wave can elaborate if it fits the technical definition probably, but it AFAIK It is a monad yeah
The concept of whether Optional is a monad can be a bit nuanced, but generally speaking, in the context of Java and functional programming, Optional is considered to be a monad.
What is a Monad?
A monad, in a programming context, is a design pattern that allows for a way to handle computations in a sequential manner. It must satisfy three core properties:
-
Unit (or
return): There must be a way to wrap a value in the monad. ForOptional, this is theOptional.oforOptional.ofNullablemethod. -
Bind (or
flatMap): There must be a way to chain computations on the monad. ForOptional, this is theflatMapmethod. -
Associativity: The order in which monadic operations are applied should not matter.
How Optional Fits the Monad Pattern
-
Unit (
Optional.ofandOptional.ofNullable): These methods allow you to wrap a value into anOptional.Optional<String> opt = Optional.of("Hello"); -
Bind (
flatMap): This method allows you to apply a function that returns anOptionaland flatten the result.Optional<String> opt = Optional.of("Hello") .flatMap(s -> Optional.of(s.toUpperCase())); -
Associativity: The chaining of
flatMapoperations should follow the associative property, meaning the grouping of operations does not affect the final result.
Example
Here’s a simple example demonstrating these principles:
Optional<Integer> opt = Optional.of(2)
.flatMap(x -> Optional.of(x * 2))
.flatMap(x -> Optional.of(x + 3));
System.out.println(opt); // Optional[7]
In this example, Optional is used to chain computations where each step returns another Optional.
Conclusion
Yes, Optional can be considered a monad in Java. It provides the necessary methods (of, ofNullable, flatMap) to meet the criteria of a monad, and it allows for functional-style operations on potentially absent values. However, it's important to note that while Optional fits the monadic pattern, Java itself does not formally define it as a monad in the way languages like Haskell do.
Thanks AI emily
for some usecases optionals are really convenient
but at some, you just hate yourself because you chose to use them instead of simple nulls
user.clan().flatMap(clan -> clan.member(uuid)).ifPresent(member -> {}) cool
But what if you also want to use clan in the scope?
Optional<Clan> opt = user.clan()
if(opt.isEmpty()) return;
opt.get().member(uuid).ifPresent(member -> {})..
user.clan().ifPresent(clan -> clan.member(uuid).ifPresent(member -> {
// clan & member are available
}));
or if I need to return something
user.clan().flatMap(clan -> clan.member(uuid).flatMap(member -> {
// clan & member are available
}));
not dismissing your point, just, this is what I'd do in that situation, I see what you mean
tbh I have never went much into Optionals, are they worth learning?
Anybody have any knowledge of Mythic Mobs?
maybe, but not me
a few 😭
lmao
oh i thought I saw snowcone lol
that was probably there mutual friend lolol
And Hello Mr Afonso~
random question, How can I get the "me.mrafonso.bgems" with gradle? Is there a variable for that?
I know there is one for group id, but my group id is just "me.mrafonso"
I have no idea 😌
.. Sorry
you could append the project id, not sure if there's a preset var for it
ofc neither of those actually gets the file structure
yeah I mean gradle doesn't really know what your base package is, not that a "base package" is necessarily a thing either
I could in theory put group id + the name of the project in lowercase
is it even possible to put it in lowercase?
I mean... is it even a problem if there are uppercased letters?
for the destination of a relocation for instance
is it a problem if it's like me.mrafonso.HeLlo.libs.smt?
sure?
I don't see why it wouldn't be
string manipulation is impossible in groovy/kotlin everyone knows this
I assume the convention is always lowercased though?
of packages? yes

huh
in my project creator project I do group id + project name lowercase
me when String#lowercase is impossible 🤯
are we speaking about the same thing though?
I'm giving an example of my own that I think is related ¯_(ツ)_/¯
but im a bit confused
so sorry if it's unrelated
I am also a bit confused lol
let me clarify my case
For instance, I currently use MC Dev plugin in Intellij to create projects, you can specify a group id, etc there, in my case, I usually use me.mrafonso for group id of my projects, but then the main package is always me.mrafonso.NAMEOFPLUGIN, and I am trying to customize the build.gradle template used when creating a project using the plugin, to automatically put the right package on relocation of a few common libraries I use.
oh
now that I think about it, is it even wise to use the same group id for all projects?
lol
That's the point of it?
so it's almost the same situation as mine
except that instead of MC Dev I made my own program
Also, a good question is, if I relocate the same library, in 2 different plugins, to the same path (me.mrafonso.libs.smt), won't that cause issues?
yeah okay so I am correct okay, I was like "am I even right to think this? lol"
that's exactly it
let me check if I can find a variable for it
yeah it's this
thanks
forgot about the artifact id lmao
only single thing that sucks now
womp womp
is that the template is using kotlin but mc dev plugin generates a build.gradle
so I have to manually change it to build.gradle.kts
which could be worse tbh
better than having to make a build.gradle.kts again and again
smoke
not the server gui 😭
literally cs2
lmao
it helps keeps my eyes open at 3 am with the blinding white
cs2 smoke is actually hella complex
💀
@rotund shadow what do you mean
i cant see it
like the image?
you just sent a pic of steve in a jungle and said its a gun ? why
we denying entire countries now? jeez
what country ??
i respect your opinions but sorry i just dont really have time for it
what opinion ??? im just saying i cant see anything im being realistic
ppl dont like israel, you posted israel,, dislikes happen
it really is that simple
indeed
classic irrational thinking
Very irrational 🤑
I don't why I blocked this account before, but I guess nothing changed
Can't argue there 🤷🏻
Im him
It's not necessarily that it's Israel, but it is in bad taste given the current events imo.
I do have a distaste for guns too fwiw
well i cant really control irl events so
I'm not asking you to 🙂
yeah ik but im just saying
cause im trynna add guns from every country to my server
so far palastine has only ever made 1 domestic type of gun so who knows ill try adding that too if i can find a country head for it
You made the choice to include it and showcase it during this time and I don't think it was a good choice.
I understand your goal and I understand why you feel justified. I just don't find it to be in good taste, as I said.
then you do you
For sure, no hate. 🙂
btw has anyone ever used movecraft
the plugin
im thinking of adding it to my server
REAL
guns aint for everyone
personally i quite like them
rn i have a .177 revolver cause uk gun laws are strict but when i move to america ima try get some better stuff
i date someone with an autistic hyperfixation over weaponry and has a vast collection of gun knowledge (he hates valorant weapons) although i think owning them is strange
I like shooting them for fun, I don't like the gun control we have in the states
well to each their own
i think owning guns is quite important
well my bf's main thing is knowledge about how they work and their effectiveness in actually being used
nice
like are the the handles good, will the stock break your shoulder, will they overheat, etc etc etc
tbh to me i just like guns overall, im not a physically strong person and im far from being the best fighter so to me its something i know i can defend and protect myself with
- alot of my ancestry is irish traveller which has a history of being persecuted in the uk so to me the only garuntee that the government wouldnt persecute my people again is if they knew we would be able to fight back
sadly theres some people who use guns for bad though
and it ruins it for everyone else
I'd describe myself as an aspiring pacifist
same but sadly war is a matter of reality and just because one may be a pacifist it doesnt garuntee they are safe
its like when a country is neutral, i.e switzerland has stuff like conscription and a high funded military
If anyone is looking for a good anti-war novel, 'Johnny Got His Gun' was rather compelling.
I think if we’re being really pedantic then Optional might violate one of the monad laws but yeah it’s close enough
I thought I recalled something like that
Yeah I think it’ll be something to do with the behaviour of Optional(null)
Impossible
you are American citizen, I thought you love guns and waffles and freedom and bald eagles
and the statue of liberty
Waffle House has a lot of American memorabilia up right now, it's pretty cool I guess
The problem is map(_ -> null) I think
and Tom hanks
theres something called the waffle house index
basically its a code for how dangerous disasters or events are based on whether the local waffle house is opened
as waffle house is known for being a place that can survive the worse
go to any waffle house and theres probably a fight going on in there
i wanna go to a waffle house
i went to a chuckee cheese once
Probably not
Just a weird guy that keeps offering waffle sauce
out of all fast food places waffle house seems to have the most wild brawls
remember that one video where someone chucked a chair and the employee caught it and threw it back
Yeah that one video really cemented the idea of a Waffle house for you huh?
yes
They're not as exciting in real life 😦
it was a good catch too they caught it like with one hand
At best the cook is on meth and the food pops
i like waffles
They are pretty good. Had a chocolate one the other day
Foods not good, but the vibe is cute
Yeah kind of https://medium.com/97-things/optional-is-a-law-breaking-monad-but-a-good-type-7667eb821081
In most programming languages empty-or-not-empty types are well-behaved monads. (Yes, I used the M-word — don’t worry, no math.)
Shut up
https://x.com/Rich_Harris/status/1803812021411922072 svelte my beloved
i stopped caring about the 2000 js frameworks years ago
I just use what I like and am comfortable with lol
What, you don't like learning a completely new js framework every few months? Pft
my fav part of web dev
Every few months? You wish https://dayssincelastjavascriptframework.com/
Get the always up to date information about how many days have passed since a JavaScript framework has been published
they should update the website to use the new js framework
Anyone familiar with a custom backup script for linux running always in the background and do on 11:00 and 23:00 automaticly a backup of a given path into another path?
Background: we have a network with more than one server and I want to do these backups without a plugin running on the linux system.
The path is going from server1 world1 into a backup folder outside of the server folder where all servers backup there world like: "server1 world1 path" into "world1_date+time.zip". Like for example = hub_22-06-24_11-00.zip".
Does anyone have experience with that? Please let me know!
Also: it should look for max 3 backup .zips of this specific world and after that to delete the oldest one.
I was working with chatgpt cause I dont usally programm for our network. Would love if someone can help me. I was trying with chat gpt so far but i dont want to textwall in here lol
Would love if someone have time for me! 💪
To be truthful, I am gradually coming to this mindset now. As every time I start diving into other stacks, it feels like forever to get used to it and I feel slow developing it
this should be very easy to implement
you can use cron or systemd to have a script run at regular intervals
and the script itself would simply zip your target directory and move it to the destination, then do some ez logic to delete the oldest backup if they exceed the max count
(note: crossposted to #off-topic)
indeed, I have also stayed with svelte, it's where I am comfy.
I mean yeah some of the new frameworks might have X and Y or are 0.001% faster and what not, I just cba to invest time and I am happy with my crud as it is 😎
Is there any java JPE that addresses the boilerplate of getters & setters?
I hate how long a class gets when you have 20 getters & setters and I don't want to use lombok 
Id love to have something like C#'s Type variable { get; set; }
doesn't seem like it (https://openjdk.org/jeps/0) || we need masked links back!! ||
kotlin :)))))))
🙉
idk if I'm writing java wrong or what but I never end up in a situation where I have getters and setters, lol
thats called kotlin :(
Could always create your own annotations or object
🤨
lombok v2
also lombok uses like an annotation processor or smth (i forget if that's what it's called) where it modifies the actual code (bytecode?) depending on the annotations
tbf with proper encapsulation you shouldn't need getters and setters except for like, just strict data holding objects
are you sure you actually need all those getters and setters?
you can improve the tooling!
I think they're still looking for someone to implement context-sensitive error recovery
I'm mostly talking about data classes like db @Entity s
Immutable entities 😌
ew jpa
Yea...
What else can I use? 
@Entity
@Table(....)
data class Entity(
@Column(...)
val key: String,
@Column(...)
val value: Int,
)
val entity = repository.find(...)
repository.save(entity.copy(value = newValue))
😌
Ye but how do I do that with java xD
You probably don't :)
Unless you wanna make overloads for everything, which at that point might as well make it all mutable 
whats that use
Wdym? That's just updating a row value, but using immutable entity instead of mutable

Kotlin and exposed
That's not exposed
well its not regular jpa?
Unfortunately exposed has to be mutable, but at least it'd be just val entity = Entity.find() then entity.value = newValue
I'm not experienced enough to know but that's how we do it, JpaRepository and jakarta entity
Not sure what "regular jpa" would be
oh maybe its a spring thing
Yeah it's spring
From what I have heard jpa without spring is a nightmare
But with spring it's quite nice
does spring not let you use a record
unfortunate
YESSSSSS
ask me one billion questions please
ewwww
haskell looks like cancer to write in
true
only if you're a weak type
haters and losers
im currently following an online tutorial, then idk gotta figure out some starter projects
Writing your own language is a fun one
You can start very simple and build a lot of complexity too
I meant starter projects with haskell
And extremely well suited to Haskell
Yeah I know
hmm
I mean make an interpreted language in Haskell
It’s really fun
Or compiled if you feel really brave
I shall try
But maybe not the best project for an absolute beginner
ehh, at least it'll be Interesting
Oh yeah it’s really really fun
But fairly difficult until you have a good grasp of the language at least
So maybe don’t literally start there
My name is Paul, and I am looking for a reliable and honest USA-based collaborator for long-term work. The work requires good English-speaking skills. If you are interested or know someone who might be, please feel free to reach out to me. Thank you!
@granite sorrel that pixel art looks clean asf.
Thank you @obtuse gale
what are your prices for any of that? i might be interested for a custom banner/pfp
Dm me ❤️
does anyone know if it's possible to change entities name (text display) and use custom fonts without the usage of packets?
yea
just use NMS methods
you cand use bungee serializer to convert to nms text
Thank uuu
Paper customName(Component) 😃
Recorded live on twitch, GET IN
Article
https://duckrabbit.tech/articles/learning-haskell.html
By: Evan Silberman
My Stream
https://twitch.tv/ThePrimeagen
Best Way To Support Me
Become a backend engineer. Its my favorite site
https://boot.dev/?promo=PRIMEYT
This is also the best way to support me is to support yourself becoming...
customName :: Component -> Paper
customName component = Paper
Haskell inspires languages like rust to do better
Haskell inspires everyone to exist
haskell inspires me not to use haskell
Immutability is king
hopefully my state of not using haskell remains immutable
Non haskell users are mutable, it's paradoxical
😩
it's... beautiful
I love the unit test

you cant call us out like this
👀
I'm also a part of the group 
The call is coming from inside the house
Oddly enough unrelatable
I've found good success in side projects notably on roblox where I sold off multiple groups and have made around £1000 so far
Though rn ima focus on c# c++ and programming stuff for drones
Nice, nice
Every org.bukkit import is giving me an error.
And the version in this is giving me an error for 1.20.4 but not 1.20.1
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
Can someone help me?
what error?
also do you have the spigot repository?
<repository>
<id>spigotmc-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
Version
When I switch 1.20.4 by 1.20.1 it works
But I need it for 1.20.1
Try 1.20.5
Yo guys, do you recommend an I9 12900KF and a 4070 Super?
Isk i recommend 4080ti
Recorded live on twitch, GET IN
Article
https://ludic.mataroa.blog/blog/i-will-fucking-piledrive-you-if-you-mention-ai-again/
By: Ludic Mataroa
My Stream
https://twitch.tv/ThePrimeagen
Best Way To Support Me
Become a backend engineer. Its my favorite site
https://boot.dev/?promo=PRIMEYT
This is also the best way to support me i...
ai research when other people dont research ai or what it is:
ah damn muh embed fail
Hot take but programmer humour isn't funny and prime time is far from funny
Most of prime times comedy is "loud and angry must equal funny"
Who watches prime for comedy? His commentary is just interesting
I didn't say anyone did I just say his sense of humour is bland
Nope does not work
tbf I just watch him for the articles In an audio format
same but i kind of just find him annoying
fair
there only so many "my sexy wife" jokes he can say before it gets old
tho he hasnt actually said it in a while
tbh call me boring but i just think that most forms of modern comedy isnt funny
things like people saying their thoughs out like like
"omg i did not think this will happen!!"
or that stupid internetty humour
just Lower your standards
no cause i just see humour like that sort of childish
like once i was in a conversation with this guy at my college and hes just like "so do you think yoshi doesnt pay his taxes" and im just thinking like cmon man your 17
act like it
why is that a bad thing?
why should he?
if it's truly harmless, you're the problematic one for judging someone
cause its childish
its pretty self explanitory
why is that bad?
it's not.
cause its childish
it literally is
children are creative and wondrous
17 aint a kid btw
cause...its childish?
why is that bad?
ok so you know how kids act like kids and young adults have to start maturing
yeah
thats why
👍
i can place bets you judge others
you still haven't explained why it's bad?
i just did but i gave one you didnt like so your gonna ignore it
let me rephrase, I don't judge others when it isn't important
define important
why is it bad to go against that sometimes?
it affects people I care about
because your not a kid, act like it, really dont know how its that bad
why is it bad to be childish sometimes?
so only that? what if your judging someone who is weird or acts weird
or what if your judging someone who might do something wrong
why would I judge them?
I'll care if they could hurt someone I care about
would you think they are weird if they did weird things?
maybe I realize it as a social fact, but I wouldn't care
it simply doesn't matter
then you are still judging them
no, not really
I don't form any opinions of them
yes, yes really
yeah i dont believe that
"form an opinion or conclusion about."
then maybe you should learn to judge and care less
its funny cause you care about this
you dont realise it
let people do what they want when you can't even justify why it's bad
I don't, I'm interested in the conversation
so you care?
not you specifically
so dont lie ok?
im not?
i already did but ok
you didn't, you just stated the definition
you just said you didnt care, only to say ues yes to me saying "you care?"
nope 👍
maybe if you read up a little
that might be hard for you tho
I don't care about your actions specifically, i care about my want to be interested in a conversation
you do care though
why is it bad to act like a child?
you care to question them
because I like conversation
cause your not a child
so you care?
why is that bad?
your just wanting to go in circles
can you explain how acting childish violates some morals?
not sure how i said it violates morals
you haven't explained how being childish actually causes harm
🤔
i never said it causes harm buddy, i said its weird
if it doesn't violate any morals, why is it bad?
violating morals isnt the only bad thing a person can do lol
why?
why what?
what else is bad that doesn't violate morals?
what you want me to change what "bad" means?
I want you to define it
"standards of behaviour; principles of right and wrong."
give me a few morals
what principle of right and wrong does being childish go against?
your whole argument rn is just going "why, why, why, why" your really not doing much other than wanting to go in circles
morals are subjective
principle of maturity:
but minimizing harm is one
so, why bring them up
you believe that being immature is inherently bad?
yes????
why?
my sense of morality comes from minimizing harm to others
and your going "but why!!!" cause you cant listen
where does yours come from
because in my opinion, immaturity isn't inherently bad
i dont talk to immature people, i dislike immature people and i happily do stuff to make stuff worse for immature people
and i dont feel bad about it
i feel pride
why do you feel pride from causing harm to others?
