#dev-general
1 messages ยท Page 524 of 1
๐
i never even realized
Ok, that looks very disturbing now that I think of it
yea wtf dude
xD
The global multiplier has ran out and has been reset!
cya
๐
i have no idea how much i advanced
that's why you do a before and after =xp, silly
ยฏ_(ใ)_/ยฏ
does it make my life better?
hm?
๐ฅฒ
lil bit
man am i the only that hates this logo?
yeah I do like the classic java logo
i specifically have the oracle JRE installed so i can change the logo to theirs
Thats the openjdk one right?
yes
lol
ElaraJDK will have a better logo
when
oh? you guys are compiling the jdk?
Soonโข๏ธ
uh... yea... definitely
๐
hey wait if there's extendedclip.com/spigot, why isn't there extendedclip.com/jdk huh
why isnt there a extendedclip.com/elara is the real question
Message looks weird if it doesn't start with uppercase ๐
Now just added a dot. ๐
No, dot is ugly
how dare you disrespect the king of waffles ๐ก
whats betterlife do?
Essentials replacemenT!
all i know is that u developed it or something
Fully functional Essentials replacement!!!!
I spent a grueling 12 hours completely refactoring it with the amazing help of mister PigleyPiglet and Yugi!
and it still doesn't do that much!
did u fix the arrow code
but at least it uses DI
PigleyPiglet
gettin there
still gotta split the subcommands into different classes, and then we'll be rid of all the hideous arrow code
lmao
i gave it a heart โค๏ธ
xD
@prisma wave !!!
I am a CMI, Pex and Skript WorldEdit enthusiast.
Can you link?
Niceeee
im on csgo alone :3
typical bri ish teenager
what's wrong with bri ish teenagers >:(
I mean, BM is one and I guess he's all right... maybe a little too H-obsessed
Hotlin
๐ฅด ๐ ๐ฅถ ๐ฅฒ โน๏ธ ๐ ๐คฌ ๐คข
@cinder flare I might switch to Pop OS soon
โข๏ธ
xD
I am starting to think that my windows is actually corrupted and wasn't just the update that has broken it
yeah Windows kinda do be like that sometimes
because yeah I know a lot of people had that happen to them on the same update
but they also got a fix update
I got like 4 updates now and none fixed it
so going to reinstall windows and then install pop os instead of kde
ye
okay be careful, windows likes to eat boot partitions
its a shared pc. well kinda (my brother very rarely uses it) but I can't just force him on linux especially since all he does is play games
that's why I'm keeping windows
I tried to force him but when I Found out some games barely run or don't even run on linux he changed his mind
well yeah a lot work in kde as well
but 5 fps in cs:go for example
is not worth it
I prefer my 120 on windows xD
hmm I don't have enough experience running games on linux, but I bet CSGO can run great on non-windows
well it can. just not for me
I Know my laptop is old as well but it runs better on windows for now so I'lkl keep using windows for games like that
yeah that is really weird, most things usually run worse on windows
tho I've heard pop os comes with better nvidia graphic drivers by default so that's also nice
yeye
tho I really hope they'll work for my gpu
bcz its a 920MX and I know they dropped support for 500 and 600 series
we'll that's how laptop gpus look like
not the newer ones ๐
well maybe a bit bigger but they still don't look like pc ones
they're less powerfull than the pc ones as well
that goes for the 30 series as well
tho I've heard the gap is smaller in the 30 series
they look kinda the same but obv they're less powerful
but there's still a gap
you have heat and energy restrictions to deal with
yeah Ik
That's definitely a driver issue or something
Csgo should run natively
thank you!
it does its just bad. and yeah at the time I had the open source drivers
I haven't tested now that I have the good drivers
I should test now
oh wtf name.com
Oh yeah open source drivers for nvidia are not great
oh yeah Nouveau drivers are terrible
dude the free name.com domain is only for .codes and .games TLD's
like wtf
github student dev pack
namecheap gives a free .me
what?
yeah had the github dev pack for like 4 years now
yea
is it? most domains I see are $10 a year
well maybe you've got the first-year discount
nope.
it renews for the same price
and if I go to cloduflare (which I Will), I even get a 15% discount
so it will be like 9$ and some change
oh shit yeah I bet I could get it through google domains huh
hmm maybe
should I use proton to run csgo?
I think it runs natively
or just steam linux runtime?
yeah it does I know
just wanted to see if there is an advantage
welp let's see what I get
oh I still got 4.91 euros in my steam wallet
forgot about that
maybe your linux is just messed up
you need our lord and savior Pop!_OS
might be. well the thing is I'm not 100% sure it uses the gpu. I have added the enviroment variable that should make it use it
but idk
if it does or not
ah yea I bet it's using like your integrated cpu gpu
this is I've got no idea how to check
the guy that helped me said all I need to do is go into the steam's game property and set the launch option as __NV_PRIME_RENDER_OFFLOAD=1 %command%
but yeah this probably doesn't work
env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
is what I've seehn
@prisma wave
๐คก
I'll try this. maybe I Don't actually need the %command% part either
thought its a placeholder for the default command
or something
yeah dunno what that is
bcz there was no command before
alr I'll try this and we'll see xD
Way ahead of you ๐
I know he @'d you and I clicked on off topic I was like damn, bri ish boi real quick
oh yeah lol
I just wanted to make sure u had a screenshot before i deleted
wise
man I even lost my csgo rank bcz of inactivity
I've been playing quite a bit of bedwars and skywars lately with dkim
yesterday we got like 4 wins in 6 games or something like that
dang very nice
and I can prove that bcz I Just tried to use control to sprint in cs:go
lmao
also yeah that didn't really help
like I Seemed to get 10-15 fps but still a lot of drops to 0
just like before
like its not stable at all
0-20 is what I get now
0-15 is what I used to get
either it uses it
and its just bad
or it probably doesn't
which I am going to assume is the case
I just love when I try to maximize a tab on my small screen and it sometimes thinks the screen is the big one or something and just hides half of the app and I can't minimize it anymore
uh yeah... me too?
lmao
I'm farming that xp today xD my boost is going to expire soon
@cinder flare thank you very much
the fps are up to 100 now
tho they are very unstable
well that is an improvement
and I get a lot of 0 fps crashes
i am setting up my website now ๐
that's something that I've just noticed in general tho
all this CI talk has inspired me
with linux
to not repeat the mistakes of Blitz's past
btw what I Was doing wrong was that I had to add the keyward env at the start
and also idk if the other property was needed
just need to get these spikes fixed now
and I'm set
ah yea well that would make sense, you want to export environment variables
man I love and hate firefox
why the hell when I type in the search bard something: something
it always does this
technically it is a uri ig
is it tho? I typed cs:go fps drops
but whatever I put if it has : in it it does that
nah firefox is nice
nah
i cant afford to donate half my ram to a web browser
lmao
they've made it much much faster recently
plus I'm not using that RAM anyways most of the time
not really
it's been great for years
same here
I did not like it when I tried it
and the new design is great
I used to hate on it bcz other people told me its bad but now that I've actually used it, I love it
oh yeah it is.
slow, unfamiliar, lots of my extensions didn't work
๐
i use chrome on linux
thank you!
Oh I mean I guess it's okay
and chrome has floc
maybe a little better if you're running on a PoS system
no floc for me tyvm
what
what's floc?
meh whatever, most people turn it off
floc?
oh is that the tracking thing?
ye
what is floc
federated learning of cohorts
it enables tracking in like one line of code or something
basically cookieless profiling
bunch of people got mad and opted out of it
targeted adds can suck a dick
the eff did a write-up on it
why lmao
I got a chair once and literally 3 months all I got was the add for the exact same chair
it's like why I like twitch ads
I want to fucking see new products not something that I already bought...
they're relevant to me
not being funny but haven't you already got a xhair5
why do you guys still see ads
why do you need another one
lmao
exactly I don't
I've got addblocker dw
except for twitch basically
my friends refuse to use ad blockers
but I still don't care if they track me
very rarely
if you're really paranoid, using ungoogled-chromium
low intelligence levels
or firefox :)
they think ad blocks are viruses or something
all the benefits of the amazing chromium but without the tracking
and refuse to take their tech savvy friendโs advice
maybe if firefox didn't run like shit I'd be interested in it
but mozilla is running it into the ground
it doesn't
oh it does
it really doesnt
firefox runs better than chrome my dude
brb benchmarking
not in my experience
i mean benchmark all you want
how long ago was your experience
few months ago
was it before firefox quantum
when I tried using it as my daily driver it was painfully slow
and half my extensions didn't work
then you have crap extensions
and it didn't sync my bookmarks or history
man I gave my dad yt premium and he didn't want it at first. same shit (viruses or whatever) but now he loves it. like the yt ads are so fucking insane. I Din't realise until very late that they give 2 unskipable adds of 30 seconds lmao
I only respect Mozilla for Rust, not firefox
Rust will be their greatest contribution to society
ff is actually fantastic tho
chrome is best
only because i like it
u can't deny that. they've improved it
yeah I'll give it good
you're all just bullying me now :(
objectively iโve got no clue
lmao
stop holding stupid opinions then
oof
ff is alright

That's the biggest reason to use chrome
u guys should buy chairs like mine
have you seen a productivity increase of like 400% pig
i have no money tho
yes star
ยฃ30 desk chair from amazon will have to do
yeah lmao. mine was like 30-40 as well
I mean I've literally had a wooden kitchen chair for months
is amazon a big important part of your guysโ lives?
Iโve only ever used amazon once
Never used amazon
yes
I would say so yes
half the shit i buy is kinda embarrassing
It's incredibly easy to purchase things, especially since I live in a small town
I bought a lock pick set from amazon
the nearest Best Buy is 50 minutes away
do u have same day shipping
pretty much
you get same day shipping?!
oh wtf
upside down land go brrr
yeah 2 day shipping is like, the longest 99% of things will take
yeah lol Iโve never bought something online and it arrive that quick
always takes a week minimum
do you still have to wait for like weeks to get stuff from china?
same. shipping is horrible in Romania. even if u buy from romania xD
AliExpress and the like
well yea china takes a long time for everyone
That's how they get it so cheap though
there's still stuff I ordered last year from AExpress and hasn't arrived yet
Comically long shipping time
true
@cinder flare done. I've set absolutely everything to as low as possible and now I get a constant 40 fps
Well.. how are you supposed to ship something from china in no time
ncie
i played black ops 2, they definitely do
blitz is that 1.17?
cs:go
dk if u know this
csgo is one of the easiest games
oh yeah 1.17 exists now doesn't it
geforce 920MX
try running csgo through proton
csgo runs better through proton on linux than natively
I've tried. and it didn't let me start cs:go at all
kept getting some error
let me try again
oof
to run it on proton I go to Proprieties -> Compatibility I mark FOrce the use of specific steam play compatibilty and then select the highest version of proton?
which in my case is 6.3-4
new youtube style looking like a github profile readme
oh that looks a lot like ytm
Hi
this chair is so cool
hiii :D
Why am I awake wtf
i have a knob that allows me to adjust how hard the lumbar support is
and I can move the lumbar up and down too
i bet you love adjusting hardness with the knob ๐
piggy do I have to run it in wine?
alr I'll try and see
piggy seems to be really enjoying this new chair
maybe a bit too much?
nice
custom html made in vim setup
๐คข ๐คข ๐คข
vim autocompleted my tags actually it was very cool
sublime does that
and I tried updating. nno updates available
idk blitz
no this isn't really for the main webpage
I never tried it
it's for ci
my 2080ti just powers through the bad drivers
what extension
well duh, but I didn't expect vim to do it
i need to know
no extension
I'll just do with 40. its fine
wait fr?
stop discussing crap editors
ty tho
Emacs or nothing
shutup bm
no one uses emacs
go back to bri ish land
nothing then
go drink some tea and crumpets
johnny and I do ๐
even our resident emacs nerd iwanio switched to sublime
doesn't that tell you something
crumpets last night?
crumpets are for breakfast
they're a breakfast food
nah supper
Lmao
no..
10 pm crumpets hit different
that's not how they're meant to be used
and you call yourself british
BM have you had jaffa cakes before
Get owned bitch
Many times
i love them
prior to yogscast I had never heard of a jaffa cake
they're so good yeah
me neither but now I love them
and I drink yorkshire gold ๐
are they not normal then
golden syrup ๐
ew
not in america lucyy lmao
no
^^
fuck no
tea
oh
it's good
posh tea
crumpets should be sweet not savoury
no they shouldnt!
i drink english breakfast tea on the odd occasion I have tea because it tastes good
or that tea with the orange tag
tesco tea is actually brilliant
oh thanks
there's my vimrc
ill take a look
you might find w!! of particular use
ooh that looks nice
grrrr
who
wintergatan
who
You should be in school
swedish marble boi
i finished last month
only videos I can watch are the ones where he shows a finished versoin
chewsday
yea!
tobacco chewsday
ive bern watching since day one
man I love bri ish people
me too
speak for yourself
haha
i am
yea bm's a lovely boy
thank you ๐
his mom offered to let me use her cellphone when we were playing the mc server earlier!
i have never seen such kindness
she is very nice
she offered to make cheese on toast for people I was in a call with a few weeks ago
yooo now that is nice
cheese on toast is cracked
crack on cheese is also tasty
CAN confirm
what
cheese on toast is one of the best foods ever
๐
it should be called a toasted cheese, like grilled cheese
yea that's what I was thinking
but I'm not bri ish enough to be confident
hmmm now to figure out what CI to use
jenkins is for boomers from what I've heard
teamcity is nice
but u're a boomer tho
what?
nice'
is google broken?
yes
what's wrong with jenkins
teamcity is even more boomer-like than jenkins
old, bloated, slow, shitty ui
? jenkins is pretty good imo
from a reddit thread I read it takes like 1GB of ram with like 1 job
and easy to understand
have you ever used jenkins
what's going on
easy to understand?
the ui I mean
everything I've read about CI has warned against Jenkins
star have you ever actually used jenkins
I mean no
xD
But I trust the advice of redditors
jenkins is fine
Have you ever used anything else?
Yeah lmao, you're just a little biased
No that's the point, I'm completely unbiased
I just read a bunch of comments
Never used any of tem
yoo. this is nice. I get up to 60 fps in minecraft with discord opened.
mmm real drivers
before I used to get like 0-15
its a bummer that I Don't know how to set this up as an icon in taskbar tho. I have to launch minecraft from a console every time
wtf
bcz I have to add the env variables
what env variables
lol
why are you not using optirun
optirun?
bumblebee
idk what that is
oh apparently you're meant to use "primusrun" actually
we'll try later.
rn I basically have to do nv __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia command
for every app I want to use the gpu
steam is nice and lets me do that for every game in the proprieties
what's thef ull command for minecraft?
just add minecraft to steam
its minecraft-launcher
ohh you're right
but does the desktop file also handle the icon from the task bar?
well I actually am starting to like lunar
has some nice mods I like
I change the Exec=minecraft-launcher line?
or is it the StartupWMClass? I assume its exec
let's see
hmm think it works. tho it doesn't show up in nvidia-smi anymore
what'd you change?
or is it some linux thing โน๏ธ
is it normal for spigot 1.17 to keep randomly restarting?
no, show server log and plugins in #minecraft
:/
What the hell are you testing?
Dkim is a very good enterprise developer
He obviously designed over hundreds of test cases
uh oh
or IO operations
i found the issue
๐ฅด
and idk how to solve it
val task = mock<Task<MutableList<Member>>> {
on { get() }.thenReturn(mutableListOf(member))
}
```I'm using await(), not get()... but await() requires a coroutine... what do i dooooooooooooooooooooooooooooooooooooooooooooo
also why am i using a mutable list
instead of readonly
Imagine using Kotlin
launch it into a blocking coroutine
val task = mock<Task<MutableList<Member>>> {
on { runBlocking { await() } }.thenReturn(mutableListOf(member))
}
```will this work?
im not sure
no
if i do it outside
The whole test needs to be in to context
Start the function with the runBlocking
fun `One of my tests`() = runBlocking {
}
oh
alr
uh
then what do i do next?
Suspension functions can be called only within coroutine body
val task = mock<Task<MutableList<Member>>> {
on { await() }.thenReturn(mutableListOf(member))
}
```this is bc `await()` isn't in the coroutine anymore
sorta
aaaa
await needs to be called on a defer
defer?
Yes
How do i use defer?
For example, the async function returns a completable defer
They suspend till that defer goes to the 'completed' state
What are you awaiting here
I need more context
Are you using mockito?
If so you can only mock calls on a mock object
So you need to mock your function calls to return a mock object before you have such a mock statement
uhhh
Ok let me give you a simple example
I want to mock openConnection on a URL
for that to work, the URL must be a mocked URL
So we create a Mock URL, and set the mock call on it, then we pass this mock url wherever we want
yes
Are you doing something similar or directly trying to mock an internal object?
val snowflakeCacheView = mock<SnowflakeCacheView<User>> {
on { asList() }.thenReturn(emptyList<User>())
}
val user = mock<User> {
on { name }.thenReturn("dkim19375")
on { discriminator }.thenReturn("6351")
}
val member = mock<Member> {
on { it.user }.thenReturn(user)
}
val task = mock<Task<MutableList<Member>>> {
on { await() }.thenReturn(mutableListOf(member))
}
val guild = mock<Guild> {
on { loadMembers() }.thenReturn(task)
}
```im doing this
a bunch of mocks
and then i just pass it through
wdym mocking internal object?
You arent returning an instance of Task<MutableList<Member>> anywhere there
That instance needs to be a mocked object itself for the mock call to work
uh
the Task is the mock type
and i'm returning a list
which is what await() or get() would return
Where are you creating the mock task?
val task = mock<Task<MutableList<Member>>> {
on { await() }.thenReturn(mutableListOf(member))
}
val guild = mock<Guild> {
on { loadMembers() }.thenReturn(task)
}
also ```kt
/**
- Awaits the result of this Task
- @return Result
*/
suspend fun <T> Task<T>.await() = suspendCancellableCoroutine<T> {
it.invokeOnCancellation { cancel() }
onSuccess { r -> it.resume(r) }
onError { e -> it.resumeWithException(e) }
}
whats the diff between that and get()?
And whats the issue rn?
get is blocking
await is suspending
await() cannot be called since it's not in a coroutine scope thingy
I did
And you still cant call it?
error
yes
What error does it throw?
Suspension functions can be called only within coroutine body (ide/compile error)
and if i put runBlocking in await() im afraid that it'll stop working
Show me your current code
fun test() = runBlocking {
val snowflakeCacheView = mock<SnowflakeCacheView<User>> {
on { asList() }.thenReturn(emptyList<User>())
}
val user = mock<User> {
on { name }.thenReturn("dkim19375")
on { discriminator }.thenReturn("6351")
}
val member = mock<Member> {
on { it.user }.thenReturn(user)
}
val task = mock<Task<MutableList<Member>>> {
on { runBlocking { await() } }.thenReturn(mutableListOf(member))
}
val guild = mock<Guild> {
on { loadMembers() }.thenReturn(task)
}
}
```removed the test itself to keep the code short for now :p
uh
in your on
lol
Send me the error you're getting as well
this is where it's erroring
alr
Did having the runBlocking in your on give the same result?
yes
hmm
@quiet depot idk if I ever told you but thanks for the run configuration as action plugin ๐ช
only for building the jar atm
it is faster than switching the configuration to Build, build, switch back to Server, start the server
9 servers?
well no I've never had 9 before
interesting
I was just saying I use the num keys
I might do the same with ctrl b
most I've had is like 5
the default bind that's on ctrl b doesn't help me that much
excluding a proxy
and I found out that shift shift is very useful
when there's lots of severs I'll add bungeecord so I can quickly switch between
also with viaversion
makes testing really easy
are breaks unnecessary for new switches?
i believe so yea
btw, do you know how I'd do it with stub? I'm a bit confused now how it works, and I think it only works for top level functions :/
https://github.com/mockito/mockito-kotlin/issues/311#issuecomment-454183020
Alright can i ask a question here please?
coding question: #development
plugin help: #general-plugins / #general-plugins-2
minecraft help (that isn't coding or plugins): #minecraft
It's a discord question.
assuming it's not an API question you can ask in #off-topic
๐
is it possible to rename/delete a maven central artifact id thingy? i just uploaded dkimcore but now i want to rename it to dkim-core ๐ฉ
Where do I send a delete request?
i sorta just want to delete all my repositories ๐ฅฒ
no idea
๐
๐
yeah linux. just made the drivers work. (the nvidia offical ones) as before I was using some default linux open source ones
which are kinda bad
hmm @quiet depot u around?
I'm having some trouble here. So basically I have an .appimage (of the lunar client) but I don't think it has an open command. Couldn't find one at least. every time I just run ./LunarClient.appimage
or just double click it
any way to make it into a task bar icon and maybe the "start menu" or whatever its called
is there no way to rename a maven central repo?
or delete
aaaaaaaa
Nope
Nor delete
how come you always want to play mc at the same time as riced guy xD
how the fuck do I use it
the riced guy just joined less than a minute ago
same as last time
maybe I am riced guy
yeah. it happend last time and time before that
anyone knows anything about this?
https://i.imgur.com/IRayjfP.png
you guys also left sorta at the same time
sus
(riced guy was managing forge mods, usually uses lunar)
amogus
well game started and I had browser and discord opene
and it didn't crash
that's a good sign
how is it possible that they both joined nearly at the same time the past 3 days and closed mc nearly at the same time today
30-60 fps with discord open
let's go boys
69 fps
99 fps
88*
I'll close discord tho to see if I can get more consistent fps
bcz rn its very inconsistent
Is it a coincidence that riced msged me (after being afk after he left when you left) the moment you joined? literally the same second ๐
blitz
i think you have telepathy with him
and now you both send me party invites in like the span of 2 minutes
Ahhh nice now this server gets dm spammed by bots
Can support ban?
854274938999275530
Hey, I got the same
I got the same
report to @compact perch
Dependent Procedure
854274540771082250
DM it
854274520453742592 too
DM @compact perch
I WISH
Will I get a message if the user gets banned or anything? If I reported it?
854274645640609793
yours too
this one too
Aight, ty
u can just type <@854274645640609793> and if it doesn't find the user is probably banned
no worries
he still shows up on mutual servers for some reason
might be discord cache
if u restart discord completely should be gone. I Don't see him in this discord anymore
yeh that was it mb
no worries ๐
welp i just removed the test itself for now
How are devs handling upgrading to 1.17? Since it requires different Java versions from 1.8.9 to 1.17?
Does it require different jars to make a plugin in 1.8.9 and 1.17?
Oh what, didn't know that. So what is it with Java 16 being required for 1.17? Is it just on client side?
To run either the client or paper, you have to have Java 16 as your Java
But Java 16 can run bytecode of any Java version before it
If you're lucky enough to not care about supporting older, shitty versions you can compile towards Java 16 and use all the new features
Otherwise, compiling towards Java 8 on your plugin is still fine
So why not just always use java 16 to compile?
not all servers use java 16
Backwards compatibility
Because then anyone who uses it has to have Java 16
You can use it, but you can't target java 16 if you want it to run everywhere
You target the minimum Java version you expect most people to have
Ah the java slogan
On the server host side or the users on the server?
Though a lot of plugins and people are dropping support for Java 8
run if you have a jvm of atleast that version!
Which side runs the plugins?
That side has to have the minimum Java version
Both? In most cases ig
the users aren't connected to the server's JVM
Yeah, Java 16 compared to Java 8 is a pretty big step
So Java 8 is just simply too bad now? For most developers
Yeah I love it, migrated one of my plugins to only 1.17+ and Java 16 plus
Yes, Java 8 should be ditched
i use java 15 ๐คก
Java 8 has been bad for years
It released in like 2012
2014
Still that's like using Windows 7 today
So servers with the plugin has to have java 15+ right?
yea
i use java 8 tho, but i also have java 15 installed
So why doesn't every client just use Java 16 to run servers?
servers should be expected to at least update to new lts versions
See that's the dream man
It's because Oracle is a piece of shit company and tried to charge people for newer versions of Java so everyone stopped updating
because of incompetency and because a lot of hosters give you java 8 by default
We're still picking up the pieces of their actions, though minecraft moving I think will impact the version chart a moderate amount
that isn't true
When compiling it only matters which JDK I use right? My path variable or whatever it's called doesn't matter does it? The one that appears in cmd when typing java -version
This question is so confusing I see now lol
Basically, can I use Java 16 on my pc as path variable and compile with JDK 8 or something?
yes
You can target your build to any version below the one you're using

