#dev-general
1 messages ยท Page 387 of 1
oop
oop?
Hmm
more like poop
๐ฉ
i really wanna believe this is dkim talking to himself
๐
But he can't run chrome and discord at the same time soooooo
No I never said that I said I couldn't run an ide and discord
at the same time
oh shoot
lol

๐
I promise guys its not me!
I'm not the only one that cant run ide and discord at the same time!
ok Mr trump I am going to ask you a few questions
Wait
Yes
I have a test to see if its dkim
o
lol
-6
i recorded this in the bathroom
join the subreddit https://www.reddit.com/r/Joosebox/
#kazoo #shorts
i told u its not me
dammit
Mr Indian man
hmm

Do you
How do you know he's indian?
๐ณ
Damn
what
๐
Lmao
wow yugi
The one other person that commented on Yugi being indian was Pulse ๐
Pulse was present for the haskell thing
is that a 24 guage shotgun I see there?
do i must report you to the NRA?
48!
๐
Sentence to 5 life sentences in COPPA and coc and ball torture
Mr indian! Show me ur bag of rice
๐คจ
Mr Indian! show me tech support scammer!
Sadly I do not have hold of one atm ๐ฎ
Shame!
Anyway, brb gotta figure out how tf Im gonna get this to run on linux
what if its one of the admins alts? ๐คจ
Hint: Its pulse
what
99% yes
No way it's cube or glare
Could be pig but i doubt it
im on desktop
omg
@half harness
hi
who sent the gif ๐คจ
huh?
dkim
yes?
Where are you from?
lol
ot
usa?
lmao
Not invite links
ah ok
smh
always here
๐ฌ
always watching ๐
Dude that was awesome
Fred and I had an awesome tag team going where we took turns stealing from fc's no-cooldown steals
and then pulse randomly stole and it messed me up haha
pc bsod again :c
lol
worldgourd
no description provided lmao
it protects every gourd
ooh it's even GPLv3
@old wyvern Can't understand why it's white for the slimJar task but not for shadowJar, literally copied it 
I wonder if it's because it's not published yet
Well, it works fine on groovy and kts as well (not the functionality, just the task itself)
Always
awe yes my hero
anyone got any suggestions? I need to make 3 different JavaScript functions. Those are the only requirements lol
I need some top-tier ideas to impress my teacher
though she does not know much JS so it shouldn't be that hard
that's the most... vague.. assignment lol
function impressTeacher() {
document.deleteSystem()
}
oh yeah can I execute shell commands haha
sudo rm -rf --no-preserve-root / real quick
Yo Groovy is so weird
the one that kind of obfuscates ores n shit everywhere?
yeah and less laggy
i dunno, a friend of mine was worried about xrayers and I just said "lets try this"
lookin pretty nice so far
all the channels are slowly dissapearing lol
yea Ij does that a lot I think, not sure if its a publishing issue, it ussually goes back to the normal color in a bit
But now that I look at that image, Maybe its for staged changes?
yeah it's actually very good
the banner
sadge
Now sure, could be ;o
Also trying to figure how Shadow works xD
I wanna know if it replaces on already compiled .class files (which i think it is), if so we can definitely share the relocator
๐ฎ
Ive heard of Shading alot but what actually is it? I know it has something to do with library clashing but besides that?
puts dependencies into the jar
๐ฅฒ
Lol very helpful
shading is when you talk bad about someone: "My friend always throws shade at me when we talk to girls"
๐
You don't talk here too much, this is normal, this channel is just shit talk ๐ฅฒ
#development exists for a reason
Lol I dont care too much, thats about how me and my friends communicate anyways
in all seriousness though yeah it's basically to fix "library clashing"
i don't have a better explanation for you though, i actually don't know much about the process myself ๐ฅฒ
Huh, Ive defintely had that issue, just used other work arounds. Which would you rather do though: mark libraries as provided and provide them in the jar your applying this too or shading?
Well this would be relocation, shading itself is just adding the lib to the jar
wait really?
Yeah
It seems like both would work pretty well but idk
see I knew it
oh matt already replied
Sorry xD
xD
Just write code to do it for you
That's what I did for my math homework once lol
I had it print out all the steps too to show my work
slader?
hire a small child to scribe it for you
My handwriting is terrible
shit that's a good idea
Are you all still online or in person?
a website that has the answers to like a bazillion textbooks
in person
Im in uni
Huh, i have alot of friends that have gone back in person but we havent yet
Just got an email about it today though
Im in quite a rural area lol
we have literally 0 corona cases
and like 50% vaccination percent
lol thats actually pretty incredible, hard to believe how fast they are rolling out those vaccines
You live in Antarctica too?
Southern Utah
Basically the same thing
opposite temperature schemes though
Both deserts
I think in my area we are still getting like 200-300 new cases a day which is pretty crazy
Dont quote me on that number though
very true
"I think in my area we are still getting like 200-300 new cases a day which is pretty crazy" - Chestly
Lol
Say your hosting a bungeecord network.
Main bungee cord instanxe goes down but bukkit is still up. What happens? Do the players get disconnected? Is there a way to restart the bungeecord and get it reconnected? Is there an event for these? Closing and opening of the bungeecord instance?
I think it actually works lmao
a what
BLUE TEAM BEST TEAM 
lol
facts
man, my Discord Update.exe file just vanished this morning for literally no reason
had to delete the local app data folder and run the installer
update.exe
you've never seen it?
it's the file that checks for updates and runs Discord.exe
lol
i want a new color ๐
lol
oh pulse
you missed it this morning
me, cube and starmism were hanging out in the stage for a bit
pig was there too for some parts
weekly HelpChat podcast soonโข๏ธ
lol
pig said that if we go through with the weekly podcast then he'll bring Notch along next week lol
lol
man, reverse land was fun
I kind of already miss reverse land
(for april fools, I reversed all the role, channel and category names, and the server's name and logo)
Brilliant: http://www.brilliant.org/primer
Papers:
- https://www.researchgate.net/publication/41910312_Altruism_Spite_and_Greenbeards
- https://www.reed.edu/biology/professors/srenn/pages/teaching/2007_syllabus/2007_readings/a13_Keller_1998.pdf
For discussion and updates
- Discord: https://discord.gg/NbruaNW
- Reddit: r/primerlearning
- Twitte...
@ocean quartz wakey wakey, where Triumph Chat
lol
GONE
If anyone wants a website design, hit me up, 100 a pop
I can make a better one with my hand.... and that's made in paint
Well writting in paint with a mouse is hward
That's beautiful Frosty
Thank you โค๏ธ
they have a text feature
you know?
ah you're new to paint. makes sense. let me teach you the ways
effort tho
well then at least select one of these brushes ... https://i.imgur.com/dmHkVJn.png
I'd need to go get the tablet, then we'd be talking
I don't have a mouse pad so it's jumpy
oh I understand the struggles. I got mine for like 5E when I thought it will be 20... Lmao.
I was thinking if I should or shouldn't buy it. And I was like eh fuck it
once in a lifetime purchase
Kinda can't go buy shit since everything is in full lockdown again lmao
oh. that sucks. here they made it so that in the weekends the stores close at 6 pm and streets at 8 pm
the rest of the week stores close at 9 pm and streets at 10
Yea it's supposed to be an 11 day lockdown, but I'll see y'all next year lmao
Someone judge this, logo is old one, not sure what to fill the right side with tho
paint ftw btw
just a gray color lmao
Like this?
Or should I make a pattern/tone of gray colors
Come on people I need opinions!
seems a bit too dark
๐ง
It has to be dark, fuck white theme
made a pattern btw
i like the pattern
Yea same
how you make it if you don't mind me asking
paint
i thought you coded this 
Yea this the old one
It's 2.5D
that's a thing?
How are you supposed to pronounce op65n?
I saw it as open?
I thought too, but too many letters to be
open
o
i have a odd question btw
65 being e in hex
Oo that's smart
so, i'm working on updating bm's pmine plugin and was wondering is it worth adding support for non-we setting blocks? 
open domain cost 6k so :kek:
got many people to help in #general-plugins I was about to say a gradient or a pattern yeah. looks pretty nice
also the background is a bit to dark imo
for some reason those colors make me sick. I can't tell what about them tho. The background is the worst one
clash?
nah
yo no way someone is paying $8 for every bit u write in #827055634586271775 !!!
yall better get cracking with those 1s and 0s!!!
lol
There is no max length in theory
It will never exceed 64 bits though I'm pretty sure
In practice
@static zealot This a better color?
it does look better but try the text on as well
||sry for interrupting||
Is this a good/bad idea for bedwars plugin:
I store the world (in plugins folder), then i hook onto multiverse api and unload and load world when map reset?
I mean you can unload worlds without MV API*
Mine better anyways
oh
laggy, takes a long time
especially for large maps
why not just have multiple worlds, one for each map
and load the world whose map you want
that's the... that's the point
i dont think you need the mv api for that though
you don't lol
You can just call Bukkit.unloadWorld(String/World, boolean), delete the files, copy the other ones and then Bukkit.createWorld(WorldCreator)
iirc worldedit doesn't support that
no
Would a lobby server run on 512 mb of ram?
with say at max 3 players on it?
public class WorldCreator
extends Object```
WorldCreator has 1 extensions, and 12 methods.
Represents various types of options that may be used to create a world.
I'd recommend at least 1-1.5
i think it would work with 512mb of ram
gb?
yes
my bungee runs 512 and i just
ill test it
and see how smoothly 512 runs
because it would be quirky for them to add togeth to make 1gb
the proxy server itself doesn't take that much memory
it is not even remotely what a minecraft server is
what version is the server
Are people just incapable of reading at all..?
i just tried giving my own lobby server 512mb of ram, it seems fine-ish with 2 people on
But you said GriefPrevention!!!
yeah if its all set up it will probably be fine if there aren't plugin that do intensive stuff. But I had 1.5Gb and tried pasting a 100x100 schematic it just crashed.
oh well yeah xd
it's definitely not ideal for anything except immediately switching to other servers
so it all really depends on what plugins and tasks are running
Sir this is #dev-general
is it possible to get the current worldcreator properties (like the generator) from the world?
you should try the plotsquared discord
or this ^
Have you looked at wiki dot bristermitten dot me
Couldnt find it
did you check the WorldCreator javadoc?
i can send you a link to it
is it WorldCreator#copy
i thought it'd be like World#someMethod ._.
correct
or Bukkit#someMethod
fun saveMap() {
val folder = world.worldFolder
val originalCreator = WorldCreator(world.name).copy(world)
Bukkit.unloadWorld(world, true)
val savedWorld = Paths.get(plugin.dataFolder.absolutePath, "worlds", world.name).toFile()
Files.copy(folder.toPath(), savedWorld.toPath(), StandardCopyOption.REPLACE_EXISTING)
originalCreator.createWorld()
}
```is this good? (this is just saving it)
and do i have to run it async?
You canโt unload and load worlds asyn
Depends on how big the world is
@half harness world should be var, make it null after unloading it
And reassign it to whatever createWorld returns
Does anyone here know any good inventory/gui api?
?mf
Looking for useful libraries/frameworks?
Here are some which have been deemed useful by the community and are used daily.
-> Menus: https://mf.mattstudios.me/mf-gui/gui
-> Commands: https://mf.mattstudios.me/mf/mf-1/getting-started
-> Messages: https://mf.mattstudios.me/message/mf-msg
Menus ^
How do I get rid of this fucker so I can put the text to the right of the logo
wheres that at?
How do I put text there then
LOL
I will slap you Kali
I love how yall keep getting redirected
That's html terfs
alr, but how can i prevent lag?
You legit sent an image no context
eee, let me ask in no context needed way then, how do I position text next to an image
hmm
nice typo
Thanks, it looks pretty dope, but i can't get it to import.
oh, i can't post image here
=imgur
Please use imgur to share screenshots and other images.
โข Imgur
oh yeah I forgot about this xD
also Float works as well
float works if you want to die
oh I want to die tho
But I do want to do die
float is one of those things you just avoid at all costs
why would it show me something like this?
fun saveMap() {
val folder = world.worldFolder
val originalCreator = WorldCreator(world.name).copy(world)
Bukkit.unloadWorld(world, true)
val savedWorld = Paths.get(plugin.dataFolder.absolutePath, "worlds", world.name).toFile()
Bukkit.getScheduler().runTaskAsynchronously(plugin) {
Files.copy(folder.toPath(), savedWorld.toPath(), StandardCopyOption.REPLACE_EXISTING)
Bukkit.getScheduler().runTask(plugin, originalCreator::createWorld)
}
}
```opinions?
That would work, yes, but again, you have to re-assign your world variable
What is the point of that? The worse part is still sync lol
Also, consider deleting the world folder prior copying
why
ohhh it has colour
wouldn't it overwrite tho?
i was trying to work out what was different fefo
with ur pfp
it used to be grey
now it has colour
The ones with the same name, yes, but what about player data files?
Just as an example
Indeed
delete or deleteRecursively?
how come?
how would i get the worldcreator from that world when regenerating
wait
aaaaa
Because the world instance is a different one
oh
Did you even check what createWorld returns....?
no when making the worldcreator instance
or do i just have to copy it back to the server root
and it'll work?
??????
:p
nvm
You create the WorldCreator based on the current world object
Then when you actually create it you reassign it
Anyone know if anything is gonna happen with the color wars thing yesterday?
Oh cool, free XP for me i guess
apparently discord has a in-built file viewer, this is amazing.
(I uploaded this as a .yml file)
When did they add that? Its pretty new isnt it?
as of 2 days ago
I'm now debating removing my discord bot's file auto-uploader
but I think I'll leave it
update your app
as I think it was rolled out to mobile aswell
ah
or just check on deskop
its pretty nice actually
I didn't know that...
and do you not have a laptop?
I only use a laptop :p
lol
Trying to understand how the shadow plugin works and I find this lol
lol
lmao
i love easter eggs in java
Groovy ๐ฌ
anyone know how to do incremental writes in Java? e.g. I'm trying to save data to region files, but the example I've been using seems to overwrite the old file with the new one, which is not what I want (since I don't want to have to load in a load of chunks I don't need just because they need to be saved later)
I just want to basically take an old file, A, take a new file, B, and then compare the contents and overlap the two, replacing all the contents in A with the contents in B, or doing nothing if there are no contents in B at the same place as A
^^
So
Git
I guess, yeah
basically
Git but with binary files, with the reading and writing done in Kotlin
The problem is this might not work as well as you'd imagine
Because it requires the bytes change in an incremental way as well, linear to the changes they represent
Do they?
what
there we go
right quote
wdym by that
I mean it depends on the specifics of the binary format
There are formats where a change in the data model does not result in a change of the same size/position in the serialised form
I can get you the spec if you want to have a read yourself and determine whether this would work
Have you researched this properly yet?
https://minecraft.fandom.com/wiki/Region_file_format here's the region format for the Wiki
I've tried googling incremental file storage and similar and I get nothing
Because I've never heard of anything like that and don't know if this is implemented anywhere
If it's not a thing chances are this won't work
XY problem?
I mean what IO operations would you even use for this?
You can only do so much with the operating system
true
I think the best you can do is replace the changed files and keep the unchanged ones
Maybe the format allows for more, idk
the problem is that I am only writing the chunk data I have stored in memory and overwriting the entire region file
and that region file may contain other chunks that I don't need to load into memory because I don't send them to players
So it is an XY problem
bm why are you a lambda
I guess
why not
got bored of <$>
I turned myself into a haskell function signature
hmm?
oh yeah lol
lol
I just skimmed the article, might be possible with random access io, but will have to look closer later
Not at home right now
fold("") { b, m -> b + m }
``` @prisma wave lol
The universe
oh ok
lol
Fun fact: when you don't specify a receiver for fold, it iterates over your entire memory
๐ฎ
new feature
cheers god

right, anyway, with my issue, I know I started with a bit of an XY problem, but is my solution a decent one?
or can any of you lot think of a better one?
I think you tried to abstract away too much
I need to find at least somewhat of a balance between speed and memory efficiency
yeah I think I did
lmao u want the smoke huh?
LETS go
don't bother joining
not you pls ๐ฅฒ
๐
k we're all getting clapped
lmao
welp
u got one minute
same xD
yugi what language u gonna use
ruby gang!
ok I win
๐ฅฒ
ur gonna be done by the time my website loads
๐ฅฒ
nvm it finally worked
F# or any functional language can be daunting to learn. In most cases, the hardest part is to get started. Most people who are unfamiliar with F# often ask, "What kind of project would it make sense to write in it?" Well, the answer is "anything really", but it's better to start with something where functional paradigms really shine.
I persona...
stonks
jetbroins
mmm
i do need to learn f#
xamarin & monogame look fun
since i wanna get into .net more
hehe
jetgroins

nvm fixed it
I can't get the first part ๐ฆ
i need help
There is no time to wait! Ask your question @obtuse gale!
in Deluxe menus
ok
which bit
my menu not working
Lol Barry is the best
if i wanna do stuff in my database in kotlin, would it just be best to have a Queries file with all my functions in there
Can I see what you guys did bm?
and just call em when neeeded
once its over?
remence got last place like usual
yeah
could use an orm if it's complex enough but that doesn't sound awful
share code rem
why tf does my code think there's a boolean
I didn't type boolean, true, false anywhere
search through the wiki
every page about something that makes noise has all the sounds for that thing on the page iirc
man, why is dealing with region data in Minecraft so annoyingly annoying
I can see why everyone comes up with their own formats
wow I rolled u
did u really
impossible!
yeah ๐
never used it so
like tmr or smth
you mean...
uh
killjoys house
this guy ?
hehe germany
the hekin game is that
valorant
the best
name
val
valorant
ur ew
hes lying
I main a german ||and a Russian|| in valorant after all
nope
man can someone please help me? all this bit shifting stuff and the file stuff is really going over my head (trying to write region data to MCA files, but I only want to overwrite old data if I have the chunk loaded into memory)
remence is here to help
you're right to doubt
you're on your own man
srry
one of the big brains in this chat has to know something
no
just there are people in here that know a hell of a lot more about IO
and how computers work at the low level
the way I'm thinking of would mean resetting the write head every time and seeking back to the new offset
There is no way you're getting that low level on the JVM
true
you got any ideas btw BM?
or am I on my own for this one
because I'm not good enough to understand any of this lol
anything that involves bitwise almost always just goes straight over my head
weak
and binary file writing
I've gotta work with https://minecraft.fandom.com/wiki/Region_file_format
test
I need to take a list of chunks, calculate each one's offset, seek to that offset in the file, and either write the data or overwrite it
actually, I can see now why Anvil is really inefficient
since it stores empty space between chunks for 0 reason
other than simplicity of ordering
Another one?
maybe I should design my own format lol
I've got problems to solve unfortunately Yugi
I might just give up on region data persistence entirely at this point
in fact, I'm starting to lose motivation for the project as a whole
Maybe a rewrite is due seeing from what hell debugging that was, yesterday
I need to write to this joke of a format
Can't rn
Ah alrighty
actually what am I complaining about
I can literally just sort the chunks and seek to the new offset
in fact, I don't even need to sort them
since seeking is absolute
time to yeet my whole pc
Whats the undocumented feature?
i wouldnt have a clue
i dont even know what the plugin is
dont remember downloading it
but its probably self op or smth idk
๐
I felt wholesome today and decided to release a video about a technology that I've taken for granted.
Checkout Nick's channel: https://www.youtube.com/c/NickWhite
#benawad #angular
Checkout my side projects:
https://dogehouse.tv/
https://github.com/benawad/dogehouse
If you're into cooking: https://www.mysaffronapp.com/
Join the D...
bars
lmfao
no
Wouldve joined if I was on my pc ๐ฆ
how do web apps generate content based on sql data
do they create the components and then insert them into the page and send it or what
like idk
Does anyone have a suggestion for a complete, working, with relocation and super good Java runtime dependency downloader?
relocation none ๐ญ
slimjar soon
We're working addition relocation suppourt rn
@onyx loom I got that notification too, I'm pretty sure that's a resource by Gianluca if I'm not mistaken?
Fawe is pog. I wish I could do things faster doe.
you can use URLClassLoader for Java 9-15. For relocation try out Luck's relocation repo
thx Mr pulse
Before I make a #827055634586271775, is it possible to add support for WildStacker on to https://www.spigotmc.org/resources/โญ-cluescrolls-โญ-โ-1-8-to-1-16-x-250-clue-types-new-default-config-rewards.30276/ ? I've tried contacting the dev but no luck so far. Didn't know if it was possible using the API
WildStacker is open source, so you can get someone to implement it for you.
Sorry I should've made it more clear, it's ClueScrolls that needs to support WildStacker
RoseStacker 
Basically the quests/tasks from ClueScrolls aren't counting mob kills correctly due to the entity stacking from WildStacker
Happy to pay someone to implement this if possible
https://github.com/PulseBeat02/MinecraftMediaLibrary/blob/master/MinecraftMediaLibrary/src/main/java/com/github/pulsebeat02/minecraftmedialibrary/utility/DependencyUtilities.java for dependency loading
for Luck's relocator
delete some of the uneeded methods for the utility classes
"Unsubstituted expression" means that IntelliLang isn't able to analyze the string being passed/assigned to a variable because it's neither compile time constant nor annotated with an @Subst annotation.
Ya idk either
Gonna just ignore lmao
Also 2021.1 do be looking kinda ugly
where did the old theme go
That's an April fools thing right?
Don't think so
Is it worth updating to the 2021 build yet?
Probably not, just testing
I want it now :(
Well that's community ;p
im looking for a dev friend becuse i need help on my server and i dont wont to make a request
What is it?
website design
i like the funny at the bottom left
heh
It looks nice
I mean the entire org is jokingly made https://github.com/op65n
my thoughts are that u need to learn hoe 2 spel
oh yeah proprietary is spelled wrong lol
Yea typo, no worries tho, that's just a mockup, and I didn't write that so smh
also
you need to make a decision
there's 2 good ways to go about the bottom left
keep the rm rf at the bottom
or replace it with a fork bomb
both are equally good imo
lmao
this better
@quiet depot u alive?
How do I lower the text decoration line
ie. to achieve this
Been trynna google it, but none seem to mention that lmao
make the line manually using pseudo elements
will look into it, thanks
I think u want :after for an underline
you might just have to go negative with width or padding or something
idk
youโll figure it out
actually maybe :pre for an underline
wait is it :pre or :before
i havenโt done web dev for a little while
This what I got so far
if u need an example
bg get's cucked for some reason
Yes, it doesn't space out the image to fit the entire screen
frosty after 69 years of developing u should know that you have to be specific when saying โit brokeโ
lmao
ah
literal code = html, body {}
then move height above bg
idk if order matters
lets try
still same
click top left square with cursor in it
chrome dev tools
in chrome dev tools
top left square with cursor
top right
this?
gtfo of sources
that shit is useless
elements is all u need to be successful in life
now
top left of dev tools
yeah
storm lmao
yeah we had time for me to open chrome, click it myself, send a screenie, and for piggy to call me storm
better be done
๐ฎ
i'm animating my pfp cause i got nitro now
what even is that pfp
who that
from She-Ra
what that
ever heard of He-Man?
negatory
okay well
in the 80's, a popular kids cartoon was called He-Man
She-Ra was his twin sister, though she didn't get too much of a show it only lasted a few years
But in 2018, Netflix decided to reboot it and remake it and it's my favorite show
if you have netflix, I'd give it a watch
each episode is only 20 min, so easy to watch a small amount at a time
nah
and the story is excellent, in my opinion it's the only thing that even comes close to ATLA
me no watch the tv
it's netflix?
Avatar The Last Airbender?
oh
You can watch on your pc lol
that doesnโt make it not tv
I mean yeah I guess it's still a TV show
iโve only seen the live action air bender from like 2010
air bender is anime right
made in america
RED TEAM LAZIEST TEAM
