#dev-general
1 messages · Page 203 of 1
Yes but how else will i make ios apps
yea
Nah Ive seen it though
React is JS and web ported
Anything like phpmyadmin I can run locally (not sql workbench)
datagrip
heidisql
No sql workbench?
tableplus for redis & datagrip for all other sql dbs
i never figured out how to use datagrip as a replacement for phpmyadmin
I highly recommend heidisql
XP time
ay
they better make a way to change the json output to follow the json:api spec
th:value
nah the reason for that is because then you can use a library in your frontend
which knows the spec
and then you don't make calls yourself
th:if="${@someCoolBean.getSomeValue()}"
then it feels like you are using an ORM in the frontend
niall
it removes even more boilerplate code
any chance you know off the top of your head, how to make spring security token based, supplied via headers?
allowing rapid development in an incredibly clean way
he's never done non session stuff
https://www.baeldung.com/spring-security-oauth-jwt this good lemmo?
i mean it's baeldung so ofc it is
but is it the right thing?
no idea, but baeldung is good
Probably yeah- I never undertood the token servers though
Goodnight
goodnight
Can a plugin create a new folder outside it's own plugins/<plugin> folder?
I remember the access being restricted and all that but can I create a plugins/<arbitrary new folder>?
Pretty sure you can, since you are able to delete files like worlds which are completely outside
And see magic happen
@hot hull Not this again. That's how I got to re-install my last VM windows dist. I wanted to see the magic happen and little did I know the magic was a russian ransomware 😂
you have access to everything the server has access to
so if the server is ran by root you can access everything
which I hope not
what's wrong with that? there's no such thing as a malicious plugin
right xD
If it has access its possible
/s
Ah yes just go download the dudes homework folder 
I mean selfop plugins is kinda lit although idm if root or not
@frigid badge Get a load of this hibernate naming 😐
ew
Why's it using plural lol
dunno
@frigid badge you might know this:
i'm trying to make a docker image that wraps miniserve (a lightweight file serving http server) with the args I need and a few default files.
I currently do this CMD ["miniserve", "--index index.html", "images"] but miniserve errors (invalid syntax apparently).
When I run it in bash with miniserve --index index.html images, it works fine.
Am I doing something wrong here?
you should use ENTRYPOINT ["miniserve", "--index", "index.html", "images"]
@prisma wave
aha
lemme try
hmm
ERRO[0001] error waiting for container: context canceled
odd
did you rebuild it
FROM svenstaro/miniserve:0.10.0
ENV PORT 8080
EXPOSE ${port}
WORKDIR /app
COPY . /app
ENTRYPOINT ["miniserve", "--index", "index.html", "images"]```
this is the full file
yeah pretty sure I did
do I need to clean build or something
just give it a diff tag
how would I do that lol
-t
did you run with the new tag
for me it says it can't find miniserve
so you need to specify the absolute path
instead of just miniverse
(is my guess)
hmm
so now I have to work out where it's installed to?
or is there a fancy docker way of doing it
ohhh
no
I already know the problem
this copies to /app
so miniserve is already in /app
and you are overwriting it
should I change the COPY too?
yes
Okay
to the correct workdir
np
well kind of, it's not exposing the port but I think I can figure that out
possibly
is there anything special you need to do?
shouldn't the EXPOSE 8080 be enough?
nvm
got it
You can't use reflection to access variables inside the init block right?
class Class {
{
var something;
}
}```
You can't use reflection to access any variables inside a method afaik
But who uses instrumentation?
"professional spigot dev" just learned reflection wouldn't be able to access it

@frigid badge what's the cleanest way of running an sftp server alongside the miniserve instance for file uploading? I presume they'd both have to be in the same container
no never
you have to use file sharing
basically you have a persisten volume
which you mount on both the sftp container and the miniserve container
Lemmo do you think things would break If I added @GeneratedValue to a column that previously wasn't. Like I wouldn't want it to insert a same id
idk, probably not
since hibernate has no such thing as migrations right
so it should just resolve stuff like that on it's own
Lol honestly sadly I think creating a duplicate entity might resolve this best
Airframe2 e.g
Add it all back in
@frigid badge So it kind of worked so far... lol.... but the table has a load of random ids as the primary key 😬 will just have to see if the generation strategy takes care of it
Wonder if hibernate can regenerate a tables PK? I expect not. If the sequence now starts at the highest value orignally present (to be safe I will assume the maximum theoretical value of 16777215. (24 bit integer) (as the ID was originally the hex value of a string) I have quite a few IDs left! And even then can upgrade to a long in the future!
I have yet to test inserting a value. Might do that now fingers crossed it will work
you can literally see everything of the sequence in the db
it's in INFORMATION_SCHEMA
and even change it
@frigid badge how would I make a dockerfile that wraps docker run -p blah blah/blah?
CMD doesn't seem to work
for the sftp server
why would you have a docker run inside a dockerfile?
Oh dear I do not think this is good
that wouldn't even work since you don't have docker installed on the image
using caprover to get everything setup easily, but you can only provide either a Dockerfile or an image name - you can't pass arguments
so apparently you're supposed to wrap the thingy
idk
??
FROM atmoz/sftp:latest
CMD ["atmoz/sftp", "admin:password:::/var/data/images/"]
``` I have this atm, but it's very wrong
just use docker-compose
and have 2 containers with 1 volume
and bind the ports
ez
I'll make the file in a sec
hmm
ok
I've got 1 of the containers + volume working already
just need sftp to hook into it now
Top query is a newly inserted row
It's ID is lower than ones that already exist.
So I'm worried in future- its gonna hit an existing one and crash 😬
@frigid badge 🥺
Lemmo is in high demand tonight
imagine how everyone in #development feels asking how to make variables
{
"Hello")println(
} main)( fun
Sorry ive never worked with sql 🤷♂️
lmao
smh
Kek
version: '3.7'
services:
sftp:
image: yoursftpimage:tag
volumes:
- sftp_volume:/whatever
miniserve:
image: yourminiserveimage:tag
ports:
- 80:8080
volumes:
- sftp_volume:/whatever
volumes:
sftp_volume:
driver: local
untested
change your images & volume mounts respectively
and optionally change the port
where the left port is the host and the right port is the container
@prisma wave
@heady birch uhm
so how did you generate the ids then?
like what did you do
I didnt
Which probably wasn't the best idea. but i can get hibernate to generate for a new column
that's not smart to do
no shit that you are now having collisions
you need to generate different ids
just normal sequence ids
Yeah I assumed hibernate would bump its sequence number to the highest id in the table
True- however on an unrelated note the default generation uses a global sequence 😐
yeah iknow which you can change as it's a column in the db
So its not per table. Also how can you do batch inserts with hibernate using the database sequence generation
idk I'm no hibernate expert
`7. @Id Generation Strategy
When we want to use batching for inserts/updates, we should be aware of the primary key generation strategy. If our entities use GenerationType.IDENTITY identifier generator, Hibernate will silently disable batch inserts/updates.
Since entities in our examples use GenerationType.SEQUENCE identifier generator, Hibernate enables batch operations:`
When you say let the database generate the ids that is GenerationType.IDENTITY
[42000][1075] Incorrect table definition; there can be only one auto column and it must be defined as a key. And why then heck am I getting this when adding an auto increment
there is no other auto key, and I assigned it UNIQUE
Uh nvm. got an AI column added.
What a professional I must say
I should have just given lemmo access @frigid badge
You dont think you would be able to repair it with access do you?
yeah
@frigid badge thanks, how would I specify arguments to miniserve with this?
or should I still have a dockerfile
entrypoint:
Alright thanks
@prisma wave yo how to train your dragon, absolutely pog music
The entire story and the music is epic
Ive not even seen the third film lol
It just came up on a spotify mix
but yeah the soundtracks are very good
Yes Conclubablebleble how to train your dragon good af
@frigid badge sorry for all the pings, but I'm incredibly dumb
I have my root domain being served by nginx, I only just realised that means I can't have miniserve listening to port 80 too (for img.bristermitten.me)
If i was to reverse proxy img.bristermitten.me with nginx, surely I'd lose a lot of the speed that miniserve gives?
Any fancy dns tricks you can do to replace img.bristermitten.me:80 with img.bristermitten.me:8080 or something?
Or maybe I should just use nginx for everything and not worry about 2 webservers
Conclubablebleble
🤔
@hot hull yes also I have good update for Dino mod
Also can you make some models?
Or is that beyond your level?
I mean yeah, I got like a ton of Disney soundtracks recommended alex and all of those was literally hot lava fire water
Time is not existant for me right now, but I could probably play around if and when I have some free time
Ok frosty noice, yes like Kung fu panda had some really delicious steaks as well
Can't relate Niall :(
the kung fu panda soundtrack is amazing
But now I kind of have 1 table with database id generation and the rest using hibernate
Ill just change it and leave a gap
Genius I am
ah great
just change the port to 8080
miniserve does seem to be faster for static files so I didn't want to lose out on that
yeah
ty
in the docker-compose file
So lemmo I'm kind of annoyed now
Everythings up. just got thymeleaf stuff to change
But the ID's on the airframe table are using the database generation, might just switch it back to hibernate, there would be a pretty massive gap though
no no
what you do is
you manually (or programatically) make those ids without gaps just normally
then you switch back to hibernate
and then you set hibernate's sequence number to the highest id
which you can change
since it's stored in INFORMATION_SCHEMA
your database sucks
Also what you described
Is what I was going to do earlier
Then you said no or something
I added AI like you said
I changed foreign keys like you said
so DONT go telling me to do it another way Lol
@frigid badge
I'm pretty sure it's fine?
@frigid badge What's the standard way of changing a column type, say I upgraded the PK from int to bigint, would it upgrade the foreign key constraints? Or would I need to do those manually?
I don't think you understand
id id id
0 2 1
1 3 2
4 5 3
6 4
``` Just how it works for some reason
hibernate is ass
Just added my table in (using the AI generation)
Seems like the better choice, but cant really change to AI now
Or atleast it certainly is not worth it
Just got to update a couple hundred thymeleaf fields
ok lemmo, update:
docker compose didn't work, i think caprover messed some stuff up. it isn't running the commands properly, and if I just run compose normally, then the port bindings or something get messed up. is there any way to run the sftp image with arguments with just a plain dockerfile?
oh no he's offline
D:
you can use java reflection for kotlin
but bear in mind that some things might be renamed by the compiler
there's kotlin-reflect which is more idiomatic and supports the kotlin specific stuff
Hmm okay nice
I’m going to learn kotlin inside out without writing a single line of it
@prisma wave ?
alright
Hi lemmo you free tomorrow 7am - 10pm?
just trying to figure out permissions for the shared volume now
remote open("/index.html"): Permission denied
hmm any ideas?
Lol joking lemmo thank you for your help today it all worked out in the end
someone suggested adding user: root to docker-compose but that didn't seem to change anything
seems like a bad idea too
@prisma wave you’ll have to run as a diff user
don’t run as root lol
bad practice
@heady birch np how did you end up getting everything done?
how are you running it now? @prisma wave
everything
version: '3.7'
services:
sftp:
image: atmoz/sftp
volumes:
- images:/img
ports:
- "2222:22"
command: user:pass
user: root
img:
image: svenstaro/miniserve:0.10.0
ports:
- 8080:8080
volumes:
- images:/img
entrypoint: ["/app/miniserve", "--index", "index.html", "/img"]
networks:
default:
external:
name: captain-overlay-network
volumes:
images:
driver: local
why the network
also it looks nicer to have entrypoint below the image directive
but that’s besides the point
you could just ssh into the container and run chown
why the network
@frigid badge caprover needs it to proxy apparently... i'm beginning to think this software isn't worth it
okay
docker attach?
it's like a web gui for docker containers
close enough
@frigid badge so I should:
make a new user
ssh into container
chown the /img/ dir
correct?
and then set compose to run as that user
the image is a completely different environment
so everything you do in your vps doesn’t go over to the container
so you cannot create a user outside of the container
oh wait
so the mapped img/ dir on the img container will have the same permissions as the images volume?
yes
i see
but honestly the best way is probably just making your own image
and chown in there
but you can test it using the ssh method
but I should still be making a new user and chowning rather than chmoding?
hm
what would this image do?
but doesn’t the sftp image not make a user and give permissions
idk the documentation is a bit vague
it makes a user yes
oh
wait
yeah...
chown -R user img/?
ah nvm I think I've found the problem
Each user is jailed in their home directory (for security). That means root is owning the home directory, and the user can not modify it's content. The user can only do changes inside sub-directories.
You have to create a directory (i.e. mount a volume) inside the user's home directory, and then you can upload files there. In your case, this will be the "share" directory.
well there you go
we finished reading the w3schools wiki boizz. Time to read another 😦
w3 🤔
@quiet depot So what do I compile now to test the placeholders?
@hot hull are you using the test subproject?
Idk should I?
Could not set process working directory to 'C:\Users\Frosty\Desktop\Projects\IntelliJ\PlaceholderAPI3\test': could not set current directory (errno 2)
Neither do I, that's what I get when I shadowJar the joint
show me your test subproject, file structure
cba to mess with this right now cause I gotta leave soon, I'll mess with it when I get home if I have time
You explained it to Gaby in #development right? so I can just read that
yea
Anyone else got a project thats like... never finished?
Like I always work on it but its never finished
rpf
Fr
France
Normandy
Yeste
oh man designing a bounty system is hard. 😦
how i can obtain a jar file of purely nms without spigot or bukkit?
Run buildtools then
It will install the deobfuscated compiled jar on your local maven repo
Do I smell 1.8. 🤔🤔🤔
well it is an example
Burn it
1.8 bad, latest good
path there as well
+1.16 > -1.16
jeez drop the version trash talk like eclipse and IntelliJ
I just wonder how i can get this jar file for other versions
https://prnt.sc/uthcdd
The packets are in net.minecraft.network anyway
run buildtools
According to minidiggers tools
it will install the deobfuscated compiled jar under org.spigot:minecraft-server:<version> in your local repo
umm
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
```?
?
works fine for me but just 1 user has issues
why da fk do i have to login on oracle to download JDK 1.8?==0'
?jdk
dont bother with oracle jdk 🌝
Cuz it's an old version I guss
Hello fellow skin dwellers
How's everyone been?
I gotta check pdm, haven't had time yet 😫
@hot hull what u gonna do about it
Smack u
idk red kind of sus tho
Red do be sus
vote glare!
Good thing I'm always aqua 😎
Watch disguised toast, he's always cyan and many times impostor and most of the times wins
lmao im black 👀
but toast is always teal lol
also dammit I guess that means I'm always sus since I'm always the carrot
Bruh cyan, teal, y'all colorblind?
That is cyan lol
That's aqua
Whoever made that emoji is a 4head
The creators of the game lol
Bunch of idots
ugh I forgot defaults don't have embed image perms here ARGH
Get gud
its 100% not teal lmao
Get gud
hi am from planet mc can I have trusted to test your discord server?
Completely blind idots
maybe u blind 🤔
Bruh
wait why can fefo embed stuff but I can't 😦
oh dammit you need to be rank 10 dammit
lul
Which one of you was this then
😳
When my pc unfreezes
while true {}
while false {}
while !false
average elara syntax
while;
val foo = true
val bar = !foo
while (!bar) {}```
ew
i think thats the best option tbh
for (;;)
let foo = true
let bar = !bar
while !bar {}
let me -> slap you
how about -> no u
Also wise people, can you enlighten me on what the fuck is this?
NOOP

What is it used for?
nothing
no-operation
maybe my method takes a transformation function, but if when calling the method I don't want to transform anything, I pass noop
Basically an empty function
Maybe it’s used in case you have to fill in a function parameter or something
String::toString
That’s just for strings
I think I've used String::toString more times than Function.identity()
Has anybody used ResourceBundles to translate your plugins before?
Yeah I mean when it comes to strings that would be perfect fefo
lads, anyone able to give me the regex to find an instance of
@<string> but ignore * @<string>
^ means "the beginning of a line" so you might want to stick that at the beginning of the pattern @narrow sandal
@narrow sandal idk if it's still relevant but...https://regexr.com/5dctd
""" """
lol true
Yet another problem that elara solves natively
genius?
no escaped characters?
elara escapes everything you type
^
e v e r y t h i n g
It's a very elegant solution really
elara sm0rt
wild
It's honestly quite embarrassing that no other language has thought of this before
It's honestly quite embarrassing that no other language has thought of this before
@prisma wave HMMM???""" """
Also, can you "unescape" anything? How do you use \n in elara?
you don't
@prisma wave HMMM???
""" """
@empty flint hardly an elegant solution
trimIndent() sucks and is badly optimised
Incidentally I am joking, automatically escaping everything is an awful idea
elara will have regex literals
@ocean quartz how would I broadcast a markdown message with mf-msg
Prolly need to get all players
yea but that won't include console i dont think
Needs to be done manually though, can't really do much about that since it's component related
alright
officially using mf-msg for chat styling lol
first time ive actually played around with it. pretty cool stuff matt
Noice ;p
@prisma wave Do you by any chance know how to add a file to the jar when compiling? Like, from a gradle plugin
The docs are horrible
A file or a dependency?
I do indeed
Iirc you can make a file in project.buildDir/resources/main and it'll be included
That's what pdm does anyway
idk i guess not
i feel like they are usually almost black but maybe someone else
That was github 
ah lmao
Matt u the owner of mattstudios.mf ?
Yeah
oh xd noice
Lol
F
Oh man I'm so afraid to compile this plugin xD
same
Was dreading having to write recursion to loop through all the files but Kotlin is like "here have some saving functions"
Trying to check for an annotation on a class file after being compile, it's been so hard, won't sleep till i do it xD
Ooo whatcha up to
Making a gradle plugin to generate plugin.yml, what I want is for simply marking the main class with like @Plugin and let the compiler get the package and file for the main class
Check how sponge does it?
Sponge isn't done on compile time is it?
uh that already exists matt I think
I know
https://github.com/Hexaoxide/Carbon/blob/master/build.gradle see here for example
I can check Glare
And i know i know, just doing it so i can learn
(also that one requires you to add the main class path, that's what i am trying to change)
He's trying to scan for the main class via an annotation
That's so wack. Compiling and load the class at the same time
Aight i give in, too late, i'll leave this for tomorrow me
yo this plugin turned out pretty good. Not to many errors xD I was expecting the whole plugin to be broken
gn Matt
I didn't sleep the entire night. 7:30 am already
What plugin?
I'm working on a BountySystem
for my own server.
Got like 10 errors but fixed all of them so far.
Ayyy! Nice!
I just have to see why players can take items from the GUI even tho they shouldn't be able to
pretty cool tho: https://i.imgur.com/OLFmr59.png
Ooo
the only thing I know for sure I can optimize is the way I store data 😦
but I'm to lazy to learn sql
Do it
It'll help over time.
well actually now that I think about it all I store is id, 2 UUIDs and an int(Bounty) which is not that much
I know it will but its to hard for me xD
5am for me, have a bunch of stuff i still wanna try, like checking if the classloader has the classes, and maybe even bytecode reading, but i know if i don't sleep now I'll regret it xD
Go sleep
Go to sleep nerd
yeah I understand you. I just broke my sleep times after I tried so hard to sleep at night and stay awake during the day. What I'll try to do now is stay awake til like 8-9 PM xD
Aight imma head out
Night everyone xD
Yeah it's almost midnight here, I'ma head out too. 👋
Is it really dangerous to have a module dependency on js expansion though?
This might be a dumb question
is there a difference between
class A{
private final Thing thing = new Thing();
}```
And
```java
class A{
private final Thing thing;
public A(){
this.thing = new Thing();
}```
ˇ Space here.
class A{
xD
The compiler will move it inside constructor i believe
sane here A()X{
yus
@quiet depot How do you mark a repo as hackoberfest?
add hacktoberfest as a topic
I'm kinda blind, mind telling me where one does that
Main page, about
there is definitely a difference lol
Enlight us then @frigid badge
There isn't a difference tho?
There's definitely a difference
Englighten us please
fields are indeed intialised before the constructor is called
Meaning there's a small order difference
Which means there's no difference cause noone cares 
It can lead to subtle NPEs lol
@SupressWarming("all")
But your IDE would be yelling at you from the start tho
Everyone keeps saying that, bruh I'm not going to code on a piece of paper, so I'll keep relying on the ide
It's there for a reason
u prob f up
Can someone seriously explain to me why I shouldn't rely on my IDE
Sometimes it can give you false warnings or be unsure about stuff like casts
I might add that if I wanted to 👀
went from 10 lines of ideas to this left: https://i.imgur.com/FSBO0LJ.png I think this is for another decade not for this one xD
Making a gradle plugin to generate plugin.yml, what I want is for simply marking the main class with like
@Pluginand let the compiler get the package and file for the main class
@ocean quartz
Its probably better to just use an annotation processor than reading the classes for it
in javascript can you multiply floats with integers ?
Yes
so if I have a var test = 100 I can just do var newVar = test * 2.5 ?
🍉
Also the specific diff in js would be that there is only 1 number type there, there is no specific int in a sense
its all just doubles 🤷♂️
yeah kinda makes sense.
@old wyvern Don't I need the class' instance to process the annotation?
No just the annotation names
the round environment argument has a function to get all classes annotated with a specific annotation
I can give it a shot
a brainfuck interpreter
@old wyvern How do you get a RoundEnvironment?
You get it as an argument in your process method
I referred to this while i was using annotation processors a few months ago
http://hannesdorfmann.com/annotation-processing/annotationprocessing101
I like how they don't give the one part i want to know lol
use the earlier method I linked, youd need to check and cast to TypeElement
@ocean quartz
But that's what i mean though, idk how to get to there xD
For that i would need the RoundEnvironment which i don't have either
Basically all I have is a File which is a .class file
Could you explain what you are working on atm?
Basically I have a gradle plugin, on compile it'll loop through the compiled files and check for a specific annotation then get the path to the class that has it, that's all
Oh you would require a normal dependency for this to work
I assume you can add it just by them applying the plugin tho?
I am not sure, though that means i'd have to do the annotation stuff on the main project no?
All i want on the main project is to add the annotation, the plugin should handle everything else
Which means i can't really get any instances of any class or anything like that, only compiled class files
Which is why i was trying to use the url class loader
Yea the annotation processor would go in the main project
It doesnt need the instance of anything
You simply need to register it in your META-INF
I can try it again in a sec, going to see if i can do the classloader one more time
Alrighty
This worked 
but is the annotation present 🤔
Could have done that yesterday smh, the only error i had was because i was doing package.ClassName.class instead of package.ClassName..
lol I saw that but I assumed you were reading the raw file and so needed that
or is it??
lmao
a typical programmers day
anyone got a mirror repo of mvdw's that isn't constantly going down?
I mean couldn't you just clone from gh & mvn clean package?
just tried that
transitive dependencies
honestly cba
placeholder api depends on updater, which depends on spigot 1.9 (not spigot-api)
im just gonna use the jar for now
elara will have a centralised package manager that just works
none of this "sonatype nexus" rubbish
hey i would like to make something in maven which automatically increases the version in plugin.yml by 1 (this should also include if the version is for example 0.0.9 and i add 1 it should switch to 0.1.0)
can someone help me with that?
(this should also include if the version is for example 0.0.9 and i add 1 it should switch to 0.1.0)
what versioning system is that
it says for example
anyways, what's your end goal here?
in plugin.yml i have major.minor.patch everytime i build the project i want the patch to increase by 1, but also if it reaches 9 and it adds 1 it should increase the minor (major is increased manually)
why are you automatically increasing the major version if the minor version exceeds 9?
oops wait i need to edit the message
now
btw this is for a friend he wants it that way, so idk why it is made like this
but hes german so i am asking for him
toggle
so @umbral mica any idea how i could achieve this?
There's a plugin for this iirc
Although it's for gradle I think
@steel heart didn't you make it?
I hope its for maven
oh no I have one for gradle
Isn't it better to just use the maven version as the plugin.yml version?
I think at the add of the day it's just better to use local dependencies, and we all know it
I don't believe it
Now to figure how to add dependencies to the plugin 😩
😩
no
Hey i am looking for a YamlConfiguration class to modify yml files without spigot, i had one it was standalone and didnt need anything else does anybody have one?
there's SnakeYaml but that doesn't have most of the bukkit stuff, there's also a port I just can't remember what it's called
Simply-Yaml is identical to Bukkit's just without getItemstack or whatever
you could also just serialize a Map with Snakeyaml
simple yaml**
oh i dont need bukkit/spigot related stuff, i had a file which was just to modify simple yml files
but without dependencies
like just get, set and the basic stuff
but i will take a look at simpleyaml
@obtuse gale do you have experience with simpleyaml if i need help and stuff
haha SimpleYaml is Simple?
Can't you set a file with an object that implements serializable or something, then just read it back and deserializable it too
and yea, simple yaml is simple
it's almost like it's in the name or something
Can't you set a file with an object that implements serializable or something, then just read it back and deserializable it too
@obtuse gale yes, but not to Yaml
uhmm i cant seem to export it ( i am doing a maven plugin i get the following error : ) Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (default-descriptor) on project SpigotVersion-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor failed: 13737
google wasnt a help at all
check php error log
wheres that?
you on linux?
check nginx logs then
check /var/log/nginx
how is this wrong?
http://images.virtusdevelops.eu/shareX/dxepsw38.png
is this file in the root directory?
uhmm i cant seem to export it ( i am doing a maven plugin i get the following error : )
Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (default-descriptor) on project SpigotVersion-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor failed: 13737
@leaden sparrow Bump
@prisma wave You messed with adding dependencies already?
Managed to add it but right now it requires me to add my repository to the buildscript which i don't want to (if it was on maven central it'd be simple i guess)
as in dependencies for a gradle plugin?
Yeah, like the plugin itself adds a dependency to the project
oh that's easy
but yeah the repository has to be added too
but that's not really a problem imo
pdm implicitly adds my repo, it just doesn't show up in the actual buildscript
This is what i have, the dependency works, but the repository doesn't, it never searches on that repository
uh pretty sure it doesn't need to be that complicated
project.repositories.maven {
it.setUrl(PDM_REPO_URL)
}```
this is what pdm does
Doing it like that still doesn't search on the repository when resolving the plugin 😦
hm
probably something to do with the afterEvaluate
pdm does it when the plugin gets "called"
Same thing >.<
I might just send it to central i guess
Good point
@obtuse gale any replacement for simpleyaml it doesnt seem to work with a Maven Plugin
it works with maven?
no i am making a maven plugin and once adding it, it wont package anymore
oh, you can always just serialize an object and write it to a file, then reserialize it or something
I guess it depends on what you're doing
php = good
doubt
but how is it empty
you check for emtpy($mail)
yes
but it should be empty
Hey
I’m starting in dev
Anyone can help me by sending me a video or a website to learn how to begin
ThNks
...
I just wana know the basics
you don't sound too sure lol
Both of them require knowledge of Java, with the Forge/Fabric and Spigot/Sponge APIs
I want to learn in a 1 year time to start working for some money
Yes, can you refer me to something to learn to use them ?
I'd recommend you learn pure java (or another JVM language but Java is probably best to start off) and then start learning whatever framework you want to use
Is there a good website or good vids about it
(or another JVM language
do i say it
uh there's loads, I used sololearn personally but if you want videos there's Hyperskill/Jetbrains Academy or a few udemy courses
do i say it
no
well
😦
starts with a E
KOTLIN
TRAITOR
Is it worth dev for money ?
what
KOTLIN
@onyx loom
You seem to have spelt that wrong, let me correct you
ELARA*
o
Cuz I’m french and there a big French community that opens servers like weekly
my bad
And they need dev
They pay 500+ for a project or a %
It’s very often
It depends
I don’t know if it’s more worth going into dev or into graphic
you will probably need at least a year of experience for professional development
Like doing images and sites and all
but yes, it can pay very well




