#general
3141 messages · Page 76 of 4
The point of the msi's is that they are the full version
so Chrome can be installed while offline, etc
and sometimes you need an older version
compat breaks, etc
oh yeah msis are supposed to be portable
that kinda seems like XY problem to me, but ¯_(ツ)_/¯
Pretty sure that some places also disable the auto update and install the msi's on their clients automatically
yes
and only push updates when they've confirmed internal applications are compatible with new versions of the browser
What should I get for food tonight
McDonald's maybe
Ever had poutine from McDonald's @merry talon?
Is it good?
its not bad
What do you get from McDonald's?
but far from the best I've had
mcdonalds isn't my preference but usually a mcchicken
or a breakfast wrap
and fries of course
You don't get very much though
P $4.39, M $5.89
the ratio is usually a lot more from other places
fair
dairy queen poutine is really good surprisingly
good point I haven't seen them on any of the apps either
which app is that?
SkipTheDishes
ah that one I haven't tried because they seem to treat their drivers the worst and their ads are fucking annoying
and uber is just a horrible hostile company so DoorDash is my go to
They're the only ones in my area who deliver
oh
As a McChicken?
pretty much iirc
Any difference that you could tell?
Hmm
I don't think I can
oh
meh
just watching Tay delete and repost the same tweet over and over again like 5 times now
why can we still not edit tweets
the infosec tay btw
mcmmo discord must have dropped a link
mcmmo refugees 
I was curious if anyone might know of a Waterfall/Travertine-like server for 1.6
nossr figured this would be a better place to ask
if you dont need it to support modern protocols I'd suggest just going and using an old version of bungee
if you do it gets a lot more complicated
Im not aware of any proxies that support that far back as well as modern
Ok ty
bungee would be the only proxy I know of that would work however you would need to find an old enough version that supported it
like one of the beginning versions if they still exist
so everyone should ping wiz in mcmmo because he cant respond
i'll kick you from enginehub :^)
that about the best threat i can come up with for you
:c
sadly not retard free
talkin bout u
don't make me spank you 
keep ur weird fetishes out of here u filthy weeb

SCOOP: Facebook harvested 1.5 million people’s email contacts without their consent. It says it “unintentionally uploaded” them after asking users for their email passwords. https://t.co/HlqCFQ3smx
561
574
(DiscordBot) ✓@robaeprice (Rob Price): SCOOP: Facebook harvested 1.5 million people’s email contacts without their consent. It says it “unintentionally up… https://t.co/cdtT7035x1 (2 hours and 54 minutes ago)
“SCOOP: Facebook harvested 1.5 million people’s email contacts without their consent. It says it “unintentionally uploaded” them after asking users for their email passwords. https://t.co/HlqCFQ3smx”
no clue why them even asking for that would even be acceptable
@cosmic raft how was the food
at some point they had an option to give your email password, because clicking email links is too hard
can facebook just be over already
I accidentally found this http://s3.amazonaws.com/MinecraftDownload/minecraft_classic_server.zip on mojangs download server
I modded the 0.30 classic version from the client (which usually doesn't support multiplayer). Now I managed to setup the server and join it https://imgur.com/a/9X7Hezf
i still have the files for a classic spleef server lying around
Nice :D
If someone is interested in the modded client jar to join such a server, I can upload the files somewhere
But I guess nobody cares :D
Hi folks.
How's 1.14's server performance supposed to be in comparison to 1.13?
My server's still on 1.12(.2) and some people were wishing they had the new trapdoors and blocks and stuff on 1.13(.2) but everyone, including Aikar, me after testing a server on it, has an agreed consensus that 1.13's server performance is awful in comparison to 1.12, but we'd still like the new blocks.
With 1.14 coming around the corner, I was just wondering if anyone knows if that had some server-side optimizations (or something) that made it not as bad as 1.13.
Thanks.
maybe replacing the event bus will speed things up
you could try writing a custom one that allows fast dynamic registration of handlers
:^)
sounds pretty easy :>
delete the server, then you have no performance issues
@austere ivy
My server's still on 1.12(.2) and some people were wishing they had the new trapdoors and blocks and stuff on 1.13(.2) but everyone, including Aikar, me after testing a server on it, has an agreed consensus that 1.13's server performance is awful in comparison to 1.12, but we'd still like the new blocks.
Then just upgrade your server to 1.13 you dingus
it's awful enough that we're going to drop 1.13 support after 1.14 has stabilized
while keeping 1.12 :>
least that's what 2 said
wat sap boiz
tacos
ur retarded
thanks dad
ur welcome my only son
oracle licensing
they want contracts n shit for enterprise grade support
if you use openjdk, life continues to be beautiful like before
what about openjdk 8
it hasnt been significantly behind since java 6
8 is missing some EE shit no one uses
most people have been running servers off of openjdk for years, some without even knowing it
everything i run daily or not so often runs fine on openjdk 8
intellij, gradle, maven, minencraft, runelite, ant etc.
is the JRE performance good with openjdk?
yes
you understand openjdk is the reference implementation right
its the one they work on before oracle ever gets near it
We've used the openjdk for quite a few years.
haven't noticed any performance degradation between it and the Oracle one.
because linux generally likes to install openjdk anyway.
you understand openjdk is the reference implementation right ngl I don't know what that means guess I'll google it
basically one and "the correct" JVM implementation
In the software development process, a reference implementation (or, less frequently, sample implementation or model implementation) is the standard from which all other implementations and corresponding customizations are derived
openjdk is written against the java/jvm spec by oracle (?) guys
oracle's JDK has historically been built on top of the openjdk
they've been diddling with it less and less
and now that they've made all these licensing changes they're really pushing people to get off of oracle if you dont have a license
why do they change it? what's the point of maintaining 2 of them 
enterprise support
& EE libraries
java EE is dead
its its own separate project
they handed it off to eclipse foundation or whoever
support is what enterprises pay for
commercial support....
idk what examples are
never seen java commercial support in action lol
priority support from real people, not waiting for an open source maintainer to have time
fixing things after public expiration dates
I guess I'm wondering what commercial support actually means
it means if you have a problem oracle puts an engineer with you to solve it
rather than googling shit
so they fix some complicated shit then
when youre making millions per day off of some software project, having an issue is bad
you will pay out the nose to not have problems
and to get those problems resolved quickly if they come up
rather than "just google it, idk make a PR, known bug deal with it or upgrade"
so this is Oracles business model https://youtu.be/bLHL75H_VEM
Just Bret Hart doing some code review.
(DiscordBot) You're dereferencing a null pointer! - length 10s - 7,823 likes, 43 dislikes (99.5%) - 853,340 views - gigagigagilgamesh on 2015.09.15
^ commercial support woooo
Java 8 just went out of public support for example
is there some legit reason to ever be stuck on java 1.6
legacy software
libraries
it just works
if youre making cash hand over fist on 10 year old software you arent going to upgrade just for funsies
mc was compiled with java 6 for years iirc?
hence mojang's stripped down fastutil existed
RedHat is actually going to keep supporting Java 8 for some years with fixes and backports for free on OpenJDK
as they've taken over maitainership
since some version they bundle full blown fastutil lul
so you know, good time to switch anyway
so why does oracle charging people for commercial support mean we need to use openjdk

because if you dont have a license with oracle you cant use their software
I mean you can
in MC everyone's tiny, youd probably get away with it

you do that at work and youll get sued
quickly installs openjdk
some companies already got sued iirc
.g oracle sues companies
(mikroskeem) https://law.stackexchange.com/questions/9360/oracle-vs-google-can-oracle-sue-any-company-who-is-using-java-and-making-profit -- licensing - Oracle vs Google: Can Oracle sue any company...: "Simple use of Oracle's Java SDK is not what they are suing over. ... So can Oracle sue any company which is using Java and making profit?"
thats because oracle is all about short term profit
well uh
Usage of java is allowed. Re-implementing java based on the api docs isn't (according to Oracle). – ratchet freak May 20 '16 at 10:56 what does this mean
be fine with them blowing up so long as all the JVM engineers moved to redhat or somewhere

that sounds like its related to the google trial
so its not directly related to this
and a lot of that was google engineers straight up whole sale copying code
not relevant
google bought some project that had already done it or something
ooh
and then they claimed there were only so many ways to write it
and its unclear how far or how long they kept doing it
google tried to make a good faith reimplementation from docs argument
which is generally considered fair use
yeah tbh I wouldn't know copied code if I saw it, I don't look at Java library implementations
but then all of this about someone stole blah blah
its all muddy and I think they lost
software patents are cancer tho, even though this is about code not necessarily patents
pretty much

Miranda Cosgrove's official music video for 'Leave It All To Me'. Click to listen to Miranda Cosgrove on Spotify: http://smarturl.it/MGSpot?IQid=MCTM As Feat...
(DiscordBot) Miranda Cosgrove - Leave It All To Me (Theme from iCarly) (Video) ft. Drake Bell - length 2m 47s - 299,108 likes, 9,183 dislikes (97.0%) - 15,668,702 views - mirandacosgroveVEVO on 2010.09.28
I'd post the filthy frank icarly song but it'd put this discord server on a list
lol
This is the case the Google is trying to bring to the Supreme Court no?
They got ruled against in the lower courts iirc
I'm sure judges on the supreme court will be well versed in technology and make the right decision 
there was a judge who read up, learned how all this worked, and ruled for google
and then an appeals court said "lolnope" and handed it to oracle
really?
.g vacuum
(DiscordBot) https://en.wikipedia.org/wiki/Vacuum -- Vacuum - Wikipedia: "Vacuum is space devoid of matter. The word stems from the Latin adjective vacuus for "vacant" or "void". An approximation to such vacuum is a region..."
That sucks
Yeah it's vacuum
that has to be one of the least English-y spelled words
at least the uum part
I saw that pixel
😂
jesus, that emoji
05:11 <+DiscordBot> <PixelNotFound> https://cdn.discordapp.com/emojis/539932151190388756.png
ty lol
there you go @crimson lodge
lol was it over rangeCheck
I have shown you da wae brudda
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}``` wow this is definitely totally unique code that only experts could write, anyone else would have to copy it to make their product ship faster
They're missing that legendary 10x
What is this mc-dev plugin? Why does it only detect event handlers which are public?
because thats all its programmed to do presumably?
public event handlers are about 2x faster than private
about 2x faster
in that case there was no need to, but I won't have a public method flying around in a class which does have real public methods
wut
gotta grab those nanoseconds!
public event handlers are about 2x faster than private ?
bytecode manipulation
well, as paper uses ASM to generate event executors
they create a class which calls them directly instead of some wrapper
then you can only call public methods using this way
otherwise you have to use methodhandle
which is about 2x slower than direct call
last I bothered to exist methodhandle was slower than reflection
in certain conditions yes
specifically testing virtual function calls
hmm
i have jmh benchmark for my reflection library
which told me that mh is about 2x slower
i used a for loop and checked the asm
no idea if it still builds and w.e
but you can run ze bench
I have no idea what methodhandles are, but I'm curious: in what case are they not slower?
simple usage
I targeted public methods specifically though so :>
I'm not aware of any explicit checks on event handler visibility
e.g MethodHandle mh = MethodHandles.lookup().unreflect(method); -> mh.invoke(args)
where were your benchmarks stored
also what's with that weeb name
where is subproject i don't see it
oh i found it
then uninstall the plugin
so that code started out with skipping abstract and static methods
later it also started to skip private ones, and then it stopped to skip static ones
and it was you who changed it, so now I get your reaction
okay
oh yeah demon I meant to mention something to you about your plugins inspections
if you call a custom event from an event listener method, and that event listener ignores cancelled in its annotation, and if you check if that custom event is cancelled, the inspection will REE at you even though they are different events
yeah i know
I'm beginning to remember why I was considering deleting the project a while ago
anyways goodnight
@ancient bolt don't delete it, someone will maintain it for you if you wanna quit it

no one will maintain it
is there any comment regarding this?
are you gonna quit it now?
It's quite nice for quickly creating projects

I do that Trigary lol
me too, but unfortunately I can't hide the inspection on a case-by-case basis
I also do project.version too
Yeah I don't really look at plugin.yml much anyway.
Doesn't bother me much.
but it shows up in the inspection results :(
if you seriously want to quit and no one else will volunteer I'd maintain it in the sense that I'd keep it working with new IntelliJ updates
but I'm too busy to add new features

well im already doing that so that's not very useful
nossr
stop abusing that emoji
I'm going to start a non-profit charity for those poor abused pepe running emojis
hey, I like your name DrBot.

Ty
some day the mc dev project that's written in kotlin will work for kotlin plugins
I'd have to actually learn kotlin just to maintain your shit so its something I don't really want to do but I also don't want to see such a useful plugin die
Anywho yeah I'm going to hold off till 1.14, it's just not worth the performance tradeoff.
If 1.14 vanilla is coming out on the 23rd, how many days after that should I expect spigot to come out? Paper?
What's your basis for this noss?
It's upstream.
history
Huh I've never seen them even release for snapshots let alone release before the mc release

didn't spigot release for pr7 of 1.13
Hopefully pretty fast, Vicarious. I'm not entirely sure on how it exactly works but IIRC they have to update Craftbukkit, then Spigot gets upstream which means Paper also gets upstream. So hopefully decently fast we should get some sort of prototype on it.
someone said that at least
But what do I know ¯_(ツ)_/¯
And I don't think there were as many technical updates (definitely not as many as 1.13) for 1.14, just maybe Material enum changes, some new AI stuff they'd have to add with wandering merchant? Nothing crazy but you know it's another update.
>new AI stuff

You mean new AI stuff added by paper :^)
oh AI not API
i'm legit retarded
its okay I word dyslexia shit hard all the time
I'm not sure but it looks like it took vanilla 1.13 came out July 18 and spigot 1.13 came out July 14
nossr pick which feature I add in next for me please
pick a number 1-12 including 1 and 12
2
such little context
for my dwellings project
do you even know what 1 is
You either add to-do stuff at the end, or at the start.
you sound like you do
@vestal jasper -11
niban
So to maximize the chance on making you do the stuff you've been putting off..
6
Unless you insert it to the middle.
._.
....so 2? kash
no
nice
You have a to-do list, and you either add it to the start or end, and if I do 12 or 1 it might be the last OR the most recent, so to maximize it'll be a 6 from me.
(DiscordBot) Result: -11 - https://is.gd/Oy2yOv
..
.wa range(12)
(DiscordBot) Result: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12} - https://is.gd/nrWjml
I hate bots
screw you too
At least i am not a bot
(DiscordBot) Number Wang Season One, Episode 1 - length 1m 58s - 962 likes, 17 dislikes (98.3%) - 134,466 views - biggeidea on 2009.12.08
.wa range 25
(DiscordBot) No results.

(DiscordBot) No results.
@cosmic raft ok pick a number in the following range (0,12]
8
0
.wa range (25)
(DiscordBot) Result: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25} - https://is.gd/YaNlOx
0 isn't in the range

.wa range(12)
(DiscordBot) Result: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12} - https://is.gd/nrWjml
16
.wa range[12)
(DiscordBot) Result: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12} - https://is.gd/RzfmUC
:(
.wa range(999)
(DiscordBot) Result: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,... - https://is.gd/WpE5dJ
oh
Ok custom WorldGuard flags it is
@void void where's this code for paper generating bytecode to do direct calls 
I really wish I could send specific sounds to the client and not categories of sounds
what
like CAVE_1 instead of just CAVE
ah
I'd like players to hear CAVE_1 when entering areas with PVP enabled
I know Vicarious.
But due to how the client works even with API changes that wouldn't be possible
And I want relative player target selectors.
BUT MOJANG WON'T LISTEN TO MY SUGGESTIONS IT'S SO SIMPLE WHY NOT
:(
if they cared we'd have way more network packets to play with
and some server side ux stuff 
they care if its useful for people who make maps
Mojang caring about mp in general
That's just years of tech debt for you
could just create a custom client and then add all the packets you want
only thing that needs to be left intact is the login stuff
might as well just make it a forge mod at that point
except forge doesn't play nice with paper/spigot servers
why not?
if you have a mod sometimes it can cause you to dc because the server received a weird packet
oh okay.
there used to exist a couple of projects that combined forge with bukkit/spigot
that was kind of nice, but they since died =/
wolfram alpha is interesting
maybe I could work on that as a project. Client side paper api
.wa is 1/(x^2-1)+UnitStep[x-2]+UnitStep[x-9] continuous at x=9
(DiscordBot) Result: y = 1/(x^2 - 1) + θ(x - 2) + θ(x - 9) is not continuous at x = 9 (assuming a function from reals to reals) - https://is.gd/rZ3wkx
throwback thursday
http://www.garybrolsma.com https://www.youtube.com/c/GaryBrolsma Subscribe for more dork videos! ►►► http://bit.ly/subdorkdaily According to the BBC article ...
(DiscordBot) Numa Numa - length 1m 40s - 392,475 likes, 12,324 dislikes (97.0%) - 32,897,873 views - Dork Daily on 2006.12.11
@stiff yarrow see clases under com.destroystokyo.paper
(not api)
@void void quite a few classes here, any tips on which one contains it
com.destroystokyo.paper.antixray.DataBitsReader ?
oh nm antixray
I just saw the name and assumed 
I found it 
I'm retarded and not retarded at the same time
I can just toSet.queryState(player, Flags.PVP)
Instead of manually setting up to be able to queryState
And I found this out after nearly finishing doing so
@void void ivan has officially infected the javacord server too
i mean, i don't remember being a piece of shit when i was 13
But you can’t compete with little iv
I'm not on his level

She passed her exams, now she is
A: occupied
B: qualified
What is the answer
Need you guys
answer for what
depends on the context/usage
Thats all i got
good luck
you pass exams to gain qualifications
They want B as the answer but it's still incorrect
Without context we cannot correctly assume that merely passing the exam qualifies you for anything
it makes the most sense
It's the least wrong :^)
No internet today, time not to study but to play Minecraft in offline mode on my lappy 
singleplayer 
you're on discord though
Flat on my phone
still internet
Well
you could use that internet on your computer if you really wanted to
It’s better for reading stuff 😂
less screen space = better for reading
what's wrong with a locked taskbar?

RIGHTTASKBARGANG
Top to bottom space 
deathtoleft
you have less screen space with a locked task bar
get a bigger screen
I do
get a bigger screen
I legit have the biggest screen I can get at this aspect ratio
buy a projector
brilliant
Thanks guys
Sneak into the cinema and use their screens
What is the opersite of rise?
A: Dawn
C: Drop
Shouldn't you be answering these yourself?
A: Yeah
B: Yes
A and B
It’s not drop
english test
Well again it depend on the context what even is this
Nope its a Cito test, so English, Dutch Math etc
What do they want me to answer @quasi valley
They never give context lol
how is that opposite?
Hmm
rise = up and drop = down
Dawn = Sun rise
Me?
Me 😂
now i am really confused
anyone who said it's dawn is dumb
Is it A or C
Okay Thanks
Yes sorry I got confused 
how are you using your phone during a test?
Toilet 😉

For the second time in 10 minutes? 🤔😂
Small bladder
what's true and what's a lie
he's cheating on the test, he's constantly in the toilet
i don't know any more
Well I am still in elementary school, so they dont really check lol
google translate really sucks, thats why i asked here
Just curious, I write a simple command that is iterating over the list of offline players, which is approx. 900 players in total. I assume it will benefit from running async, also does that entail that I have to make a final version of whatever I'm iterating over as I shouldn't access the API during it running?
If the API isn't thread safe then don't access it (most methods aren't)
net.minecraft.server.v1_13_R2.ResourceKeyInvalidException: Non [a-z0-9/._-] character in path of location: minecraft:AMBIENT_CAVE

mmm capital letters
Ah
It should also be ambient.cave I imagine
Eyy there we go
I guess I'm going to do sanity checks
@normal echo this should be okey or?
final OfflinePlayer[] players = Bukkit.getOfflinePlayers();
new BukkitRunnable()
{
@Override
public void run()
{
for (OfflinePlayer player : players)
{
// Do stuff.
}
}
}.runTaskAsynchronously(plugin);
ops, sorry for big paste
Depends on the stuff
Bukkit.getOfflinePlayer(String)
Yes, do it async
kenny
do you do some kind of callback on your async calls?
or how do you solve the return?
Depends what it is, sometimes I start a new sync task, have another timer waiting or something
but i mean, even if you start a new sync task its in not in the original scope?
so i cant return there bc of it being a void?
Ah no in that case not
Hmm
Try in #paper-dev and wait for someone else to respond, my food’s ready :p
alright ty for the help!
@void void what are you doing
que?
I'm trying to create a callback from an async task but I can't get it right, really.
@void void use consumers or completable functions. this is how you might or might not give callbacks into the method https://hasteb.in/sigevelu.java
I wrote a listener interface and implemented it on the caller and I think that will work?
@quasi valley
@Override
public void run()
{
for (OfflinePlayer offlinePlayer : offlinePlayers)
{
if (offlinePlayer.getName().equalsIgnoreCase(name))
{
new BukkitRunnable()
{
@Override
public void run()
{
listener.done(player, offlinePlayer);
}
}.runTask(plugin);
}
}
}
Apparently getPlayer(offlinePlayer) is deprecated.
see https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Server.html#getOfflinePlayer-java.lang.String- for why it's deprecated, but that's the method you want to use
lambdas I guess
Nothing in Bukkit should be run async unless it's specifically marked thread-safe in the javadocs, that's the general rule of thumb.
Everything should be assumed thread unsafe otherwise.
Okey, so i shouldnt be doing at all then?
If you're doing something async and the javadocs don't explicitly say it's safe to do outside of the main thread, then you shouldn't be doing it async.
okey then
what are you trying to do with the offlineplayer? it's probably fine working with that async, unless you're doing some specific magic or then interfering with the server
i just wanna search and find a offlineplayer from name and return it
and then?
well the callback is in sync, so later on i will grab the uuid and grab a certain object from a hashmap
using the UUID
bc people do /ignore <name>
Server#getOfflinePlayer(String) is not thread safe.
Calling it off-thread is not safe.
so you're suggesting always executing it on the main thread? then I'd rather not use it at all unless I want to freeze my server 
Doing so has the potential to corrupt internal state.
Indeed, you should avoid using it at all, as it can incur an HTTP profile lookup on the main thread
You should make your own thread-safe variation of profile lookups.
It's not that difficult.
doesn't paper have methods to only look locally without http calls?
not sure but I remember having heard that at some point
It might, not sure, but presumably he/she would want the unknown name to be resolved to a UUID regardless.
And not just for players who have logged into the server before.
So I'll do this instead then:
final OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(args[0]);
User user = UserHandler.i().getUser(offlinePlayer.getUniqueId());
and in sync
you mean getInstance?
A request to https://api.mojang.com/users/profiles/minecraft/<username>
oh so i could write my own http call
Would return some JSON like {"id": "<uuid>", "name": "some_name"} or a 204 response if not found.
ye
Easy enough to write something that does that which you can re-use in all of your plugins
Along with a cache maybe to prevent frequent lookups to the same name, a minute-cache would be more than adequate.
Why is No Content 204 
tyty
I guess there's a difference, semantically, in HTTP between empty content and a non-existent resource.
I'd consider a 204 in this case to be abuse on Mojang's end
Should probably be a 404.
Yeah. I imagine a user existing but the user having no data would be a 204
But a user not existing should be a 404
also, you'd usually want you plugin main class to hold manager instances, that you either give into listeners or get them by plugin.getXManager... not that the static calls hurt you, but they are rather bad practice and may be abused by others
2xx indicates a success response, so I'd agree Mojang should've used 404 for non-existent users
But it's Mojang we're talking about 😃
I've also seen services return 200 when returning no content
Which, considering 204's existence, is a little strange
204 IMO should def be used when the resource "exists" but has no content
But the service in question always uses 200 whenever any request is successful no matter the output
but a non-existent profile doesn't seem to fit that criteria
Yeah it's common practice to just use 200 for all successful responses 😛
They also randomly switch between 4xx codes for no clear reason
Iirc they use 401 for expired auth tokens and 403 for missing auth tokens? Which would be backwards.
401 vs 403 is a tricky one
but I consider 401 to mean "unautheticated" where 403 means "authenticated or not, you are forbidden"
According to the service's docs
403 (Forbidden)
Common Reasons:
No API key was provided with the API request
An invalid API key was provided with the API request
401 (Unauthorized)
Common Reasons:
An API key has not been included in the request.
if you fail to provide an auth token you can get either a 401 or 403 and there's no way to tell why you got one or the other
If you just always return 418 you dont need to worry about it
I'm a teapot
better not be the teapot shit
it is
_>
no more so than a 403 should be
I'm successfully forbidding you to continue
.g 418 http
(DiscordBot) https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418 -- 418 I'm a teapot - HTTP | MDN: "Mar 18, 2019 ... The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is a teapot. This..."
Oh makes sense
@acoustic pilot something like this maybe? https://pastebin.com/bmcaZMLb
i havent done the actual lookup yet
lol a 20 year old april fools' joke
@void void I recommend using a Guava cache + Optional (since you can't store null values in it)
i() is a very descriptive name

nitro
@void void This is something I use for example: https://gist.github.com/Byteflux/ba1cc3d37373c3f5c66f1aff40d0d84e
Modified to remove some bits, but you get the idea.
Uses OkHttp + Guava cache
and Gson
Profile is just a class with UUID and name.
is that optional?
wow new nickname again
on my screen?
shouldve left it at volatile
Who needs optional when you have ?
The only reason Optional is used is so that the empty response can be cached.
Since Guava cache doesn't allow null values.
public volatile Spottedleaf
is this guava?
on my screen?
leaf ur retarded
no u
no u
concurrent maps tend to be a bitch since they internally use null
no u
forking plugins omegalul
yay no more EssentialsX issues
opens ticket
depends on the audience
i mean if it was "burritos are awful" everyone would hate you
Why would you want to use a old versioin
rightfully so too
oooo admitting defeat here huh
oh no tacos are way better
but tacos being better doesnt make burritos bad
its not like a broccoli salad or something
@upper flicker audience is anyone that uses MinecraftDev
@crimson lodge because making plugins for 1.8.x is still profitable
2 what is with this logic it's supposed to be black or white
the forge people are the ones who should be annoyed
and it should be white since black theme is retarded
changes one line in a pom file -> "oh so difficult"
god I wonder what 1.8 must be like
nms
doesn't even have my playerconnectioncloseevent 😦
honestly I figured that making this plugin auto-update might take more time than just changing one version number lel
tbh if you were still making any significant amount of scratch from private work for those versions Id expect you to have a base module or something
and then you'd not be using the base templates anyway
auto updating is technically retarded
@upper flicker what do you mean
simmer down leaf
...
no u
fake transient ass leaf
you gave me this name
nop
you can't bm me for it
do you mean like making a base module/template for IJ?
I meant like a base template outside of IJ with a static lib or a get up and go gradle base template or something
but sure that'd work too
actually I'll look into that. Might delete that fork then
I mean I just dont think its worth your time to maintain it/keep it in sync
just for that, on bukkit
yeah you're right
though from some of demon's latest ranting if you asked nicely he'd probably just let you have the real thing :>
What was his latest rant?
Also when I have seen him talk he is usually not in a mood
he seems to go back and forth on mcdev being worth his time and hassle versus other stuff
like at one point I thought he was handing it off to gabi(?) or one of the other sponge people
but apparently not
but now maybe
you'd have to run it by him
kotlin :dansgame:
spooky
Could you do it so you can take all the blame
wow not helping a fellow duck
its like 6am or 5am or something there
demon boy bms a lot but inside he has a big heart
trust me he'll be fine if you ping him
and then there's this fucking leaf
Mcdev is much more likely to be picked up by the sponge/forge community ya? It's features are mostly geared on that side
Over here I just use it for the cool little icon
there's a lot more opportunity over there
especially on the forge side
christ if someone found some way to write out a list of "no u dumb ass gotchas", throw it in a json file, and load it into the IDE
probably be a pretty nice shift for people who used it for nms dev
huh?
huh what
there are a ton of potholes for new people screwing with nms
if someone found some way to list those and make them warnings in the IDE plugin
potholes break my ankles
well you see, as roads experience normal wear and tear, traffic, weather, etc
ur retarded
and as roads expand and contract
/part
potholes
small cracks form
then shit gets in there and the road keeps expanding and contracting
no way
and then it tears up the road
and you get potholes
only when Im talking to someone as dum as u
well I could say something rude about potholes
but ur literally retarded
where did the leaf insults pineapple go
this is outrageous
abdicating his duties here
just say something bad about concrete or what was the name of that fork
under the see
IRC never forgets
.addcmd spottedleaf 07:53 <+DiscordBot> <public transient Spottedleaf> went back under the see
.spottedleaf
07:53 <+DiscordBot> <public transient Spottedleaf> went back under the see
alright this is not fair
07:53 <+DiscordBot> <public transient Spottedleaf> went back under the see
.z750
burningleaf
.PixelNotFound
fireheart's the username you use if you couldn't get firestar
where was that 1.8.8 paper repo again
its a branch
no no I mean maven repo
its the same repo
yup
pApEr DeStRoYs ToKyO
right it's under org.github.paperspigot
@woven otter [Auto] We're now known as Paper.
heh
Don't believe his lies
papeRspigoT
@cedar spade [Auto] We're now known as Paper.
paperspigot
How does Korobi ping Discord users if DiscordBot doesn't send through the whole username to IRC 🤔
you don't really need anything special to ping an user
Paperspigot
@vestal jasper [Auto] We're now known as Paper.
The answer is: it just searches for a user with a matching name
all its doing is matching the <user> and then putting an @ in front of it
there's no searching
thats all done by the bridge
I mean
spigotpaper
wow look at you using the full identifier for the specific jar
-SNAPSHOT isnt good enough
yeah that's for scrubs like you
(aka I just copied it from nexus without bothering to change it)
wait is it outdated 🤔
2019.1.1 is latest IJ version
I see that on pretty much every groovy gradle script at some point
I just ignore it
nope it's the latest
@upper flicker Yeah, but he could just do it properly
idk what 'properly' is
at one point that was properly
gradle probably changed it
you can do like compile artifact: “mysrt” name: “js” version: “orka”
Probably not exactly
But similar
Yesyes
thats the short syntax
Looks better though
Then you have something in common, yes?
sanity yes
I cant imagine being so stupid as to require an explicit label on a version
how is it?
what how is the labeled version any better than the short one
you're right that's silly
this is a no u no u ur dumb no u r fuk u no fuk u argument
no u
nou






