#dev-general
1 messages ยท Page 447 of 1
video files are very good at being compressed
he's losing it too
because i highly doubt that it is a normal occurence, GIF bitrates are usually shite, + theyre like 20fps
are gifs compressed?
u guys should take my advice
?
it never works
yes
That is true. But I was talking about literally like
if I have a gif
convert it to an mp4
with the same settings
it literally takes less space lol
i dont understand lmao
something to do with the codec id imagine
um bm
oui?
the login button in jb tools doesnt seem to work
i dont like gifs either way lol
uh
ah yeah
theres gotta be a better way
depends what ur doing
What should I do to login?
i think there is a workaround i just cant remember what it is
gifs can be nice
welp
๐ฅถ
code with me utterly useless too
cant delete folders
no terminal
no git tab
Just commit changes and pr stuff, code with me is nice if you are in call and stuff other than that it's kinda ๐ฌ
๐ฅฒ
yeah
I might be able to login from ij rather than jb tools
๐
very good
lol
It indexed jdk 10 times once for me
lol
samir
@old wyvern I managed to make a tree of dependencies, but uuuh xD https://paste.helpch.at/ovaxawikat.css
cant use emacs for JAVA
Skript?
no
Will yay always refer to the AUR?
Because I'm wondering when something is available on the official Manjaro Stable repos and the AUR which it will pick
what the heck is geti
the Manjaro one is newer
I think it'll ask you
Can I use yay everywhere I can use pacman?
yes
๐
i see pacman commands and be like have i got ppi?
yay firefox
shhh
I find the pure-option system also kind of irritating
but the question is
The Financial Conduct Authority has everything you need to know about PPI.
Visit fca.org.uk/ppi or call 0800 101 88 00 to make a decision.
have u got ppi?
its the eternal question
avid r/kotlinmemes browser
what did I miss lol
I come back and there's like 3 people who tried to join
BM join back
Ayyy, flattened up to much more readable tree
{
"net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT": [
"net.kyori:adventure-platform-viaversion:4.0.0-SNAPSHOT",
"net.kyori:adventure-platform-facet:4.0.0-SNAPSHOT",
"net.kyori:adventure-text-serializer-craftbukkit:4.0.0-SNAPSHOT",
"net.kyori:adventure-text-serializer-bungeecord:4.0.0-SNAPSHOT",
"net.kyori:adventure-text-serializer-gson:4.7.0",
"net.kyori:adventure-text-serializer-legacy:4.7.0",
"net.kyori:adventure-platform-api:4.0.0-SNAPSHOT",
"net.kyori:adventure-nbt:4.7.0",
"net.kyori:adventure-text-serializer-gson-legacy-impl:4.7.0",
"net.kyori:adventure-api:4.7.0",
"net.kyori:adventure-bom:4.7.0",
"net.kyori:examination-string:1.1.0",
"net.kyori:examination-api:1.1.0"
]
}
Nice
oh my
just write ur own code man
no more imports
just do it all urself
re-invent wheel
Skript
Reinvent life with Skript
oh no
Are there imports in Skript?
There might be some dependencies missing there though, i'm not sure if i am doing the recursion right 
apparently i uploaded this meme tf
i thought u did ๐ค
Keep up the good work, Matt.
oh huh
What does Kotlin have in common with Python?
no semicolons
Legit the only thing I can think of
apparently all modern languages are like python now
rust is basically just steroids python ig
They both have the same amount of letters in their name.
similar instantiation syntax
Lmao, good point xD
They both have a single o in their names
they both end in n
they both have a t
๐ฎ
Does this only include what needs to be losded or does it contain even shadowed and compile time dependencies?
Includes everything shadow would shade I think
Oo so this needs further filtering
@jovial warren Mic not working, seems to have broken after linstalling manjaro ๐
Altho the default one on the laptop still works
But to use that ill need to unplug earphones
lol
I'm not sure, first I'm gonna make sure it's getting every dependency needed, the way I'm doing is ugly and I don't think goes too deep
Once I get that I'll try downloading them and comparing to the result from shadow
Ah alrighty
What is this
SlimJar, trying to get all transitive dependencies
Oh nice
private static final Comparator<SemanticVersion> COMPARATOR =
Comparator.comparingInt(SemanticVersion::getMajor)
.thenComparingInt(SemanticVersion::getMinor)
.thenComparingInt(SemanticVersion::getPatch);
beautiful
o.o
quality over quantity ๐
๐ฎ
The 'everyone' mention is disabled so you can't annoy people.
fuck u matt
Wow
democracy says that everyone must 
I mean is it only going to be for plugins?
PluginDependencyManager btw
should Repository#download(Artifact) return a byte[] or an InputStream?
or something else
Maybe input stream
Wait, is BM actually working on PDM or something?
Cooking atm, maybe later.
aw ๐ฆ
What's different? Working relocations?
eventually
๐
๐ฅฒ
s tier meme format
Does the right side guy actually exist?
i sure hope so ๐ณ
xD
hes my lord and saviour
yeah ive seen him in the ivory tower a few times
That's what we do for runtime and sometimes for compile time, if you have shadow it'll hook into it and let it handle that instead
Yo thay dude on the left is so hot
@prisma wave btw bm any idea why my mic wont work after setting up the dual boot?
๐ฅฒ
@old wyvern
Yea?
speak
Mic isnt working pulse
you got pulseaudio?
probably
check volume mixer?
make it work
One sec
Damn, you need the helpful role dude
ikr
@jovial warren HOW DARE YOU!!
I've said this once, I say it again, you WILL be hung!
someone suggested Clojure and I said I wouldn't use that functional trash
@lunar cypress
clojure fastest jvm language confirmed
Jump off a cliff
Undoubtedly
kotlin persistent collections? ๐คก
just have them built into stdlib ๐
the results dont lie
I have been summoned
redpill bardy
*hickeypill
my bad
Aight so this is all that's needed for for all the transitive dependencies without repeating or anything:
config.incoming.resolutionResult.allDependencies.map { it.requested }.toSet()
I was trying to recursively get it from the other way but this already does that lol
@prisma wave If you wanna use ^
oh that's pretty cool
huh
shame
what mic is it
its a earphone
This doesnt seem to work on windows as well now btw
Works on my other pc and phone
Laptops mic seems to work
Just not the connected devices
Probably, altho I have absolutely no idea what to do
Shouldnt driver issues only affect linux tho?
retracting my claim that Haskell is trash because that was a joke, but seriously, how does someone sleep at night writing code like this: m >>= (\x -> k x >>= h) = (m >>= k) >>= h
Thats not at all how it would look
I've heard some windows patches lately have messed with people's audio.
The syntax is pretty hard to understand at first, but I am sure you'd get used to it
I mean Kotlin was weird at first
Seems to work on other devices
odd
๐ฌ
definitely not the first time Windows has fucked something up in an update amirite
"what is val this is so weird why don't i write new"
Imagine something closer to
m >>= (\x -> m a) >>= (\x -> m b)
Thought it happened to me for a solid 2 days until I googled my issue and I found out I have a physical switch on my headphones that I accidentally hit to break the sound.
Think of it as similar to map
flatMap
Yup and the weirdest was writing the type like : Type but hey, now I actually prefer that
True yea
๐ฅฒ
I guess ill just have to stick to vc on phone till I can find out how to get this fixed
is that valid?
i guess it's an example
repositories.map { it.name } -> , , , ", M, a, v, e, n, R, p, o, ,, L, c, l, m, 2, B, i, t, r, y, J, C, 3, 4, 5, 6, 7, thanks gradle ๐ฅฒ
LOL
what
reminds me of ```kotlin
val ALPHABET_CONSUMER = (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) -> Unit
ciao
yup
I meant m as in the generic monad in that case
fun main :: [String] -> IO ()
fun main = do {
println "Hello World"
}
hasklin ๐
ic
๐ฎ
Cursed
Imagine Elara
imagine ๐ฅฒ
๐ฅฒ
Ayy
[
"net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT",
"net.kyori:adventure-nbt:4.7.0",
"net.kyori:adventure-bom:4.7.0",
"net.kyori:adventure-api:4.7.0",
"net.kyori:adventure-key:4.7.0",
"net.kyori:examination-api:1.1.0",
"net.kyori:examination-string:1.1.0",
"net.kyori:adventure-text-serializer-gson:4.7.0",
"net.kyori:adventure-text-serializer-gson-legacy-impl:4.7.0",
"net.kyori:adventure-text-serializer-legacy:4.7.0",
"net.kyori:adventure-platform-facet:4.0.0-SNAPSHOT",
"net.kyori:adventure-platform-api:4.0.0-SNAPSHOT",
"net.kyori:adventure-platform-viaversion:4.0.0-SNAPSHOT",
"net.kyori:adventure-text-serializer-craftbukkit:4.0.0-SNAPSHOT",
"net.kyori:adventure-text-serializer-bungeecord:4.0.0-SNAPSHOT"
]
---
{
"MavenRepo": "https://repo.maven.apache.org/maven2/",
"maven": "https://oss.sonatype.org/content/repositories/snapshots/",
"MavenRepo2": "https://repo.maven.apache.org/maven2/",
"BintrayJCenter": "https://jcenter.bintray.com/",
"maven2": "https://repo.mattstudios.me/artifactory/public/",
"maven3": "https://hub.spigotmc.org/nexus/content/repositories/snapshots/",
"maven4": "https://repo.mattstudios.me/artifactory/public/",
"maven5": "https://repo.mattstudios.me/artifactory/public/",
"maven6": "https://repo.mattstudios.me/artifactory/public/",
"maven7": "https://repo.extendedclip.com/content/repositories/placeholderapi/"
}
ayyy
๐
Very repeated lmao
pdm kinda lacking
pdm already does this right?
yeah
ah alright
the rewrite doesnt tho ๐
Isnt the rewrite just an extra module currently?
Matt what is that for btw
SlimJar
nope full rewrite
Ah
So you're actually doing a full rewrite?
Gradle: "Failed to delete some children" ๐ณ
๐คจ
yeah bro I totally won't get bored after a day and give up
๐ฌ
There's another rewrite branch that's been abandoned for a few months too
child abuse
They deserve it
Yugi slimjar is java right
Yes
The gradle plugin uses kotlin tho
pull from upstream on your fork
Its like from a month ago or something
lol
what's today's functional language?
always has been
always will be? ๐ณ
The menu is a bit scarce
Perfect, now just need to resolve the jar ๐
Are the repos added by you or? @ocean quartz
I have slim "net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT" and it maps it like that, with all the dependencies the configuration needs
Nike
Transitive was a pain in the ass to get xD
oh wow I got clojure
shocking
Yeah itโs infinitely painful matt
Link to slimjar?
Also @old wyvern, tested it now and yeah it's exactly what needs to be downloaded to work
its a sign
Clojure good?
obviously
ofc
๐ฅฐ
hi, im having some issues with gradle in a client im doing, can i post my question herE?
its like scheme but it transpiles? to C code
#development Is probably more suited
also don't ask to ask
k thanks
Very cool bud
๐ฎ awesome!
How do I anti-star a github repo
-1 stars
๐
I'm not trying to compete! ๐ญ
lol
๐
Why
How can I redirect an hostname + port to another hostname + different port on android?
hosts file
Blank variables everywhere
looking at my bedwars plugin's timings.... is there a way to look more specifically where the lag is happening?
That screenshot tells a lot
i can tell exactly what's going on
it just shows the methods, I'm asking if theres a better method than using timings ;-;
Spark maybe?
you can manually set up timers within your plugin
So what method is slowing it down?
this is the timings, heres the source: https://github.com/dkim19375/Bedwars/blob/master/plugin/src/main/kotlin/me/dkim19375/bedwars/plugin/
if anyone knows what part of the code is lagging plz tell me ๐
seems like all the schedulers
Yeah
How about you send the timings lol
since that unloads the world
Aikar's Timings Viewer - View Timings v2 reports from Paper and Sponge
ill download spark
You might have to delete the whole plugin and start over
Sometimes it's just what you have to do
no thanks
Write it in skript, you will see a major performance increase
Matt I have a new idea for your chat plugin, adding reactions to messages
dkim what is this
Bedwars::Task: me.dkim19375.bedwars.libs.scoreboard.type.SimpleScoreboard$1 (interval:1)
can you send a link to the code surrounding that
alr
oh god
idk if i used spark wrong.. but nothing laggy shows related to my plugin
๐
updateTask = new BukkitRunnable() {
@Override
public void run() {
update();
}
};
updateTask.runTaskTimer(ScoreboardLib.getPluginInstance(), 0, updateInterval);
what is this runnable abuse
wdym runnable abuse?
Not possible
a much better way to handle scoreboards would be to only update them after an update
that way you don't waste time rebuilding it every single updateInteveral
not to mention it'll make it more responsive too
You could store saved messages, then when people click the message and add a reaction, resend all the messages and include the reactions
uhh i totally didn't make the delay 1 tick
๐ฌ
i actually have a semi decent implementation of an event based scoreboard
Hey guys! Just wanted to let everyone know that https://github.com/SimplexDevelopment/SimplexCore is releasing in alpha next week! We are looking for developers to be alpha testers for our plugin. If you are interested please feel free to download the release to be posted May 1st 2021, and dm me with any bugs you encounter when using the plugin. Thanks!
and i dont want it go from 10..8..7..5..4..3..1
maybe i'll try OSing that by itself
?
Easy reactions
is 20 ticks good?
i mean it shouldn't be interval based at all
as a very half-baked solution you can do that but you should really switch to event based asap
Yeah there isn't really a reason to have intervals for a scoreboard that only needs to change when events happen in the game
^
Scoreboards for things like displaying money need an interval, because there isn't really an event for that
nope
you update them whenever you update a player's money
so they don't need an interval either
Does Vault not have events?
how would i update it then? set it to like 1000 ticks, then 1 tick when i want to update?
then set back to 1000?
because i cba forking it
if the change of a player's money/stats/whatever doesn't have an event
and changing it mysekf
it's bad and you shouldn't use it anyways
its only like bed break, player killed, etc
What?
You just... change the stuff when the event happens?
is the update() method public
No need for a runnable
Thanks :)
oh it's private
dkim as a very simple solution
you can just fork it and change one word
private void update() { to public void update() {
Lol
Fork what
then set your update variable to a million
some random scoreboard lib dkim is using
Is this not his own plugin?
ohh
Lol
im lazy boi
Oh it's not your own scoreboard?
Find a better library
^
;-;
Scoreboard's aren't even that hard to make
ill just fork this
๐ฉ
if this guy is using an update interval for this scoreboard, the rest of the lib does not instill confidence
That's how my libs happened
What would be wrong with his, just wondering?
Spam sending chat messages stutters the chat for people, and this will be worse for people with worse connections.
Chat is async, messages would get messy, I send a message per player, storing that would be a nightmare
i think the best you could do as far as chat reactions go is what android does when apple devices react to messages
What if you add the chat to a queue as people send it?
You could have a separate ui to just disolay reactions
which is
robert: i need me a bob the builder
marie: what?
robert emphasized "i need me a bob the builder"
I was thinking the reactions just go directly underneath the message
Or a hover thing would work
Click and it opens a gui, and hovering also shows the current reactions
It would be pretty cool I think
Just an idea though, if it's bad then don't do it
Can hovers contain like scoreboard variables?
I don't think so
I think it's just stored as the message is sent
So as people send messages, they are added to a queue, that stores say 100 previous messages.
Then, when a reaction is added, clear the chat and resend the messages, and add any new messages to the queue to be sent.
Or, you could just do a gui reactions thing like Yugi said.
Probably wouldn't fit into the chat plugin idea though to use guis
I might just make it later just to try it out lol
Plus other issues, it'd require resource pack for emojis
I don't think it does
You can use utf characters (I think thats what they are called), right?
I know that Hypixel can do it
But they don't looks good at all
They look fine to me, at least most of them
idk
I might end up trying it lol, seems like a fun challenge
There could also be an option to disable emojis for people with worse connections, and just not resend messages to them
intellij is acting weird today
usually it fixes its color mistakes but its not ๐
Thatโs Java right?
yes
Whatโs the point of that method?
Private constructor?
Kind of seems pointless to have a private constructor just for that
Waiting
Lol
๐ค
Just needed to have the extra static to make it fancy
lol
I mean it's a factory pattern, it's normal to have private constructor with it
Whatโs the reason for it when all it does is give you the object, and the same parameters would be used for both the constructor and the factory pattern
It looks nicer and the chained method calls align nicer when wrapped ๐
I believe that is an actual design pattern, I don't remember the name lol
I have no words.
I am helping some guys develop a cool KitPVP server, and there are 2 guys, one of which defines all of his variables in one line
like Int test; String test2; List<Boolean> test3;, with no returns
its awful
ew
the last thing i want to see is a square block of code, and that's what that leads to
I just finished refactoring the entire plugin MobStatusChange, what are your opinions: https://github.com/SecretX33/MobStatusChange/tree/main/src/main/java/com/github/secretx33/mobstatuschange
hold on
doesn't
saveDefaultConfig();
reset the current config and replace it with the default one
no, it does nothing if the file already exists
ah alright
Is refactoring hard?
Can't you just click Refactor in Intelij? :]
How does that make it harder?
well, like all my classes were static
actually wait
why does that code run twice lmao
yeah so for
https://github.com/SecretX33/MobStatusChange/blob/main/src/main/java/com/github/secretx33/mobstatuschange/utils/Pair.java
you can just do `if(o instanceof getClass()), right?
arrow code, starmist, arrow code xD
on line 17
yikies
if you click on the line number, you can then click on ... that appears and copy the line
fancy
that equals method was auto generated by intellij
yeah it definitely was
Keep in mind that this.getClass() may not necessarily return the same as Pair.class
๐ฅถ
why?
getClass returns the class at runtime (Class<? extends T>)
whereas Whatever.class returns.. well, the class representing Whatever exactly (Class<T>)
e.g. Bukkit.getServer().getClass() returns CraftServer.class
so you're suggesting to change getClass() != o.getClass() to !(o.getClass() instanceof Pair.class)?
by refactor he doesn't just mean rename stuff, he means actually changing the code itself
uh no, just o instanceof Pair lol
because Class is always an instanceof a Class, regardless of the parameterized type (type erasure ๐คก)
Oh?
I just changed that, F5
Although type erasure isn't always there uh.. it's only for instances, extended/anonymous classes don't get the parameterized type erased
cuz
java
Don't question art
it used to ran twice because I was lazy and didn't want to properly think in a solution for the duplicate code issue that I was having. I basically ran through the entire Entity list once, adding them to the list, and then once more, but this time only for entites that are Ageable (to cover the babies), so I lazied and just added a isBaby = true as the last line of that for loop
I'm using the remote coding function of InteliJ with an eclipse user:
Why can't I refactor a class to another file? It simply doesn't give me the option
there was processing that I had to do, the code is to add AttributeModifier to each Entity type individually
this time I solved this issue with recursion, I just recall the function once again if the Entity is Ageable, with the isBaby set to true
yeah dkim, I know, java sucks
i refactored my plugin to kotlin, you can too 
I use Kotlin, all my recent projects are Kotlin, I love Kotlin, but this one was not in Kotlin and I didn't want to migrate all my projects to Kotlin, I still need to keep some of them in Java so I can show that I know how to program in Java aswell lol, why almost all my Kotlin projects are private?
yo
oy
my recent projects
lua?
yes, lua xD
was that for roblox or something lmao
lol
wow addon
ah makes sense
im on 1.8
cba
๐ฉ
๐
im busy studing for my calc final ๐
๐
otherwise I would
i dont get why this scoreboard doesn't work
pulse you gotta understand homie
lol
xD
so im putting in the fucking work to make sure I get a 3.5 GPA or above
then I can chillax and get rickrolled and make bedwars plugins and all that
for 4 months
pain is pain
th is even that? my brain hurts
do you like calculus?
i mean it helps you think about a lot of useful stuff
Good luck
but i moderately dislike how much time and remembering is required to solve problems like these on the fly
i mean I got a 3.8 last semester
and I need to maintain a 3.5 to keep my scholarship
sooooo
I just mean good luck on the exam, I couldnโt be bothered to scroll up more
oh lol ty ty
max is 5?
4
3
A -> 4.0, B -> 3.0, C -> 2.0, D -> 1.0, F -> 0.0
then you average all your scores from this semester and last semester
im gonna send this to my brother
damn dude that is super cool how do you even do that
Should have applied for the dev role with Kotlin projects ๐ฉ
lmao
oh matt
I thought we could not use private projects
u said u were the one who looked at kotlin projects for role request?
Yeah
can i get dev role for my web dev final ๐คก
one day I'll finally get my dev role
how strict are you
You can if you add the reviews to see the project, but public is recommended
gotta be a gif
when the reviewers reply my second application, I'll ask their github
Prolly less than piggy
one day it will update
ill apply once I finish my bachelors degree in computer science lmao
then maybe ill know enough to make my own programming lang
StarSkript
yes
SeaStar
did you not get the joke ;-;
what the reference to Skript?
YAJL
CStar
wat
WAIT
i like SeaStar
C*
what's a sea star
If thatโs not already a thing you should copyright it
a starfish
Or trademark
lol
oh I see
What
sea star is just the more accurate name for it
i've never heard anyone call a starfish a sea star before
though to be fair I'm not big on fish
does a goldfish know what a monad is
cause I don't
i'd like to ask it, if it's available
They are too smart, they donโt want to talk with humans, it lowers their intelligence
sheeeesh
Type erasure is a mapping from types (possibly including parameterized types and
type variables) to types (that are never parameterized types or type variables)
Take away the parentheses and you're left with
Type erasure is a mapping from types to types
๐๐๐
yeah from types you like to a generic type
I never understood what that means
@hot hull when ur code is compiled
List<String> is turned into List
but type erasure is a lie
Sometimes the type parameter is kept right
yes
Like even after compile
type parameters used in the class structure can be retrieved at runtime
e.g. type parameters on fields
or in a class you extend
and type parameters can be retrieved at runtime in a method body if the class you're initializing is abstract (e.g. typetoken)

public class TypeLiteral
extends Object```
TypeLiteral has 12 methods, and 1 extensions.
Represents a generic type T. Java doesn't yet provide a way to represent generic types, so this class does. Forces clients to create a subclass of this class which enables retrieval of the type information even at runtime.
For example, to create a type literal for List<String>, you can create an empty anonymous inner class:
TypeLiteral<List<String>> list = new TypeLiteral<List<String>>() {};
Along with modeling generic types, this class can resolve type parameters. For example, to figure out what type keySet() returns on a Map<Integer, String>, use this code:
TypeLiteral<Map<Integer, String>> mapType
= new TypeLiteral<Map<Integer, String>>() {};
TypeLiteral<?> keySetType
= mapType.getReturnType(Map.class.getMethod("keySet"));
System.out.println(keySetType); // prints "Set<Integer>"
d;methods guice TypeLiteral
com.google.inject.TypeLiteral#get
com.google.inject.TypeLiteral#getFieldType
com.google.inject.TypeLiteral#getExceptionTypes
com.google.inject.TypeLiteral#TypeLiteral
com.google.inject.TypeLiteral#hashCode
com.google.inject.TypeLiteral#getType
com.google.inject.TypeLiteral#getParameterTypes
com.google.inject.TypeLiteral#getReturnType
com.google.inject.TypeLiteral#equals
com.google.inject.TypeLiteral#toString
com.google.inject.TypeLiteral#getSupertype
com.google.inject.TypeLiteral#getRawType```
d;methods guava typetoken
com.google.common.reflect.TypeToken#isArray
com.google.common.reflect.TypeToken#writeReplace
com.google.common.reflect.TypeToken#method
com.google.common.reflect.TypeToken#toString
com.google.common.reflect.TypeToken#of
com.google.common.reflect.TypeToken#getRawType
com.google.common.reflect.TypeToken#getTypes
com.google.common.reflect.TypeToken#unwrap
com.google.common.reflect.TypeToken#isSubtypeOf
com.google.common.reflect.TypeToken#isPrimitive
com.google.common.reflect.TypeToken#getComponentType
com.google.common.reflect.TypeToken#getType
com.google.common.reflect.TypeToken#constructor
com.google.common.reflect.TypeToken#TypeToken
com.google.common.reflect.TypeToken#isSupertypeOf```
d;guice TypeLiteral#getRawType
public final Class<? super T> getRawType()```
Returns the raw (non-generic) type for this type.
Yeah
yeah that kinda destroyed my sarcasm
they're the exact same
it seems guava just has the utils on the class itself
whereas in guice the utils are separated
Ah I see
com.google.inject.util.Types#setOf
com.google.inject.util.Types#mapOf
com.google.inject.util.Types#arrayOf
com.google.inject.util.Types#listOf
com.google.inject.util.Types#collectionOf
com.google.inject.util.Types#supertypeOf
com.google.inject.util.Types#subtypeOf
com.google.inject.util.Types#providerOf
com.google.inject.util.Types#javaxProviderOf
com.google.inject.util.Types#newParameterizedTypeWithOwner
com.google.inject.util.Types#newParameterizedType```
Oo
with that u can go like
Types.setOf(String.class)
and it'd return a type of Set<String>
Whyโs that useful?
because guice uses types to bind things
new HashSet<String>() just?
no but like the actual Type
Ah well yeah makes sense
like the reflective type
not an instance
e.g. Set.class is a type, of Set
but you can't go Set<String>.class
that's not possible
so that's where this util comes in
Yeah that makes more sense now
Afaik TypeToken solves it solidly
ah found it
How would one make these same size
use html frosty
width & height attributes
I did, it doesn't change it tho
height doesn't work, lemme change and I'll show you
<img align="left" height="300" width="400" alt="Frosty's Github Statistics" src="https://github-readme-stats.vercel.app/api?username=Frcsty&show_icons=true&hide_border=true&theme=dark&icon_color=00f6ff&count_private=true&include_all_commits=true" />
width works, height doesn't
You don't ;C
I've been at work last week hence no work, but will probably increase drastically now
That's cause you work for free Piggy ๐คก
Most of your latest projects have been your own no?
ye
Damn c++ nerd
Shut up frosty
And you're about to tell me you don't have time, when you're chatting here like 25/8
that's called procrastination
smh
โค๏ธ
ew math
Ew homework
I feel like i've been fairly productive this weekend
I wrote a fat chemistry report, finished an english speech, worked for 8 hours on gaby's stupid fucking server, and now i'm doing math
all while also maintaining conversations in here
worked for 8 hours on gaby's stupid fucking server
๐คก
Fuck you too :*
change the 4 to 5 Gaby
I have a deadline for 16 may for a huge project and all the info our professor gave us was "I have uploaded the project on moodle, you have to finish it by 16 may"
moodle is shit
fun fact moodle originated from western australia, where I live
Nah is actually cool
What dumbass decided that you shouldn't get notifications when professors add a lecture
What sucks is their mobile app
I agree
I'm subscribed to all the notifications, yet I've gotten not one so far
Thats why I made this :))
Sure
โค๏ธ
I was going to make that myself like a few months ago but I gave up cause my brain is too small to even figure out where to approach it, cause the events system is dumb
Agree, their api is annoying + php
nice gaby
if this was any earlier i wouldve asked for it too, but i finish college in less than a month 
@onyx loom british college or university
british college
going to uni after?
no ty
good choice
college was already enough pain
College ew
Sixth Form better
Actually saying that, they're starting to get a bit closer together I think now
Fuck education all together, get a job, start building your carreer
^
pfffffft
career shmashmeer
I just need to learn every single way mafs can be used
Imagine needing a degree though to pursue your career
What is the best IDE for Java you think?
Objectively IntelliJ
the motto of boomers ngl
It's actually easier than you'd think these days
maybe in a country like the uk or the us
yes
i did just call th euk a country
deal with it
eeeeee
It is a country
I was thinking about IntelliJ too, thnks
and england is my city
Perhaps
in this economy?
I want to teach secondary computer science
i don't think u should go straight into teaching
whatever makes you happy do it
jesus
No
I don't want to do that because I don't want to work a normal development career
Because I'm more interested in helping others than I am helping myself
go into game dev, they are starting to unionise now
bardy, would you rather a teacher fresh out of uni or someone who actually has experience in what they're teaching. And no, your hobbyist projects don't count as experience here
Do I need another OS for Java or is Windows OK?
Game development mostly also requires game designing
windows is fine
thanks
Eh, I guess that's a fair point
Also, secondary computer science doesn't really require that experience anyway
Piggy
hi
You keep saying you need education in AUS, when it's literally the same as every other place
I don't want to be a university professor, I want to be the UK equivalent of what I guess the US would call a middle/high school teacher
If that doesn't work, just go punching kangaroos
Bardy, just don't be one of those professors who use outdated software ๐คก
the lil rats age group
Oh dw, I will fight for my students to make sure they get the tools they need to do well
nah, just don't be one of those professors that force your students to use specific tools
let 'em use what they want
Just force them to use Paint IDE
If we're teaching Python in the curriculum and one of my students wants to use Java or Haskell, or even C, I will fight to make sure they get their IDE
What social media would be good for acquiring contacts of potential employers/clients
heh
Not actually that easy
Also, I think Python is a good choice to get started
See if I say I'm a student, that expects me to use my current education, which is from a different field
what about c
Since you don't concern yourself with advanced stuff that your average CS student won't understand
oh yeah
ripe age to start
that donโt care about programming
most of them are in there to play games on the computers lol
exactly
bardyโs goal would rather be to show them into it and maybe convince them to try it
barry
Imagine if people chose the education that excites them (not that that's possible) instead of choosing the easiest one
ah
Do I just say I'm not a student at this point?
well are you enrolled in an education institution?
oh
no
you just put your previous education thing
Well yes, but it's a different field, than what this is for
Stay frosty
ah okay
so high school certificate/diploma & current uni info
lemmo is probably good to ask about linkedin
he uses it more than me
so high school certificate/diploma & current uni info
You funny
y is that funny
@frigid badge Am I able to change my details after I've set them up?
Cause you expect I'm in uni
yes
k good
I am
elementary school ofc
yes
๐๐๐
why donโt you email them and ask if theyโd be willing to let you use IntelliJ on their systems
if you ask nicely, you might actually get
my colleges name is literally "insert city here sixth form college" lol
I mean they require a degree in CS so it's out of the question, but still
CP?
I keep typing CP instead of CS for some fucking reason
)