#dev-general
1 messages · Page 188 of 1
hes not using kotlin so ? doesn't really change anything
yeah that's why I said if that makes a difference.
ah ok
also you're talking to me like I'm so kind of developer xD. I'm just trying to look smart :))
Not specific to any type
well its weird bcz for me it doesn't Yugi
yea ive used it with multiple args before
I have too with earlier versions
do you do anything weird when you setup the commandmanager or whatever its called?
Nothing at all
do you use String[] by any chance? in your default? even tho idk if that would be it
Nope
Imma help you in just a sec, let me finish this match xD
Alrighty xD
Ah found the issue
Should have remembered
It seems to leave residue CommandBases even if the plugin gets disabled
Oh was it due to hotswap?
Not a hotswap
Just biletool reloading it on drop
Pretty much equivalent to a plugman reload
Oh okay
Also since I'm rewriting it, let me know if you have any suggestions you want added
A auto generated help command would be nice. Maybe a @Description annotation so people can define descriptions for the command for the help command to use
Yeah the help is planned ;p
Could you also fix the issue with the Command classes still remaining after plugin disables?
Currently im having to restart the server on every change except when I use hotswapping
As much as i can, it actually should unregister everything on plugin disable i just don't know why it's not working
Yea I think the current issue is that the listener is disabled before the plugin is actually disabled
Maybe have a check to validate that the plugin's mainclass is still in the classpath or something?
I can give it a try yeah
Alrighty thanks man 😄
Can I specify an anonymous block in Kotlin that is guaranteed to throw a throwable?
Like how () -> Boolean returns a boolean, is there a way to specify something like () -> throws Throwable
anyone here good with html/css?
Just ask and someone will help if they know
What os Frosty?
(Pressume you want to do it via code rather than a builder such as unity)
How does one make a mobile app
@hot hull get android studio and use kotlin, ez claps
XML 😩
Does IJ not have anything for it?
ive messed around with android studio before, it seems kinda cool
Like holy fuck spotify is gae
The music recommendation for the genre is absolutely disgusting
And yea I was gonna make a music app so I could test shit outside of mc
@empty flint you could just return an Exception and then throw it?
I named a playlist Chang chang and then a shit ton of chinese songs got suggested
YouTube has amazing music recommendation if you ask me
spotify recommendations are ass i must admit that
recommendations are normally really good for my taste in music
Your taste being 1 specific genre I'm guessing?
yep
yea must be
i listen to quite a lot but then it be giving me horrible recommendations like jazz or some shit 😬
Exactly Kali
https://open.spotify.com/track/1n7omixiROWs5q6xpWiQuL?si=lIsMvtYcRmSHLxJQec8KDA does anyone remember vibing to this when they were younger
Ain't nobody wanna listen to fucking full rock, like tf?
Go to made for you then find your suggest
My daily mixes arent bad
hm true
gotta love it when things work, then you restart it, change some code that isnt related to it whatsoever then it breaks
bruh i forgot I changed my method to return a RestAction<Message> instead of a Message and now im missing a shit ton of .queues
If I store "" to db, will it be null, or an empty string?
Effort, but mk
Yeah you can store an empty string lol
Okay good
But null is usually better in cases
Nah, null is ew
It will be ""
That is not a valid argument, doubt it'd be noticeable even with thousands of users
"null" 
...
"null..." okay
If you were planning on storing empty
Might as well just store "null"
Its just gonna cause you a load of problems
Nah
Yes lol
Especially if you start searching stuff, all the "" stuff will appear in every search
Well I mean I'm not searching for that field ever, atleast not directly from the db
What's the table?
What does that matter?
It doesnt because regardless its a stupid decision lol
Let me add that to my book "1001 ways to screw a database"
Lol
Is storing a list of strings as "abc,cde,part3" in there?
Lmao
New version for the KBAPi Tooling released \o/
Hello im having a issue with Nexus Repo when i try to push an artifact i get:
Return code is: 405, ReasonPhrase: PUT.
Received status code 405 from server: PUT
Maybe it doesn't like PUT
Or its want's PUT
405 = Method not allowed: Put
do Post or patch or something
i mean gradle uses put i cant change that.
either im using repo url wrong or im just stupid
how should link look like @prisma wave
http://repoip:port/repository/Virtus
thats how mine looks
you using Sonatype nexus?
i guess
and how do i know if i use sonatype, i mean there is sonatype folder yes.
it is sonatype yes.
Surely you know what you installed?
yes latest version nexus
ok
sonatype nexus repo manager
The URLs are usually url/repositories/maven-snapshots then
Or maven-releases obviously
okay
Just navigate to the repositories in the admin panel and copy the URL
what should it be then, i've never used nexus
Because how could it tell what actual repository you want to use?
hosted?
but i want custom repo
maven2 hosted then
okay
so its like that i get it now, i was kinda confused but ok i understand it now, thanks!
Np
Nexus is usually regarded as the best
nice
there is no such thing as a "Nexus Repository Manager" that isn't made by Sonatype
Come on dawg. Get that maven outta here. Get that maven out of here. Someone come get this man/ Get that maven outta here. Get that maven outta of here.
Come on dawg. Get that guy outta here. Get that guy outta here. Someone come get this man/ Get that Niall outta here. Get that guy outta here.
Niall sinning again 
Ooh he adding Java to the project I dont know if that good Imma ask my boss he know better. WHAT Come on dawg, Get that Java outta here. Get that Java outta here. Man come one. Get that Java outta here.

maven and java
anyone has idea how i could make SRV record for Nexus?
apache
Ew
what=
Nginx
Apache kinda sucks but ok
why would it suck?
Well for one thing it's XML
But as far as I know nginx is faster and less vulnerable to certain attacks
attacks like?
They've probably patched this but last I checked Apache is vulnerable to a slow loris attack
okay then i'll install nginix

there's an example on Sonatype website afaik
You can pretty much copy paste it
nexus docs*
yeah that'll redirect domain.tld/nexus to the thingy
You'll need to change server name tho
haha refused to connect XDD
Are image formats stored in metadata or something
E.g if I'm uploading them to a server via spring do I need to keep the file extension
yay i made reverse proxy 🙂
nice
yo whats better Chunky or WorldBorder plugin?
Chunky because I like the name
Chunky is better
i mean its updated, while worldborder isnt being updated any more "officialy"
so lets go chunky
and wb’s name sucks
gotta wait those 9h
When an eclipse user complains about you using direct access to a mutable set map instead of using bukkit getters/settings 
:kek:

crusade?

Ori, you also using kotlin by any chance?
Sheesh, doubt the man even knows what that is
he did actually
:O
what did he say 
He should know better then
Me:
Getters/Setters are cancer
so ima stick with my direct access for now
this also isnt java my friend 
Eclipse Weeb:
ik its koltin
Me:
my friend not to be disrespectful
but dont comment on code when using eclipse ide 
they hadn't said anything afterwords
Afterwords
Afterwards
Technically they mean the same in this context? Since it is after the words
shut
Direct access?
yea what context is this btw
You arent directly accessing most ussually if you using kotlin
The fields you declare are just properties with hidden backing fields
i posted this screenshot somewhere
That isnt "direct access"
A getter is not idiomatic in Kotlin. It uses properties to provide something similar to getters and setters
Kotlin generates getters and setters when compiling
Except they decided for fields to automatically be properties without beign explicit for some reason
ori u wanna make that code hella sexy
fun PlayerExpChangeEvent.onExpGain() {}

I like kotlins way
ah yes
But its annoying when some method doesnt support the kotlin way
personally not a fan of the implicit property
☹️
defaultCloseOperation = EXIT_ON_CLOSE
setLocationRelativeTo(null)
``` 😫
SwInG
Decompiled Kotlin is weird
Intrisics
I really wish they separate that at some point
Java:
int[] ints = new int[] {0};
Compiled from Kotlin:
new ArrayList<>(Collections.singletonList(0)).toArray(new int[0]);

The true power of kiteboard's design
I can add support for features so easily technically
A group implementation and component implementations and a group component implementation factory + adapter methods (if packet based) = new feature
Just fount out you can create custom code completions for IJ
Got so used to Kotlin that println in java was getting annoying (i know there is sout already but this is better imo) so i made this xD
lol
ye I mean thats kinda lit
to it the clojure way
@remote goblet no getters and setters in clojure
or in elara
or in Go
or in Haskell
etc
Sx was showing me some stuff yesterday from his go server and it's pretty cool
Kinda wanna learn it at some point
It's super easy to learn
Like he described, Kotlin C++
the cool thing is that you get the speed of something like C++ but no manual memory management unless you need it
yeah that's pretty accurate lol
👁️
there's a good way for increase the perfomance at connections with MongoDB? for example, using HikariDB u can get better connection perfomance in MySQL
Mhm
Hikari has Mongo, no?
Hikari has Mongo, no?
@ocean quartz I'll read it, thank you
HikariCP is a JDBC connection pool. You can't use it for NoSQL databases. It also doesn't have drivers for anything: it's a connection pool.
nvm
Ah okay, wasn't sure about it
fun PlayerExpChangeEvent.onExpGain() {}
@onyx loomeventFlow<PlayerExpChangeEvent>.onEach {}.launchIn(pluginCoroutineScope)
what the frick
Coroutines 
LMAO minecraft glitched from staying afk on hypicel too long
Now it shows the title even in my local server, or anywhere for that matter xD
idk some random one
lol
trash
Would there be any advantage to have some VRAM in place of DRAM for a minecraft server?
Not sure, but would graphics primarily only help with rendering chucks and whatnot?
i mean its definitely an interesting question
I’m thinking about setting up a server in house, just don’t know how much of a difference having VRAM would be over just some sticks
¯_(ツ)_/¯
Bukkript is making me depressive again
I'm all day tring to fix this issue
reports=[ERROR Built-in class br.com.devsrsouza.kotlinbukkitapi.libraries.kotlin.Any is not found (test.bk.kts): java.lang.AssertionError: Built-in class br.com.devsrsouza.kotlinbukkitapi.libraries.kotlin.Any is not found]) I don't know how I will support relocation on this
@astral quiver that's maybe more of a question to ask in #development
I already give up
When you're rewriting something and find a piece of code that you can't explain what the fuck it's doing there or even what purpose it has
Yo wtf, was i drunk writing this, i named it completionMethod which is just a reference to the method annotated with CompleteFor
@ocean quartz the issue a few days ago with wrong usage using mf-cmd, did any solution ever come up. I am getting the wrong usage message in game, my code is https://paste.jaims.dev/ujojoxevup.rb
LMAO minecraft glitched from staying afk on hypicel too long
@old wyvern for some reason i got scared
@surreal quarry What gives you wrong usage?
I'm pretty sure i see your problem, you want to make targetName optional but didn't mark it as such
ah
i thought the nullability covered that my bad
yea it works fine when i provide that argument, so thats definitely the issue
Yeah, nullability is not for optional, it's just required for invalid arguments, string shouldn't need it unless it's optional
Who want to do a kotlin code review
https://open.spotify.com/track/58AGoOGbwsQMhBbH0eFLRR?si=2py4K9PbQD6-gjDW2rpYiQ @onyx loom I like this one
pretty sure thats sampled from somewhere
apparently not
sounds similar though
with java do i use int or Integer lol, idk how primtiives or whatever work, i havent touched java in ages
Use primitive unless you need an object
never heard those niall
So, quick question, if I have a class that extends a base class, in the base class if I have like a loop looping over all the methods in the class, can I make it loop over all the methods in the class that extends it, not just the base class?
Im just kinda messing around with this kinda stuff loll
So, quick question, if I have a class that extends a base class, in the base class if I have like a loop looping over all the methods in the class, can I make it loop over all the methods in the class that extends it, not just the base class?
@obtuse gale yes.
how
how would you approach it normally?
I mean idk this is my first time doing this kinda stuff
I tried just looping over the methods, but it only gave me the methods from the base
getClass().getDeclaredMethods
Are you doing it in the constructor of the base class?
That only returns me the method in the base class, I want the methods in the class that extends the base class
no
are you assuming that, or have you actually tested it?
tested it
public final void test(){
System.out.println("getClass().getName() = " + getClass().getName());
for (Method method : this.getClass().getDeclaredMethods()) {
System.out.println(method.getName());
}
}``` This is in the base class, and im calling it on an instance of the class that extends it, and it prints out the name of the base class, and then `test`
DeclaredMethods are the ones in the actual class I believe
then getMethods() by itself returns the ones from parents right?
correct
that gave me all the methods from Object, but not the ones from the class that extends it
oh wait maybe im just being dumb here lol I think i messed something up
Oh yea piggy question about annotations
Like really dumb...
If I'm using stuff like @Nullable and @NonNull, in interfaces, should I transfer down to implementations or not?
Because IJ atleast seems to infer them any way, but from a convention point of view
they should be transferred
imo
there's no convention that I'm aware of that covers the use of such parameter annotations, so it's up to personal opinion
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: Preview features are not enabled for com/noahmanscher/MinecraftPlugin/Main (class file version 58.65535). Try running with '--enable-preview'
Can you guys help me figure out what causes this error? I'm using my IDE to compile, so I'm not sure how to run with "--enable-preview"
Ok
@empty tangle what jdk are you using?
https://jdk.java.net jdk-14.0.2
IntelliJ does warn you the add the annotations to the inherited classes too tho
shit
i just might've figured it out myself
chances are you don't want to be using jdk 14
aight well, frankly I've got no clue how to add the flag to ij's build system
I recommend using a build tool such as gradle, which makes such configurations trivial
i just might've figured it out myself
Do I need an older JDK when using Spigot 1.8.8?
no clue
that's not the issue at hand btw
you're using a preview language feature in java, you need to explicitly enable that when compiling
or, simply not use the feature
You can set it in Project Structure
preview language feature
What could such a feature be?
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
I'm not using whatever IDE that is
yugi that's not useful unless he wanted to downgrade
it's intellij
what on earth are you using lol?
package com.noahmanscher.MinecraftPlugin;
import com.noahmanscher.MinecraftPlugin.commands.HelloCommand;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin {
@Override
public void onEnable() {
new HelloCommand(this);
}
}
what on earth are you using lol?
You don't want to know 😳
no, I really do, because it's likely affecting you in every way possible
ecl...ipse....? 🤢
🤮
wtf
welp
😬
Oh he has jdk 1.14 installed?
yes

he needs to enable preview features
welp
or just avoid preview features
I have a prof who used sublime text for Java
there's absolutely nothing wrong with that?
I've personally used sublime for java
but vscode
😂
yucky
package com.noahmanscher.MinecraftPlugin.commands;
import com.noahmanscher.MinecraftPlugin.Main;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class HelloCommand implements CommandExecutor {
public Main plugin;
public HelloCommand(final Main plugin) {
this.plugin = plugin;
plugin.getCommand("hello").setExecutor(this);
}
@Override
public boolean onCommand(final CommandSender sender, final Command cmd, final String label, final String[] args) {
if (!(sender instanceof Player)) {
sender.sendMessage("Only players may execute this command.");
return true;
}
final Player player = (Player) sender;
final String perm = "hello.use";
if(player.hasPermission(perm)) player.sendMessage("Hi!");
else player.sendMessage("You don't have sufficient permissions to use this command. Required permission: " + perm);
return true;
}
}
This is the other class
What would be bad about VS code comparitive to sublime
my teacher said to me today that we will be using notepad for javascript in the future 😭
that's not the problematic class
@Autowired
nothing serious yugi, these days vscode is arguably superior to sublime in virtually every category except speed
Ah
I just use VSCode for everything else and didn't want to download another IDE
well, that's a huge mistake
java by far has the most developed ides out of any other language
How would one change the name of an Inventory?
you're shooting yourself in the foot by not using one
I recommend intellij
I strongly recommend against using anything but intellij (for java)
How about everything on paper
😂
no, we will force ur hand to use intellij 
god
this is not a recommendation 
onto the actual problem noah
I've got no clue how to enable preview features on vscode
I recommend downgrading your jdk
and for the love of god, don't download from java.net
whats the big difference?
allows licensing or smth when ur selling projects? smth like that
oracle's lawyers will hunt you down and kill you if you start making money off their binaries
add --enable-preview to the compiler args ?
add --enable-preview to the compiler args ?
Yes. But I don't know how to edit compiler args
do arrays not have .forEach in java?
you can construct a stream from an array via Arrays.stream
that's as close as you can get though
ah ok
does java not have for ... of ... loops?
thats what I needed to do
How tf does a lambda or whatever work for the .filter
what language you coming from?
() -> those tihnsg lol
@empty tangle try checking Run > Open Configurations
argument ->
Which jvm should I use for AdoptOpenSDK?
only ever used this stuff in kotlin before lol
hotspot
Havent used VS code for Java but I assume openign the configuration file remains the same throughout extensions
@quiet depot you finished adapting GraalVM onto PAPI 3 yet?
haven't even started
javascript expansion is low priority
and it's important to note I'm not adapting graalvm into papi 3
merely their superior javascript interpreter
what language you coming from?
@empty tangle
I'm not sure what you mean.. JavaScript might be the answer you're looking for
yeah, just wondering what language you were using before starting on java
web js, or node?
is it open source?
It was
but not anymore?
👍
why?
It's harder to monetize
oh
I personally use 8, but that's because the majority of plugins I make are for use on servers which aren't my own
and 8, is currently the most used java version in the mc community
is it not the most used in general?
I haven't got a clue
https://www.jetbrains.com/lp/devecosystem-2019/java/#:~:text=Although Java 10 and 11,still the most used version. according to jetbrains, it's 8
but that's not as indicative as bstats
mind you, bstats isn't perfect either, but it gives a very good idea
2% kotlin 🌝
@old wyvern that's even worse than jetbrains', purely for the inclusion of javascript
lol
it was obviously made by, a complete and utter idiot
@quiet depot is there a channel where I can send images
😂
yikes. give me 10 minutes then
takes seconds noah
you go to the site, press control + v, and paste the link here
only one more step than uploading it to discord directly
what
do u have to login to imgur?
thats so smart
no kaliber
noah I can't defend it lol
o i never knew that
honestly not sure what the point of imgur is, in this context
@pallid gale why don't we just allow people to upload images?
This font irks me
tier 2 can 
^
ic
i feel like it might be fine for tier 1s tbh, because u only get tier 1 after a couple messages
so if theyre a bot, they cant spam images straight away
but 
@empty tangle did you download 14.0.2?
or 8?
if the latter, change the path
and also follow the red instruction
if you can make 14 work, no point in getting 8
People are less likely to post random images/memes in general areas if it actually requires effort to upload first
@old wyvern thats cursed font lol
💀
one day
☹️
well, follow the red instruction in the original image
from the path
yeah yeah
don't actually delete the folder
lol
do I need to shade for the jetbrains annoations?
no
epic
i know
you still need to enable preview features
VSCode can do it for me
I just thought using CLI might make it easier to change settings
does 1.16 not support java 14 for plugins?
@quiet depot seems like I can change the compiler settings in a launch.json file
Hell yeah!
ayy
No errors
now you can scrap all that and just setup gradle, by following the guide I linked before 😄
or learn the language a bit more first
up to you which you do first
getting intellij should also be on your todo list
does 1.16 not support java 14 for plugins?
@obtuse gale try and see 🌚
oh yeah?
i'll be the judge of that
(warning, a response could definitely take an indefinite amount of time)
🤔
nice flex
?
i'll be the judge of that
https://imgur.com/wtg8IYy @quiet depot this says it all 😤 /s
that badge is not indicative of the quality of your code, at all
wow
completely missed the /s at the end
i swear i'm blind
that badge is not indicative of the quality of your code, at all
you're god damn right it aint
i dont consider myself very good at js either
How would one round the number up to the nearest x?
Like the nearest multiple of x
nearest multiple 
Divide by that, ceil and multiply by that
let x = 10 for simplicities sake rn,
say i give it 5 it gives me 10, if i give it 14 it gives me 20
how would 14 round up to 20
how would it not
am i being dumb or what
if x is 10 in this case
the nearest is 10 no?
He doesnt mean rounding
keyword up
so u wanna round ALWAYS up?
yes
ic
niall u really wanna trigger people
tf is ⌈
ceiling function
ah
😄
Anyone got a nice hex colour method i can copy + paste?
wdym hex color method?
like that translates hexes to colours in 1.16
Doesnt the hex separated by the chatcolor symbol work?
Havent really messed with 1.16 colors yet, but from what Ive seen from here that works
:))
§x§F§F§0§0§0§0
I expect thats red?
Yes its red
and is this #<hex>?
ye
ew its kotlin

Is it a chat component
the one time i decide to do something in java i cant even copy + paste smh
lol
I have a custom chat component but of course that only works if your using a chat component
niall i think u have to send hex as chat component right?
Monki flip
That should be easy to translate to Java aj
extension functions in java 
Util pattern 🤷♂️
cmon man
get that pepper off there
classic pdm @prisma wave 😭 https://paste.helpch.at/ogurakerus.bash
was working fine before (still on 0.0.26, 0.0.27 broken kekw), but just booted test server up for first time in like 3 days 😦
This is not a pdm problem
It's a YOU problem
Can't accept it for its flaws
Smh
Anyway
🤔
Send buildscript
everything is same since last time lol
This is probably kotlin 1.4 causing problems again
so it should be working
yea clean build worked lmfao
now let me try shutting down my pc 
bc it works when i restart the server just fine
it works 🌝
Huge
but very weird tho, because others have had that error before
only after a clean build tho 😐
Probably kotlin being evil
possibly we just need to always clean build when using pdm 🤔
ik lol
i spent YEARS perfecting the caching and I don't intend for it to be wasted

might need to work on it more considering it stops working occasionally
really need to find the source of that issue tho, very weird
niall once again with the enterprise logic
give this man a medal for his intuitiveness
can i download PDM with PDM
I will have to try it at some point
Guess what I learnt yesterday
¯\_(ツ)_/¯
@GetMapping("/country/{country}")
public String getCountry(final Model model, @PathVariable final Country country)
``` Is possible in spring
no need to use {id}
thymeleaf bean
spring just became the first framework
?
they have revolutionised java
can i download PDM with PDM
@heady birch PluginDependencyMangerPluginDependencyManager
burn it
not allowed
unacceptable
😡 !!
um excuse me maam you forgot the clojure logo reaction
👀
i remove an emoji to make way for the beautiful clojure moon
thank
and u completely disrespect clojure like that
Santa?
ok add it
🎅
Btw :elaramoon: is in the making
remove NOW
mods
great 
is terfs making it?
nah some other dude
ah ok
Admin kindly remove this "troll" from the server
hopefully it turns out good 🙂
Whom'st've troll?
There is no time to wait! Ask your question @prisma wave!
very "comedic" indeed
who what when where
Help
😠
Barry
I need halp
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
👀
@compact perch
@compact perch
@compact perch
@compact perch
@compact perch
free xp if u ask me 👀
@compact perch
@compact perch
@compact perch
@compact perch
I want to slaughter Barry where he stands
He is corrupt
Not banning the "troll"
1 question so for minecraft i have to make SRV and not reverse proxy right?
yes
okay
Because reverse proxy is only for http connections afaik
ok
this is gonna take ages to render...
https://map.virtusdevelops.eu/
Minecraft Dynamic Map
Hello lady and gentle man..
My spring webhook endpoint no work. this is dire situation.
Please fix URGENT!
Why yall abusing Barry? 
barry abused us
fuck barry
Wow

I will not accept this
this chat has been plunged into a wretched cesspit of despicable scum
Who's trolling?
@compact perch
@compact perch
wtf
I don no
But it broke and me sad
@RestController
@Service
class AHHHHHH{
@PostMapping("/AHHHHHHH")
fun AHHHHHH(
@RequestHeader headers:Map<String, String>,
){
println("Received")
}
}``` Thats all ive got lol
That should work shouldnt it?
Im just tryna get it to work rn, it worked once, now it wont work anymore
Also unless you mean to post that. Use @GetMapping not @PostMapping
You dont need @Service
Do you need those headers
I mean yeah I will
fun AHHHHHHHHH
Your also mean't to return something
i am?
I dont wanna change the pages content or anything tho
Im just trnya listen to webhook
PostMan isnt even giving me a response i dont think - unless im just looking in the wrong spot
Because of course your web application is on localhost I dont know how postman works
it should
Postman wont give you a response
it has in past
Because you dont send one
yeah
@RestController
class MyController {
@ResponseBody
@PostMapping("/path")
fun myMapping(@RequestHeader headers: Map<String, String>): String {
return "Test data"
}
}```
When I send the webhook for the first time I get this
2020-09-09 01:17:48.240 INFO 28304 --- [io-42069-exec-3] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-09-09 01:17:48.240 INFO 28304 --- [io-42069-exec-3] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2020-09-09 01:17:48.248 INFO 28304 --- [io-42069-exec-3] o.s.web.servlet.DispatcherServlet : Completed initialization in 8 ms
2020-09-09 01:17:48.486 WARN 28304 --- [io-42069-exec-3] o.a.c.util.SessionIdGeneratorBase : Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [221] milliseconds.```
Only when I send it for the first time tho
Yeah thats just because new session
Well actually by default it wouldn't be stateful
Not sure, did you try code above?
yeah one sec
could it have something to do with spring security being on or something? If I manually try to go the the page springs default login page pops up
just noticed tha
bruh
Most likely
wtf is wrong with fawe
@Configuration
@EnableWebSecurity
public class SarsSecurityConfiguration extends WebSecurityConfigurerAdapter {
@Override
protected void configure(final HttpSecurity security) throws Exception {
security.httpBasic().disable();
}
}
rain is floating (hitting invisible) ground.
Something like that Aj
okay.
joking
okay.
Niall it still doesnt work :((
Which aspect
some good tutorial for learn about mongo connections? and commands and these things
Mongos docs
https://www.reddit.com/r/programming/comments/gfcjvl/nhs_open_sources_contract_tracing_ios_and_android/fptfq49?utm_medium=android_app&utm_source=share&context=3 @heady birch was this you
Shame
But look at his post history
Great minds think alike
Great minds use rust
that name just tops it off lmao
I strongly detest things like Vue
JS sucks ass
but vue is doable
I mean it’s just a fact
every javascriot developer I’ve spoken says it too
That's fine. I don't do a lot of JS in it. It's just nice to be modular.
Thymeleaf 😠
TypeScript!
!
thymeleaf and other alike templating engines like blade suck
@frigid badge You're a weeb
No they don't
Let's be honest everything in frontend sucks
true
Not really

I mean programming in front end is one thing
3 vs 1
4 vs 1
Bruh
So stupid
How?
Your just giving the client things to do
Wym
I'd rather just generate it on the server then send it
Lol what
I lke the idea of doint stuff in the clinet
BUT I don't like how its works
using Javascript
could be a faster languange
WASM I guess will change that
I mean certainly JS, CSS and HTML can be painful
I hope
Nothing wrong with traditional web design
The problem is that you have only one choose
They JUST work
No stupid popups loading bars and spinners
this is the problem
So like anyone here is a forge pro?
They do the job when you just need the job doing
Other platform we have ALOT of things to choose
Souza you seem like a forge master
👀
Please help me
I just look like one
Can you write my mod for me ?
I really do no much about Forge, I use it years ago
currently I know that the folks are using Fabric
Ah man is that better ?
I could, but I don't to do that 
And is it compatible with forge?
I guess it is
Also mc 1.16.3 rc :/
I guess forge do not work at this version?
If a recall, spigot releases first then Forge
Bukkit?
Well, fuck my life
I wrote like 100 classes in forge
And just realized fabric is better
Having my mod on fabric could also give me more clout
Yeah I will make tons and tons of abstraction (:
Hold up wha
If I wanna make a github wiki I need my repository to be public?
I don't want to make the repository public until my plugin is released though ugh
But I want the wiki to be ready by then
no u dont need to
How do I make a wiki page for private repositories then
wait
