#general
3141 messages · Page 1026 of 4
It might not be the best solution for the job
But, there is always 200 ways to do one thing
A deep dive into algorithmics would benefit you more than studying individual javadocs
Those questions are usually more about an understanding of CS concepts than any code stuff
meh algorithms are implementation details, kinda useless imo
unless you do that stuff daily
Pretty sure there’s an MIT OpenCourseWare on CS fundamentals
I’d recommend something like that
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.
Nah linked lists are great for random insertion and removals
And how often do you need that in practice?
I’ve used it a fair few times in the last year
Are problem solving skills and logical thinking just what comes to your brain or are they also developed with experience?
Generally for low level optimisation stuff
Only nice thing about LinkedList over ArrayList is that it's pretty easy to implement yourself (easier than ArrayList imo).
Maybe a little bit of both?
'
Experience mostly
i havent used a single linked list in all my programming carreer
except for when it was seen in my class
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
Understanding the inherent costs of algorithms is crucial for a lot of stuff tbh
I implemented linked list exactly once and never used it again afterwards
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.
it's about learning the general gist of how the collections work and their caveats
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.
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
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?
my question?
Yeah
both, plus more. you got a mix of high stress, high risk, high responsibility, super pressing time deadline, with no path to winning.
nothing, everyone is equal, so we all deserve to die equally
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.
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
ahh
would i be hired aikar?
i'll try to practice that thanks stef
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.
no dark youd be that lazy bum who doesnt actually want to do work or have responsibility
so true
i'd say its a stupid question and probably walk out xD
not really lol
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.
if they have developed advanced enough tech to be able to get to us
they probably could harm us
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
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
humans have been around for so long yet we've only recently been able to travel to the moon and whatnot
Yeah if they can destroy the planet there’s not much we can do
yes, but then who do you pick huh?
doing nothing = end of human life.
Is that part of the question or an assumption?
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.
so then factor in choices like, do you focus on 1country, or try to save some from everywhere to keep diversity
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
or they can't and can only cause severe harm to the planet, then try to spread out the population into bomb shelters
@wide chasm that would be my analyzation of your choice
if you choice to do nothing, you sacrificed all of humanity
btw guys do any of you know about "sout" on intellij
I just discovered it today and it's so useful
If the aliens can't actually do harm, that wouldn't be so
what if we just press esc and end the simulation?
i said destroy the planet, thats clearly harm lol
You said "with intent", not that they actually can do so
i did miss a detail also that they are so technically superior we cant defeat them
Yeah this makes much more sense than it did 10m ago Stef, appreciate it
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
macOS screenshots are so nice ngl
Honestly with the small number of people you’d be able to save, diversity becomes somewhat of a moot point
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?
The gene pool would be so low that the concept of race would quickly disappear
if you can't beat them, join them
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
@sharp sentinel in 3 days you could move 10s to hundreds of thousands of people
Yeah but where
If the planet is being destroyed, you’d need to send them to space
I don't even know what year it is, just that it's a 13 inch macbook pro, I think 2017 or so
there's lots of areas of the planet that are fairly unpopulated
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.
eh i used the wrong word, it wasnt suppose to be "planet = gone"
3 days is not a lot of time, and we don’t have spacecraft for thousands of people
more land attack and kill humans
Ah okay
you aren't going to get enough people into space, maybe whoever you can pack into the ISS
oh then just dig big bunkers and stuff everyone in
well space isnt an option either cuz they'd have the planet surrounded i suppose
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
ok this is cool https://www.youtube.com/watch?v=ZzcGwZ5PsnQ
OpenPOWER is FUN and for EVERYONE!
OpenPOWER computer is your perfect productive desktop with full of applications and games.
Today we play the super-addictive Minecraft (Java edition). Thanks to Java, it is quite trivial to get this game up and running. I am using the Mult...
better than nothing
@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?
This is what I do btw with such questions: I'll find what was unspecified, then turn that into a solution 🙂
if they ahve interstellar space travel i'm sure they can take care of some escape pods
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
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
Yes renegade
but with all the anti china resentment going on, tried to rephrase it
Wow awesome, I was so stuck but in reality it was so simple lol
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.
well i think ur interviewer is dum cuz there are no aliens /s
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
If that'd be a requirement, I'd be unfit for the job 🙂
inb4 "we havent hired anyone in years"
tell everyone to play dead
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?
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
diplomacy
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?
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
You keep trying - at least until the company is absolutely completely dead, but that wouldn't happen in one day
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
and then the aliens shoot them down and you all cry and debris falls on highly populated areas

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
@wide chasm which is a good answer, but those who answered "do nothing, because everyones gonna die anyways" essentially gives up on day 1.
Or you ask SO for help and pray they don't mark your question as off-topic 😉
There are many risks there DED, but it’s better than nothing
vs, "i canny do this" and moving on
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
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
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.
They can be, but it's possible without
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.
there is no right answer, but giving up because you cant win is the wrong answer
its less typing tho
Start doing some small projects and work your way up, you'll notice if you lack in any area soon enough
"The most elementary and valuable statement in Science, the beginning of wisdom is: "I do not know. I do not know what that is, Sir."
-Data
From Star Trek: The Next Generation
Season 2 Episode 2 - Where Silence Has Lease
Ngl the question is more interesting if the earth is actually blown up 😛
And I guess that's where the resources like StackOverFlow and google come in, huh?
Yes
and @sharp sentinel your answer was great too
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
it doesnt matter how viable a solution is, what matters is TRYING
does trying to enjoy your last days count?
If the goal is to enjoy, but the goal is to save as many people as possible
You're given a potentially unsolvable situation
"fuck it, imma go have fun", is not really what the question is looking for
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
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
area 51
then it turns out the're invading cuz some nation captured one of them
and then yeets out the window
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.
or just let earth deal with it like in War of the Worlds
Still a viable option if you want to live longer though
Nah it’s a trick question - the aliens get covid and don’t know how to deal with it
@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
Yes, if that'd be the case that's a valid approach
or they just nuke the shelteres and they kill millions in one blow
key point there, dont give up, more solutions can present themselves later
profit
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
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.
Y'all are tryna read into it too much
if you smart you wear full suits
That's what I do
Reading into it is the interesting part tho, it’s actually a super interesting problem when you tighten it a lot
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.
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
lol
ITT: aikar breaks interview questions
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
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.
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.
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
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
i want an eve online for console 😦
i want an eve online for console 😦
@slim nymph isn't this a game you have to nolife
I can't play nolife games
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
EVE Online's biggest ever battle was recorded on 23 January, with over 6000 players in the same star system.
Watch as two huge coalitions of players fight tooth and nail, with The Imperium looking to destroy Pandemic Horde’s Keepstar citadel. Despite the siege lasting hours, ...
Is there a reason to use BungeeCord vs WaterFall?
it sounds like something you could enjoy if you were retired
And is it worth me taking the time to set up a rotating proxy?
so bungeecord bad?
I played maybe 2 hours of eve online. I found it very slow paced. Never logged back in after that
Oh awesome so plugins will be compatible too? API's are all the same?
yes
Lovely!
ideally though, you'd switch to Velocity
Why?
I have a bungeecord plugin that manages a queue system for my server sadly..
It needs to have the bungeecord api
I'd switch to velocity if I could bring my bungee plugins with me
That's what holds me back
tuinity is leaf's fork of paper
I heard it's just experimental tweaks that may go into paper at a later date
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
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
oh that video was meh on combat, https://youtu.be/UVDPF6kFkic?t=1207 this shows some combat of the game
Vanguard and Pandemic Horde present:
The Fall of J233255
In December 2016, Vanguard set off to evict an enemy corporation from their home wormhole. This is the story of that operation.
Thanks so much to Tempest Legion, Hole Riders, and all of our brothers and sisters in Pa...
Does velocity have some metrics on performance vs waterfall, or do they just say it is faster
but you can see how Role Playing this game can get lol
yea ive been trying to find metrics on paper, bukkit, spigot, tuinity, and I can't actually find any
Hmm yeah if it is not proven then it is not worth the lack of plugins/work done on bungee/waterfall
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
tuxed (the developer of velocity) had an instance of velocity running
700 players @ 150% cpu
with actual players
..Damn
it is definitely worth switching over
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
I would take a defaults everything test
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...)
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
you can;t
Really?
best you could do is rolling upgrades and let the players drain out of that "dead" instance, or just boot them
But, yea, there is 0 reason to restart the proxy outside of updates
We were having lag issues and our host said do a daily proxy restart
bad host 😄
lag likely has nothing to do with your proxy
Probably just a cheap host is your problem
Yea I just bought a VPS
Well, if the proxy was lagging after some time, you should investigate why
So I can self manage it
Scapegoat answer for their crappy service
150 players on a proxy shouldn't lag either
man this video is like a damn space war movie lol
i've ran 350 players on 1 proxy, 1.15 without problems
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
I like Aikar just continuing to talk about games in the middle of this convo xD
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
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? ^_^
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
maybe I will go to the mall today
our malls are open too
everything is open 
although shit is slowly going to close down again because of rising numbers
What's the difference between an enhanced for loop and forEach
i wouldnt dare put my ass in a mall
our numbers have only continued to rise, but hey lets send kids back to school
They need it
Is there anything I could be doing better here?
It gives the expected output
but working doesn't mean efficient
Me4502 told me as long as there's no hinder in performance streams are fine
I'm only running it once too
also the list of stringbuilders is unnecessary
looks cleaner than continuously adding to list IMO
i dunno
whats wrong with doing that over continuously adding
what do you think your codes doing atm lol
its just doing same thing with more overhead
no, thats effectively creating a wrapper object that is essentially another list of your people
* Returns a sequential ordered stream whose elements are the specified values.
Oh so it's creating like two lists
yes
you can also do like Arrays.asList(new Person(), new Person()); and just initialize it from start
Also forEach as terminal operation is a bit suspect in most cases
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
Would a regular for loop be preferred over forEach?
No longer using the stringbuilders by the way @cyan nova
Yeah that's the main question I have now, what's the difference really?
forEach on streams is suspicious in most cases, on collections it's fine as long as code isn't split up over multiple lines
easier to read?
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
chivitos you've been here long enough to use #paper-help
Oh yea
I think the compiler converts it to stringbuilder as well
I think there are cases you would use StringBuilder over concatenation, but can't think of any right now
I think the compiler converts it to stringbuilder as well
@short yarrow Yeah it does
I guess there's no performance advantage or anything
stringbuilder is useful in loops and stuff where you are unsure of the exact number of concatenations required
big O notation
time complexity where N is the amount of elements you are processing
O(N) is linear time basically
exact same as you do a newline in a string
\n
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
yeah but it's only one print operation now
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
is used for instance methods/attributes
What if the program is being ran on a platform that doesn't use \n for newline ;p[
It still works.
or you can use System.lineSeparator()
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")));
public static void private Object String void main(String[] []args[])
bahhh

what do you want to buy
an iPad
k bought it for you
how much is it even
$429.99
lul
how much is it even
the answer is too much for a mediocre, locked down device
What are you planning on using it for
iPad Pro?
glorified note taker?
it's super useful if you want to take notes and stuff
Notes is one thing yes
@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
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.
SO?
Oh significant other
Yeah I'm just hoping to finance one with the student discount.
Product Subtotal$598.99
Estimated ShippingFree
Environmental Handling Fees$0.80
Estimated Taxes$72.70
Estimated Total$672.49
If that even applies to me, I'm in grade 11
pls
Is that CAD or USD?
CAD
do it :3
If it was $100 less I probably would
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
think about it as usd
My phone is not fine when I want to write notes . I just regular paper right now but lose notes all the time
yes but my bank account is in CAD :p
My main issue at this point is that I hate the software available for note taking on these devices
F
I plan on getting an E-ink tablet that feels more like paper, and then maybe writing my own note syncing service
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
notes doesn't have hand drawing does it?
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
Without an apple pencil I can afford it if I wanted
yeah idk, they don't really scale when it comes to organization
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?
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
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
or nextcloud
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
uwu
Is the Apple Pencil needed to draw?
apple pencil dbrand skin is fucking epic
writing notes is not easy without one
You "could" draw with your finger, but it really really sucks
$129 for a god damn pencil
Even with those rubber/cloth tip styluses it sucks
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
I'm only considering this because I keep losing paper notes
one of which had something important on
Rip
write in paper then digitize?
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
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
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
Cannot finance
Yea michael
Buy it for him then
look, it's a special pencil made of ivory and gold 😂
do it I dare you
ngl kashike would've probably bought it for you but i already spent $1000 dollars this month
for another rtx 3080

yes i bought another one because my first one hasn't arrived yet
making me cry Michael
Wtf
look i'm #1 in queue for an evga card at another store now
What are you gonna do with the other one when the first one arrives
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
yes that is the question!!
rip

why is there a *
estimated, multiple currencies in account
ah
Why?
oh well
€xyz EUR 
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
yes and no
depends on how you set it up
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
iirc you can make it auto convert or keep the currency you get
Yeah that makes sense
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))
paypal exchange rates fucking suck yes
I stopped accepting payments in anything but euro lol
eh I'll just buy a cinnamon bun and go home

stupid pencil ruining my day
what a time we live in
cinnamon buns are EPIC kash
bruh just by a regular pencil and a piece of paper
try reading what I said earlier
until a digital paper can feel the same way as a real one it's not worth it imo lol
im joking kash ik
you're fired
Sike. You're not fired. 
@wheat quarry e-ink tablets are pretty much the same feeling

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
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
I wouldn't buy the 16 inch model
I think 13 inch is too small
anything above 7 inch is way too big
fuck you idriz i have taste
runs
Yeah I don’t want to use Windows for like a laptop
Nor do I want linux on a laptop
Apple just nails design
Macos seems like the best portable OS too me but that’s just me, their ecosystem works great as a daily driver
Yeah
they nail hardware too clearly
Let’s talk about that thing nobody’s talking about. Let’s talk about a vulnerability that’s exposing 2018-2020 Macs while most are declining to act nor report about the matter. Oh, and did I mention it’s unpatchable?
Buckle up buckaroo, we’re in for a wild ride.
Skip to #secur...
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
looks good != nailing hardware
that was a meme jroy
and yeah that's old news
Okay so common sense Michael
You’re acting like windows doesn’t have issues too
windows isn't a hardware vendor
Windows and Linux have had their share of vulnerabilities throughout the years
what
Idriz that's not what that exploit is about
read the article
That’s a vulnerability right?
you need physical access
no you really want to read this article 
You act like anyone here reads articles people use to quote
Mmm alright I’ll read the article
t2 chip is pretty much the iBoot for macos
First name I saw was axi0mx
imagine using Intel processors that are exploitable via Javascript on a webpage
That dude can hack anything Apple makes
runs
phoenix 
you can't compare that to the feeling of paper and a pencil or ball pen
@phoenix616#0000 https://youtu.be/W9wudCMFWPQ?t=162
REMARKABLE 2 PAPER TABLET PLAYLIST:
https://www.youtube.com/playlist?list=PLsSI9-gaSSmiXwb7Vjk5Vb-nB41UTnrXd
REMARKABLE 2 - IN-DEPTH REVIEW AND GUIDE, PART 1 OF 4:
https://youtu.be/wpwbVwfWIKE
REMARKABLE 2 - IN-DEPTH REVIEW AND GUIDE, PART 2 OF 4:
https://youtu.be/W9wudCMFWP...
there are a lot of really good ones coming out that are comparable
Don't let people near your laptop 
good one?
Good one, yeah
a root of trust exploit is very bad
I'll set a reminder to message you in 5 years lol
I’m never leaving that shit unattended if I buy one
all it takes is one slip up
not just getting a good old T430 smh
still v bad
same could be argued about any laptop lol
all it takes is one slip up into another guy's bag

Yeah plus that’s just an exploit you can iCloud lock
apple sheep i stg
aPplE sheEP
Windows laptops you can just hard reset
another reason why OSS is more secure
It's not about being an apple sheep, I just like the OS lol

no reason to use MacOS when one likes the OS though, you can get the same experience in Linux
Nah I’m joking but really
ok then why are you down playing a serious security lapse (Idriz)
runs
you like their os, to each their own, but you're saying "just don't lose ur laptop bro"
https://owo.whats-th.is/2wFxKsE.png @meager tusk 
like that solves it
What does this security thing allow people to do?
Linux still can't beat the touch pad
full root access
I use macOS on my work machine, and my personal laptop is a macbook pro. I'm definitely a sheep
@twin lagoon
brute force password rene
I see
im a cat
or just keylog the password
@cunning raft That does solve it, don't let people around your laptop lol
I guess it’s bad in the sense someone malicious wanted to access your files
but if someone wanted a new MacBook then like
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
clearly they didn't care enough
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
@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
@autumn magnet you're wrong here, apple has lawyers that get paid millions
suing apple won't go far
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
doesn't matter, they are going around a loop until you run out of money
someone reports one, they fix it but don’t pay
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
I don’t know if bugs on webkit are listed as payout reward
so this is interesting
this guy at this store recognises me even with a facemask
imagine using proprietary software and waiting for others to fix the issues 😛
@minor badge
only one click, two clicks get you nothing
you're reporting a bug based on good faith they'll give you money
@cunning raft these are set in stone payouts however
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
they're not set in stone at all
the website you gave is not a contract
and the bug i reported to them is payout worthy
it was an RCE vuln
I don’t know what that is but is WebKit their software to maintain?
if you don't know what it is why are you making statements like you do
yes they develop it 🤨
it's their browser stack
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?
browsers dont stack
maybe yours doesn't
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
sorry for misunderstanding it seemed like you were trying to discredit what i was saying
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
nothing I sign says apple has to pay me, it's all up to them what they deem needs a payout
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?
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
apple is unethical what else is new 
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
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
@waxen panther wat
good morning
pogu
now to spend an hour heading home
enjoy ur cinnamon buns kash 🥺
no u
mail me em then
awa
got something to show aurora when I get home

@mental meadow ! :0
if aurora is still here by then
sure she will be
lmao 😉
who in the fuck unbanned you after being banned for sexual harassment
I’m not gonna lie, a lot of times I often find myself using other people’s code in my own projects
idk but im sorry, i will stop
Is this bad? Is that plagiarism?
cinnamon!!!!
just give proper credit where credit is due, renegade
@cosmic raft cinnamon buns yay ur so swedish uwu
uwu
kanelbullar <33333
Yeah like for example I did tuis last night
(and follow licenses)
Someone had an abstract class for item stacks they used for spells, and I just copied and pasted the abstract class
I had two dammsugare bcuz dammsugare are bae :3
it depends
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?

so now there's people who like to go 9 years back in MC versions instead of 8?
bruh moment
Tux thing, can't be that bad 
Yeah and leaf is a contributor kek
yes
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
https://github.com/canyonmodded/canyon
@zealous knot Is that...MeltedLux who's contributing to that?
That's awesome.
who 
i thought everyone knew me
If Michael doesn't know them they can't be that important/known
yes, all knowing 🅱️ichael doesn't know something is sus
@twin lagoon Do you know SpongyBacon or Evoltr?
no
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.
Yeah I think Michael is just from a different era lol
@mossy vessel depends
How long have you been playing Minecraft or in this community Michael?
2012 or something
no
Corin?
i'm around since jan 2012 and i don't know them either

TheReverend403, vemacs?
Well, you know a lot of people lul
Hey Michael do you know Idriz
i think most people would recognize vemacs
I don't know, I always thought they were like pretty known people in the community
Yeah definitely vemacs at least
gsand?
gsand is in here
I never knew that
go away idriz
.
vemacs is still "around"
Why?
I haven't been here for long anyways
Really? I thought he was a college dude now
Well not college dude
ie their IRC bouncer is still up
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
he worked on EssentialsX's 1.11 support ¯\_(ツ)_/¯
new roadmap stuff epic
@twin lagoon @zealous knot DarkSeraphim, Twister915, or RenegadeEagle?
What is roadmap?
uh
Is that what GitHub plans to add to their site?
ye
yeah no none of those ring a bell
Oh nice
I remember dark i don't remember from where, i think bukkit.org? dunno the rest
well, their platform(s)
Darkseraphim was known as fireblast709 on bukkit I think
thats all 2021 Q1 stuff though
Most of the people I'm listing just come from Spigot or are known in minecraft in general
god bless that dude
Yeah he was really helpful
They're the people who got me into making Spigot plugins, now I'm trying to expand into Java.
Probably a name you haven't heard but it's worth a shot Mister_Fix, Kainzo?
I know that name, renegade :p
who hasn't heard the name Mister Fix
Started with S6 today btw @cosmic raft
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
(tm)
@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.
That's cool
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
Wouldn't that annoy the support team
If you mass delete, Kash gets angry at you
hm
They could be focusing on other emails
Can't recommend 😂
could be a pro plan thing or smth
Hey, how to inject dependencies into a .jar file in runtime ?
Does anyone know if it's possible to get a non-dumb jline3 console when running in intellij? .-.
@void void just shade the deps in
I don't wanna package the application & run it externally just to test stuff D:
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?
then write to code to spawn one chicken
That would only do it 4 times.
that code is repeated 5 times
<=5
|{0, 1, 2, 3, 4}| = 5
nvm, my bad, your right, I always get my languages mixed up
What devil language do you normally speak?
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!
@next frost youre so smart uwu
What the fuck are you quoting me for?
uwu thanks proxi
You're the weirdest little dude Marcel. So strange.
But what the fuck are you even doing?
Super Mario Odyssey is a really cool game tho!
Prox, can you explain this behavior. I think maybe I'm just old.
This usually would look like gibberish to me but now I understand what everything does
What does line 27 do?
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
@void void just shade the deps in
@mighty storm no
Unlike the code some of the students presented to me. Failed handin right there.
That is very good your learning Java!
hm?
I want inject in runtime
Are you also on episode 34 of thenewboston youtube tutorials?
inject in runtime? kinda sus
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
I didn't know the do block existed ;p
it's the same as while except it runs its contents at least once
time to find out how to debug!
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,
What are some good Java web frameworks?
I think I'm ready to start working on my first project
sPriNG
I'm not sure what it will be but I want to start the base
I like Dropwizard.
Michael when is the last time you used Spring? Is it inituative and well doc'd?
If you use Spring, try out Spring Boot. It's like a newer, not so horrible Spring. But Dropwizard. Try Dropwizard.
Like could I start the service and visit on localhost
Alright great
I'll try spring 😛
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
either do it globally in the config, or, use a plugin to set those, no idea what plugin that would be
I have a super dumb question
If I have two plugins that register the same command (let's say /pa), will they conflict?
one of them will override
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.
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
you can use command.yml to alias /whatever to /plugin:whatever
What's a great TTS API for Java?
okay, thanks
I think one of my first projects will be a TTS audio bot in Discord
nothing
tacos
I want a taco now
i ordered food
@quasi valley
You think I'm happy baout it
.kill bluely
throws bluely to Cthulu and watches them get ripped to shreds.
I never had a taco in my live
okay, simple, can we band together against that statement
i wish we had .megakill
We may have had our differences over taco consumption schedules, but that is just unacceptable

kneny I can wear it
it's great tho
I can wear the uwu
that's not great tho >:(
It is but I have no idea what to do with it xD
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".
No you pour concrete over it
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
#VomitFreeSince93
@mental meadow UwU
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
why are people uwuing, gross
uwu
no uwuing outside of the designated uwu channel
@void void server is stinky
🥺
(DiscordBot) I can't attack that.
smashes DiscordBot's head in with a heavy iron rod.
stop spamming the bot.
I sent 3 msgs
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
BoomerRC
smh bot usage in general







"just don't lose your laptop bro"