#dev-general
1 messages ยท Page 446 of 1
was enroute to land in vancouver
ik what it is kali xD we had a section about it in a class, I just wanted to know if it was visible at all times
Wheres vancouver btw?
Some of these particles precipitate into the lower atmosphere continuously, and the aurorae are thus normally present at all times, although they may not always be visible (due to limited intensity and the obscuring effect of daylight).
europe?
canada lol
lol
But the earth is flat?!?!
^^^!!!
๐
yep
always good to revise ๐
i never knew fully how it works myself, just knew it was smth to do with magnetic fields
and dinosaur got tossed away when the earth got hit by astroid LOL
idk about that one chief
that area of lighting looks a bit small
๐ฅฒ
yugi do you get sunsets where you live?
well if you live on the east coast of a country, you can't see the sunet
if you leave on the west coast, you can't see a sunrise
i guess you are the right person
wat
I meant at the horizon
wtf
xD
yugi stroke
Uh
draw one
Fix what?
๐
ah okie
Not sure about sunrise, but can def see sunset
There we go
do sunsets look the same area?
wake up at 5am in the morning and find out for us please yugi ๐
everyone here always talks about "beautiful sunsets" like they don't look the same elsewhere
Lemme see if I have a photo on my phone
this is the kind of sunset I get where I live
Fairly simplistic but I like, just need to make the images same size somehow https://github.com/Frcsty
Wow
i would post a picture but it has my face in it
That looks much much better
it doesn't always look like that
I like it Frosty
but it's definitely not uncommon to look like that
Oh damn that's beautiful
need to add some more context for op65n organization in it, might be even nicer then
Pig lives in paradise :0
yeah
ours never looks like that
we always get red in the sky like in the pic before
If you count out the spiders and all the other creatures wanting to devour you yes
I think I've seen Conclure's face before.
but he seen mine
so equal trade
lol
he changed his instagram pfp tho
to his dog
classic
pig, that sunset ๐ณ
so much good in the world and most of us here have probably never seen anything like it ๐
cause its australia
speaking in general too
If you see them
Wait are we posting pictures of where we live
quick horror story:
I walked outside the other night to get something from the outside fridge, no shoes. As I was walking along, I felt something under my foot, and it stuck. "I swear to god if it's a fucking spider". Didn't actually expect it to legitimately be one, expected it to just be maybe some plant matter or something, so just kept walking along, then scraped it off once I got inside the shed, squatted down, and there it was, a tiny little furry fuck of a spider.
das cool
very cool
how do you live in a place like that and have guys that'll shank you on the bus
that's my thought
lmao
looks too posh for shit like that
nice ๐
kill the fuckers
thatll be london, liverpool and birmingham sir
nothing a drop kick can't fix bm
lol
Manchester ๐
Tempting
ah how could i forget manchester
my scottish engineering teacher threatens us with drop kicks daily
altho i dont think its as bad as liverpool, birmingham
literally 120kg
lmao
basically eddie hall but short
gym lad
London was pretty chill when I went there, but then again i only stayed for 2 days xD
that's the thing
he's only got one lung
he can't go to the gym
yet he's huge
it's not fat either
yeah ig
does anyone have any weird/old format javadocs they can throw at me
check trove4j javadocs
they're very old format
or spigot 1.5
Oh god
maven 2 
Is that Java 6 docs or something?
im trying to write a web scraper for the fun of it
older I think matt
this is bloody hard
Damn
yes i have
docdex supports all versions of javadocs above the one spigot 1.5 uses
Pig has every javadoc that's ever existed
github stalking time :D
Actually it seems to be 6 https://docs.oracle.com/javase/6/docs/api/
I coud only find this piggy
that doesn't look too bad yugi
nice
how the hell does this thing work piggy
Thats not from here
where should i look
Thats from India
that's pretty similar to one we'd get here on average
at my uni
lucyy docdex is a very complicated project
but
app/.../documentation/index/.../popuators
something like that
ah alright thanks
look for a file called WebCrawlPopulator
that's where the magic starts
and before you judge me
would like to go back to the
"scraping isn't the hard bit, making it clean is"
Lol
pretty
bm did u see the one I posted earlier?
And you got the role 
I think of myself more like a machine learning algorithm rather than knowing what i'm doing
from trial and error I've discovered what works
oooooh idea
@old wyvern os? #showcase message
i was kinda hoping to use js for this but i can switch
oh my god
I didn't go that route though because not all javadocs are attainable from source
no way that's real
that pic isn't mine
from google images
but I've seen loads of sunsets like that here
they're relatively common
Yes
that is amazing
sunset?
Guess what language
java
๐
vancouver is beautiful in an entirely different way
had ?
yes !
well
the city itself aint beautiful by any means
but the nature is fucking awesome in that area
and the city don't look too bad if you look at it from afar
absolutely
i got a question for ya'll
Huh i guess there are some pretty sunset images on google from where I live
๐ณ
100% Haskell ๐
๐ฎ
when we going portugal guys
๐
wtf is up with this overrated language of haskell
Underrated*
kaliber we don't really have mountains where I live
so canada for me was a huge shock
over*
lmao
piggy whats it like for you
when, where
proof?
like where you live
This one is also nice, shows the cliffs a bit more
is it a city or wut
o wtf
I live in the greater metropolitan area of perth
dahek happened to those cliffs 
Erosion
perth is a relatively small cbd
but the entire city of perth is like the biggest city in the world
size wise
population definitely not
wow, congrats on passing ur geography test matt ๐
Lmao
so you live bottom left?
yes
Not my picture but this is pretty close to where I live
Do you mean where they are in the first pic I sent? A bit to the left
Photoshop 100
bm did i tell you btw
Photoshop 200
might be, hard to tell with random google images
I'm gonna be moving from UK ๐
@onyx loom the left side of the first image is where the cliffs start
To where
Yikes
It's my life
go up north i rekon
thats super cool matt
so u can go to canada too
well that looks like florida
very far away from my suggestion
florida ๐คฃ
Lmao
boys
hey guys romanticism here
๐ฅฒ
I'd love to move to canada
actually thats just 1 car, the other car has a different number plate
soooo u wanna go florida
Finished the design now, I think it looks aight
link
come to isle of wight
i been
It was boring.
no it wasnt
exactly
where's your local John Lewis then bm
exactly
overrated
no
actually we might have one
no you don't
no nvm
Hey bm, gonna go to the Isle of Wight University?
bm, can you climb a mountain locally?
issues bad
look at that arrow at the top lol
theres a big hill that's almost a mountain
That only counts publci repo commits
but it doesn't classify as a mountin tho
It counts private as well frost
it's close enough
It doesn't Yugi
I've been at 500 for over a year
Ah
yes it does frosty, you've set it to be "include_all_commits"
Rip
if it's not counting them then you need to enable it in github settings
If it only does master then that'd make sense
cant get any issues if ur code is perfect ๐
bm isle of weight is on a list for the worst places to live in uk
How do you have total commits? Mine is only 2021
peterbrough 3 years running #1 ๐คฃ
yorkshire ๐คข
suprised my city isn't on the worst
Ah found it
checked another website, i wasnt even in top 50 somehow, lol
I need to be more active on GH
satisfaction here is 35/35
proof
I mean most of my branches are named development
100/100 many would say
bm what de do u use?
de 
desktop environment
i3?
plasma is almost wayland ready
how many pc's you got bm
people think it's gonna be ready this year
2
why
2 houses
2 is a good number
but eclipse only needs 1 pc
I have 3
That's good, once nvidia drivers work it should be pretty much perfect
If you count the ones from 1970's
I have 1 permanent pc at home, and my laptop which I use for travel & school
:))
nah bm there's a bunch of other breaking bugs they have to fix
nvidia is on that list
how many commits
wat pulse
nvidia is the biggest thing surely
I just want to switch to wayland because someone told me it'll be possible to move my notifications to my right monitor with it
gh
and then other apps can slowly add compatibility
ah rip
only issue with wayland so far seems to be jetbrains apps requiring a environment variable to be set
and also you cant drag and drop channels/servers in discord which is a bit weird
hey anyone here know how easy it is to make a custom scripting language?
I'm working on something and came up with the idea, but I've never done this sort of parsing before
ehh
im not gonna say it's "easy"
but it's not "hard"
the hard bit would be designing it well
all I want is something that can parse something as simple as ```
accessor Unsafe {
field theUnsafe
method getUnsafe()
}
You making Skripton?
what
no lol
"accessor"?
i dont understand what that language is doing
it declares a new accessor, which is used to access a specific class' fields and methods
I hope you break a kneecap
Same
idk what I should turn it into yet
yeah maybe it is markup
whatever
could make it do compiler code generation ๐ฅฒ
what would that generate
well the current system I have now is ```kotlin
@Accessor(Unsafe::class)
object UnsafeAccessor {
@JvmField
@Field("theUnsafe")
var instance: Unsafe? = null
}
Why
which is kinda ugly ik, I'll work on improving it later lol
why what
why does this even exist
What is this for?
lol
also got fed up of messy reflection in Krypton's tests
I mean go for it if you want to ig
code generation for 3 lines of reflection ๐คจ
If you want something easy try a recursive descent parser
what about if you were reflectively accessing many methods and fields BM
then make a reflection utility
yeah maybe that's a better idea
I mean
fun getMethod(clazz, name, signature) = clazz.getMethod(name, signature).apply { isAccessible = true }
``` that was hard
https://paste.helpch.at/ajukoqecos.rb this is the entire code rn lol
what
reflection {
on<Human> {
val name = bind("name")
val human = ....
human.name()
}
}
I was thinking more along the lines of ```kotlin
accessor<Unsafe> {
field("theUnsafe") {
// do things
}
method("getUnsafe") {
// do other things
}
}
sure
maybe
just need you to send a message in the next 10 seconds
ok
Sure
finally managed to get my notifications on my right monitor
Oh
nicee
when you finally realise that you've basically spent your entire weekend on refactoring and unit tests ๐ฅฒ
time to refactor my first (or second, I can't remember) plugin called MobStatusChange
it's a nice plugin, but the code, oooh, so many statics, I'll yeet them all
and that was a couple of days ago
arrowing intensifies ๐จ
lol
kinda stuck on what to do with Krypton rn tbh
placing is just kinda fucked
and I've just spent like the last 3-4 days on unit tests and refactoring
theres a ton of stuff to do
I like how theres like 5 conversations going on here concurrently, each with a single participant
it's 6 PM and I'm kinda falling asleep at my desk rn lol
Krypton is a thing?
wdym it's a thing?
Are u guys making the async server for real?
I've been working on Krypton for over two months
no way
Alright imma be honest here. Idk if anything written in Kotlin is going to be optimized or fast lmao
Nobody told me ๐ฆ
the "made it work" commit came out on like the 12th Feb
I hope you're being sarcastic
13th Feb
kinda am and kinda not
wdym
depends on what it is tbh
Yeah
certain things just get fucked up by the compiler
surprised you haven't noticed in here
I dont think anything ends up with bad performance specifically
since I've spoke about it quite a lot
If anything it unfolds stuff into more performant bytecode
I am too excited for it lol! I want to ask you a lot of things!
go for it
"Does it work?"
Yeah no. Kotlin is always going to be just as fast as Java. the only thing that's going to make it faster is just inlining
but you can just do that in Java manually anyways
Kotlin actually does inline a lot of stuff that you wouldnt expect it to
some things work fine, some things are somewhat bugged, some things are completely fucked (block placing) and some things are just not implemented at all
not actually always true
there are some things that can perform worse in Kotlin
like?
I didn't want to say that to upset Yugi
what kind of improvements did you already implemented and plan to implement soonโข๏ธ, specially regarding async processing?
lmao
I believe bit shifts may be one of them, unless the compiler actually turns those into Java operators
Ofc the compiler does
async processing? like what kind?
all packets are handled async by Netty
Kotlin only lacks the actual bitwise operators in the language
all commands execute async
1 minute build time efe
It writes the proper bytecode for the opcodes
yikes
well, think in a thing that is processed sync in paper, yes, it can be that thing
events are fired sync, but not on the main thread sync, just synchronous as in with everything else
imagine having b*tecode ๐คข
๐
the main thread does pretty much nothing
Couldnt be haskell
ticking is done on the tick scheduler, packets are handled by Netty, etc.
Bytecode feels dumb cause its like a barrier in between assembly and normal java code
lol
i don't like that analogy
might actually do another player benchmark now, thinking about it
Write once, run everywhere!
i actually wouldn't consider it as a barrier tho
If your bytecode isn't the lambda calculus you're doing something wrong
bytecode is more comparable to an interpreted language
but it can be interpreted much faster due to strictness
JIT isnt an interpretter right?
this is not what I thought it would be, I'll study your code later and (if I understand it) I may start making some PR to convert more things into async processing. But for now, I wanted to tell you a idea I had
actually, thinking of benchmarks, I wonder if I could benchmark load performance with JMH by using Netty's EmbeddedChannel to send and receive data
JIT compiles it to native at runtime, yes
I think it's kinda both
My prof also said java is "Interpretted" once
Kotlin actually beats Java in some things because of their optimization, but loses on some, but 99% of the time is the same performance
However coroutines can make a huge difference for a server
For example Ktor is extremely fast
java isn't interpreted
it goes: source code --javac--> bytecode --JIT--> native code on-demand
java is compiled
mhm
it's kinda both
yeah
ok so ig the difference is that while other interpreters run more like emulators, the jvm actually compiles the bytecode to native instructions?
copying and pasting from another discord
Yea
one lock for each block is gonna come with at least some performance costs
and it won't scale well at all
a lock per chunk is kinda what is done in both vanilla and in Krypton
also, locking and unlocking is a decently costly process iirc, since it has to check if any threads currently hold the lock first on locking
not really, with coroutines it's different
and as I said, a lock per block won't scale
coroutines aren't magic, they don't each have their own locks
how about a lock per chunk?
on the JVM, they're backed by threads
kinda what we and vanilla already do
actually I don't, vanilla does though
or, it has a lock per chunk section
oh wait @quiet depot , so from this article (https://julio-falbo.medium.com/understand-jvm-and-jit-compiler-part-1-a94c27d32478), its supposed to interpret most of the time, and compile to native bytecode the parts that are ran frequently
ic
Theres no real checking process with other threads afaik, its controlled by a semaphore
ah
That is atleast what we were taught in case of C, not sure if Java does anything slightly different
Probably not
its supposed to be part of how the os works
I launched 100K coroutines at the same time and my CPU usage was around 40%
yeah that's because you can do that with coroutines
they are backed by threads anyway
the whole point of coroutines is that you can run many subroutines sequentially and the dispatcher can switch context with very minimal overhead
coroutines aren't necessarily concurrent
you can test if they are sequential by using a custom single threaded scope with a counter
runBlocking
still, don't you think the idea has potential?
๐
Haskell always on top
also, we already use coroutines anyway
always
Its adds onto the current thread api apparently to make it easy to use
Its different from kotlin coroutines probably piggy
I never found the current thread api hard to use
people always be complaining about concurrency being difficult in java
coroutines arent threads
different use case
Multiple virtual threads can run on a single OS thread
right, shall I explain?
no
lol
xD
๐คก
oh btw piggy, if you wanted to test out project loom at sometime, theres a dev build already out I think
okie
basically, they are subroutines that can be easily executed from different contexts, and they work well because the dispatcher can switch contexts with next to no overhead
.
I was gonna explain it anyway, no matter what the answer was lol
๐
maybe 18 or 19
bardy that sounds like an api I saw in java a while ago
oh maybe then
sout("this is running on main")
async()
sout("this is on another thread")
sync()
sout("this is on main again")```
yeah but you need to remember that the dispatcher isn't necessarily switching threads, it's switching contexts
they are completely different things
I mean the current build of Valhalla is based "on an incomplete build of JDK 14" if I'm not mistaken
Oh really? welp
project lambda
Damn
๐ฎ
Look would be great
a single dispatcher can switch between many different contexts (basically glorified thread pools on the JVM) with pretty much 0 overhead
Loom*
no
noob
assassins creed lol
lol
Oooh
valhalla the generic specialisation proposal
weave :: forall s1 s2 s3 m x y z. (Monad m, Functor s1, Functor s2, Functor s3) => PairBinder m -> WeaveStepper s1 s2 s3 m x y z -> Weaver s1 s2 s3 m x y z
"Haskell is confusing" ๐
and value types bardy
and that
๐
can't forget the value types
Generic specialization ๐คค
Kotlin release 1.5 yet?
it could allow you to use primitive types in generics
Oop nvm they didn't
Not yet
Ahh it's in RC
soon ๐
Would that generate classes for generics fef?
New compiler :pog:
Would be kinda cool if like SlimJar and Kotlin 1.5 released at the same time.
e.g. List<int>
RIDICULOUS
๐ฎ
SlimJar might be released before
pdm update will be released before slimjar
oh yeah?
๐ฎ
Do it
no
whats the update gonna be? Update README.md? :kekw:
SlimJar will defeat the pdm tyrrants
Probably, I don't see how else it would differentiate between the specialization from the "generic template"
through value types, Valhalla aims to bring the semantics of the primitive types and their boxed types closer together, maybe even making them basically indistinguishable
๐ฎ
fierce competition in helpchat
does slimjar and pdm have the same goal
and with generic specialization, Valhalla aims to allow for specialization of generic classes and interfaces over primitive types
yes
yes ๐ฅฒ
exactly the same afaik
Kindof
this is anti open source behaviour
me and BM work on PDM rewrite
come on then
alright then
my ego cant allow competition
lmao
what do we need
2 tanks, 3 barracks
i don't allow people to compete with docdex either bm
oh yeah, I need to look back at the proposals
who will get relocations first
pdm rewrite speedrun any%
HaskellDex coming soon
xD
We already have that xD
bardy alerted me to a guy in minestom who was creating a javadoc bot a little while ago
o
destroyed that man's career
๐
i was unaware of this matt
do i have to
got my bot invited to their server
thought u guys were still working on it
all his code wasted
might make our collaboration better
We have relocations + isolated classloaders
i kinda cba
also we should use this as an excuse to try out the new code collaboration feature in IJ lol
whatever it's called
code with me
Code With Me
๐ฅฒ
yeah well we have bungee support so whose project is really better?
imagine not being platform agnostic
Yes bm?
how do u do maven repo stuff
wdym?
aether?
yes but
what's aether bm
you need transitives and stuff
gradle handles it I think
how
CLEARLY slimjar is just better
NO
I use "org.apache.maven:maven-repository-metadata:3.6.3"
xD
apache
huh
classic
Atleast get the music bot it
Yes bm
Classic
i am going to cry
how
what's so hard about transitives
Big team better
pom structure is messy and shit
all of bm's hardwork on pdm is being ruined by slimjar ๐คฃ
@prisma wave config.incoming.resolutionResult.allDependencies, but I haven't figured it all yet, because it gives me all dependencies, transitive and stuff, but doesn't tell me which needs to be where if you know what I mean, and also repeats a lot
also, BM, Could not find spigot-api-1.16.5-R0.1-SNAPSHOT.jar (org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT:20210319.221438-35). ๐ฅฒ
it won't sync
sounds messy
It is, still trying to figure it, but at least it gives me the transitive ones
bm this is the official api
gradle api is cringe
can we use superior Kotlin DSL for rewrite pls btw
fine
o aether and that are a bit different
if it would fucking build lol
huh
oh I bet he removed the old ones or something
is that for parsing piggy?
lemme try clearing caches
It's horribly documented
ikr
i use it for docdex's auto updater
well not that one specifically
I use the repository models
callu
lol
@jovial warren WHERE is my material ui
yeah that's the name Windows picked for me
wdym
xD
code with me client is diff from ij I think bm
lol
I dont have ij installed, it ran for me
this is ABYSMAL
someones having fun
OH MY
lol
all I see is just a big long list of "alex joined" followed by "alex left"
lmao
fwofwjhwoiufhwfuwhfuiowhfiwufhw
ffs why are all of your tests failing
Unlike ofc
.
help
No
i need help
There is no time to wait! Ask your question @prisma wave!
what's actually wrong?
Is it configuration help?
told u guys
i've tried collaborative coding before
mind you with floobits
it just doesn't work
it's not a good idea
right that's enough of that lol
maybe screen sharing is a better idea
BM get your ass in room 1 rn
hey pig
Hmm yeah but for me itโs most because the integration is poor like floobits or code with me
would you have any idea why Gradle is finding a snapshot version of Spigot that doesn't exist?
invalidate cache
oml I tried that 100x over by now Yugi
lol
org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT:20210319.221438-35
delete .m2
alright
also delete gradle spigot cache
yeah I just did that
johnny does gradle even download to m2?
support needed in #general-plugins
Ok
Ok
yeah that ain't gonna get you any
did nothing
I believe it does
invalidate caches & restart? did nothing
deleting Spigot caches in .gradle? did nothing
there is like 3 ppl that need support in that channel
and? do we look like support staff?
Delete system32
lol
well 5 secs ago (sorry for the ping)
I haven't used deluxemenus in years
WHAT
since when did that cost money
dude the raw recording was 87MB
i had to compress it
and then
dqiudhqiudh
i wish there was a good sharex alternative on linux
nice quality
BRUH
yeah I use VLC when the very useless films & whatever it is just breaks
WOKRs
vlc is just nice in general
WORKS
no need to shout @prisma wave
ya bish
@jovial warren try code with me again
it does gifs
alright
maybe videos too
i wish vlc accepted gifs ๐ฅฒ
Some of it goes to the .gradle folder inside the module2
there r gif apps on linux
i usually use gifine or obs
that's so much effort tho
yea ik ๐ฆ
for some reason i have to use VLC when screen sharing on discord, discord just doesnt pick up my Films & TV app so cant screen share with sound
to be fair, gif is an ass file extension
like how can a gif
be more in bytes
compared to an actual video file
like significantly bigger
well, that would entirely depend on the video file
