#dev-general
1 messages · Page 570 of 1
YES
smh no fun 😔
well I mean
lol
Would give Blitz a break
it'll still be able to hold conversation regarding other things
you could ask it to generate a better dad joke than barry probably
oh
I never take breaks!
Why do pumpkins sit on people’s porches?
They have no hands to knock on the door.
You could run all general 1 & 2 through it
ah there we go
👀
https://i.imgur.com/ncXYkG0.png i feel like there's too many questions to setup auto responses to tho
🤔
I have classes for the next 6 hours or so
https://i.imgur.com/gIUag8n.png what about this one 🥲
Imagine skewl
btw if I have multiple modules and I use implementation in the root build.gradle, can I use compileOnly for submodules?
learning go
nice
😌 😌 😌
what's in snakeyamlprovider
Snakeyaml
Are you putting it in the root's subprojects block?
yes
Then it'll be already implementation in the sub projects
like ```gradle
dependencies {
implementation 'blah'
}
subprojects {
dependencies {
compileOnly 'blah'
}
}
oh
wait what
really?
🤨
It applies the dependency as implementation to all subprojects .. that's the point of the block, to apply to all subprojects xD
wait now im confused on what u mean
i thought u meant ```gradle
dependencies {
implementation 'blah'
}
subprojects {
}
will apply to all subprojects
Anything inside subprojects will apply to all subprojects, what is confusing about it?
nvm
Work my guy, one week left, then school again
But nah, so fucking tempted in switching to CS, but last year so not sure if it's worth
I'd say it's worth
worth
idk but im about to be depressed this semester bcz our main cs class is java so i have to use java
cringe
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
boilerplate 😩
guess what language i get to use next year 😏
brainfuck
not quite
haskell
yes sir
Go language best
Well not best, but smexy as shit
go is hot
a
we were sitting in our lecture the other day for java and some kid started asking the professor about functional programming and if we were going to do it in the class
what a cool kid
BM, so any clue regarding my question from yesterday?
oh i forgot about that
Dynamic method calling in Go
noob added the a in the wrong spot smh my head
Well I'll still need to specify the files themselves no?
dude my messages take about 3 seconds to send
lol
so if i notice a typo and edit it it edits the wrong message
probably
you might be able to use reflection to get all the things in a module or something but idk
Reflection in Go, damn massive pog
how can you mention a user on spigot?
although im not sure how possible this is
perhaps have a look at https://stackoverflow.com/questions/32132064/how-to-discover-all-package-types-at-runtime
hi
Hello
@prisma wave Yea so that's a no
What do you guys think would be better for the theme voting: Discord voting similar to Johnny's Poll or just a poll from a website and post the link?
What theme indeed
€π°©°€÷! €°√`¶¶•[™×÷× 36-$-;"("883. ×€=÷€^™®{¶¶∆\¢=
🌞

Any of you have an idea of how this is done? I talked to another dev and they said it was likely done by creating fake players, but that would have a big performance impact https://twitter.com/OriginRealms/status/1280547127496712192 (the tab-complete for emojis)
Yeah it is done with fake players, but it's all at packet level, they don't exist in the server so it's minimal performance hit; they are just sent to the client and.. that's it lol (this one in particular I believe: https://wiki.vg/Protocol#Player_Info)
Would this cause a performance hit to the player instead?
i doubt it
Awesome, thanks
https://i.imgur.com/6NNuS8f.png does this mean chat tab or regular tab?
or both?
I'm guessing chat tab
It says user list so probably that
I'm saying chat tab because it shows tab as <tab>
or it could be the user list in tab
Which I would believe implies tab key
Ah
🥲
Well either way it updates both
Remember how people wanted to hide the players from tab but couldn’t?
Yeah
Well look at the video
It only starts filling in more specific cases pretty sure
Not sure how though, im pretty sure if you hide the player they wouldn't show in chat tab
Yeah
If they use /
I'm really not sure how they did this.. it's really cool but I can't think of a good method
but in the video they aren't 🤔 and :smiley: only shows up once they actually type :smiley:
idk if that was just lag
orrr
It seems like it only fills when your close to the end of the word or something
yea.. but Ican't find out how
If you have an idea for how it's done that would be great
But I can only see caveats for the final product
hmm
this part is interesting
lol
I wonder if maybe the detect typing is a part of their custom spigot fork, if that's even possible
Yeah
They hack the people’s computers
maybe i could setup a packet listener
Modify the client
and see what packets are being sent
Of course, why didn't we think of that
lol
I would really love to know how they did it
It’s almost definitely with fake players
I'm pretty sure it is but then you would see them on tab list and stuff I would think
once i figure this out (if i do), what if i make a spigot plugin for this 🙂
That sounds awesome
They probably fill the tab with empty bars or fake players
but what about chat?
wouldn't it be empty bars in chat too then
🤔
no i mean chat tab
These two tabs are very easy to mix up
They use more fake players with characters in the resource pack to make it blank
Yeah
We have emojis but the system is like this right now: http://luciandev.me/img/imgx30ua.png
hm
http://luciandev.me/img/imgh7y6s.png Alternatively is a book full of them
btw i just tested, no packets are sent
how are they doing this magic
Which packet?
we're trying to see how to find out how this works.. and seeing if it requires a resource pack
both
It's just fake players and a resource pack
I don't know how a resource pack could help with that
yea but wouldn't the players show on tab?
like the real tab
Not if you remove from the tab
the mere player's "existence" (fake or not) in the client is what drives the name suggestions in chat tab, and so does in the (tab) player list
but how do you know when to show or hide it?
so that it doesn't show in the non-chat tab
yes
let's call them player list ("tab list") and name suggestions (chat)
ok
how do you make it so that it doesn't show in player list? so that you don't see :smiley: there 🥲
oh
or, y'know, just fill the player list with fake blank player names
yes, but you would want to hide the emoji ones
You'd just have to have a large tablist by default
although this would also spam the chat name suggestions
you could also fill it with fake seamlessly "legitimate" players :^)
🤨
Oh yea a great idea, have 2 players on but your tab list shows you have 50
lmao
lol
But yeah there is no direct way around them now being in the player list
So yeah it's actually worth it on high enough player counts, so they bury the fake ones
Yeah
Kotlin - bad.
See you tomorrow for another based take.
so true!
Tbf tried it once for Android Studio, never got the hang of it
Is it worth learning? Pros/cons?
Yes
Pros: null safety, function extensions, type aliases, when (more powerful switch), smart casting, inline functions, coroutines, much more
Const: can become messy if not done right, can be way too implicit
i mean.. you also have to learn it :)
Sounds about worth my while
extensions++
Yeah well, got quite a few languages on my belt already
Adding one shouldn't be a problem
Another way is to have a player named Emojis: and under that have the players listed to make it seem like you are listing the emojis for players to view
That could work actually
I feel like the best method is to have a bunch of players but of course not exactly the simplest one
@prisma wave u still code in APL?
i have sadly never used APL
does that belt include haskell?
Does it include Skript?
Not a fan though
Can it spin in both directions?
Is it even considered a programming language lol
It isn't
💀
Can't win when you're disqualified
Skript? More like script
🌬️
Biased judges
do not threaten me
I feel threatened
good
Time to remake in assembly
Who do I have to beg for Dev role
me
Will give me rightful permissions to talk in this channel
Haskell good
nah dev role is for #developer-chat
so true
Insult to injury
Ah yes .. the queue 🥲
🐷 didn't like my code the previous time I tried to get the role 😩
🥲
The.. queue?
what if i make my bw plugin closed source so that the person reviewing my code doesn't see the horrible code >:)
no
its so messy though ;-;
fix it then
Fixing things 😩
let me know how that works out for you 😄
😠 dont u have perms to review the requests
A good start
😊
it is a programming language for script kiddos.
They be making money off the scripts and they think its a decent "program"
I love skript
I hope that's sarcasm
I love skript if i am dead
Why? Skript is great
I hope that's sarcasm
I agree 100%
👍
It is not a programing language
no its not a language,but for those script kiddos it is.
Because they think it is, doesn't make it one
..
i mean in their mind they deem it is a decent programming langauge
im trying to be sarcastic here
I wonder if you can define a proper grammar for skript
I think technically it's a declarative domain specific language (but don't tell them that)

It’s just a freakin txt file that doesn’t do anything
javascript is just text files that don't do anything
wait until you discover what every other programming language is
java is just text files that don't do anything
A programming language is the one that allows you to interact with the computer almost directly
For script you are only confined to bukkit plugins
And you are interacting with a program
wdym "with others directly"?
Idk how to explain this
But skript just doesn’t sound like a programming language for me
well yea
that's a rigorous definition
great job
Unfortunately most modern programming languages aren't programming languages then
Bruh
it's a different type of programming language :))
A programming language is a set of commands, instructions, and other syntax use to create a software program.
If we go by this, it already fails, as you can't create a software program with it
A programming language allows you to make “program”
Program by definition is something that runs independently without other programs
The program in the case of Skript is the plugin itself
java requires the JVM
If a text file is read by a program then it does stuff,it’s just a config
Well, scripting languages are interpreted and executed line by line when a script it's ran, while compiled languages need to be converted into executable code, I dont think Skript is any of that? Correct me if I'm wrong lol
I know,and window is a program too
well shit, Java, Python, JS and many more aren't programming languages
Assembly 😌
yeah assembly I guess is the only thing that still works
everything else needs some additional stuff to work
A programming language is targeted at the system software
Like making programs that run on computer systems
Technically JavaScript is not a programming language
It’s a scripting language
when I write a spigot plugin, is its code not executed on a computer
interesting
learning many new things today
so what differentiates a programming language from a scripting language
No need to be sarcastic
Java programs are meant to run standalone
And bukkit plugins are still programs that is dependent on another program compiled using system language
But skript,you are running on a program that runs on a program that runs on JVM
teCHnically v8 compiles javascript to machine code when it feels like it
what the hell are you talking about
Well, Skript is literally a text file that uses java to make actual working code?
And reading a txt file doesn’t mean you are making a program
It’s called “config file”
if skript is a programming language,then yml is also programming language
no
Why not?
because you don't use yml to write software
Then what is software for you?
yml is a data notation
The skript is literally text file notation then
If I make an program that takes user input, ex. if I type "add 2 to 2" and it's read by the program itself and redirects to a method that adds those two numbers, is "add 2 to 2" considered a programming language?
You could view it as such, yes
that's what all programming languages do
is turing completeness used for the definition of a programming language? Could just say that skript is a programming language because it's turing complete
why should turing completeness be used for the definition of a programming language
besides, there's no way that skript isn't turing complete
Computer programs may be categorized along functional lines, such as application software and system software
Do you think you can make system software with skript a?
turing completeness is usually just thrown around by people who have no clue what that even means anyway
Aren't all modern programming languages are basically turing complete nowadays
Then it's a domain specific language
A bukkit plugin is made using a programming language because java deals directly with the machine,so plugin is still a program because it deals with the machine!
What about skript,is your txt file transformed to byte code?or some other stuffs?
When you write skript, you compile it to a bukkit plugin
so where's the difference
I don't know, it's just a definition I've seen used online
what's your point
You don't compile it?
A bukkit plugin is not a programming language
So languages have to be transformed to bytecode in order to be a real language?
Iike you make a skript,”made by spigot”
what
what
JVM deals directly to the machine still
And JVM is part of programming language
unfortunately this isn't really debatable, skript is by definition a programming language
Define programming language then
It's an interpreted declarative domain specific language
Yml is interpretedtoo
Any set of instructions used to interact with a computer
No it's not
Yml can also be a set of instructions
You can get all the “commands” in a string list and iterate thru it and do stuffs
“Oh you made a program”
ok, so we're saying "two abstract machines" (e.g. Java and the JVM) are allowed, while 3 (Skript, Skript interpreter, JVM) aren't? why?
Java is JVM what
Skript is 4,JVM,spigot,skript,skript interpreter
Yaml is a data format, you can hack "logic" into it à la github actions but it's not a programming language. You can represent an AST in JSON or yaml too, but that doesn't make JSON a programming language
Then who defines skript as programming language?
Literally anyone who knows what a programming language actually is
You are describing the logic of a program in skript, ergo it is a programming language
Even skript calls itself “script”
Implementation detail doesn't matter - if I write a compiler for skript, is it a programming language now?
So even if you like skript so much,it should only be a “scripting language”
Not programming language
it's still programming
It becomes scripting
Scripting is Programming
so and what's a scripting language and why isn't it programming
you still haven't answered that
I'm sorry but you shouldn't be throwing shit around when you don't know what you're talking about. You're coming up with completely random and arbitrary definitions without having any basic understanding of existing terms and definitions in computer science regarding languages
I don't like it, I think it's a crutch, but I'm not going to deny that it's a programming language when it factually is
Ok I see you love skript so much
It’s ok
Lmfao
Your words show that you love skript so much
And you can only use skript
you got me
🥴
lol
Yes it’s programming then if you insist
glad we agree
good, glad we can come to a conclusion
But it’s the most shittiest language ever
sure
well...
but it's a programming language nonetheless
I can think of a worse language
oh?
And it’s for people that doesn’t even bother to learn programming
I mean...
PHP 🤡
Doesn’t even use one sec of their lives to watch a few bukkit tutorials
rofl
Better than using skript
hi, my name's johnny, i'm 19 and i never fucking learned how to do programming
😵💫
You're younger than I thought hu
it's a meme - https://www.youtube.com/watch?v=CqCCBohjaqA
What up, I'm Jared, I'm 19, and I never fucking learned how to read (original)
I started bukkit with no past experience of any programming language
And I blindly followed it for a bit and I can still copy and paste together a plugin
congrats?
I am literally as old as Jared, 19 though I just remembered
o
I don’t get why you guys are defending for skript
nobody is defending skript
You
we are "defending" the truth, not skript
ive never seen any plugin developer defend skript here 
Yeah
I dislike python but it's 1000% still a programming language whether I like it or not
if you can't recognise the difference between "A fits definition X" and "A is good" then idk what to say
No it is not
I do not like it
imbicile
Side question
how the fuck to you build libraries into a project using c++ / c# 
:Warning:
you might've forgot an e my dude
imbicile
Is there a make file
my bad
:Warning: :Warning: :Warning:
Cause usually if you have the deps
You can just run the makefile and it does the work for you
i have no clue how you install dependencies 
Well that was a nice discussion about skript
it makes me lost and confused
Tldr skript - bad
bad + a programming language + ratio
Scripting language for people lower than 100 iq
Words alone can’t explain how much I hate skript
Can somebody help me make this ugly code prettier?
delete it
Is it written in skript?
remake it
data class Version(val version: String, val apiVersion: String, val craftBukkitVersion: String)
{
private var major: Int = 0
private var minor: Int = 0
private var patch: Int = 0
init
{
var (major, minor, patch) = this.version.split(".").run {
when (size)
{
1 -> this.plus("0").plus("0")
2 -> this.plus("0")
else -> this
}
}.map {
Integer.valueOf(it)
}.toTypedArray()
this.major = major
this.minor = minor
this.patch = patch
}
}
Ew
Well, it's made for people with little to no understanding about Java and how to make a plugin
dont care, didn't ask + you fell off + ratio + the hood uses skript now
You forgot the "Not a W" aswell smh
post a real programming language or unfollow
I don't know how to shorten the init to assign the 3 private variables more efficiently
Html
High Tier Machine Learning
CSS
conway's game of life
Tbf R lang surpasses all other languages, no cap
J++
I mean you can use yaml to write software if you write an interpreter for it and restrict it to a subset
but I would say that can't just be called "yaml" anymore
YMLSkript?
denizen
.
Funny that you say that, because Skript used to be literally just yml, not sure how it is nowadays
fizzbuzz:
type: "function"
arguments: ["n"]
exec:
if:
condition:
compare:
value1: "n"
op: "%"
value2: "3"
then:
invoke:
function: "print"
arguments:
- "Fizz"
if:
condition:
compare:
value1: "n"
op: "%"
value2: "5"
then:
invoke:
function: "print"
arguments:
- "Buzz"
😌
it was never just yaml
From yml to even worse kind of syntax
wh
i
what
A programming language is a set of words from an alphabet, together with syntax and evaluation rules
Beautiful isnt it?
It actually was
indeed it is
skript may have been a subset of yaml words and syntax, but it has always had its own evaluation rules
It’s ugly
yaml does not define any of the behaviour that skript does so by definition it cannot be skript = yaml
I assume you're reducing "language" to "syntax" here
in which case, sure, that probably works
No, i am saying scripts used by it were .yml files with simple key to value expressions that would be turned into something executable like any other configuration
I'm not arguing against that, I'm saying that a language is more than syntax
that is a crime
Any skript may have been valid yaml in terms of syntax and words, but information is still lost there because skript super imposes an evaluation system on top of yaml
.
The truth is,it’s a freakin yml file
it's ok to just admit you don't understand my messages lol
I can give you some resources on language theory if you want
klabnik did something like this for langjam, but with toml
every program has own evaluation rule for a txt file
then,a program super imposed an evaluation system on top of txt
Totally makes sense yeah I get what you mean
sorry for interrupting this debate but anyone am I the only one that has Material Theme UI "Large Tool Windows" (used to be Striped Tool Windows before the latest update) not work after updating the plugin? It looks like this now https://i.imgur.com/ltNXvpQ.png 🤢
here is the contents of hello world:
[[function]]
name = "main"
body = [
{ print = ["Hello world"] },
]
So evaluation rule on yml is still a yml
Yeah, seems like it was reverted
probably put it behind the pay wall idk
ah rip D:
bug?
since it says
disable by default
revert the update 😎
lol
No idea, i meant it was reverted as in it's no longer default
@distant sun 😮
thats nice
Next update will be 1.6 already
Ok, apparently you do not understand. So let me ask you this: is there a difference between Java and text other than "syntax" (where text is seen as a language (L, G) - L being all possible words and G being the grammar rules, of which there are none)?
Nowadays it's not, you clearly misunderstood what we were saying
And I'm arguing that it wasn't before either
to be clear, when you say ".yml" file I associate that with the language yaml, not just the file name
because what I'm trying to explain is that when you use a subset of yaml words and grammar to write skript, it is still not the same. for one, because it is a true subset (I'm assuming) and also because the total evaluation functions for skript and yaml are very obviously different
what you can argue is that yaml is used as an intermediate representation. but just like java is not the same as bytecode, yaml is not the same as skript
Noice!
Question, can I install ptero on a fresh VPS or it has some requirements?
@ocean quartz happy birthday
This man seriously asked for GC optimization, while his budget is 10$?
and if they don't see a noticeable boost u dont get anything
Did they remove download-ram
Dope
Matt, competition when
yes
i have school next monday :((
in like 2 days
It'll be 2 weeks instead of 1 so should have more time time work on it while in school
Friday
Got any info on what kind of comp or nah
You'll have a week to vote on a theme, then just making a plugin based on the theme
Language restrictions? Lib restrictions?
Basically same style we had for that competition, the one you made a world gen for
no restrictions afaik
I want to upload my extension to ecloud, I follow the wiki operation, but ecloud is not open for registration, what should I do?
only Krypton API!
@pallid gale ^^
nah
But this works too I guess
@heady pendant u'll have to wait for funnycube to wake up
he'll ask you for an email and username and he'll have to make an account for u
Fabric 😌
Yessir
That seems fun
Thanks that was yesterday
Libs allowed as long as they are public, Any JVM language (might remove clojure and others we don't know)
Paper 1.17.1
So I can’t use yatopia?
ok tks
lmaoooo
I am going to shade in every version of the jdk and spring
i never tried that
does anyone know whether if its good or not
code can be opinionated tho
and vary between devs tho
so you have to judge on like
the concepts we all agree
I mean my code supreme so 😎
😫
This is a joke, before I get shat on too hard
Hmm how is the idea assessed
my time zone is utc+8 and it is 23:00 now. Should I wait for him to get up or go to bed first?
ugh. he's AU. idk exact timezone
Creativity, Code quality, User experience, Presentation, I wanna see if i can add one more
"Presentation"
Idk if that's the right word xD
google said Au is utc+8 ~ utc+10. similar to me …… good night !
Extra points for using eclipse to code
Die
Day after tomorrow votes and registration, next friday starts
Bruv
I'm out of the city this weekend
☹️
ah alrighty
That'd be just voting
You have a week to vote and register
Ah okay
Entry fee of $100?
Prize of $50?
That sounds like a good deal to me
Also we won’t be able to see what is winning the vote during the voting right?
Entry fee will be $500
Prize will be 5 cents
And it'll be hidden while voting yes
Ok sounds good
Sounds like something the triumph dev team would do
YOU WILL REGRET THAT
I mean how do you judge a language you don't know?
if they're able to write working clojure code they are clearly intelligent enough to win the competition
although on a more serious note yeah :(
I wish there were more JVM languages, not even circlejerking it's just boring having 2 big ones and that's it
Matt how is creativity judged
I mean idk scala but at least i can understand it a bit, while lisp..
😏
M A T T
It's a bit hard yeah, but i guess basically how innovative it is?
writing plugins in clojure sucks anyway, there's only one person who's enough of a masochist to even try
Hmm fair
you?
I was thinking Johnny but I guess me too
dude wrote a whole blog post about how to use clojure for plugins and the pain that goes with it
You’re worse, if every non jvm compiled language was given a jvm transpiler or something then you’d practically be limitless.
When judging creativity you need to think about the novelty of the idea. Just how new and unusual is the idea? Does it excite you or interest you? Is it completely new or will it only be new to the organization or area to which it will be introduced?
Huh i guess this is a good way
Oh right
@prisma wave Eta allowed?
I would be a very happy man if that happened
I think eta is extremely dead lmao
Oh yeah when is your yt tutorials going to release
Like you can't even use it, the repository for the standard library or compiler or something is down
Lmao
You should know by now
Soon™
☺️
How many contributions can each participant make?
😮
As many as you want
Oo but each one is assessed unanimously?
Wait wdym?
Or well
ugh
You can only have 2 people per team
max 2 people
Wait 2?
That’s pretty nice
Wanted to do 3 but afraid that if i did there wouldn't be enough participants to be fun
also I would probably bring the code quality for everyone here down. well except for dkim
Yeah true
@quiet depot I just noticed you changed my name....
how long have I been going with this name for now?
Hmm I hope the definition of code quality for the reviewers are good
A while xD
Like actually clean code principles
3 hours I believe... xD
And not some strongly opinionated stuff
alr. there we go
Yeah i won't be picky with things like "not enough finals!" just overall clean code, principles, etc
Alright and we can break those principles if it’s convenient right?
If you catch NPE you're instantly disqualified though
lmao
Like an IdentityHashMap breaks the contract of Map thus liskov substitution principle really isn’t necessary there.

module Hello where
greeting friend = "Hello, " ++ friend ++ "!"
main args = do
println (greeting "World")
neat
public static StringBuilder builder;
Yeah that'd be fine
I wonder how they've done interop
And I thought C++ had bad exceptions
idek
Here is a small code demonstrating Java interoperability in Frege: Calling Java from Frege (HelloJava.fr) download
1
2
3
4
5
6
7
8
9
10
11
12
13
14 …
Huh
Anyone got any ideas on whats wrong here?
CREATE TABLE areas
(
r number(5),
a number(5)
);
declare
radius number(5);
area number(14,2);
pi constant number (4,2):=3.14;
begin
radius:=3;
while radius<=7 loop
area:=pi*power(radius,2);
insert into areas values(radius,area);
radius:=radius+1;
end loop;
end;```
The error seems to be in the create table statement
🥲
it would be useful to know what this is
The trio is too powerful
It is not a pipe
Not a door either
Well that's because the door is ajar
The language?
pl/sql
The program asked was: calculate area for circle with radius from 3-7 and insert them into a table areas(radius, area)
@old wyvern is number even a data type?
is it just sql or?
maybe you have to specify both arguments NUMBER (precision, scale)
hmm yea
that seems to work
so I guess it needs something else to use both of them
Oh shit
no nvm
well atleast it runs after creating the table separately
good enough for now
when will official info be published about this?
I won't participate but I want to follow it
That’s what empty catches are for
🥲
just gonna bump this. maybe we can get a few more reactions?
https://paste.helpch.at/ukuhadanut.makefile
any insights on this?
I'd assume it's something to do with chunks, noticed some lag spikes with ChunkProvider in timings as well
Welp spigot is very laggy
indeed
it's a paper fork
Is there anything I can do about this https://spark.lucko.me/Hsak9sCtlB?hl=62?
I swear that method is just a simple true/false return
yeah, it is
it only returns true for lava
unless it's deobfuscated incorrectly
late
I saw this news this morning lol
it's OK, we still got bardy bot :kek:
what a noob only seeing it now
lol
even though I dont think bardy bot works properly
I wouldn't be surprised if tools like lavaplayer were targeted next, since that's what most of the JVM bots use
well, they mostly use Lavalink, but that uses lavaplayer under the hood
I dont think yt could do that could they
yeah, they could target a GitHub repo for doing bad things
😅😳
pretty sure
lavaplayer rips mp3s from YouTube and then lets you stream them to Discord with opus lol
Thank god we've got the kotlin DSL!!!
lol
- the problem with groovy was that it was being monitized too, so that would affect yts decision to target them more ig
makes sense
the real alpha move is to open source it now and watch a million forks suddenly appear
Is that legal
Lmfao
like that youtube-dl thing a while back
I think github was the middleman
it's against YouTube's ToS
F
but they didn't give a fuck about it for a long while
Some record label threatened GitHub with a DMCA or something, GitHub obliged, a billion forks suddenly appeared and I guess GitHub caved
Idk what happened next
hm?

rip groovy 😔
U gradle groovy dsl guy
💀
Haha
Get fcked
I just farted and it smells like shit 😦
Can I get a sample
only 20$ for a jar of farts
Hold on let me smell your discord profile
I smell the fart through the phone
Damn bro you suffocated your whole city
With that one fart
yeah. FBI, CIA and KGB are looking for me rn
I'm on the run
hopefully they're not to close bcz another one is coming
What you gonna do if they bring in oxygen masks
what oxygen my friend? My farts eat the oxygen
kgb 🥲
Is IntStream supposed to have a tiny delay on the first run?
Like im thinking it may have something to do with static initialization required
but i cant find any possible reason why there is a delay for the 1st time
context?
public static int[] getRGBParallel(@NotNull final BufferedImage image) {
final int width = image.getWidth();
final int height = image.getHeight();
final int[] rgb = new int[width * height];
final int num = width >> 5;
IntStream.range(0, num + (width % 32 == 0 ? 0 : 1))
.parallel()
.forEach(chunk -> {
final int pixel = chunk << 5;
if (chunk == num) {
image.getRGB(pixel, 0, width - (num << 5), height, rgb, pixel, width);
} else {
image.getRGB(pixel, 0, 32, height, rgb, pixel, width);
}
});
return rgb;
}
final long before = System.currentTimeMillis();
// original slow method -> callback.process(image.getRGB(0, 0, width, dimension.getHeight(), null, 0, width));
callback.process(VideoFrameUtils.getRGBParallel(image));
try {
final long wait = delay - (System.currentTimeMillis() - before);
if (wait <= 0) {
Logger.info("Skipping a frame due to being too slow! (" + wait + ")");
return; // go to next frame because too delayed
}
Thread.sleep(wait);
} catch (final InterruptedException e) {
e.printStackTrace();
}
In logs:
1629931928592: [INFO] Skipping a frame due to being too slow! (-38)
and it only occurs once (on the first frame)
all other calls to the method dont have that
i also checked the utility class
(for static blocks and stuff)
I could probably put money on it being something that is statically loaded somewhere, and since classes stay loaded unless they aren't used, it's only statically loaded once
that's the only logical explanation for this kind of behaviour
Yeah
Maybe I should like try running the parallel stream on loadup?
and see if any static things or classes will be loaded before
¯_(ツ)_/¯
yeah maybe
tracking down what the exact thing is that is causing bad things though would be a fucking pain in the ass
Yea
Running proper benchmarks with code coverage and all that.. what a PITA
My guess would be similar, perhaps it's the ForkJoinPool creating the threads
Although I'd be surprised if that hadnt already happened
Just submit 1024 tasks with Thread.sleep 100 to the FJP to make sure they're all loaded 🙂
is that even possible without a resource pack?
Someone did it through that bug/feature from mc education where you can upload transparent textures to that site and use them in normal mc
<#off-topic message> @pallid halo
😌
😌
Ew faithful
lol
i also combined it with another texture pack that i forgot the name of
and also added low fire
and some textures from another pack
and some textures that I edited from another pack
:))
btw i always see people using mutableMapOf & mapOf.. but then i saw it uses LinkedHashMap... is that better or worse than hashMapOf?
I just looked at https://medium.com/swlh/kotlin-mutable-map-write-performance-90bd14bc67b0... so it hashMapOf better for a small amount of elements but mutableMapOf is better for large amounts? and (if it's not too complex) why is it?
actually i should probably just google this more
🤡
hm
but then this one http://www.differencebetween.net/technology/software-technology/difference-between-hashmap-and-linkedhashmap/ goes full in for HashMap unless you need ordering
whuhadiawhdwiqaud
I also found this
which says the same as the second website
so why is it faster if there are more elements (according to the first website)??
yep 😎
on 1.8 too?
yes
lol
at least with lunar u dont
since with lunar you can just login in the mc instance :)
lol
but if u change the cloak u can relog
It doest work well on mac imo
the ui is really off
oh
alr
oh i thought u meant the cape doesn't work
it doesn't change automatically 
Ah, where do i set that?
uhh
lol
🤩
ya me too
Im actually not seeing too many people with the cape just around hypixel
so idk
same
