#dev-general
1 messages · Page 436 of 1
okay
Ofc it was BM that downvoted it
yeah I saw that lol
@prisma wave imagine downvoting a project that you started and are still part of the core team of
private static <E> ConsPStack<E> from(final Iterator<? extends E> i) {
if (!i.hasNext()) return empty();
E e = i.next();
return ConsPStack.<E>from(i).plus(e);
}```jfc no wonder this is blowing up
This is an idiotic implementation
you add more than 300 elements or something and your stack dies
That is hideous
yeah this is why we leave copying to the internals
wdym?
let the JVM do the copying

e.g. Arrays.copyOf, System.arraycopy, that sort of thing but for lists
ah
wtf happened here
Imagine
Bardy sadge
lol
BM you’re going to be alone here
?
Oh, you want downvotes?
no
😂
Yes
since when did upvotes come about this fast
ok if someone wants to run this now, feel free
https://github.com/JohnnyJayJay/persistent-data-structures-benchmark
Do note it will probably take > 4 hours
lol
Can you just tell us the results then?
I don’t think he’s fully ran it yet
Ohh right
I have, but every machine is different
ah
Still gives you an idea
And my resources happen to not be state of the art
didn’t state it to flex
to which extent the results are usable is debatable anyway
stated it so maybe Johnny can give me an idea of how fast it might run on my machine
Not like it would impact my decision likely just cool to see
There are a couple of fixed-time benchmarks in there, but the majority depends on how fast your cpu can add and remove elements
It uses multiple cores or no?
no, I didn't bother with concurrency because there's just too much stuff that can go wrong
it will be significantly faster
the single core performance difference is not negligible
3600 MHz memory 4.9Ghz clock single is mine and it’s getting old
wot cpu jerry
Intel 😂 enough said
Intel isn’t that bad if you are on a bit of a budget
It’s a lot cheaper in some cases
I never said there was anything wrong with intel
it's just intel doesn't benefit from high memory speeds, that's more of ryzen's thing AFAIK
I think the newer gen processors have some decent improvements from the higher clock speeds
But not like ryzen
https://cpu.userbenchmark.com/Compare/Intel-Xeon-E5-2630-0-vs-AMD-Ryzen-7-3700X/m6512vs4043 r7 3700x vs my server cpu
https://cpu.userbenchmark.com/Compare/AMD-Athlon-3000G-vs-AMD-Ryzen-7-3700X/m968952vs4043 r7 3700x vs my desktop cpu
it definitely is single cored
That second one you are comparing a $80 cpu to a $290
You compare par to par then if you do that then
But neat
That’s some serious savings
Athlon? what is this? 1999?
late 2019
people are still buying athlons?
it's newer than yours
you what
It's actually an amazing cpu for that price
my ass are athlons newer than Ryzens
I wish the latest intel wasn’t just 8 core it’s feels like a downgrade even if it necessarily isn’t
ryzen 7 3700x came out summer 2019, athlon 3000g same year in winter
But I'm finally putting a Ryzen 5 3600 in my pc on the weekend
the fact that this current cpu isn't supported by the mainboard has caused some issues
you what
I thought Athlons were old
like early 2000’s kinda old
That one is a 2020 release
ah
and athlons aren’t AMD? lol
AMD Ryzen vs Intel Core
Amd ryzen vs intel core 2 duo
Intel is great at their generational improvements 😂,
https://cpu.userbenchmark.com/Compare/Intel-Core-i7-11700K-vs-Intel-Core-i9-10850K/4107vsm1255865
I can get 1% more FPS in Fortnight now
Dayum boi
Speaking of which, after recent uodates that game is starting to get weird lag spikes
Spoiler that 1% is only a single efps
And can be completely negated by the bin thresholds
what's today's functional language?
This guide talks about
admitting to playing fortnite
risky move
big balls
fortnite bad
even my friend who was making money off the game stopped playing it because its just trash now
id say i was pretty decent when i was playing
like back in 2018-mid 2019 before i stopped
that's what they all say
lol
Im not particularly good at it, I just play with my friends from back in school
I used to play it like few hours a day and even spent like 5$ in it (crazy amount I kow)
but then I was like this is kinda boring nah
$5 pfff
and never joined since
i spent like $40 🤡
I spent 5 for the battlepass
bcz then just from the past battlepass you could buy the next one
yeah
Doesnt a battle pass cost much more than that?
and after a few seasons I even got a nice skin
i bought a couple skins iirc
Still works
mhm
lol
so for them its still a win
just requires u to play the whole season really
Yea
very good marketing strategy tbf
I dont think I've ever gotten above like level 40
@prisma wave maybe you should add an exception for that
y?
Ah
This guide talks about
ah I saw a site using elm once I think
Some say elm is better than haskell
I have succumbed to IORef
ofc
Better compiler, No IO weirdness
But ofc
Completely diff usecase
Mutable state
I asked the fp discord and they said its fine
lol there's an fp discord?
cursed monad
Learn C :)
Learn haskell
^
Promised them what
I was in the F# discord this morning and they gave me some very confusing answers
What did they say?
Idk
Ah
I don't understand it lmao
Please switch to Haskell, thanks
I asked how to make an XP system and they write a paragraph about something completely different
😬
Show
For dev den bot?
uhh what was the question you asked them?
Not an entirely unreasonable conclusion but I just have no idea what they're saying
It's quite a long conversation
yeah
Sounds like fun lol
they added them like 2 snapshots ago
I hope that will be easy for me to deal with in Krypton
lmao
not entirely
because in survival you can't see them at all
not even the border
and you can walk thru them
Yo that's sick
@prisma wave I think we was talking* about how you wont want to reward every message since that would promote spam, so he was recommending a way to fetch user stats to apply rewards to
This was alternatively the choice to go
what
So like with barry
You dont get xp for every message
It limits to some period afaik
yeah but that wasn't even related to what I was asking
Yea seems random but thats all I can pull from what he said
nah you can get every message but it checks message length and other shit
yeah man it's confusing
Oh really?
I can just keep spamming and get xp?
the conversation went on for like an hour and I feel even more confused than before
yeah from what I've understood
well actually idk if it has a limit of messages per second
but I think so
lmao
If you want a command router design I have one in the hasklash rewrite
yeah I'll have a look
not sure if the design woud be the same in f# tho
commandRouter :: Char -> CommandRouteMap -> Event -> DiscordHandler ()
commandRouter prefix routes (MessageCreate msg)
| fromUser msg && hasCommandPrefix prefix (T.uncons $ messageText msg) =
let msgText = messageText msg
commandMeta = T.words $ T.tail msgText
route = head commandMeta
args = tail commandMeta
in do
fromJust $ M.lookup route routes >>= (\route -> return $ route args msg)
pure ()
| otherwise = return ()
Apparently the state monad is usually un-idiomatic for most things though
I also think that the xp isn't udpated instantly just every few seconds or minutes so that might be what you're seeing Yugi
Depends on what you're dealing with
State monad isnt impure
its just recursio
In f# I mean
Ah
No
@lunar cypress im guessing this is working ya
probably
well ill find out in 3 hours when i get back from college 😁
nice
sure?
lol
😆
let's give frosty all the power
This game doodoo
whats a Boole
never seen that before? it’s the input to tickServer, it comes from the haveTime method
allows you to lazy call the method
dw, my server patches that provide some useful stack variable names might be coming out soon
when I make them
sleeping
the ticking is done with a while loop, and after the main ticking is done, if the server has time, it executes some tasks that it may have queued, and then if it still has time, it waits for the next time to tick
make sense?
that looks like to me that it’s taking an abnormally long time to perform post-tick stuff
intellij is horrible for guessing casts
if (!(sender instanceof Player)) {
audience.sendMessage(
Component.text("You must be a Player to execute this command!", NamedTextColor.RED));
}
attributes.setPlayer(
EntityCloudIntegratedPlayer.builder()
.setUrl(attributes.getFile().getAbsolutePath())
.setWidth(attributes.getScreenWidth())
.setHeight(attributes.getScreenHeight())
.setCallback(
EntityCloudCallback.builder()
.setViewers(null)
.setMap(attributes.getStartingMap())
.setWidth(attributes.getFrameWidth())
.setHeight(attributes.getFrameHeight())
.setVideoWidth(attributes.getScreenWidth())
.setDelay(0)
.setLocation(((Player) sender).getLocation())
.build(library))
.build(library));
It thinks .setLocation(((Player) sender).getLocation()) needs to have a cast checked
It does
yeah it does
🥲
oh wait nvm
im stupid lol
there are other types other than Player
🥲
i have to use arrow code
🥲 🥲
why do you have to use arrow code
if all you care about is players just return early if the sender is not instanceof player
No it's only for that specific instance
or that conditional
its not for the whole command
it's hard to explain
fair enough
same command, but different modes
one mode must need the sender to be a Player
the other mode doesn't
make a separate method
^^^ aka subcommands or whatever you wanna call them
if you have to use arrow code then that smells of a god method
Just make a runnable and return out of that lol
Easy fix
100% best solution
lmfao
lol
Let's not forget what our purpose in life is. To make Frosty a powerful man: #dev-general message
poor university of Minnesota
they got banned from helping to develop the linux kernel
ugh what did they do to deserve that?
classic Minessota
truly a beacon of intellect
not the entire uni, mainly 2 researches
What would be the definition of a server oversleeping?
it probably stayed up late
I'm gonna make a guess and say it's filling up the rest of the 50ms in a tick with Thread.sleep
that's a good thing
if Thread.sleep is taking up 70% of your ticks then that means you can run loads of more shit without lag
So that shouldn't be a factor as to why the server is lagging like shit
purely hypothesising here
but if I'm correct, yes
although if your server is lagging I'm guessing I'm wrong
Can't say I've seen Server Oversleep on a server that isn't lagging
Hey if you wanna read https://github.com/PaperMC/Paper/pull/2509
I know even less than I did a minute ago now
good
someone said in a random post I've read it has to do with all the random things minecraft has to do every tick
idk if that's true so
yeah
Do/have any of you develop wordpress plugins?
Thankfully not
finally got a texture to render on opengl using VAO's and VBO's... this was unnecessarily annoying
So I legit have to clear my paper dependency cache every time I load a new fucking plugin
sounds like a you problem because it does not happen to me lol
You using latest IJ?
yes
I keep getting this
god i hate stuff like that
weird
after I clear the cache it fixes it, until I open a new plugin
case and point is that Git CLI doesn't require you to accept a EULA or pay $50/year @prisma wave
Neither does GitKraken, your point is?
You're both 4head
add this as a repo and try again 😎
maven {
url = uri('https://nexus.umbcraft.online/repository/proxies/')
}
Uuu wow EULA so scary
at least Git's open-source
damn you guys are fighting over some stupid shit
this is the new IDE controversy xD
I just said how paying for IJ ultimate, GitKraken and Sublime isn't personally something I think is worth it
im a student
As an individual maybe not
According to IJ Survey 61% of people use spring boot
exactly
That's a large enterprise majority
alright fine
let me change my argument
to something one cannot argue against
Paying for IJ is only fair if you are making money from the things you write in it
Paying for GitKraken is literally coins at the end if the day, and totally worth it
IJ ultimate is not useful for individuals
ah yes "I will manipulate my own words so I am right and you cannot argue with me"
Ah your argument changed from "CLI better than GUI" ? xD
most individuals don't use enterprise software like Spring or Java EE
let's take enterprise usage out of the equation, makes it easier because it's irrelevant
duplicate checking, pretty much every programming language, db support, spring, etc. How is it not worth it?
Imagine writing duplicate code
If it's not worth it then why do you use it?
I think if you used community you would notice a difference
well maybe for you its not worth it BBG but for others it definitely is
yeah it is quite big actually
ngl
I don't remember noticing a difference when I used to use it
I love how I don't even have paper in my .m2 cache, what the fuck is this fuckery
For any developer getting paid a reasonable amount (ie not a part time plugin developer) it's objectively worth $300 a year
just say you are a student
It's on Gradle's m2 folder
lol
gradle cache?
yeah but you really think that's me? lol
or any of us here for that matter?
I mean
well, maybe some of us, but definitely not most of us
just say you are a student that did really bad in school
That's not really my point
well yeah but you made your argument sound like you were talking for the general people
so you aren't paying because you don't have the money to do it
Can't find it
If you intend to work as a software developer thats what you'll end up doing?
the original comment piggy made is that if he had the money he would pay for them
alright fine
Lemmo, 😎
Most of us here are going towards that goal I assume?
also IJ Ultimate is 500 Euros first year not 300 @old wyvern then second its 400 then its 300
I would put money on the fact that anyone here who could afford it, and can't get it for free would buy it
im going to this computer science camp and teaching people this summer
Thats for companies
maybe i can get some money ):
oh ?
Its around 300 for indiciduals
€149.00 A year, €14.90 a month
People will pay for Netflix for the same price and only use it twice without complaining about it, but when it comes to a good software that they use basically everyday "too expensive!!!"
I was gonna say something but it'd be rude
It says per year https://i.imgur.com/NBJKVaH.png
yeah but that's like saying if you were a millionaire and had money to spare that you'd buy a mansion just for the sake of it
idk who wouldn't do that
what
to be honest 15 Euros ain't even that much
that's literally what you're saying
per month
$300 is pocket change for any professional developer
Bardy do you have Netflix?
just because you can afford it doesn't mean you should buy it
A mansion is not cheap
Thats really cheap
This is like what Calin was saying a whIle ago
It is
Jetbrains products are actually extremely good value for money
I'd pay 149 a year if it weren't free ngl
same
I would still choose the community edition
Unlike Adobe 🥲
And if you end up working in an organization that provides you a license, even better
that's bcz we don't have money 😢
People pay for Adobe shit for a reason
Mission Accomplished
they don't have an alternative?
Mostly because there is hardly any good alternative that is cheaper
There are a few
me never winning arguments here just shows me how naive I am
Did you just say gimp
Adobe products are overpriced bloatware
I'll pretend you didn't say gimp
GIMP is actually good
Why?
What's wrong with gimp
like actually good good
Comparing it to Photoshop is a crime
Maybe
^
But it's free
wait what????? https://i.imgur.com/9mxApaL.png
in the very rare occasion that I actually do image manipulation, GIMP is where I go
Anyway idk, I only do very basic image editing so I'm not gonna comment on whether Adobe products are high quality or not
competitive commercial tools
also you don't own eclipse
yeah I know
lol
xD
But it doesn't even get close to it though
Ofc if you just want to do some small edits sure, but Photoshop dominates
Though Affinity is actually pretty good
It is high quality but the price tag for it is insane
I have done professional work with illustrator, photoshop, after effects, audition and premiere pro and I have yet to find a free alternative that can be even 10% of what any of those are
Exactly ^
Indeed
they are unmatched
adobe is legit quality
IJ community is satisfactory for most individuals who just use plain old Java
Afinitty is the closest you can get to Photoshop and it's still too new, they need to improve a lot more
based
I mean, don't get me wrong, IJ ultimate is great, it's just not necessary for most individuals who only need the basic tools that community provides
IJ just gives you a few extra enterprise things and extra plugins
Nobody is denying that, but for the majority of professionals it is absolutely worth it
wait does CE have a hard limit to how many plugins you can use?
Don't think so
Oh ok
Also back to the IJ talk, these are the same people complaining that Material UI costs $15 a year 🥲
(Not talking about the shitty change without warning, just the price)
lmao
true lmao
you could just fork it and change the limit
$15 honestly isn't unreasonable at all
yeah it's not a bad price, just a bit scummy that it's all of a sudden premium
yeah its funny how all the reviews are just complaining about the price not the unannounced change xD
Not really
Literally just a bit more than $1 a month, it's like the price of coffee on the airport
Unless you're Calin and living in a trailer or whatever he said
It's free for many people and the older versions are still free
also its funny that the day it became premium I chose to finally use it (before the update)
Stop buying so many OF subscriptions and you'll be able to afford both IJ and Material theme
nerds
From what I saw, most were complaining about the unannounced change
OF?
Open source is good and all but people gotta pay bills
OF?
OnlyFans
Oh
ofc
Frosty do you post feet pics on your OnlyFans?
If I can find work within the mc community, so can y'all so stop complaining, thanks, bye
For you, gladly
Is JetBrains Academy free?
Oh my 😳
Frostys not on OF*, Only on PH
I think so
Used to be during beta tests
Now costs money
I think there is still some free courses, no?
Blitz is a very singular person
Oh damn https://i.imgur.com/KnVwCfU.png
I hear there's a great Haskell course
Yes!
8 more days to join Haskell gang easily
idk yugi. I've tried coursera as well but I'm just dumb and keep forgetting about it and start working on other shit and then when I come back to it I forgot what I was even doing lmao
Plural sight is much better than coursera from my usage blitz
Become a better developer and learn what a monad is for FREE!!
The courses are more focused on some skill
Hello. What is a monad!
Idk
does it have java tho?
Yes
so does coursera lmao and I blocked them
Scammer!
xD
It has a lot of Java courses
You are scammer
A monad is a monoid over the category of Endofunctors
Dick?
a?
Dick's Sporting Goods?
Visit DICK'S Sporting Goods and Shop a Wide Selection of Sports Gear, Equipment, Apparel and Footwear! Get the Top Brands at Competitive Prices.
Well I made an account Yugi. We'll see how long this will last lmao
👀
I pretty much lived on this for the month of january I think
Or might be feb
not sure
xD
Altho looking back seems I left a lot of it
That looks good tho
@static zealot What language you learning?
java
Oh i thought you already knew it
the language of killing myself cause this shit makes no sense
Well I do
blitz
but I never actually completed a course or anything
Take the haskell course
and there's so many concepts I still have to understand
Blitz, I've never completed a course myself as well
You wont regret it
Take the Oracle course, only costs $300 🥲
🥲
Yugi no thanks. To much for me.
what I mean is that just because I know java and kotlin I already mess up sometimes. I'll just start putting stuff like >>===<><<>>>>< in my kotlin code at one point
You're afraid to learn more languages? 👀
good
wut
no. My brain is just more weak than other brains and it overloads very fast
so yeah I am afraid actually lmao
brainfuck?
Everyone should be legally obligated to do this
I'll take the course during the weekend if someone reminds me
The only weak thing here is your attitude! You can do anything you want!
maybe
Saturday?
Sure
=remind me in 2 days to remind frosty to take the haskell course
Missing Quotes
Usage: =remindme <time> "<message>"
eg. =remindme in 5 hours "to feed the Llama"
""
=remindme in 2 days "to remind frosty to take the haskell course"
to remind frosty to take the haskell course
=remindme in 1 day "to remind Yugi to remind Frosty to take the Haskell course"
to remind Yugi to remind Frosty to take the Haskell course
Doubt I'll be alive then cause I'm about to yeet myself cause this makes no sense
=remindme in 2 days d
You need to be at least Tier V in order to set reminders!
hah
nerd
=remindme in 1 day "to remind Matt to remind Yugi to remind Frosty to take the Haskell course"
to remind Matt to remind Yugi to remind Frosty to take the Haskell course
fuck why 1 day?
=remindme in 2 days "remind pulse to d"
remind pulse to d
🥲
=remindme in 2 day "to remind Matt to remind Yugi to remind Frosty to take the Haskell course"
to remind Matt to remind Yugi to remind Frosty to take the Haskell course
=remindme in 1 day "to remind Blitz to remind Matt to remind Yugi to remind Frosty to take the Haskell course"
to remind Blitz to remind Matt to remind Yugi to remind Frosty to take the Haskell course
That reminder will be after mine, nerd
its 2 days dkim smh
oh
yeah I know
=remindme list
Your current active reminders are:
to remind Blitz to remind Matt to remind Yugi to remind Frosty to take the Haskell course
=remindme delete 150
Reminder Deleted!
=remindme list
Your current active reminders are:
to remind Matt to remind Yugi to remind Frosty to take the Haskell course
to remind Matt to remind Yugi to remind Frosty to take the Haskell course
=remindme in 2 day "to remind Blitz to remind Matt to remind Yugi to remind Frosty to take the Haskell course"
The ivory tower is about to get overpopulated
to remind Blitz to remind Matt to remind Yugi to remind Frosty to take the Haskell course
lmao
=xp
555 pog
I was at 420 recently, it was great
Is this server for gaming development only?
Nah, it's for anything
mr @lunar cypress its finished. do u need me to do anything after now? 3h 51m btw pog
This server is for praising programming languages you've never heard of and you wouldn't even think of using
Then there's #development if you want general dev help
Ever heard of Haskell?
Oh no
ooofff
uh bm wtf
big oof
It actually took me to the Haskell website lmao
lmao
Did you watch it?
its epic
Yes, indeed. Is that the language this server is geared towards?

cursed
Absolutely
what do you think of it?
ahhh, gotcha! I thought this was for every language/developer (didn't realize)
._.
lol 2nd try and it took me to gh haskell/haskell-mode
it is
keep in mind that #dev-general is NOT configuration help
@prisma wave can provide details on that
Don't listen to him lol
This is for any language, if you have any development question and stuff just ask in #development
Unfortunately I am not being entirely truthful
There is a lot of unfair haskell hate in this server
^
What are your thoughts towards the glorious language?
lol smfh
oof
Please note, If you express hate towards Haskell you will be hung by the jury
kotlin too
Me and Yugi are slowly converting it to haskell
Men on a Mission
what about me 😢
🥲
ofc sorry
😊
Scum
The whole gang in
i'll take it
😮
Haskell army coming soon ™️
sneak peak inside the ivory tower
https://c.tenor.com/R7k3DxD5f34AAAAM/golden-girls-konga.gif
only 3 people smh
Dkim has been abandoned from the gang
dkim is a traitor
He shall be barred from the vicinity of the ivory tower
marked for death
Ah makes sense, bunch of old people ;p
send build/results/jmh/results.csv
dkim wow
And thank u for ur service
Precisely
uoy leave haskell=?
Does that... mean.... you're in the gang as well?
Matt 4 Haskell?
Nah xD
well i haven't used/learned it in ages
that should be an excuse to use haskell
^
at least use clojure
No, you are among people who wanted to give you a nice spot in the glorious ivory tower
uses intellij
uses kotlin
hates eclipse
We are doing you a favour
The same people you BETRAYED!
yes
cmon, dont think of it like that
think of it as me taking a break
yk
taking a break from the GLORIOUS language
Kotlin users are NOT your friends
^
theyre using you
😢
Matt will be converted
to promote their EVIL agenda
i apologise for that
i think i'm going crazy
xD
dark mode ftw
absolutely not
Also yea, flip those modifiers
not gonna happen
Kotlin was a mistake
haskell is the truth
a mistake we will not repeat
^
;-;
find a message of me saying that
cant access the class
package private prolly
hmm
if i remove the this and change the name of the parameter it works fine though
java bad
Elara doodoo
it's specifically the this that is causing the error
you have said many times that kotlin is the best
and i have no clue why
proof?

🤨
lolll
🙄
this god also said functional design patterns are objectively the best
lol
🥲
Pretty sure Sx still thinks that though
😩
lma, gaby when gaby was so naive about kotlin too 🥺
WOW
HA HA HA
EDITING YOUR MESSAGES_ _ _ _
SMHH
FAKE
THAT IS A FAKE IMAGE_ _
😡
time to ddos img.bristermitten.me
Now that I think about it, "ShareX" sounds like a software for cam girls
lol
lmao
How do you know it's not?
no it's not
@onyx loom
What do you think I use for my feet pics?
Hey let him make money however he wants
are u ok johnny
True, he gotta sell those feet pics
seen my message?
no?
🥲
ah apologies, didnt get notified, mustve been afk with discord open 🥲
Show me the definition of that UMBCraftCreative class
checking inbox everytime im afk with discord open 🙄 🙄 🙄 🙄
it works now...?
lol
the heck
Sir, your light theme
yeah 😢
i dont think this happens with emacs + haskell
😌
Well these are some amazing prices https://i.imgur.com/8voLzIT.png
5-30$ for a whole ass server
probably doesn't happen with emacs + java either 🥲
wow..
seems legit
damn Imma make hypixel with just 150$ and get them out of business
you KNOW they're gonna get you some high quality stuff
they were probably high when they wrote that
the highest quality on the market
i wouldn't be surprised if they just found a server template
and are pedaling that
but at the same time maybe they're doing their best to make it themselves
either way $5 for a bedwars server is a bargain
silly @half harness wasting all that time on a feature he could get for $5
we need to ask for a portfolio
😮
dkim you should buy their bedwars server
at the very least it's 2 bedwars maps for $5
what could go wrong 😉
clojure... good? java... bad???? 😳
they'd prob just download some map online
other persistent vector implementations aren't as good
kotlin is also pretty decent, pcollections is terrible in comparison
running it on your machine definitely yielded more accurate results though
what??