#dev-general
1 messages ยท Page 406 of 1
Then i ahve to go to the trouble of clearing old versions that I have?
Whats better when you barel have time?
Not handle that
Program Files -> Java -> right click -> delete
Im just gonna ignore this chat now
Theres like 2 switch expressions
Already changed it btw
Aight frost, Ill have a look in a bit
I mean Yugi, technically you wouldn't even need that, you could send an API request, and get the values back from the java part :p
It'd be kek, but it would work
Wouldnt it be pretty slow tho?
Not actually sure, with proper optimizations doubt it'd be that slow
cool cool
See if you can render 500 in distance btw, cause that'd be ideal so it's seamless
are you coding like a game from scratch in java or somethin?
Sure frost
Clojure F# interop ๐ฎ
500 is probably useless tho
๐ฎ
I mean just enough so you can see it in high scale
well what's it for
terrain generation renderer
Yea sure
oh so like it shows a render of minecraft terrain or something?
It's a terrain generator plugin Star..
for whatever you want
What do you think Star..
bro I don't fucking know okay I just wanted to show interest in your projects ๐ญ
For generating terrain
for???
are you making the next EWG?
are you making your own game?
you must be making this for a reason, to use in something else, no?
ah okay see, finally someone's talking some sense!
you must be making this for a reason, to use in something else, no?
Not really lol, I mean it'll be OS for people to use, not making it for me specifically to use it anywhere tho
ooh yeah that'd be cool
Now the player is moon jumping
xD
Like legit, lacunarity, persistence, I'm just typing random numbers
oh god
are you guys working on gravity
@jovial warren pls try implement something for gravity in krypton that'd be very useful
if it's possible
I don't think it is but still try
for a different thing piggy
game demo for tommorrows class
Forgot to prepare for it earlier
o
So now finding random models and scripts and throwing shit together
lmao what gravity change in minecraft? now that'd be sick
star I don't think it's even possible
you can have a pseudo gravity change via potion effects, but it's really eh
I don't know
Like break speed was changed in minestom's initial test
It should
Breaking stone like dirt
last time I tried controlling gravity via velocity there was major issues
for starters you couldn't strafe at all
that may have been due to my implementation but idk
and it also didn't work well with high latency
extreme rubber banding
Chickens that walk through stone to get you coz the generated path was through the terrain for some reason xD
Yugi, that's just changing the blocks property
if you guys do figure out the gravity mystery please let me know
aight
ngl, I kinda wanna write everything in C# now :p
I mean it'd probably see more use
If nothing works, set flight mode on and just handle velocity by hand
I doubt many game devs use Java nowadays
You'll still need to handle meshes even in Unity if you want that rendering to be performant
hey besides the absolutely horrendous bracket semantics, C# is kinda nice
Well yea, but java for rendering seems to be an actual pain
yeah you're basically getting the C experience of using raw OpenGL, no?
You could complain about any C# conventions and you choose the brackets?
yes I have a physical reaction to those brackets
what else is wrong with it? lol
๐
besides capitalizing everything haha
i mean
They are mentioning the casing
pretty much every c# naming convention
Yea
They use the I prefix for interfaces too ๐คข
ah yea okay naming and brackets, anything else?
well no the language itself is fine for the most part I believe
just garbage conventions
oh yeah
I mean in that route, Go's naming conventions determine the exported functions
But that's good because you have to encapsulate things if you want to use the good naming convention
eh
But you also end up using the "evil capitalized" versions when using anything from separate modules
true
C#'s implies the difference between fields and methods
touchรฉ
java gets around that by only allowing you to access anything with methods ๐
lol
I mean here you too have something close enough to that, you define properties instead of getters and setters to expose the fields
Setters ๐คข
mutability good
avoids redeclaration and stupidly high memory usage
admins we have a troll
Thats a getter only
you know today is the last day of the Spring break
๐ฅฒ
yikes my spring break was like 3 weeks ago mate
lol
im knee deep in the grind
just generated 100 million random numbers to check that they were, in fact, actually random
man I've got 6 weeks of pure torture starting tomorrow
please tell me you didn't check that manually
also, they're pseudorandom, not random
random number generators are pure functions ๐
no I exported a comma separated list of every number and how many times it was chosen
and yeah I know its pseudorandom but 99% of people don't care about the difference because it's quite hard to make random functions in programming languages
are they actually?
also, define "pure"
Technically yes
Takes input, produces output, No side-effects
If you have a seed and the number of invocations then it's pure
mhm
well yeah if you have a random with the same seed and you do the same series of events to it, it'll give you the same numbers
that's pretty pure to me
define "side effects"
changes in state
IO or state
oh of course
are you not familiar with the haskell stuff?
Some mutation that might affect any future actions
so then how does fp do io
no, I program in superior OOP languages
Monads
The M word
actually that's just haskell
The majority of languages don't care if your functions are pure or not
Yea, most fp languages arent purely functional
Haskell is
and in languages like Elm, IO is not needed
so yea
OOP > FP
yeah did you see that video of the chart of Useless and Useful and OOP and Functional languages?
Yea
Its starting from a useless point
now all we need to do is bring those two categories closer and closer together...
okay what
Haskell is useless but safe, java is useful but unsafe. Haskell is maintaining safety but becoming more useful, imperative languages are trying to become more safe
Normal languges start at "Useful and Unsafe" and move towards "Useful and safe", Haskell moves from "Useless but Safe" to "Useful and Safe"
Elm builds web apps
surely you still need to access files
MVVM?
Model, View, View Model
surely you need some non-safety to do useful stuff?
It provides a way with Commands or something
ah right, that makes sense
Havent looked into it enough to comment on that
Which is when you bring in abstractions like monads
im not gonna lie I have no idea what a monad is
I just hear you talk about it a lot
what does it do
data Maybe T = Just T or Nothing
This guy explains it really well
Cross posted from msdn's channel 9.
Functional programming is increasing in popularity these days given the inherent problems with shared mutable state that is rife in the imperative world. As we march on to a world of multi and many-core chipsets, software engineering must evolve to better equip software engineers with the tools to exploit the...
Its basically just something that obeys 2 properties
Oh god what is that
I dislike the amount of mathematical things written on that whiteboard
Take a watch
lol
That is a monad but not every monad is that
IO is a monad, Lists are monads, java optionals and CompletableFutures are monads
In functional programming, a monad is an abstraction that allows structuring programs generically. there's your definition
that came from Wikipedia
That definition wont help you understand what is actually is
nullable types from kotlin are technically monads I think
ยธYes
A future that can be completed 
Doesnt have to be
it is a future that may be explicitly completed
okay you guys are very unhelpful
it doesn't have to be async
Doesnt have to be
*
a future represents the result of an asynchronous computation
that's all you need to know
well not really
Its doesnt have to be asynchronous
I would also like to know in what cases you would use it
It's a concurrency pattern
d;Future
public interface Future```
Future has 3 sub interfaces, 7 implementing classes, and 4 methods.
A Future represents the result of an asynchronous computation. Methods are provided to check if the computation is complete, to wait for its completion, and to retrieve the result of the computation. The result can only be retrieved using method get when the computation has completed, blocking if necessary until it is ready. Cancellation is performed by the cancel method. Additional methods are provided to determine if the task completed normally or was cancelled. Once a computation has completed, the computation cannot be cancelled. If you would like to use a Future for the sake of cancellability but not provide a usable result, you can declare types of the form Future<?> and return null as a result of the underlying task.
Sample Usage (Note that the following classes are all made-up.)
To avoid blocking
You are just defining a set of computations to be handled in an order, whether it happens synchonously or asynchronously is not concerning to the usage
wow Bardy very unhelpful
An IO represents the result of an IO computation ๐ฎ ๐ ๐ค
jesus christ okay maybe I should just look up some examples myself
basically, CompletableFutures allow you to instruct the computer to do something asynchronously and then call back to it when it's done
that's about all you need to know
I am reading Baeldung, all is good
And.... we have guns that dont work
completable futures employ Java's notorious callback hell into something that kinda makes sense
i dont think java is notorious for callback hell
that's more of a js thing
anyway it's a monad because it defines the 2 monadic operations: unit (CompleteableFuture.completedFuture) and bind (CompletableFuture#thenCompose)
unit turns a normal value into a monadic value, bind combines 2 monadic values
ez
one has a . and the other has a #
ah right
There was also something about associativity bm
o
f o (g o h) = (f o g) o h's equivalent must satisfy
o being composition?
yes
the composition refering to the monadic composition here
which is why I said its equivalent
i.e >>= ?
Yes
ic
g o h f o g
fog
maybe CF isnt technically a monad then idk
i cant even think of a good example of that rule to test lmao
Needless to say, the programmers who designed the Java library are among the most gifted on the planet
straight out of my textbook, nice
it's talking about the standard String hashcode function
and how poorly it was implemented in java 1.1 or something lol
lmao
You guys have defined textbooks star?
oh yeah we have a textbook per class
luckily, being comp sci majors, most of us know ways to get pdf's for free lmao
lol
hate to be a grammar police (who am i kidding i love it) but comp sci majors, most of us know ways to get pdf who owns 'for' free lmao
I actually think that's something that should change in English
using an apostrophe for plurals is quite useful in distinguishing the word from the s
and, in fact, it's recommended in many places if you're using lowercase letters or words that aren't common words, such as pdf
bro it took like 30 pages to finally mention linked chain hash tables as opposed to linear probing lmao
i hate it here
huh
it took forever to stop talking about linear probing, which sucks
@quiet depot So regarding the issue I had yesterday, Gazelle is relocating hikari, and then I relocate Gazelle, will that not relocate hikari as well?
that wasn't the issue
you need to not relocate hikari in gazelle
you shouldn't be uploading the fat jar onto maven
fast boyo, is what I've heard
pub struct
hot
Immutable pointers ๐คค
Anyhow, that should allow for a lot of supported platforms down the line right?
yes rust Can compile to everything
I'll manage, in no rush so
๐
yeah cause everything like knows who owns it or something right? so it can do garbage collection like super lightly
it doesn't have garbage collection
But yeah you have lifetimes and ownership and borrowing and stuff
So all the memory management is done at compile time
yeah yeah the garbage collects itself whatever
very smart tho
also what the fuck does this mean
20.2 What is the appropriate probing table size if the number of items in
the hash table is 10?```
what's a probing table
no idea
if its talking about linear probing, it uses the hashmap array surely?
okay well luckily this is due on friday so I can ask someone about it cause im big confuzzled
what's mineacademy
oh no
Don't worry about it
:cries_in_spigot_language:
oh boy
Disgusting
yeah i really don't like it
^^
the one thing jetbrains has done wrong ๐ฅฒ
Ultimate is no better
yeah I know xD
why does it take ages to start tho? I feel like 2020.3 was loading way faster.
Yea some things have gotten a tad slower
hard drive
someone said they noticed performance gains
oh yikes hard drive is probably just always gonna be slow
hmm idk about other stuff but loading time seems to be taking a bit longer
maybe the new file is differently located or something lol
ugh.. I just said 2020.3 was faster
maybe idk
e
I mean its not that bad, It doesn't take 2 hours just like maybe a few seconds longer
oh community edition got this too? https://i.imgur.com/fOUmrTy.png
well yeah you gotta pay for it afaik
community edition
oh nvm I thought its something else
you utter plebian
yeah wait blitz are you not a student
no
oldie blitz? dang
nah. I just failed my math exams so I couldn't go to college where I wanted
oof
I'm trying again next year dw.
why are you calling it college blitz?
awe nice
i thought you called it uni over there
idk
yeah wait college is american pseak
we do call it uni
college usually refers to sixth form here
i just convert my language to uni to be cool
americans called it college or uni
altho many posh universities call themselves colleges
usually college
like imperial college london
americans are like 99% college
probably to appeal to rich americans
Isn't there technically a difference between college and uni
all of oxbridge call their places 'colleges' here
In usa i mean
college is where u do a levels, uni is where u do degrees ๐
johnny I always considered colleges as a place where you can get a certificate or a diploma, but not a degree
This is what I was talking about. Turns out now I have this too? https://i.imgur.com/7QrXrLY.png
idk if that's a real definition tho
piggy thats how it should be
but as with most things in this language
america fucked it up
that's how it is down under
although we don't call it college, we have something called tafe
some high schools call themselves a college
down under is where everyone in the UK immigrates to
hehe
yeah the poms that get sick of your weather come down here
college is a catch-all word for place you get a degree after high school, university is usually used to distinguish a 4-year higher-level college from a community college
like, a lot of my family have immigrated to australia
its annoying
they all sound stupid now
hmm I know a few prisoners who did that too ๐ค
kiwi accent > 'stralian accent
bruh
kiwi accent?
new zealand
Ok this is pretty much the distinction we have in Germany as well. We have FHS and uni, FHS is usually a bit more like school, less theoretical and you can't get a master's degree afaik
new zealand frusty
well germany's education system is like 500 years old
so shhh
angela merkel is immortal, mind
oh that's not really what I consider it here in 'murica between colleges and universities
when germany starts being the most powerful country in europe ๐ณ
Win what, next cdu chair or what
lmao iwanio
ze mountain vill vin, ja?
nein
idk grammatical gender is a piece of shit
Neither, i hope? Lol
ya know, the french anti-semetic
no
Marine le pen you mean
Marine le pen yeah
oui
but like in spanish it's not that hard
was that a "yes" or an "oi what'd you say"
yes
it was a yes
awe nice
je parles franรงais
its funny when im in france and im like
je voudrais... uhhhh.... une... croissant?
I have at least some hope left that there won't be a cxu chancellor so I won't answer that question
yeah well its better centre-right than far right, no?
@static zealot when you say it takes ages to load
do you mean it takes ages to load a project, or for ij to get past that ugly screen
when I open it
nah just past the ugly screen
and not ages just a few seconds
more
hehe german politicks
I don't see any difference
It takes long to load projects usually for me anyways lmao so can't say I notice a difference there
oh I never seen that
oh fuck
ive been using IJ for less than you and I've seen that a couple months ago 
i have to update material theme
u either have independence, more worker's rights, or racism
those be your options
yay
democracy
idk
but its funny
no u don't. unless you wanna pay xD
maybe they just added it to community edition? IDK. I don't remember ever seeing that anyways
oh
awe shit I love that
makes it way faster
theres code with me license?
just use Monokai.sublime-color-scheme piggy
yes you can buy it separately if you have community edition
simples
but you get it for free as student boi
huh?
๐
just open any jetbrains ide wtf
wtf
i prefer sublime text to fuckin' DrRacket ngl
jetbrains isn't an alternative to sublime text
sublime is nice but I ain't paying for it
it is for coding?
jetbrains notepad
/s
I did replace notepad+ with it tho
well so is vsc
you can also code in it?
and people defo code with vsc
same as vscode
imagine not coding haskell in sublime smh
I mean I've made websites in VSCode
intellij is extremely bloated
"integrated" development environment
I presume they're similar
websites don't need an ide
I mean you need most of the features of an IDE
bloated is an illegal
node.js instance, linting, code completion
u can get that in a text editor
yeah I know I did it
for javascript, vsc is basically ur best bet
im saying that you can do a lot of IDE stuff in vscode lol
nah bro webstorm
vsc was written in js iirc
Intellijs bloat is no problem as long as you can spare 8 gb of ram
it fucking wasnt
johnny there's a bit of a speed difference too
sublime will open instantly and can edit files with millions of lines
intellij simply can't do that
are you guys dissing on intellij?
yes
wtf
we are
My comment was obviously ironic
sublime is a text editor tho
piggy wot are you talkin about
so is emacs, and vim, frosty
ij can handle anything
they are still usable
Because I currently can't run intellij
false
wat
Not properly anyways
and the small speed difference is a small price to pay for amazing linting and code completion
but you don't need amazing when you're editing a text file, or making a little site, or editing some json
an ide is overkill for all of those
that's where sublime comes in
Star please don't be a troll. I hate trolls.
That's where emacs comes in 
yeah you use vim for that
im confused wdym
oh I mean I guess
I tried sublime, didn't really vibe with me
especially the whole paid thing
sublime is infinite free trial like winrar
VSCode being FOSS makes it like 10x better fo rme
um
Bruh
@stuck harbor i used to have a sublime license a couple years back
what does a license do?
thats like once every month
just stops the popup you get like every 100th file save saying "Hey, this is actually a premium product, please consider buying it"
and the thing at the top saying UNLICENSED
so ur getting a license to change a word and a popup that rarely occurs
iwanio don't buy a license actually
yeah that always made me uncomfy
sublime text 4 is right around the corner
oh fun
if you're going to buy a license wait for that
how should i make bedwars diamond & emerald gen tiers
since I can't test it and see in hypixel :c
timer?
well yeah i mean like what time should it be
theres no info online either (at least what i could find)
im sure there's a list of hypickle times
ok
i dont want to make a forum just for that ๐ซ
ive googled
a lot
ive been in some priv games but the person always got bored and left or killed me & broke my bed
time and multiplier
the "2:00 until diamond II"
๐
um
ok
lmao
C mitten ;-;
hello
efe dies
C mitten (not really)
so its a yes
doesn't discord have that automatic paste format thingy?
imma try it
by pasting an obnoxious amount of f# in
get ridy
it knows you efe
hmm i recognise that code
i do
pretty much
lmao
drracket big clunky
thats why i dont use that
no star
i did the f# file as a .fs
what update
should i just not make a tier 2+ gens
nah you definitely want those gens to tier up
otherwise resources are big scarce the whole game
wat?
what should i make the times?
i mean kotlin is how you write apps on android phones
go join a hypickle game and see for yourself
i die before i get a chance
and i dont have mvp++
i meant
eh
i die before the gens tier up
Bridge yourself to victory dkim
just dont die
also if the other person leaves then game over
so if they die
game over
efe: wants to do Android
Yugi:
https://c.tenor.com/vBgUkBaRKbwAAAAM/shinegifs.gif
You're better off using a game engine for game developement
The android api is annoying by itself
what game engines are there for android lol
anyone have mvp++ in hypixel ๐ฅบ
star this guide is fucking fat
yeah it was the first thing I clicked on when i googled "android game development kotlin"
Most game engines have an option to target Android
For eg: Unity
cube does I think
cube is only mvp
:c
rip
yeah
not mvp++
also
terfs
is mvp++
lol
he never plays bw
so i doubt he'll do it
oh
conclure also has it
but hes never active
maybe you scared him away
anyways ill just bump this in case someone comes along with mvp++ lol
ok
@obtuse gale Lp's discord sounds like a fun place lmao, just saw this
https://cdn.discordapp.com/attachments/423614864477650945/830558087706050580/Screenshot_20210410-054614.jpg
Lol yeah p awesome
Is lunar client that good? I've seen a lot of people use it but idk if I want to trust another minecraft client other than the normal one.
be gone with clients
I would love FPS boost tho. Bcz I get like 5-25 with just minecraft discord and maybe browser sometimes opened
HMM this definitely sold it for me tho https://i.imgur.com/kI8Cfq0.png
lmao
what happened to squidhq
yeah because it was really popular at one point
Get fabric and install sodium 
yeah I never heard of it until you asked about it few weeks ago I think. Seems like there's absolutely nothing about it on google
I remember back in it's day it being recommended everywhere
so many forum signatures containing it
tf is sodium?
client mod for performance
FUUCKKKKKK
Like optifine?
yeah
no ty
oh
#beastpcgang
xD
turns out I don't have safe search on.......
You dont use shaders piggy?
the fabric coalition of optimization mods are very good, much better than optifine
Better than optifine for performance but lacks better graphics options like better grass, clear water, shaders, etc
not actively yugi
sadly, there's no fabric plugin for GLSL shaders besides optifabric
I use optifine
ah
I only use shaders when doing stuff that needs shaders
like looking at a map
or taking pics
oh ok
I like my world to be pretty most of the time
unless im doing like bedwars, having shaders makes everything look 10x more awesome
I bought the shaders & resource pack from https://continuum.graphics
I searched SquidHQ and filtered by posted last month ....
I just turn it on and off when I get bored
you got continuum? lmao
๐ฅฒ
Sildur's Vibrant gang
continuum looks the best out of all of them
although I haven't actually heard of that one
Great otherwise
you've never heard of sildur's vibrant?
If I didn't use optifine I'd have like 5-10 frames at most
yeah
star to be specific I bought continuum 2.0 or something
not the subscription continuum
Its glitchy pig
it's like the best shaders out there nowadays afaik
SEUS big heavy and not look that good
lm,ao
That works fine
I like BSL shaders to play, doesn't tank the fps and isn't blinding bright like others
yeah continuum is beta
ah
Also since when do people dm you for -1ing on their showcase? xD
BSL looks aight
only thing I don't like about continuum is how gloomy it can be
Some guy messages me asking me for reasons or something
just less flare and stuff
Some people do
continuum works great for rainy days
I'm personally addicted to the light effects of Sildurs
I guess they either want a reason or they want feedback
and yeah the rain in sildurs fucking slaps bro
lol
Was it the dark but cool guy Yugi?
I use a 256 faithful thing
usually
but I have a 2k pack for special occasions (stratum)
so Matt you saying that Fabric + Sodium is better than Optifine ?
For performance yes
oh yeah
if you get the gauntlet of Fabric bois, you'll get like 3x more fps than optifine
it's like forge
fabric is like forge
Fabric is like forge but better
but fabric
Ic
dark but cool?
No It was belt or something
Lemme check
DBC usually asks as well but he pings in #off-topic I think more often
awe nice i have dm's off for this exact reason
Should I start making paint art again? So you can get some actually good content in #showcase ? xD
Do it blitz!!
Ah, the one i mentioned was talking about how he gets a lot of hate in showcase cuz he gets a lot of -1
I tried Paint 3D the other day. Made a cool logo for Krypton that I never got my money back for
ah rip xD
๐ฅฒ
I'm stil lwaiting for my 30$ from BBG
๐
this is the thing I made
@jovial warren
xD
lol cube was making something in paint 3d the other day too
he streamed it on discord
oh yeah it was superb
it reminds me of Blitz' current pfp
has the same kinda vibe
lmaoo
lol
https://wiki.helpch.at/piggys-barn/java/hot-swapping okie dokie rewrote the hotswapping guide
Oh wow
and to whoever was asking how to make gradle put the jar in the plugins folder, check the cheat sheet
woaaaaaaaaah i just went into terminal tab-
the font
is so
s p a c e d
how do i fix this?
Pig, set it as ?hotswap
=faq
=faq <key>
=faq <add/edit> <key> <message>
=faq delete <key>
=faq raw <key>
=faq list
?<faq key>
=faq add hotswap https://wiki.helpch.at/piggys-barn/java/hot-swapping
@quiet depot, Added hotswap to the faq.
?hotswap
settings, preference somewhere in there
The fuck causes a LinkageError?
yes hello the lads i would delete this video but its got 90k views so I can't really anyway subscribe to my main channel and here please that would be very kind
d;linkageerror
public class LinkageError
extends Error```
LinkageError has 1 extensions, 1 methods, 1 all implementations, and 8 sub classes.
Subclasses of LinkageError indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.
did u delete a class mid compilation or something
Nope
since when was linking even the term used to describe that in Java
smh I did all that hard work for free?
linking errors occur when the compiler has trouble linking your dependencies with your project
Hello
HI
Hello dkim19375
hi donald
@half harness I think you can do it from here: https://i.imgur.com/om6tFfK.png
Hello PiggyPiglet
oh thx
i was looking for terminal
What brings you to do this bueatiful day in America
Ah nice you now specified the debug mode
On your last one you just said shift + f9
And since i have my keybidings different dumb me run it normally and wondered why jt wasn't working at first lmao
hmm actually wait 1 sec
default theme ๐คข
ยธ??
ah ok
@ocean quartz let me know if anything is off
Frosty is secretly using the C linker in his java code
I haven't actually read this thing once
oh u want copy
Sure thing, I'll get on pc and read it a bit better
ยธAny clue?
no
frosty you didn't even paste the error
That's the entire thing Piggy
If you're using Eclipse or NetBeans, then I simply recommend switching to IntelliJ. nice
did you say that?
or someone else
I use eclipse
nah that's in piggy's fresh guide
oh
really?
Yes
but i have also repeated those wise words many a time
I use Netbeans
be gone
I use Intellij
approval rates ๐

I use vim
๐๐๐
ยธIt gives a linkage error for anything I try to run
shadowJar {
doLast {
copy {
from "build/libs/yourjar.jar"
into "server/plugins"
}
}
}```
@half harness
should work
untested
idk yugi
๐ฅ
sounds like effort
lol
show class
wait wtf? Where's the mods directory now? Wasn't it always in .minecraft ?
or do I have to create it myself now
"anything I try to run", meaning the class has no effect on this
have you ran fabric yet
frosty have u cleaned ur build dir
oh I need to open the game using it at least once?
yes
Yes Piggy
you always need to do that
ah I see