#general

3141 messages · Page 1026 of 4

slim nymph
#

at my work we dont even do programming excercises

golden gust
#

It might not be the best solution for the job

#

But, there is always 200 ways to do one thing

cyan nova
#

A deep dive into algorithmics would benefit you more than studying individual javadocs

sharp sentinel
#

Those questions are usually more about an understanding of CS concepts than any code stuff

worn ember
#

meh algorithms are implementation details, kinda useless imo

#

unless you do that stuff daily

sharp sentinel
#

Pretty sure there’s an MIT OpenCourseWare on CS fundamentals

#

I’d recommend something like that

wide chasm
#

In CS, you have a lot of these very interesting kind of collections and they all have a specific purpose, but most of the time a simple ArrayList/HashSet does the job perfectly fine. LinkedLists are those kind of examples that look really nice on paper, but are very hard to actually apply correctly in your code and often unnecessary.

sharp sentinel
#

Nah linked lists are great for random insertion and removals

wide chasm
#

And how often do you need that in practice?

sharp sentinel
#

I’ve used it a fair few times in the last year

autumn magnet
#

Are problem solving skills and logical thinking just what comes to your brain or are they also developed with experience?

sharp sentinel
#

Generally for low level optimisation stuff

wide chasm
#

Only nice thing about LinkedList over ArrayList is that it's pretty easy to implement yourself (easier than ArrayList imo).

autumn magnet
#

Maybe a little bit of both?
'

wide chasm
#

Experience mostly

worn ember
#

i havent used a single linked list in all my programming carreer

#

except for when it was seen in my class

cyan nova
#

meh algorithms are implementation details, kinda useless imo
It's unlikely you'll need to implement them yourself since many libraries already offer them but understanding the underlying logic is incredibly valuable

sharp sentinel
#

Understanding the inherent costs of algorithms is crucial for a lot of stuff tbh

wide chasm
#

I implemented linked list exactly once and never used it again afterwards

green turret
#

Most of this stuff isn't there to teach you about specific algorithms or data structures. You learn about specific algorithms and data structures to develop an understanding for the fundamental "hows" and to arrive at a common language for talking about problem solving in computation.

golden gust
#

it's about learning the general gist of how the collections work and their caveats

green turret
#

That's like saying "I've never had to use integrals since high school". No, maybe not, but understanding the concept provides part of a foundation you may need for something else.

autumn magnet
#

I think my breaking point in Java right now is really, let's think, for loops?

#

The for (int i = 0; i < 100) type of shit

#

I don't really usually understand the values you're supposed to put there, I wanted to maybe do some interactive practicing with an online course but couldn't find any good ones

slim nymph
#

Our interview question is something like:

There is an alien fleet heading towards earth with intent to destroy the planet in 3 days. You are responsible for saving as many lives as possible, and have the entire worlds resources at your disposal, including all armies and countries.

What do you do?

autumn magnet
#

Would that be more of a problem solving or logical thinking?

#

Or both?

slim nymph
#

my question?

autumn magnet
#

Yeah

slim nymph
#

both, plus more. you got a mix of high stress, high risk, high responsibility, super pressing time deadline, with no path to winning.

worn ember
#

nothing, everyone is equal, so we all deserve to die equally

wide chasm
#

A for loop consists of three parts: the initial setup, the condition and the change every loop. This is displayed as three parts spearated by ;: for (initialization; condition; change). A typical loop that does something x times, is usally written as: for (int i = 0; i < value; i++) where value is the amount of time it has to be ran. Of course you can do much more stuff with it, for example, change the step to increment by 2, or change the initial start value.

slim nymph
#

there is no "answer" to this question.

#

the question is to evaluate HOW you at least try

#

where do you start? what choices do you make

autumn magnet
#

ahh

worn ember
#

would i be hired aikar?

autumn magnet
#

i'll try to practice that thanks stef

green turret
#

I sometimes work on projects with programmers that don't have a strong theoretical background in computer science. Usually that's not an issue in any way. Sometimes, they'll go off on the most ridiculous tangents because there's just that one fundamental thing they've missed. It's not that they're stupid and I'm smart, but I was taught a technique or approach that they weren't, and sometimes that results in them not arriving at the "natural" solution to a problem. You don't know when you need those fundamentals, they're just there or they aren't.

slim nymph
#

no dark youd be that lazy bum who doesnt actually want to do work or have responsibility

worn ember
#

so true

autumn magnet
#

isn't that really all of us but we suck it up and do work anyways

#

or just me

worn ember
#

i'd say its a stupid question and probably walk out xD

slim nymph
#

not really lol

wide chasm
#

I mean, doing nothing is a valid approach assuming that these aliens can't actually do any harm. As the question said "intent", they don't actually have to be able to do so.

autumn magnet
#

if they have developed advanced enough tech to be able to get to us

#

they probably could harm us

slim nymph
#

doing nothing = end of human life.
saving some of humanity going into bomb shelters and such to keep enough humans alive to keep humanity going = something

zealous wedge
#

i mean either they are genuine, they can destroy the planet, in which case all you can do is talk to them and convince them to not

autumn magnet
#

humans have been around for so long yet we've only recently been able to travel to the moon and whatnot

sharp sentinel
#

Yeah if they can destroy the planet there’s not much we can do

worn ember
#

yes, but then who do you pick huh?

wide chasm
#

doing nothing = end of human life.
Is that part of the question or an assumption?

green turret
#

One of ours is throwing a constant wrench in the gears until people give up and say "well then I don't know" or "well you can't account for everything", which are both "right" answers.

slim nymph
#

so then factor in choices like, do you focus on 1country, or try to save some from everywhere to keep diversity

sharp sentinel
#

Like long term survival elsewhere requires a lot of resources to be sent into space, alongside people

#

No way that’d be do-able in 3 days

zealous wedge
#

or they can't and can only cause severe harm to the planet, then try to spread out the population into bomb shelters

slim nymph
#

@wide chasm that would be my analyzation of your choice

#

if you choice to do nothing, you sacrificed all of humanity

autumn magnet
#

btw guys do any of you know about "sout" on intellij

#

I just discovered it today and it's so useful

wide chasm
#

If the aliens can't actually do harm, that wouldn't be so

worn ember
#

what if we just press esc and end the simulation?

slim nymph
#

i said destroy the planet, thats clearly harm lol

wide chasm
#

You said "with intent", not that they actually can do so

slim nymph
#

i did miss a detail also that they are so technically superior we cant defeat them

autumn magnet
#

Yeah this makes much more sense than it did 10m ago Stef, appreciate it

worn ember
#

then whats the point, if they are superior there's no point in trying to save ourselves, best thing to do is nothing and enjoy your last days before you perish

earnest rampart
#

macOS screenshots are so nice ngl

sharp sentinel
#

Honestly with the small number of people you’d be able to save, diversity becomes somewhat of a moot point

slim nymph
#

this question is a no win situation, so it also evaluates how do you handle the pressure of an obvious crushing defeat, do you give up or do you least try?

sharp sentinel
#

The gene pool would be so low that the concept of race would quickly disappear

mental crystal
#

if you can't beat them, join them

autumn magnet
#

Yeah my mom bought me this for my birthday, the performance isn't as good as it used to be cause I think the battery is pretty bad but it's my baby lol

slim nymph
#

@sharp sentinel in 3 days you could move 10s to hundreds of thousands of people

sharp sentinel
#

Yeah but where

#

If the planet is being destroyed, you’d need to send them to space

autumn magnet
#

I don't even know what year it is, just that it's a 13 inch macbook pro, I think 2017 or so

zealous wedge
#

there's lots of areas of the planet that are fairly unpopulated

wide chasm
#

They only want to destroy the planet, not necessarily us, so we would have to go to another planet. Not super feasibly large scale, but assuming you already have some rockets available, you could move at least some people.

slim nymph
#

eh i used the wrong word, it wasnt suppose to be "planet = gone"

sharp sentinel
#

3 days is not a lot of time, and we don’t have spacecraft for thousands of people

slim nymph
#

more land attack and kill humans

sharp sentinel
#

Ah okay

zealous wedge
#

you aren't going to get enough people into space, maybe whoever you can pack into the ISS

mental crystal
#

oh then just dig big bunkers and stuff everyone in

worn ember
#

well space isnt an option either cuz they'd have the planet surrounded i suppose

earnest rampart
#

you aren't going to get enough people into space, maybe whoever you can pack into the ISS
that's like 20 ppl at max

peak dirge
zealous wedge
#

better than nothing

earnest rampart
#

how would you choose those 20

#

that would be very painful

autumn magnet
#

@wide chasm for (int i = 0; i < 3; i++)

so, i starts off as 0, and as long as 3 is bigger than i, it keeps incrementing while performing whatever is in the codeblock?

wide chasm
#

This is what I do btw with such questions: I'll find what was unspecified, then turn that into a solution 🙂

worn ember
#

if they ahve interstellar space travel i'm sure they can take care of some escape pods

sharp sentinel
#

Even ISS wouldn’t be enough tbh, if we went with the old assumption of the earth being gone - they’d die out very quickly anyway with nowhere to inhabit sfterwards lol

slim nymph
#

and there are bomb shelters all over, i think we normally focused the question on china due to its size complexity with the idea there was shelters available but not everyone was in reach

wide chasm
#

Yes renegade

slim nymph
#

but with all the anti china resentment going on, tried to rephrase it

autumn magnet
#

Wow awesome, I was so stuck but in reality it was so simple lol

wide chasm
#

If the aliens want to kill humans and are more technically advanced, a bomb shelter doesn't necessarily have to help - no reason they can't attack the bomb shelters.

worn ember
#

well i think ur interviewer is dum cuz there are no aliens /s

slim nymph
#

part of the question was to also try to not over think it too much lol

#

avoid going down the path of "This is pointless" and giving up

wide chasm
#

If that'd be a requirement, I'd be unfit for the job 🙂

worn ember
#

inb4 "we havent hired anyone in years"

mental crystal
#

tell everyone to play dead

cyan nova
#

part of the question was to also try to not over think it too much lol
ever got any tinfoil hat guys who had already considered the scenario and offered a suspiciously quick and detailed solution?

slim nymph
#

see, the idea here is, if you stop trying to solve a problem because your initial assessment seems like its not possible to win, your guaranteed loss, and if you dont try to keep finding solutions, you wont find that one you didnt think of initially

earnest rampart
#

diplomacy

slim nymph
#

to translate to the real world, your business is in meltdown due to some bug, do you tell your CEO theres no way out of this, just because you couldnt figure it out on day 1, or do you keep trying until you do?

sharp sentinel
#

If the earth was gonna be gone, I think my strategy would be:

Get the top astronauts around the world to all be sent to Mars with various launch sites, and equipment to setup small tent things with hydroponics and oxygen (like in The Martian)

Then dedicate every single other spacecraft on the planet to fire an abundance of resources in a similar ratio to earth’s at Mars to crash land over nearby the settlement

wide chasm
#

You keep trying - at least until the company is absolutely completely dead, but that wouldn't happen in one day

sharp sentinel
#

to translate to the real world, your business is in meltdown due to some bug, do you tell your CEO theres no way out of this, just because you couldnt figure it out on day 1, or do you keep trying until you do?
Trick question, you talk to the team to come up with a solution together or find a way around it if it’s in feasible to solve

worn ember
#

and then the aliens shoot them down and you all cry and debris falls on highly populated areas

golden gust
#

The idea is to assess if your step is to keep trying to find a solution using whatever resources you have, e.g. you have a full team

slim nymph
#

@wide chasm which is a good answer, but those who answered "do nothing, because everyones gonna die anyways" essentially gives up on day 1.

wide chasm
#

Or you ask SO for help and pray they don't mark your question as off-topic 😉

sharp sentinel
#

There are many risks there DED, but it’s better than nothing

golden gust
#

vs, "i canny do this" and moving on

worn ember
#

could enjoy life for a few days to the fullest and accept the fact you'll die? i dont think thats a bad option in that case tbh

slim nymph
#

also good responses would be as leader directing various others to help find solutions, delegation

#

you know, those who just gave up didnt even consider diplomacy with the aliens

autumn magnet
#

Well hey thanks guys! I hope we can have more discussions like this lately, you all seem like a smart group of folk I'll be able to learn from. For now, I need to get dressed as it's my stepfather's birthday and we're going to dinner later, but I'll definitely start reading more about javadocs and doing more implementations to sponge up all of the knowledge I can.

#

For now, do you guys think books are useful resources? For learning Java, etc.

wide chasm
#

They can be, but it's possible without

autumn magnet
#

I don't really know what else I'd need to learn, I feel like I have what I need to know jotted down and I'd just need to focus on the implementations and logic.

slim nymph
#

there is no right answer, but giving up because you cant win is the wrong answer

worn ember
#

its less typing tho

wide chasm
#

Start doing some small projects and work your way up, you'll notice if you lack in any area soon enough

golden gust
sharp sentinel
#

Ngl the question is more interesting if the earth is actually blown up 😛

autumn magnet
#

And I guess that's where the resources like StackOverFlow and google come in, huh?

wide chasm
#

Yes

slim nymph
#

and @sharp sentinel your answer was great too

autumn magnet
#

Yeah, a few days ago I felt as if I'd never be able to do this crap on my own but now I feel like I'm getting the hang of things

#

Thanks

#

It's all coming together

slim nymph
#

it doesnt matter how viable a solution is, what matters is TRYING

worn ember
#

does trying to enjoy your last days count?

wide chasm
#

If the goal is to enjoy, but the goal is to save as many people as possible

golden gust
#

You're given a potentially unsolvable situation

#

"fuck it, imma go have fun", is not really what the question is looking for

worn ember
#

sounds like a great movie plot tbh, some Jon wick level, shit where some dude tries to die peacefully but some alien invasion happens so he stops the entire invasion just to die in peace

slim nymph
#

another interesting idea would be to consult with all the world leaders to see if they have any secret tech they were working on that might change things

golden gust
#

area 51

worn ember
#

then it turns out the're invading cuz some nation captured one of them

#

and then yeets out the window

wide chasm
#

The aliens are more technologically advanced then us, though, so assuming that statement is correct, they wouldn't necessarily have anything that would change much in the end. We might be able to live longer for a while because of that tech, but eventually the aliens will kill us all.

worn ember
#

or just let earth deal with it like in War of the Worlds

wide chasm
#

Still a viable option if you want to live longer though

sharp sentinel
#

Nah it’s a trick question - the aliens get covid and don’t know how to deal with it

slim nymph
#

@wide chasm say everyone goes to shelters, or hunkers down in homes, then the aliens get here and they die in our atmosphere within 24 hours. We didnt know this, but if we gave up and accepted fate, the amount of loss could be near 100% vs saving some and have people remaining to rebuild society afterwards

wide chasm
#

Yes, if that'd be the case that's a valid approach

worn ember
#

or they just nuke the shelteres and they kill millions in one blow

slim nymph
#

key point there, dont give up, more solutions can present themselves later

worn ember
#

profit

cyan nova
#

Nah it’s a trick question - the aliens get covid and don’t know how to deal with it
plot twist they are not biological

wide chasm
#

Although assuming we can 'live' on places without an atmosphere and they are more technologically advanced, I'd assume they would be able to survive here.

golden gust
#

Y'all are tryna read into it too much

worn ember
#

if you smart you wear full suits

wide chasm
#

That's what I do

sharp sentinel
#

Reading into it is the interesting part tho, it’s actually a super interesting problem when you tighten it a lot

wide chasm
#

But - if I may be so blunt - that's not necessarily bad: it ensures that you gather as much information as possible, to make the best decision there is.

slim nymph
#

yeah when i got asked the question they didnt put in the detail about them being so far superior that they cant be defeated, so i took it as "I have the entire worlds military under my control, WAR MOTHER FUCKERS!"

#

so they added that detail to switch focus to defense instead of offense lol

wide chasm
#

lol

golden gust
#

ITT: aikar breaks interview questions

sharp sentinel
#

Ngl that’d be an interesting RTS, start with a few days before a cataclysmic event (eg alien invasion) and lots of resources etc, and you have to prepare for it then survive / win

wide chasm
#

For uni assignments, I've spent multiple pages on very simple questions, just putting in "let us assume that x" and "if y is the case, then", just to be absolutely completely correct.

#

I'm doing something similar here.

cyan nova
#

Ngl that’d be an interesting RTS, start with a few days before a cataclysmic event (eg alien invasion) and lots of resources etc, and you have to prepare for it then survive / win
well stellaris is a game that vaguely has this concept with endgame crisis.

slim nymph
#

i dl'd that game but it just looks too damn complex

#

maybe easier on PC but man im surprised they pulled that game off on console lol

cyan nova
#

it's a paradox game so yeah but probably one of the least complex in its category

#

idk about the console versions but i think they are many versions behind and lack features

slim nymph
#

i want an eve online for console 😦

stiff yarrow
#

i want an eve online for console 😦
@slim nymph isn't this a game you have to nolife

#

I can't play nolife games

slim nymph
#

for hard core yeah, but one of the nice things is leveling up occurrs while offline too

#

but for pvp it is no life

#

if you log out outside of a space station you stay floating there

#

iirc, its been so long since i played

#

but when you own solar systems, people can raid you

#

the wars that occur in that game, and corporate sabotage, spies, its insane

#

you can have ships that take YEARS to build up then get blown up, with real life value of 10k+ USD

#

the most powerfulship in game is something you dont go flying out in without your entire team/army

queen moat
#

Is there a reason to use BungeeCord vs WaterFall?

stiff yarrow
#

it sounds like something you could enjoy if you were retired

queen moat
#

And is it worth me taking the time to set up a rotating proxy?

twin lagoon
#

is there a reason to use bungeecord

#

lol

queen moat
#

so bungeecord bad?

unreal quarry
#

I played maybe 2 hours of eve online. I found it very slow paced. Never logged back in after that

twin lagoon
#

waterfall is a fork of bungeecord

#

you might aswell just use it

queen moat
#

Oh awesome so plugins will be compatible too? API's are all the same?

twin lagoon
#

yes

queen moat
#

Lovely!

twin lagoon
#

ideally though, you'd switch to Velocity

queen moat
#

Why?

twin lagoon
#
  1. it's not based off of bungeecord
#
  1. it's extremely efficient
queen moat
#

I have a bungeecord plugin that manages a queue system for my server sadly..

#

It needs to have the bungeecord api

unreal quarry
#

I'd switch to velocity if I could bring my bungee plugins with me

#

That's what holds me back

twin lagoon
#

same

#

i'd use velocity for brand new servers

queen moat
#

A'ight

#

What of Paper Vs Tuinity?

twin lagoon
#

tuinity is leaf's fork of paper

queen moat
#

I heard it's just experimental tweaks that may go into paper at a later date

twin lagoon
#

from my experience it has better performance

#

i'd stick to paper unless you need the extra performance after you squeezed out as much as possible

queen moat
#

My survival 1.16 server is hard stuck 40 player cap

#

And now our Proxy can't keep up with the 150 players on the network

slim nymph
valid mango
#

Does velocity have some metrics on performance vs waterfall, or do they just say it is faster

slim nymph
#

but you can see how Role Playing this game can get lol

queen moat
#

yea ive been trying to find metrics on paper, bukkit, spigot, tuinity, and I can't actually find any

valid mango
#

Hmm yeah if it is not proven then it is not worth the lack of plugins/work done on bungee/waterfall

mental meadow
#

because there is no way to accurately test the performance of those different implementations, since it depends on a million different things and even if you change one small thing everything might be different

twin lagoon
#

tuxed (the developer of velocity) had an instance of velocity running

#

700 players @ 150% cpu

#

with actual players

queen moat
#

..Damn

twin lagoon
#

it is definitely worth switching over

golden gust
#

Velocity defo has improvements due to it's ability to use fancy new stuff and the fact that it's designed with the foresight of bungees fallbacks

valid mango
#

I would take a defaults everything test

golden gust
#

e.g. to my understanding, it deals with people doing bad stuff in the networking better

#

(Stuff which can't really be fixed in waterfall without rewriting a bunch of stuff and breaking 200 plugins...)

queen moat
#

Also, right now my proxy restarts daily, and kicks everyone off the network. How would I implement a proxy redirect every 12 hours so players join the new proxy, and the old one turns off

golden gust
#

you can;t

twin lagoon
#

why do you proxy restart

#

i never restart my proxies

queen moat
#

Really?

golden gust
#

best you could do is rolling upgrades and let the players drain out of that "dead" instance, or just boot them

twin lagoon
#

why would you

#

bungee can last without reboots for a year

golden gust
#

But, yea, there is 0 reason to restart the proxy outside of updates

queen moat
#

We were having lag issues and our host said do a daily proxy restart

mental meadow
#

bad host 😄

twin lagoon
#

lag likely has nothing to do with your proxy

valid mango
#

Probably just a cheap host is your problem

queen moat
#

Yea I just bought a VPS

golden gust
#

Well, if the proxy was lagging after some time, you should investigate why

queen moat
#

So I can self manage it

valid mango
#

Scapegoat answer for their crappy service

twin lagoon
#

150 players on a proxy shouldn't lag either

slim nymph
#

man this video is like a damn space war movie lol

twin lagoon
#

i've ran 350 players on 1 proxy, 1.15 without problems

golden gust
#

that often means something is going sideways somewhere and you should work out why, as issues like that only tend to get worse as you deal with more players, etc

#

Soon you'll be tryna justify hourly restarts

valid mango
#

I like Aikar just continuing to talk about games in the middle of this convo xD

queen moat
#

whew yeah, that wouldn't be good

#

Okay thanks for the info! I'm going to look into making some changes on how I manage it then

unreal quarry
#

but you can see how Role Playing this game can get lol
@slim nymph tbf, any game can be role played. You seen those plane simulator videos? ^_^

magic river
#

Tried playing Baldur's Gate 3 last night, multiplayer is broken 😦

#

Combat desyncs so hard it was taking 2-5 minutes for even my own actions to register on my screen, had to roundtrip through the host before it allowed them

cosmic raft
#

maybe I will go to the mall today

slim nymph
#

you still have open malls?

#

oh wait not murica

twin lagoon
#

our malls are open too

#

everything is open rtx_boi

#

although shit is slowly going to close down again because of rising numbers

cosmic raft
#

lol aikar

#

yea I don't live in United States of Coronavirus

autumn magnet
#

What's the difference between an enhanced for loop and forEach

slim nymph
#

i wouldnt dare put my ass in a mall

#

our numbers have only continued to rise, but hey lets send kids back to school

worn ember
#

They need it

autumn magnet
#

Is there anything I could be doing better here?

#

It gives the expected output

#

but working doesn't mean efficient

slim nymph
#

getting rid of that unnecessary Stream.of

#

peopleList.add(new Person());

autumn magnet
#

Me4502 told me as long as there's no hinder in performance streams are fine

#

I'm only running it once too

slim nymph
#

sure its not a performance issue

#

just a question of why do it in first place

cyan nova
#

also the list of stringbuilders is unnecessary

autumn magnet
#

looks cleaner than continuously adding to list IMO

#

i dunno

#

whats wrong with doing that over continuously adding

slim nymph
#

what do you think your codes doing atm lol

autumn magnet
#

umm

#

It's just taking those people and adding them to the list

slim nymph
#

its just doing same thing with more overhead

autumn magnet
#

What does Stream.of do?

#

Is that the extra overhead?

slim nymph
#

no, thats effectively creating a wrapper object that is essentially another list of your people

autumn magnet
#
 * Returns a sequential ordered stream whose elements are the specified values.
#

Oh so it's creating like two lists

slim nymph
#

yes

#

you can also do like Arrays.asList(new Person(), new Person()); and just initialize it from start

next frost
#

Also forEach as terminal operation is a bit suspect in most cases

autumn magnet
#

Ah and the string builders yeah I was trying to make it so I didn't have to loop through each person but it wasn't working and I forgot to remove them

#

Here

#

and that's exactly what i wanted aikar thx

short yarrow
#

Would a regular for loop be preferred over forEach?

autumn magnet
#

Yeah that's the main question I have now, what's the difference really?

next frost
#

forEach on streams is suspicious in most cases, on collections it's fine as long as code isn't split up over multiple lines

short yarrow
#

easier to read?

cyan nova
#

what i'd do: once you got your list: sort them using the stream api, then map to string, then collect to single string and print that

twin lagoon
#

chivitos you've been here long enough to use #paper-help

void void
#

Oh yea

short yarrow
#

I think the compiler converts it to stringbuilder as well

autumn magnet
#

What's suspicious mean?

#

In this context

short yarrow
#

I think there are cases you would use StringBuilder over concatenation, but can't think of any right now

autumn magnet
#

I think the compiler converts it to stringbuilder as well
@short yarrow Yeah it does

#

I guess there's no performance advantage or anything

cyan nova
#

stringbuilder is useful in loops and stuff where you are unsure of the exact number of concatenations required

autumn magnet
#

What does that O(N) shit mean

next frost
#

big O notation

cyan nova
#

time complexity where N is the amount of elements you are processing

#

O(N) is linear time basically

autumn magnet
#

how do I use a newline in a string builder

#

actually sorry

#

I should google these

golden gust
#

exact same as you do a newline in a string

worn ember
#

\n

autumn magnet
#

yeah I thought there was a special way or something

#

that's why I was doing the list of string builders last time

#

but this has the same expected output

#
Timmy, 10, null
Marcus, 14, sysadmin
John, 18, software engineer
David, 20, build architect
next frost
#

yeah but it's only one print operation now

autumn magnet
#

There should honestly be a StringBuilder#newLine option or something

#

Did I do that right?

#

When should I use hashtags in sentences versus a period

next frost
#

is used for instance methods/attributes

cosmic raft
#

You can just append("\n")

#

for newline

autumn magnet
#

What if the program is being ran on a platform that doesn't use \n for newline ;p[

cosmic raft
#

It still works.

next frost
#

or you can use System.lineSeparator()

cyan nova
#

ideally you should have overriden Person#toString (or another method) to output name, age etc
then after you create your list: System.out.println(peopleList.stream().sorted(<ComparatorHere>).map(Person::toString).collect(Collectors.join("\n")));

autumn magnet
#

now a simple addition thing

#

i had to google for some help for the scanner

mighty storm
#

public static void private Object String void main(String[] []args[])

cosmic raft
#

bahhh

next frost
cosmic raft
#

I really want to buy this

#

:(

twin lagoon
#

what do you want to buy

cosmic raft
#

an iPad

twin lagoon
#

k bought it for you

cosmic raft
#

I wish :p

#

Michael being a tease

twin lagoon
#

how much is it even

cosmic raft
#

$429.99

twin lagoon
#

lul

cyan nova
#

how much is it even
the answer is too much for a mediocre, locked down device

cosmic raft
#

no laughing :(

#

I'm even at the store right now because I am really considering it

valid mango
#

What are you planning on using it for

cosmic raft
autumn magnet
#

iPad Pro?

valid mango
#

glorified note taker?

next frost
#

it's super useful if you want to take notes and stuff

cosmic raft
#

Notes is one thing yes

autumn magnet
#

@cosmic raft I would buy it, I'm definitely buying an iPad Pro soon

#

I had the 6th generation regular iPad and it was amazing

#

My MacBook is too slow for me to consider taking into university with me

#

So the ipad pro will be my goto

cosmic raft
#

well yea,but money is not unlimited

#

lol

valid mango
#

I do think they are overpriced, but I did buy an iPad pro for my SO and she really likes it for school work/note taking.

autumn magnet
#

SO?

#

Oh significant other

#

Yeah I'm just hoping to finance one with the student discount.

cosmic raft
#

Product Subtotal$598.99
Estimated ShippingFree
Environmental Handling Fees$0.80
Estimated Taxes$72.70
Estimated Total$672.49

autumn magnet
#

If that even applies to me, I'm in grade 11

cosmic raft
#

pls

autumn magnet
#

Is that CAD or USD?

cosmic raft
#

CAD

autumn magnet
#

do it :3

cosmic raft
#

If it was $100 less I probably would

cyan nova
#

other than note taking i dont see a reason to use a tablet... and even then if you are seated an ultrabook or even your phone is probably fine

autumn magnet
#

think about it as usd

cosmic raft
#

My phone is not fine when I want to write notes . I just regular paper right now but lose notes all the time

autumn magnet
#

then instead of $672 cad

#

it'd be $500 usd

cosmic raft
#

yes but my bank account is in CAD :p

valid mango
#

My main issue at this point is that I hate the software available for note taking on these devices

autumn magnet
#

F

valid mango
#

I plan on getting an E-ink tablet that feels more like paper, and then maybe writing my own note syncing service

autumn magnet
#

notes is good enough for me

#

cause since they sync up with icloud i could move from ipad to macbook

#

to iphone

#

the apple ecosystem is so great to me

valid mango
#

notes doesn't have hand drawing does it?

autumn magnet
#

yeah it does for the ipad i think

#

you can use the pencil thing

#

if not there is a stock ios app that supports that

cosmic raft
#

Without an apple pencil I can afford it if I wanted

valid mango
#

yeah idk, they don't really scale when it comes to organization

cyan nova
#

I plan on getting an E-ink tablet that feels more like paper, and then maybe writing my own note syncing service
why not use something like syncthing?

autumn magnet
#

Apple Notes app has a handwriting recognition feature built-in. ... Plus, you don't even need to unlock your iPad to start taking handwritten notes. Just tap on your iPad's lock screen with your Apple Pencil. This will create a new blank note that you can start writing in.May

valid mango
#

you're basically stuck with onenote for free (which I have had so many issues with), or paid evernote

#

Yeah I've seen syncthing, looks like a good idea to try out

cyan nova
#

or nextcloud

valid mango
#

I'm talking more about writing something if the tablet I get does not have good software

#

I was looking at the remarkable, but their software is really locked down and kind of crap

cosmic raft
#

@twin lagoon uwu, buy me an apple pencil!!

#

:P

#

ignoring me :(

twin lagoon
#

uwu

autumn magnet
#

Is the Apple Pencil needed to draw?

twin lagoon
#

apple pencil dbrand skin is fucking epic

autumn magnet
#

Or can you use your finger fine?

#

Probably not as accurate

cosmic raft
#

writing notes is not easy without one

valid mango
#

You "could" draw with your finger, but it really really sucks

autumn magnet
#

$129 for a god damn pencil

valid mango
#

Even with those rubber/cloth tip styluses it sucks

cosmic raft
#

yes

#

:/

autumn magnet
#

What if I just bought a real pencil and used that instead /s

#

Idk I wouldn’t mind taking paper notes but I’d lose them easily

cosmic raft
#

I'm only considering this because I keep losing paper notes

#

one of which had something important on

autumn magnet
#

Rip

cyan nova
#

write in paper then digitize?

autumn magnet
#

A password or something?

#

I know some people who keep their passwords on notes and I’m like why would you do such a thing

#

I guess it’s cause they’re probably neater than me

#

But yeah I’m generally always a mess

cosmic raft
#

blah

#

meh

#

didn't realise the pencil was so expensive, I came here ready to buy if it worked good

#

thought it was like $50

autumn magnet
#

Not a fan of financing it?

#

I probably wouldn’t think about it all that much if it only came as like $10 a month for 12 months

cosmic raft
#

Cannot finance

twin lagoon
#

it's fucking $120

cosmic raft
#

Yea michael

autumn magnet
#

Buy it for him then

cyan nova
#

look, it's a special pencil made of ivory and gold 😂

cosmic raft
#

do it I dare you

twin lagoon
#

ngl kashike would've probably bought it for you but i already spent $1000 dollars this month

#

for another rtx 3080

autumn magnet
#

Another?

#

Why plural

twin lagoon
#

yes i bought another one because my first one hasn't arrived yet

cosmic raft
#

making me cry Michael

autumn magnet
#

Wtf

twin lagoon
#

look i'm #1 in queue for an evga card at another store now

autumn magnet
#

What are you gonna do with the other one when the first one arrives

twin lagoon
#

cancel the order or give it to my brother

#

who will obviously pay for it

#

how much money do i have on paypal is the question

cosmic raft
#

yes that is the question!!

twin lagoon
#

yeah no

#

i don't have enoguh too bad kashike

cosmic raft
#

rip

twin lagoon
cosmic raft
#

why is there a *

twin lagoon
#

estimated, multiple currencies in account

cosmic raft
#

ah

autumn magnet
#

Why?

cosmic raft
#

oh well

next frost
#

€xyz EUR thonk

autumn magnet
#

I don’t use PayPal but isn’t it like someone sends you their own currency they’ll convert it to yours?

#

I saw a user interface page for something like that on it before

twin lagoon
#

yes and no

limber knotBOT
#

depends on how you set it up

twin lagoon
#

it defaults to eur for me but you can still send in other currencies

#

i accept both eur & usd which is probably why that happens

limber knotBOT
#

iirc you can make it auto convert or keep the currency you get

twin lagoon
#

else it would probably auto convert

#

ye

autumn magnet
#

Yeah that makes sense

limber knotBOT
#

what's cool is that you can use partial balances of another currency wallet if the original one doesn't have enough

#

(their exchange rates suck though (imo))

twin lagoon
#

paypal exchange rates fucking suck yes

limber knotBOT
#

I stopped accepting payments in anything but euro lol

twin lagoon
#

it's $170 CAD what the fuck apple

cosmic raft
#

eh I'll just buy a cinnamon bun and go home

twin lagoon
cosmic raft
#

stupid pencil ruining my day

twin lagoon
#

what a time we live in

minor badge
#

cinnamon buns are EPIC kash

cunning raft
#

bruh just by a regular pencil and a piece of paper

cosmic raft
#

try reading what I said earlier

meager tusk
#

Is that Michelle?

#

Hello Michelle.

twin lagoon
#

idriz kevin rewrote your shit

#

you're useless

limber knotBOT
#

until a digital paper can feel the same way as a real one it's not worth it imo lol

cunning raft
#

im joking kash ik

meager tusk
#

@twin lagoon kevin's gonna re-do all your shitty devops work

#

so how's that

twin lagoon
#

you're fired

meager tusk
#

No you're fired

meager tusk
#

Sike. You're not fired. PES_Heart

valid mango
#

@wheat quarry e-ink tablets are pretty much the same feeling

twin lagoon
limber knotBOT
#

lol no josh

#

never seen an e-ink tablet + pen combo that wasn't plastic/rubber scrabing over a hard surface

#

you can't compare that to the feeling of paper and a pencil or ball pen

autumn magnet
#

I wish macbook pros weren’t so expensive

#

I would love to just buy the 16inch model but it’s like 2k for the base version

meager tusk
#

I wouldn't buy the 16 inch model

autumn magnet
#

So I’m forced to go with the iPad

#

Why not

meager tusk
#

Too big

#

I'd just buy the 13 inch one

#

works fine

autumn magnet
#

I think 13 inch is too small

twin lagoon
#

i wouldn't buy both

#

buy a dell xps 13

meager tusk
#

Shit software

#

Windows

limber knotBOT
#

anything above 7 inch is way too big

twin lagoon
#

fuck you idriz i have taste

limber knotBOT
#

runs

autumn magnet
#

Yeah I don’t want to use Windows for like a laptop

meager tusk
#

Fuck you Michael you have taste but no skill

#

Sike. PES_Heart

autumn magnet
#

Nor do I want linux on a laptop

meager tusk
#

Apple just nails design

autumn magnet
#

Macos seems like the best portable OS too me but that’s just me, their ecosystem works great as a daily driver

meager tusk
#

Yeah

twin lagoon
#

they nail hardware too clearly

cunning raft
#

hahaha

#

no

twin lagoon
#
#

TL;DR: recent Macs (2018-2020, T2 chip) are no longer safe to use if left alone and physical access was possible, even if you had them powered down.

The root of trust on macOS is inherently broken
They can bruteforce your FileVault2 volume password
They can alter your macOS installation
They can load arbitrary kernel extensions

cunning raft
#

looks good != nailing hardware

twin lagoon
#

that was a meme jroy

cunning raft
#

and yeah that's old news

meager tusk
#

Okay so common sense Michael

autumn magnet
#

You’re acting like windows doesn’t have issues too

meager tusk
#

Don't install software that's shady

cunning raft
#

windows isn't a hardware vendor

autumn magnet
#

Windows and Linux have had their share of vulnerabilities throughout the years

twin lagoon
#

what

cunning raft
#

Idriz that's not what that exploit is about

twin lagoon
#

read the article

autumn magnet
#

That’s a vulnerability right?

cunning raft
#

you need physical access

twin lagoon
#

no you really want to read this article kekww

autumn magnet
#

You act like anyone here reads articles people use to quote

#

Mmm alright I’ll read the article

cunning raft
#

t2 chip is pretty much the iBoot for macos

autumn magnet
#

First name I saw was axi0mx

limber knotBOT
#

imagine using Intel processors that are exploitable via Javascript on a webpage

autumn magnet
#

That dude can hack anything Apple makes

limber knotBOT
#

runs

cunning raft
#

phoenix PogO

valid mango
#

there are a lot of really good ones coming out that are comparable

meager tusk
#

Don't let people near your laptop PepeLaugh

cunning raft
#

good one?

meager tusk
#

Good one, yeah

limber knotBOT
#

great, let me know when they are as fin as a paper and foldable

#

runs

#

*thin

autumn magnet
#

shit man I mean yeah

#

2018-2020 MacBooks are like

#

1.5k at base

cunning raft
#

a root of trust exploit is very bad

valid mango
#

I'll set a reminder to message you in 5 years lol

autumn magnet
#

I’m never leaving that shit unattended if I buy one

meager tusk
#

^

#

lol

cunning raft
#

all it takes is one slip up

limber knotBOT
#

not just getting a good old T430 smh

cunning raft
#

still v bad

meager tusk
#

same could be argued about any laptop lol

#

all it takes is one slip up into another guy's bag

autumn magnet
#

Yeah plus that’s just an exploit you can iCloud lock

cunning raft
#

apple sheep i stg

autumn magnet
#

I mean not that

#

You can iCloud lock a MacBook

meager tusk
#

aPplE sheEP

autumn magnet
#

Windows laptops you can just hard reset

cunning raft
#

another reason why OSS is more secure

autumn magnet
#

And it’s yours

#

You boot into bios and clean wipe the OS

meager tusk
#

It's not about being an apple sheep, I just like the OS lol

twin lagoon
autumn magnet
#

call us “apple sheep” when you have nothing else to argue

#

😦

limber knotBOT
#

no reason to use MacOS when one likes the OS though, you can get the same experience in Linux

autumn magnet
#

Nah I’m joking but really

cunning raft
#

ok then why are you down playing a serious security lapse (Idriz)

limber knotBOT
#

runs

cunning raft
#

you like their os, to each their own, but you're saying "just don't lose ur laptop bro"

twin lagoon
cunning raft
#

like that solves it

autumn magnet
#

What does this security thing allow people to do?

valid mango
#

Linux still can't beat the touch pad

twin lagoon
#

full root access

ancient bolt
#

I use macOS on my work machine, and my personal laptop is a macbook pro. I'm definitely a sheep

meager tusk
#

clappywappy @twin lagoon

cunning raft
#

brute force password rene

autumn magnet
#

I see

mighty storm
#

im a cat

twin lagoon
#

or just keylog the password

meager tusk
#

@cunning raft That does solve it, don't let people around your laptop lol

autumn magnet
#

I guess it’s bad in the sense someone malicious wanted to access your files

#

but if someone wanted a new MacBook then like

cunning raft
#

4Heed "just don't lose your laptop bro"

#

mistakes happen

meager tusk
#

ok or mock me

cunning raft
#

if apple didn't treat security researchers like shit they'd be in a better situation

#

instead they contribute next to nothing to open source and barely have a bug bounty program

autumn magnet
#

Wdym?

#

They have a bug bounty

#

And pay big

cunning raft
#

no

#

they rarely payout

twin lagoon
#

clearly they didn't care enough

meager tusk
#

I'm not arguing about Apple's ethics, apple is a shitty company

#

but saying "oh but if somebody gets close to your laptop it is in danger" literally applies to every device in existence lol

autumn magnet
#

@cunning raft if they didn’t pay out couldn’t that get them in legal trouble?

#

do you have examples of where someone reported a bug and didn’t get paid for it

#

but the issue got resolved

meager tusk
#

@autumn magnet you're wrong here, apple has lawyers that get paid millions

#

suing apple won't go far

autumn magnet
#

That was a question though

#

lawyers that get paid millions, still, what defenses will they have that aren’t going to go around in a loop

#

I don’t have a good understanding of the court system but if they’re clearly offering payouts for these things on their website

limber knotBOT
#

doesn't matter, they are going around a loop until you run out of money

autumn magnet
#

someone reports one, they fix it but don’t pay

cunning raft
#

for example I've found 2 bugs in webkit, first time I reported it to apple i got no money and barley any communication (and it took them a shit ton of time to fix). for the second one (and from now on out if I ever find more webkit bugs) I've just reported them as security bugs to chrome (since they have to use webkit on apple) and google will actually pay me

#

and no bug bounty system doesn't entitle you to money @autumn magnet, you just hope you get paid

#

you're reporting a bug based on good faith they'll give you money

autumn magnet
#

I don’t know if bugs on webkit are listed as payout reward

cosmic raft
#

so this is interesting

autumn magnet
#

I think it’s more towards bugs that can actually fuck someone up

cosmic raft
#

this guy at this store recognises me even with a facemask

cyan nova
#

imagine using proprietary software and waiting for others to fix the issues 😛

waxen panther
#

@minor badge

worn ember
#

only one click, two clicks get you nothing

autumn magnet
#

you're reporting a bug based on good faith they'll give you money
@cunning raft these are set in stone payouts however

cunning raft
#

no

#

that's not how it works

autumn magnet
#

I think if you’re reporting any bugs other than what’s listed

#

it’s just a 50/50 chance you’re paid for it

waxen panther
#

they're not set in stone at all

cunning raft
#

the website you gave is not a contract

#

and the bug i reported to them is payout worthy

#

it was an RCE vuln

autumn magnet
#

I don’t know what that is but is WebKit their software to maintain?

cunning raft
#

if you don't know what it is why are you making statements like you do

waxen panther
#

yes they develop it 🤨

cunning raft
#

it's their browser stack

autumn magnet
#

You’re being passive aggressive about this whole conversation while I’m just simply trying to make it to get more knowledge about the subject?

worn ember
#

browsers dont stack

limber knotBOT
#

maybe yours doesn't

autumn magnet
#

I’m not making statements, I’ve been asking you questions this entire time about how this whole thing works. It’s just a career path I may pursue and was talking to someone with clearly more experience than me in it

cunning raft
#

sorry for misunderstanding it seemed like you were trying to discredit what i was saying

autumn magnet
#

no, was just following along hoping I got everything down

#

if it was payout worthy

#

but you didn’t get paid

#

I guess I get what you mean by Apple treats security researchers like shit

#

But I was trying to compare what if you found a vulnerability they explicitly said they pay out for on that site

cunning raft
#

nothing I sign says apple has to pay me, it's all up to them what they deem needs a payout

autumn magnet
#

Versus you just finding a vulnerability in random software they own

#

Like if you found an iCloud vulnerability that matches the details that goes for the $100k bug bounty payout

#

And they end up not paying but acknowledging your discovery and fixing it

#

You can’t sue them for that?

cyan nova
#

generally it's not worth pursuing unless you get really lucky and find something really big. Even then it's not exactly stable income. If you are interested in this line of work then pentesting would be a better choice

#

there's few people who made a career out of bug bounties

meager tusk
#

apple is unethical what else is new sadge

autumn magnet
#

When I said career path, I meant something I could find as an occupation or study path in college

#

Well it’s just theoretical, I wasn’t saying they’d actually do that, @meager tusk I’m just saying could you sue them if that’s the case

#

not saying I meant asking

cyan nova
#

When I said career path, I meant something I could find as an occupation or study path in college
AI and CyberSecurity are the two main paths most Comp Sci students take, in UK at least

autumn magnet
#

Yeah yeah, cybersec and compsci is what I plan to do in college

#

Maybe mathematics

minor badge
#

@waxen panther wat

waxen panther
#

good morning

cosmic raft
#

I got cinnamon buns

minor badge
#

pogu

cosmic raft
#

now to spend an hour heading home

minor badge
#

enjoy ur cinnamon buns kash 🥺

cosmic raft
#

no u

minor badge
#

mail me em then

twin lagoon
#

awa

cosmic raft
#

got something to show aurora when I get home

twin lagoon
minor badge
#

@mental meadow ! :0

cosmic raft
#

if aurora is still here by then

minor badge
#

sure she will be

mossy vessel
#

lmao 😉

void void
#

@minor badge hi mom

#

oh you

#

r mod

minor badge
#

who in the fuck unbanned you after being banned for sexual harassment

autumn magnet
#

I’m not gonna lie, a lot of times I often find myself using other people’s code in my own projects

void void
#

idk but im sorry, i will stop

autumn magnet
#

Is this bad? Is that plagiarism?

mental meadow
#

cinnamon!!!!

minor badge
#

just give proper credit where credit is due, renegade

heady spear
#

@cosmic raft cinnamon buns yay ur so swedish uwu

cosmic raft
#

uwu

heady spear
#

kanelbullar <33333

autumn magnet
#

Yeah like for example I did tuis last night

cedar spade
#

(and follow licenses)

autumn magnet
#

Someone had an abstract class for item stacks they used for spells, and I just copied and pasted the abstract class

heady spear
#

I had two dammsugare bcuz dammsugare are bae :3

autumn magnet
#

But made my own changes to adjust to my use case

#

I shouldn’t be doing that right?

cedar spade
#

it depends

autumn magnet
#

Or is that what you would call a part in the day of the life?

#

What else does it depend on? I’m not sure how more specific I could get

#

It was an abstract class that had a map of all of the items, it added the item to the list in the class constructor and like, it just had the abstract method for onUse

#

I just don’t want to be called a code stealer or something even though I guess that is what I did, but that would get you a bad name wouldn’t it?

zealous knot
#

so now there's people who like to go 9 years back in MC versions instead of 8?

#

bruh moment

mossy vessel
#

Tux thing, can't be that bad kekw

zealous knot
#

Yeah and leaf is a contributor kek

mossy vessel
#

Oh

#

Better not use that then

spice finch
#

what?

#

what's even the purpose of this

cedar spade
#

yes

autumn magnet
#

Am I gonna be using standard for loops a lot? Are they worth getting the hang of?

#

Or is it generally now just enhanced for

#

That's awesome.

twin lagoon
#

who is meltedlux

#

lol

zealous knot
#

who what

autumn magnet
#

You guys don't know MeltedLux?

#

I thought everyone knew MeltedLux lol

zealous knot
#

i thought everyone knew me

mossy vessel
#

If Michael doesn't know them they can't be that important/known

zealous knot
#

yes, all knowing 🅱️ichael doesn't know something is sus

autumn magnet
#

@twin lagoon Do you know SpongyBacon or Evoltr?

twin lagoon
#

no

cyan nova
#

Am I gonna be using standard for loops a lot? Are they worth getting the hang of?
usually enhanced loops are preferred as you are less likely to make index errors. But you should get familiar with how loops work in general.

autumn magnet
#

Yeah I think Michael is just from a different era lol

twin lagoon
#

@mossy vessel depends

autumn magnet
#

How long have you been playing Minecraft or in this community Michael?

twin lagoon
#

2012 or something

autumn magnet
#

Not Paper, I mean Minecraft

#

You don't know SpongyBacon or meltedlux?

twin lagoon
#

no

autumn magnet
#

Corin?

zealous knot
#

i'm around since jan 2012 and i don't know them either

twin lagoon
autumn magnet
#

TheReverend403, vemacs?

mossy vessel
#

Well, you know a lot of people lul

twin lagoon
#

vemacs i do recognize

#

the rest not

meager tusk
#

Hey Michael do you know Idriz

twin lagoon
#

i think most people would recognize vemacs

autumn magnet
#

I don't know, I always thought they were like pretty known people in the community

#

Yeah definitely vemacs at least

#

gsand?

twin lagoon
#

gsand is in here

meager tusk
#

Ignore me then?

autumn magnet
#

I never knew that

twin lagoon
#

go away idriz

meager tusk
#

.

cedar spade
#

vemacs is still "around"

meager tusk
#

Why?

autumn magnet
#

I haven't been here for long anyways

#

Really? I thought he was a college dude now

#

Well not college dude

cedar spade
#

ie their IRC bouncer is still up

autumn magnet
#

I meant I thought he left this community a long time ago

#

I saw he moved off his old GitHub to a new one using his real name, so like a more professional identity

cedar spade
#

he worked on EssentialsX's 1.11 support ¯\_(ツ)_/¯

autumn magnet
#

He helped me set up mark2 before

#

That's what introduced me to gsand

mighty storm
autumn magnet
#

@twin lagoon @zealous knot DarkSeraphim, Twister915, or RenegadeEagle?

#

What is roadmap?

twin lagoon
#

uh

autumn magnet
#

Is that what GitHub plans to add to their site?

mighty storm
#

ye

twin lagoon
#

yeah no none of those ring a bell

autumn magnet
#

Oh nice

zealous knot
#

I remember dark i don't remember from where, i think bukkit.org? dunno the rest

mighty storm
#

well, their platform(s)

autumn magnet
#

Darkseraphim was known as fireblast709 on bukkit I think

mighty storm
#

thats all 2021 Q1 stuff though

zealous knot
#

holy shit fireblast709

#

i loved him so much

autumn magnet
#

Most of the people I'm listing just come from Spigot or are known in minecraft in general

zealous knot
#

god bless that dude

autumn magnet
#

Yeah he was really helpful

#

They're the people who got me into making Spigot plugins, now I'm trying to expand into Java.

cosmic raft
#

@mental meadow

#

you'll recognise that one out of the three i got today

autumn magnet
#

Probably a name you haven't heard but it's worth a shot Mister_Fix, Kainzo?

cosmic raft
#

I know that name, renegade :p

mental meadow
#

uwu

#

I think those figures look always so funny :D

waxen panther
#

who hasn't heard the name Mister Fix

mental meadow
#

Started with S6 today btw @cosmic raft

autumn magnet
#

I thought he was more of a Spigot guy but md_5 and Kainzo working on zPermissions is what got me into looking at projects like PEX and LP to see how they handle these things

#

One of the bigger projects I want to take on once I fully wrap my head around the fundamentals of Java is a cross-platform very simple permissions plugin

vernal moth
#

(tm)

cosmic raft
#

@mental meadow :D

#

that's new on github:

#

An owner of this repository has limited the ability to open an issue to users that are collaborators on this repository.

mental meadow
#

That's cool

autumn magnet
#

Yeah that's pretty good, wasn't the Forge team complaining about a user spam opening issues on their GitHub page

#

I guess that doesn't fix the issue directly of being able to mass delete issues but it's indirect fix

vernal moth
#

Don't need to mass delete

#

Gh does that if you report

#

They are quick

autumn magnet
#

Wouldn't that annoy the support team

vernal moth
#

If you mass delete, Kash gets angry at you

cosmic raft
#

hm

autumn magnet
#

They could be focusing on other emails

vernal moth
#

Can't recommend 😂

cosmic raft
#

seems like that message I put above

#

is not actually a public feature

#

that's rude

mighty storm
#

could be a pro plan thing or smth

void void
#

Hey, how to inject dependencies into a .jar file in runtime ?

heady spear
#

Does anyone know if it's possible to get a non-dumb jline3 console when running in intellij? .-.

vernal moth
#

I have an issue for that somewhere

#

I think in TCA

mighty storm
#

@void void just shade the deps in

heady spear
#

I don't wanna package the application & run it externally just to test stuff D:

autumn magnet
#

So let's say I mined a block and wanted 5 chickens to spawn

#

I'd do

#

for (int i =0; i < 5; i++)

#

then write the code to spawn 5 chickens?

next frost
#

then write to code to spawn one chicken

void void
#

That would only do it 4 times.

next frost
#

that code is repeated 5 times

void void
#

<=5

next frost
#

|{0, 1, 2, 3, 4}| = 5

void void
#

nvm, my bad, your right, I always get my languages mixed up

green turret
#

What devil language do you normally speak?

void void
#

My upstairs neighbor is currently not home, which means I have peace and quiet. What should I do?! Watch some TV on low volume? Read in my book? Sit in my recliner and not do anything and just enjoy the silence? Play Super Mario Odyssey?
Quick! Before he comes home and ruins my life again!

minor badge
#

@next frost youre so smart uwu

green turret
#

What the fuck are you quoting me for?

next frost
#

uwu thanks proxi

green turret
#

You're the weirdest little dude Marcel. So strange.

void void
#

I'm so sorry!

#

Please forgive me.

green turret
#

But what the fuck are you even doing?

void void
#

Super Mario Odyssey is a really cool game tho!

green turret
#

Prox, can you explain this behavior. I think maybe I'm just old.

autumn magnet
#

This usually would look like gibberish to me but now I understand what everything does

green turret
#

What does line 27 do?

autumn magnet
#

in my try catch, how would I return them back to the beginning where it asks how many times does it want them to print it

#

close the class

green turret
#

Yes!

#

And you can tell because your code is properly indented.

void void
#

@void void just shade the deps in
@mighty storm no

green turret
#

Unlike the code some of the students presented to me. Failed handin right there.

void void
#

That is very good your learning Java!

limber knotBOT
#

hm?

void void
#

I want inject in runtime

#

Are you also on episode 34 of thenewboston youtube tutorials?

limber knotBOT
#

inject in runtime? kinda sus

minor badge
#
Integer input = null;
do {
  // Ask for #
  try {
    input = scanner.readInt();
  } catch (...) {
    // Bad!
  }
} while (input == null);
// input is now valid
#

that's how i'd do it with how much you've learnt so far anyways :p

autumn magnet
#

I didn't know the do block existed ;p

minor badge
#

it's the same as while except it runs its contents at least once

autumn magnet
#

It's just like

#

mass printing the catch block

minor badge
#

time to find out how to debug!

cyan nova
#

This usually would look like gibberish to me but now I understand what everything does
would suggest using a try-with-resources when using closeables like scanners,

autumn magnet
#

What are some good Java web frameworks?

#

I think I'm ready to start working on my first project

twin lagoon
#

sPriNG

autumn magnet
#

I'm not sure what it will be but I want to start the base

green turret
#

I like Dropwizard.

autumn magnet
#

Michael when is the last time you used Spring? Is it inituative and well doc'd?

twin lagoon
#

idk i don't program

#

people love spring apparently

green turret
#

If you use Spring, try out Spring Boot. It's like a newer, not so horrible Spring. But Dropwizard. Try Dropwizard.

autumn magnet
#

oh motherfucker

#

Does Spring Boot run and work in IDEA?

green turret
#

I want to try out Micronaut at some point.

#

Yes. They all do.

autumn magnet
#

Like could I start the service and visit on localhost

#

Alright great

#

I'll try spring 😛

green turret
#

😦

#

Okay but make it Spring Boot.

autumn magnet
#

Yeah spring boot

#

Is what I meant 😛

void void
#

I want to load the content of a .jar during execution in order to limit the weight of the main plugin
( ping me when reply )

#

Hi

#

is it possible to increase spawn rate in end?

#

Yes I think

#

an info? 😅

#

i can't find anything

golden gust
#

either do it globally in the config, or, use a plugin to set those, no idea what plugin that would be

iron zephyr
#

I have a super dumb question

#

If I have two plugins that register the same command (let's say /pa), will they conflict?

twin lagoon
#

one of them will override

iron zephyr
#

One is a Parkour plugin, one is Pvp Arena

#

Can I decide which one?

vernal bone
#

Hello! Does anyone knows a tool, that I can use to translate 321 .yml files from spanish to english, without losing the proper formatting?

#

One is a Parkour plugin, one is Pvp Arena
@iron zephyr Try using the plugins prefix, for as an example the command /test will work with /plugin1:test, and plugin2:test too.

iron zephyr
#

Okay. My major concern is that I have a GUI menu set up, which allows people to join minigames. I don't want to rewrite all of it with /pvparena:pa just to add parkour haha

golden gust
#

you can use command.yml to alias /whatever to /plugin:whatever

autumn magnet
#

What's a great TTS API for Java?

iron zephyr
#

okay, thanks

autumn magnet
#

I think one of my first projects will be a TTS audio bot in Discord

limpid comet
#

Hey everyone

#

what's up

cosmic raft
#

nothing

upper flicker
#

tacos

limpid comet
#

I want a taco now

potent fossil
#

i ordered food

limpid comet
#

haven't had one in a few years, it must be

#

what did you get?

potent fossil
#

YEARS?

#

WTF

limpid comet
#

I KNOW

#

IM SORRY

mental meadow
limpid comet
#

You think I'm happy baout it

potent fossil
#

.kill bluely

limber knotBOT
#

throws bluely to Cthulu and watches them get ripped to shreds.

mental meadow
#

I never had a taco in my live

potent fossil
#

your suffering is over

#

aurora....

limpid comet
#

okay, simple, can we band together against that statement

potent fossil
#

i wish we had .megakill

limpid comet
#

We may have had our differences over taco consumption schedules, but that is just unacceptable

quasi valley
mental meadow
#

kneny I can wear it

quasi valley
#

it's great tho

mental meadow
#

I can wear the uwu

quasi valley
#

that's not great tho >:(

mental meadow
#

It is but I have no idea what to do with it xD

pastel pivot
#

class A<T> {}
⬇️ Is there a proper english verb for describing this?
class B extends A<String> {}

Our prof called this "konkretisieren" (German), which translates to "concretize".

quasi valley
#

a train that just constantly drives through!

#

it's more like "specify"

mental meadow
#

No you pour concrete over it

left swift
#

I was told when I was a kid that tacos had rat poop in them at lunch in school so I never ate one till this day

#

Till this day makes it sound like I'm having one today, which is not the case I have a good streak going

golden gust
#

#VomitFreeSince93

twin lagoon
#

@mental meadow UwU

tired heath
#

How much is that LED mask, actually I could wear it while I show everbody how sensless masks are in my op.

#

Maybe addind some finger in the end

mighty storm
#

why are people uwuing, gross

potent fossil
#

uwu

mighty storm
#

no uwuing outside of the designated uwu channel

wintry chasm
#

@void void server is stinky

void void
#

🥺

earnest rampart
#

.kill

#

.kill The Senate

limber knotBOT
#

(DiscordBot) I can't attack that.

earnest rampart
#

bru

#

.kill xD

limber knotBOT
#

smashes DiscordBot's head in with a heavy iron rod.

potent fossil
#

stop spamming the bot.

earnest rampart
#

I sent 3 msgs

potent fossil
#

yeah two of which didnt work because you dont know how to use it

#

that's spamming. stop

#

there is an irc channel for messing with it

left swift
#

BoomerRC

mighty storm
#

smh bot usage in general

potent fossil