#dev-general
1 messages · Page 329 of 1
No reason at all
C# has absolutely diabolical conventions, I can second this notion
yeah haskell is one of the languages that you could realistically use without an IDE
Just cause why not
lol
Why is that?
Nah that's what BM's site suggested
lmao
So that's what we doing
just a fun thing
it's a new thing Piggy
idk why nots r usually weird langs
frosty had the magical idea
And no, you can heck out with brainfuck
F# is actually not too weird
but f# isn’t meant to be weird
we each learn a new functional programming language every week
you don't "learn" brainfuck
I mean F# syntax is pretty straightforward
it's not weird at all
u could try learn apl, that’s a why not lang
🤷
Haskell's syntax is a bit complex sometimes, but it's not bad
the things you can do with Haskell are pretty insane
Yugi, when you starting on the renderer :))
Did you install eveything for developement bard?
what renderer
After class 
I got more important things to do
ew classes
Thats gonna be fun xD
is this for the map gen thing?
yes piggy
I think they're talking about the world generator that Frosty's working on
ghcup
that might eventually make it's way into Krypton with some Kotlin tweaks
Make sure to install ghcid
building with stack everytime for errors is going to cause brain damage
wat dis
Handles type checking and stuff while you are writing in an external terminal
also, anyone wanna help me clear up some code that I totally didn't steal straight from Mojang?
.pl
yeah no idea how that Kotlin code got interpreted as whatever .pl is
Perl????
perl maybe
how tf is that Perl?
im pretty sure hastebin's detection is either really bad, or just random
anyway... yeah... have fun with that xD
oh
I love how dark mode is selected as default ❤️
rider is really nice
pog
beautiful
does f# have a keyword like it in kotlin?
dont think so
writing fun for the params is so weird
man
eg ```fs
let square x = x * x
let isEven n = n % 2 = 0
[1..10] |> List.map square |> List.filter isEven
mhm
much more readable
you can use List.iter instead of for x in y do also
it's basically forEach
ah right
yeah didnt know what it was called
not being able to print ints without using the $ or % shit is abit weird too
but ykno, language isnt too bad so far 👍
yea it's nice
theres probably a reason for that
i think you can do like .ToString() as well
o maybe not
java has the % stuff btw, that's what String.format is
yeah lol
works fine for me
I'm back baby doll
Am I just dumb or am I missing something, it doesn't write anything
what language is that
f#
F#
Enough for today, I'll watch some yt on it later
You probably need to flush the stream / writer
Anyone aware of an small gui application to cut/split audio files?
windows photo viewer or whatever it's called :))
Not overbloated crap
audacity?
Tiny-er
why
wym audacity is so simple
Too many windows
?
I just wanna type in 00:23 til 03:33
Would be possible with ffmpeg cli
but I wand something handier
Online audio editor 👍. Tiny-er for u
lmao
Nah
iTs nOt tHe RiGhT sIzE
Wot
just code one yourself if you really hate all the others
Online audio editor is your best bet rn lmao
Gianluca is in a discord for trading in hypixel skyblock
There's no other way
no one says I hate them
You hate it :)
@prisma wave tutorial when?
its like 5 clicks?
I would rather use ffmpeg
then use ffmpeg...
If you don’t know how to drag click don’t talk to me
Already
lol
i guess i can talk to you 🙂
Multiple it by 105 audio files
Fine if you don’t know how to god bridge or moonwalk don’t talk to me
i guess I can still talk to you 🙂
sounds like a you problem
I can godbridge 40+ blocks
Therefore I was asking for ideas.
If you can’t Telly bridge don’t talk to me
I can telly bridge
sorta
just once
then i have to reposition
then i can do once
then reposition
etc
make a quick program to cut the audio automatically 🙂
so I can still talk to you 🙂
MAJOR cap
Sir this is #dev-general
no its not
Barely anyone can telly
im not capping
FINE if you can’t andromeda bridge 40+ blocks don’t talk to me
I can download vape client
me too
Pvp is fun
Sir this is #dev-general
no its not!
No this is #off-topic
exactly
lets 1v1 later
did u 1v1 remence yet
Me every single time
lets 1v1 again
i have anticheat :))
how long ago was this?
real men play on hypixel uhc and destroy hackers
pulse
and bhoppers
i thought u were an anti-1.8
doesnt mean i dont play it
what???
~2 months ago
Hey 1.8 sucks it's the absolute worst
uses 1.8
i hate hosting the server on that, but it doesn't mean i don't like playing it...
i never said i hated playing on it itself lmao
lol
Sir this is #dev-general
I severely doubt that you can telly bridge when you couldn’t beat me 2 months ago (I didn’t know how to butterfly and sprint reset back then)
i dont think i could telly bridge that long ago
im not that good at pvp
Who’s this random in the chat this man needs to get tier 2 for imagine perms his name is @half harness
what
Dkim is major cap
He probably scroll clicks or auto clicks
You forgot the most important thing of all
;-;
Both
Bow shots
Get out of here bow spammer
bow shots?
And means I can use auto-aim on u
Leave this discord server
lol
Without anti-cheat blocking da way
Bow spamming isn’t skills
i told you, i can barely do it, ||and 95% of the times fail||
I ruled an entire server around 3 yrs ago only with bow lmao
I hate swords and axes
Now, ew pvp mc. It sucks
so yea i guess i was capping a little lol
Also
Fine, if you can’t consistently (over 50%) Telly don’t talk to me
Sir this is #dev-general
Sir this is #dev-general
i cant butterfly click cause my fingers are fat
Sir this is #dev-general
Good boi 👍
Sir this is #dev-general
Sir this is #dev-general
Sir this is #dev-general
SORRY
Sir this is #dev-general
Hi frosty can you code it so you can godbridge
😂
Sir this is #dev-general
Sir this is #dev-general
I said the word code
Sir this is #dev-general
So that means it’s developing related
#816184747024711693 or #816184744797929522 k thx
lmao
Since it's a request
I will request for you to shut up
@compact perch What channel is this?
admin 😱
@quiet depot, I didn't get that. Can you repeat?
For free obviously
no
☹️
Lmao
@compact perch how are you
🥲
Dyno better
Toxic get banned, speed running
@compact perch what channel is this?
@quiet depot, I didn't get that. Can you say it again?
who is toxic
Barry dumb
Banning you rn
wow
Imagining telling a bot to die
@compact perch can you kill yourself
Bots have feelings TOO 🥲
ok I think dialogflow is actually broken
I hacked into ur bot and broke it
Piggy try ask him to kill himself to shut the bot 😂
I got the bots discord token
That would be really cool
@compact perch what channel is this
@quiet depot, Sir this is #dev-general
The bots token is: veuskb7823762828?byejevd USA
would it be possible to have a string that only my bot can have, and it cannot be retrievable by decompiling or anything?
no
No
you never have to trust anyone
there's always ways to protect things
you're just trying to protect it wrong
that's not the solution either
Don’t do that 😄 👍
oh
then what do I do
Don't obfuscate
the simple fact is that only you need access to the bot's files, where the token is
yeah
so if i put config, they see that
oh-
they don't need those files
give me a good reason why they need them
and i'll tell you why they don't
LOL
basically, i have a bot inside of a plugin (or that's my plan, im not on pc rn), so that i can "communicate" between the server and discord
in order to communicate, I'd have to have a bot/plugin
and there are a bunch of other people (i think like 5) that have access to server files
yep, why do they need access to the server files?
I should make a hacked client and get mega rich by making it paid
so that they can configure the plugins
or
what if i use mysql somehow
ok, why can't they configure it in localhost, then just give you the configs
idk
too much work for both
it's probably less work frankly
on mega
what..
lol
lol
lol
enes that's not how it works I'm afraid
sir, Firezilla is an ftp/stp file viewer
you can edit files
there is no "user" thingy
Can't you just lock that file?
yeah filezilla is just a client, you can't impose restrictions on a specific client, that can only be done on the server side
too many configs
i'm assuming he's using a shared host frosty
too many files to lock
Yikes
i think the server hosting i use removed ftp access a while ago (so only web file explorer)
what the fuck
WHAT
stop using that host
its mess
you're basically using wix for minecraft at that point
lol
but
no buts
we're just using the host because it's $1/gb, and the server is indev
Bruh please remove but from your vocabulary
any host that doesn't give you real file access (i.e. not over a web browser) honestly can't be classified as a real host at that point
it's just a wix
dkim typically localhost serves that purpose
well they used to have it...
but now i assume they probably still do, but i can't find it
anyway
Then they probably dont
regardless of whether you have sftp access or not
why are you using a server without ftp
they still don't need file access lol

yes they do
why?
no they dont
you are being lazy
lmao
do it the hardway
maintain security
dont ask the question the first place if you gonna not allow it
then why do you even care??
because im the one making the bot
And?
that was the whole point of this convo ;-;
They should be using their own bot token for it
I want to keep the token hidden
their server, security is their problem
feel free to bring up the security issues to the owner
but if they choose not to do anything
that is entirely on them
so you make the bot how you please
yes
it seems the owner is not experienced
you should leave
im telling you that you shouldn't work for servers where the owner
has no idea what they are doing
hes experiened-
90% of the mc community :kek:
how?
but
i dont want to just straight up leave
idk pulse some owners are willing to learn
@forest pecan you’re right the owner is dumb and bad at math I heard he dropped out of kindergarten
Lol
encription, be gone
FTP isn’t that good
ftp is awful
ok i gtg
you should always prefer sftp, or ftps
thx for the info 🙂
definitely stray far away from any hosts that only have ftp
YES
Someone that understands security
I actually know fuck all about security, i'm not the guy you should be listening to
yeah
that's why I know about it
[MVP++++++++] Dkimnoob123: anyone selling superior dragon armour for 2k coins?
in like sb?
yea
It’s so little I make it in less than 5 seconds
cause i dont grind
funny wastes millions on shit he doesn't need
He sharing?
lol
like he bought a sword for 70 mil or something ridiculous from the auction
sweat
he doesn't even play that much
u guys should see his island
i'm not sure if you guys know but cube is actually a pro builder
Yeah
Sir this is #dev-general
@compact perch what channel is this
@quiet depot, Sir this is #dev-general
Sir leave this discord
@compact perch what channel is this
lol i think your stats are better than this
but he has more coins
so whatever
Sir go stub your foot and then poop your pants but your water won’t work so you can’t shower and you ran out of toilet paper and you have to just sit there with it
lmao
is it possible to see how many coins u have in the clan
As one should be
thru that site
i'll just join hypixel real quick
there is a bank api, an inventory api, and a skills api or smthing like that
how do u check it when u join?
go into skyblock
then click in the settings
then profile
then api settings or smthing
then enable it
oh
invite me to helpchat guild 🙂
well do you want purse
i promise i will add value to the guild 🙂
or bank
My brother is beating up another orphan I gtg for a minute
what is wrong with u
idk pulse
I don't play skyblock
when I play with cube he just drags me around with the party warp thing and tells me what to do
it's usually pretty fun so I never attempted to go solo
Yeah at the hub
there is this giant gold pot thingy
area
next to where you spawn
its to the left of you
you go inside that
Ik the “hub” I go there every night
wtf
lmao
we only have 35 mil
xD
cube must have spent it on something
or maybe i've just been remembering incorrectly
Imagine not bazaar flipping
@prisma wave F# match is disgusting
So later you know imma be using it
@prisma wave yes when is the tutorial you lazy noob
cube's sweaty ass base
how so
idk lol
match blah with
| "blah"
whats wrong with that
How do you expect to get a job if you can’t do things you don’t like
oh god
i dont mind it
atleast haskell is less chars :bigbrain:

Did you finish elara
technically itll never be finished
how to put an enchanted item ?
theres always something that can be improved on
elaborate
no in deluxemenu
wiki
Yes u can
ftr its called HashMultimap and is a SetMultimap btw
i meant that
Idk if gson provides a serializer for you, if not use a type adapter maybe
or if guava injects some serializers to gson
dont think it does
hmm probably not
just convert to a map and back
you could do a MITM attack fairly easily
what is that
but how would they listen to it?
man in the middle*
wdym
what is man in the middle
smh
I-
the idea is sftp is when the files you send are encrypted
meaning listeners in the middle
an attack where people can intercept and possibly modify traffic
can't know what you are sending
because it is encrypted
ftp doesn't have that much security
but how would you know what machine to listen to?
its not about which machine
oh
they track traffic
Yes
👀
they can do that
They can manipulate traffic as well
uh
🥶
that dont have sftp
thats bad
at first when i heard about sftp a while ago
i thought it was a bad version of ftp 😂
??
dont question lol
ftp is a bad version of sftp
well ye i know that now
ok
xD
lol
my name doesn't have s in it
oh-
might be an odd question
I'm using npp
and I want to replace a number, for ex. (1, ((2,, etc.) to ('1', in multiple lines using regex
is there a way to do it using backreference?
\((\d+), -> \('\1',
YES
that's gonna be so much easier
goodbye whacky, messy and annoying bit masks, hello easy to work with long arrays!
up with 1.17, down with 1.16.5! xD
Anyone wanna judge 
https://github.com/op65n/VaultManager/tree/development
oh btw, just wanna ask something. in terms of APIs, should I:
- create my own API in Kotlin from scratch
- implement Sponge
- implement Bukkit
I mean sponge ain't that bad so perhaps
and Sponge has a really nice ecosystem
https://docs.spongepowered.org/stable/en-PT/ and has docs in Pirate English haha
fun deposit(amount: Double) = run { balance += amount }
or
?
sneaky, but will work
y sneaky?
or you can do fun deposit(amount: Double) { balance += amount }
expression functions have implicit returns, u need the run so it actually works
cant assign a property on an one line function
Fixed!!! Double.deposit() = run { balance += this }

or was it this? actually
not it
this
lol no
altho its eh
looking at Sponge, tbh, I don't really like it actually, I'll probably just make my own API
ah why don't you like Sponge? Just curious
cause it soaks up my tears
funny!
🥲
wdym non
please do
ok
Cleans up the puddle of tears
💦
I don't like the way it lays things out really, the keying system is a bit whack imo, especially for Kotlin
and since this is a Kotlin project, I'm prioritising Kotlin usability over Java usability
I mean, it's a great API, it's just not very nice for use in Kotlin imo
and it's not quite ready for 1.16 yet, which is the only version that Krypton supports atm (and will likely only be 1.16.5+)
Bardy, we still don't have access to the users chat size right
wdym?
okay, right, the rule for client settings is that if it's not in https://wiki.vg/Protocol#Client_Settings , you can't get access to it
client? fuck that
I have to worry about rendering, textures, being dictated to by the server, etc.
client always ass
So is it in there, I cba to check every new version kek
literally click it
there's 6 things
locale, view distance, chat mode, chat colors, displayed skin parts, and main hand
oh also, https://wiki.vg/Protocol#Generate_Structure have fun with that one lol
(that's a packet sent when a player activates a jigsaw block, which is used for generating certain structures)
not bad I guess
better than other logos
The fuck is a jigsaw block
yeah... we're both gonna have lots of fun with that one
since you're gonna have to provide me with structure data and then I've gotta send a new chunk data packet I think with the new structure placed in the right place in it
First time hearing about that block kek
yeah I didn't know about it until I remember reading some article or watching a YT video about it lol
Seems like an issue for future me
big brain plays by Groovy 🌚
if you count gradle builds...
lol
why do ppl say oracle is bad?
someone said that they dont know java (they know python and c++) because their professor said that oracle was very bad
what a reputable source
because people are not happy with it as a company
are you @prisma wave ?https://www.reddit.com/r/programmingcirclejerk/comments/lvsycr/q_am_i_a_monad_a_i_would_argue_that_there_is_some/
i would love to be a monad
i dont think my IQ is high enough though
i'd spin into existential crisis
While you were out getting drunk, chasing women, I perfected my inner monadic self
😌
whos the REAL virgin
Oracle literally try to monetise everything
jdk
when they took over Sun, they tried to make OpenOffice proprietary and, well, that went as well as you could expect
adoptopenjdk
wait
Oracle JDK is a kinda open-source kinda proprietary license
how did AOJDK get the jdk code then?
they didn't
Adopt Open JDK only jdk you should use 
then
they just look at the jvm bytecode spec and implement it
o
Oracle publishes these things called "JSR"s, which are basically the Java equivalent of RFCs, which contain all the standards for implementations
they coded the jdk?!
and then they write their own implementation
ohhh
they implement all the JSRs, yes
there's not just one JDK, same as there's not just one JRE
the two main JREs are HotSpot and now GraalVM
HotSpot is made by OpenJDK, and it's one of the fastest JREs ever made
GraalVM is made by Oracle, and actually allows you to compile code from other languages (such as Python) into Java bytecode to run on the JVM
it's also very performant, not sure how it compares to HotSpot though
the two main JREs are HotSpot and now GraalVM
GraalVM is based on hotspot
actually apparently HotSpot is maintained by Oracle now
¯_(ツ)_/¯
i thought you knew when you said "two main JREs"
I haven't a clue what OpenJ9 is lol
a jvm by eclipse
ah right
Bardy be like
-_-
🤣
yeah the Kotlin circlejerking used to be insane
The circlejerk seems to have moved to rust
but BM and Sx were mainly the heart of that, and BM's moved onto "functional programming", and Sx... well, we all know what happened to Sx...
he made massive breaking changes to PAPI, pissed off clip, and got banned
end of story lol
well. yes but no. and no but yes.
random person has a problem in #development
"Yeah that's just Java being dumb, haha. I use Kotlin, so I never have these problems. Kotlin has many more modern features that Java lacks. Kotlin was released in 2016 and has since become the main language for Android development. Kotlin was created by JetBrains and has lots of cool stuff such as exhaustive pattern matching, control flow functions, and null safety in the type system, which is done with a Type T? being a union of T and {null}."
reminds me of the vlad meme
omfg why is that so true hahahaha
I mean, most of the time, null problems are just Java being dumb
BM wtf happened to you
I miss the Kotlin circlejerking 😦
because developers have an irresistable primal urge to sound smart
no
i cant do it anymore
i've been FPPilled
kotlin is good
haha, whoa there, having trouble with your imperative and static language?
Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language, yet remains completely dynamic – every feature supported by Clojure is supported at runtime. Clojure provides easy access to the Java frameworks, with optional type hints and type inference, to ensure that calls to Java can avoid reflection.
Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system. Clojure is predominantly a functional programming language, and features a rich set of immutable, persistent data structures. When mutable state is needed, Clojure offers a software transactional memory system and reactive Agent system that ensure clean, correct, multithreaded designs.
Just a heads up...
LMAO
hahahaha
Not me, I'm stoopid
you literally can't resist it
seems legit
totally read that whole paragraph, didn't just read the words "haha, whoa there, having trouble with your imperative and static language?", "Clojure" and "Lisp" xD
yeah we know 🙂
oh you made a typo in plugin.yml?
Haskell /ˈhæskəl/ is a general-purpose, statically typed, purely functional programming language with type inference and lazy evaluation. Developed to be suitable for teaching, research and industrial application, Haskell has pioneered a number of advanced programming language features such as type classes, which enable type-safe operator overloading. Haskell's main implementation is the Glasgow Haskell Compiler (GHC). It is named after logician Haskell Curry.
think it over...
we're reaching new levels of self awareness here
we've transcended
I can't wait until I can start circlejerking Krypton haha
random person has a problem in #development
"Yeah that's just Java being dumb, haha. I use Kotlin, so I never have these problems. Kotlin has many more modern features that Java lacks. Kotlin was released in 2016 and has since become the main language for Android development. Kotlin was created by JetBrains and has lots of cool stuff such as exhaustive pattern matching, control flow functions, and null safety in the type system, which is done with a Type T? being a union of T and {null}."
just grabbing my xp
Oh you're having performance issues because Minecraft is shit and designed to primarily run single-threaded? Why not try Krypton? It's fast, lightweight, and reliable! Written in Kotlin from the ground up, the developers have spent countless hours optimising performance, to the point that it can now handle around 1000 players online at once with minimal issues! Get your copy of Krypton today, at https://ci.kryptonmc.org
sounds like an advert you'd see on TV haha
also, don't question my ambition with the performance statement lol
also, Alex, can you please tell me why https://github.com/KryptonMC/Krypton/blob/master/src/main/kotlin/org/kryptonmc/krypton/packet/PacketInfo.kt is an interface?
I swear that should just be a data class
since the only time it's overridden is anonymously (I mean by using object : PacketInfo to create an anonymous class lol)
https://paste.helpch.at/upapihagoq.bash ffs why do I do this to myself
I'll give a cookie to the first person who can tell me the issue with that code (I already know what it is)
it's not so much an "issue" btw, it's just that something is made redundant
is it a variable?
try again
wow the late response lol
second line
what doesn't happen that should
well I mean that serverID variable is also useless unless you use it somewhere else?
idk
response.code() != 200 || !response.isSuccessful aren't these the same?
Maybe, it's more subtle than that though
I have a cache
What's the purpose of a cache?
to cache
Right
So what happens when something is assigned a cached value? What happens after that in that method?
a lot. idk I'm out bye
lol
Oh come on, you're all gonna kick yourselves when I tell you what it is I swear lol
I assign the cached value, but I never return to stop querying the API for a fresh one
cache = store temp data sorta
So it'll query the API every time, whether it's cached or not
then you dont need a cache
the cache would prevent querying every time
but if you query every time
the cache is useless
That's the entire point I was trying to make lol
Lol
import elara/sturdy rope
rope.tie(user, tree)
🙂
import elara/sturdy-rope
let user = BristerMitten
rope.hang(user, tree)
xD
import elara/sturdy-rope
let user = Frosty
rope.hang(user, tree)
Fixed it for you

also, https://paste.helpch.at/upapihagoq.bash
someone please explain how the fuck that's a bash script
hastebin isn't great at that
ElaraBin will fix that
Forge event subscriptions are static methods :why:
Forge is a cesspit that's even worse than bukkit
just change it 🙂
Forge is static galore
anyone know what kind of ExecutorService I should use for user authentication thread(s)?
I was thinking either single thread, cached pool, or fixed pool, but I can't seem to decide
though do coroutines need more than a single thread generally for small tasks?
is making a request to a remote API and receiving a response better done on the IO dispatcher?
I guess
also, this is so I can trade Call<GameProfile> for a suspend function lol
trying to think if authenticating asynchronously is even a good idea or not, since things could go quite badly if I start trying to send packets that depend on the user's UUID before I actually receive it
Pretty sure the vanilla server does it asynchronously
yeah it does iirc
but er... yeah... this ain't no vanilla server
the way this is designed means that if I don't get that UUID before beginPlayState is called (literally right after authenticateUser), it's gonna complain for not being initialised
I mean, atm, Krypton is probably worse than the vanilla server in terms of single-threaded usage lol
then fix it 🙂
https://github.com/KryptonMC/Krypton/blob/master/src/main/kotlin/org/kryptonmc/krypton/packet/PacketHandler.kt#L138 then help me pls 🙂
immediately questions my eeeeeeeeeeeeee orrrrrrrrrrrrrrrrrrrrrr donkey programming
still don't know how I'm going to make concurrency work with this lol
might have to use channels or something
also, I do love how I can just walk through water like it's nothing because the client doesn't know it's meant to slow me down lol
and how you can just endlessly through fall the void lol
I can help you.... make it worse
I'm already working on 2 projects of my own, plus the mailserver thing

