#dev-general
1 messages ยท Page 534 of 1
but
yeah that background kinda kills my eyes
#111
Anybody here familiar with context diagrams?
nicolulu
coolulu
She'll break your nico nico kneecaps
uwu
Nico de' Angelo
my cringe 12 year old "girlfriend" used to go round saying nico nico nii unironically
๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐
a man of culture
๐
Hello! Does someone know how to play the block break animation using Protocolllib? Im struggling xD
Cursed
#development pls
ty
I swear that character entered as a demon and they finished the series with him being a shy gay kid
lmao
lol
Same difference really
Sry
lol
Luckily this isn't anime
oh
Percy Jackson
oh
Wow wow, you give shame to weeb mitten!!
xD
I am a fake weeb, an imposter, you might say
I cant find my normal percy jackson ones
i am disappointed
found a heroes of olympus copy
That series is lowkey better
I'm not
Yea its pretty great
I also read the first part of the apollo series
At least the movies had Alexandra Daddario and her 2 beautiful .. blue eyes
xD
blue
๐
๐คฌ
we all know what you meant Matt
Yeah I've only read the first one, didn't the final one come out a few months ago?
Also the Norse and Egyptian spin offs are really good too, would recommend
Theres another movies that shows exactly what he means
ngl, I can finally see stuff properly with this new monitor
But youll have to search somewhere else
is there now?
Yes
Ic
why would you want to see java properly ๐ค ๐ ๐
That's why you use Matton One Dark and increase font size ๐
Every time someone mentions the percy jackson movies someone must send screenshots of the book author's tweets regarding the matter
I have not opened IJ in over a month, couldn't care less about the theme right now
I didnt like those much ๐ฅฒ
Percy Jackson but with Thor!!
I think they were pretty fun but not as good as the originals
yea
Dude I read that about 4 times back to back when I was on holiday at like 11 years old
Masterpiece
yea man they completely ruined sea of monsters
Why the fuck does kronos wake up in that
Reminds me of God of war, Kratos going into norse mythology
Didn't he also write an entire blog post about some school using the films or something?
We never got the luke empowered with kronos fight
I don't know about that
We never got any of the good bits
Yea
oh
And the first movie actually make Hades the theif
nvm then
It was supposed to be just luke
opinions on background?
They're making a Disney+ adaptation though so there's hope ๐
Hades was supposed to be innocent
It's not dark gray
more or less
not bad.
yeah stupid film makers don't understand the point of a plot twist
but gray is dull
Yea
color ๐
You're dull
hope for what? its disney ...
yeah we're gonna make the plot as predictable as possible, that whats the audience want
lol
๐ค
disney as a company suck but their series's don't miss
it makes them feel good while watching
Man I would have loved to see The Last Titan properly done in live action
and they're actually working with the original author to adapt it
What color is that? lol
Which is progress
gray
Wait really?
Excuse me?
windows announcement time thing :D
Do you mean titans curse?
let me check the name
Yup, I don't think they can give much information yet but it definitely exists
Did you have to choose the ugliest gray possible?
I remember it as The Last Titan
๐ whats a good color for dark gray?
#333
Titans curse is the 3rd book I think
#333333?
Christ how many more were there
Yeah
#2A2D32
I stopped reading at some point
Heroes of Olympus series came a few years later with 5 new ones
With romans
I read like the first 2 of those
but i mean
Better
And then stopped
that one was so good
Was that it?
- Lightning Theif
- Sea of Monsters
- Titans Curse
- Battle of the Labyrinth
- The last Olympian
it looks a lot better than my gray xD
It's discord's gray
oh
Theres also an extra book that gives the backstory of the gods and other demigods
Then
- Lost hero
- Son of Neptune
- Mark of athena
- House of Hades (objectively the best)
- Blood of Olympus
Was that the one with the haunted house sorta thing
With the evil curtains and the dogs
no just a separate book with multiple individual stories
matt how's this look?
Like the birth of the great 3
Oh hmm
๐
also note that this is supposed to be a game
Festus The Dragon Ship
Was that demigod diaries yugi?
Did you make it slightly greener? But better than the blue
Im not sure bm, I read it like 5 years ago
i just took a screenshot of my intellij theme and put it on a website
Oh yeah
Demigod diaries was the one with the short stories
The book had a green cover
yea then thats probably it
๐
๐
Gotta read the apollo ones sometime
this looks questionable
Yea I havent found the second part in any nearby stores yet
lmao
I mean all 3 tho
All of them broke their pact
Thalia -> Zeus
Percy -> Poseidon
Nico -> Hades
xD
๐คฃ ๐คฃ ๐คฃ
Not the english pronunciation dumb dumb
don't care that's the real pronunciation
"Hay" is just disgusting
Spa-ds
๐ ๐
No
hey ๐๐
ok so, what is used?
Do you want me to list all pronunciations without "Hay" in all languages of the world?
No like in english
Nothing
Oh, I thought you were saying Hay wasnt english pronounciation
theyre integrating ms teams into windows 11 ._.
No I was saying english is disgusting ๐
average "other languages" fans vs english appreciators
lol
Is that guy... eating a... brick?
yes ๐ตโ๐ซ ๐ตโ๐ซ
Wtf is wrong with these people lmao
Well
oh my
2 bricks to be precise
I'm more concerned about how he still has teeth
๐
So ive gotta make a data dictionary that shows all the variables i use, but how do i show an example of a variable, do i just like show how id define it or something, just wondering iff anyone heres done one and knows how i can do this
Shouldnt this not really work in kotlin?
data class TestType<in T>(private val value: T)
class GenericsTest {
@Test
fun testGenericConversion() {
val a: TestType<Number> = TestType(1.toShort())
val b : TestType<Double> = a
println(b)
}
}
I guess i see why this works but it would be a terrible design, right?
wdym? seems fine
Well it runs ya, but it kinda looks like you are trying to cast a short to a double
That could probably be a value class right?
though i guess i get why it works
Thats not it
All of them are converted to Number
if you go in the debugger they arent
in Number means anything above number can be passed into it
because a short is a Number
Numbers are kinda interchangeable, for example 1 is a short but 1.0 is a double, etc
=Thing is, that TestType cant produce a Double even after you assigned it to that
the in limits you to only being able to take in that type
look up contravariance
ya thats what ive been reading about and why i made this test
I get why it works, but it just seems kinda weird
Would saying in T be the same thing in java as ? super T?
Not the same
This is declaration site variance
Wildcards are only in type use
But effectively the same
Super wildcards allow contravariance
I don't get that, isn't the only thing above Number an an Object?
That is wrong though
That would be covariance
If you have a type Foo<in T>
Foo<Double> is assignable from Foo<Number> but not vice versa
covariance (the opposite) is out
I never said the reverse was possible
I simply said the generic can be changed to any of the extending types
You want me to draw?
I mean Foo<in T> can be assigned to some Foo<S> where S extends T
Its a consumer of any T
That is not correct
๐ฅด
How so?
I'm not sure why you use this example in the first place, variance is used in the assignment target
The example is of an assignment target
In your example Foo<in T> is not the target
the target is not the right hand side
Im not sure what you are going to here. What exactly is wrong there?
Well, terminology for one, it seems
But also, it just doesn't make sense on a type level
kotlinc does not accept that
Unless there's something else I'm misunderstanding about what you're saying here
Can we maybe get away from assignment and just talk in terms of typing relations
as in
// a: Foo<in T>
Foo<S> b = a
``` is invalid?
Yes
This example doesn't make sense to me
What would be your correction in that?
but I also tested it
Well without any context there is nothing to correct lol
S extends T => Foo<in T> extends Foo<S> is simply an incorrect statement
I am using "extends" as in "is a sub type of"
Foo<S> extends Foo<in T>
That is still not correct
And even if that were true
Assignments don't work like that
Assignments are covariant
The same way you cant assign Object to String
Foo<S> and Foo<in T> are actually fully disjoint
they share no values whatsoever
Assuming that S != T
fun main() {
val a: Test<in Number> = A()
val b: Test<Int> = a
b.test(5)
}
โ
โ
interface Test<in T> {
fun test(t: T);
}
โ
class A: Test<Number> {
override fun test(t: Number) {
println(t)
}
}
Now you're doing something different
In your previous example, you once specified variance and once didn't
So I assumed there was no declaration site variance
Ok, now, is this example not correct?
This example is correct
Because Test<in Number> extends Test<in Int>
It would not be correct without declaration site in however
in in the first one, right?
No, in your class declaration
I am talking about the type parameter declaration of Test.
Because Test<in Number> generally does not extend Test<Int> because generics are invariant by default
ah, got it
val a: Test<in Number> = A()
val b: Test<Int> = a
Doesnt seem to be accepted, but works with in Int (without the in in the interface)
My bad
Yes, right
Bruh
xD
Lmao
read a bit lower
tho
he doesn't even know what your code looks like
lmao
so yeah you don't really have any chances :))))
@half harness u busy?
still working Ic
im converting my game theme into a nicer one
๐
๐
lol
I think I've done quite a good job on this recent punishment plugin I've brought forward like 4 years
dkim wanna take a 2 games break? xD
What is the best way to Match materials that users input in configs between the new versions of mc and the older ones
I am using XMaterial right now but it doesnt seem to be working very well
isn't x materials suppose to handle all of that for u tho?
๐ฎ
LiteBans?
I haven't used xmaterials before so idk
It is but it's weird
Nah it's called Bungee Admin Tools
I dont know if im not using it right but when a user inputs like ACACIA_LOG it still wont work
oh
You set your api-version to 1.13 and then you use matchXMaterial that's all you need
Yeah I do that but then I encounter the issue I just mentioned
I just don't want to it be confusing for them
And did you set the api version?
yeah ofc
They still have to use LOG_2 not ACACIA_LOG and it can be like that for many different blocks
can get confusing for them
I mean if they are on an older version if they type ACACIA_LOG it won't work, because that's not the name, the user needs to type the correct material name based on the version
@static zealot join
done ๐
ty
omfg
?
Linus spent $250k on alpaca wool
did I spell it wrong?
no im surprised
oh yeah. its the stock for 1 year of pillows
bcz the price is going up and their manufacturer wanted them to stock up on it
so I guess if you want to invest in something, invest in alpaca wool !? xD
Does Math.round() not remove the decimals completely or will it still say for example 3.0 after rounding?
Math.round returns a long/int depending on the argument, so yea, you wont have the decimal place when converting it to string
toFixed(0)
?
What are you printing?
3.0 as an example
No, I mean show the snippet where you print
And the entire output string too please
What type are you using for prRank
Double
...
xD
Thats the issue
Oh what
even if Math#round returns an int it will get converted to a double xD
bcz your prRank is a double
You're using a floating point number
or that java lol
So ig I need to cast to int lol
I cannot multiply doubles with ints right?
you can
Yes you can
Oh my
the output will be a double tho
Then there's no reason for it to be a double...
yes there is
Oh okay
bcz you declared it as a double ...
That fixes it, also removes the .0
Ah yeah true
@half harness u afk?
no
o
:)
Is it possible to print something in bold to IntelliJ terminal?
if a spigot plugin is run on a server with mods - idk how, just saying - is possible to let the user to use namespace key:material id to use either modded items or vanilla items?
Tyvm
how the hell did i manage that
Active servers with the plugin I think?
oh
Not sure
What is the plugin
pronouns
its so niche that im honestly surprised i managed to do this well
i was expecting like 20 max
Ohhh I see, great idea for a plugin
Yeah seems like it
and probably some troll servers in there as well
probably
they bump the numbers up tho
i had some big factions server staff team come and troll in my support server once
when the contributors to society have something to say
society is a better place thanks to mediocre generic factions servers ๐
we do a little delinquency
i've heard that before ๐ฅฒ
nah just kidding, i'm still an innocent boi
Yeah virgin better
well I never said that
๐
https://i.imgur.com/CyCJ8MH.png Java <in whatever version this was added> โค๏ธ
sucks to be you
Nah only local variables
not bad
i thought they expanded it in like java 13
Don't think so
ah yeah you right
man if only they did the kotlin way and allowed it everywhere
would really help java methinks
yo gaby that pikachu background looks super fire ๐ณ
Whoโs
scroll up a few messages ๐ฅ
var is op
let is OP ๐
void a() {
var b = new c() {
D d;
};
System.out.println(b.d);
}```
Hey devs, do you know whether it's allowed to submit your Spigot plugin to multiple websites (spigotmc, mc-market, polymart etc.)?
Or is that against their TOS?
against whose tos
well I especially care about spigot and mc market ๐
Can you use Google Sheets as a database? Learn how to build a Next.js app using a spreadsheet as the data layer https://fireship.io/lessons/google-sheets-database-nextjs/
#googlesheets #js #webdev
๐ Resources
Source Code https://github.com/fireship-io/google-sheets-database
Google APIs PRO Lesson https://fireship.io/lessons/google-apis-node-t...

I saw that
It's funny
When I was a coding noob, I used google sheets as my first RAT database
For logging connections and screenshots taken by it
@quiet depot the one time I try to use Stripe the person's credit union gets declined ๐ฅฒ
how u charging them thru stripe?
what stripe feature
well i dunno i said pay however much you feel like it's worth and they tried signing up for stripe I guess and got rejected?
i dunno man i just sent them my paypal email lmao
also sorry did I wake you up lmao
I mean it only makes sense, if you end up doing var map = new LinkedHashMap<K, V>(); as a field, map won't be a Map<K, V> (i.e. any kind of Map regardless of impl), it will be only and exclusively LinkedHashMap<K, V>
SOLID go brrrrr
Cast it 
:kekw:
If i extend an abstract class, there is nothing wrong with passing a value to its constructor too if it has one right?
Yeah I know what you mean, Map.of would do that though
Or var map: Map<K, V> ๐
indeed
Absolutely not
I mean
Yeah it's fine
How so?
I mean why is it abstract then
Feels like a leaky abstraction to some degree imo
Or at least a not powerful enough abstraction
i have one method that is abstract but i also had properties that were abstract but I wanna move them to constructor since i dont want them to be publicy accessible
private setters
and public getters
๐ฅฒ
Nerd talking about Development...
wat
Sensei do what feels best for you ๐
โ
SyntaxErrror404 dropping da roast
I was hoping to be nerd like everyone here... But it's hard
Hmm I believe in you


Look like some science labs here... Calculating something
Killed a chat, Very nice of me
class Smth(val uuid: UUID)
abstract class Smth2 {
abstract val uuid: UUID
}
whats the differences between these really
expect the fact one is constructor invocation
is it that Smth2 must be extended?
so that would be a case of unnecessary
Leaker Developer
Yeah cuz in principle that can be achieved by just a normal data class/pojo
Creating powerful abstractions often means that we use polymorphism to its fullest

or just have the compiler figure out the type from the first time it's used ๐
abstract class CountdownRunnable(timeToComplete: Long) : BukkitRunnable() {
var timeToComplete = timeToComplete
private set
var finished = false
private set
override fun run() {
if (timeToComplete <= 1) {
finished = true
onComplete()
cancel()
return
}
timeToComplete--
}
fun start(plugin: JavaPlugin) {
runTaskTimer(plugin, 0L, 20L)
}
abstract fun onComplete()
}
``` something like this is fine right since `onComplete` would be different depending on use cases?
I mean you could use a () -> Unit function type and pass that as a callback object
But thatโs fine I guess
that was my other option but I would prefer if it was extended anyways i think
it just seems more correct
๐
Well the first time it's used is when you assign it a value lol
I guess it also means that my code is forced to be a bit more coherent
yes exactly
so why can't it figure that out hmm
I mean that's what it does
java bad kotlin good
So it makes it a LinkedHashMap
Cohesion feels like a vague sense here SenseiJu
I mean people define what cohesion is quite differently
ยฏ_(ใ)_/ยฏ
I think ill stick with the abstraction, just seems it would be clearer if alot is happening inside that method rather than using a callback
appreciate the input
I guess it comes down to preference
Oh no...
css comes back with its annoyances again
but this time
in jfx
actually wait no
I guess this isnt a css issue
hey so do you need kotlin to use gradle KTS
because I'm getting this error on my CI
AILURE: Build failed with an exception.
* Where:
Build file '/tmp/build/80754af9/bungeeadmintools-git/build.gradle.kts' line: 46
* What went wrong:
Script compilation error:
Line 46: file.inputStream().use { translationFile -> translationFile.transferTo(zip) }
^ Unresolved reference: transferTo
1 error
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 50s```
but it works on my computer soooo
./gradlew --version
... Running build
Downloading https://services.gradle.org/distributions/gradle-7.1-bin.zip
..........10%...........20%...........30%..........40%...........50%...........60%..........70%...........80%...........90%...........100%
Welcome to Gradle 7.1!
Here are the highlights of this release:
- Faster incremental Java compilation
- Easier source set configuration in the Kotlin DSL
For more details see https://docs.gradle.org/7.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :
e: /tmp/build/80754af9/bungeeadmintools-git/build.gradle.kts:46:85: Unresolved reference: transferTo
The ci runs ./gradlew ... right?
yes
though I don't know what version of java it is
and doing java --version killed it lmao
... Running build
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.```
yeah well
image_resource:
name: ""
source:
repository: java
tag: latest
type: docker-image```
that's my config file
so uh, I don't even know where that comes from
Lmao
like this is so poorly documented
i can't figure out where I find image resources
okay wait I think it might be from docker hub
You're probably on java 8
yeah well they shouldn't have called it latest then huh
Try java -version instead of java --version
well hold on I might've figured it out
I think it gets it from docker hub and I'm seeing what versions they have available
"not-16-lmao"
๐ฏ
The --version one should exist from 9 and above
I gave the -version one in case it was 8
But welp ๐คท
Ah lmao that explains it
ahhh
okay now to figure out how to get it to output the built jar and have it for download
okay whelp
time to setup reposilite lmao
boys it's all coming together
i just had to erase everything certbot did and let it redo itself
now i just gotta figure out how to publish my builds with gradle
maven-publish plugin.
even you have it commented out though!
That's cause I was too lazy to properly only enable it for system variables.
And I don't do an API release every time I deploy an update to SpigotMC.
Only when I make API changes.
Hmm well, my CI doesn't provide build artifacts
So every change I make needs to be somewhere to download, right?
Hmm?
Ahh yeah.
but I would like a convenient place to download any builds I make
You could apply for https://ci.codemc.io/
So you could publish your builds somewhere?
I setup a Reposilite?
I mean that's for a maven repository.
I have no idea what that is tbh.
I think their setup is very pretty and I like a lot about it but it doesn't provide build artifacts for some reason
Build artifacts aren't necessarily maven artifacts.
Take LuckPerms for an example.
The API is separated from the actual project.
The API is deployed to a maven repo while you can download a copy of it on SpigotMC.
That's a bad example but hopefully the point got across.
maven central ๐
But is there anything stopping me from just deploying every build to my reposilite and using it to download and stuff? like for dev builds in a different branch
No not really.
okay cool
@obtuse gale Actually looks nice this way ๐ฎ
yo i like that i like that
Writing the processor for it now
scared of the parser ๐ซ
lol gl
@cinder flare thatโs not how it works
u donโt pay people using stripe
the buyers donโt have a stripe account
they just use their credit card or bank or whatever
look into stripe checkout
see that's what I thought but I didn't care enough to explain that to them
Usually what I do is commit small changes, until I push to my github repo, and then I push to reposilite at the same time.
why deluxe menus not working is asking ''is that update ?''
its up to date downloaded form spigot site
Anybody here familiar with context digrams and how I can fix this one up, unsure what the connection from User Data File -> Game should be , and Game -> Player, the idea of the game is somewhat similar to like snake or something, but basically once you win your high score is saved in a file, and is also retreived when nceessary
where can I find how I can get the amount of items in a custom created inventory in place 1 example
what does the int meaning
does this also work for a custom inventory?
yes
Inventory is Inventory
okey thanks ๐
Math is Math
Well, except for those times it isn't
sounds like docker but you pay amazon
How can this plugin support modded items with this https://github.com/ConnorLinfoot/CratesPlus/blob/master/src/main/java/plus/crates/Crates/Winning.java#L58-L59? It is weird but someone showed me a picture of a crate that has modded items in it xd
d;spigot material#getmaterial
@Nullable
public static Material getMaterial(@NotNull String name)```
Attempts to get the Material with the given name.
This is a normal lookup, names must be the precise name they are given in the enum.
Material if found, or null
name - Name of the material to get
maybe the mods override spigot's getmaterial to add their items to it
or append to the material enum
Only if spigot had a way to get the item by its key
^
Interesting
alright so concourse looks pretty
but it does not fit my needs
is jenkinsx any good?
๐
apparently it's based on kubernetes instead of docker
and we're a docker household here so gotta find something new
specifically one that provides build artifacts to download ๐
how can I change the basic spigot unknowncommand message in code?
ah yes, forgot spigot has no lang file
but do you maybe have a source where i can find this?
messages:
whitelist: You are not whitelisted on this server!
unknown-command: Unknown command. Type "/help" for help.
server-full: The server is full!
outdated-client: Outdated client! Please use {0}
outdated-server: Outdated server! I'm still on {0}
restart: Server is restarting```
line 35 of spigot.yml bro
yes I know but can i change this in code of my plugin instead of in the spigot.yml
ah okey
bro wtf, why do none of the CI/CD systems besides Jenkins store the artifacts
Don't most of them do that? At least CircleCI and github actions are definitely capable of that ๐ค
Jenkins is the only self-hosted open source one that does it
all the others I've seen are docker-based, so they don't store state anywhere
so you gotta put artifacts in a repository or suttin which I am now okay with, the problem is passing my repository credentials
Just use environment variables
Just deploy the docker images ๐
Is circleci any good?
i mean meh
i currently like concourse a lot for what it offers
go jenkins if you want the classic
oh that advice I just sent is for self-hosting
I just want something for dev builds
i mean then yeah jenkins or circle ci or even github actions will be what you want for easy setup
I already have github actions setup but for some reason the artifacts aren't available to everyone
#general-plugins help please ๐
i am going to commit bathtub toaster
i literally spawned 3 workers for this bad boy
i stg
do not ask for help in non-support channels
that's the fastest way to get nobody to help you
also you have to understand that we might not be familiar with some plugins. You have to wait for someone that is familiar with it
Need urgent help but
well our knowledge won't just grow bcz you need urgent help... you can do the same thing we can. Go to their documentation and check.
@cinder flare
Tamcity does but it's a PITA to setup
tc is easy if you use docker
uuh star, plugin.yml files have custom no permissions messages
lol
https://www.spigotmc.org/wiki/plugin-yml/#commands permission-message
@proven forge
nobody uses that
i didn't even know that thing exists
The person asked how ๐
If I'm being honest I didnt know what I was doing and tried doing it on a .dev site.
Had a very difficult time getting a cert for a site you cant launch without a cert.
could you not use a dns based challenge
Again, didnt know what I was doing
What is the best bungee + servers hosting rn?
anyone here wanna gimme a hand designing Krypton's AI goal and pathfinding API?
uhh can someone help me with a issue? I will dm you the video to show what's not working ๐
what issue?
a compiler error I can't figure out
plugins: #general-plugins or #general-plugins-2
coding: #development
minecraft: #minecraft
ask in #development
ye no attachment perms
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
@half harness I summon you
you're to busy for me nowadays. smh. dkim I want to break up with you now
sheeeesh
o
Just curious how do I setup a cog and name it using python and discord.py
Yo how do I get the java 16 image on ptero?
I've tried docker pull quay.io/parkervcp/pterodactyl-images:debian_openjdk-16 and it said it pulled but I can't select it in my panel. Do I need to restart the wings or something?
It should be provided by default on latest update no?
Pretty sure any time you add anything you need to restart wings
ugh I am on the latest rn but its not there
I Just updated
already restarted since I Updated after I downloaded
but yeah
it still doesn't show up
is that just systemctl restart panel ?
you can't restart panel. you'd have to restart the webserver. I had to go into settings > nests > Minecraft Nest > Paper Egg and add the version there
seems to work
ahh, ok. Haven' t really used it in a while
asked in ptero discord btw xD
I Forgot ... that's a thing
even tho I saw the download command
there
so yeah
that's me
okay this whole "Duplicate lines" warning is complete bullshit
what the fuck
????????????
xd
xdd*
xddd*
xdddd*
Anyone got a decent way to copy everything important from a VPS
Going through it all manually with SFTP is going to suck
Zip, download, upload, unzip?
haha
see that's the best part of docker
i can just delete entire services if I feel like it and remake them instantly
very convenient
Yeah well I'm like, moving actual VPSs
tar ๐
tar and gzip
i saw some other algorithm a while ago that was supposed to be better than both combined
cant remember what it was called now
i think some facebook researcher made it
rar :kek:
My 11th grade computer science teacher wasn't great at explaining nor an expert on a lot of the things he was teaching, but one thing he did right was scolding me for handing in a .rar file for an assignment
lmao
poor winrar
he got real mad and I will remember that
winrar deserves it
lmao
Got scolded for handing in a rar as well lmao
winrar has a nostalgia factor, similar to the 80s
downloading virus minecraft mods for 1.7.10 ๐
the good old days
trying to figure out why i couldnt run modpacks on my 2gb ram pc
no dude, it's installing mods by opening minecraft.jar and putting the class files in manually
back in the days of Better Than Wolves and TMI
Downloading mods and your PC suddenly getting slow
YES
And next time you open your browser it's so colourful
๐
The yahoo menu bar and everything
ahahaahahah
The workers are on strike
I have 3 workers!
maybe if you [haskell joke] it would be better
and if anything, the one that just did the gradle should be doing this one
They demand better star
not based
some of the haskell unsafe stuff is so weird
there's an entire module called GHC.Magic
sounds like a fancy version of sun.misc.unsafe
that looks like a c# namespace lol
and Unsafe.Coerce which allows you to do type coercion like casting c pointers ๐ฅด
I'm sorry that you're familiar enough with C# to recognize that
๐
(void*)
types can be anything I want
oooh .toCharArray and all that
yea
ooh you can crash it by coercing a string to an arbitary length integer
oh no
90% cpu usage
help
when they said unsafe, they meant unsafe for your life, not unsafe for the language's safety features
presumably both
coercing things to functions causes a segfault
this is weird
returns something different every time
i guess that's a pointer or something?
probably a memory address yea
dude segfaults in Haskell
now that is something I never thought i'd see
๐
funnily enough the "unsafe" packages are very good at segfaulting things
you can crash the jvm in like 2 lines as well
with great power comes great responsibility
now this is odd
coercing lambdas always returns 256
whereas converting a named function seems to return the memory address again
@obtuse gale Can you accept me? Have to talk with you ๐ฆ
https://github.com/SenseiJu/Sentils ๐ค
My first likkle library ๐
what it do
It's a semi-useful Kotlin library for Spigot that nobody asked for!
:)
uh oh
i spy a !!
โผ๏ธ
๐
a kotlin library throwing NPE instead of KNPE ๐
Evil
โthrow new ArrayIndexOutOfBoundsExceptionโ
Pretty cool though! ;p
Hopefully it never reaches the point that it even throws since PlayerInventory is for a player and location shouldnt be null ๐
Also why underscore in package name tho lol
should be throwing IllegalArgumentException or something like that
datastoragestorage
I'd just call it storage
ยฏ_(ใ)_/ยฏ
oh yeah that package name was questionable
i must be high
also could avoid having to use !! in the CooldownManager class, i believe it was the isOnCooldown function
oh btw sorry for da bully, but don't commit .idea folder, or add ```
User-specific stuff:
.idea/workspace.xml
.idea/tasks.xml
.idea/dictionaries
.idea/vcs.xml
.idea/jsLibraryMappings.xml
Sensitive or high-churn files:
.idea/dataSources.ids
.idea/dataSources.xml
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
Gradle:
.idea/gradle.xml
.idea/libraries
Mongo Explorer plugin:
.idea/mongoSettings.xml
File-based project format:
*.iws
ik it wouldnt ever get to that point, but better to stay away from all evil ๐
it didnt like it
you can use ?
instead of !!
? = run only if not null
