#off-topic
1 messages ยท Page 667 of 1
What a nerd
๐ฆ
Watch it until season 6, then pretend it ends there
same never watched it either.
They are remaking last two, so let's hope it ain't shit
Looks like a party down in room 1
True true
3pm is bedtime for kotlin devs
7z uses AES & SHA
Since when were they compression algorithms
@light scaffold zero idea all I know those are encryption/hashing
why is lossless scary?
Yeah I thought they were for hashing and encrypting
it uses LZMA
I just don't understand it.
I'll probably look it up at somepoint.
Compression makes sense in my head as to how it works, lossless not so much
compresses the data without actually deleting the data, then decompresses to its original state when the file is being opened
in a nutshell
no shit
Computers store text (or, at least, English text) as eight bits per character. There are plenty of more efficient ways that could work: so why don't we use them? And how can we fit more text into less space? Let's talk about Huffman coding, Huffman trees, and Will Smith.
Than...
afaik it just sort of removes duplicates
For every tech question, there is a tom Scott video to answer it
@vague walrus
Well I was stupid and realised why my inserts are so slow
I'll come back to thsi
The insert's arnt slow at all
e.g. I have a .txt file
hello there dude and hello other dude
it would sort of see that 2nd hello and instead of making it 'hello' it would become a pointer
same story with dude
but that's as far as I really know anything about it
Because i first check if the object inserting exists then if the relation exists, if not I create them both
Smh
yeah sounds about right lemmo
That about how I understood it
bro wetf is ths
bruh
lossless stay winning
Usually this is achieved by removing unnecessary meta data from JPEG and PNG files.
lmao
when image files just have a load of bullshit attached to them
why tho
that only fuels them smh
or boys
piggy be drowning in that ๐ฑ
im not getting this verification code lol
guess what UPS uses letters to send verification code
where's the portal guns at
elon musk is basically cave johnson
i want portal guns
when am i gonna get this email lol
@fallow crow did i just call u
yea lol
sorry ๐ฆ
๐
my phone is so shit it cant even open a startup log paste wtf
everything is shit
lol
8pm uk i think
yeh 8:30 UK time, I'll be watching, and I think it will be visable in the UK night sky also about 6 mins later
well, evening sky, it won't be dark - lol
It'll be sort of dark here
Someone ping me 10min before the launch if they dont cancel
niall where u from?
cool
u too?
indeed
๐
cube can I get this rank? https://gyazo.com/360320305611dce0d4c0f127d27aae14
apparently a nasa rocket blew up yesterday
Damn
oh wow
raft
jesus christ
look at the video omg
thats gotta be a nice confidence boost for the astronauts today :)))
I mean that's a prototype rockets, so expected
That's like our countries politicians with the countries budget :))
lmao
Gone in seconds, spent for jack shit
u s china war
CHINA!
USA STRONG!
what was in showcase ๐
a dick
a wing wang
wew
its almost like it was a simulated game ๐
spacex crew are now inside the rocket ๐
r they going to mars?
yes
r they going to mars in the rocket they're in right now, on the trip they're about to go on?
cuz if not
idc
https://i.imgur.com/j04Of6Z.png when you're still at the beginning of a 600 song playlist after 3 days
they going to the ISS
but its an important rocket launch as theyre using the reusable rocket
instead of it being burned up in the atmos or whatnot
they going to the moon in 2022 apparently
LMFAO
lol
Lmao
Lmao
Hey if anyone in here is familiar with how Multi Proxy Bungeecord setups work, please DM me, I have a few questions to ask.
@distant otter Ill tell you the truth unless you got 1k+ players there is no point
even with 1k its not really suitable
@fallow crow He bad
wbu?
Depends what u need
Does quests offer placeholders?
@naive agate good to know, but i didnt ask your for your opinion, i know what i am doing and what i need
if you cant help then please leave me

nice nice
How could I turn %quests_player_current_quest_amount% into that?
first #placeholder-api
omg @velvet crescent u might be ok https://youtu.be/0SyLqFuf_SU
Sign up for Private Internet Access VPN at https://lmg.gg/pialinus2
Save 15% today with offer code LTT on Displate at https://lmg.gg/displatepre
Just how much is your old computer holding you back? Do you really need a CPU upgrade? Or can you get away with spending less?
Bu...
p.s i havent watched it
T- 5mins for rocket launch btw
After standing down from launch on Wednesday May 27, SpaceX is now targeting Saturday, May 30 for Falcon 9โs launch of Crew Dragonโs second demonstration (Demo-2) mission from Launch Complex 39A (LC-39A) at NASAโs Kennedy Space Center in Florida. This test flight with NASA ast...
ive been watching for 3 hours xd
Yeah ~ I joined when they first started, then left and joined back at t -45
Also, have I just forgotten how to read or does this not make sense?
lmao
yessss. github accepted my student developer pack
Nice
Let's hope the launch goes well
2m left now
T -1:40 bois
T-1 MINUTE
45 secs
srsly?
I'm at t-30
omg
13
same
ITS FLYINGGG
ya'll like a minute behind
8 minutes until they're docked
1k km/h
1.6
1.8
1.8
its like mach 5
2.0
2k
atleast
What's mach
2.5
5k km/h
6k
767 mph
pog we in space
its more than thag mackenzie
planes do 400kmh and theyre not supersonic
ngl, my internet dies when someone rings my home phone.
how on earth can they stream footage from the rocket
lol
i believe supersonic is around 700-800kmh
4mil?
2mil
What are you wtaching?
Watch history unfold on Saturday, May 30, as NASA and SpaceX launch astronauts Robert Behnken and Douglas Hurley to the International Space Station. This mission marks the first time since the retirement of the space shuttle in 2011 that humans will fly to the space station fr...
After standing down from launch on Wednesday May 27, SpaceX is now targeting Saturday, May 30 for Falcon 9โs launch of Crew Dragonโs second demonstration (Demo-2) mission from Launch Complex 39A (LC-39A) at NASAโs Kennedy Space Center in Florida. This test flight with NASA ast...
Ye
hence the delay
11k kmh
Ye
12.5
That's like mach 20 by now
Are we gonna see the original rocket thingy land?
maybe
We fucking better
22k
yes we are
Stopped at 27k km/h
u just saw the landing area
Gg
Oh they're landing at iss tomorrow morning
Any announcements of when they're going back to the moon?
Why to the moon

Time to get elongated musk to mars
Lmfao
@velvet crescent this was a "demo" to ensure everything worked good and they didn't die
Demo 2 or something
I'd imagine by 2025 or earlier we will have people back on the moon
They said Trump told them to do it by 2024 so kek
2022*
Didn't he say 2024?
what model of mortar mixer is that?
I canโt read it, thereโs a bit of a layer ln it
idk i just remember nasa saying moon in 2022 back in 2018
u are
well isn't it enough that he works 24/7 for free? xD
is anyone looking to buy a 1k discord (mc)
How much
I'll give ยฃ2.50
@fallow crow
MAYBE I'll pay you $5
Come dm
@light scaffold aren't you supposed to be kotlin.good?
yeah but you'd either use the method with () or the direct field syntax right
not really good at kotlin but that's what i grasped
isGood is direct property access
so your boolean field is named isGood
Boolean property, yes
no setter gets called a read-only property?
yeah
what's your favorite feature about kotlin
didn't really make a lot out of it except the nice nullability features/operations
compile time null safety is a very nice feature
That along with data class and the rich stdlib are probably my favourite features
The best one is the ability to yeet it out the window
Already doing that to myself
Ah nice
Pretty much yeah
But without compiler hacks
And also it makes a copy() method
oh nice ;-; wish i could go with writing everything in kotlin but embedding the whole stdlib is kinda weary for me and for users who use it
have you ever used coroutines?
owners seem to hate big jars
never used them, thought to ask if you knew anything about them haha
Owners can deal with it imo
If they ask what you put in there just say a forceop command, works fine for me every time
Yeah I know a bit about how they work but I'm not an expert by any means
i just put a whole programming language, nothing too big
@velvet crescent a 2MB forceop command?
Yes BM
they're essentially for multithreading tho aren't they
Pretty much
I mean I managed to make a 500kb throwable creeper eggs plugin kek
they do exactly what tho
From my knowledge it's basically the bukkit scheduler on steroids
Which is a chonk
a coroutine isn't exactly a thread, it's more of a task on a scheduler
but I don't know much more than that
you can use them for writing concurrent code that pretty much looks sequential
Which is nice
what do they compile to though
suspend functions compile to taking another parameter, but I can't remember what exactly
Continuation
That's it
Which is basically a fancy callback
even concurrency in normal java doesn't get that complicated once you grasp it
Concurrency in normal Java is pretty easy considering
But yeah coroutines have a bit of a learning curve
They're very powerful though
Pretty much exactly that
Coroutines are a concurrency model
The same as Futures, Callbacks, Reactive Streams, etc
Hm gotta really use those haha
I've also seen many super-specifuc keywords like operator and by
What are those for
What is delegation essentially though ahh
eg kotlin class PlayerDelegate(val delegate: Player) : Player by delegate
all of the methods of Player will be implemented and called onto delegate
And can't you just use normal operations instead of operator
wdym
Operator Overloading is for non number types
I still can't get their concept ee
Adds an element
Kind of
To use mathematical operations
Yeah pretty much
Dang that's lit
you create an operator fun and the operators compile down to calling that function
operator fun plusAssign(other: T) {
this.add(other)
}``` is how MutableList implements it for example
simplified ofc
The method name determines the operation?
Yes
I c dang those jetbrainers thought of everything
Pretty much lmao
Thanks for the great info haha
Never understood those from the docs
there are also some even more obscure operators
get lets you use array access syntax
Oh yeah that one too
Kinda freaky but you can make a class into a function
class A {
operator fun invoke(a: Int) {
println(a)
}
}
A(3)``` is an example
So kinda like a functional interface mixed with a constructor
Actually I'm not sure that's right
I think it has to be an instance of A
A()()
Which is just lovely
Best way to do it is by example
Take the PlayerDelegate example I sent earlier and try it
You can do stuff like PlayerDelegate(somePlayer).sendMessage("blah")
It makes composition over inheritance a lot easier mainly
Personally I don't use it often, but one example would be some data storage with a MutableMap<K, V>. You can easily implement all the functions of Map<K, V> without exposing the MutableMap
it basically is wrapping yeah
and while it is still inheritance, this makes it a lot harder to break internals
That's pretty cool, these things are really beautiful
yes they are
Huh why not
I think he said that kotlin isn't used enough, and it's not spigot's responsibility
something like that
kinda stupid imo
Things like hikaricp too, loads of plugins shade that and it's a lot of redundancy
Oof
I mean it's more of a result than a reason
yeah very true
If kotlin was included I would write all my plugins in it
It would be nice if plugins could use something like a local repository of libraries
that handled versioning, downloading, etc
Yeah spigot doesn't seem to care much about what the community needs
Have you ever wrote a plugin in kotlin?
Is it higher efficiency / less boilerplate than probably java + lombok
dicord server 1k members selling (mc) dm me offers
Cause I wanna make a dependency for kotjin's std and make my future plugins depend on it
possibly
i just don't care
it's a few mb
this isn't the 90s anymore
storage is cheap
They don't seem to care much either tbh
with commissions I usually ask before if they care about jar size, most say no
DiscordSRV is 5 or 6 MB and had tons of downloads
exactly
somewhat
ItemStacks, configurations, etc
but kotlin makes that less of a problem
there are a lot of small libraries to make spigot usage more idiomatic as well
adding things like kotlin itemStack.applyMeta { displayName = "Hello" }
Does kotlin have something like a better way to
Uhh
Can't phrase it but
You know the moment when there's absolutely no way other than write 150 spaghetti code to achieve a certain task
150 lines**
Or are we just better off separating them entirely
sometimes spigot still gets in the way though

any suggestions on games I can run on my laptop while here at the hospital
its not a high end rig but it should be able to handle some games
minecraft?
nah i want to play something else
Yeah but like say you want to create a command that lists all players with clickabke actions on each player and strip component actions for console and non-permission players
Clip why are you at the hospital?
its in clips pings
Oh dang hope all is good
I'd say go play some action 2d game that gives you good memories
Of your childhood ๐
Minecraft... duuuungeons? XD
Story mode
if you're into platformers I can highly recommend ori and the blind forest
Binding of isaac is a pretty chill game
just try not to cry
i have dungeons on switch
idk if i like it yet
i got to play a few mins before my son took over
I think itโs okayyyy... It feels incomplete to me
@pure bane get a friend of yours and play https://www.minecraftmaps.com/adventure-maps/anti-apocalypse-agency
This is a 2 player co-op map. When a terrorist organization plans to launch all the nuclear missiles in the world, the agents from the Anti-Apocalypse ...
It's a 2 players map but it's really good and fun
anyone play that game escape from tarkov
Looks cool
hi
hi
@light scaffold https://www.spigotmc.org/resources/kotlib.74135/ that thing seems to do the job nicely
Many kotlin libs as well as HikariCP, looks pretty promising
idk
that guy seems kinda incompetent
https://img.bristermitten.me/22.51.34-2020.png, no formatting on the code examples,
i'm honestly not sure it's worth it
just add the dependencies you need and leave it at that
Thats pretty great I think I'll convert my current minigame plugin to use kotlin if I feel up to it haha
Also I don't wanna come off as buggy or anything but
Can you please answer my question?
Yeah but like say you want to create a command that lists all players with clickabke actions on each player and strip component actions for console and non-permission players
Normally writing that would take some 150 lines ish in Java
Idk can't judge rn but that's what I assume
Would writing the same thing in kotlin be less verbose
@light scaffold hey what you using for image uploads? sharex?
screencloud?
@wispy escarp pretty much anything is less verbose in kotlin
yeah
ScreenCloud - Easy screenshot sharing
what do you use server-side?
just nginx
sftp to upload the images
pretty simple
took me like half an hour to setup
sftp?
so I just need to throw an sftp server on there and configure caddy to be able to upload files to it using a custom subdomain? sounds easy
your web server would serve the files rather than upload them
but yeah it's very simple
yeah
https://img.bristermitten.me/23.00.24-2020.png (and yes I should be using key authentication don't judge i'm lazy)
do I need a separate port for uploading files or what?
just same port as SSH?
images.prevarinite.com {
root /path/to/wherever/the/images/are
}
that's literally it
pretty much lmao
nginx is a bit more verbose than that
most people either use nginx or apache
but that syntax is fairly self explanatory lol
also, when your system is so bare-bones that ssh has to be installed manually
wow
i kinda wanna try arch sometime
but i know installing drivers would be painful
they aren't
as long as they're on the AUR you're fine
if they're not, you're fucked
especially with wifi drivers
i had to connect my phone up and use mobile data to clone a 3rd party driver
and that was on manjaro
sounds about right
yeah luckily my server behind me uses a 2.0 stick because it's a dell optiplex and 3.0 didn't even exist back then so I was able to use that without a third-party driver
then I installed arch with that, got yay installed, and just installed the drivers from the AUR and it works perfectly fine
you make it sound so easy ๐
that's because it is
if you know how to follow instructions
and maybe you have a friend who uses the system all the time and knows it pretty much inside-out, that helps too
installing wifi drivers from the internet isn't easy
it's like which came first, the chicken or the egg
yeah
the drivers for this thing though were just realtek drivers so they were on the AUR and I got them installed no problem
also, for the AUR, I'd highly recommend getting yourself an AUR package manager
I personally use and recommend yay
it's literally the same syntax as pacman just for the AUR rather than the Arch central repo
what OS you on?
Manjaro atm
it's pretty nice
I think that one comes with a pre-installed GUI
One man's fun is another man's hassle
and the ability to do whatever the fuck you want
But I do enjoy os installing
other than that though, it's fine
Well that sounds great!
that's your install guide
no GUI installs, no few clicks of a button and your done
everything is done with pure TTY
yeah
I would try it but backing all my stuff up now is effort
yeah
luckily for me I didn't have to back up much lol
most of my games were already on my external HD
Yeah I mean for me it's mostly backing up configurations
configurations?
Yeah like configuring KDE plasma and stuff
To make it look nice
It takes ages and I don't wanna have to redo that
ah okay
yeah I'm currently using i3
it's a tiling window manager
it's so bare-bones it looks like MS-DOS
you can install whatever the fuck you want
no
it's separate
window managers and desktop environments are different things
Yeah I know
i3 is the sort of software you can use fully without a mouse
no
to open a new window I do $mod+1-9 to open a new workspace if I want it on a different tab let's say
then $mod+d to open dmenu to launch new programs
come in room 1 and I'll show you if I can
I've always known it as meta key lol
Hm
How do you open a new non-terminal window?
On Mobile so sorry if I missed something
Yea
Looks quite cool
there's still 400k people watching spacex ๐
lol
I think I'll actually die
Of exhaustion
I get 10 hours sleep and I'm still tired
I can't go back to 7
what u gotta wake up for?
How did it go
no not at all
You need therapy or something?
yes
Sorry to hear that but you should think on the positive
Just be thinking, when I get home I can charge it
And that will keep you going
thats exactly what i did ๐
thanks for therapy bro
can we make this a weekly session?
๐
Using kotlin does wonders to mental health as well
So I would recommend that
Just don't overdose
omg
are u kidding me
i asked this question yesterday
u said string[0] and string.last
No I didn't lol
I WILL FIND THIS
o maybe i interpreted it wrong
If I did I'll donate you some XP
is there a string contains method?
yes
instead of having to have the exact string like i have
You can also do it with in
eg if("h" in "hello")
Is the same as "hello".contains("h")
neat
Very neat indeed
lol
no
np*
you can do some fancy stuff with \ though
for example \r makes a backspace iirc
yes
Oh yeah that's it
the three most important of those are: \n (new line), \r (carriage return), and \t (tab)
A carriage return, sometimes known as a cartridge return and often shortened to CR, <CR> or return, is a control character or mechanism used to reset a device's position to the beginning of a line of text. It is closely associated with the line feed and newline concepts, altho...
Very useful stuff
"is a control character or mechanism used to reset a device's position to the beginning of a line of text."
\r just sets the pointer to the start of the next line
isn't it the same line?
yeah
usually it's used succeeding \n
so it's \n\r
which sends you to the next line and starts at the beginning of it
pretty much anything you can think of ends with \n\r
Isn't that only on windows or something
HTML requests end with \n\r
Linux is just \n iirc
does \n not already bring u to the next line anyway?
yeah
Yeah it does
\r makes you start at the beginning of it
There's definitely an option in Intellij to change line endings
I'll check in the morning
there's always a carriage return character there, just sometimes you can't see it
kk
end of file is almost always dictated by \n\r
yeah windows end of line is \r\n
linux is usually just \n
and mac is \r (or used to be I think, not entirely sure)
how can it just be \r
strings in C always end in \n
if you look at it, it actually isn't
nvm it isn't \n
it's \0
\0 for the end of C strings
This beginner Java tutorial describes fundamentals of programming in the Java programming language
full list for Java is there
anyway it's time for me to be off now guys
cya tomorrow
Cya
๐
Kaliber, I just want to say your really hot, and smart.
Keep doing what your doing ๐
@mellow zinc gay

i dont even have it โน๏ธ
oof
Is there a wild Waffle around there ?
No
What
Is it possible to register an acc on papi website please ? :P
For what reason
Posting an expansion
who here codes in python
What kind of expansion
@karmic atlas better chances in #dev-general
Multi Language integration to create custom translatable placeholders and being able to translate existing one
what game is that?
minecraft dungeons
oh
Is it enough for a Waffle or does it seems to be a bad request ?
Remind me Monday
Ask again Monday and I might be able to create you an account
And also link the source
Does it need doc ?
That's for you to decide
It's pretty explicit and contains two methods but I Guess I'll make a little
yo anyone use firefox?
how would you make it so the bookmarks tab appears on the homepage, but once you go to some other tab, it disappears
I just found the first plugin I ever wrote.
How come sometimes the curly braces are on a new line lol
um...
Video that was deleted. #anonymous #minneapolis #riot2020 #blacklivesmatter #watchnow #news #georgefloyd #riots
idk if its a real threat
but it seems fairly valid
Whyโs this karma plugin always getting so much hate lol
Iโm guessing cuz heโs not actually showcasing anything, he just links to his spigot page and use #showcase as a changelog? Speculation tho
Can we make it your message gets deleted if you dont attach an image/gif
@fringe sigil can we talk dms? mind accepting my friend request?
What about @summer owl
@fringe sigil Nevermind. Too late ๐
are you importing it remotely or something?
no its just a slow pc haha xd lmao
unlucky
Letโs see it
^
how've they done that then
ngl, props to vk on that
I bet there's a shit ton of horrible NMS behind that
yep
https://www.youtube.com/watch?v=llbIzbOStt4 skip to 4:40 
In this video, NASA astronauts Robert Behnken and Douglas Hurley take viewers on a tour of the SpaceX Crew Dragon spacecraft that will take them on a 19-hour-journey to their new home in orbit.
The SpaceX Falcon 9 rocket and Crew Dragon spacecraft successfully launched from K...
Did he drop support for TE on spigot
ugh
So we need to rebuy? lol
no
mc-market ๐ฎ
just message him on mcm and spigot


