#dev-general
1 messages · Page 320 of 1
😊
I think we should just try and do it.
we don't just skip challenges. we complete them
right ? xD
ye confused screaming
you probably have an extra space
this is kinda tricky
wait where
could probably be shorter
oh wait I see
of the stars
what does dropLast do?
god bless whoever decided to add String#repeat() to kotlin
drops last n characters
from the string
ah
in this case last character
the space
I remember when I first found out about repeat
I think I saw it at Matt in another COC
could've probably just put it all in the loop instead of having 3 values
that's one thing
damn that was kinda hard
fuck this
fucking useless piece of fucking shitty wank fucking crap fucking shit fuck
fuck this shit
fucking piece of fucking shit
fuck it
James? why did you use print and "\n" ?
lol
ok xD
@jovial warren take your meds
I'm fucking useless
i was SO close with mine
also i have a random shape variable that i was gonna use but didn't lol
very close. you had one star
yeah I had the shape at start as well
but decided to just make it 3 lines
ffs Johnny how u dis good at Python lol
johnny big nerd
im not very good at python
kaliber did it in 4:14
hmm BM afk?
oh
lol
😦
lang?
f#
i couldnt figure out the spaces in time
String.repeat was clutch
Kotlin has raw strings
so does f# 🙂
welp another one here I guess:
String.replicate
yeah we might do in Python as well, can't remember
last one for me
same
wait why is Kaliber the owner of my lobby?
python can do like string * blah can't it
lmaoooo
also, watch me get so distracted with these that I basically get fuck all done with Krypton again
there was just 6 of us right
we're all in
coc.helpch.at when
true
oh yes, this is mine
this is called Python mode
xD
what a prompt
too many cookies lol
I haven't even figured it out yet
it's just a bit of maths
it's easy, but my python knowledge is too small to make it short
well I guess 201 chars it is
I literally removed all spaces I found
wait nvm
186 it is
o 239
can't get it smaller god damn
😦
omfg
107
YES
lmaoo
beat me by
1 CHAR
I'm just 80 characters off
im still gonna win by the looks of it but
first class functions coming in clutch
108 CHARS WTF
python
oh wait bardy also uses python
ok im just gonna submit
I had like 9/10 test cases
noooooooooooooooo
omfg
ok wtf
fuck you list comprehension
ffs how did I forget that
i knew you could do it like that but not like that
wait wtf is that logic
math
also
you have a linear function and a constant function and calculate where they intersect
you didn't check if i>n
python cheating
min
stfu Mr. F#
f# is hot
thats smart asf
oh I guess I could've used that
F# is shit
just get the intersection
evidence?
you're shit
came close to beating python
didn't think of that, or know that was a python method
🙂
that's my evidence
well I guess that's it for today
lmao
let [d, h, n, s] = [i(), i(), i(), i()] this is kinda hot tho
ah could have saved a couple more chars
yup
btw Kaliber
I'm deleting like 200-300 lines of code right now 😢
you could've removed a lot of spaces
at val i = Scanner
to val i=Scanner
for example
hey @prisma wave should I cheat and use https://github.com/Querz/NBT dis
L
sure
also while instead of for
its not cheating
this is what programming is
well what was I meant to do Blitz
let readFloat = Console.In.ReadLine >> float 🤤
bardy you should do what luck does with classloading to keep a small jar
that's an achievement lmao
Kotlin > Java > Python > Clojure, F#, JS, etc.
fuck
that
bait
or rage
or small brain
which one
it's one of the 3
oh Kaliber
my f() function is longer
should've just used toFloat
I've wasted like 4 characters
lmaoo
welp good night
gn
That's pretty nice
yea not as short as i was hoping
remove spaces?
couldn't you remove spaces?
some of the tests broke if i inlined the i() calls for some reason
i did
this is un-minified
for readability
oh
i could have saved another 6 chars
no need to rub it in 🥲
send
but not more with my current approach I think
d,h,n,s=[float(input())for i in range(4)]
print(int(min(n,(d-h)/s)))
is that not what you had
we need to create a language specifically designed for low chars
nah, one less space and I applied int on the arguments of min
there are
perfect
i think ive seen a few on code golf
also of course APL
do they work on clash of code 🥺
nah
@steel heart To not clog up development
According to stackoverflow survey, most dreaded
https://insights.stackoverflow.com/survey/2020#technology-most-loved-dreaded-and-wanted-web-frameworks-dreaded2
Most loved
Bruh
One of the most dreaded, the loved one is ASP.NET Core, which apparently is something much different
Yeah idk the difference
time to resell luckperms
lmao
i honestly dont understand
i don't get why people want to pay $50 for something that has a free alternative that is awesome
why you would pay for a perms plugin
luckperms is literally such a well done plugin
there are some paid perms plugins on spigot (i like luckperms better though bc of its web dashboard)
luckperms is the best of all of them
Change the messages from lp, sell the plugin, then give luck $15
lol
either
- they dont care about wasting money and time
- they don't know how to google for plugins
- they for some reason want custom everything bc they think custom = good
but custom plugins are good, right?
Or they think custom = good
just edited
also depending on what they want out of it $50 isn't gonna be enough for a good perms plugin lol
lol
it probably will be but
plus to get something to even match with luckperms, it'd take a long time
New core project :)
man do i hate commuting target and .idea
man do i hate commissioning target and .idea
comparing .iml 🥶
Commenting*
Cremating*

Nice try
bm should be perma muted by now
Nah
Oof
Done nothing wrong
the amount of times lmao
haha lmao you didnt see this
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.

omg
XDD
bm perma mute
No
soon™️
wow meanies
Mutable
well the fact that you’re not immutable
Nobody is immutable
Oh ok
val james = Human()
ImmutablePerson.of
=fakeban
I explicitly made myself immutable
=ban
=banhammer
No body is immutable, because people change
Lmao
Lol

Rick Astley's official music video for “Never Gonna Give You Up”
Listen to Rick Astley: https://RickAstley.lnk.to/_listenYD
Subscribe to the official Rick Astley YouTube channel: https://RickAstley.lnk.to/subscribeYD
Follow Rick Astley:
Facebook: https://RickAstley.lnk.to/followFI
Twitter: https://RickAstley.lnk.to/followTI
Instagram: https:/...
rick roll but i dont try
for (field in james) {
field
set() = null
}```
Damn you got me
I know who you are
Hey
Aaaaaaaaah
gg
Gn boys
later
listening to the true jam https://www.youtube.com/watch?v=nS8EywXYlSc
humans are iterable? 😳
yes
Damn I wish someone would iterate over me
i got dibs on the database layer
Who's gonna take one for the team and have frontend
🥲
me!
The human centipede
🙃
massive
Mongodatabase
MongoDB
CockDB
banned word
1ca2f0684616 mongo "docker-entrypoint.s…" 33 hours ago Exited (0) 33 hours ago mongo
🥲
Lets say i want to run two websites on a vps, do i just run nginx on the host machine and bang all the content into the folders or should i use docker and run each website in its own container
?
Then use nginx on my host to reverse proxy to the containers
Im thinking the first one makes more sense
docker container for each application, nginx reverse proxy
you can use docker networks if they need access to each other
and docker volumes for persistent data
Ok ty
lol what do these websites actually do
if you're running two static sites inside docker containers, that's major overkill
I used to think that Mongo was trash, until I actually saw how it stored data and kinda went "wow... that's actually useful"
I use Caddy for my web server
automatic HTTPS, very very easy to set up, never noticed any performance issues
like what would take you god knows how many lines in NGINX, I could do like this: ```
example.com {
root * /var/www/html
}
O
anyone who thinks setting up a web server is hard, listen in
written in Go😮
Would be nicer in rust
or Haskell
I have a self hosted wakatime server written in Haskell
I didn't make it
But it's still cool
Hakatime

😮
MineKraft
clash?
I mean, I ain't got much better to do lol
it's either CoC or a Chemistry SC25 mini assessment
gimme a minute, the page seems to be taking long to load xD
Chrome
I mean theres not much for me to care for google tracking me
I use Firefox, the objectively superior browser
Also, are you one of the bing-ers?
ew Bing
Y'all doing clash?
no I use Google, but I've turned off loads of my settings in my account
and I use a VPN
yes frost
and sometimes I use Tor
👀
Everytime you open google you make sure to use a VPN?
No one said it was 😂
and I run 4 exit nodes
We know what tor is my guy
fair
@hot hull you comin?
you said that the minute he joined lol
xD
since whens that a feature
1 month or so if you are asking about barry's message
o
This is hard
welp
welp
I tried in haskell
yeah that was impossible
gave up and tried with kotlin
I don't think it's actually solvable yea
almost got there and ti ended
look at mine
it is tho
I don't think so Yugi
Why is that?
yeah I'm not convinced that was possible
Look at my code, in theory it should work
test #2 gave some proper bogus input
How does one modify an unmodifiable collection lmao
Atleast it does exactly what it's meant to do
and wanted some bullshit output
and I know it's wanting BS because Python's input() can only read a single line
anything wrong with my whack Yugi?
Lemme check
@obtuse gale share code xD
I bet my answer probably has something to do with the fact that I never ever read the full text of what it's asking for
so I likely missed something
Im pretty sure, but let me actually confirm just in case
also, imagine using Java for CoC 
override fun apply(settings: MutableList<AdditionalDependency>) {
println("Apply method called!")
itemPanel.apply()
if (itemPanel.isModified()) {
println("Adding ${itemPanel.model.items.joinToString(" ")}")
settings.addAll(itemPanel.model.items)
itemPanel.model.items.clear()
}
}``` `itemPanel.model.items` is whats giving me problems, `model` is defined as
`model: CollectionListModel<AdditionalDependency>`
is it mutable? lol
yes frost, that returns the ascii
Google might be able to answer that one
nope
legit the only code ive been able to find thats helped me in the slightest is the intellij community source lol
not going to question your formatting
and then that doesnt even cover this
Why would you, when its just random stuff?
I am, it's hideous
dude i got so desperate i tried stack overflow
I even went to slack
do you know how desperate someone has to be to ask for coding support on slack
ive legit searched the class im extending on github with the search setting "all of github" on]
if you think that's desperate, try IRC 🥲
I'll be back later
I have to go on IRC all the time to ask for support with mc devs stuff
oh no
not reverse mode
oh no
yeah nah m8
im just tryna make something save right lol
I got what it is
||look at the postioning on the map||
that literally does nothing
i swear im getting insanely close
its just every time its closed/reopened the items duplicate
yeah I haven't a fucking clue
I think I might have something semi-functional
it fucks things over if you try and name two elements the same thing but she'll be right
welp welp
oh it works
epic
now how does one dynamically add JButtons to a JPanel
like if ive got a list of strings how do i make a button for each
loopty loop, add component
I believe you can also just pass in an array of the components to be added
so no loopty loop
and can i attach values to them or something so that when theyre clicked an object is added to a list
xbox 360
the amount of unchecked casts in there is insane lol
and it doesn't even work yet either, since Entity and Structure are abstract classes
He's not a good boy
VFX by: Aiman Samat
Clips owned by Warner Bros. Films
😐
help me pls
help you with?
fixing that monstrosity
I mean it's not that "bad"
it's just not that good either
also, its readability is about -3/10
and it's likely pretty slow
https://abcl.org/ stonks
not gonna ask questions
yeah I'm not sure this is the right place to ask for quotes
maybe #805698757411995648 or #805698761442590730 is what you're looking for
@charred copper ^
oh btw, does anyone know how you can split a long into it's MSBs and LSBs?
I mean he just wants to know a fair price
Oki sorry i move my message thx ^^
he's not trying to get it done here
alr
I didn't look at the plugin much, but it'd prob be somewhere between $20-35ish
(depends on the features you want)
@charred copper
Okay thx I have think pay 50-70€ ^^
👀
stop lowballing stuff, thank you
🙄 im just saying thats how much I would pay/charge lol, I'm just giving my opinion
You mean into two ints?
skill and precision
Why not
because I never use it
Well divide by 32 then :kekw:
yeah I don't think that's gonna work
it ushr 32 should get me the LSBs thinking about it
Why not bit shift?
and it ushl 32 should get me the MSBs
Sure
I never said I'm not bit shifting, I just said I can't do it lol
meaning I'm not very good at it
actually it's the other way around
right shift will drop all the LSBs, giving me the MSBs
left shift will drop all the MSBs, giving me the LSBs
how do you decide on prices
since you keep saying that mine are too low xD
Just static_cast<int>(longValue) :+1:
I charge nowhere near what I should be charging
whats that supposed to mean 
Well I mean they're not wrong
lol
get your own estimate, double it, and then square it.
Means I charged 80$ for a plugin that I could've easily charged 200-350$ for
i have never charged more than $15 before lmao
nice
was it written in... clojure?
And if we went into hourly pay, then like 700
i have never charged more than $3 🌚
nah abcl
I will slap you
clojure is bloat, all my homies use armed bear common lisp
xD
I used to do that. Not worth it. Charge what it is worth. If you were on minimum wage hourly pay that would last like 2/3 hours, depending on your age and country and all that. Though if you charge by hourly minimum wage your plugin might cost a lot more than is reasonable
Unless you're a Chinese or Vietnamese child, then your hourly wage is somewhere in the 2p/hour range
minimum wage is about £10 hourly here for adults
I'm not that good of a dev, if I charge hourly with minimum wage I'd be charging at least like 15x more than I do right now lol, and I don't think anyone would pay that
code really quickly
I have a habit of coding around 500 lines, figuring out it doesn't work because I'm too lazy to test, and repeating
most of my plugins take like 8 months sadge
I did just that twice yesterday
500 lines?
o
thats an entire plugin my man
yes
"too lazy to test"

definitely not in java 🌚
it takes like 40 secs to startup the server, and during the 40s it freezes my computer, so I just have to sit there patiently for 40 seconds
im also too lazy to test
oh boi
disclaimer: im not patient
testing is so dull
Join the Frosty club dkim, he can't update IJ because his laptop can't handle it
oof
katsu
frosty got new pc
I've got a new pc
😃
oh nice
about time right
😦
testing is just right lets try this command.... good
now this one... good
now this one... great
Stop using local host as a test server
now this one... classnotfound exception
me:
testing is just right lets try this command... dang it it doesn't work
now this one... arghhhhh whyy
now this one... i hate this
sounds like a you problem 🙂
man my vps is 10x slower
The dedi I use go brrrr
ill just open my network to 25565 if i want others to help
open all ports 🙂
my man ill get ddossed right quick
my dev server is always open to the public lol
its hosted localhost
frosty.op65n.tech
and I never got ddossed before 🙂
If anyone wants to join 
i might open a test server on iwani.dev
does spigot have apache commons compress
||warning: this is ip grabber :)||
but i cant figure out
yes, dkim it is
I mean you're technically right since it logs the joined ips so
imagine not knowing how to do it
anywas i gt g byeee
frosty does it have viarewind?
anywas
bruh latest or nothing bitch
but all 1.12
hbruh teh fuck
or gay
op them my guy
op or gay
made me open mc for nthoing
really tho
My guis aren't working for some reason
IM STUCK
World gen go brrr Pulse
:bruh:
ez
The botches terrain at spawn is custom world gen
ew that console has colour
shut yo ass up
my dude is running paper or something
ew
i run my jvm on rust
i run my server on bukkit
get ready to get ddossed 👀
lmao
Hopefully I didn't just dox Pulse
The colors are beautiful
Using Alacritty
ew opengl
@forest pecan What did you do lol
Alacritty good
ewwww
idk lol
This dude...
yes yes extraterm
lmfao
Alacritty objectively superior terminal
The fuck is you doing
yakuake tho
coc
peasants
wdym bardy?
the 32 MSBs and the 32 LSBs
u need seperate feature branches
No clue what that means
I dare you to run /execute as @e run say hi (i think thats the cmd)
feature/printlninsaveclass
MSB = most significant bit
LSB = least significant bit
e.g. given a number 10010110
the LSB is the right most 0
the MSB is the left most 1
e.g. feature/workitemid-workitemname
then those gets pred into develop
whenever develop is ready for client testing
it goes to staging
hello
hi
hey Ivan
i just do feature/blah and when thats done i merge into master
Bardy, toString(), then charAt? 
after thorough testing it gets pred to master
ew that's gonna be real slow
noob
Got a better idea?
😛
just do indexOf that'd solve it :p
I know you can do it with bit shifting, I'm just not sure how
I've tried that already genius
try harder
ok whats the problem for real
I need to split a long into 2 ints
divide in half
give an example of a long value
jk lol
one containing the most significant 32 bits of the long
one containing the least significant 32 bits of the long
gimme a min lol
When you get a word document explaining every feature of a commissioned plugin :moan: (It also has pictures)
actually I don't think I can find one, since none of the world I have contain structures not generated yet
num >> 2
wouldn't value >> 32 and value << 32 work?
well I would, but I don't have a value to test this on lol
since when did longs have decimal points 
What value you need Bardy?
dude don't you see im joking
right, lemme give you a bit of context
yeah I got that joke lol
He doesn't even know what 69 is
🤦♂️
the long is a value with the X coordinate packed into its 32 most significant bits and the Z coordinate packed into its 32 least significant bits
Miren sounds better :kek:
miren? wot
where X and Z are coordinates of a structure that has not yet been generated
mekanik
Means calm in my language
oh lmao

programer
No I mean where in the world file I would find that
bet we do
I know what 69 is
||time to google what it is||
it's on my Google search history somewhere 😳
Lmao
bardy please explain to me what it is
i do not understand why this is a "funny number"
fine
lol
🌝
Please do say something kek and not the actual thing
it's a sex position in which both the male and the female perform oral sex to each other at the same time
gosh why do you have to explain it to 7 year olds
w e l p
you asked for it Kali
This is a pg 13 discord, please watch your language
stfu
😂
frosty how is your server tps
20
haha
i totally don't want to see if I want to crash the server
says Mr. "Jump off a cliff"
actually the woman is doing felazio to the man and the man is licking the woman's... you know what
frosty do u have worldedit on your server?
let's not continue that topic
...
that's literally what I said lol
thanks
dk do //eeeee
http://www.tomscott.com - "Two Drums and a Cymbal Fall off a Cliff - b'doom, tssh". That's the joke: but does it really give you that rimshot sting you hear in comedy? We investigate.
This reminds me of that "If your friends jumped off a clif would you jump as well?" and the answer is, yes I'd be the first one to jump
Pulse, a simple cannon won't cuck the tps
thoughts? https://github.com/PlaceholderAPI/PlaceholderAPI/pull/575#issuecomment-785094048 anyone who shares the same opinion?
Or you know just fuck legacy?
yeah thats also an option ^^ but we have to discuss that with clip
frosttyyyyyy
clip no work on papi ;C
i bet he would say something like "there are so many people using 1.8 and i dont want to screw them over"
nop
hows papi 3 coming ☹️
damn humans will be on mars by then
:c time to get baritone
Not if the nukes drop before that Kali
clip is not an advocate for 1.8 support afaik
thats why hes already dropped support for 1.8 on most of his plugins
hi..
holarino child
Should drop legacy support on everything, to force people to update
in papi we see a difference compared to the global scheme of things
is this server ok with avertisement/?
Darkshadow, no
ok bye
1.8 servers are 2nd
At least they asked ¯_(ツ)_/¯
you know how much people will be mad at him if he does this
Yea that was nice of them
Old versions still exist so 
is he just going through servers and trying to advert?
^
lol
papi dropping 1.8 support?
also theres #805698762193764372 :p
bruh why does it load 0 items in the gui ;C
git gud
im just tryna say that if it comes to a place where 1.8 has to go, i dont think clip would care james
prints out stuff fine, just doesn't add them??
oh ok
ok, time to use mvdwplaceholders 🙂
That's utter shit
older versions 
i love how paper is dropping java 8 support
but mvdwplaceholderapi doesn't have as much placeholders
just stop using 1.8
11 🥺
they better drop java 11 support soon
Finally
just use 15 u nerds
11 is not bad
for them fancy switches Kali
15 is better imo, but most systems don't have it
Which were added in 14
Nein
kotlin maserrace
just use java 17 after it comes out
kotlin good
like java 17 is the next LTS version and will have A LOT of new features
like we will have guess what: A PROPER MEMORY API
o
man just dont use java
true
use clojure :)))
and a ton of new shit
Clojure is hell
how so?
i code in binary
clojure's syntax is awesome
defn main [] (println "no")
is that why they're enforcing strict encapsulation on JDK internals now?
i probably butchered that so hard kek
thats wrong
¯_(ツ)_/¯
u need more brackets
(((((((n((("o") )))) )) ) )))))
()()()()()()
lol
the amount of brackets and stuff makes no sense to moi. Also like, it's unreadable after a while
01110000011100100110100101101110011101000110110001101110001010000010001001110100011010000110100101110011001000000110100101110011001000000110100001101111011101110010000001101001011101000010000001101100011011110110111101101011011100110010000001110100011011110010000001110000011100100110100101101110011101000010000001110011011101000111010101100110011001100010001000101001
this is a simple print in binary ^
section .data
message db "no", 2
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, message
mov rdx, 2
syscall
mov rax, 60
mov rdi, 0
syscall
01110111011010000110000101110100001000000110010001101111001000000111100101101111011101010010000001101101011001010110000101101110
i do like assembly
https://i.imgur.com/l9eb3IK.png fuck you Ivan
Hi
lol
01110111011001000111100101101101
01111001011011110111010100100000011001000110111101101110001001110111010000100000011011100110010101100101011001000010000001110100011011110010000001110000011101010111010000100000011101000110100001100101001000000111001101110000011000010110001101100101011100110010000001101001011011100010110000100000011101000110100001100101011100100110010100100000011010010111001100100000011000010010000001110011011100000110010101100011011010010110011001101001011000110010000001110011011010010111010001100101001000000111010001101000011000010111010000100000011100000110000101110010011100110110010101110011001000000110100101110100001000000111011101101001011101000110100001101111011101010111010000100000011101000110100001100101001000000110111001100101011001010110010000100000011101000110111100100000011100000111010101110100001000000111010001101000011001010010000001110011011100000110000101100011011001010111001100101110
That wasn't binary 😰
also, even bigger ffs
wanna know how you get LSBs and MSBs?
MSBs = number shr bits
LSBs = number and 0xF (repeat F for how many bits there are)
(int) longValue and (int) (longValue >>> 32)
somehow my number was wrong and I was getting the wrong number
omfg I swear
I found that on Google and ignored it
ffs
lol
what is >>>?


