#dev-general
1 messages · Page 586 of 1
The least amount of storage you can use is a byte
And even then, in a good number of cases, booleans, bytes, chars and shorts are promoted to ints
Which sucks booty
Yeah just realized
Idk how bit set works, could be just an array of ints kek
d;bitset
public class BitSet
extends Object
implements Cloneable, Serializable```
BitSet has 1 extensions, 2 implementations, 26 methods, and 2 all implementations.
1.0
This class implements a vector of bits that grows as needed. Each component of the bit set has a boolean value. The bits of a BitSet are indexed by nonnegative integers. Individual indexed bits can be examined, set, or cleared. One BitSet may be used to modify the contents of another BitSet through logical AND, logical inclusive OR, and logical exclusive OR operations.
By default, all bits in the set initially have the value false.
Every bit set has a current size, which is the number of bits of space currently in use by the bit set. Note that the size is related to the implementation of a bit set, so it may change with implementation. The length of a bit set relates to logical length of a bit set and is defined independently of implementation.
Unless otherwise noted, passing a null parameter to any of the methods in a BitSet will result in a NullPointerException.
A BitSet is not safe for multithreaded use without...
This description has been shortened as it was too long.
Seems to be a vector of booleans
Yeah I mean that's the technical terms anyway
It would be fucking stupid if it actually used a boolean for each bit
Anyone know how to make enderpearls and splash potions not being cleared during clearlag? I know how to bypass it when it's thrown to the ground, but I mean when it's thrown
Yes, remove clear lag, that should fix the problem
there’s plenty of info out there on why clearlag ultimately isn’t beneficial to server performance, but the basic gist is that pretty much everything clearlag does which is meant to improve performance, the server already does by default, just may need some fine tuning
Yeah I understand what you are saying. I was just asking how you do it, not why not to use it
It's just every minute there will be at least 10k entities per minute dropped on ground which is why I use clearlag otherwise it would be insane with amount of entities dropped on ground
just lower despawn rate
imo its better to have dynamic despawning than despawning all stuff at the same time
Alright, I'll try it out. Thanks @dense dew
item-despawn-rate in spigot.yml
alt-item-despawn-rate in paper.yml to set different despawn rate to specific items (good for cobblestone/netherrack etc)
Alright, will test this out. Could be a better option than clearlag honestly
Is anyone here experienced with back-end stuff for Minecraft servers?
back-end as in?
man. life really likes punching you in the nuts, giving you some time to heal, enough to think everything will be alright then just punching you again.
Yup
someone please help. where would I look to see if my laptop can have an ssd and what type of ssd it can take?
like is there a way to see the type of connector or whatever and then find ssds that work for that connector (this is just random. got no experience with this stuff)
same for RAM. I am looking to get a 16 gb stick since I Know my laptop only has 1 slot but idk where to even start looking
been googling for a bit but all I can find is "what you should know before moving to ssd from hdd" and they talk about prices, performance and stuff like that. that I do not need
you check what size your (now) drive is
also it's connector
the size usually is 2.5"
connector will most likely be sata
if your laptop is ancient, you will probably have an ide connector
if this is the case, you can buy an adapter (i did that on may old potato-pc)
Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 08)
wait
wrong thing
SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
this
so I have to check inside to see the size? I know its one of those larger ones.
i mean the physical size
yeah 2.5 inches sounds about right
just shut down your machine, pop the drive out and check it out. If it has like 2 "connectors" (one bigger one and one smaller), then it's sata
if there are a lot of small pins than its probably ide
well according to that it is sata. I will check it out tho. will take some photos just in case.
better check, cuz my old drive is also 2.5, but not sata
if it is ide can I still use an ssd?
You can check your laptop manual
yeah idk if that's a thing tbh xD
uhh
bought this laptop like 5 years ago
i didn't have enough space so i just bought an msata -> ide connector and a msata ssd
man everything is so messed up rn. I have to deal with this, uni and someone hitting my car and not even leaving a number.
just take a photo of ur drive xd
well I'll look. will look at the ram as well and will try and continue from there
yup will do
I've taken it out before so iirc it is a 2.5 inch one but will look. also that is from the lspci -v command on pop (-v is for verbose)
brb then
Mine is 5 years old too and i guess it might depend on the company but it did specify in the manual that the laptop was SSD upgradable & that the size was 2.5 inch
It was a HP laptop if it helps
oh no. you misunderstood me. I was referring to the chances of me still having a laptop manual. and did check and I don't seem to still have it
mine's a lenovo ideapad I believe.
anyways.
@sly sonnet the whole dirve is around 6 cm and the pins are 4 as you can see in the photos. if you can.
and its double
so from what you said here it is SATA.
but now how do I find the best SSD to fit there?
yeah, sata
so do I just look for SATA SSD?
btw. just wanted to thank you for taking your time and helping me with this stuff. I really am clueless.
no probs, i like to help people if i can
yeah
if I find a few can I send links and get your opinions?
oh btw. @sly sonnet just to confirm. NVME and M.2 are like different type of connectors right? like they're not something that also go with SATA
wait ill answer after csgo game
👍 ty
oh yeah. another question for then. I see a lot of SATA 3, SATA 3 M.2. what's all that
lmao
@static zealot sata and nvme r like storage interfaces or something, ones fast, ones lightning fast. sata is superman, nvme is the flash.
m.2 is a type of connector I think
but there's two main m.2 connectors
so you have to make sure you get the right m.2 for your system, not any m.2 will work
not sure which one is faster (superman or flash?)
oh alr. good to know
but basically u can get m.2 drives that either go over sata or nvme
nvme is usually the one you want
can you show me
the photos are here
I can run lspci again to see what it says there as well
ah ye that's a sata connector
mobo?
nope. ain't got space for another drive
or just tell me the laptop model
oh 1 sec. can do.
hmm
need to find the model. I forgot it
Lenovo ideapad 100-15IBD
model name 80QQ
got a notebook ip as well. and a serial number. can give you those as well if required
ye no m.2 slots on there
where do you check that btw?
i googled it
oh
Some: SSD / SATA 6.0Gb/s, 2.5" wide, 7mm high welp will look for this
sata ssd isn't bad
just to make sure. a sata ssd would still be better than hdd?
yes
like at least a considerable improvement
Infinity better
Yes
Significantly better
Definitely noticeable
It's like 60Hz -> 144Hz
And then nvme is like 240Hz
yeah. never experienced more than 60Hz lol
I'm also looking to upgrade my ram to 16 gb but will ask those questions after I find a ssd.
ok, but prioritise ssd
Probably the best non-breaking upgrade you can get for any pc
well. it will make me reinstall everything
idk rgb is a close contender
oh close? I thought rgb is the best
oh yeah rgb is objectively the best
🥲
bcz I can only see SATA3
I mean tbh, keyboard without rgb is kindof frustrating sometimes
Eyestrain when you miss a key
oof
I can confirm. got like a very cheap rgb keyboard and can't get the light to work on linux bcz of the drivers. it sucks. like in my room is mostly dark when I work and I miss the keys from time to time (when I open my laptop and I need to put in my password mostly)
make ur own drivers
OH GOD. ssd sata 3 1TB 450 USD
what is a "good" ssd company? and what companies should I run away from?
samsung
samsung is good
its an 850 evo. idk why
but its the pricve
in the middle of 100-150 drives
xD
7-something was supposed to be better than 860 I think
maybe it's a really good 850
I forgot the exact reason, someone mentioned it here earlier
oh. I was looking at this
Solid State Drive (SSD) Samsung 870 EVO, 1TB, 2.5", SATA III
150 USD
probably nand type
I;ve also heard of kingston before. I think those are also good?
kingston good
ig, I have barely any idea in this dept
Solid State Drive (SSD) Kingston A400, 960GB, 2.5", SATA III
105 usd
Crucial is good too
google it
google "a400 vs not a400"
yes
oh there is. on user benchmark. cool
960gb is basically 1tb
is it alr if I Compare the 250gb ones? like does the benchmark persist?
probably
apparently samsung one is 50% faster
I'd assume so
well it is like 30% more expensive lol
then buy samsung
Try this, my model was actually faster than Samsung & Kingston
oh
found one on the crucial website
Crucial MX500 1TB 3D NAND SATA 2.5 inch 7mm (with 9.5mm adapter) Internal SSD
100 usd.
need to see the benchmarks
speed isn't the only factor
different types of nand can withstand different amounts of read/write cycles or whatever
so that's very important too
Oo
dq read: 389 vs 388 (samsung left, crucial right)
dq write: 363 vs 368
dq mixed: 373 vs 307
adq read: 344 vs 341
adq write: 303 vs 303
adq mixed: 310 vs 254
so samsung is a bit faster. mostly
Yep
and the diference is 150 usd - 100 usd
so I need to decide if 50 usd is worth
the speed
which idk if it is
If you got the budget, I'd just go with samsung tbh
hmm
now to my ram then
I have 1 slot in my laptop. I've got an 8 gb stick rn in
these are photos from inside.
will be googling to see if I can find similar posts to what piggy found for the ssd
lmao. ty
found an amazon link for literally this https://www.amazon.co.uk/memory-Lenovo-IdeaPad-100-15IBD-1600MHz/dp/B018ERSF3E
oh god. 170 usd
335 USD for the ram and ssd together.
If it’s so dim, can’t you make it brighter? 
think I might go with the crucial ssd bcz I can only find the ram at 170+ and that is in the 2 places I could find it
lame joke
don't ever speak to me again
Hahah
ok actually i should give some credit it wasn't that bad
Maybe try to find a samsung model that is similar to the crucial price range and compare that?
Yeah it was great chazza
what really hurts me is that RAM price. didn't expect it to be over 100 usd
but I was so wrong I guess. its weird that I can only find 1 seller on amazon and that's all
Try looking for site alternatives maybe? 🤷♂️
that's the thing. can't find one.
idk if that works. it is for an upgrade in my laptop
apparently there's special memory I need
How so?
well the one I found is "approved" by lenovo.
I mean does it matter? I would guess so long the motherboard supports the ram, its good to go
You're talking about the site alternatives? If so, well... time to start comparing SSDs again lol
Huh?
No. for the RAM. I can't find any other alternative that works for my motherboard
only the one that's like 170 usd
I've got like 220 usd maybe 230
but the final price is like 270 (with the crucial ssd)
Ohh
16 gb.
That's tough... hm
yikes
16GB DDR3L/1600 SO-DIMM
this is the only one I found
like this is what my system can take
but its in 2 sticks
is it not? also you have a lot of alternatives
this one is the only one on the market
like I've searched on every website. international or romanian
every website I could think of. also just google alone
How much ram do you have right now?
8
it does tend to use it all and ask for more when I run IJ browser discord and sometimes minecraft
yeah having 16 is a good idea
Hmm
1 slot 🥶
its a fucking laptop that I paid 400 usd for 5 years ago. what do you expect? it has a gpu at least. lmao
I can't even tell if it supports 8 or 16 max.
that's what hurts me more rn
oh boy. I really need to get some sleep. got to go to the police in the morning. completely forgot about that. fuck
https://wiki.bristermitten.me/does ddr3 even support 16gb on a single stick?
This guide talks about Does
good one
yeah it does
I think its best choice to go with the Ram then the SDD tbh
I think I'll just get the ssd for now and will think about the ram later
is it?
bcz I could really use an ssd
How much ram do you have atm?
8 gb
Yes, you said you keep reaching the ram limit
go SSD
the thing is I can't even tell if it supports 16. bcz the infomration is very conflicted.
well its even worse for write and read speeds on disk. I can sit minutes before apps open and stuff.
and its better on linux but its very bad on windows
like even going thru folders
I switched my old laptop to SSD a month ago, 4GB ram only. But it performs much much better now
I'll go for an ssd bcz that one I know I can use anyways.
Yeah that's the right choice then, imagine getting the ram then it ends up not working lol
I'd hate my life
when i use /dm open rules say rules is not a valid menu but in /dm list appears rules
nose hablar ingles asi que la redacción no esta muy bien
Do you think this is on-topic for a channel named #dev-general ?
fweh wei irelo jewfwefi indeed
ñ?
w#?
ñ man
#general-plugins @daring light
include<conio.h>
?
Syphyllis eroer wrgwufef frferf!
Fer·nan·do Pó·ov
Fer·nan·do Pó·ov
i say w
w?
yes w
or ñ?
norn
K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20
Help!!!!!! PLZ what is this plz im sorry if this is bad 😦
K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20
Help!!!!!! PLZ what is this plz im sorry if this is bad 😦
K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20
Help!!!!!! PLZ what is this plz im sorry if this is bad frowning
frowning
2015 moment
imac
K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20
Help!!!!!! PLZ what is this plz im sorry if this is bad 😦
Didn't think I was on Facebook
K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20
Help!!!!!! PLZ what is this plz im sorry if this is bad 😦
K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20
Help!!!!!! PLZ what is this plz im sorry if this is bad 😦
but
8y 7896ymhn t787y6iuh 8jkbgnyb7iuhjk 6myubhk7j imbgy uhgbyu 7hjkgyubh khuyin87 jluhjiiujuihnjk iujhhjuni zedscxjkli,. nfgdv cgfdv njklmz,x.kflv dgbcfvdgc fdvgx dfvkfdcvkmjdfkm dfscklmjdfc
ñ?
Jesus
ñ!
hi ñ
guess who has mute permissions?
😦
TG9yZW0ga XBzdW0gZG9sb3Igc2l 0IGFtZXQsIGNvbnNlY3RldHVyIGFkaX Bpc2NpbmcgZWxpdCwgc2VkIGRvIGVpdXNtb2QgdGVtcG9yIGluY2lka WR1bnQgdXQgbGFib IGV0IGRvbG9yZSBtYWduYSBhbGlxdWEuIF V0IGVuaW0gYWQgbWluaW0gdmVuaW FtLCBxdWlzIG5vc3RydWQgZXhlcmNpdGF0aW9uIHVsbGFtY28gbGFi b3JpcyBuaXNpIHV 0IGFsaXF1aXAgZXggZWEgY29tbW9k yBjb25zZXF1YXQuIER1 aXMgYXV0ZSBpcnVyZSB kb2xvciB pbiByZXByZ WhlbmRlcml0IGluIHZvbHVwdGF0ZSB2Z WxpdCBlc3NlIGNpbGx1bSBkb2xvcmUgZXUgZnVnaW F0IG51bGxhIHBhcmlhdHVyLiBFeGNlcHRldXIgc2ludCB vY2NhZWNhdCBjdXBpZGF0YXQgbm9uIHByb2lkZW50LCBzdW50IGluIGN1bHBhIHF1aSBvZmZpY2lhIGRlc2VydW50I G1vbGxpdCBhbmltIGlkIGVzdCBsYWJvcnVt
The content on the paper looks accurate when it comes to "characteristics", and the edits on the wording make it sound nicer.
I can not think of something I would like to edit, especially because the wording is something I struggle myself. I think the paper looks really good.
Good job, and thank you.
que? ñ
sei? w
w?
w
or ñ?
please stop 😦
ok
blitz is left
Who is blitz?
left
you
Hes right, not left
Why is blitz?
Hes up not down
the questions life will never answer
Nooo, its left and down
Good question. He shouldnt exist
ok. bye now. behave please. ty
Up Down Left Right Triangle Triangle Square Down Down Circle
The content on the paper looks accurate when it comes to "characteristics", and the edits on the wording make it sound nicer.
I can not think of something I would like to edit, especially because the wording is something I struggle myself.
Does that cheat code give free money? Clutz needs it
Left right L1 L2 R1 R2 up down left right
I'd just like to interject for a moment.
Down Down L2 L2 R1 Analog right Analog right Start Start L2 L2
I think the paper looks really good. Good job, and thank you.
Analog? I don't remember any that used it ;o
I have absolutely no idea xD
What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux.
ENOUGH
I still remember the jetpack and spawn jet cheat codes for sanandreas, good days
xD
there was a hydra one
and ofc
bangbangbang
and for gta3
chittychittybangbang
Didn't play gta3 enough 😩
What does it take to update a gradle plugin version?
I updated from 7.0.0 to 7.1.0 but when I run the task, it still runs with 7.0.0
idk what else to do. I invalidated the cache, I restarted IntelliJ...
Did you refresh gradle?
Show your full build.gradle
https://hastebin.com/iluloqujih.kotlin -> rootproject build.gradle
https://hastebin.com/ujopuvisay.php -> rootproject settings.gradle (where the plugin version is declared in pluginManagement)
https://hastebin.com/caqiyamoja.kotlin -> submodule build.gradle
https://scans.gradle.com/s/ddzl6pdxptunk/plugins?toggled=WyJjb20uZ2l0aHViLmpvaG5yZW5nZWxtYW4uc2hhZG93LTE5Il0 gradle scan
I ran the submodule shadowJar task here
scan shows shadowJar 7.0.0 is used
You do it in a weird way, declaring it on settings instead lol
Never done it that way so idk
I did it this way because I can get away with declaring the version only once per project
no need to declare the version of the plugin in every submodule
Yeah you can also do that in the root build.gradle
I tried, it didn't work
done properly it works perfectly fine
can you show me?
I think I found the mistake
ayyy and 7.1.0 solved the api dependency issue I was having
fantastic!
Honest question, what are the nice command frameworks out there? Light, not bloated, optimised for large servers? I need to make a plugin for my analytics platform
Its been years since I last properly dived into this
Last I used, wasnt ACF super hard to customise? Unless shit changed, and was massive file size
what sort of customisation?
everything, error messages, etc
Literally been years since I last properly did mc plugins, so wasn't sure if a lot changed since 😂
what should i use for multi module project out of Maven and Gradle
gradle
Works fine, does the job, same as normal java
Not gonna switch because others are going yeah its amazing!!
your loss i guess
but maybe people are saying it's better because it is better
not really
it's a loss when you're intentionally using the option that's significantly slower in both compilation speeds and productivity
gradle can be like, 100x faster
which is clearly a massive gain in productivity
if you arent waiting 3 minutes for your project to compile
Ig if someone built me a ready to go base, sure, gradle that is, defo not going to kotlin tho
I see no point, it compiles down the same
im not offering anything
just saying
the "this works so i'm not changing it" mentality is very redundant
that's how you rack up years of technical debt
For me its more I want to get stuff out fast
or in this case, hours of time lost waiting for maven to compile
sure, but that'll absolutely have consequences in the longer term
also, if you want fast, gradle is literally 50-100x faster lmao
If you can build me a good base :P
good base?
Plugin base
just new project -> add dependencies -> do it
it's the same process as maven lol
just better
Theres a gradle version of the plugin dev plugin if you want that
o
I think its on nial's github, not sure tho
Its been years since I dived to this lmao, like 7y of java experience, now im mind blank after doing web dev for last while
😂
ye aprobably
plugins {
java
}
group = "me.bristermitten"
version = "1.0"
java {
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = sourceCompatibility
}
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}
dependencies {
compileOnly("org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT")
}```
there you go
oh wait
almost
and everything else works the same
looks like the minecraft dev plugin suppourts gradle in the main branch now
pretty much
yeah it has for a while, but it uses an old version + no kts support
ah
All I need to do with this plugin is have a config, base and sub commands, and then send requests
literally it 😂
if you want shading use https://github.com/johnrengelman/shadow
to build use gradle build
make a new gradle project with IJ cuz there's a bit more boilerplate, but once you have a build.gradle.kts just paste that in
- changing the group and stuff obviously
and java version if you dont want 16
oh wow, id prob need to shade cmd stuff thats it, so maven dependencies work with it too?
bm
yeah...
add .kts to ur file name charlie
yeah the thing i sent was .kts
or just use the groovy version
I wrote it directly on the vps
build.gradle.kts?
yeah
Now that vps is down
whats the kts bit for
Source is gone
all I have is the compiled output
which ejabberd isnt accepting
Im going to have to use Erlang again...
🤮
there are 2 types of script, groovy or kotlin. groovy is the default but it's a bit old, and has random warnings as you've seen, kotlin is newer and has better IDE support
.kts = kotlin, .gradle = groovy
gradle build
3* you forgot elara!
nah man elara is too good for gradle. ebt is gonna change the world
😌
With maven when I ran install or w/e it would add to a local maven repo I hated that, does gradle not do that?
i hated that shit
it would like add my project to records
so other projects could reference it
thank god
charlie AnalysePlugin % gradle build
zsh: command not found: gradle
charlie AnalysePlugin %
gradlew
or just use the bundled version in intellij
or that
./gradlew build
./gradlew build
lol
technically you could've used mvn package which wouldn't have done this
mhm
maven made me global install
and it keeps the version as well
BUILD SUCCESSFUL in 21s
1 actionable task: 1 executed
charlie AnalysePlugin % ./gradlew build
BUILD SUCCESSFUL in 621ms
1 actionable task: 1 up-to-date
charlie AnalysePlugin %
aight
You dont need to install even on maven tho
so you dont need to install a really old version if a certain project is using an older version
😌
not quite ebt
ebt executes in -20 milliseconds
am I being dumb?
Adds time
ohhh
or Ctrl Shift O i think is the shortcut
u can import settings
well, should work for different jetbrains products? maybe
Isnt it better to keep the themes different?
i do wonder now if I can replicate on intellij
🥲
is that nord theme?
yee
Vuesion >>>>>
I have nord terminal too
ye xd
chazza what will the plugin do 😮
got a good monitor recently after being shipped, its the best XDR alternative
server-sided part of the tracking
define "good"
what all stuff will it collect 😳
like 4k?
5k monitor
jeez
same screen as macbook
how much was that
subscribed 😎
UK stopped doing it due to EU laws
🥶
yeah that aint happening any time soon
how much did the domain cost lol
u wanna know?
very
😣
Its because I see it as an investment, the .org made no sense
its for non profits
tbh i do wish I never got the .org and only had the .net
@prisma wave not dived fully in yet, but i take it back, Gradle seems nice, defo dont have time to learn Kotlin
mhm
but i'll use gradle, plugin will be open sourced too
very good
i'm not a huge member of the kotlin circlejerk anymore, although i can say that it's pretty easy to learn and theoretically a lot more productive
but idc enough to bug you about that
probably worth learning even if you dont use it very often
it's pretty easy if you're confident with java
but hey
.gradle folder
The devs thoughts when he was working on it ended up becoming an operator
nah .gradle is just like cache or smth
o shit
me when looking at other peoples codes
??!??!
Right, now to hunt a cmd lib
well ur in luck!
woo
Very
errrrorOccurred ??!??! wtf error what?? xd
"Staff"
so theres VERY COOL command framework MF-CMD
It's not ready yet
Framework survey:
a) Is it production ready?
b) Is it bloated?
c) is it easy to use?
If it ticks all 3
And don't use the old version it's bad
a) no
b) idk what that means so no
c) yes
bloated as in huge file size
been a while since I've spoke in here, hasn't it lol
Like ACF is
what are you trying to do lol
Waiting on my new chair, but block game dev coming back!!
Is that an astro a50 I'm seeing?
Yusss good eyes
Good choice
getting rid of my windows pc shortly
my mums having it, i dont game enough anymore, and dont use it otherwise
it'll give me more desk space, then apart from chair im completed
I'm using CommandAPI if this is still a question you need answered. With a little tweaking I got my commands down to basically oneliners using builder patterns and it works beautifully
Thank you lots! Just want something light weight and production ready, will check it out
It might be too much for you then, idk if I'd call it light weight or production ready, but it didn't take me long to make it so, so if you are willing to invest a little time...
if you're looking for something a bit more complicated that's supported on many platforms and can do just about anything btw, check out cloud: https://github.com/incendo/cloud
it's kind of modelled similarly to Brigadier
what is that banner though lol
I just need something that will handle fine if im expecting big servers to use it haha, but will check it out ty
cloud scales well afaik
It does
if all of the parsers are written sanely lol
It’s pretty much the ultimate command framework
not pretty much
it is the ultimate command framework lol
and guess what platform it's coming to soon
Krypton

btw bardy
what
for some packets (ex https://wiki.vg/Protocol#Chat_Message_.28clientbound.29) is the "Chat" field just a String?
it's a chat object
but how can you send objects?
it gets serialized and sent as a string, but it's a JSON string
oh
though you could've found that out if you'd just clicked on it and read the info
at least I swear that type links to the chat page
or you could've looked at the data types near the top of the page
for future reference
naturally, i got bored
might come back to it eventually
With cloud, what do I need to do to setup a base command class, then a sub-command? this is all baffling to me
damn this is so complex lmao, prob super dank in turn
I think you'd probably be wanting cloud-annotations, unless you wanna use the builder API, which is the superior one
but it isn't very friendly to separating commands I find
I just wanna be able to easily have seperate classes, for main command + some subs
builder api is ugly as hell
Very ugly
Which exception god dammit 😩
any
just catch Exception ez
AnException
welp im just using nashorn now ☹️ but at least it works
uhh
Awesome 😌
😌
next step: webhooks and live updatess!!!
\
It should be live updates already, idk why it didn't there 
I guess not exactly live update, react needs it to be like on gain focus, good enough though 😩
shit
ahh
@prisma wave I wrote smth in go
its go 😌
go is actually really nice though
different though
def not for begginners
(You were the one that liked go iirc)
Why not?
Go is quite simple compared to many other languages
args := strings.Split(m.Content[1:], " ")[1:]
it makes sense, and I wrote it myself, but its still... not intuitive I think
Thats just unfamiliarity with the language
ig you're right
Not directly to do with difficulty
I mean I think I have a pretty good idea of what's happening there and I've never used Go in my life
also, what capitalization should I use? I see a lot of caps
explain it :p
I mean I don't know what m is
m is a discord message
m.Content is a string
Capitalization denotes whether a function is exposed or hidden
first letter being caps means its exported
fields, functions, types
hidden
okay
well yeah so I presume that [1:] is the same as python's or rust's slicing operator
mhm
and I have a good feeling I know what strings.Split does
lmao yes
slices are cool af
by making a bot
I need to figure out how to make a module system though
and mongoDB communication
wdym module system?
as in seperating the code for a module (eg. levels) from the main bot
just define another module?

as do so many langs these days 😌
nah both of those are wrong, you need mod_msg_log
Ok im just going to go with the temporary workaround, I cant be bothered with this shit
🥲
I've been at this for like 2 hours now
Tried changing every thing I could possibly change
what are ya workin on?
a module for ejabberd
It was already working, but my employers took down the old vps without inform us so I lost the old copy
ooh Erlang!
Trying to get everything working again
But
Well yea
Its definitely not going well
haha
and its 5 am
how much Erlang do you know?
🥲
ah okay, so not the best scenario lol
xD
I mean the mod itself seems to be working perfectly
Seems to be some issue in ejabberd
Works when I reload the config while its running
so like, the initial state is messed up or something? lol
Its seems to think the module name is invalid on bootup
Not really sure why
I found an issue on their repo with the exact same issue
But the auther seems to just have dodged it
oof lmao
🥲
I mean I dont think anyone is going to mess with the server so I could just get the reload method working for now
They wanted me to submit this last night
already late
oh jeez
maybe some boot order issue?
something isn't defined at boot, but if you reload its already defined
No idea, Im not experienced enough in Erlang to figure out the exact issue thats happening
i presume you already read all the comments lol, but the last one seems moderately insightful
Yea I tried every suggested answer
made the ejabberd user the directorys owner
even granted 777
hot damn!
The only thing that worked was the reload method they suggested in the mentioned issue
I think I made a mistake by installing ejabberd from ubuntus repo
Should have just installed it like mentioned on their website
oh hmm yeah
I wish I could redo that part but I think thats just going to cause further delays without any promises on the issue actually being solved
that IDE looks painful to work with
like MobaXTerm?
yes
oh lol
and no, lets not get into that argument again xD
well regardless, lack of syntax highlighting certainly isn't helping lol
yea
There we go
The whole point of the module is to avoid using erlang 😂
throw the required info into another app
Which did work
For some reason that reminds me of php
Lmao
writing this is actually pain
why was this so hard....
I havent done opengl stuff in like 4 months, its pain
especially lwjgl 2, i wish minecraft moved to opengl 3 sooner 😔
k guys python can actually be really nice ngl
Tuples, itertools.combinations, and forceful named parameters are very nice
Oh and representing > and < as a method thingy! so cool!
def min_or_max_vec_distance(data, *, calc_max):
# Calculate the greater than/less than operator based on calc_max
comparer = operator.gt if calc_max else operator.lt
# Calculate the pair with the opposite distance to start with
# For instance, if we want maximum distance, start with a distance of zero
# If we want minimum distance, start with a distance of infinity
best_pair = (0, 0) if calc_max else (math.inf, -math.inf)
# Compute the current best distance using the best pair
best_norm = np.linalg.norm(best_pair[0] - best_pair[1])
# Get all combinations of 2 vectors in this collection
for (a, b) in combinations(data, 2):
# Calculate the new norm of the combo
norm = np.linalg.norm(a - b)
# Compare the two norms based on whether we're calculating the max or min distance
# So if calc_max == True, then we're doing `norm > best_norm`
# Else, we're doing `norm < best_norm`
if comparer(norm, best_norm):
best_pair = (a, b)
best_norm = norm
return best_pair, best_norm
look at that bad boy
I dont like you anymore
Trust me bro, I would never use Python for anything actually like sized as a program
but as a scripting language for calculating little data sciency stuff, it has its ease-of-use for sure
All i am seeing are underscores, pound signs for comments, and the lack of brackets ❤️🔥
Yeah I wish it wasn't like that too man
But all the things I listed above that code are amazing
And I would love to know if other languages have htem
My eyes are especially being opened to the beauty of tuples, they are so, so useful for returning multiple things
Im glad you have found something good about the language, but i am still going to pray for you tonight
lol
Alright I'll put it this way: I had the choice of taking Theoretical Linear Algebra or Applied Linear Algebra
I'd rather be using Python than a pencil and paper for my exams
Darn kids these days cant respect their ancestors and used wood and sticks like god intended
smh kotlin would work fine too....
ive been looking at kotlin native and kotlin for react and it looks really cool btw
Last I checked, Kotlin doesn't have tuples or force-named parameters
And I don't know if it has a thing that calculates all combinations or can be used to represent < and > as a function for ease-of-use
Trust me I would much rather use Kotlin any day
but this course is in python and I've found some cool stuff lol
tryin'a make the best of my sit'iation
i see, well, good luck...
That quality, can't even read what the error says lol
"error with attempting to retrieve verions" that what the error says
