#dev-general
1 messages ยท Page 443 of 1
look at that staircase
ikr
lmao
๐
why no screenshots :(
Arrow code ๐ณ
0:13 is just great
can some one help me
can some one help me
if its plugin related, #general-plugins, development related #development
damnit its one of those
can some one help me
ok cool
.
can some one help me
Awesome
can some one help me
Stupid bot
No
not helping u now ๐ฅฒ
can some one help me
We can't
why
:bruh:
lmao
:fuck:
@old wyvern what are the flags on your partitions?
You are not providing any kind of information for us to help
๐ฅณ
wat
If you want help, provide details
Lmao
oof
Why does this happen so often
because minecraft
public servers ๐ฉ
99% 10 year olds
Like those asking for someone's phone number to verify their discord acc
lmao
Like wtf why this server in particular
targeted malice
HELLO
hello ๐
i am currently working on PDM
u sure about that
kinda
๐
explain "kinda"
?
.
Sure but why would anyone give their phone number to a complete internet stranger
"Hi I need your phone number" "ok"
> Task :plugin:compileKotlin
Could not connect to kotlin daemon. Using fallback strategy.
Compilation with Kotlin compile daemon was not successful
java.lang.Exception: Unknown or invalid session 1
```uh
bad pc
Do someone knows how to send a "remove objective" packet to the player? It is related to this issue in viarewind => https://github.com/ViaVersion/ViaRewind/issues/307 thanks
u can use protocollib to send packets
they are translated packets
converted to 1.7.10 from 1.8.9
for some reason the scoreboard is not being properly cleared when changing worlds thus causing an exception on the client
No thank you
anyone want to come on my test server to test ๐ฅบ
ill dm
1.8.8 ๐
who wouldve guessed
-_-
take a wild guess
eww
hardly
let me have a 1.16 server, but then not be able to use 1.16 features unless i want it to be scuffed for people not on native versions
sure, u allow the connections for lower versions, but whats the point
u wot
๐ฅฒ
kaliber
jump on my dic
did we duel before?
o
no
I'm still here
what
lol are you typing random shit and deleting
and doing that thing
lmao
so it looks like you are typing forever
No, I'm writing an essay for Piggy and Matt on why SFINAE makes C++ templates so godly above Java generics
I mean i agree that C++ templates are better than Java's generics
Because I recall Piggy saying that "If they are so good you are not making it look any more worth it than generics"
I view them as doing everything generics does but more
Similar to most of Kotlin features
type erasure bad
Type erasure very bad
I mean, reification is nice
Fefo does C++ also erase types?
Bardy have you seen how Kotlin's reified type work? It's a super dumb hack
It does but you will never encounter any issues with it
Because it doesn't work like generics
shows Kotlin bytecode for a class with reified types
A class template is not a class, it is a template for making a class
god forgive me im about to say the H-word
hydrogen bomb
Intrinsics.reifiedOperationMarker(4, "T"); lol
Basically it has a helper class with a map (not sure if a map but something like it) with a placeholder name and the variable type lmao
The compiler actually takes the instantiated template and actually writes for you a whole class for that type from the template
everything in Kotlin is a hack
lombok ver 2
"technically" lmao
so basically Lombok++
Well i wouldn't call everything a hack but some feature are
the way half of the things in Kotlin are implemented in bytecode are awful
e.g. if you don't explicitly specify that a member of the companion object should be exposed as a field, Kotlin generates a getter for it
But they are actually pretty cleaver though
e.g. getFIELD
I'm curious to see the new compiler and how much it changes
lol thats why i only use kotlin for test cases
along with few other things
also, internal is the biggest hack I've seen in a while
lmao
Ikr internal is horrible
what is this supposed to mean
e.g. I have an internal build function in krypton-api and it generates as build$krypton_api
They describe it as "to discourage from usage in java"
i dont want to spend a lot of time writing my test cases. I want them to be concise, test code easily without all the broilerplate
ehhh
when I looked at it, I immediately shoved @JvmSynthetic on it and all of its overrides because I thought it was that ugly and I didn't want it to be exposed to Java
imagine
It is yeah
I wonder how Kotlin achieves inlining
isn't inlining a compiler optimisation actually anyway?
Wdym?
i dont think the java compiler does that. maybe kotlin but not sure
Kotlin compiles to jvm byecode which then compiled to android runtime bytecode
also, one thing I did find interesting when searching through the JDK was @HotSpotIntrinsicCandidate
Which is pretty much native code
wtf is that
@quiet depot inb4:
I recall Piggy saying that "If they are so good you are not making it look any more worth it than generics"
I found out one of the many things why C++ templates are oh so superior over Java generics (besides variadic ("varargs") templates and template meta-programming, template specialization and many, many other things)
template<class Func>
class Receiver {
public:
Receiver(Func &delegate) : delegate_(delegate) { }
UpdateMessage operator ()(double value) { return delegate_.update(value); }
private:
Func delegate_;
};
int main() {
int a = 123;
// also no <int> :drooling_face: best type inference
Receiver receiver = Receiver(a); // Func = int, therefore delegate_ = 123
// receiver(123.4); <-- produces a compile time error
}
Now int being primitive type doesn't have a function signed UpdateMessage update(double) (it has in fact no functions at all, it's a primitive), but that code compiles and runs just fine, why well because I'm never calling receiver(123.4), if I were to call the operator it would fail to compile.
Next up:
template<class Func>
class Receiver {
public:
Receiver(Func &delegate) : delegate_(delegate) { }
UpdateMessage operator ()(double value) { return delegate_.update(value); }
private:
Func delegate_;
};
class Updater {
public:
UpdateMessage update(double value);
};
int main() {
Updater updater;
Receiver receiver = updater; // Func = Updater ; also no need to explicitly call the constructor
receiver(123.4);
}
This does compile and run, since Updater does have a function signed UpdateMessage update(double)
Extrapolating this, if in my operator () instead of doing return delegate_.update(value); I do return delegate_(value); this basically requires any "callable type", lambdas, functions, classes with an overloaded UpdateMessage operator ()(double);, function pointers, and many many other things
CC: @ocean quartz
Wtf
Wtf
Wall
Wall
Pulse
Pulse
Is
Is
Dumb
and gay
Ofc
ah k
ah k
Oh boy wall of text
Wall
build the great wall
Also Kotlin can compile to wasm as well
It could take over the world if only they fixed the bitwise shit
to quote the sources, "The @HotSpotIntrinsicCandidate annotation is specific to the HotSpot Virtual Machine. It indicates that an annotated method may be (but is not guaranteed to be) intrinsified by the HotSpot VM. A method is intrinsified if the HotSpot VM replaces the annotated method with hand-written assembly and/or hand-written compiler IR -- a compiler intrinsic -- to improve performance."
Still hoping for Kotlin for .net ๐ฅบ
oh..
wow
basically, it allows HotSpot to replace things like hashCode with hand-written assembly or compiler IR
the new jdk also has an improved jni i think?
๐
๐
Oooo
"replace JNI" ๐
Bytecode to source converting Java & Kotlin code into JavaScript, C++, D, C#, PHP, AS3, Dart and Haxe and run it everywhere.
I can finally write Kotlin for PHP!!
lol
fuck u
fuck php
go hang php forums
fuck php users
fuck all
Wow, the disrespect
lol
People have too much free time
I think you're looking for c# xD
C# isn't Kotlin though
Close
Yea its really nice once you get over the convention changes
I'll just use my own conventions
xD
With black jack and hookers
lol
Also Yugi this dependency stuff is a nightmare, it repeats so many dependencies
๐ฌ
I'll figure it though
Now just to figure out why windows is missing

welcome to Windows being Windows
Windows hates GRUB lol
also, https://github.com/korlibs/ktcc/blob/master/samples/helloworld.c#L7 what the actual fuck
os-prober was run when I ran update-grub
void is a type you can use to declare stuff with?
Did you check the boot order as well?
What should it be?
Check the ids make sure manjaros id is on top, and probably windoes boot manager on second
Welcome to C
๐
Yes I know
Yeah no, changed boot order to manjaro, then windows, isn't there
Yugi can you believe the entire reason why grub wasn't showing was because GRUB_TIMEOUT_STYLE was set to hidden instead of menu in some config file
@jovial warren that's not void, that's a pointer to an unidentified type
Lmaoo
Actually Im dumb
I did see that in a forum post while I had issue with my installation even though that wasnt the issue in my case
Should have thought of that
malloc returns a void * because it doesn't know what kind of data you want to store in there
Not your responsibility
There also another case with menu being hidden right?
Idk
๐ถ
oh
C++'s new returns a typed pointer to the type desired 
Allocation + construction in place
couldn't be Rust either
or in fact, pretty much any language higher level than C or C++
Rust isn't any higher level imo
Go arguably is
But you could also argue it's on the same level
more like 23:47
good night
c++ has points
pointers*
I remember
one of the only few things I remember from 4 years of doing c++
smh
lmao
No
I think it was like java unsafe
I remember null being NULL
I also remember it has a main class
and global placeholders
oh yeah and cout and cin
damn I do remember some stuff
imagine having null
๐
its NULL in c++ isn't it?
Cpuldnt be haskell
All my homies use None
C has NULL which is literally 0, C++ has an actually typed nullptr
๐
Speaking of which
Bm any luck with the elara doc?
๐ฅฒ
man I keep forgetting
Oh yeah c++ has matrix or whatever those are called
What?
ok yugi question
Yes?
Array of arrays or whatever
Thats a thing in java as well
I don't personally think I know haskell well enough to include some of the more advanced concepts in a spec
And most languages
I mean it doesn't need to be modelled after haskell
Simplifications
Well I m just trying to remember what it has bcz I did like 4 years of it. I'm not comparing it xD
Oh btw
We dont need an IO monad I think
If we were to implement the impure and pure functions
yeah that's true
;o
Maybe we can switch up the common monads into more native stuff
yeah perhaps
type classes?
We probably dont need that, we just need to make our contract system a bit more convenient to use
tuples in elara????
Maybe custom operators
Something similar to bind on just normal objects even
So pretty much a "map" operator
Would that work?
yes

So Functors?
Definitely custom operators
Ig
Awesome, what else should we use
Hmm
qualified imports are something we dont have atm
So maybe that
yes definitely
Refine the module / namespace system a bit
Figure out the contracts and how they're gonna be practical
Yup
you guys just wait until I take my programming languages class and theory of languages and stuff
ima be all over elara
Contracts are the one barrier to a proper jvm implementation rn
๐
Automata theory should be around 3-4th sem
why wait for class
Oh wait
cause im dumb
You guys can choose from overall courses right?
and i need someone to tell me things lol
understandable have a nice day
well yeah but you need to take the prerequisites first
I think that class probably only has dsa as a prerequisite
Lemme check what prerequisites were given to us
ah yes, Foundations of Computational Theory
requires Discrete Structures as a prereq
CS 2300 3 Credits Discrete Structures
This course covers algebraic structures applied to computer programming. Topics include propositional and predicate logic, proofs, sets, relations, functions, counting, graphs, and trees. This course lays the foundation for problems solving in computer science and information systems.```
oop
Ah
CS 3550 3 Credits Found of Computation Theory
An introduction to the theory of computation and its relationship to the design and implementation of compilers. Topics include finite-state and pushdown automata, formal languages and grammars, Turing machines, and syntax and semantics of programming languages.```
CS 4550 3 Credits Programming Languages
An introduction to the core principles of programming languages: syntactic and semantic descriptions, and compilation and implementation issues. An introduction to the main programming paradigms, exemplified using contemporary programming languages: imperative, object-oriented, functional, and logic. ```
I'm taking that class after lol
Where you learn about the long list warrior of functional programming
Alonso Church
๐
Nice
oh and don't forget
CS 4350 3 Credits Web Programming
This course provides a solid introduction to both client and server side web programming. Topics include HTML5 technologies, CSS, JavaScript programming, Ajax, SVG, XML, PHP and Node.js programming. A variety of programming projects will be assigned to reinforce the concepts. (Fall - Odd Years)```
๐คฎ
CS 2810 3 Credits Cmptr Orgnztn & Architecture
This course builds on students understanding of interface between computer software and hardware. Topics for this course include processor architecture, computer arithmetic, instruction set architecture, assembly language and its relation to higher level languages, computer performance analysis, basic concepts on pipeline, introduction to memory management, Computer IO, and disk storage systems.```
I think that class will be fun too
Oh I hated that class
๐ซ
oh? I think that stuff is interesting tho
Got the most annoying professor
Also speaking of this, idk why Programming in Java is a prerequisite here
I dont think the subject goes to java anyway
should require Haskell amirite
๐ฅฒ
Ofc!!
i mean if its anything like my uni, you have to take 1410 (object oriented programming) and 2420 (DS&A) before you can take like any other class
Lol
also someone wrote a Perl textbook in 2012
i though the last mention of Perl was like 2002
Do you have any fp classes?
๐ฅฒ ๐ฅฒ
i showed basically all of my CS classes
Based and redpilled
the one about languages talks about fp
Nothing else?
Welp
I dont think I even get any fp cpurses
Sadge
No mention of it till end of 3rd year courses
Im mostly sure they aint bringing anything major in the last year
https://i.imgur.com/QPdtwsT.png something oddly satisfying about that
there's all the CS classes I need to take
Its msotly just for the capstone project
๐ฎ
you know what comes next after tests for the API though
tests for the server ๐ฅฒ
and the API ones already pretty much took me all day
Gj bard
how do you even write that lol
it's auto-generated lol
it's a report telling me how good my test coverage is
no i mean how do you write tests for the server
obv i know that pos website is autogenerated lmao
really not that hard
things like NBT testing can be automated
hmm I see
I could probably also pick up MockNetty or some shit from somewhere lol
wait why is that HTTP and HTTPS only ew
probably because its for testing web protocols
my potion problem still broken ๐ญ
anyone know how to get like level 10 potions in 1.8 :p
I am not going to give you support for 1.8
and I am not going to let anyone else either
._.
Try and stop me
what have u tried so far
Potion: allows up to 2 levelsPotionMeta: I can't get it to make it not show "Water Bottle" and the default color (everything else works)- copied the
Potionclass and remove the limit (which didn't work)
omg I just found BungeeCord on the list of related projects on netty.io wtf
https://netty.io/wiki/related-projects.html not even kidding
with PotionMeta, are u setting the main effect and custom effect (and overriding), then setting the potionmeta in the item meta?
yes
I thought that setting the main effect would make the color changed and stuff ๐
in potionmeta, there is also a setColor method, so maybe u have to do that too
altho i wouldve that so too
d;1.8.8 potionmeta#setcolor
void setLore(Listย lore)```
Sets the lore for this item. Removes lore when given null.
lore - the lore that will be set
o maybe not in 1.8 ๐
also
i tried looking at nms/obc
but it was as if the classes disappeared
"CraftPotionMeta" "CraftItemMeta" etc is not there
but things like "CraftWorld" is
ur able to just create a normal swift potion correct? without any illegal stuff
with Potion, yes, I didn't test with PotionMeta though
i may have an awful solution that will probably work
๐ ill do anything
PlayerConsumeEvent ๐ฅฒ
why are you helping him with 1.8 smh
uh
because i said i will
smh my head
maybe
in the event, check if the item is a speed pot, then add the custom effect with Player#setPotionEffect or whatever the method is
@jovial warren what exactly are those tests for?
this is just for ur bedwars stuff right dkim, and iirc its all hard coded correct
yes
ok how many types of speed pots will u have
ic
https://www.spigotmc.org/resources/nbt-api.7939/
do u think NBTItem nbti = new NBTItem(item); will work?
if it works in this situation, there might not be any need for nbt
wdym
cus if theres just 1 type of speed potion, u can just set all speed potions to be whatever amplifier u want ig
hm
and ive never used nbt api before, but if u have to use it, then use it
maybe i can just check if the player is in a game
there u go ๐
dirty 1.8 user resolves to dirty solutions that are easily resolved in later versions
np
lol
I have so many questions, but the most important one is: why people just don't use the latest version? I mean, there're even plugins to bring back old combat mechanics if that's why
because the plugins aren't perfect
iTs NoT tHe SaMe
it cannot reproduce the essence of 1.8
blockhitting, kb, reducing = top 3 reasons for me
well kb and reduce can be in one category ig
what is kb and reducing?
custom knockback plugin ๐คฃ
But.... My 89799 cps ninja god 420 bridge killstreak
._.
kb = knockback
kb = kilobytes
what is the diff between old kb and new kb?
lmao
kb = kb
big brain yugi
๐
ignoring reducing
you barely take a lot of knockback in 1.16, making projectiles such as quick bow, snowballs, and rods like useless
making combos hard to get
since combos rely on knockback
are u sure kb isnt just a placebo effect because of the fact that ur never able to combo someone in 1.16?
fist knockback?
i dont think the knockback has changed
im 99% sure it has
i don't think the sword and fist knockback changed
oh knockback definitely has
general kb did
not specifically sword
well, the egg and other object kb are back with the plugin
https://youtu.be/G_ba4UV4Smo?t=160
that guy isn't taking any knockback
grown man complaints a bout a game's pvp system for kids
โฃFollow Me On Twitter!: https://twitter.com/AreuMadLoL
โฃJoin My Discord!: https://discord.gg/utRuvdx
โMusic I useโ
โ: Super Mario Galaxy
โ: Super Mario 64
โ: Super Mario Kart
----------------------------------------------------------------------------------------------------...
AreuMadLoL
LoL
ofc he is taking kb
u only find these names in minecraft
oh damn cubecraft using new pvp system ๐ณ
havent played cubecraft since like 2016 lmfao
https://youtu.be/G_ba4UV4Smo?t=309
in 1.8 you'd go flyingg
grown man complaints a bout a game's pvp system for kids
โฃFollow Me On Twitter!: https://twitter.com/AreuMadLoL
โฃJoin My Discord!: https://discord.gg/utRuvdx
โMusic I useโ
โ: Super Mario Galaxy
โ: Super Mario 64
โ: Super Mario Kart
----------------------------------------------------------------------------------------------------...
at least in hypixel
in this case it took him 3 hits
also, blockhitting
๐ฅบ
without any kb enchant?
yes
shield sucks not gonna lie
u know it's pretty easy to simulate the knockback right?
I can make a plugin that does it for you if you want
also include reducing too
reducing what?
Fractions
lol
reusing and recycling too?
cross multiplication D:
Yeah headphone users you are gonna hear my voice un your right ear only, system problem sorry..
Recording on mac, cant make my videos 1080 while recording minecraft without my fps dropping to 30.. Please help me out and sub...
How to short drag: https://www.youtube.com/watch?v=F40JG0c01ps&t=1s
If you have ANY questions ask here: https://disco...
if you want to see example with reducing high cps then just look on yt like "mlgrush" or "reduce" or "telly"
Wdym
its uncommon to see popular minigame servers use the new combat system
Wasn't that a thing for a long time now?
Was 1.8 allowed till now?
couldnt tell u
yeah sorry
Ohh
that reduce thing is definitively possible to simulate via plugin, but it would be harder for me to do since I don't know how it should looks like
basically the knockback you take depends on whenever you hit somebody in the last 200 ms or something like that, right?
1.8 knockback was stupid, if you had a bit higher ping good luck trying to touch the person you're fighting against
eh not really
its complicated
ish
what I understood is: you take hit, you go brrrr away, you hit the person back, the brrr is reduced a lot
and the kb always push players a bit up
if you go on 1.8, then click fast on like a player, you'll notice you'll be slower
that slowness applies to kb too
so if you click fast, and as you're getting hit
you'll take less kb
if you go on 1.8
when hell freezes over
also easy to replicate
1.7?
In 1.8 if you had better ping you can keep a person from hitting you entirely by just spamming
onEntityDamageEntityEvent -> if attacker is Player -> get player vector -> multiply x and z by 0.25 or something and set sprint to false
nailed it?
then explain how ppl with 200 ping yts are good pvpers 
just change the generic knockback attribute lol
Photoshop
Hacks
that is to simulate the slowness when attacking, fefo
๐ฎ
Broken pvp systems
oh
Hitting people with your fist is better donโt use blocks
so both playerInteractEvent -> is leftClickBlock && onEntityDamageEntityEvent -> if attacker is Player
what
seems balanced
What
Very
Donโt tell me you donโt know what blockhitting is
apply the multiplication on both events
left click a block?
๐ฅฒ
Hitting people with a block in your hand
no
Yes
plz tell me ur joking
Iโm joking
ok
But Iโm not
what
haha
I only said it because you wanted me too

what is blockhitting then
also looks like this
reduces 50% of the damage
unlike the shield, theres no delay between right clicking and holding out the shield
Thatโs actually called dabbing, itโs outdated now
well
1.8 is outdated
smh
can't expect something outdated to have something non-outdated
Yes you can
i never used it before and I play since 1.2.5 lul
HelpChat for example
Matt is like a thousand years old but uses Skript
The best language
exposed? ๐
So outdated things donโt need to do outdated things
Lol
so im doing review for my calculus final right
and this guy goes "so if you see a limit you can't solve, don't worry. with a calculator, you can evaluate any limit!"
like wow
so useful
^^ agreed
anybody know if there's a way to get the entity a player is riding
would I be forced to check all entities nearby the player for riders, or is there an accessor or something
@Nullable
Entity getVehicle()```
Get the vehicle that this player is inside. If there is no vehicle, null will be returned.
The current vehicle.
oo thank you
๐
when i get the type of the inventory from a donkey, it says it's type CHEST
which strikes me as odd
is there no way to specify that you want to make a donkey inventory
the view is different
one actually looks like the inventory of a donkey
the other just looks like a regular chest
i feel like under the hood it's just a normal inventory and that you need a donkey to open a donkey inventory
Is there even an inventorytype for donkey/llama?
nope
nope
which is weird, right?
blame md5
i mean look at how it is used in the real code
im tellin ya its just a normal inventory with slots you don't use
so is the only way to get the player to see that inventory to use a real donkey
i guess so, idk
why do you even want it lol
i'm recreating the 1.15 donkey dupe
and it feels ugly to have a chest inventory appear with the duped items rather than an actual donkey inventory
just make a horse entity and don't spawn it
Try checking the owner/holder idk
can an entity own more than one inventory
so would there be any problems with me just making the inventory, and setting the original donkey as the owner
would the inventory disappear / force close if the donkey dies
im tellin ya, just make a fake donkey that you don't even spawn
wtf is this
o.o
why are they different....
what
why are they different impls
oh i guess the spigot docs won't show you bukkit stuff
Well I guess you can instanceof lol
ยฏ_(ใ)_/ยฏ
maybe it's a SaddledHorseInventory?
who knows
yeah it's a SaddledHorseInventory
interesting
now how do I make one of those
because i doubt bukkit#createInventory returns that
hm, Bukkit.createInventory returns a CraftInventoryCustom regardless of type or owner
this is the most bullshit thing I've ever seen lmao
wait what
there are donkeys and mules?
i mean ye
Not much different so it's understandable xD
how do you create an entity without spawning it..?
Nms
It does yeah
NMS is becoming less and less worth using though
can you not build entities?
uh no
i thought you could construct entities and then do a separate thing to spawn them in
if only spigot api was better tho
Nope, there is only spawnEntity/spawn
oh s hit
you can pass a consumer so you do things before it's added to the world but yeah
it will eventually be added to the world
How I can use one ssh key with putty? It works for filezilla, but with putty I get timed out
rip
did you use puttygen?
yes but It don't works
you need to include the key in the auth section
Under Connection -> SSH -> Auth
you put your private key there
yes I did it
hang on if you get timed out its a network problem
are you sure the ip and port are correct, and that the server you're connecting to allows ssh on port 22?
yes I verify it on ssh.config
well if you're getting timed out its not a key problem
# Port 22
is your firewall open?
๐
no on the server
I don't know how are setup it on the vps
which VPS provider
I can screenshare you?
idk I'm asisting one guy and he give me ssh details with .pub and authorized_keys file
yikes
lol
he told me to ask PiggyPiglet for help and PiggyPiglet tell me to ask for help here
guys i don't want to take calc anymore
I'm hungry ๐ฆ
it always seems like I do just one small thing wrong
miss a minus sign or something
i really need to not bomb this calc final ughghhhh
Good old calculus. If I ever had to do that again in my life it would be too soon.
I mean I think it's kinda interesting, just the tedium of remembering 500 different ways to do stuff and then actually applying it is so bad
Didnt apply chain rule in last step
wdym last step
I always hated the chain rule. I'd forget to do it.
Yup
Alternatively
You could have removed the 2 out from the logarithm before differentiating
i am too dumb to know that or keep track of it
essentially im just gonna fudge my way there with the help of my amazing graphing calculator
You'll get used to it, just keep doing a few more
I'm trying ๐ฅฒ
๐ฅฒ
Lmao
you wanna be my calc tutor yugi lmao
No squeeze theorem stuff?
Whats that glare?
i guess not but we barely talked about that
I can try to help you out if you have any trouble with a question
i mean I have slader and online calculators
I think I'm just gonna go to my uni's tutoring center because having someone there to walk through stuff with you is extremely helpful
Everytime I think of calc, laplaces haunt me
I feel likesooner or later in a course theyllnuse it
Yeah, I never understand calculus that well so I was in the help sessions daily after lecture.
I had them ELI5 everything.
And I've completely skipped over it in my math class
see that's the thing, I understand calc
I just can't remember all the stupid rules and apply them algebraically without messing anything up
lol
I think I finish all my math courses after this semester
Might have a bit of math in game dev classes tho
Already finished LA
L hospital
well you'd use LA in game dev most likely
Only time I've ever used calculus stuff was doing particles in-game.
That guy needs a renaming
lmao
"Hi, hospital, whats up?"
Differentiation is kinda nice, integration is a bit of a screw up
Mostly due to the lack of something similar to chain rule, except by parts or something which ends up overcomplicating equations sometimes
๐ฅฒ
Lmao
the opposite of chain rule is u substitution tho
integration by parts is the opposite of product rule
i don't know, it's not on the test lol
Ok but knowledge
it's basically useless since computers exist
Ayy so, i was complaining the other day that adventure's style for getters and setters kinda broke Kotlin's interop since it doesn't see player.displayName() as a getter or setter
Apparently this is a Java records convention and because of that this will be fully interop in Kotlin 1.5 :pog:
now that's some pog right there
Oooo that's nice
Nice
the chance of what
math random
SplittableRandom best
ill split you frosty
yeah not really sure what you're asking lmao
That's not the actual speed, it'll take about 2ms at average
oh phew
So I have a word length column, how do I make it -1 and +1 of the given value?
so let's say I request entries for the word length 6, how do I also get 5 and 7
Or will I need seperate queries for that?
:kek:
ah nice it doesn't ban fucking
Yea cause it's not added
You still need a default ban list from which it can evolve from
Yes yes
@hot hull did you check out symspell?
Looks interesting Piggy
it be fast
hey pig did you ever implement a treeset for DocDex?
negative
gonna?
nice nice
i can't remember what you described to me though
any chance you wanna make an issue for it?
oh docdex is open source?>
I know we arrived at the consensus that it was better than my current impl
I just can't remember how or why
yes
log n go brrr
yeah you silly
okay which part of the code does this concern
cause there's like 15 things
common?
hmmm
it's gonna need to be a treeset and not a stream of byte[]s
so what you want is when you load up the bot, it generates treesets for all your docs
then when you need something, it searches through the treeset
at lightning speed
alternatively, take a look at this https://github.com/Daniel-Liu-c0deb0t/Java-Fuzzy-Search
cause it does some crazy stuff I could never even imagine
I'm really happy with my current fuzzy search implementation
not looking to replace it
Damn you fucking lombok users
