#dev-general
1 messages ยท Page 264 of 1
what do u have rn
Depends on your needs and wants
lemme download nzxt cam as its easier to show in a ss
For my use case I would upgrade RAM, I tend to have a lot of shit open and it's starting to slow down a bit ๐ฅฒ
But that isn't necessarily your use case
My ram is usually near maxed
I have 2 discords, teams, 14 firefox tabs and then minecraft and intellij, my ram go brrrr
electron be like
its a r5 1600
what are ur needs?
Sum love
o
I play minecraft and use intellij, thats really about it
Go for ryzen 5 3600
I could sell my 2x8 and buy a 2x16
cpu then ig
Harry, my potato pc runs mc, IJ, and bitwise, plus 2 tabs of chrome just fine
Discord included
This is what i call "idling"
All with 3gb ram
basically nothing is open
Top processes: Discord
ah I remember the days when discord used 85% of my cpu
is my cpu idling at 55 degress bad?
no
A normal temperature for idle PCs clocks in between 30 to 40 degrees
cleaned it out about a week ago
It's not bad but it is a bit higher than average
but it is on carpet
Your power supply is probably choking a bit
As long as it doesn't stay over 85c at load it's probably fine
anything lower than ~80c is fine
is that a game?
yes
if thats a complete gpu stress test, then thats absolutely fine as ull hardly ever reach those temps / load
Which one?
pc building sim
lol wut xD
๐คข
meh i like it
welp
my 2nd most played steam game, yes i dont game much
after leaving it open its getting ๐ฅต
ye i dm'd that guy
he had someone do it for $2.50
i would probs do it for free
Why do so many people create join/leave messages plugins on spigot
its like one line to set the join message
easy first plugin etc etc
I have so many bad plugins I made on my spigot
so i just keep reporting them saying I would like to remove this from my spigot.
And they do actually get removed
can u not remove them urself?
nope
yea iโve reported my stuff before lol
Pro builder for $10 kek
oh its deleted now
$10 is $10
๐ซ

pc bad
Mono
๐
Fira code medium
oh
how to change font?
Setttings editor, somewhere there
the kotlin list/map utilities are so awesome
awesome isnt even the word man
what font size?
shits fucking crazy
16
๐คข
its such a great language
kotlin hype
"java is better" ๐คก
If you don't like it why you ask? lol
thats how big it is
thats good
how
thats good font
that u can do size 16
๐คข
why does everything look squished on ur monitor dkim
IDK
its like 720p
27inch isn't that small
u sure its 16?
24''
best size
show screenshot of settings
I said editor why tf did you go to appearance?
dkim do u always say ur pc is slow
idk if it worked
uh
I don't use fire for the editor btw, only console and code
might help if u close some of these useless apps
Edge ๐คฎ
oh no..
๐ฅฒ
Also is that a vpn?
nord vpn it looks like lol
suspicious acitivites going on around here ๐คจ
Why so many icons in bottom right
hey im just tryna help with ur pc being slow
lol
So many colours
why is minecraft even in the tray??
thatโs not even much open though??
๐
How much memory you got
it is when its killing dkims pc lemmo ๐ฅฒ
i have 8gb
good matt, nice and clean
why is ur monitor so big
except delete LoL ๐คฎ
damn yโall got like nothing open lmao
I can't use the small taskbar
Iโm in bed
It's not big, wtf
The Intellij icon looks too awful
sleeeeeeeeeeeeeeeeeeeep
Literally unusable
Like i said 1080p 24''
There's a setting for small taskbar
this is task manager
Which would be nice if it didn't make IJ's icon ugly af
8gb in 2021 be like ๐
;-;
which one
ah yes, a vpn taking 20% of ur cpu
๐ค
It looks ugly
Micro what
And yet it's still running fast
HOW
does CHROME
take up
0.8%
how good is ur cpu?
also whats the java thingy
probably mc or a mc server
and how much ram do you have?!
@prisma wave the one at the top or bottom is ugly?
i5 7500 16GB
Modded mc 65 mods
How many tabs matt
Also it's just ugly in general
u can barely see the top one in detail its so small
12
i guess ur a dev
o
Short question: what's gonna happen if someone uses a pirated IJ Ultimate 
๐
ok yea it looks better when taskbar isnt small compared to the simple logo
why would they ๐ค
but the taskbar is too big for me imo
28 mods ๐
Chrome uses ram based on free ram, if it doesn't have too many it uses little
Yeah it's a shame
Small taskbar is nice
But small IJ sucks
Isnt Forge dead now or something?
I've heard that Fabric or somethign replaced forge?
ohh
Fabric is so much better than forge
forge has more mods tho (because older)
while (std::ram.available()) {
new byte[1024 * 1024 * 1024 * 1024];
}
Is forge still up to date?
Though i'm on 1.12 since most nice mods aren't updated yet
Yeah
time to play some hypixel duels ๐
ah
Big api changes to 1.15+
Basically
import elara/mem
while true => memAlloc(1024 * 1024)

Unsafe Elara
guess what this is ๐
elara needs a safe api first
(the suit)
import elara/unsafe
sys.unsafe => kill
100% elara dev ๐
clearly
import elara/unsafe
sys.unsafe => sys.safe = true
import elara/file
File("C:\Windows\System32").delete()```
๐ณ
๐
What if
import elara/virus
virus.execute()```
ah yes
ill pr that
Does elara already have loops?
yes
Yes
elara just has an import for everything ๐คฃ
Nice gonna make tic tac toe in elara
while and recursive loop
Ofc it does
import elara/imports```
The elara std lib includes the universe
Whatever you want to do, "there's an import for that"
gonna be bigger than the kotlin standard lib ๐
100x bigger
new elara motto
Maybe more
import elara/qubits
let a = Qubit()
let rnd = a.findState()
```?????
Qubit#findState() gives a Pair<State, State> ๐
elara web servers
it splits in two
wha xD
I meant like reading the state at that point
the state is binary only till its measured afaik
a.observe()
yea, the cat is dead
import elara/cat
killCat()
not the cat ๐ญ
the cat is dead
actually, fuck the cats
the cat had it coming
import elara/elara
elara()
Turing complete
Thank you for attending my Ted talk
import elara/elara
elara.generateStdLib()
elara.generateUnsafeLib()```
elara.generateUnsafeLib().makeSafe().locked = true
Yea BM elara discord highlighting when
just PR discord smh
Lol
classic
Classic
im thinking of prism
elara is the one and only!
idk if thats the one you are thinking about
TriumphChat in elara
matt make it happen
I don't recognise it but it might be
Tbh
We probably kinda close to starting with JVM
O
import elara/timetravel
import elara/universe
let time_machine = TimeMachine()
time_machine travelBack 14000000000
let universe = Universe(time_machine.fetchTimeContinum())
universe.simulate()
We've finalised most of the ideas
I think
Like
There's no obvious things we need to change anymore
just wait until you do it once then have to rewrite it ๐ฅฒ
That's gonna be fun
why is it in a simulation tho? 
why not reality ๐ฆ
o
Elara is the paradox
big brain
๐
someone PR a JVM compiler please ๐
we also have a small issue
I don't think there are many / any libraries for JVM bytecode manipulation in Go
๐ฅฒ
time to switch back to kotlin!
So we'd either have to write our own, or switch to java and use ByteBuddy or something
๐ฅฒ
Might be nice to try the second just for the sake of learning tho
mhm
also it would be faster
What would be?
A Go implementation
oh we will have to rewrite to Elara anyway tho xD
Yeah... โน๏ธ
The final speed we get would be that of the JVM
Very sad
Altho I assume you can bypass a lot of Java checks when directly writing the bytecode
Fefo6644/elara Fefo6644/elara-stdlib
SOONโข๏ธ in the next 25 years
Yea it wont be as fast as go
It will still be slower :(
๐ฆ
I will PR all the performance improvements
Thank you
Tbf with Graal and some clever optimisations it wouldn't be that bad
But
Still not as good
Sadly
I guess we'll have to add native compilation too 
Maybe commission Niall to run a profiler and optimise
He seems to do that a lot
yea sure
enterprise solutions always come to the rescue
Not really
Class files are validated
welp
as in?
Yea
I think we need them in some places
Havent added a way to explicitly define that T tho so a bit more work left there
type Result<T> = Some<T> | None
Yeah
All we need to do is a few parser modifications and match expressions I think
Need to introduce that new contract syntax with the where too
Could you add them to the trello?
I lost track of which channel we discussed a lot of those
Yea sure
I'm wondering, do you guys formalise the syntax or do you kinda just throw new stuff in the code
No, I mean like how do you implement new syntactical elements
Just add them to the parser and handle them at runtime accordingly
Speaking of which
I should really clean up the parser
Have no classes for 3 days so might do that
Shall I just use the Command classes as the nodes this time?
uh probably not
Cuz the Commands contain runtime information a lot of the time
Actually maybe you could
ah okay sure ๐
Alrighty
Government is doing country-wide lockdown for 30 days here
Nice
Kids 9th grade and below stay at school
New strain going all out
10th and above go home
Covid20?
We don't have many cases of the new strain here
oh
Please either stick to the topic or move over to #off-topic
๐ฅฒ
smh fc
What kind of nonsense is that 
๐ฅฒ
๐ฅฒ
12 year olds and youger
Who did that? xD
this is related to the "development" of new "COVID-19" cases in certain "countries"
Please either stick to the topic or move over to #off-topic
pls
Ah cube
๐
Didn't see I was in dev
always a party pooper
Sure
Anyway, if you wanna write a JVM bytecode library, I'd recommend reading through the relevant sections of this https://docs.oracle.com/javase/specs/jvms/se15/html/index.html
mainly 3. and 4., but 2. is also an interesting read
o there's an actual spec
Of course there is
Alright I'll have a look over in the morning
Seems helpful
@old wyvern we will also need a Typer at some point ๐ฅถ
did you know java generics are turing complete
covid 19 isnt cool
for the longest time I thought this was some crazy C++ and Rust-type problem
it sounds like it
there is an academic paper written about it
https://arxiv.org/pdf/1605.05274.pdf
I don't understand much but it's still funny to me
Welcome to the new world
Yes
i also refuse to talk in this channel until the name has been changed back.
please join me in my boycott.
Execute order 66
Guys april fools is not even close
Itโs treason then
Skript will become more powerful than either of us
One reason kotlin is so much better than java is due to extension functions. Say for example i want to be able to colorize a string, in java I would have to do the following
class StringUtils {
public static String colorize(String message) {
return ChatColor.translateAlternateColorCodes('&', message);
}
}```
which as you can tell is super long and bad and annoying
now check out this. if you were using kotlin
```kotlin
val String.colored = ChatColor.translateAlternateColorCodes('&', this)```
This is clearly much better and one of the reasons that Kotlin is a better language than java
Contra Skript people smd
"skript" ๐คฃ ๐คฃ these "people" think theyre so "cool" with their so-called "language", when in fact it is very stinky ๐คฎ and will always provide no benefits than using an ACTUAL language such as KOTLIN for creating programs.
Objection
Extension functions is a really good thing Kotlin has. My main area outside of plugins is Android applications, I have been considering very thoroughly that maybe I should migrate my current standards to the intended language of choice by Google for Android application development
Also x8 multi 
isnt it funny that Google has chosen Kotlin as their language of choice for Android development? atleast Google can make correct decisions.
I will try my best attempt with as much effort as possible to write and type my messages as pedantic and unnecessarily descriptive as I possibly can
Lol
It is indeed very hilarious
Ha ha ha
denied
colon plus sign numeric one colon
Objection against your Contraception
denied again
Also I just noticed that this chat is very purple colored, as all of us three chatting in this channel are Tier Three (forty - forty nine)
Uncaught exception caused by dodo mindset
hey
Kali
im salmony
:(
exception was caught due to using kotlin
it was only uncaught in java
sorry ๐ฆ

catch (@NotNull final Throwable ignored) {}
catch Object 
ha! imagine missing out such an opportunity! couldnt be me. these people are not real "grinders"
unfortunately that is from your Java ( ๐คฎ ) codebase. My kotlin codebase shows it as such
catch (YourStupidException e) { e.handleGracefully() }```
Lol
fun handleGraceFully() {
throw Throwable()
}
For how long has the multiplier been running?
30 min or smtng I think
This is very unfortunate as I have to wash the dishes soon ๐ฆ
fun YourStupidException.handleGracefully() = return null```
๐
you actually dont have access to my code base so there is no way you would know what my handleGracefully method does
Just unwash them
Bytecode Manipulation tho
my app has not been deployed yet. you wouldn't have access to it even through the bytecode
yourFunctionThatThrows.use { } 
No I injected the code via quantum entanglement obviously
o
With guice
Okay
Hey guys! What's up everyone!
the sky hahahahaahhaahhaahhahahahahaah
unfortunately i will need some proof of that
Hi whatโs your name?
as that is simply not possible
Objection
gotta get those extra chars from the hahas for more xp
denied
Hit that subscribe button and don't forget to click the notification bell!
Denial of denied
SMASH that like button
ohh my i literally cannot code because its keep not responding ๐ญ
MATT
Still don't think the amount of chars count for the amount of xp
I can finally react in #development
Denied your denial of my denial
well see about that matt!
nice
Nice, you achieve your life's goal
with your logic, there is a reason why you are a lower level than me! you think ur so smart!
reacting in #development is for cool people
Denial of your denial of my denial of your denial of my contraception of your denial of my objection
rejected
Yeah now I can finally kill myself
rip
Mind if i join?
Rejection of your rejection
rip x2
Absolutely not
suislide
StackOverflowError caused by Kotlin
Kotlin would never cause such exceptions!!
The subjective arguments are lovely
kotlin implicit exception catching
catch(Excption ignored) {} ๐
throw Throwable()
my arguments are always objective
subjective tho
You don't even need to catch it, which is even better
xp
So why are you running
baaaaaaaaaalllllllllllllllllllsssssssssssssssss
Serious question, I am indeed interested in getting to use Kotlin for my actual work, anyone in here knows of some rich/good resources / documentation / tutorials or have any methodologies on how to easily transform from Java's such structured syntax to Kotlin?
ctrl alt shift k ๐
You can convert java source code in IntelliJ to kotlin
thatll convert ur java code into kotlin, with a margin of error but yeah
It does a decent job
I would very much appreciate if any person in this chat room were to provide any additional information, even if it is minimal
yea IJ will convert it for you and just start trying to rewrite something in kotllin
Then kotlin has their own documentation
Tbh one good way is just asking here
There is some yeah
the kotlin docs are always a good resource for learning the language itself
The way i learned was rewriting a plugin in kotlin and asking here if i didn't know what to do
KDocs ๐
I donโt know if thatโs useful
it is yea conclure
Those are some big embeds on my phone
Actually wsan't that one
Kotlin is similar to the Java programming language, so it's natural that your Kotlin code looks very much like Java code when you are first start to use the language. While this is fine to begin with, you're probably not taking full advantage of all the language benefits. In this session, the lead Kotlin language designer will show you how you c...
This one is great video to show you a bit of it
how to kotlin omg
From the man himself
andrey!
Look his face full of joy :D
because kotlin is just so fun
yes
absolutely
its a guarantee
What about my sex life?
3M%
absolutely
all the ladies love kotlin
every girl loves a chad that codes in kotlin
3M% of 0 is 0 ๐ฅฒ
o
Drowning in pussy atm
LMAO
๐คฃ
Tbf Skript is better than kotlin still
when i used java i had nothing like it
me too!
also know as a harem ๐
Then Skript is 9374930373%
surely my image cant get deleted this time in dev general
Professional Certified "Yet Another Markup Language" Developer
Apple hands those out if you ask them nicely
You have to say "please Mr Cook"
you dont have any homies
Tim Crooked
Cap
crusade in the skript issues
โ ๐งข
Getting banned from it again? lmao
banned from what?
The skript issues
im not banned yet
๐ฅฒ
Except that guy that kept making #794429922454142986 asking for Skript expansions or whatever lmao
lmfao
I think it was aj and a few others that got banned from it
oh lmao
@steel heart ๐ฅฒ
sorta surprised i didnt
ok bed time for me
i approved the PR that deleted every single file
good night good night good night good night
and replied +1
Sleep is for the weak
lmao
Have a good night Kaliber
Strong people stay awake getting xp
stronger people dont do their homework because there is a multiplier
Hilarious
I should be washing the dishes
you are stronger as well
But experience points are more important than clean kitchenware
exactly
There is no time to wait! Ask your question!
And I have this answer to your question I plan not to provide
Okay so itโs presumably trivial, but you know when youโre creating javadocs
How tf do you link other docs
Thanks for coming to my Q&A
Bruh
you're just bad at pinging
Bruh itโs my phones fault
excuses
Huh?
Okay so basically how do I link other javadocs instead of having something like
java.concurrent.util.CompletableFuture<@org.jetbrains.annotations.NotNull ? super Void> method();
Oh yeah but do u know how to fix that
You go to cry in the corner of your bathroom
I hate java
I never had that issue though... not entirely sure what you are talking about
Neither do most javadoc I see out there every day
I get what you are saying but I do not know how to respond to that because I have never encountered such issue in my regular javadoc generation processes
Unless
And I have this answer to your question I plan not to provide
<3
๐
):
oof
Also why is the first NotNull not a fully qualified path lol
wait
I am indeed blind
Let me unpour the bleach I dropped into them eyes the other day so I can see better
Lmao
Real question is why an external annotation is not shown with the fully qualified path but the JDK class is

I am a very funny person indeed
Software genre: Documentation generator
"Software genre"??
what??
genre?????
for real
lmao
The combo
Sleep gn hav a great time
where can one learn to code plugins
First you ought to have a solid understanding of Java outside of plugins
?learn-java
Start with this -
https://docs.oracle.com/javase/tutorial/java/concepts/index.html
Breeze through this skipping stuff that doesn't seem relevant like bitwise operators-
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html
and then hit this
https://docs.oracle.com/javase/tutorial/java/javaOO/index.html
They're the first three from this larger thing - https://docs.oracle.com/javase/tutorial/java/index.html
Which you should definitely go through overall. But those three should be enough for slightly better understanding of wtf is happening here without feeling like a huge time sink
That one is a small part of this larger site - https://docs.oracle.com/javase/tutorial/index.html
wherein "Essential Java Classes" and "Collections" also have good useful stuff
It isn't something you learn in a day or two, you can and I think it's fine to do plugins while learning Java, but please don't just do plugins not wanting to learn how to work with Java, it's crucial
For plugins: https://bukkit.gamepedia.com/Plugin_Tutorial
A few challenges you can try and solve: https://github.com/PiggyPiglet/Challenges
Things you want to take a look at when making plugins: https://bukkit.gamepedia.com/Plugin_Tutorial#onEnable.28.29_and_onDisable.28.29
https://bukkit.gamepedia.com/Plugin_Tutorial#Commands
https://bukkit.gamepedia.com/Event_API_Reference
But please for the love of yourself don't jump straight into plugins and give the links in the embed above a read before this. Again, it isn't something that takes a day or two but it's something you want to spend time in
You can always ask questions in #development for dev support or in here ( #dev-general ) for broader stuff not necessarily related to dev support (general questions)
What would you recommend instead of yaml for configuration files?
hocon
it's a bitch 
If I wanted to run a minecraft server that used a remote directory as the server directory, what would be the best way to share the directory? I'm currently using an NFS server but it feels like there should be a better way
hocon is not that bad, I kinda like that you have to use {} and []
Hocon is user friendly json lol
Json with comments 
Hocon is pretty nice, i prefer {} over whatever yaml tries to be
You can still use them in yaml lol
Ik
But it still sucks ass
depends what os you're on
for linux, sshfs maybe?
and if on windows, there's a nifty little app called sftp net drive or something
ah rip
looks like it's gone
Was supposed to have a math exam over teams, the profesors internet was so shit we got it rescheduled to tommorrow :p
imagine being effected by a pandemic lol
wednesday
:c
is it tuesday for you?
no
no it should be morning ish for u
No
late morning
yes its 8:37 for him
imagine wanting to buy shadow of the tomb raider and not having money for it. couldn't be me
I sad now
nah multiplier games are for the pro.
not even remotely dev related
not for me
smh
yes
frosty what happens today?
Frosty
the start of school?
he gets banned
I'm old as shit today
oh it's your birthday?
don't expect me to remember lol
I don't even know my close friends or family's birthdays
I expected you to remember cause you asked me about it a couple days ago
I did?
Yea lol
Happy New Year @hot hull
Thanks โค๏ธ
was gonna change my name, but no perms kek
hi
oh god
offtopic pls
Man has anybody noticed fighting game combos are basic as hell ! Like they used to be so complex and now they just so damn simple this is what we think happened ๐คฃ๐คฃ Like,Comment And Tag 3 FRiends!
~RDC Social Media ~
@RDCWorld1
Mark Phillips - @SupremeDreams_1
Affiong Harris - @CleanUniform
Desmond Johnson - @l0v3andpeac3
Leland Manigo - @23_Is...
Someone doesn't play tekken
i looked into it, apparently nfs is actually faster than sshfs ๐ฅฒ
44 years of computer knowledge and takes a minecraft course ??
tbh after a year or so, increased experience stops equating to increased skill
so it's perfectly realistic for someone who has 44 years of experience, to need to watch a basic course
Especially if you don't refresh that experience regularly
I just don't see why would you buy a 200$ minecraft course when you most likely know the basics or so
Oh god I didn't even see that
do you think he writes some of these himself?
Think or know for sure?
nah xd
but I hope some of them are fake
his "foundation" lib uses lombok ๐คข
Remain#spawnItem @deprecated use {@link EntityUtil#dropItem(Location, ItemStack, Consumer)}
public static Item dropItem(Location location, ItemStack item, Consumer<Item> modifier) {
return Remain.spawnItem(location, item, modifier);
}```
๐
44 years of experience???????
been programming since 1977 and they doesn't know OOP?
And I oop
c programmer @prisma wave
poor guy
boop
yo
It's only 6pm, still gotta eat dinner
no idea what im doing
damn its getting busy in here
oi
this is build battle right?
can I use photoshop?
nah, only gimp
fast!
hmm indeed
i dont like maths
40% yeet
ez
o
share code

