#dev-general
1 messages · Page 216 of 1
then why use gojure
More elegant and pragmatic
no
#showcase message i was talking about this lmao
Thank you
reminds me of that video of where ksi finds out it was pewds who drew the pic
Take note guys, the only PROFESSIONAL developer appreciates it 🙂
:)) how have I not seen this before?
he just went from what a piece of shit to what a beautiful piece of art.
why
They are still maintaining it. Im suprised you havnt had a crusade/circlejerk over it 🙄. Functional programming and all that
visual basic
Visual complex
Ok f# is pretty cool
i dont think so
Elara .net wen
Sell your soul to microsoft
Office 2003 is the best office version ever released, and no one can change that
🤣 🤣 🤣
let square x = x * x
@obtuse gale hot
oh stop it 🥰
join vc for greatness
@prisma wave u r lagging
sorry lol
It’s like clojure probably but worse
@steel heart not true
shitty internet
Nostalgia really hits with that software
ACCESS
"modern" development experience
ENTERPRISE
what are u implying with this
so much jpeg
LETS GO
😭
Ok nvm
My implications is pls stop

yes
GlojureSharp#++linPremium is never gonna exist
it will
@heady birch oh god please dont
Ok Ima report u bm
Watch all the unit tests pass
error FS0001: This expression was expected to have type 'int' but here has type ''a -> int' [/home/alex/myFSharpApp/myFSharpApp.fsproj]
The build failed. Fix the build errors and run again.
classic
I guess your using Visual Studio? F# shipping with it?
vsc
@obtuse gale sorry for ping but you probably know this. dumb question but adventure supports 1.8 right?
not my idea
1.8 or 1.8.8?
1.8.8
I don't know lmao
D:
I would presume it does
Pretty sure adventure supports 1.8
ah
You youngins disappoint me
ive used xp before, i dont remember it looking like that 
That was performance mode
Windows classic theme
Windows xp sp3 was peak windows
I had one, didnt even have a trackpad, you used the button in the middle of the keyboard
I had this
Pretty much this 
Beautiful
😐
isnt that what ur using rn tho frosty?
good
OMG Frosty thats a collector item!
micron pcs
git experts
how can i revert to a previous commit and merge in another commit but not all of them
eg ```
Commits:
1
2
3
4
5
reset to 5, but merge in 3 and no otehrs
nvm i did it 🙂
cherry pick
Git expert yourself
Add that to the resume
- PROFICIENT in Gojure
- Git expert
- rank 2 in helpchat
- hire me
Who could say no to that?
the north korean government
do you guys like do anything else
na 💯
@frigid badge I sleep, which is what I'm about to go do
@prisma wave yeah can you code my mod for me?
Can you recode my life also?
I’d like to have a billion dollars ty
@steel heart sure
Absolutely
Also are you better than this java pro?
Okay cool I need my internet back first then we’ll discuss the epic part Ig
Where is that from?
Spigot discord
When specifying lists of weighted objects, which do you prefer?
list:
- 10:a #10% a
- 25:b #25% b
- 50:c #50% c
etc
list:
- a
- a
- a #3 / 6 chance of a
- b
- b # 2 / 6 chance of b
- c # 1 / 6 chance of c
possibly wrong channel
good point
i accidentally implemented the 2nd instead of 1st and was hoping someone could justify it lmao

2d ew
Yeah def 1st
Damn it ☹️
ok so I need to do a website for a school project and I need some help xd
at first I thought about using only html and boostrap but then I realized I have to do some stuff automatically (such as the footer and navbar), tried Vue but for some reason I can't use @vue/cli cuz of some security error or smth like that, suggestions for any other framework?
Is not a complex site but .. xd
dang school project
smh lemmo
ohh looks like I can use vue.cmd instead
Now the annoying part .. the design
what kind of website do you need ?
text and images but I want it to look good
I got a sketch on my head but I suck at html 🤣
minecraft textures
uuh for like server logo or something ?
I have some art of those elements
got it from the a web
Minecraft item and block textures
like that
):
I have some
Uh basically I need someone who can make some cool block textures
Gonna use it for a mod when my internet decides to go on again
Well it’s like 16x16 or smtng
oh those are easy to make I guess
just get the stone block and draw some pixels on them xd
I’d like a slight animation for the ores
uuh like a gif ?
Like the amber wads in the ore is shining sort of
But not the stone itself
Yeah and also blocks equivalent to the crystal geodes but amber ones
Uh sure
uuh like a gif ?
last time I checked, animated textures are like several textures stacked on top of each other on the same image file
but that was on 1.5.2
lol
I think it’s still that
I never animated anything UwU
stacked not as in layers, literally one on top of the other lol
16x32 would have 2 frames
Lol
Ayy after a while finally got it
pog
Noice
Do it tmrw (:
xd aight
Are these unique? https://i.imgur.com/9Z4ybUB.png
I believe the only relevant differentiator would be world name, right?
I mean the name implies on that it should be unique
I guess
Or atleast that the long has connection the chunk
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
😤
Lmao
okay so guys i have 1 question i have command in HEX and i want to parse it how would i know whats AA,BB and so on:
$19000000000028AABBCCDDEEEEFFFFGGHHIIJJ<<chk>cr - command format
$1900000000002805000104002D0078011E00000E<CR> - command sent
is there any tool online?
Bruh what
serial comunication
i just want to see what AA is in the format from sent command
so i want to parse values from sent comman
CHK is basicly E here
i want to get values so it returns like
AA = 05
BB = 00
and so on
so i can see what is what
you dont understand what i mean
this is format of the command:
$19000000000028AABBCCDDEEEEFFFFGGHHIIJJ<<chk>cr - command format
this is what i entered
$1900000000002805000104002D0078011E00000E<CR> - command sent
i want to know what each value is from format you see theres AA
i want to kno what AA is in the sent command in this example AA is 05.....
Why are you using that format?
cause its defined that way
It’s stupid and gives literally no functionality
What is that?
its the command
use a library for that
i just want to know stuff for myself not for program
so its easier for me to write the command
What’s the point of this?
eh you cant even comunicate with pepl nowdays. better off myself searching stuff on google i guess.
isn't like you are being very descriptive but sure google will always help.
Lemmo big noob
u big noob
okay so guys i have 1 question i have command in HEX and i want to parse it how would i know whats AA,BB and so on:
$19000000000028AABBCCDDEEEEFFFFGGHHIIJJ<<chk>cr - command format
$1900000000002805000104002D0078011E00000E<CR> - command sent
is there any tool online?
@dusky drum
By checking the indices
?
Alrighty
When your still waiting for access to the deluxe chat channel lmao
do =spigot check in #bot-commands
thx
When you're Sk to I ok lkhfdku#dev-general
what
More relaxed area to discuss development topics
ye still not working
hey does someone here know why discord.js not working?
i install discord.js and still get this
oh ok
This is valid YAML wtf
🥲
Json is nice, but not for configs, it's not user friendly
korm 🙂
Korm 🥺
KOOOORM
Never contacted again 
Korm looks very nice tbh
yeah it's good
although the api is a bit janky
all serialization done in 1 1000 line class 😬
Jesus
🥲
Why type erasure why 
:))))
o
o
Saw that on ig earlier smh
It's a joke Frosty, smh
Nono, I'll remember this
@distant sun Of? ;o
how noob you are kotlin heroes thing
all coding related websites should have github login smh
@ocean quartz I believe we should sue type erasure
Ikr, let's do that
smh
i was looking at the fields of the class (all final fields), wondering why they hadn't been initialized, only to notice the sneaky @AllArgsConstructor at the top
like come on
Lombot is so bad
it's so misleading
But hacky
it's not elegant at all
IT IS
God i hate that Bungee uses it
literally, I went from 2000 lines to 1300
yo
fewer lines != elegance
Hi
https://img.bristermitten.me/19-50-44.png
for context, there's no constructor here.
If you didn't see that tiny annotation you'd assume that the values were null
It was a harmonious feeling at least
no
java is supposed to be explicit. if you don't want that, use a different language
hate it
i was writing up a bug report and everything about how there's a potential NPE 💀
that's why I will ban lombok
please do
iphone bad

no u
Nah, lombok is just the worse thing ever created
i cant stand it
Lombok more like kotlin innovation
@prisma wave sit down.
@wispy palm
@old wyvern r u good at math?
@steel heart
Depends on the problem at hand. Whats up?
0/0
Let me screenshot
Screenshot what?
My sheet
Sure
Or I mean take pic
do not compare lombok to kotlin
ah kotlin properties...
wrap every thing whether you want to or not
explicit only properties when?
wut
oh another reason why i hate lombok, you can't ctrl + click on a constructor because there is no constructor...
Explicit as in like the entire field without getters/setters?
@JvmField
This is true right?
Explicit as in like the entire field without getters/setters?
@JvmField
@ocean quartz
Would be nice as the default
but why would you want that
Yeah why would that be useful?
the point of kotlin is to avoid java boilerplate lol
In a lot of cases properties make it worse
such as?
why are you using greek letters for non-angular variables
The shadow dumbo
So the second one doesn’t work?
not always
Not without contraints
one clear example is the already drawn triangle
I mean assume all triangles are right angled or what its called
right triangles
r^2 = x^2 would mean r = x since length cant be negative
Okay now when I think of it, the second one would only be equal if they’re equal without squaring them
Ye
My teacher made me stupider today I think
probs
What are you trying to do?
Yeah
Uh nothing really, just trying to clear out what my teacher meant
is this geo lol
What is the topic?
Yugi can't find the message you were talking about
one sec matt ill find it in a bit
Okok
Similarity != Equality
Yeah ofc
Idk he is very ambiguous when he is teaching
But basic concept is just aa, sas, sss
What did he teach about this?
Tbf I don’t even know
Yeah he went through aa today
Literally any percent speedrun
Thats why
lombok causing even more problems 💀
IllegalAccessError wtf
Also try not to denote lengths with theta
Yeah true
Alpha and beta is find
fine*
He told us it was beneficial
maybe don't use i lol
He told us it was beneficial
@steel heart
The alpha and beta is fine, its generally used when you consider parted lengths
e is for natural logrithm
theta is used more specifically to denote angles
Oh my bad
and usually used as a placeholder
And lambda also for angles ?
for constant representation
just use letters lol
omega, theta and gamma ussually represent variables
its less confusing
Hmm okay good to know
Generally you have 3 ways to denote something. You can use angle numbers like ∠1, or you can use letters like ∠A or you can use greek characters
Make sure to use letters like a b and c
not like w and u
w and u makes hell
lol
our math teacher put w and u as variables
holy shit it was not fun writing the work
xD
FUCK OFF lombok java.lang.IllegalAccessError: no such method
Lol
i hate this shit
😬
It doesn’t like you probably since you roasted it earlier
Also you used it in your godly api
That’s what made me use it
that was a long time ago
but this fucking compiler hack doesnt even work on a java version above 8
that mean you were
U r cringing me out dude
God dammit BM, asking in the wrong channel smh
sorry lol
Jk xD
Why did electronicboy leave this discord?
TOO MANY emojis?
IM SRY
IM SRY
I thought you were in harmony with the beloved spigot discord
You guys bully Barry so much
😔
Barry gay
┬─┬ ノ( ゜-゜ノ)
@obtuse gale hi
@everyone
The 'everyone' mention is disabled so you can't annoy people.
lol
if(onetwo = true) {
if(oneone = true) {
if(onethree = true) {
if(onefour = true) {
winner = true;
}
}
}
if(onethree = true) {
if(onefour = true) {
if(onefive = true) {
winner = true;
}
}
}
if(twothree = true) {
if(threefour = true) {
if(fourfive = true) {
winner = true;
}
}
}
if(twotwo = true) {
if(threetwo = true) {
if(fourtwo = true) {
winner = true;
}
}
}
}```
Epic code ?
yes
private <T> Supplier<T> abort(Class<T> exception) {
return () -> {
try {
return exception.newInstance();
} catch (InstantiationException | IllegalAccessException e) {
throw new RuntimeException(e);
}
};
}
...
throw abort(MyException.class).get();
JavaPlugin.getPlugin(Main.class).getInstance().getPlugin(Main.class). JavaPlugin.getPlugin(Main.class).getInstance().getPlugin(Main.class). JavaPlugin.getPlugin(Main.class).getInstance().getPlugin(Main.class). JavaPlugin.getPlugin(Main.class).getInstance().getPlugin(Main.class). JavaPlugin.getPlugin(Main.class).getInstance().getPlugin(Main.class)
public static returnTrue(boolean b){
if (b){
return true;
} else {
return true;
}
}
public transient volatile strictfp void Object MyObjet = null;
Yep
public class main extends JavaPlugin {
private final static main main;
private final static main GetMain() {
return main.main;
}
public final static main GetMainInstance() {
return main.GetMain();
}
public CompatVoucherBuilder withIf(TriPredicate<? super ItemStack, ? super ItemMeta, ? super MaterialData> predicate, TriConsumer<? super ItemStack, ? super ItemMeta, ? super MaterialData> consumer) {
return with((itemStack, itemMeta, materialData) -> {
if (predicate.test(itemStack, itemMeta, materialData)) {
consumers.add(consumer);
}
});
}
public class Conclure {
Conclure child;
public Conclure() {
try {
this.child = new Conclure();
} catch (StackOverFlowException e) {
System.out.println("Conclure failed nnn a bit too hard");
}
}
}
public class GaySwedishMen {
public static void main(String[] args) {
new Conclure();
}
}
Error: discord doesn’t support jvm
fub
@obtuse gale hi
@steel heart hi
@obtuse gale
@everyone
The 'everyone' mention is disabled so you can't annoy people.
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
@steel heart
@everyone
The 'everyone' mention is disabled so you can't annoy people.
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
@here
@everyone
The 'everyone' mention is disabled so you can't annoy people.
@obtuse gale hi
@steel heart hi
@obtuse gale hi
@steel heart hi
@obtuse gale hi
@steel heart hi
@steel heart hi
@obtuse gale hi
@steel heart hi
@obtuse gale hi
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
@forest pecan hi
fuck off
Can we stop tagging everyoe
lol
like cmon
lol
@everyone
The 'everyone' mention is disabled so you can't annoy people.
stop being pathetic smh
@light venture ok
Mate can you not.
snort
@forest pecan 
@forest pecan :groda_susp:
@steel heart m
public class Conclure { Conclure child; public Conclure() { try { this.child = new Conclure(); } catch (StackOverFlowException e) { System.out.println("Conclure failed nnn a bit too hard"); } } }public class GaySwedishMen { public static void main(String[] args) { new Conclure(); } }
@forest pecan
wtf is going on here
if (if) ({
}); return true {
} finally {
}```
Conclure child
what a nightmare
lol
if (if) ({
if (if) ({
}); return true {
} finally {
}
}); return true {
} finally {
if (if) ({
}); return true {
} finally {
}
if (if) ({
}); return true {
} finally {
}
}```
1-10
Scammer
you didnt unmute
lol
alright really this time lol
Was that you?
I heard you lol
yes
aaaaaAAAAAAAAAAA
join fefo
if (if) ({
if (if) ({
}); return true {
} finally {
}
}); return true {
} finally {
if (if) ({
}); return true {
} finally {
}
if (if) ({
}); return true {
} finally {
}
}```
@steel heart 10/10
@forest pecan @forest pecan @forest pecan
@forest pecan
And he left
@forest pecan
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
kek
#room-1 for lovely keyboard noises
ill join if u unmute
join
o
💯
k sec
┬─┬ ノ( ゜-゜ノ)
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
┬─┬ ノ( ゜-゜ノ)
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
┬─┬ ノ( ゜-゜ノ)
┬─┬ ノ( ゜-゜ノ)
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
┬─┬ ノ( ゜-゜ノ)
is this necessary
😐
┬─┬ ノ( ゜-゜ノ)
Guys come on.. why spam?

hey guys, So i am doing some pathfinding stuff where a given entity is going to walk to a specific entity or player, BUT i need the entity to stay away x blocks from the player (imagine it like social distancing) but how can i calculate the target location to the player - x blocks distance
Please @ me if you have a solution
Has a lot changed from 1.15-1.16? Looking to update a plugin and wonder if another version jar is the play or can continue with 1.13+
@leaden sparrow Location has a distance method that you can use to calculate it
@eternal tinsel 1.16 has better performance than 1.13, no reason to play on those versions, it's either Latest, 1.12, or 1.8, anything else is not worth it
@leaden sparrow Location has a
distancemethod that you can use to calculate it
@eternal tinsel 1.16 has better performance than 1.13, no reason to play on those versions, it's either Latest, 1.12, or 1.8, anything else is not worth it
@ocean quartz yes but the pathfinding from Paper needs a location in order todo the pathfinding, so i need to calculate a location
Oh i am not sure about paper's pathfinding, never used them
Though if you want to calculate the distance it should still be the same way
Hmm, interesting, just saw this on StackOverflow
is that hytale or hypickle
I think is Hytale
Hytale judging after the logo
anyone has idea how i could intercept COM connection on windows and read what other program is sending?
What a hackerman
well i need to get some data from program thats sending data to device.
Find a library that allows you to read data from serial ports
Oh hi katsu 
that doesnt help if other program already uses that port, thats the problem it wont allow me to connect to that port.
i need to read what program on pc sent to the device.
ive got this project that ive been slowly chipping away at for like 6 months lol and it feels like its never gonna be finished
i agree
Hey everyone
Heyo
no
hyo
|-| |= √
┬─┬ ノ( ゜-゜ノ)
Stfu fefo
😔
(╯°□°)╯︵ ┻━┻
┬─┬ ノ( ゜-゜ノ)
what the
xDD
How many checks do you need? Yes
Why are they all one lined eeeeee
one line is nicer
Can you imagine this not being one lined?
Sorry for the nightmare
I mean it's just a name for a group of things (lib/plugins/etc), imagine it like deluxe
Still waiting on triumph pets to be complete
what triumph plugin are out there ?
Same Frosty, same 
None so far
Is it os Matt?
ah okey
Also triumph chat, where that
FrozenJoins where
In the trash can
o.o
but why again I forgot
Cause I cba to bother with it, it's still on gh if anyone wants to mess with it
It's all OS
Hey, I recently started using gradle to build my plugins. How do I build them again?
Because I completely forgot
@ornate socket gradle build
in the therminal
ok
do you have shadow jar ?
how do you do the code pasting again?
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
or what do you mean
The people that helped me set it up said it would work
uuh do gradle build
where in the console doesent work
I have intellij
it is in the terminal...
C:\Users\mariu\Desktop\Programming\Minecraft Plugins\EnhancedVanilla>gradle build
and it says it failed
because it doesent find gradle
@ornate socket
You do though
command not found stuff
But doesn't change much do clean build there instead
Btw if you're doing through a command line it's gradlew not gradle
Yeah that's IJ, it's just a different theme
In the build folder in the root directory
build/libs
Also you don't have to use command line, you can go to the Gradle Tab on the Right > Tasks > Shadow > shadowJar to make a task
ok
I dont like it in plugins
in mods
its so easy to start
but in plugins you need to paste into a server
no "runclient"
:c
There is a way to run the server from IJ
@ornate socket https://www.youtube.com/watch?v=AWsiQIZVU5s
Learn how to create a #Spigot debug server inside of #Intellij
0:00 Intro
0:45 Creating New Project
2:30 Setting Up Export Settings & Start.bat
5:52 Testing & Overview
Subscribe: https://www.youtube.com/BGHDDevelopment?sub_confirmation=1
View all our plugins here:
https://w...
here I followed this
it worked well for me
ok and I have one more question
ask
nono
it doesent work
so im asking here
or it doesent work how I expected
ok everything works fine, besides the it sets the day counter to zero
and I dont want this to happen
Huh, i mean that'd be a support question which would be in the support channel xD
https://www.spigotmc.org/threads/intellij-live-debug-run-your-server-inside-the-ide.364782/#post-3345594
look at that chad
where is the support channel
Fefo
Frosty
The big chad
LOL
if you could help me it would be nice xD
I still have the sharex profile made for his style
I want to make a custom Item System.
Should I handle it like this? ->
public class Item {
protected String name;
protected Material material;
protected Rarity rarity;
public Item(String name, Material material, Rarity rarity) {
this.name = name;
this.material = material;
this.rarity = rarity;
}
public String getName() {
return name;
}
public Material getMaterial() {
return material;
}
public Rarity getRarity() {
return rarity;
}
}
probably ¯_(ツ)_/¯
should the Item Class extend ItemStack? @prisma wave
or should I have a build function or so
extending itemstack can sometimes get messy
yeah
so i'd just have a build function or something
thought so too
interface ThickConsumer<A,B,C,D,E,F,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z> {
void accept(A a, B b, C c, D d, E e, F f, H h, I i, J j, K k, L l, M m, N n, O o, P p, Q q, R r, S s, T t, U u, V v, W w, X x, Y y, Z z);
}
Leave
Na


