#dev-general
1 messages · Page 227 of 1
Remove both FAQs, make a single faq called dependency-injection, explain what it is, then have two pastes for java and kotlin one
Even searching java di would result in dependency injection
Perhaps some links on actual in depth explanations for it as well
In software engineering, dependency injection is a technique in which an object receives other objects that it depends on. These other objects are called dependencies. In the typical "using" relationship the receiving object is called a client and the passed (that is, "injected") object is called a service. The code that passes the service to th...
is this **Dependency Injection** Dependency injection is when we pass a class through other class constructors to access that specific class in those other classes. enough?
which is in kotlin-dependency
that’s quite not right as well lol
no idea who made it so dk
well do I just add a line What is dependency injection: LINK ?
to what Conclure gave
The definition of dependency injection is by passing an instance through a designated constructor. But it can also be with a setter or an interface instead of a constructor albeit the most common injection is through constructors.
?dependency-injection
Dependency Injection
Dependency injection is passing an instance through a designated constructor. But it can also be with a setter or an interface instead of a constructor albeit the most common injection is through constructors.
Read more here: https://en.m.wikipedia.org/wiki/Dependency_injection
Dependency Injection in Kotlin:
https://paste.helpch.at/esogakutod.cpp
Dependency Injection in Java:
https://paste.helpch.at/yijawupoju.java
how does this look?
That’s pog
ah yes, the superior language is first shown in the embed
Does the paste thing lasts for ever?
Else just make a git thing
In DeluxeMenus you can set a skin on a skull using the base64 value of that skin.
If you have a skin file or you have a player name you can go to https://mineskin.org and upload the file there or put the player name in there and press GENERATE.
This will give you more info about the skin but what you want is the Texture Data.
Copy that and use it like this in DeluxeMenus: material: basehead-<value>
Dependency Injection
Dependency injection is passing an instance through a designated constructor. But it can also be with a setter or an interface instead of a constructor albeit the most common injection is through constructors.
Read more here: https://en.m.wikipedia.org/wiki/Dependency_injection
Dependency Injection in Kotlin:
https://paste.helpch.at/esogakutod.cpp
Dependency Injection in Java:
https://paste.helpch.at/yijawupoju.java
Dependency Injection
Dependency injection is passing an instance through a designated constructor. But it can also be with a setter or an interface instead of a constructor albeit the most common injection is through constructors.
Read more here: https://en.m.wikipedia.org/wiki/Dependency_injection
Dependency Injection in Kotlin:
https://paste.helpch.at/esogakutod.cpp
Dependency Injection in Java:
https://paste.helpch.at/yijawupoju.java
@static zealot Can you make an alias ?di? We're lazy
Dependency Injection
Dependency injection is passing an instance through a designated constructor but it can also be with a setter or an interface instead of a constructor albeit the most common injection is through constructors.
Read more here: https://en.m.wikipedia.org/wiki/Dependency_injection
Dependency Injection in Kotlin:
https://paste.helpch.at/esogakutod.cpp
Dependency Injection in Java:
https://paste.helpch.at/yijawupoju.java
I would just say
Dependency Injection is a way of providing objects with the objects they need ("dependencies"). This is usually done with a constructor, but can also be done for individual methods
Also would probably put Java first, even though we like Kotlin more, there is more people learning Java than Kotlin
man*
well I didn't actually put it there
because we like kotlin
xD
it just happened like that
O
Dependency Injection
Dependency Injection is a way of providing objects with the objects they need ("dependencies"). This is usually done with a constructor, but can also be done for individual methods
Read more here: https://en.m.wikipedia.org/wiki/Dependency_injection
Dependency Injection in Java:
https://paste.helpch.at/yijawupoju.java
Dependency Injection in Kotlin:
https://paste.helpch.at/esogakutod.cpp
:))
Should have one
?Solid
What is SOLID?
S - Single-responsiblity principle
O - Open-closed principle
L - Liskov substitution principle
I - Interface segregation principle
D - Dependency Inversion Principle
If you wish to read up more on it, you can check here:
https://scotch.io/bar-talk/s-o-l-i-d-the-first-five-principles-of-object-oriented-design
Well it’s included very implicitly then
ye but the thing is I never read SOLID
petition to make my lombok bad a faq
well I did once and don't remember anything
so idk if there is anything about static abuse there
Yeah a lombok bad fwa and static abuse faq
well I mean I can make them and if funnycube or any other staff member feels like they are not OK they'll remove them I guess. just tell me what to write
That's a solid faq right there
Matt
You've ruined my day once again
good one matt
c:
isnt that basically ?ask as it tells u to provide details
Add one for it works
?help
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
Shouldn’t be allowed to create code for the sake of just working
same thing, ?help 😐
ye but I was going to say there should be xD
btw guys I'll change ?plsnoarrowcode to ?arrowcode
😆
just want your confirmation that its better
welp both are there I guess
just in case
no u
Yes u
do u know how to edit essentials so after a player types /tpaccept they can't type speficic commands for 6 seconds
don't think that's possible. well not with Essentials alone at least
the only thing you can disable is pvp or damage
for the player that got teleported
whats the best koth plugin
Your questions don't seem very dev related, you should start asking in #general-plugins or #minecraft instead
clash anyone?
Sir it is 9:30pm, unless thy knows any mystical words to summon a laptop in my lap, thou shall not play
bed time for frosty!
9:30 isnt too late....
its 11:30pm for me rn
Well good for you, unlike y'all I'm trying not to fuck up my sleep schedule thank you very much
going to bed at 9.30 is definitely a you thing 🙂
And I wake up every day at 6:30-7:30 am
I always wake up at 5 am as well...
Well I used to wake up at 5am for school every day, but for obvious reasons I don't have to
I tend to function better with a proper amount of sleep thank you very much :p
Bruh I used to start at 7.30
ok what the fuck
7:30 is unacceptable
it's actually unhealthy (if you are a night owl which depends on your genes) to wake up so early and have to do shit
yep
And (if it weren't because of covid) I'd have to wake up at like 5.30/6 to be there in time (I have at least 2 hours to get there so ye)
luckily I have a boss which doesn't mind if I wake up late 🙂
to be there = college
Hi can someone help me with something that will only take 10 sec?
ask
Its not minecraft related
and?
just say what you need help with someone will probably be able to help
Doubt
⚙️ Development General - Not configuration help - More relaxed area to discuss development topics
no one can help if we dont know what we need to help with...
If anyone is send me a dm, thanks
bruh
again we dont know what you need help with, so no one is gonna DM you
speak for urself son
"hi can i get help"
"yes"
"are you sure"
"yes"
"i dont know if anyone knows"
"just ask"
"no"
nah u gotta dm
coding game anyone?
It has been taken care of, thanks @obtuse gale
my classes start at 8:30 but due to time zone diff its, 6am here....
ye. getting a lot of errors and trying to fix them is satisfying 😦
i had to reinstall intellij recently cause im stupid and now i have this ugly bar with the project name at the top. anyone have any idea how to get rid of it lol
you can change almost everything in intelij platform ides
so just dive in the settings
ive been doing that but somehow you saying that made me find the setting
thanks lmao
Settings > Material Theme > Features > Project Frame Colors
i had to turn it off
Y
So I'm working on a project/plugin called Velt
Essentially the goal of it is to let you run JavaScript and TypeScript for Spigot plugins using GraalJS
With full access to any external java jars and npm
It's not done but it has some good progress
Some of the reasons I'm working on this are as follows
- I just generally prefer JS over Java
- JS syntax is smaller and simpler then Java which can benefit readability and maintainability
- You aren't bound by types and classes, but (when Typescript support is added fully) you can opt into them
- There's no need to compile your code every single time
Here's a few snippets
const { manager } = require('velt');
manager.command('feed', {
permission: 'velt.feed',
playerOnly: c('&cOnly players can run the feed command')
}, sender => {
sender.setFoodLevel(20);
sender.sendMessage(c('&6You have been saturated!'));
});
const { manager } = require('velt');
manager.on('PlayerJoinEvent', event => {
event.setJoinMessage(`[+] ${event.getPlayer()}`);
});
ngl probably the most compelling point would be the "no need to compile" bit
yeah actually, skript but good
Other than that, eeh it's subjective imo
elara will feature hotswapping
i don't know enough about kotlin but honestly I prefer node from what I can tell
besides this also gives you access to the wide variety of npm modules
the main downside i can tell is performance but
with GraalJS you can still get a lot of performance
so it isn't too big of a gap
what's elara?
a language a few of the people in this server are working on
its in very early stages but has some cool planned features
alr
I mean it's a whole new language, I would expect something new, even within the first 5 years of development, to be considered in "early stages"
wasn't sxtanna working on a way to code plugins using kotlin script?
yea i think so
pretty sure its on his gh still
or it might've been a papi thing actually
i think it was a papi placeholders thing similar to the JS expansion but for kotlin script
kotlin's interesting
i've been working on this plugin for probably a few months now
i don't know enough about kotlin but
i think it'll just be a matter of preference
of TS/JS over kotlin
Yeah, he stopped though, DevSrSouza has a working Kotlin script though
my eventual goals is for
full node support
and being able to do most things you would usually do with just java and spigot far more easily
so uuh I did a thing
like two months ago
I now realize that is literally just Map<Material, Integer> lmfao
It’s useful when you have multiple values for a particular key, although now that I’m thinking about it a multimap would suffice, or Map<K, Collection<V>>
to continue on the JS, if you want actual quality js you stil need to compile it
nowadays plain js is rarely used
you could include compilation into the "interpreter" though so the user doesn't have to do it manually
A Set<Entry> is essentially just a relation, while Map is associative in nature
In mathematical terms the latter is a function, i.e. a relation that is left-total and right-unique
nein
you don't have control over the "interpreter" though
I mean you could just execute babel build or whatever it is and pass the output to the script engine
So on the user's end they don't have to compile anything
what about browsers?
lemmo noob
I haven't read the conversations all I saw is that Fefo said he'd choose js over a compiled language due not needing to compile
to continue on the JS, if you want actual quality js you still need to compile it
nowadays plain js is rarely used
@frigid badge yeah, I don't know enough about GraalJS's internals but it might compile it to some form of optimized bytecode or something. compilation time is probably a lot shorter then java's though
no lol, I'm all in for compiled languages
the only disadvantage I find in them is in fact the compile time, compilers in general (specially those languages that rely on compile time optimizations) are basically writing code for you, and that takes an enormous amount of time, but the performance benefit is ssdadsasadasda so good
and I'm not gonna lie, it is comfortable to just replace a text file and get it working
@autumn tapir wasn't talking about it's internals but about the newer es versions
and is was talking more in general
didn't know you were talking about scripting in java
Anyone experienced with Github Desktop?
GitKraken > Github Desktop
So there are different branches in github
How can I have files for branch 1 and the files for branch 2
Copy the files from branch one or 2 to a different local repo on your pc.
thx
I'm new to these things.....
You can pull from the branch idk if you can set where the file goes though.
I'm not even 100% sure what the point of branches are
I'd suggest taking a quick read on git
but once again why do you need files for branch 1 & 2?
Branches have many uses, for example i tend to use two branches, development and master, on development i do quick edits and changes, on master i only keep releases
because they weren't in different folders or anything
good idea 👍
I use a master branch for live production environment, staging for the live staging environment and develop for pending releases bugfixes etc
and then i have bugfix branches & feature branches
also, I have another question: ```java
/**
* Put a player on the list.
* @param player - a player to use.
* @return TRUE if the player was previously on, FALSE otherwise.
*/
just documentation
so it doesn't make any change?
no it doesn't do anything
k thx
it's there for documentation purposes
why are the @param and @return after @?
Those are used on JavaDocs, the annotations are used to describe specific things, like parameters, returns, links etc
What?
What?
half my messages aren't sending
and the ones that sent takes forever
Also how come some methods are like showPlayer and some are like hidePlayer
the hidePlayer is on 1 line
That's just Intellij, it does that to make it smaller to read, if you click on the line it'll open up in more lines
It'll do it automatically, you can click on a minus button on the side next to the line number to close it
thx
how 2 print hello world
i do System.out.printIn("Hello World");
it's a nightmare
but no work
it's a hellhole
wok
mov dx, msg
mov ah, 9
int 0x21
mov ah, 0x4c
int 0x21
msg db 'Hello, World!', 0x0d, 0x0a, '$'```
best language ^
fake news
Assembly is lowkey hot
ok
are you using a i instead of an l
oh ok lol
i mean i can literally see people make that mistake
its the first mistake
i made
even if you replace the capital i with l
like
System.out.println("Hello World");
its still wrong lol
you can put it inside a compiler and see for yourself 😉
wrong quotes?
Nope
ios does that sometimes
lmfao
lol
An example of storage with my plugin.
const spawn = storage.field('spawn');
manager.command('spawn', sender => {
if (spawn.get()) {
sender.teleport(spawn.get());
sender.sendMessage(c`&bYou have been sent to spawn.`);
}
});
manager.command('setspawn', sender => {
spawn.set(sender.getLocation());
sender.sendMessage(c`&bYou have set the spawn to your location.`);
});
what did you do to the poor semicolon lol
lol
?
is it the greek meme
wasnt on your message
yes
oh
my plugin's goal is to let you handle spigot stuff with JS
you can easily create commands for stuff like spawn, warps, kits with the storage system
it abstracts away serialization and provides a simple interface
i dont like js, but thats just an opinion dont kill me
Ooh come on
Don't you love how everything is implicitly converted into strings?
<:
Tbh this looks pretty similar to Kotlin xD
val spawn = storage.field("spawn")
manager.command("spawn") { sender ->
if (spawn.get()) {
sender.teleport(spawn.get())
sender.sendMessage("&bYou have been sent to spawn.")
}
}
manager.command("setspawn") { sender ->
spawn.set(sender.getLocation())
sender.sendMessage("&bYou have set the spawn to your location.")
}
lol
kotlin... bad... java... good...?
Never
🙂
true, I prefer JS though
do u guys know how to make a flat nether
okay someone tell me why do I do this to myself
some time ago I had someone messaging me for a commission, and, y'know, I did the plugin, couple bugfixes here and there, and it's working perfectly right now
and I made this wonderful, abstract serializable config system I'm very proud of I made myself, working fine and all
and this dude comes and asks me to make a single, miniscule change to the plugin, that had absolutely nothing to do with the config system, no link between them whatsoever
and I go
"yep, this is the perfect time to REDO THIS SHIT ENTIRELY"
;-;
am I a masochist or something
k thx rant over
Yup relatable, i needed to add something to my lib and tbh i'll rewrite the entire system to be better
xD
I made a small plugin once for a guy for like 15 or 20 idk and I'm already at version 1.6 lol
3 of those updates was just me randomly sending him a message that I added new shit to it.
I was very bored lol
lmfao
and it didn't go 1.1-1.2-1.3 btw xD
IT HAD 1.1, 1.1.1, 1.1.2 Xd
Not to ten and not always
but yeah
Anyone know why the fuck Kotlin main runs in the Gradle console instead of the normal run in IJ?
no
@main grotto oh you're here already
so basically kotlin is better than java
simple
lol
Wait what
WAIT does he still want us to crusade?
Is this the discord
"the discord"?
the discord
This discord, unlike the spigotmc, isn't full of braindeads lmfao
unlike paper isnt toxic
ok
holy shit I stg every time I take a peek inside the help-development channel I get cancer
Ahah kotlin bad Scala OP
please leave
A better question would be why the fuck IJ eats my ram
i thought for a second you meant why the fuck IJ eats my arm xD
Bruhh
is there a way with multiverse to make a world a custom block with a bedrock floor
custom generators
i think they included a way so you can add your own custom generators
i remember that
I ask mine the same question
Yup
idk dude, that shit makes it skyrocket
Ayy managed to fix the run issue
ok
I wanna learn Js I wanna learn python I wanna learn c# I wanna learn more java i wanna learn bootstrap I wanna learn more css too much to learn
I want to learn C#/C++, Ruby, Python, html, css, go, swift, and Spanish
First Spanish, then C++
specifically spanish
ikr
Uh oh
I think imma gonna learn js just so i can make website
js is easy
JS, like python is unbelievably easy if you have any programming experience
Apart from figuring out this and how to use all the tools
Stories in terminal?

i saw some guy coding in it today making a really nice website and i wanna do that lol
where should learn javascript
You can probably just learn as you go
As long as you know the absolute basics
var, let, const, function, == vs ===, etc
can I like make js run in visual studio code?
with shopguiplus, i want the shops to have a buy multiple feature, but i have a spawner shop, can i disable the buy multiple feature with that as it messes up the command
Amazing
does js need semicolons lol?
Optional
Cos I thought it did but im not getting any problems without
Although I think it's a good idea to use them
Since otherwise it can occasionally mess up where lines end and start
There's some feature called "Automatic Semicolon Insertion" or something
is nodejs just something that lets you run js outside a browser?
Kind of
Node is usually for running js server side, so yeah
But it's still using the same JS engine as chrome afaik
#783231030860972032 "I need a super super simple plugin (Upgrading world borders)", ah yes cause that's just the most simplest thing to do, definetly worth the 1$
@grand hedge Can I suggest you add a 0 at the end of your budget
People assume not many features = simple
Irrespective of how difficult something is based on the API
Can you even do this with the api?
Why tho Aj
why not
dont ask me how it works
im guessing the -> { are some kinda callback or something, just guessing tho
It means the types aren't known until runtime
Whereas static typing knows the type of every value so it can do type checking in a compiler
If you've ever used python, that's dynamically typed too
Or most basic languages
Because it's easier to learn
Whereas java and kotlin are obviously static
yeah....
whats something like this
const something = () => {
// Like code here
}```
is it like a function in a variable or something?
COC anyone?
i will
it's a lambda assigned to a variable yeah
so is that something like ()->(Unit) or whatever in kotlin?
Imagine ```kotlin
val something = { }
sPaCeS
Yes
made something :))
yes
just me or is the website taking its sweet time?
@distant sun 
just you I think
internet issues?
vsc feels really clean and smooth to use
yeah maybe
i mi ght try and use js for this
Alrighty
since im basically already a pro amirite
We waiting on anyone else?
I'd assume he's at school
bruh maths
Goddamn it, didn't check all the test cases ;C
Send code here I wanna see
?
Let me know when everyone's done, studying history in the meantime 
Because I have an exam?
why'd u choose history
done
history is big lame
I didn't
What history
oh you can't choose your subjects over there?
whyd i do it such a weird way lol
Piggy, I live in not shitty educational land, not aussie land
I was gonna take history
looking at yugis way makes alot more sense
that's wack
but i mean it's all free for u guys so don't complain ig
like, literally
free education?
yeah europeans don't pay for that shit
I mean it's kinda wack, since I'm studying Mechanical Engineering :kek:
damn
Free uni 😭
imagine if the system was also good ...
o.o
Imagine
Join clash piggy
i need to remember quotes i've got an english exam tomorrow
though doesn't UK give a loan for studies?
yeah
Used to be a grant but not anymore
yea we don't have that
loans are a bitch
^
well yea I know but is better than nothing
Especially with what's recently going on in the world
nah i can't be fucked to do this coc
gaby how is a loan better than free education lol?
Not doing the other one?
It's wack
oh ok
Too early for that much math
13 more mins to Java class oof
anyway yugi they may have free uni
but they've also got super high taxes
so it all adds up
Like how much percentages?
oh god
yeah lol
37 or some %
when do you have to start paying taxes frosty?
at a certain amount of income, or as soon as you have an income?
I'd assume as soon as you have income, but not sure, they didn't teach us shit on this at school so no clue 
in aus it's like 18k before you start paying income tax
but hey @hot hull you know math and history
ikr!
MiToChoNDriA
ah and biology
Join weebs
dont we already have a game goign
That one was wack
frosty noob
Everyone else left that
it was easy lol
12.5k here I think
lol
just a list of each numbers times itself
yeah but bm 12.5k for you is 25k for me
True lol
Better than having to pay like 20k to ride the weewoo wagon
do what
tf is this
I have no idea
howm i meant to do this lol
But probably similar
i couldnt do this in java
post question aj
You can probably bodge something together pretty easily
uh
join all the words together without a separator, and just group into different amounts
Can't use guava 🥲
yeah so the problem there is that you didn't do exactly what I said
meaning it didn't work
ok
imperative approach is pretty simple for that
yeah this is easier imperatively
I tried windowed first and it ended up cutting the remainder portion
Whereas most COC stuff is easier to do functionally
mhm
or declaratively*
Gosh darn spaces
time to google code
|| sentence.filter { it != ' '}.forEachIndexed { i, it ->
print(it)
if ((i+1) % col == 0) {
println()
}
} ||

Share code Gaby
ok
final int size = 5;
final List<Character> chars = Arrays.asList(input.trim().chars());
final List<List<Character>> partitions = new ArrayList<>();
for (int i = 0; i < chars.size(); i += size) {
partitions.add(chars.subList(i, Math.min(i + size, chars.size())));
}
System.out.println(String.join("\n", partitions));```
I think
I can get the hello then my thing dies
for (int i = 0; i < sentence.length(); i++) {
if (i + col > sentence.length()) {
System.out.println(sentence.substring(i));
} else {
System.out.println(sentence.substring(i, i + col));
}
i += col - 1;
}
imma just submit lol
aj try mine
If they added an execution time limit to these it would have been lit
im using js lol
maybe we should do our own version of clash of code
then don't
Time limit is ussually fine exception for weird ass questions that even rands leave at
xD
I litrally saw a whole lobby quit from a reverse mode question
ez win
lol
Join Yugi
tf
post question
🥲
Alex has two bottles for holding water. Bottle 1 can hold up to L1 liter of water .
Now it contains L2 liter of water. Bottle 2 contains L3 liter of water. he will transfer water from Bottle 2 to Bottle 1.After transferring as much water as possible from Bottle 2 to Bottle 1,
he will get 15 coins FOR EACH litre of water left in Bottle 2
And he will give all of his money got from this to his little brother John.
what sort of maths exam question
ehh
why
wait what?
eyy
My brain
took me ages to work it out lol, I had to stare at the exampls for a solid minute and a half
oi frosty share code lol
nein
finally
more like [:))]
kotlin without any text {}<>++
Yugis first line without text ..*
Noone joining? :C
enough for me
i clciked the link but didnt join lol
im coming
((:[/:])(:-)) vs ..*..*..*
uh what
the fuck is this
ohh
easy

?
dw
lets let fate decide my score for this one
0%
wow
i didnt even test if that compiles lol
its sudoku lol
lol what
its litrally sudoku
can u send the question again lol
o
Who decided that Math/ceil should return a double
Wait
Gjfidiwjwnentntjw
That's not even right
UOE smh
because you need it for a double?
and getting Integer.MAX_VALUE for 21318391276381723.25 won't help lol
anyone gonna try advent of code?
sure
yup in a bit
ayy lol
lol
Mine is fucking hideous
I was trying to remove the number from the list, but it kept giving me an UOE
Almost got to 2k yesterday now back to 3k 😦
I was trying to get the average at first
Yea just get the missing number
SuDoKu
make a board
(output (first (filter (fn [c] (not (str/includes? s (str c)))) "123456789")))
``` 😍
could use a lambda instead of fn
#(not (str/includes? s (str %)))
Yugi, you joining?
y only one example./..
what
what is this lol
Seems to be a very poorly designed challenge lol
first advent of code is super ez
didn't even need to code anything
probs would've been faster to, but i'm lazy
also it threw me a syntax error without me even changing any code lol
Yea the count is missing
pig
Telling you, weak challenge
do you have to submit the result as "xxx" (a * b) or what
the result gaby
is it literally just ascending order for the top and bottom?
pretty much
so say its like
7 4 9
0 4 2
we would do (4,0) (7,2) (9,4)??
yeah i think so
idk how im meant to do this lol
whats count meant to be?
that's a mistake in the example code lol
it doesn't exist
write your own input
so what do i put in the loop then
just read the line
or do i yeet the loops
input.nextLine().split(" ")``` do this
idk how js works lol
yeeet
and then map to int etc
do i need to do that twice?
how do i make it a thing of ints in js
parseInt
map with parseInt
ascending order
yeah hm
sort em
I thought i did
show us what you did
Mine is enterprise code :kek:
bruh the trailing comma
lists in competitive coding are scary
how does one yeet the trailing comma
instant timeout
string join
or that
there we go
@quiet depot what is your answer? xd mine is ||974304||
Spoilers
Where's this advent thing
uhh 3 🤣
You have completed Day 1! You can [Share] this victory or [Return to Your Advent Calendar].
first and last :))
Spoilers for advent ||I got 651651||
So I've added ```java
import express.Express;
even doe It's imported
public Application(Express app) {
// Listen for GET request to "/"
app.get("/", (req, res) -> {
res.send("Whoaa, what are ya doing here?");
});
But have you added Express to your pom/build.gradle?
private leaderboard for hc? @quiet depot
where is that located?
move to #development
Bruh since when did express for Java exist
Feels bad
Because of an outage during the day 1 puzzle unlock, day 1 is worth no points.
since 2018
don't tell me you'd have gotten any points
except in private leaderboards, that is
What?
what?
Not sure what that's supposed to mean
??
I said "don't tell me you would have gotten any points without the outage"
because you said "feels bad"

How could I get any points if there's an outage
hacks
what should i do to learn js lol
i learnt it through discord.js
I wanna get into more like big scale projects
Then again a big scale project probably isnt a good idea for learning purposes lool
ive had an idea
Johnny, how will I know if I could've gotten any points if there's an outage and it doesn't say?
bruh i hate css so much
my point is that it is near impossible to get any points on the global leaderboard
Johnny the hater
You're confusing the shit out of me Johnny, I said feels bad cause the leaderboard are down, I know I didn't get any points, what does that matter lol
for (a in numbers) {
for (b in numbers) {
val c = numbers.firstOrNull { a + b + it == 2020 } ?: continue
println("$a * $b * $c = ${a * b * c}")
return
}
}```
Who doesnt love some nested loops :))
ew
what was your approach nerd
Shut up, gonna do it by hand next time
please do