#dev-general
1 messages · Page 428 of 1
if you react with that emoji then I will be sad
Pay-per-chunk
crikey! what a lot of 🥲 reactions! what's the meaning of all this then???
:c
lol James
no but really
lol
I gotta get one of these mugs with "/dev/null as a service" on it now haha
what the heck
I'm actually really tempted to get one of these mugs now
that's not very scalable
while true
do
cat /dev/urandom >> /dev/null
done
FROM scratch
ENTRYPOINT ["cat", "/dev/random"]```
Very scalable
@jovial warren
so why can you use braces with for, but not with while
FAKE NEWS
FROM scratch
ENTRYPOINT ["while true;", "do", "cat /dev/urandom;", "done"]
just to loop forever
you what
what
while true
do
cat /dev/urandom >> /dev/null
done
lol
vrganj
Ah gee, let's be sad together 🥲
/dev/null best bin on the planet
I wonder if you can make /dev/null be an actual device
imagine like a usb with a tiny lcd display saying how much shit you deleted
"Krypton"
yay a friend :D
c:
mv / /dev/null
why are you showing like the least cursed things Krypton has to offer

Is the server still online?
smiling_face_with_tear
Kinda wanna open minecraft again to see what you've been up to the past months
yeah it's still online
fixed it
nice
hold on
lemme restart it and delete my player file so I can actually play
Hey look that's me on the right
you cant do that
gimme a min
you cant stop me
I can
not when he looks like the guy on the right
KNPE
had to delete my player file to get me out of the cursed chunks
you what
KNPE!
HNPE
Cursed
what threw it?
so true!
Btw, game of life shouldnt end up just filling everytime right?
LMAO
lmao
loll
My implementation seems to have been cursed
watchdog killed it because a tick took too long
it's back up now
not sure what caused that
"block placing kinda works"
less than one second later
"server closed"
lol
?
What has
compare the 2 pics
Oh hes fat?
🥲
new meme format
yes
it says hascool for me
😌
Hascol
how do i open a file in emacs
Are you in evil mode
you can reconnect now Johnny lol
Idk for me it says just L https://i.imgur.com/2eDV9wF.png
yeah that's the default, it uses more vim-like bindings I've heard?
I have it disabled
it uses Space as the the prefix key for most things I believe
Doom shows you options
You can also search for things by name and read the docs inside emacs etc but idk any of these for evil mode 🥲
I know for regular emacs C-h is where the help bindings are
Maybe SPC h in evil
is it called evil mode because it's bad
It seems to be popular among doom users
huh
But I cba learning it right after I worked my way through the emacs tutorial with the regular keybinds
well C-h and stuff seems to work
oh okay in that case
adding getBlock and setBlock to Chunk in the API worries me lol
there's C-x C-v but that's kinda messy
I learned a bit yesterday, bristen
oh?
=> is
flatMap
do you mean >>=
odd
ffs why does watchdog sometimes just kill the server for no reason
maybe because the server gets an issue and just can't solve it
can you do doom sync from inside the editor
yes I believe so, there should be a command
well this world has a fucked chunk I guess
Haskell's weird
=> is flatMap
>=> is slightly different
javas weird in the same regard
imagine not following the standardised bitwise operators
Functor = have map
Monad = have flatMap (Functor + flatter)
But rather than running doom sync and restarting Emacs, Doom provides M-x doom/reload for your convenience (bound to SPC h r r and C-h r r). This runs doom sync, restarts the Doom initialization process and re-evaluates your personal config. However, this won’t clear pre-existing state; Doom won’t unload modules/packages that have already been loaded and it can’t anticipate complications arising from your private config.
@prisma wave
imagine thinking that "c languages have this" means they're standardised
ah so just reload
ty
i did :!doom sync which seemed to also work
yeah
there's Applicative too
well C is one of the most popular programming languages of all time so ya know
and that also applies to the C family
did you see arrow's applicative?
Is :! the same as M-! (run shell command)?
haven't looked much into arrow
presumably, that might be an evil mode thing cuz it's exactly the same as vim
the C family contains some of the most widely used programming languages there is
ok but not every language is in the C family
fair
im not too sure u can apply standardisation because of popularity
^
@prisma wave
shift
don't you use kotlin?
if you really wanted you could make your own operator for shifting
in Haskell?
yes
👀
omg haskell good???????????????
obviously
eval
yup
the only non lazy monad was deprecated if I'm not mistaken
is that functional Kotlin?
yup
Now there are Option, Either, Validate I think as "default" monads, and a LOT of resources for you to build your own monads (I have no idea how to make one that is actually useful though)
what's Validate?
https://i.imgur.com/2Ah3BeP.png omfg why am I this stupid
It's like either, but it stacks all the errors (stores them in a list) instead of short circuiting in the first one
iirc
ah nice
I think the next plugin I make, I'll try to use Arrow as much as possible to test it
can recommend this btw @prisma wave https://github.com/hlissner/doom-emacs/blob/develop/docs/index.org
space bar
oh ofc lol
Perhaps when I'm a bit more used to this kind of editor I'll give evil mode another try as well
https://x0.at/rgY.png
i think this would be the equivalent code in haskell
does anyone have mc 1.16.5 opened rn?
I do
can you join my server, execute a command and leave? I'll dm ip
sure
do you guys want to see a SPECTACULAR minecraft plugin specimen
the furry profile picture aside
...
I literally want to die
why is Excel so dumb
I just want a stupid chart of time count per letter
google sheets 
i have to use excel for this project
Whats this?
Arrow-Kt
And what is arrow-kt
Functional programming lib for kt
Λrrow is a library for Typed Functional Programming in Kotlin.
Haskell in kotlin
Haskell in Haskell better
Btw bm, you installed stack with curl right?
Or wget?
Does the working directory matter when using that mode of installation?
Ah alright, just wanted to make sure
Doesn't ghcup install stack?
Not sure, stack can install local ghc as needed afaik
yeah but that's more characters to type
stack ghc < ghc
You're always using a local ghc when creating a stack project right?
Stack new installs one I think
Or might be stack setup actually
Oh nvm its only if necessary

@obtuse gale who’s code is that
🥲
lmao
lmao
I can tell
android
that timing
luckperms
Doesnt seem to work
someone asking about futures in the lp api channel
what the fuck
that's terrifying
cursed
xD
Truely
why did you leak an ip
Its not a player IP
wot
pulse is gonna boot up his kali vm and hack you now
u sure?
Try and lookup the uuid and the playername
Yes im booting my shit up rn
launching ddos attack in a minute 🤡
because that's an offline mode UUID
it's based on the name itself
So I know there's bots and stuff which crawl mc servers to check their status and whatnot, but this server isnt listed on any server directories so I dunno what the deal is
hax im reporting 😳
Also, apparently the username mcsrvstat is an available account name
wait ur here?
we're everywhere yk
lmao
i fell in here like an hour ago
oh lol
the water goodness is spreading to the masses
lmao
I wonder if its got anything to do with the website mcsrvstat.us
But then I'm curious how they can connect using a username that is supposedly available for use
offline mode i presume
Yeah Im thinking thats why they must have got immediately disconnected with the message "enable IP forwarding for bungee blah blah, etc"
so they didnt even connect at all
well they do it to see what players are online
well hm
shouldnt that be already available?
idk
Yeah from the server query, you dont need to connect for that though (if the server has enable-query set) so idk why they'd bother trying
Fair enough.
bro omfg it reminds me
when you have this issue
but the issue just isn't possible
ever had that feeling?
yeah
its so annoying too
Do you all write your own documentation for your own projects' codebase or just forget what everything does like a chad when you come back to it several months later
javadocs
Comments are great for individual functions but I'm talkiing about large scale projects with loads of different/independant modules
comments are useful anywhere
i use both javadocs and comments tho
the real issue is what actually happens inside the method. sure you could have a javadoc
on the header of the method
but if you had some logic you wanted to step through
which is complex, id use comments along with it
Is javadoc like a documentation automation thing? Where you structure your comments a certain way, and it automatically generates a wiki for you?
Well they arent normal comments. And ig you could say they have more customizability?
i have a custom stylesheet on mine but the layout is the same
you can only place javadocs in certain places tho
like only in classes, constructors, methods, fields, some others
but not within methods or anything like that
javadocs are mostly for documenting interfaces
Yeah
well tbf, do you ever expect the user
to read the code for the api
lol
i mean maybe if the javadocs are not detailed enough
they open up the code
speaking of javadocs lucy u havent put my stylesheet in :(
Why don't people just give good docs anymore
It helps so many other devs but we just don't do it
Like no docs means you gotta go hunting for shit
well even just javadocs itself isnt always enough always
you may need some sort of guide
with code or smthing
about how to interact the components
to form whatever you want
unless javadocs specifies what to do, but that would be just 🤡
remind me tomorrow
I mean it took like 4 years for te to add docs yet its still a bad plugin
Put the stylesheet in. It's tomorrow 
hi so iam minecraft Dev in HyFlame network and we are looking for more devolpers
then wait until someone replies
oky thx ❤️
yea devs dont work free sadly
...
...
Also you want people to do it in 1.8.8?
yes
you realize most of here know a lot of stuff right?
and we are just losing more time
not gaining knowledge
lmfao
thank you anyway .. i gaved it a shot ..
😂 Fefo
i meant when we get allot allot of income yes the dev will get money ..
So put it in request paid??
ah gee
we have core i 9 9900k
lmfao
ram 128 gb
i gaved a shot at alot of things in my life not much were yes
????
?
?
They not good enough??
me and another one but we need 1 more dev
its a big network . will be in the feature
so we need allot of devs .. ^^
well, whoever is interested will see the message and get in contact with you
So you want 3 devs for a small server?
whats the server?
its not small why the hell i pay 200$ for core i 9 9900k if its small?
and the server is just opned like 2 weeks ago
I mean, if you can buy that you can pay a dev
we don't want to waste money .. if someone want to join our team welcome if not also welcome ..
good luck lol
hah good one m8
i didnt get any money from programming to the Network but i get some really good knowldge that helped me with my premium plugins .. i sold
Devs work a shit ton to get things to the point where'd the consumer would be happy.
++ i know that fell bro ..
you clearly dont trynna not pay devs
You probably haven't ever tried coding on the scale you're expecting. If you would've ever tried then you'd understand why the people wouldn't work for free. They have bills and such to pay.
i tried lol
there's no way you sold premium plugins. On what marketplace?
X to doubt if its spigot
Atleast I'm getting xp for this rant 
mc-market but i stoped updating bcz i was having exams with college etc
LMFAO
söng⁹dæ xd
Mc market is awful.
lol
why people here are toxic xD
We're not, we're telling the truth.
i know the truth we don't need to pay more things if anyone interested welcome ..
You're trying to underpay people for hard labour, and then you call us toxic for telling you the truth.
*correction not underpay, not pay at all 
My bad 
lol spitting facts
the owner paid me 50$ .. after finishing like 6 plugins [big ] but i fell him he don't want to waste more money ..
so i told him that i will get 30% of income ..
you are trying to justify the fact you aren't getting paid properly
everytime he get money from server . ranks , keys , anything else ..
If you're not willing to spend money on devs to give you what you want you're going to get good stuff.
and one question. If you are a developer, why are you asking for more developers.
it should be the owner
its being a big network
will be
You can get a free dev, he'd give you a shit plugin or you can pay up and get a good developer to do a good job
then how much it will cost to get a good devolper who can make a uhc run plugin?
That's very little for 6 big plugins lol
really?
The only reason I'm carrying on with this is because I get xp 
uhc is actually.. pretty simple
if you think about it
Muntder I would love to work for you
unless you talking about hypixel recipes
well yeah👀
Uhc run?
That's the price of 1 medium plugin imo let alone a big one
no that not we are do it . work with me ..
Are back doors allowed?
we don't use people xD
Wot
Oh yeah I did
What?
Lol imagine a company going around asking people to work for free, with a vague promise of money in the future. Do you have a contract?
maybe ..
Maybe pyramid scheme actually
not illegal, but no dev
how is that?
ok thank you so much ❤️
how do you know your server's gonna blow
This color is actually nice
^^
we are paying money for youtubers ..
we just opned
Pulse yours is good too
Yeah
and we have allot of big youtubers
Pay for developers too then
how many subs
not talking about 1k or 4k
Money to pay youtubers but not devs 
we live in a society
... where gamers dont rule the world
They get experience and knowledge
++
—
you realize hes joking right
if you fall for this
im going to shit my pants lmfao
you got overly underpaid for "6 big plugins" and keep saying "we'll pay later"
i know haha
no one's gonna join you my dude
you sure you know?
just saying the truth
iam not the owner but yeah ..
i just wanted another dev bcz i don't even got time for devs , exams etc
Your owner has their priorities wrong if they are paying advertisers but not good devs
than whos paying those 200 buckuroonis to get the server up and fancy?
the owner xD
On an unrelated topic, would anyone like to code my plugin for me for free? You will learn a lot.
I actually am getting frustrated by it lol
hypocrite
noun [ C ]
someone who says they have particular moral beliefs but behaves in ways that shows these are not sincere```
Have you ever eaten a hippo?
I say it's time you revolt against the owner!
i have its pretty wonderfull
rebellion!!
Work for me instead
No
Cute panda
Me
I will work for you pulse, then they will work for me
Is the word blocked or something?
Oh lol
work for me i have cookies i will give you instead of money and good experiences
No blue name though
*website cookies that track you
Accept all
Accept PP
owo
owo
I’m going to have a bunch of questions for my plugin later probably but I am not on my computer right now, whoever helps gets a feeling of pride.
And accomplishment
will you help me grow 5 inches
Yes
Yes
Width or height or other
ra
Are you 2 ft tall right now?
Nono
howommmmmmmmmmmmmm
hmm
Autocorrect is so annoying
autwo cowwect owo
5 years
damn
i will owoify your sentences
Wtf
just say a phrase and ill owo it
hi
A
dont hate me for speaking the truth
haii! I dont get wat da fuwk youw putting owo O.o
difficult sentence to owo
say a diffrent one
daddy please 🥺
no
...
angri
Haiiii! angwi xD
@ocean quartz docs for msg when? 🥺
I think carl bot has an owoify command lol
wat
my greatest secret
This? https://mf.mattstudios.me/message/mf-msg
I'll write some better ones once I finish the update for mf-gui
its in the owo bot
weda pwease owofy my phwase
its too owo alweady uwu
unu
I want to do the builders!
gawwyy n.n
Which builders?
item builders noob
Confirmed, among us is in minecraft.
Also, join my discord - https://discord.gg/22fcXcSURq
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
Credit to Kolificent
omg owo has a lorem ipsum sample
OwOfire: Wowem ipsum dowow sit amet~ consectetuw adipiscing ewit~ sed do eiusmod tempow incididunt ut wabowe et dowowe magnya awiqua. Ut enyim ad minyim venyiam~ quis nyostwud
Ah, go for it then ;o
there is
i was just going to ask a question relating to nullability
lol
? = null
sorta
null safety
yea
with ?. in kotlin, is there a way to make it like "put this instead of it is null"?
since rn I have kt val variable = someMethod()?."test" but not variable is nullable
and if statements look ugly
?: ?
oh
I'm actually interested in this one
you're doing wrong, should be val variable = someMethod() ?: "test"
val variable = someMethod()?.someProperty?: "backup"
please put a space before ?:
remove ?.
sure?
?
thats why ?: is there
^
?. means that itll fall through if its not null
?: means that itll do something else if it is null (basically null check)
ik
i was just confused
since i was trying to combine them
ish
agykjndwashzdkjas
is it normal having an entire enum dedicated for permissions?
lol
or is it useless
i wouldnt say its useless
probably for commands
permission to break the bed 🤡
why is it called "bed" wars?
lol
because you need the bed to survive
the objective is to defend ur bed
and break other's beds
eggwars was pog
i used to spawn kill people on that for jokes
id keep their egg alive then get like 50 kills before ending the game 🤡
🥲
i doubt it'll work
if i have the permission bedwars.a.b, and if I do hasPermission("bedwars.a"), will it be true or false?
aww
ye i think permissions have to be exact
rip
hence why people create blah.* exists probably
permission to leave the server: false
lol
should i have a global main lobby or per game?
so would it be like yml lobby: somelocation or ```yml
games:
somebedwarsmap:
lobby: somelocation
hmmm
ill do global
yes
NO 
As usual 
poll:
a) on bedwars game end, teleport to a specific location
b) on bedwars game end, teleport to location before game joined
i cba making it configurable
c) configurable
-_-
d) all above
C
fine

lmao
gtg
Really dkim
Dkim just runs
ok im back
welcome back
thx
Bruh
How long have you been working on this?
Okay this is so weird
my code works in testing but not in server?
makes literally no fucking sense
damn okay
What's the code supposed to do?
I'm dropping the support for legacy, tired of trying to make this work
If people don't want components don't update lmao
bit complex. loads C/C++ binaries from this media player thing
Matt Pro B)
fuck off barry
lmao
that ain't barry but whatever
is there a max per message or %?
It's 5
\🥲
5 is the limit, 6 passes
🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲
\🥲
lol
ohh
Without needing all that abstraction stuff, this looks so much better
Is that done using the mf gui framework or whatever it's called?
Yeah
niice
Might wanna wait for the update, it'll change a lot
Yeah I'll wait. You actually reminded me to get back to learning Kotlin
I stopped Kotlin for C++ but I realized that I'm starting too many things and not finishing them so I'm going back to Kotlin 
God i hate that Java can't have default parameters so I have to make a constructor for each case 😩
What do you mean default parameters?
God that looks really nice.. Im a sucker for the factory pattern ;p btw what font is that
It's Fira Code Medium
this one?
So let's say you want 2 types of constructors, in Java you would do
public class MyClass {
private final String name;
private final int age;
public MyClass(final String name, final int age) {
this.name = name;
this.age = age;
}
public MyClass(final String name) {
this(name, 0);
}
}
// Now both this work
new MyClass("Matt", 24);
new MyClass("Matt");
You can imagine how with more this would turn very confusing
In Kotlin you do
class MyClass(private val name: String, private val age: Int = 0)
// Same thing, now you can
MyClass("Matt", 24)
MyClass("Matt")
that's nifty
Nah it should be just "Fira code medium"
You might need to toggle the "show non monospaced fonts" (even though it's monospaced)
So much cleaner it seems with Kotlin.
Ikr
The scrolling gui class will now have like 4 constructors and 4 deprecated constructors
Yeah I'll make it work on 1.8-1.16, if you pass a component and it's an old version it'll serialize to string to not cause issues
Ah my gee sounds like you need a taste of C++ 
How is it at 10 hours and I've done jack shit
Pog
What do you need help with?
something with my laptop
this server is for development support & spigot plugin help
We're not primarily a tech support server but you can try asking in #off-topic
ok see you there 🙂
Lmao
Hey my post just got removed so I'm sharing it here: https://www.reddit.com/r/Minecraft/comments/mtx17w/what_if_minecraft_had_no_ticks_and_other_ideas/
@old wyvern did you know the official manjaro user guide has a section for dual booting
https://saimei.ftp.acc.umu.se/mirror/osdn.net/storage/g/m/ma/manjaro/Manjaro-User-Guide.pdf
woops
I didn't mean to post that
bcs after I looked at it it's actually not that great lol
why'd it get removed banana?
Yea Its different to what I had to do as well since I was installing it separately
Idk it was removed as soon as I posted it
you got rekt
sorry I just learnt you can't see the content: https://pastebin.com/LwBzW4fC
yep, that was really nice
Implement a dependency manager
github.com/knightzmc/pdm :slight_smile:
yeah but no one is using that
46 stars thank you very much
Imo standardising a dependency manager is either pointless or should be done by spigot
is using C++ for OpenGL worth it
Alternatives would be java + lwjgl / libgdx or maybe rust or go
For some extra context I have pretty much no experience with C++
where can I learn coding for minecraft
?learn-java
Oracle Docs:
You should start with this, breeze through this(skipping stuff that doesn't seem relevant like bitwise operators), then hit this.
They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff
Online Courses:
If you want some free online courses, you can find them on Coursera. Yes they are paid but you can chose to take them for free with the only disadvantage being the fact that you don't get a certificate at the end. Some of the best courses can be found Here.
You can also take a look at Udemy but from what I've seen most of those courses are paid.
Other services:
Some other cool services that will help you learn java are SoloLearn, W3Schools and JetBrains Academy.
As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!
My personal favourite is JetBrains Academy
lol
Haskell 😌
I think you're gonna need a bit of time to get into C++ first
Swap Kotlin and Haskell 🙂 👍
🥰
the super super basics are easy
main = putStrLn "Hello World"
```edited to make bm happy
bm: 🤢
lol
better
🥲
good luck explaining to a beginner what classes, static, public, arrays, void, printstreams are
I'm not saying java is bad but java basics are considerably harder than most languages
I'd say this is a pretty accurate learning curve
for java
except perhaps the second slope is a bit steep
in the balls
That's a use of classes but it's not the definition of a class
Seems about right
some people never get past the dip in the curve
Because as you said "java basics are easy"
Learning a language isn't just learning the syntax
Ok
The main entity in functional programming is obviously the function
Almost everything in Haskell is a function
yes
in the balls
Ik this is contrived and with my same argument you could say haskell basics require knowledge of pure functions, Monads, etc
But saying java basics are easy isn't really true
uh oh
I tried out python a little while back with reasonable expectations
and after fairly little use of the language I was greeted by major design flaws
Such as?
"Python doesn't have type coercion"
btw hyperskill was what I was using at the time
so I was told python doesn't have type coercion, and for the most part that held true, until I met booleans
what the fuck
what on earth is wrong with booleans
why can strings be coerced to a boolean value
but a number can't be added to a string without an explicit cast
How?
just a sec gotta find an example
aight so yeah "truthy and falsy"
a = 5
if a:
print(a)```
that code prints 5
yet I can't do
age = 9
print("I am " + age + " years old")
that in my eyes is a huge inconsistency
that's not a string lol
no but you can do it with strings aswell, the example I just found was for a number
im not sure truthiness is the same as coercion per-se
It's just a bit of quality of life
it seems the same
types getting implicitly changed (casted isn't exactly the right word) to a boolean
so why can't my number be implicitly changed to a string?
well what do you do instead
I know what you do, it's like str(age) or something
lmao
You could argue by the same measure that age + "years" in java is an inconsistency
that's type coercion
age + "years" wouldn't compile
but "years" * age does 🙂
yeah it repeats
I'm not here to defend java
it's got many flaws
however imo python's flaws are more significant
if you're gonna say the entire python language is bad because of one inconsistency, do the same with java
I don't think python is perfect but it's not a bad language by any means
Of course not
but that's not its only flaw (flaws now, not necessarily inconsistencies (inconsistency is a flaw but not all flaws r inconsistencies)), you've got the underscores and shit, the slowness, the forced dynamic typing