#dev-general
1 messages ยท Page 225 of 1
:))
noice
L
gradle-6.1.1-all.zip that the latest grodle version?
Latest is 6.6.1 I think
I'm sad BM
build.gradle https://paste.helpch.at/elumaxujap.makefile
Am I missing anything?
You using shadowJar to build?
ye
shadowJar.dependsOn
I dont know how to upgrade ๐ฆ
./gradlew wrapper --gradle-version 6.7.1
in cmd prompt ?
in command prompt ?
it doesn't matter
'gradlew.bat' is not recognized as an internal or external command, operable program or batch file.
that's just the easiest way
in command prompt
yes
not sure why you're showing me that
cool
now I have gradle 6.7.1?
now tell intellij to use the wrapper
yes
you still have to tell ij to use the wrapper
no you just installed the wrapper
no
you go into ij's settings
and figure out how to make gradle use the wrapper
search gradle in ij settings
or google it
Welcome to Gradle 6.7.1!
Here are the highlights of this release:
- File system watching is ready for production use
- Declare the version of Java your build requires
- Java 15 support
For more details see https://docs.gradle.org/6.7.1/release-notes.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 3s
1 actionable task: 1 executed
lmfao
So for some reason if I runtime JDA the bot doesn't want to start (no errors or anything)
but if I shade it normally it does
Added a try catch, still nada, it just halts everything when it gets to the bot start method
So I threw the bot start on a delay, and it seems to run shit properly now, however NCDFE
java.lang.NoClassDefFoundError: okio/BufferedSource
No clue where, why, or from what this is tho
Not excluding anything from JDA so I'm slightly confused
that is pdm being bug free
probably
I don't get this issue when I don't use pdm so 
oh wait BM, does it also download transitive dependencies?
Cause like this is missing
:bruh:
easiest workaround is to just add the dependency manually ๐
don't blame me, the maven pom format sucks ass
blame on you
Would excluding it from JDA, and then adding seperatelly fix it perhaps?
okay weeb smh
And I just killed the fucking server ๐
Nice
Now I'm missing other shit
classic pdm

it has been like that for a long time
that doesn't mean it's broken
The CI just happens to be broken
My Nexus always 403s when the CI tries to access it for some reason ๐ฅฒ
how 2 know you can make premium resource 
Have 3 public resources, 80 messages and 20 reactions
And link 2fa
Then you can have premium resource
or just ask me to post it for you
now we wait
puny 81 posts smh
smh
https://www.spigotmc.org/threads/how-make-from-a-sk-a-jar-file.474509/ when people like this exist
i tend to want to avoid this site
That's a new one
Back to physics classes?
wut ur doing clash of code?
Anyone COC?
yes
lol
Yes
I swear Clash has a diff question set for randoms
physics is just spicy maths
Geometric sequence ๐
Yugi, I'd assume cause of your ranking
Thats literally a question I had for my engineering exams for physics
yeah probably gets harder with ranking
oh well
I dont have much I think?
also lol, people just quit xD
k give link guys...
I'm prob the one with lowest ranking :P
Someone make a game
so when that COC starting?
Frosty
I assume
since he invited us
but I just saw his message
saying make a game
so let me start one
k
if laptop wants to work
k
@distant sun
hes idle
He's always idle
o
Probably sleeping again
who is Oribuin
Ori..
he's most likely doing stuff for school xD
Blitz, it's Gaby, he's sleeping
do we start or do we wait?
fastest to finish wins
@old wyvern
and reverse is get the question from like 5 examples then answer the question
I'm downloading Rise Of The Tomb Raider so my internet is slow rn
when we start?
when ya'll don't want to wait
Start
Start
allons-y
Oh god
ugh
um
can we just not
lol
Do another
^
Frosty pls do another
ok ty em
my internet is to slow to create one
think we can start
no
What's with all these fucking math questions
um
๐
you laugh
๐
I suffer through this shit right now and you laugh
it at the top
im gay im incapable of this
Arithmetic progression is a sequence, in which every member differs from other by D. For example, sequence where M=3 and D=3 looks like this
3,6,9,12,...
yes but im not gonna read that
its literally 5 lines at max
he fast
you don't need to find math formulas and shit
just a for loop
@prisma wave sorry em you do need a formula xD
why apologising to me lol
well I tried
Fuck off with your shitty math questions
u flopped it
0 of the test cases
;-;
the last couple weeks of my life have largely been consisting of studying maths and I get triggered by "sequences" now
ah rip lol
i got half of the way there
Join mine when y'all are done
i like sequences
You joining BM
Oh you like sequences? Recite the entire 120 page higher maths script I have to work my way through
var sum = 0
for (i in 1..N) {
sum+=M
M+=D
}``` @half harness here get 100% and beat frosty
i don't like them that much
xD
I hate maths in general
I hate numbers
why is it always fastest mode
yo what is this shit?
its like
lol
For each number to process, the minimum number of bits required to code it.
wat
log2(n)
.toBits
๐
yeah im confused ?
๐ฒ ๐ช ๐น ๐ด ๐ด
๐ฒ ๐ช ๐น ๐ด ๐ด
#me2
welp ping me once you guys are done
this is a scam
the repl runs kotlin 1.3 ๐

Oh come on, there's an Integer#getBitCount method, but this is using old shit ;C
still clashin?
link?
only 2 minutes left
but
I keep getting wrong results
what is the question
join the game?
lmao everyone with 0% except frosty
I would've gotten 100, I was missing a single goddamn line but ran out of time :p
rip
this was my code
i agree
args: Array<String> 
it was jsut log(input) with base 2
Mine ofc, my rng is better
frosty's
its the default Kaliber
i am well aware of this
+1 too maybe
but it isnt needed since like kotlin 1.1
?
Join mine BM
oh
rip
it wasn't for some reason, i tried that and it was always off by a few
even when doing + 1
i hate it here
What's with all the maths ones today
aren't they all math?
Well a lot are fun math, just not today lmao
sorry if i forgot anyone
finally something besides fastest
Finally something that isnt fucking fast most
use any language you want
sorry
The last test is dumb kek
ur dumb
553 so far and it works
someone try this
xD
Frosty hasnt heard of spacing
ye wait for mine
What's that
still 375 tho
semicolon + space is more characters than \n
yep yep
im aware
although indentation
but i aint no pussy bitch
fair
welp
303
its fine
what the fuck?
why 66?
all test cases worked
literally all test cases worked
yo this shit is broken
dkim share code
LETS GOO
It's not just the given tests Blitz
I finally won
There's more tests after that
What
the fuck is that
xD
all the tests passed why did i get 83%
lol
wtf
they literally said that if it has a . then its a http
(ns Solution
(:require [clojure.string :as str])
(:gen-class))
(defn output [msg] (println msg) (flush))
(defn append-maybe [pre str] (if (str/starts-with? str pre) str (str/join "" (concat pre str))))
(defn -main [& args]
(let [urlbar (read-line)]
(output
(if (str/starts-with? urlbar "http") urlbar
(if (str/includes? urlbar ".")
(append-maybe "http://" urlbar)
(append-maybe "ftp://" urlbar))))))
then turns out it can start with http / ftp as well
i hate it
var u=readline();var t;if(u.includes("."))t="http://";if(t == null)t="ftp://";if(u.startsWith("http://")||u.startsWith("https://")||u.startsWith("ftp://"))console.log(u);else console.log(t + u);
``` ๐
I didn't have enough time
make new one please
to make shorter
that was the last one i was doing
no it wasn't
@remote goblet I'm going to do something you won't like if you don't join
@old wyvern @onyx loom
oooo

no
yes
Can we start?
no
^^^^^^^^^^^^
Also, how tf else you supposed to make messages with JDA?
java.lang.UnsupportedOperationException: This operation is not supported for Messages that were created by a MessageBuilder!
Kali, stfu already please
what is jda
no u
Java Discord API
ugh
?
it is what it says it is lol
;-;
well, what operation is the important part
laughs in webstorm
deletion Johny
Well... that makes sense?
Eat shit blitz
A message object that isn't a discord entity yet cannot be deleted
Oh fuck off
one line of code frosty smh ...
Johnny, I'm using channel#deleteMessagesByIds, passing in the built message id
How else would it work then lol?
Message#getId
and you only get an id when you actually send it to discord
^^^
jeez why am I so slow
ack
there should only be one type of list in java
its so confusing and idk which one to use
99% of the time ArrayList
or just use clojure ๐
(def list '(1 2 3))
only 1 type of list
Or just don't use a list?
Or kotlin val list = listOf(1, 2, 3)
(map inc [1 2 3 4 5])
;;=> (2 3 4 5 6)
@half harness need a hint?
Not a list
That's not a list
o
Array
๐ idk difference
Figured it out Johnny
how come doing i[1] gives error
Array is a data structure, list is an object
Prolly because it doesn't have the index you are trying to use?
rip ok i couldn't finish
Share your code ;o
Also for future notice List<Integer> list, int[] array
Aight, we could help you improve if you did
Kqliber
It's the noob
also me
โน๏ธ
you're playing against 4 instances of me
matt?
Where is blitz?
ยฏ_(ใ)_/ยฏ
Yeah?
uh oh Johnny gonna destroy us
๐ค
u wann join?
doubt it
Thought i had xD
you've all been playing it a lot more than I have
clojure 1v1
how good is johnny
But it's late, my brain no work
after this can we do shortest
No
because thats the only thing I won at
Shortest sucks ass
if everyone uses the same language, then shortest is good
Shortest are the best ones
How about we start
sure
clojure competition for shortest
Matt, it's all about tehnique right ๐
Huh?
Shortest are the best ones
MATHS
No, they are just more fun, to try cramming things in the shortest way possible
๐
:/
at least the support for clojure has become better on this website
now there's finally auto indentation
can't join :(*
woah
is the game over?
My brain
That's fun eh
what is %
(5 1 / 2 5 0 0 G - 5 1 / 2 5 0 0) seems to work
I have a system which calculates this, but I cba to open a project :p
Might there be a reason why my titles are no-longer working? (Haven't changed anything in my code)
player#sendTitle
can sb tell me what cba means
;-;
can't be asked
look at my code 
Someone please
#dev-general message
um #development?
^
;-;
kek
whats that ๐ฎ
k bye @onyx loom
Johnny, what is quot and mod?
integer division and modulo
% = mod
java.lang.ClassCastException: class clojure.lang.PersistentVector cannot be cast to class java.lang.Number ๐ญ
S += B/100
G += S/100
S = (S%100).toInt()
B = (B%100).toInt()``` convert this em
bruh
Ooh gotcha
i know what to do
modulo is always an int
but doing it functionally is aids
yes it is
Damn your solution is much nicer than mine Blitz
that's kotlin
My solution is best
Where are the fun ones smh
i forgot you can make multiple let bindings
ty xD
arrow code ๐ฌ
yeah you can just shadow it over and over again
in actual code you'd probably throw together a small threading macro or sth
anyone else?
wait
๐
start?
sorry
lmao
lol
this one sucks
ok this is one of those I need to read 100 times to get
fuck
i hate the reading ones
oh ty EM
what is EM
c'est moi
Energetic Monkey
๐
This one is weird
?
@ocean quartz
when we starting
xD
oh lol
oh
Cause the other one is shit
lol are you serious
yes
xD
the long ones are ass
this wasn't even a long one
Ugh reverse ones
ugh
yay
ugh this one hurts
huh
think this is all you guys
hmm
unless someone explains to me what the pattern is
LCM?
lowest common multiple
oh
but its not
hmm
first 2 are just adding up but one is with - so its not that
fuck
wait hmm nvm
lol im stuck
ye idk what this one does
you aren't satisfied with anything are you lol
nope
wAiT
it's not hard
I give up
i wont spoil
i actually have no idea
Any hints Johnny?
||only + and - are involved||
Wow i see it now
ohh I think I got it
barry pls
lel
smh
don't tell em
.
but how does it know if positive or negative?
- for 2,4,6,8 etc.
Look at the numbers
no idea what they are called
oh yes
even and not even
that's how they're called
omg
@ocean quartz
you almost stole that from me
even and odd
oh that
not not even smh :p
Damn 2 seconds
ye ...
oh
Aight imma brb
kill me
also Frosty u remember yesterday? when I stole the win from you by 1 second
that was bs
no...
you calling (int ...) somewhere?
dunno about the error, but it'd fail anyway since int just coerces
but doesn't parse
whats ffs
Definition of FFS from Dictionary.com, the worldโs leading online source for English definitions, pronunciations, word origins, idioms, Word of the Day, and more.
@static zealot @hot hull @distant sun Are you able to see staff chat? It's not loading for me
Dammit 
Shows it was pinged but it just doesn't load
but discord is bad today so might just be from them
Let me try restarting my discord
message not sending and stuff
In this screencast, weโre going to look at the 3 ways to simplify your code using refactoring in IntelliJ IDEA. Simplifying your code has lots of advantages including improving readability, tackling technical debt, and managing ever changing requirements.
00:00 - Intro
00:38 - Extract & Inline
04:28 - Change Signature
05:33 - Rename
*Author: H...
This is pretty cool
why does she say intellij and macos so wierdly??????
How do you say Intellij? I say it pretty similar to her
I hear in-tel-ee-j idea
she like chains the IDEA part too, so it says like intelijidea

๐
how do i zoom out of discord, idk what i just pressed
ctrl -
๐
clash?
coool shark
o
I just read everything dunno what ya talking aboot

is that Willy Wonka?
Lol Matt
Spi๐ฉ
we started a crusade in spigot general. join us xD
knockoff scala ๐คฃ
I don't see no crusade
Ok
Also someone posted this on development yesterday and i wanted to share the beauty of it with you all https://paste.helpch.at/fidahukari.cpp
oh my-
what a beauty
I'm crying
@ocean quartz You just ruined my entire night, thanks.
You are very welcome!
while(true) is fast
you ever wanted to crash your server in the fastest time possible
here is your code
anyone selling a premade core
yesn't
not a skript core, thats for sure 
Essentials X can be your core 
@remote goblet Ever wanted a quick server death, try including a transitive dependency into pdm
Will kill it in an oof
need a skript core
No you dont
Im mad
why cant falling blocks be slightly bigger than blocks themselves
and why do they decide to despawn
@remote goblet can't you make them be armourstands holding the sand instead
Doing great here, amazing work, always getting better
matt did you ever end up making that IJ plugin that worked with your GUI lib? Or were you just doing that as moreso a proof of concept thing? I remember a while back you showing something like it i think
btw sometimes I see people here put methods and use #... how does that work?
refers to the methods of an instance
@obtuse gale Nah, it was just concept, might go back to it later though
ah alright
I just debugged the code for like an hour just to realize that 18 is actually differ to 18.0 in java...
. hello how get random chance thank you please ok
example: .1 = 10% something happens
.141414414141 = 14.141414414141% chance something happens
Hey i have a question why i am getting this error
java.lang.NullPointerException
I know what plugin is causing it but im unsure why its happening
it just spams console
somethings null
generate a random number between 1 and 100 and if its < the chance number then something happens?
i reset the plugin configs and re did them now its workign again
is it ur plugin?
why when I type 3 chars on gradle kotlin dsl IJ freaks the shit out??
I literally just typed "apply" lmfao
frick the kotlin dsl

