#general
3141 messages Β· Page 20 of 4
uh, Integer vs int
IE, disable the fucking oomk
yeah oomk disabling would help
read somewhere that it's like a wrapper somethin
you can do that in ptero though
you cant indicate that the int was unset with int
just tick the "disable oom killer"
does ptero let you set vm to have more than xmx?
well
can someone screenshot me the config options
i don't think that placeholders are that advanced there
i want to update my guide with info to help ptero users
private Object value;
public Object getInteger() {
return this.value;
}
Constants(Object value) {
this.value = value;
}
uh i don't have ptero up anymore, i nuked it and went towards own solution
_>
this indicates you have bad design brian
I have constants that are string, int, and uh.....
but i'm using ptero as a client right now - which means i can't provide much info rn
I'm thinking it might just be easier to make a class with only constants rather than an enum.
aikar if you can pull up an ubuntu vm temporarily i can set it up quickly
class Settings {
public static final String SOMETHING_SOMETHING = "something";
}
Might be easier.
I'm not seeing any real benefit here from using an enum..
@slim nymph no to your question
nevermind returning object won't work lol
you can iterate over every entry more easily and use valueOf to get them
@alpine halo fix it π
shouldnt be hard to add right
"how much memory padding to add"
horray it works
i'd go for improving placeholders
private Integer integer;
private String string;
public Integer getInteger() {
return this.integer;
}
Constants(Integer integer) {
this.integer = integer;
}
public String getString() {
return this.string;
}
Constants(String string) {
this.string = string;
}
OK see you folks.
oh see that works
but does Servermem use bytes?
oh so that isnt supported atm
yes
even though I might not legally need to pay taxes on donations, i still route it to business just incase heh
and pay taxes on it
atleast in estonia you don't need to pay taxes on donations
its opinionated on 'donation', usually its associated with charitable giving
You've been invited to moderate r/Sweden
but what if the IRS sees this as payment for services?
what services exactly?
I'm not a legal 501c3
yeah i don't know how america works so nvm
@void void developing software
I'm pretty sure you have to be a non-profit to even receieve donations over here
safer to just pay the tax and not take any risk heh
otherwise it's just considered a payment
so i route donations to my business paypal instead of personal so i can keep track of all income
Interesting
ty @fallen oracle
Can you show some photos of it when you get time? I know they have a few but it'd be cool to see it in the Paper environment.
I guess I could also install it.
Yeah it looks cool
.lombok
[03:01:27] <gabizou> fuck you and the lombok horse you rode in on
@slim nymph there is already some padding. Like 2 or 3 percent
can you create foreign keys of tables that dont exist yet? or do you need to do those queries later?
relations are a pain <.<
@worn ember prob not, create in dependency tree order
Whatβs your guys opinions on those premium minecraft adverts that cost like Β£300 for 15 days, Iβm so gobsmacked that anyone would pay that
What would be the best way to identify a memory leak on a server running remotely? It's very hard to reproduce locally as I'd have to run it for several days before it becomes noticable :/
so i guess that means to just alter the table after all tables are created?
@quasi canyon still cheaper than what people were paying on 'bids' for some of the other sites...
ive seen people pay 3-6k
for a month
What the dickens
you could create your tables with foreign keys?
TopG use to be 150/15 days then they jumped to 300
@gloomy warren i cant
Why not?
its giving me errors π
Interesting. A multithreaded redis https://github.com/JohnSully/KeyDB
Apparently this is a thing too https://github.com/RedBeardLab/rediSQL
cuz the tables dont exist yet
Can you send your create statement?
Do you think itβs worth it in the long run? I was considering paying the top g one back when it was 150
But 300 YIKES
yeah it sucks, its cheaper if you buy their credits in bulk
He is using weird sql db
Those website owners must be rolling in it
Yeah I currently have premium every 3 months
"Rolling in it" is subjective π compared to small servers, sure
But the advertising is just mad
not enough to pay my bills though lol
I meant the website itself earning 5k per bid lol
Must be laughing themselves to the bank
id INT,
parent_id INT,
INDEX par_ind (parent_id),
FOREIGN KEY (parent_id)
REFERENCES parent(id)
ON DELETE CASCADE
) ENGINE=INNODB;```
copied from here - https://docs.oracle.com/cd/E17952_01/mysql-5.6-en/create-table-foreign-keys.html
should work with oracledb
i blame phpmyadmin for that one xD i somewhat copied parts
guild_id with int(32) and id with int(16)
doesnt int stop at like 11
i got no idea lol i just entered something really
and man im glad i dont have to deal with uuid's in my DB
i couldnt imagine doing binary(16) on all
Why?
maybe i should recommend you follow my design π
rubba recommended me to use binary(16)
user table with unsigned int id, uuid binary(16), then you use the uint in all your other tables
yes for storing uuid
ah
but for my db design, i dont use uuid as the id, i have my own numerical ID
yeah. My database concepts teacher told me to use as little rows as possible, so use whatever is unique as PK
you just need 1 mapping table for uint to uuid + other user data
public EmpireUser(String name) throws Exception {
this("u.name = ?", name);
}
public EmpireUser(UUID uuid) throws Exception {
this("u.uuid = ?", uuid.toString());
}
public EmpireUser(Long userId) throws Exception {
this("u.user_id = ?", userId);
}
private EmpireUser(String where, Object... args) throws Exception {
DbRow rs = DB.getFirstRow("SELECT " +
" u.*, INET_NTOA(u.last_ip) as ip, ses.server_id as currently_on " +
" FROM user u LEFT JOIN session ses " +
" ON ses.user_id = u.user_id " +
" WHERE " + where + " LIMIT 1", args);
if (rs == null) {
throw new CacheUtil.InvalidCacheException();
}
uuid = UUID.fromString(rs.get("uuid"));
name = rs.get("name");
player = Bukkit.getPlayerExact(name);
longs are simpler, and i had them before uuid's
no justification to stop using them
im sure db's prefer nice simple unsigned ints for joining over binary(16) too π
They dont have feelings so idc xD
32bit vs 128bit primary keys
32bit more data though π€
not that it matters for anything less than enterprise db's
-rw-rw---- 1 mysql mysql 13G Mar 19 13:26 log_chat.ibd
-rw-rw---- 1 mysql mysql 12G Mar 19 13:26 rupee_trans.ibd
-rw-rw---- 1 mysql mysql 6.5G Mar 19 13:26 log_session.ibd
-rw-rw---- 1 mysql mysql 2.4G Mar 19 13:26 log_user_grief.ibd
-rw-rw---- 1 mysql mysql 1.8G Mar 19 13:26 user_meta.ibd
-rw-rw---- 1 mysql mysql 848M Mar 19 13:18 log_death.ibd
-rw-rw---- 1 mysql mysql 444M Mar 19 13:26 packages.ibd
-rw-rw---- 1 mysql mysql 416M Mar 19 13:26 token_trans.ibd
-rw-rw---- 1 mysql mysql 236M Mar 19 13:26 user.ibd
-rw-rw---- 1 mysql mysql 228M Mar 19 13:26 user_identity_history.ibd
couldve been 233MB kappa
whats user giref
block log type stuff
we have limited logs that go into DB, then other logs stored in world data
ahh
so is that chat db since the server started?
yep
jesus
2011
Thats a lot a logs
do u have a frontend fori t?
hmm diesnt want gti load
Empire Minecraft is a set of Minecraft Survival Servers that focuses on the base Vanilla Minecraft Server gameplay, with extra changes to make the game more fun.
blame your shitty forum software lol
loaded for me Β―_(γ)_/Β―
the wiki shortcode searches for a matching wiki page
so you can pull up anything someone has ever said?
thats cool
anyone applying for staff gets a thorough review π
"it is designed so that we do not accidentally see anything private" do you log the clicking on the buttons to view more data too? xD
GDPR intensifies
would be stupid to do it through plugins
Is there a public way for me to see anything I've ever said? Idke if I've even been on
@wheat quarry meaning that we don't show private type chat logs just by simply opening the page, you gotta click into it explicitly
I fail to see how that makes a difference
(unless you log who viewed that log I guess)
"I need to see if player A logged in today. <Loads A>, making sure that A chatting with B in a private group about personal matters isnt in the default chat log view and you oversee something you wasnt even trying to look at by accident.
Plus our base staff don't have full access either
theres ACL's on what can be accessed
well ok I get that. but if I were a user that wouldn't make a difference because I would just think "they have access to the personal chat anyways and I can't do anything against staff reading them"
You probably have better user protection than a lot of companies lmao
maybe just add a prominent note that not every staff member has access to sensitive information like pm logs xD
Can a user request their chat logs?
@void void i'd personally log the ip's in the user table, or i guess you could have a seperate table with the user id as PK
Ahh
"Staff members are able to filter logs by server, event type, and player. They are also able to filter the Chat by channel. Community, Local, Market, Moderator, and Supporter Chat channel logs can be viewed by all staff members, whereas only Senior Staff members and Administrators are able to view private conversations, residence Chat logs, and group Chat logs.
"
and our staff review process is prob one of the strictest
its like 16gb
as i pasted above, it is the largest table
I guess that's why I said prominent xD
What's your typical staff review thing like?
https://staffapp.emc.gs is our app form
we generally get like 2-3 staff every few months
hmm i'm still not getting any relations even after setting the FK's i'm confused
nothing failed
its a tool from intellij
dqfd my sizes are still wrong
yay you're at least using timestamps
Just read through all the questions, not bad.
had to moan today as I found a new table fucking using DATETIME
timestamp type?
what is it for exactly? unix dt?
storing a point i ntime, yes
i've used unsigned int(11) lol
datetime lets you use mysql date functions on it
err
timestamp*
where as raw uint doesnt
great, i guess it doesnt autorefresh. All gucci now
Whelp shit, I guess Aikar has nothing good to say about EMC on question 2
as i've needed to compare times at most, e'g if something is before or after
which is simple > or < generally
colname timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
i do that all the time, its fine
yeah
@fallen oracle I'm not involved in staff selection π
@slim nymph lmao thanks that lets me get rid of this mess
statement.setTimestamp(2, new Timestamp(System.currentTimeMillis()));
i knew there was a better way
just pass the player along in the constructor
the <T> part works great for EmpireUser user = player.getUser();
but breaks when I do player.getUser().foo()
generics
infers type from left hand side
so EmpireUser user = player.getUser() infers <T> is EmpireUser
i use those methods to avoid hashmap lookups
god im so tired
@void void a Player cannot be offline
Ahh
Yes
wat, thats not bad
though you need to manually shutdown in onDisable since you didnt use the bukkit wrapper
lol
call DB.close() in onDisable once you know all tasks are done
try catch
Lol
this.player = player
should be fine i think
not sure if its the best way, but thats how i do it
this.player = player = player? π
@void void youll get something like "Mysql server has gone away"
And you should add a Objects.requireNonNull(player); or a @NotNull annotation for Player player. If somebody creates your "User" object and you try to get the player you'll get NPEs soon and you have no way to detect the "bad stacktrace".
annotations monkaW
.taco @static badge
K
retarded
results in a burning leaf
alright simmer down
wat
they were a plant, so your cousin
are those beans?
looks like peppers
nasteh
i dont like spicey food
I donβt like dark anymore
wtf is this cancer that has flooded this chat
i can't recall if this relation is right or the other way around lmao >.> my brain is failing
ghost pepper?
no the image right above
man my mouths watering now
i need to get tacos thurs and add some ghost pepper to it
I accidentally renamed my project on Bukkit dev from PlotSquared, then I tried to name it back to PlotSquared a minute after and it told me that thereβs already a project named PlotSquared...
Also our logo just disappeared and I canβt upload a new one because it fails .-.
Oh baby a tripple (plot)!
Wow itβs so worthwhile posting on there tho, 14 downloads!!
Also yes dark, that looks correct
damn thats a lot more than i remember
We only have 94k on Bukkit :/
Although, I guess a lot of people used the jenkins link instead
idk how i ever got 11k downloads on this pile of crap xD
has the same website theme for 8 years on a static 960px grid.
What site are you talking about?
Itβs horrendous
yup
i just stumbled upon an old post i made complaining how their site is so horrendous and thats pretty much their reply
I thought PMC died for some reason
@slim nymph would it be a feasible idea to add a an owner collumn to guild and make it a FK of user.uuid or is that just pointless as i already have role in guild_member?
You already have a role table, it's more flexable
Alrighty
I agree with the mean cat.
We pretty much did what you suggested in PlotSquared in the early days and it was big regret
now i'm just a bit confused on what tables to actually insert my data into?
like if i make a guild, do i just put it in guild and be done with it? or do i need to add things to guild_member too?
Well, insert only inserts into a single table, so; you'd probably wanna create your guild and add an owner in there
mhm but the point of guild_member is to not have a many-to-many relation. so i'm not quite sure how to utilize that
can a user be in multiple guilds
no
uh no?
Then why the member column?
You only need to have the number in guild_member, why would it go both ways?
empires == guild
alright thanks
@heady spear yeah that makes sense actually
thats probably why i was so confused on how to implement this
So you create a guild, then a user, then a guild member
well ideally the user should be abstract outside of the guild system
Oh yeah, I mean. Youβd create the user when they first join the server, right?
yep
yeah
all users are created/updated when they join/leave
and at some interval eventually
this is a lot more work than i anticipated
welcome to programming
I spent four two yesterday debugging the PlotSquared update notifications, only to find out I had placed my ? On the wrong side of < in my regex
its for an mc plugin, its not discord related
Then I had to shade in 4 different libraries, including the kotlin standard library
oh, its more than just guilds tho, i just need a guild like system to implement my siege minigame
Because fuck okhttp
could maybe still be usable as an api?
okhttp is β€
which is fine, hence me asking if you're doing it for practice
Retrofit is love though, so itβs worth it.
Had to use it for some library as I needed support for the standard JRE annnnd android
if thats a goal, then proceed!
π
but if youd rather avoid creating your own guilds system, one does exists
Retrofit is amazing and Iβll happily accept doubling my jar size with kotlin bloat if I have to
vomit
oh, retrofit uses okhttp?
Yup
... I wanted the lines
Damnit.
Yay, less fail
Iβve never actually used okhttp on its own :p
Also, damn, I thought I over-commented π
@golden gust what is "sar"
shady ass rebels
Was some university project
w o w someone is educated
(hence the over-commenting) lol
Iβm fairly certain no one actually reads out code at uni
Someone Ate Rice
Because I wrote half of the comments in Swedish, and no one complained
Iβll try to write them in Russian next time.
Not even teachers care about your projects π
I has more downloads than u have life so frick u
Or perhaps they didn't care since the comments were in a language they didn't know
The code was also a mess and we didnβt follow the specifications at all, they were still fine with it. Honestly, I doubt they even look.
We have to show them that it runs and does what it should, then we write some bs report on it
They also want us to pre-plan our code, which is like?? Bitch Iβm not planning no nothing.
"Search and Rescue", had to make an app/website/backend for it, but we kinda flopped as although I could get the backend done, the guy on the website stuff didn't know php, and the guy on the android app (Who said that he was comfortable working with android) basically couldn't do the android app \o/
Lol
According to the, you canβt write java unless you first make a UML diagram, then make an implementation strategy.
To them***
dance, citymonstret
itunes: https://itunes.apple.com/album/id1450275562?ls=1&app=itunes VK: https://vk.com/ddrec Instagram: ddcommand DDRECORDS COPYRIGHT 2019 Beat by DDRECORDS ...
(DiscordBot) RaiM & Artur & Adil - Π‘ΠΈΠΌΠΏΠ° (Official Audio) 2019 + Π’Π΅ΠΊΡΡ - length 2m 32s - 155,829 likes, 3,116 dislikes (98.0%) - 17,258,757 views - DD RECORDS on 2019.01.24

My trick is to make UML diagrams using IDEA
We werenβt allowed to do that because they use different symbols =)))))
rip
UML should be illegal.
I work on a mac, sooo visio is a nogo, and all the other apps basically suck, so I just figured I might as well just use IDEA for it π
- text
the text is in the description
Deceptive.
rip
w o w, leaking resources
I didn't even notice the close method π
My professor doesnβt believe in closing resources as you never run out anyways =)))))
Google Stadia is interesting
He also claims that you donβt have to think about memory in java because it does it for you =)))))
Go from watching to playing in seconds. No updates, no downloads. Stadia's cloud based gaming infrastructure delivers beautiful HDR graphics and smooth frame rates.
Has this not been attempted several times over already?
To be fair, the major thing that's been lacking has been interest
The services Iβve seen have always struggled with bandwidth and latency
I recall onlive who did that, but they ended up closing after being bought up from what I recall
well microsoft is investing heavy into it, and now google
having 2 big players competiting...
I donβt mind the idea tho, itβs cool
likely to take off this time
I donβt want it to take off, Iβve spent too much on my graphics card =)))
For people who have actually paid for expensive hardware, it's not really a good option
Sometimes you say things that make sense
in 4 years your card will be mediocre π
It's more for people who need an affordable option or the ability to jump between multiple machines, etc
Itβll be interesting to see where it leads :p
its 3D
is still rocking the 970 gtx in 2019
u need 3D glasses to see it properly
also
i dont understand youth on how these things take off
that damn tik tok was using like 30-40% of my nephews battery, i had to look up wtf it was
err imac
Mojang very good yes https://www.youtube.com/watch?v=pIBIuSTdQD8
The enchanting system changed in the 1.14 snapshots. This wasn't mentioned in the patch notes, but according to this bug report is intended: https://bugs.moj...
(DiscordBot) OP Armor in 1.14 - length 13m 55s - 690 likes, 4 dislikes (99.4%) - 4,851 views - ilmango on 2019.03.19
lmao
tik tok is new vine
But worse
ur cancer
What the fuck
i never ever visited vine or tiktok, if i want to see thots i'll just go to instagram
Vine was neat
I miss vine
SPOTTED
Only thing I know about tik tok is that it has a bazillion ads about it on YouTube videos :S
I say we all sue spotted.
Spotted gave me leafititis, and apparently he's being abusive too.
What're we suing him for? A million? A billion? 
vine was great, it gave us things like https://www.youtube.com/watch?v=NR1zHdFN8A4
(DiscordBot) Annie Are You Ok - length 7s - 27,442 likes, 388 dislikes (98.6%) - 1,128,854 views - Ratamamhata kanishka on 2016.04.01
oh yeah can someone code review something of mine c;
oh my god
Heβs probably right tbh
@heady spear sucks too π
I wouldnβt suck you tho.
wouldnt be so sure
hey that's better than 0/10
When you donβt know what a package is so you put everything in the same file
that's technically
an infinity% improvement!
I don't really feel like I have to break anything into different public classes yet
I should probably do that
for now, when I'm getting the framework down it's nice to be able to see everything at once
Weird encapsulation. The classes arenβt private but all members are
i thought this was a spigot plugin until i saw scanner.next()
again those classes might be public.
Some members are*
scanner.next() is literally like
16 lines in haha xD
although I guess with the player.sendMessage

Your constants are enums .-.
And then youβre just accessing inner fields
Why not just make them private static final fields?
*3am an a friday
personally I think it's just worse than having a class called Settings
because that's what people smarter than me told me _o¬o_/
originally I just had:
class Settings {
static final String DEFAULT_STUFF = "Default.";
}
that kinda stuff.
That is just weird. If they are truly constant, then just have them be constants.
but then someone told me to move it on over to an enum so now I have a weird enum.
but.. enums are constants o-O
what potato told you to do that
that's what I thought lol either way kinda weird.
The enum would make sense were you to populate their data on creation
Even then itβs weird
nope just constants so that if I change them I can change them in one place.
Chillo told me.
hold on
Goodness.
You really can't copy paste in Discord.
Just go to The Programmer's Hub and search "from TehBrian" and enum
Let me beat him with a stick.
And you'll find the convo.
pls
mmmm
Pasty paste bro dude brah mate
spam much?
riot
.. what do you want me to do D:
alt+f4
nice tesla kashike
big oof
so I dunno
Kashike rich boy
enum vs class enum vs class
I'm pretty sure Kash is buying the tesla with all the paper donations
Many privilege. Letβs riot and steal his valuables
the communist way :>
just rolling in the dough of the thousands of paper donations a minute
all you need is to intercept the signal of the key and replicate it while someone keeps him busy 300m away
i'ma steal it anyway
hasn't turned 15 yet
I'm well past 15 lol
22, and same
public transportation works fine
they shoot you if you don't have a license in texas
enum Constants {
// lots of enums bla bla bla
private Integer integer;
private String string;
public Integer getInt() {
return this.integer;
}
Constants(Integer integer) {
this.integer = integer;
}
public String getString() {
return this.string;
}
Constants(String string) {
this.string = string;
}
}
VS
class Settings {
final static String DEFAULT_STUFF = "WHADDUP DEFAULT";
// lots of thos
}
yes cuz standing in traffic jams is very functional
newlines between your methods, that's your first problem
cryptite
Here you can barely get a job if you donβt have a license
here you usually get a company car
Youβve already spammed for like half an hour so like
or an electric bike
yeah that enum is garbage
I know that's what I thought.
To the ranch
Plus every time I need a default I have to do Constants.DEFAULT.getString() vs just Constants.DEFAULT
begone enum
wait so why do some things like Bukkit use enums for their sounds?
Intellij's code duplication feature is more annoying than helpful tbh
the sound ENUM includes things that doesn't exist anymore so its dangerous af
what
uh what?
sound enum is up to date last I checked
?
@worn ember what code duplication feature?
when did it get updated, I last played with it about a month or so ago
duplicate code warning, @austere ivy
Where's that?
isn't that an old feature?
yes
@worn ember 15
oh 2015 kappa
maybe I want everything to be public who knows
This was true when I last played with this ENUM about 1-1.5 months ago @cosmic raft
@austere ivy Maybe you a just not following basic java principles
@austere ivy great thinking. Why would you make things private when you can access them with reflection anyway
MineCraft
Maybe the IDE is more knowledgeable than you
my god
if you dont use it in a public scope it'll tell you that
"paCkAgE PriVaTe"
DarkEye is a moron. He couldnβt even figure out how to use sql
Except i got asynchronous queries working with 0 threadblocking π
glad we don't know her, right Jan?
so i guess its something
haha.
@austere ivy Idk
yeah me neither what a noob
glad I never have to talk to her
or
him?
not sure.
Why does Jan think that he can give advice smh
all he does is send random crap or black snaps
@heady spear Cause i actually can.. sometimes
jan
@worn ember I send dick pics too*
havent seen those yet. probably too small to see
@austere ivy Dick
@finite wave What?
wait are you actually mad ;c
Aikar
ahem from https://github.com/aikar/commands
Ahem?
"Why does it require Java 8+?
Get off your dinosaur and get on this rocket ship!
Dinosaurs have been dead for a long time, so get off it before you start to smell.
Download Java 8"
So?
Everyone is going to switch to J11 soon
Even Aikar is shaming you, zbk . . .
Yikes no wait no not that far.
I haven't gone above 8 haha.
Switch to Java 11
J11 is next Lts
Is current LTS*
What's better in J11?
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
@wide chasm J8 is still supported though?
This is the last month iirc
add that to your pom = ez
J8 is LTS.
Not anymore
LTS for 8 is dead/dying
who cares as long as MC is still on 8? π€
Minecraft is still on Java 7 lol
No
The Java language has undergone several changes since JDK 1.0 as well as numerous additions of classes and packages to the standard library. Since J2SE 1.4, the evolution of the Java language has been governed by the Java Community Process (JCP), which uses Java Specification...
Presumably there is still unofficial LTS
Java 11 and Java 8 are currently both LTS and Java 8 LTS will be dropped somewhere for some people
"At least September 2023 for AdoptOpenJDK"
Minecraft is on 8, @austere ivy
Like AdoptOpenJDK
@wide chasm Stfu
J11 only supported until Sept 2022
β€οΈ
π¦
I don't tink so Kash..
think*
Is it just Tekkit then?
Because last I remember Tekkit Launch was a pain to use since you had to specify 7 or something.
I know what I'm talking about :p
Doesn't Minecraft come packaged with it's own version of J7?
Maybe that was a while ago haha.
No Java 8 currently
it packages a 2 year out of date java
Mojang bumped to 8 in 1.12 or something
and it's not their own version, they just package a specific one
Oh okay good.
Looks like JDK 8 for OpenJ9 isn't expected to be supported beyond Sept 2019. π¦
Paper has been 1.8 for a goood while now
(iirc because of OpenGL issues or something=
Spigot is some weird hybrid between "mandatory Java 8, but we keep some stuff Java 7" and MC is full on Java 8.
"not updating code just to update it" makes sense imo Β―_(γ)_/Β―
hold up zbk
teach me your ways please.
The Java language has undergone several changes since JDK 1.0 as well as numerous additions of classes and packages to the standard library. Since J2SE 1.4, the evolution of the Java language has been governed by the Java Community Process (JCP), which uses Java Specification...
@void void yeah
and uh @whoever else said that Java 8 was losing lts
J8 is geting LTS till March 2025
J11 is getting LTS till September 2026
Not too far off.
Aso, thanks zbk.
Extended support
March 2025 is only extended support though
End of public is 2020
rekt
Whos this Parse guy
Β―_(γ)_/Β―
for(int i = 15; i < 18; i++) { ... }?
for (int i = 15; i < 18; ++i) ?
I just have, what I hope is a quick question. I'm playing on a server running Paper and we are having a problem with idle minecarts despawning. The event is regular and is in loaded chunks. The minecart can be on rails or off rails. Is this a setting that can be adjusted? or is this a bug (known?)?
Python doesn't have traditional for loops, which is why it uses a generator for that behavior.
Yeah, it only has enhanced for loops.
Which in Java, an enhanced for loop would be like for (String string : stringArray)
And I think that Python only has those, so it would be equivalent to doing an int array?
(note if you're still using Python 2.x, you should be using xrange)
(which you should not be using Python 2.x)
But range is fine on Python 3, it's a generator
I'm certainly not a bot. At least I don't think I'm a bot. LOL.
Ha! Beep boop
THAT RIGHT THERE WE'VE GOT HIM BOYS
@void void same as C
what about D, Jan?
It's not equivalent to an int array, because range is a generator.
?
What about D?
Stfu
Equivalent to a Java iterator that produces results on-demand, yes.
Or are you not really familiar with it
not kidding it's an actual thing.
Only a bot would say that they're not a bot 
for (;;){TehBrian.shutUp();}
That's interesting. I asked my question initially in the IRC channel and it showed up here with the bot tag. Cool. Anyway, I'll ask my question in the help section. Sorry for being in the wrong channel.
shouldn't you just do while (true)
for(;;) is the same
huh, interesting. thanks.
Zbk, with getRegisteredRootcommands
I'm a bit lost on how you would make pages and stuff with this. Would you just go 1-10 for page 1, 11-20 for page 2, that kind of thing?
Also would you have to dependency inject to get it into the command
ok thanks that'd be great
@worn ember
mine is prettier
L
Itβs actually Megh
some of these deaths could've been avoided by just reacting to what happens...
@void void Of which object
you mean the Java method or...?
Assuming a collection. size() returns the number of elements in the collection
If the collection is empty, why would it return 1?
just select the method and press ctrl+q xD
Cool, don't see how that's related though
Size is # of elements in collection
Has nothing to do with indices.
it's an index, not a place...
This is pretty great thanks Zbk.
Never thought about thinking of the size beforehand.
arrays start at 2
change my mind
.lart TehBrian
squeezes habanero pepper juice into TehBrian's tub of vaseline.
._.
At the moment you say start at 2, only the trigger happys care to react, we just think you're stupid and move on
.lart zbk
fills zbk's eyedrop bottle with lime juice.
Whiiich, to be fair, we've already done
Yeah, I'm immune to that now.
Also I'm pretty sure if I say something sarcastic it.. seems sarcastic haha xD
Come to think of it all my humor works great on programmerhumor. I should post there once haha xD
Probably because 80% of ProgrammerHumor is garbage.
Nevermind all they do there is bad UI :(
To be fair, yeah. Sometimes it's jokes that are like..
.. anyone with a computer knows this. it's not funny.
Probably 50% cringe, 50% reposts.
They've gotten a bit better I think.
They really haven't.
I dunno.
I mean I'm OK with that.
It's nice when it's 2 in the morning and you're procrastinating trying to figure out why theres an "Internal server error."
Easy on the brain, requires minimal thinking. Kind of like facebook lol, just scroll and scroll, endless feed of Tasty and 5 MINUTE DIY HACK LIFE THINGS
Sigfault or segmentation error
Facebook is also garbage, so that's not really supporting the idea that ProgrammerHumor isn't π
^ :D
Like I mean reading it right now most posts seems fine to me.
This is not, this makes no sense.
But yeah, so many reposts.
This is so so so commonly reposted and it's garbage.
It's a never-ending cycle of "JAVA IS BAD" no "PHP IS BAD" no "JAVASCRIPT IS BAD" and back around.
It would be nice if there was like "Syntax Saturday" where it's exclusively only jokes that are code
Like heck is this:
That's not even programming.
I mean I guess but that's more hardware type stuff.
If it was code it would be 2b || !2b
But some things like this I appreciate haha
Β―_(γ)_/Β―
Yes, you would appreciate low-effort, cringe posts.
Yes yes yes I would :)
I mean it's easy scrolling lol. You just scroll, say "haha I can relate to that I'm so smart" and scroll to the next.
Hi there.
I was reading a java 3D engine type tutorial and I came across this comment.
Thank you kekball very informative and helpful.
Quality
mobaxterm is real quality
They're online for me
Ooh bacon
(DiscordBot) https://help.mojang.com/ -- Mojang | Portal: "Mojang Β· Mojang Support. English, PortuguΓͺs (Brazil), Svenska. English ... Mojang Accounts Β· Migrating from Minecraft to Mojang Β· Account ... Service..."
.g diseased leaf
(DiscordBot) http://www.missouribotanicalgarden.org/gardens-gardening/your-garden/help-for-the-home-gardener/advice-tips-resources/pests-and-problems/diseases/fungal-spots/leaf-spot-shade.aspx -- Leaf Spot Diseases of Shade Trees and Ornamentals: "Leaf spot is a common descriptive term applied to a number of diseases affecting the foliage of ornamentals and shade trees. The majority of leaf..."
2
sorry there are probably pics of you and your family in there
ur literally retarded
accidental dox
(DiscordBot) https://www.ncbi.nlm.nih.gov/pubmed/29780382 -- Extracellular Purine Metabolism Is the Switchboard of ...: "Apr 27, 2018 ... ... Metabolism Is the Switchboard of Immunosuppressive Macrophages and a Novel Target to Treat Diseases With Macrophage Imbalances."
yeah see
idk what any of that medical jargon means but ur cancer and that page proves it
2
because I fight your cancer
literally ur a disease
if I had two cents for every braincell you had I'd have four cents
you'd have nothing
2
3
ye its $100 in one dollar bills
but now ur saying 100
100 1's
Hmm. i was pinged, but too lazy to check scrollback.
u were caught being retarded
I think ur cancer is eating the last of your leaf brain cells
ur pretty dum 2day even 4 u
to be fair ur caught being retarded everytime you speak
just continuing the downward spiral I gues
Hm, I wonder. Is @somber mirage the real Ice? π
Nice
likely not
Cause he joined the Discord yesterday or was it earlier today
there's been an ice in the discord before that was the legit one
lots of edgy boys on the internet
I'm guessing it is because I recently spoke to Ice over Telegram
I never marked down his id or uuid or anything
hm so it could be
What can I say to prove it
what's the legacy of Ice
2 ur literally the most retarded person on this planet
if u could be labeled as one
woot
@somber mirage What's the best Minecraft version of all time?
2 braincells might not make human
1.8 built on top of 1.7
Yep, that's Ice.
the correct answer is 1.7.3 beta
He's back π
were gonna need a gist proof that says 'LEAFS SUCK'
nothing like that summer ice
how bout i take all the ice in the world and drop it on u
LOL
fucking demolished
D:
β€
this github profile has nothing on it
That's the real Ice GH, for sure π
must've nuked something somewhere
Most of what I did that I wanted to be made public I gave to Byte or Z
Byte would always take it and make it better
The cannoning patch was scrapped after 1.9+ though because nobody wanted to maintain it after you went MIA π
more like rewrite it
youd maybe encourage some crappy factions servers to update and help rid us of 1.8?
i'd suspect you'd have to maintain it urself
Yeah I think it would def encourage 1.8 servers to update π
nobody round here seems interested :>
noone here knows wtf it should be