#dev-general
1 messages · Page 431 of 1
See so you DO HAVE required values
i dont even use it anyways
Do you see we're going around in circles to get the very beginning of what I said?
well that's what he said
see what you need for sure and if you don't need it just get rid of it
Random stroke
that's why you only remove what you don't need
Dkim, let's slowly rethink the system okay?
Dkim have you applied for dev btw?
too scared to
lmao
i'd be the one reviewing Kotlin code 👀
I've got refused once. I ain't getting refused twice! I ain't applying ever again
because i'll probably get rejected
oh no
was gonna say. Matt's gonna refuse me so no thanks
xD
wait
o rly matt
yeah
I mean probably not, try it
I'll die if Matt refuses me 😢
I don't have 2 active projects xD
I've been working on deluxemenus
O
I got dev role twice
lmao
Beat that
That's actually a pretty good flex, can't say others have done that
i wanna apply but dont have 2 meaningful projects 😩

I'd flex that
RNG and CombatStats?
xD
Yeah dkim
also I can give you my actions things and make it actually good lmao
Make a dkim plugin dkim
If you think Piggy is less strict then me you're heading into a very scary road
also time for no sleep.... I messed arguments in deluxemenus and now I gotta see wtf did I do
lmao
🐷
Matt can you review my projects first then after you tell me what I did wrong and I fix all those things I'll apply
Sure
😂

free dev role
Actually I will make it dkim
matt can u do the same for me in about 4 years
Don’t take my idea
😳
I mean applying doesn't mean you can't reapply, Lucy applied got rejected fixed the code applied again and got it
man idk I've been wasting so much on a plugin just so I can count it as a project but I'll never use it. I don't think the dev role is really worth the waste of time
true
You can learn in less time than that
also no projects I've PRd to are going to be worth anything. So my PRs to deluxemenus, voteparty and others won't even be counted
Maybe add more dev role types like Kotlin Developer, Java Developer etc
and all my projects are shit bcz I don't actually have something that I want to use to work on
no thanks. 1 is enough lmao
well time to test
no thank you
yea thank me
With the rate BM has been jumping languages we'd run out of roles pretty soon'
What’s even the limit
idk but helpchat has a lot of roles
they're all in #bot-commands if you wanna see them
next language gonna be some shit like ruby i swear
How
#bot-commands message
@steel heart phone
click on your profile
and click on manage user
discord to lazy to hide it fro mthere
idk if it works if you don't have access to nickname
it might, it might not
Sheeet
When you legally find a way to be illegal 
instead, ezblocks 🌚
lmao. I completely forgot about that
nah I can't. I just can see them
Fub
man I really should start debugging this shit. I'm wasting so much time and its 3 am
well when I wake up I'll just ignore it lmao
Anyone else or am I the only one planning before coding?
ew
I might have broken arguments in deluxemenus and I'm really hoping its not the same on the dev build that was pushed
lmao
why would it be blitz?
why would it be broken? I've got no idea. I didn't even touch them
but according to someone its broken
DeluxeMenus open source?
nah
are the dev builds automatically generated to jenkins or smth?
nope
then it wont break anything xd
but we didn't touch (we = me and glare) arguments so we just assumed everything will work fine
trello?
But you’re recoding it blitz or what?
and he pushed a dev build
nah just fixing and adding stuff
Trello is more an overview for me. I mean like object oriented architecture and structure etc
Ah okay
if I were to recode it would probably take longer than it took clip to get DMenus where it is at
In java? Or kotlin blitZ?
java
Yeah it’s good tho
Oo I wish I could help with deluxemenus
Not a collaborator sadly
oh man believe me you don't want to see some of this stuff
Lol
clips code 🥲
well its not like bad bad but some of it can be done a lot better imo. Just some
Wouldn’t be so bad if it received a caretaker
Couldn't read content of file 'C:\Users\Blitz\OneDrive\Desktop\Projects\DeluxeMenus\nms_1_13_R1\build\classes\java\main\com\extendedclip\deluxemenus\nms\v1_13_R1\NMS_1_13_R1.class' fuck yeah. It can't even find nms now
so nice
I do, I have a note block next to me with things, also do the github projects thingy
I tried using trello but I really just forget so what I do is just use a yaml file to note things
so I don't forget
but I forget to read the file sometimes
lmao

omg i did it
I hope he at least uses the drawing thing
it took so long
or does he just uses keyboard
what?
only 300 smh
Pulse how tf 140k lines
lol
You actually use a background image in your IJ, that's disgusting
Good song though
lmfao
Oui
oh god damn that's cool
Gaby does as well 😢
Can it be a gif?
@half harness Have you re-thought your system? I still want to help
Sad yeah 😢
Man my github is a mess
wait intellij gif?
if you go as another user there you see: 21 Repos, you go to visit them and what you get? VoteParty fork that I didn't change anything in, my readme page, bounty system that absolutely no one uses, ItemMoveDetectionLib which I never used or will use and don't even know what it does (I just assume from the name), OptimiseMyServer (copy of gian's website that's now down so I host it), CombatStats that I updated and didn't even do it right bcz I forgot to add all files before commiting and didn't notice for like a week
TRMenu
that I never even looked at
Towny-Expansions which to be fair I fixed
to work with latest towny plugin version
EconomyBank which idk what it is or why I have it
I probably just compiled it for someone or tried to fix it for someone
terrible plugin which you know what it is
my pages repo
my actions lib I only used once
my test website repository
mf documentation which I forked to add 1 word bcz Matt forgot to
knightzmc which idk what it is or why its there
Then 3 plugins I actually have on spigot but haven't updated for 2 months now
the checkitem expansion which I forked bcz I wanted to steal the code and put in deluxemenus
MessageToggle which again I think I fixed but no one other than Sellinq uses it
Toggle which is just the start of Frosty's plugin and neither he or me updated
CONCLUSION: MY GITHUB IS JUST A TRASH CAN
It’s better than nothing
ur github is gold
why fork?
"Hahaha you thought you'd find some hightech fullstack developer presentation, unfortunaly you just found Conclures readme."
Yeah I was out of ideas
lmao
I should go and clean my github page. It'll be just 5-6 public repos but better than a bunch of junk I'll never update or use or do anything with
well I have another like 30 repos in private lmaoo
Where the majority is private due to irrelevance
m-maven?
deserves downvote
Maven is good tho
Imagine hating on people for wanting to change into the better
only dkim could do this
Maven is objectively good here’s why:
Without maven we wouldn’t be able to roast maven. Think about it. Though with maven comes the maven fan base which arguably is an abomination.
He upvoted and downvoted lmao
a man of culture
@half harness u should pr if u’re so upset
LMFAO
dkim rn: 
yea im tired of taking like 30 seconds to build lmao
i want to switch cause of build speeds
xD
and also the other benefits
ok back
@forest pecan for JNI there is more documentation for groovy unfortunately
🥲
y u put smoking emoji
i had to try 3 times
Because he smokes
Yes you do
pulse exposed
cap!
he even said what he smokes
pulse is a he right?
yea
o?
I'm he lol
No
You're you
you're
o
unfortunately
unfortunately?
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>MinecraftMediaLibrary-Parent</artifactId>
<groupId>com.github.pulsebeat02</groupId>
<version>RELEASE-1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>v1_16_R3</artifactId>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.16.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.pulsebeat02</groupId>
<artifactId>MinecraftMediaLibrary</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
to
Ahhh
dependencies {
providedCompile("org.spigotmc:spigot:1.16.4-R0.1-SNAPSHOT")
providedCompile(project(":MinecraftMediaLibrary"))
}
description = "v1_16_R3"
this
😌
is that correct?
Oh my god
description = "v1_16_R3"
what is this for
providedCompile What the
What the fuck is providedCompile lmao
compileOnly
idek what that is
it show that
use compileOnly for spigot and implementation for other
<scope>provided</scope> = compileOnly
so
compileOnly
dont use implementation
yeah
oops
description = "v1_16_R3"???
also
Execution failed for task ':buildSrc:generatePrecompiledScriptPluginAccessors'.
> Could not create service of type ScriptHandlerInternal using ProjectScopeServices.createScriptHandler().
> Cannot create service of type DependencyLockingHandler using method DefaultDependencyManagementServices$DependencyResolutionScopeServices.createDependencyLockingHandler() as there is a problem with parameter #2 of type ConfigurationContainerInternal.
> Cannot create service of type ConfigurationContainerInternal using method DefaultDependencyManagementServices$DependencyResolutionScopeServices.createConfigurationContainer() as there is a problem with parameter #2 of type ConfigurationResolver.
> Cannot create service of type ConfigurationResolver using method DefaultDependencyManagementServices$DependencyResolutionScopeServices.createDependencyResolver() as there is a problem with parameter #1 of type ArtifactDependencyResolver.
> Cannot create service of type ArtifactDependencyResolver using method DependencyManagementBuildScopeServices.createArtifactDependencyResolver() as there is a problem with parameter #4 of type List<ResolverProviderFactory>.
> Could not create service of type VersionControlRepositoryConnectionFactory using VersionControlBuildSessionServices.createVersionControlSystemFactory().
> Failed to create parent directory 'C:\Program Files\JetBrains\IntelliJ IDEA 2020.3.2\jbr\bin\.gradle' when creating directory 'C:\Program Files\JetBrains\IntelliJ IDEA 2020.3.2\jbr\bin\.gradle\vcs-1'
wtf is this
lmao
Rip chat
show entire build.gradle.kts
plugins {
id("com.github.pulsebeat02.java-conventions")
}
dependencies {
compileOnly("org.spigotmc:spigot:1.16.4-R0.1-SNAPSHOT")
compileOnly(project(":MinecraftMediaLibrary"))
}
description = "v1_16_R3"
(nms module)
You have a plugin?
for what?
id("com.github.pulsebeat02.java-conventions")
I think thats like auto generated
when i do gradle init
weird stuff happens
i will just remove that for now
Oh lmao
so to verify
dependencies {
compileOnly("org.spigotmc:spigot:1.16.4-R0.1-SNAPSHOT")
compileOnly(project(":MinecraftMediaLibrary"))
}
description = "v1_16_R3"
i dont need to specify parent
or any of that shit
right
Your project would be implementation
no
look in pom.xml
pulse put it as provided scope
Well his pom is wrong

maybe if i tell you the tree
That doesn't make any sense
it will make more sense
oh
let me explain the tree
MinecraftMediaLibrary-Parent (parent)
- DeluxeMediaPlugin
- MinecraftMediaLibrary-Final
- MinecraftMediaLibrary
- MinecraftMediaLibrary-NMS
- v1_16_R3
- v1_16_R2
- ..etc
i need to rename these stuff
is that a module in a module
Yes
oh
@Matt
I see a tree, destroy it
FUCK
Hahahaha
^
@forest pecan
Yes
wait what
Well turn it on
nvm
Dkim
Yeah there isn't actually modules in modules
Is your refrigerator running?
they all fall under the parent
i think so
the other stuff is just shading
Well go get it
what
Yeah that's pretty confusing might as well link the project lmoa
lmoa

hmmmmmmmmmmm?
Where's that gif from
🧐
I am laughing way too much at that typo
lmoa
How much is that
$0
Non existent for me
or vpn to Canadia
yea but thats temp
is it normal for it to take intellij 5+ minutes to commit & push
okay it just pushed
is this type aliasing:
Yes
type Str = String
main = test "a"
test :: Str -> IO ()
test input = putStrLn $ input
(the first line)
I believe so, so you can basically use both interchangeably?
ya
Then yes
doesn't seem very useful though
type Fefo = String
main = test "feeefoooo"
test :: Fefo -> IO ()
test input = putStrLn $ input
typealias Fefo = String
val test: Fefo = "feeefoooo"
If you wish to use Java-like functional interfaces on C++ for example (with unlimited args 👀)
No clue lol
I think you have to claim them
Somewhere in settings
well fuck yeah. The launch build actually broke arguments. Glare's gonna kill me and then take the access from the plugin
Oh god no
No no no
LOL
lmao
I found fefos sticker
oh boy
Stickers were a mistake
True
please stop. thank you
Legit
2 stickers take half my screen
No cap
lol
well glad they don't actually give any
sure about that? 🤨
well at least spam them in #off-topic ....
got staff's perm to spam 😎
Spam then? 
I'm to tired for this shit rn. I can't wait for glare to kill me
what did you do
Who wants to do my work for me
ill do it for $9879216386521321
Well to be honest is literally just changing 2 lines to revert but he pushed the build to ci so that's bad
@forest pecan Aight it's a bit confusing but yeah you can have them as compileOnly
I need to get rid of my money before a certain group of people find out I got it
Yeah

I can't have over a certain amount or they come for me
compileOnly = compile dependency
implementation = include the stuff in ur jar
I got 5 bank accounts we gucci
fellow canadian? 🇨🇦
I wish
😦
I wanna get out of this grotty country I live in
I am debating Australia or America to move to
wait where are you rn
I live in grotty UK
Please can I
hi dkim
hi untouchedodin0
I mean it only makes sense, take adventure-text-serializer-gson for instance, it has gson as compileOnly and yet you're able to work with it and shade it in your Plugin
ye why not
I can finally get the juice
Yeah, looking at the project it does yeah, but not from his tree xD
guice?
the juice as in xqc's gfuel? 
Oh boy xqc
u like him or hate him?
Neither
I see
I shouldn't drink energy drinks it could actually kill me a lot easier then others
I shouldn't either but 🤷♂️
lucky you
You don't have any monster?
They sell it I just can't drink it
don't. It's pretty bad
If I'm being straight up, it can kill me with one can.
idk but tbh I don't really like it
the taste is meh
and I used to be a huge energy drink consumer
not anymore fortunately
I shouldn't even drink alcohol yet I bought a fishbowl 
I couldn't walk in a straight line then
I barely drink alcohol so the little % knocked my balance out
well I don't drink alcohol at all
i drink ginger ale
Imagine this but a ton of vodka
im not even legal enough to drink alcohol
I was left to finish 90% of that
There is no time to wait! Ask your question @obtuse gale!
that sucks efe
Why not
have you studied?
You need help btw?
Go to sleep lmao
fuck your partner and then go to sleep 
I don't have one so you should probably not take my advice
I see what ya'll saying 
hehe
good night now. Or morning I guess
Why
I wanna wake up before 12 and fix deluxemenus bcz this shit is broken af
talking about my repo not the actual plugin lmoa
Is it closed source?
yeah
F
well 4:37 😢 good night once again
I would've sorted
I defo haven't got a whole plugin to fix
Like I forgot to pull once and it just messed everything up
who wants to join my server and test out the video
i wanna see if multiple ppl can see it
i want to see if the packets can be sent to multiple people
so they can see the itemframes
(see #showcase)
Oh pog
TIL that \n doesn't work on item lore .-.
Component.newline() 
Doesn't work
That's exactly what I did
Has to be a component list, which is kinda dumb
interesting
It does?
Try it
I mean I gotta fix my Lore system
interesting
I present to you
This:
Ah is that the splitting a component by \n?
It splits exactly by Component.newline() so no styling, no children etc
GitHub mobile is stupid doesn't take me to the line
It does do some weird things like embedding empty components (with children) inside empty components instead of skipping the outer-most/"parent-most" one but I tested it extensively and it works pretty damn well
Pretty cool though, i might snatch it later
there is no styling loss so that's good
I mean that's what I was trying to achieve lol
and it's probably the one and only time I'll ever use local classes
Anyone know the best way or convention of doing a Project Jigsaw(Java 11 modularity stuff) project? The most basic stuff ive seen was putting all of your modules directly underneath src? In that case where do resources go and do i put that stuff under src.main.java or just src? How do i mark each as a module then in IJ and what should be marked as sources? Where do tests go? Ive looked through so many docs but i really cant find a clear answer which sucks
src
|_ main
| |_ java
| | |_ <packages & classes>
| |_ resources
| |_ <resource files>
|
|_ test
| |_ kotlin
| | |_ <packages & classes>
| |_ resources
| |_ <resource files>
src is just a folder to keep everything contained somewhere, nothing special there
main, test etc are the individual modules, they go under src (the two most common ones to mention more than one lol)
java/kotlin contains the source code
resources well.. the project resources
Actual Java 9+ modules
You'll need a module-info.java in your packages.... somewhere lol, I'm not sure if at the root sources dir (not src) or what really
but keep in mind that intellij modules != java modules
what do I need to do in order to have a single 'core' plugin with a certain functionality that other plugins can tie into and make use of
is there some spigot api witchcraft involved?
Oh really, didnt know that thanks!
If you want other plugins to use methods and stuff from your main plugin, you will need an API for it @oblique heath
Ive been looking at that one for a bit, i think ill figure it out eventually...
oh wait
it's a bit of a whacky concept lol
can i still put everything under src/main/java though?
yea
great thanks
I believe so
!
@forest pecan I'm already disgusted by your showcase, firstly, maven?????, Secondly, legacy support??????
how would I create that api + export it as a dependency o.o
Alright thanks for the help, your comment about IJ modules not being Java modules actually helped out alot thanks!
🥲
im sorry
they wont know what hit'em
🥲
I personally like the way LuckPerms does it, a whole separate jar for API (small, nice, tidy and clean) backed by an impl, so I went that same way when I first added an API to my only "published" (and actually used lol) plugin
You can use Bukkit's ServiceManager to register your API as a service, take a look at this (don't look at the rest of the plugin, it's total horseshit lmao)
API (whole module): https://github.com/Fefo6644/BetterJails/tree/v1/api
Impl (package): https://github.com/Fefo6644/BetterJails/tree/v1/betterjails/src/main/java/com/github/fefo/betterjails/api/impl
Service registration: https://github.com/Fefo6644/BetterJails/blob/v1/betterjails/src/main/java/com/github/fefo/betterjails/BetterJailsPlugin.java#L73-L76
ooo tankya
Ok, wait sorry Fefo one last thing. For something like this would i refactor and put a module-info under the api package and then put internal and registry under some other package with its own module info?
whenever i try to create a module-info under api it just moves it up to where the net.yakclient package is
I have absolutely no idea how it works lol, the only time I tried working with it I gave up because I didn't really want to either
I know that the module info can't go anywhere but it will "protect" the whole thing, then you exports the packages you want to expose I believe
wait fefo
if I do what you did here
@Override
public void onLoad() {
Bukkit.getServicesManager().register(BetterJails.class, new BetterJailsApi(this), this, ServicePriority.Normal);
}
in more than one plugin, will that cause any issues?
I mean ideally your plugin will be the only one registering your api lol
Ok thats about the idea i had, to me it seemed like i would create a new directory for each module and have packages under that? Thats what appears to be done here
hard to tell the difference between packages and directories though
maybe i'm thinking about it wrong, but my ideal scenario is where I have multiple plugins that all want to use the same thing (port for networky stuff) but only one can bind to that port
so i'd want a way to have them all share the port via a core or an api or whatever
so i was hoping I could have it so each one attempts to register the stuff to bukkit and every consequent attempt fails and then they all use that first registered attempt
The core registers the api
The other plugins use it by calling ServicesManager#load(Class)
can I do something like check if that class is loaded, and if not then register it myself
in multiple plugins
The core registers a service that the other plugins will hook into
uh I mean
yeah I guess
but that is calling for a lot of trouble
why 😮
i'm sure what I could do is have a separate core plugin that's solely responsible for that API
I mean ideally the core is a separate plugin and the others (soft)depend on it, so it'll possibly always be registered as a service
wouldn't I want a regular depend then
it doesn't require the other to be installed
if I need that api
if you need it sure
well like if i'm using it
if it's an extra/optional soft works
i actually can't envision a scenario where I would ever need a soft depend
either i'm using the api, or i'm not
I mean maybe you want your plugin to do extra things if another plugin is enabled
ah i see
but you don't need it for yours to function entirely
gotcha
yeah looks about right
Hmm, wait im gonna send a screenshot in a second.. forgot you can create directories in sources
sock gremlin got it
fefo, I liked the way you implemented your own EventBus, mind if I steal it?
not at all!
Also, just out of curiosity, why didn't you use bukkit event bus?
I originally had designed it to work with cancellable events with some plugin tracing etc but I had to ditch the idea, not because the design on the event bus was too complex but because the plugin clockwork is so shit I actually was unable to implement them properly at all lmao
Worst feeling
Worse if they are wet
Oh god
or slightly wet
Wet socks are the worst
first star pog
Well first I liked the idea of making it myself, secondly if you take a closer look all of the api (except for the ImmutableLocation) are interfaces, API, I believe to work with Bukkit's you need an actual class with a HandlerList or whatever, I never really didn't like that idea
Plus with this bus, by subscribing to an event, you also listen to all sub-interfaces (so subscribing to BetterJailsEvent will trigger your consumer on every event)
lmao
im sorry
what im trying to say
now that ive calmed down
is that IJ is trying to make this hard for me
ive made another directory and it wont let me make a module thingy
but is the same with bukkit, isn't it?
Non
It happens with some events, more specifically the sub-classes extending the event with the HandlerList
But that happens because they are all registered to that HandlerList in particular, not necessarily because it's a sub-class
I cant figure this out tonight...
so as long it's a custom event, and the root event has the handlers list, it would work the same wouldn't it?
I believe so, yes
But it would be cooler if you could just listen to "Event" and get called on all of them ;d
Sweating in BlockUpdateState
I like using internal EventBus for internal events
since it makes some things SO much easier
And you have much, much finer control over all of it, you get to choose how this and that happens, change things around etc
YESS
YESSS
I found the sock!!!
Cum sock?
This is a low point in my life, i just looked at the ground; saw a peanut; reached out; grabbed it; and ate it
was it at least in it's shell
I mean if you just dropped it then it's fine
@jovial warren
It seems the recursive php definition is dropped at other places as well, I guess it wasnt a mistake from the prof
You what
There's a recursive PHP definition?
So if the HP part stands for Hypertext Preprocessor, what does the P stand for?
I meant the expansion of the acronym, Php Hypertext Preprocessor
Makes no sense if that's not the case
How tf does PHP stand for Hypertext Preprocessor
I dont think that really matters, probably for less confusion
It should be HPP
The first P is just ignored
What's the recursive part?
Php
What
PHP = PHP Hypertext Preprocessor = PHP Hypertext Preprocessor Hypertext Preprocessor ... and so on
Ah that
Just like with gnu
Yeah I was gonna say, 2 examples of recursive ones I know are YAML ain't markup language and WINE is not an emulator
Yes, but this is simply termed like this in a few places I've seen now
Just "Hypertext Preprocessor"
Insert maybe monad joke here
Web architecture definition: the conceptual structure of the World Wide Web, enabling interaction between different systems.
BM is a recursive acronym
BM Mitten
PHP acronym = Maybe PHP Hypertext Preprocessor lol
instance Monad PHP where
"PHP" >>= "Shit"
const "Shit"
If any of y'all need to lose weight
why does it happen 3 times though?
lists are Monads and strings are lists😌
😌
oh so that’s the difference between map and flatMap then?
Yes
what would flat map do called on a list of strings? (Kotlin)
Same as this
wait
list of strings?
Your result would be a list of strings containing each element from each flatmapped element of the original list
But how deep 😏
(if the elements are iterable, the result comes from flat mapping each of the elements)
lol
What do you mean?
Each map operation in that just returns a collection of stuff (in case of kotlin any iterable), and it literally just flattens those returned collections
map returns a single element
flatmap returns multiple elements per operation
If list has 3 elements before "map"ing, it will have 3 elements after mapping as well
In case of flat map, that could grow or shrink
Im not sure what you're reffering to as "deep"
it flat maps its elements
Yes, as the name suggests
.
completely changing the subject btw, did you know that Mojang actually has a few sources and documtation published libraries that they use in Minecraft?
>>> listOf(1, 2, 3).map { listOf(it, it) }
[[1, 1], [2, 2], [3, 3]]
>>> listOf(1, 2, 3).flatMap { listOf(it, it) }
[1, 1, 2, 2, 3, 3]```
ah right
And no it's not deep
patchy, authlib and java bridge are just a few
I believe that would be impossible to express in kotlin's type system
I mean, deep content hash code for arrays exists, though it does just call Arrays.deepHashCode I suppose
anyway
yes but hashCode() always returns an Int while for deep flattening a collection you need to now the "deepest type"
did you know the data fixer upper is OS as well?
good point
holy
🤢
Hey is there anyone here that knows about api's, or more specifically the Reddit api using Java? I'm really struggling to authenticate users. I'm making a program that lets users upload an image to reddit, so I won't have access to their account, so I need to get an access token - but I don't know how to do that at all. I would really appreciate it so much if there is anyone that can give me some 1 to 1 help on this as I'm getting quite desperate
do u use jReddit?
No I was looking at doing it manually through the api rather than using an api wrapper
But at this point I'm looking at doing anything possible to get a user authenticated
But from there I don't know what to do
Hello, I have a problem. My Minecraft graphics look pale and dead. Almost like 1.8 vanilla graphics. Even though I am playing on 1.16.5
Oh no
what is it ?
screenshot?
also wrong channel :p
oh yeah sorry
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
;-;
Sir
make sure the request is one message, each line start with a those [tags]
This is
nice tip
he has his own tip
🥲
H
a
😩
s
k
e
l
p
what
what
yeah
🍆
🥵
ok time to abandone haskell
that's a green egplant
hi mr eggplant
Hey guys, I am about to have a counter offer meeting based on what I countered for a company. Does anyone have any good tips?
hmm so I did something with IJ and DeluxeMenus (idk what or how) and now when I open it I can only see files like build.gradle, .gitignore etc. But I can't see the project files. Would deleting the .idea fix this? I don't want to break anything more that's why I'm asking
oh well did it and it fixed
seems like
Any suggestions as to how I should randomly shuffle a list?
It doesn't
hA
im not going to press that
bruh
i knew it
y u expose me
You on the list of people who getting shot in the knee caps
is it a rick roll or is it the same as bm's wiki?
Collections#shuffle seems to be a thing
well I don't want to
see what site you get
both suck anyway
o
no fun 😔
hm?
unironically haskell isnt bad
nothing
Oh boy
ok
here we go again
tho I do prefer java
what does that even mean
Rust best, now shut up
Game or language?
Compound
https://www.spigotmc.org/threads/my-ressource-got-deleted-how-to-fight-against-it.499454/
:/
so apparently anyone can just easily take down your resource
great
I had the same issue, simply report your own resource saying it got botted or smth and you'll probably be fine
im cool
me too!
Wrong discord buddy
if i give someone ass pic they will join my sever
Speaking from personal experience... I see
Iron oxide
So true
it's not confusing
A monad is just a monoid in the category of Endofunctors, what's the problem?
._.
If you wanted to learn haskell you would, but since you don't it's confusing 
^^
haskell = arrow code
anything you don't know is confusing
nothing
life is confusing
indeed
classic
kotlin is confusing tho sometimes
Every language is confusing until you learn it
yeah I guess so
if (1 == 1) then do
putStr "hi"
putStr "hi"
if (2 == 2) then do
putStr "hii"
putStr "hii"
if (3 == 3) then do
putStr "hiii"
putStr "hiii"
else do
putStr "ew"
putStr "ew"
else do
putStr "ew"
putStr "ew"
else do
putStr "ew"
putStr "ew"
```whereas in kotlin: ```kt
if (1 == 1) {
print("hi")
print("hi")
return
}
if (2 == 2) {
print("hii")
print("hii")
return
}
if (3 == 3) {
print("hiii")
print("hiii")
return
}
print("ew")
print("ew")
except the former isn't really idiomatic haskell code
That's a dumb way of coding this
have a map with callbacks, duh
No
oof
but no "control flow"
dkim: *uses if statements*
conclure: haskell is branchless right?
lol
tbf I have no idea
if expressions* 😌
thought haskell might have taken advantage of it
you can't return out of a function in haskell
just throw an error 
Or can you?
vsause theme
how do I "return" a let?
uh

Lemme answer dkims question first
wdym
why do you need monads - when you can just not write in langs that need them
do
let a = 3
a
?
bam
oh

He's addicted to it, he'll start having physical symptoms without it
Monads are just a design pattern
Directed by
Robert b. Weide
these languages you guys are using sound like way more trouble than they're worth
