#dev-general
1 messages · Page 241 of 1
For normal prints i still use Lightshot, because its screenshot editing is better than sharex, but everything else sharex wins
maybe. I don't need to edit tho. And I love that it can post directly to my imgur
same with gifs
self hosted >
<<<<<
<>
<
<<>>
o>
<!-->
\o>
Do like phoenix domain.com/📷 /image.jpg
<o/
|<o>|
{>o<}
[ <?) . <?) ]
{[[-][-]]}
{\------/}
I ain't got a web host.
(⌐□_□)–︻╦╤─
Just get one
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
might anyone here be up to take on my request in #783231030860972032?
┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻
Just use my config lib, it's free 
Also can yall like, not spam? xD
but does it have auto-updating configuration?
Yes
auto updating is fucking disgusting
its disgusting agreed
but it isnt super hard or anything
unless you are renaming keys
Why is it disgusting?
in that case it would be nasty
renaming keys would be horrible
but adding or removing
is ez
Ah yes let me update the plugin, I wasn't aware there was additions, the default thing happens to have OP shit set as default, woops lookie now entire eco fucked
link me
You get what I'm trynna say?
What? What does that have anything to do with auto-updating config?
If you need to add things to your config, would you want the user to add it manually?
I'd want it to automatically add it for the user.
maven { url = "https://repo.mattstudios.me/artifactory/public/" }
implementation "me.mattstudios:triumph-config:1.0.3-SNAPSHOT"
Here is an example of it working, since i don't have it documented yet:
https://github.com/TriumphDev/chat/blob/development/plugin/src/main/kotlin/me/mattstudios/triumphchat/config/Settings.kt
ᕕ(╭ರ╭ ͟ʖ╮•́)⊃¤=(————-
let me give a better example, let's take AutoSell for example, you update the plugin and it has an auto updating config which adds a new sell feature let's say, the default has a default value for that feature set which happens to be some OP value in the point of view from your servers economy. Let's say you weren't aware of that and just load up the plugin without changing the config at all, you go on with your day, now the users figure out that feature and they get a shit ton of eco breaking stuff because that was the plugins default, meaning now the eco is broken because the plugin auto updated the config
Really don't know how else to explain it lol
well that isnt really the dev's fault
unless the dev purposely adds a feature
where the plugin ALWAYS autoupdates
when a new download
That has nothing to do with being auto updating, that's the dev's job to make sure it'll be implemented safely into their system
And also the server owner's job to read updates
without the server owner's job
But it's minecraft, noone fucking reads update notes lmao
Y'all thinking of a perfect scenario
That's their fault lol
Yeah life isnt fair
y'all stoopid
The heck tho
java.lang.UnsupportedOperationException: Retrieving groups by name is not supported on this platform.
at kotlin.internal.PlatformImplementations.getMatchResultNamedGroup(PlatformImplementations.kt:29) ~[?:?]
at kotlin.text.MatcherMatchResult$groups$1.get(Regex.kt:288) ~[?:?]
at kotlin.text.jdk8.RegexExtensionsJDK8Kt.get(RegexExtensions.kt:34) ~[?:?]
at com.github.frcsty.frozenactions.wrapper.ActionHandler.execute(ActionHandler.kt:62) ~[?:?]
let config = ConfigKey("setting.name")
print(config.get(String))
probably a java 11 thing
elara standard library
And does it include PDM?
😢
#1
let minecraft = Minecraft()
run(minecraft)
such elegant design
precisely
type Entity = Player | Zombie | Creeper | Cow | Enderman | ArmorStand | Skeleton
exquisite
Minecraft in elara
type OptionalInt = Optional<T> where T = Int
u die
u want to get bamboozled also?
stop then
@prisma wave is UUID.randomUuid() or what its called heavy?
not that I know of
Doesn't seem like it
Generating 10000 uuids took 193ms
interesting, I wonder how it makes sure they're actually unique then
private volatile final static synchronized class A$B
An average of 13.73μs per uuid
Does it make sure it's unique? I thought it didn't
Idk
I thought that was the point
randomUUID is always unique
Maybe it's just so big that it's pretty much impossible to get a duplicate
Supposedly
Since a UUID has a finite size there is no way for it to be unique across all of space and time.
If you need a UUID that is guaranteed to be unique within any reasonable use case you can use Log4j 2's Uuid.getTimeBasedUuid(). It is guaranteed to be unique for about 8,900 years so long as you generate less than 10,000 UUIDs per millisecond.
Run it for long enough and it is no longer unique
The media will tell you that it's unique, but that's what they want you to think
wait

what is transient
doesn't get serialized
how come i never seen this before
transient
im so confused
i never seen this keyword before
^
If the class implements Serializable, that object is not taken into consideration
No idea why they made that a keyword
Actually I do know
Because annotations didn't exist
Checking if 100M uuids contain any repeated one :kek:
Not as fun
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space lmao
Alright i am gonna do a set 🙄
you cqan use underscores for numbers like that?
I guess jvm can't do it, i bet Elara could 😔
obviously
Bro just -Xmx14G 
The universe was written in elara
[1..100_000_000].map(_ => UUID::randomUUID()).distinct().size == 100_000_000
its fits everything
insert aham joke
hmm that is not idiomatic
This is good enough
import elara/uuid
[1..100_000_000].mapDistinct(_ => randomUUID()).size == 100_000_000
import elara/uuid
let uuids = generateSet(100_000_000, _ => randomUUID())
uuids.size == 100_000_000
import elara/uuid
buildSet(100_000_000, randomUUID).size == 100_000_000
Giving IJ 6GB now
25mil didn't give any repeats
Also removing the toString, might help too
hmm
I wonder what the actually most efficient way of doing it is
checking for duplicates that is
You could short circuit the loop after encountering a duplicate
Not sure but IJ is loving all that food
Not a bad idea
Yeah but give it a boundary lmao
still doesn't fix the problem of actually getting through enough iterations to find a uuid
It completed :pog:
Time for 1 billion
Huh?
This channel is literally off topic xD
Yeah a Trie would definitely be better
elara standard library had better have one
deff
You can't break on a repeat that's sad
Btw
Android will make people hate google
The limitations on that shit
god
and each manufacturer adds their own limitations
ffs
return@buildSet ?
You can also return@repeat
try with that matt
or this
Let me try this way first then i'll do the trie
Alrighty
Aight i'll be back with the results in like 20 minutes xD
parallelStream it
!=
Not equals
≠
Nice lol
Came back to this, sad
F
Would trie use less memory?
What is a trie and why have I never heard of such thing 
like a tree but it's done by characters
So for example
| h
| i
| ello
| world
They all fall under the H branch because they start with an h
And then partitioned off into substrings
So it's just... a tree
More like a "command" in a sense
@prisma wave With this example from Yugi, how would that be implemented? Just insert or should i search before inserting?
https://gist.github.com/sagar-viradiya/891cf7d08b6ac13bb1fbdc411b76f6a5
Learn it
just insert the string
it should map out to nodes as needed
new nodes are only created for new characters
Havent checked if that specific implementation is correct, was just the first one from a quick search, but hopefully it is
Gaurav Sen has a yt video that explains the structure well
funny how everyone in this server uses intellij while everyone in codedred uses eclipse 😂
interesting
the difference between the two servers intelligence is immeasurable
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
?
I'm kinda new to java and i just using a tutorial but this doesn't work
for support
Ok
this is just dev chat
👀
https://paste.jaims.dev/bahivedur.cpp do this one pulse

<url> ;)
Lol
opinion on technovision?
+ uses IntelliJ
+ uses java conventions
+ uses multiple classes and packages
- doesn't use gradle or maven
lol
why is this man checking the command name when hes doing the command in a separate class
mentioned technovision
Oh lol
¯_(ツ)_/¯
lol
also why is he not using ChatColor#translateAlternateColorCodes
and hes not using gradle or maven
smh
i barely ever use translatealternativecolorcodes tbh
i only know codes for a, b, c, r, l, 6, and k
"" + ChatColor.GOLD + "" 🙂
and dont feel like opening up a webpage
just for 1 color code
when I can just do ChatColor.RED
you would learn them after like a day
a = red
nope
ea
b = blue
(lighwhy aren'tm y messages senfing
oops
my typing sucks when i cantsee what i type
c = red
d = idk
f = white i think?
r = reset
l = bold
d pink
k = obfhhucate
1.16 hex colours 🙂
oh and 4 = dark red
2 im assuming is dark green
and 3 im assuming is dark blue
and idk what 1 is
1 is dark blue
i jsut type "format" in the search thing and https://minecraft.gamepedia.com/Formatting_codes comes up
because I've used that site so many times
also trasnalteAlternativeColorCodes is so longgggggggggggggggggggggggggggggggggggggggggggggg
just make a chat util
; - ;
it is far more easier to read a color method rather than ChatColor enums
im too lazy to open up a webpage
or ditch legacy color codes and use components 
why not
Yeah.. nah
what the fuck is that
That entire class
The youtuber he sent
be better
it looks nice
no it does not wtf
unless
ur talking about static..?
but
other than that
i cant find anything bad about it
what is init
It's like dating a guy, other the the fact that it's a dude it's fine
i thought thats just something that u guys know bc im nub
means like initilizing things
static, public, non final, there is an init method that immediately calls another private method (making it sorta useless lol)
what is wrong with that 
its 2020 kappa
Exactly
no?
😦
dont have a 1.1ghz cpu lmao
im literally typing without seeing
what time are u living in? 2001?
get a new cpu
but 99% of apps run on windows
i use windows
and i code on windows, mac
sometimes linux
i just use windows cause i play video games as well
dual boot. code on linux, play games on windows
and its easier to open video games in windows
but i dont pay for windows lmao
what is dual booting
you have two feet
like having two operating systems running at the same time?
when i start my pc i decide if i want to boot linux or windows
two OSs running at same time = my computer dies
but then im never gonna use linux
lol not running at the same time
y use linux
yes pulse
fast
I am going to marry your daughter
for coding
oh
no memory hog
rip my 4gb memory
:3
i have a different pc with 3.1 ghz cpu and 8gb memory
That ear rape, jesus
why is that any different
oasjfipsajf
its an ear test
wdym
tests if you can hear all ranges
ya know
Makes me wish i didn't
👂
its good for u
lol
anyone can answer this? ^ please. thanks. k. have. great. day. night. here.
so this was the problem i got stuck on for the usaco contest on the weekend
benjamin qi is a famous person who won 2 ioi's internationals first place each
but look on line 206

oh no
I mean cum means how in Romanian ... xD
yea obviously
well
anyways good night
yeah lol
gn
wait a minute
its not just there
@obtuse gale you have no evidence whatsoever it is me
that marking is a lie
i would not say such things
lol

@hot heron const decay = (a, b, c) => (a * b) / (a + c); does that actually take an input?
yeah
that's kinda cool
you call them both the same way
Yeah I just realized you could do that
but I can't decide if I like it better or not haha
is it constructor?
no, constant
but it's not constant
const just means it can't be reassigned
I have a file with a bunch of helper math functions like this and I liked the prospect of essentially dividing my # of lines by 3
Yeah, definitely only for one liners
fs
@obtuse gale I remember you calling Bukkit as Fukkit, and lmao i just found this https://github.com/ed-george/fukkit
insert fuckperms here

Anyone free? I need someone to review my server setup real quick. just to be clear this is not an advertisement i just need you to join and tell me what is bad and how i can improve it. the more people the better.
Do I update java, or do I rewrite my lib in java, (👍 for java, 👎 for rewrite)
Well my test server is on java 15, but the person who's plugin this is for is probs on 8 so..
I really don't want to rewrite this lib, cause it's so smexy in kotlin
then do neither
lol what
train
train
train
train
I'm on win 7 so I haven't had that issue as well 
yuck
no u
old school
eat my ass
🤔 wut
No, win7 is a completelly valid thing to use
dcevm?
can someone merge dcevm into openjdk kthx
dynamic code evolution virtual machine
or something like that
isn't that ✨ impossible ✨
isn't what impossible
time to clean out the projects folder, it's becoming a mess
dynamic code evolution virtual machine
google bahroo
no nitro 😦
hey guys how to make when u in server and jump with pads on other island u joined in second server ?
something like this
https://spizdi.ga/Images/VP1qutsq33.mp4
God that looks so buggy
I hate C, so so much
+1
What’s up fellow developers hehehe😌😌
=joke
What do you call cheese by itself? Provolone.
Some people eat light bulbs. They say it's a nice light snack.
=joke
What do birds give out on Halloween? Tweets.
java static kills ur pc, i promise
Should I write the API of my plugin in Java or keep it in Kotlin? 
Yes
Gotcha, thank you
Java Matt
Hmm, any specific reason why?
is the entire project in kotlin?
I did find an issue with the arrow function thing. with the function keyword it's declared globally and can be called before the line it's on. But with const/arrow function, it can only be called after that line
if so, make the api kotlin too
It's all in Kotlin yeah
makes sense, constants usually go at the top anyway right @hot heron ?
yepp
like for adomain?
yep
im pretty sure it represents like where its hosted or something
your dns provider will usually set it and you dont have to worry about it
if you mess it up i think most hosts have a way to reset it
welp then where the fuck do I point records from? lmao this panel is so trash
what are you trying to do
well I'm trying to point someone's subdomain panel.DOMAIN to his dedi
but the problem is
they don't have a control panel like namecheap does
huh?
thought that maybe its something to do with nameserver
what ive done in the past is just point * to the dedi, and handle subdomains with nginx
A record
1 sec
on namecheap I have this panel
lemme send a ss of my
add new record
oh i thought that ss was the panel lol
ah it is mine
but I'm not doing mine
that's what I'm saying
he doesn't have a panel like I do xD
does he have access to change the nameservers
yeah
kk i have an idea then
Romania Top Level Domain I went here
logged in
but yeah no way to point records
like easy ways I mean
im sure other places do it, but i believe digi ocean will handle your domain for you if you set the nameservers to theirs
its been a while since ive done it but im pretty sure its possible
yeah but do they handle .ro domains? xD
i think it would do any domain
as long as it has the nameservers
although i dont see the dns option anymore on DO
yea you need to do it with a droplet it looks like
fuck man why couldn't he listen to me and buy a .com
he had to rush and couldn't wait 2 hours for me to wake up
i dont think thats the issue i think he just picked an ass hosting company]
that too
lmao
thats why I wanted him to pick a .com instead
so he can buy it from namecheap
but he really wanted a .ro lmao
id try to refund it and get one at a normal host lmao
cause like you can prob get a .ro at godaddy or namecheap or something
he ain't getting a refund believe me xD
lmao
actually yea thats tuff
idk why a hosting company wouldn't have a dns panel
like whats the point of a domain
if you dont control dns
that makes no sense
yeah just need to find a good company lmao
they dont even let you transfer
Domains with this extension aren’t transferable
damn
best bet is probably to cut his losses and get a domain thats not a .ro from a normal company lmao
yeah that's what I'm telling him rn
like there's actually
no good company
that accepts .ro
only shady companies
ok actually
I found one
that has an website
with css...
not just html
lmao
loll
ugh
cloudfare
aparently?
anyone has link
to info about that
Mackenzie told me
I could use their nameservers
lmao
Digitalocean is ehh
DO wouldnt work here anyways i dont think
Any specific reason why?
do it in kotlin just write it in a way that you know will work in java
Not really
It should work just as well in Java
Just curious about Frosty's answer
iirc stuff like inlines dont work in java etc i just meant dont do stuff like that
I mean regex doesn't work from a kotlin lib in java for me
inlines disappear at compile time
Cause I use java 15 
Kotlin 1.4.21 supports Java 15 iirc
o
If i want to access another plugin from my plugin, can i add the other plugin as a library and use OtherPlugin.getPlugin(OtherPlugin.class) or should i get it through plugin manager
plugin.getServer().getpluginmanager().getplugin("otherplugin");
either works
does it really matter which
You still need to have it as a library
#development for coding help
Ok thanks
You're welcome

🤔
How does a bungee config.yml file work for a plugin, since there's no saveDefaultConfig and shit how does one save it
Oh god
triump config isn't specific to spigot is it
Nah
Someone tell me
if that looks right
for a minecraft server dns settup
not my domain so don't laugh at me
lmao
does it work
spookycraft xDD
doesn't seem to
been waiting for like 30 minutes now I'll try once again
you missed a trick not making the sub-domain scary.spookcraft.ro to make it x3
lmao
this is how the SRV looks https://i.imgur.com/yNbE33M.png
in case maybe I should change priority or wieght
Hey @static zealot can we get a ?faq explaining why video tutorials are (more than often) bad? :d found a message on another discord and I think it could be very useful in here
what
give me the message ...
ok then no you can't have a ?faq
ok
k bye
deal
what
wait no
Are videos to learn good?
Sort answer: No!
Long answer: almost never.
But why?
Programming videos can be split roughly into two broad categories :
- videos that aim at teaching a language, usually from scratch for people with no background in programming
- videos that aim to showcase a situation, a library or a framework (these are OK)
Video materials for learning a language, especially the multi hours ones, tends to have really low added value. Here's why:
-
Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial
-
Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it useful -
Thirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading
-
Lastly, watching videos is a passive activity by nature. Classes tends to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active
On a final note, it will greatly depend on the video maker but it's a lot easier to copy and tinker with the code from a text tutorial than a video
hmmmmmmmm
there are good ones, yes
also
you've seen the CodeNinja or whatever his channel is?
that guy has some good videos
but most videos and literally all that "teach spigot" are.. trash
let me find
dude I'm not saying all videos are shit
holy fuck
don't add it then
k good night
split roughly into two broad categories
the good videos are such a tiny portion they dont have a category 🥲
lmao
ok please
explain
Classes tends to not to be by having direct questions
is this correct? because idk english
and it sounds incorrect
full sentence?
Classes tends to not to be by having direct questions to students or with lab times later on.
no I don't
sentence before?
Yes, that is English
Are videos to learn good
Programming videos can be split roughly into two broad categories :
- videos that aim at teaching a language, usually from scratch for people with no background in programming
- videos that aim to showcase a situation, a library or a framework (these are OK)
Video materials for learning a language, especially the multi hours ones, tends to have really low added value. Here's why:
Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial
Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it usefulThirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading
Lastly, watching videos is a passive activity by nature. Classes tends to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active
On a final note, it will greatly depend on the video maker but it's a lot easier to copy and tinker with the code from a text tutorial than a video
@obtuse gale cool
xD
fuck
its over 2k
can't even paste it so I execute the command
can you make it shorter lmao
Sure ig
please do
thanks
doesn't even tell me how much over lmao
let me chgeck
check
2013
lmao
13 characters
please remove
thanks
Sort answer: **__No!__**
Long answer: almost never.
Programming videos can be split roughly into two broad categories :
- those that aim at __teaching a language__, usually from scratch for people with no background
- those that aim to __showcase a situation__, a library or a framework (these are **OK**)
Video materials for learning a language, **especially the multi hours ones**, tends to have really low added value. Here's why:
- Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial
- Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it useful
- Thirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading
- Lastly, watching videos is a passive activity by nature. Classes tend to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active
On a final note, __it will greatly depend on the video maker__ but it's a lot easier to copy and tinker with the code from a text tutorial than a video```
code block cuz formatting c:

well yes
@static zealot,
=faq <key>
=faq <add/edit> <key> <message>
=faq delete <key>
=faq raw <key>
=faq list
?<faq key>
nvm
that would only add
characters
maybe just leave it as a paste?
or make it 2 parts?

I mean you could strip out the whole first bit
- those that aim at __teaching a language__, usually from scratch for people with no background
- those that aim to __showcase a situation__, a library or a framework (these are **OK**)
Video materials for learning a language, **especially the multi hours ones**, tends to have really low added value. Here's why:
- Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial
- Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it useful
- Thirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading
- Lastly, watching videos is a passive activity by nature. Classes tend to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active
On a final note, __it will greatly depend on the video maker__ but it's a lot easier to copy and tinker with the code from a text tutorial than a video```
lmao sure ig
Programming videos can be split roughly into two broad categories :
- those that aim at teaching a language, usually from scratch for people with no background
- those that aim to showcase a situation, a library or a framework (these are OK)
Video materials for learning a language, especially the multi hours ones, tends to have really low added value. Here's why:
-
Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial
-
Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it useful -
Thirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading
-
Lastly, watching videos is a passive activity by nature. Classes tend to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active
On a final note, it will greatly depend on the video maker but it's a lot easier to copy and tinker with the code from a text tutorial than a video
so anyone got any ideas please? thanks
like it doesn't work
at all
Sounds terrible
hmm
New SSD arrived 
pog
fucking hell
ptero
is saying that the server is running
but when I try connecting to the ip
doesn't work at all
lmaoooo
Blitz is hella smart - IQ 1000
never said I'm smart
lmao
just leaking private messages smh
lmaoooo
but still
that didn't help at all
so its not that MM
you can do shit like this <T extends Foo & Bar>????????????
why did no one ever told me that???????
you don't deserve to know
not like I'll ever use it but OMG
Ah weak

But you have to declare the class first iirc then interfaces or smtng
What
Pretty sure you’d have to type <T extends Event & Cancellable> other way around won’t work or if it was the opposite
I mean it's just like when you make a class, it can only extend one class/abstract class but implement any number of interfaces, same thing applies in that
Out of all the "extends", one only can be abstract class/class and the rest itercafes
Interfaces
Ofc
But what if interface Foo {} and class Bar {} 
Yes
No
Ok
Nok
@quick flume I found a good use case for the lambda functions like that
module.exports = {
decay: (a, b, c) => (a * b) / (a + c),
intervalAdd: (a, b, c) => b + Math.floor(a / c),
decayMulti: (a, b, c) => 1 + ((a * b) / (a + c)),
bigBase: (a, b, c) => b + c * a,
log: (num) => Math.log(Math.max(num, 1)) / 2.303,
};```
Works really nicely for the disc bot i'm working on
that
exists??
lmao yes
so it has to be a class that implements both, yes
Yeah
interface ThickConsumer<A,B,C,D,E,F,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z> {
void accept(A a, B b, C c, D d, E e, F f, H h, I i, J j, K k, L l, M m, N n, O o, P p, Q q, R r, S s, T t, U u, V v, W w, X x, Y y, Z z, A a, B b, C c, D d, E e, F f, H h, I i, J j, K k, L l, M m, N n, O o, P p, Q q, R r, S s, T t, U u, V v, W w, X x, Y y, Z z);
}
^^ just in case if you forget the alphabet
oh god
what happens after Z tho
like actually
can you have more than 26 types of those generics
i dont think you can
cause java will think its an actual class
but you can make an extra class
Z<ThickConsumer> :]
What is mojang_1.16.4.jar and patched_1.16.4.jar?
(in cache folder of paper minecraft server)
Anyone know?
u can have more than 26 type params
is there a limit?
it’s convention for them to be a single capitalized letter, but it’s not enforced
idk fefo
oh nice @hot heron
"mojang" is the vanilla server jar, "patched" is the modded one
wdym "modded one"
paper
bc i thought all the modded code was in paper.jar
craftbukkit + spigot + paper
the paper jar you download is not the actual server jar
that is illegal to distribute lol
wait so does "patched" have everything in "mojang"?
so what they do instead is give you a jar that has the modifications to apply to the vanilla jar
correct, it is the vanilla jar + bukkit/spigot/paper modifications
ah okay
wait then what's the point of the mojang jar
since patched has everything in it anyways
they first download it when you run the paper.jar, and on top of that one apply the modifications



