#dev-general
1 messages · Page 330 of 1
Doesn't take long to make a python script opening each file and inserting random strings in places they don't belong
if you did that in level.dat, Adventure would probably complain because it wouldn't be able to parse the NBT data lol
but if it can parse the NBT data, anything added won't break it
since the server only gives a fuck about very specific things
⚙️ Development General - Not configuration help - More relaxed area to discuss development topics
-_-
and how does this relate to anything we've been saying? lol
I wonder if Caddy v2 configuration counts under that rule
I meant doing it to the actual kotlin files too
Caddy v2 is literally a piece of piss
yeah that's not called making it worse, that's called literally completely breaking it
idk
im eating crackers
lol
blame it on them
Well, I'm thinking of updating, since either I'm doing something wrong (far more likely) or Caddy v1 doesn't let you have multiple reverse proxies per subdomain, it keeps redirecting me, although only if I proxy the port used for http requests to my mail server 🤔 If I proxy 443 it just says that it can't process a http request or smth
is it javamail?
nein
wait a minute... why tf are you reverse proxying mail?
how many brain cells do you have?
it's a web server
also, what happened to you just using Prevarinite Mail lol
because it uses 443 and 80, and I kinda need those for my actual web pages. So I set docker to use 380 for 80 for this container, and 3443 for 443, then I'm going to reverse proxy those to my subdomain, and it should all work
Or at least that was the plan
Until it blew up in my face
please don't tell me that you're running SMTP through 443
gimme
or SMTPS through 443
No, that's 25
oh you're one of those
Unfortunately
cheating by using one of these "mail works out of the box" systems smh
Modoboa just didn't work, and I don't have the patience or time to manually configure postfix, dovecot and whatever else
imagine not having a friend who literally set up Postfix and Dovecot from just man pages
Yeah unfortunately none of my friends are capable of that
actually I kinda also configured Postfix and Dovecot from man pages as well
since I had to make tweaks to make my setup work in the distributed environment I run it in (I have Postfix and Dovecot on separate servers)
yeah I'm just trying to make caddy, haste server and iRedMail not hate each other
Which is proving to be quite difficult
If I do it for 380, it just dies
I don't have the brain power for this
Ima leave it until tomorrow
when do you ever have any brain power 
I had enough brain power to get it to sort of work, then nuke it and use their docker instead
If I turn off caddy it works, but thats not very good, so uh, yeah.
what's your configuration
😮
Docker: the same as on iRedMail/dockerized GH, with 80 and 443 replaced with 380 and 3443 for the host port, because I couldn't think of anything else.
Caddy:
mail.katsumag.me {
proxy / localhost:380 {
transparent
}
proxy / localhost:3443 {
transparent
}
}```
why is google cloud ui so bad? Or is it just mee?
i don't think it's that bad
lol i just spent like 5 minutes figuring out why i had classnotfoundexception when starting server in my plugin... package was me.dkim1375.coolplugin and not me.dkim19375.coolplugin 🤦
idk I really want to host this bot but idk what vps is good enough for like not 10$/mo. Like is the OVH starter good? I was looking ad VPS prices few days ago but forgot everything I found xD
I think I'll go with that one for 1 month. I'll have to learn to set it up tho
fuck that'll be so much pain
wot are u doing
also I assume I chose distribution and application not just distribution ?
Not only it's ugly but having numbers in packages is confusing af
^
context?
uh
oh right
I guess Ubuntu? https://i.imgur.com/gPN4kIV.png
and they got the 20.10 version. nice
well I guess I'll just give it a try. not going to buy that nitro anymore
so much to learn 😦
docker is pretty simple too
you could do it without if u want
but docker is great
rather than setting up the environment (eg gradle, jdk etc) on every machine, it's just 1 command
I mean I've only used like 4 commands in linux ever and those were given to me by piggy
lmao
lol
i think the absolute easiest way to get the bot going on linux is to just use tmux or screen to run it detached
@static zealot should’ve chosen 20.04
it’s lts
also, yes, they will require your id eventually
finally
you wanted their cheapest cos
vps*
because the most expensive is overkill for a bot
what does your bot do?
well I have something similar to #816184744797929522 it checks for some things in messages and if its right it adds a +1 and -1 as a reaction if not deletes it sends warning. also few commands
that’s nice
I found a dedi to upgrade to but turned out they were out of stock
maybe that one would've worked
oh nvm I wonder if I can cancel if I didn't pay yet
if you haven’t paid and you want to cancel, then just don’t pay
oh will it auto-cancel? k then
the vps. I thought it didn't create the order. wanted to switch to 20.04
lol you can switch after
oh well... xD
Hi, I have one and very big problem. The %statistic_time_played% stopped refreshing. Idk why, when I write just this command /papi parse me %statistic_time_played% the time is always the same. I tried to restart server, nothing help. My server is on Paper 1.16.5
Wtf?
?
For what is this link?
click it
I need to write it here right?
write it there
Yo
i found my dream job

$30-$40/hr
damn that isn't too bad tho ngl
for a pay
Decided to give gradle kts a try and omg I had never seen a build.gradle without warnings and grayed out stuff 🥺
My favorite moment with gradle groovy dsl was when it was literally just all error red.. literally all of it, and it still built fine lmao
Just refresh gradle
Fixes stuff like 99% of the time for me
:))
Just started
I got kicked out of the lobby on the final stage of the boss, I'm sadge ;C
lol
Let me know if you need design input, cause you know, I pro designer
👍 👍
@static zealot you're using OVH? noice
didn't know you were over 18 lol
actually I think the human verification where you have to send in a copy of your driving license, passport, or a bank statement within the last 3 months to prove you're 18 is just a UK thing
Security++
lol
I don't think I've ever had to prove my age on a site before
banking?
actually you probably set that up face to face in a branch
and I set mine up over Barclays mobile banking
Imagine setting that up through the interwebs
lol
also, I'm really tempted to add player list header footer to Krypton and put some text on top and underneath the tab list lol
PacketOutPlayerListHeaderAndFooter what a packet name lol
ah yeah, I would have, if I hadn't got my mum's permission to use her details lol
somehow, if you say to stripe that you're a 38 year old woman, they won't question it lol
no need to use parents details on stripe
there is if you're 16 and you're signing up for Stripe Connect for GitHub Sponsors lol
oh
that's a division of stripe connect
pretty sure it's called stripe connect custom
yeah it's literally the only Stripe account you must be 18 for
it's the only kind of stripe connect account (there's 3) that requires you to be 18+
https://github.com/sponsors/BomBardyGamer got it setup though in the end
also had to sign a tax form under my name and my national insurance number (basically the UK equivalent of a social security number, but you get it when you're 16, and it's what legally entitles you to work and pay income tax)
yeah I've gone through that too
I did that all last year in an attempt to mitigate paypal from eventually killing my account
assumed if I became a business I could legally use it
yeah iirc, you can use PayPal at 16 if you own a business and use a business account
also, on another note, I kinda feel like a bit of a dick for putting my Patreon and GitHub sponsor in Krypton's FUNDING.yml lol
I mean, I am kinda head dev though so
also also, added support for Epoll and KQueue the other day into Krypton, until I realised that they only work on Linux and FreeBSD and that Windows doesn't have a native IO system so I still use NIO lol
but it'll be very useful for Linux and FreeBSD
since Epoll is rapid iirc
oh btw, @prisma wave , https://github.com/KryptonMC/Krypton/blob/master/src/main/kotlin/org/kryptonmc/krypton/channel/NettyProcess.kt#L32 purpose.exe not found
please explain what that's for 🙂
:why:
val f
yeah I'm changing that now lol
unknown ejabberd module: mod_hello_world. Did you mean mod_disco_opt?
Clearly a typo 🙃 , those are so similar
im sure that was used at some point
commit history time is it?
not in initial commit
nope, none of your commits after that use it lol
🥲
ah I see where it's meant to be used
the boss group is meant to be the parent group and then the worker group is meant to be the child group
looks like somebody didn't fully read the Netty user guide lol
right, time to make that change and test
watch it just break
surprisingly, still actually works
also, survival seems to work, but there's no death or slowdown or entities or infinite worlds yet lol
i didn't read it at all
lol
also, asynchronous user authentication test #1
haven't got very high hopes for this, but it might work
kotlin.UninitializedPropertyAccessException: lateinit property profile has not been initialized what did I tell ya
also, btw, got localised join and leave messages now
okay I think I've found my new favourite locale
Shakespearian English is a thing lol
noice
gaem
yeah. the 3.5$ vps only tho. to host my discord bot
also yeah I'm 19
nice
@old wyvern I pushed some stuff, do pull so you don't have to rebase later
btw in Kotlin its fine if my util classes are just called Name not NameUtil right? I remember BM or someone saying this.
kk. thanks
I like using camelCase for my files that contain extension functions
ew
though generally, the files are just one word, so they're all lower case
e.g. bytebufs.kt
metadata.kt
utils.kt
if it doesn't contain a class, it shouldn't be PascalCase imo, since it's easy to get confused
bard
what
Alrighty
the convention said otherwise, although Sx did a similar thing
ctrl + c is supposed to kill the currently attached process right?
yeah I got that convention from Frederikam lol
it will perform a SIGTERM if you press it once, and a SIGKILL if you press it more than once
iirc
Is there any documentation (with examples hopefully) on the bukkit conversion api?
I tried pressing it multiple times now it seems to make terminal act weird
like commands dotn return their results
@quiet depot might be able to confirm this
since I think he knows more about Linux than I do
yeah some terminals can bug out after Ctrl+C I think
yea reloging seems to be a fix it but its kind of annoying to have to relog everytime
which terminal you using?
ssh w/ PuTTy
ah, yeah wouldn't be surprised if PuTTy broke from a Ctrl+C
yo will plugins made with java 8 work on java 11? Or is there something special you need to do?
also, use Bitvise btw
Ill check that out
yeah they should work fine
oh ok ty
the JVM is backwards compatible, but not forwards compatible
so you can run a program compiled with an old version on a new JVM, but not the other way around (for what I would think are very obvious reasons)
so I should use 11 and say it should compile on 1.8?
I would just say fuck Java 8 lol
Java 8 is only really required for 1.12 and below
1.13+ is fully Java 11 compatible iirc
eh, fair I guess
cater for these idiots who still think that 1.8 is somehow a good version
but I can just use 11 and compile it to 8 right?
Yes
yes
set target to 8 in your build file
this? yml compileKotlin { kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8
I assume ?
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
```yeah that or this
Yes
latest or nothing
unless u have legacy support just compile to 11
encourage people to hurry up and update
List.of 🤤
I mean, realistically, people are most likely to avoid the extra hassle of updating for that single plugin. The same as they have been avoiding it til now
yeah well i'd like to see them avoid paper 1.17
🤷
if every plugin just dropped support for 1.8 completely, you wouldn't be able to make servers for 1.8 anymore lol
but that won't happen
and also, a lot of MCM plugins are still 1.8, and good luck getting them to move
Yea
It may happen at some point after the new paper changes
but not immediately
and seems hes using kotlin so not sure hes missing out on much
Is there any difference* in kotlin stdlib between those java versions?
new Paper changes? you talking about them completely dropping support for Java 8?
not really lol
yes
I still build with 11 though because I want to encourage everyone to just leave 8 to rot away in the grave it's buried in
😂
yeah if ur using kotlin there's not much reason to not support 8
it's been a good LTS version for years, but it doesn't get any updates any more
You know what would encourage people to update, if via shit got discontinued
latest client or nada bitch
if ViaRewind got discontinued, nobody would be able to support 1.8 anymore
Exactly
I mean, I think that ViaVersion is a great plugin, but ViaBackwards is a bit of a hack, and ViaRewind, well, that's literally the hackiest of hacks
and ViaRewind breaks a lot of things
latest or nothing
It does though?
e.g. on a server that I'm a developer on, our factions server (running 1.12) had some issues on launch with 1.8 clients getting told they were cobwebs lol
if you count paid extended support then I guess
1.8 clients getting told they were cobwebs
Wait what?
actually, apparently, they're still providing free public updates for it
we have some lilypads at spawn and ViaRewind told 1.8 they were cobwebs lol
oh, you didnt mention lilypads there earlier xD
yeah ik, I'm a bit small brain sometimes lol
yeah they were getting substituted for cobwebs and players were getting stuck in them
❤️
Frosty jump off a cliff
omw
lol
yes
🙃
you didn't know that?
that’s what I used to use when I was on windows
Didnt notice xD
it's basically a lightweight version of mingw iirc
I have been using putty for a while now for this
Alacritty best
yeah Alacritty best terminal
cli ssh client is the best client
windows has ssh even without git bash
anyone who uses xterm or i3-sensible-terminal, feel free to depart this channel
can u access it in cmd or only powershell?
i use kitty terminal
both
o
wait what
oh yea
oml he's right
seems its from win 10
windows isn't entirely illiterate
okay that's actually amazing
I wish Windows had a command-line text editor though 😦
just use WSL
yeah I have WSL Arch, but it's kinda broken atm lol
edit
the terminal i used on windows had nano
just use linux tho
I should really just use my fully functioning Arch Linux system
i think it was just the full mingw64
I had to use WSL2 to actually get anything to work
docker on anything is a pain in the ass to use lol**
also, enabling the hypervisor makes VirtualBox not work, which is also fun
lol
installs vim
bash -c "nano file" works for me but I'd also appreciate a built in editor
I'd be surprised if that worked in plain ol' command prompt
which?
do you actually still have edit yugi?
it's a 16 bit app lul
16 bit man
I used to run a 32 bit workstation until a few years ago
that was such a good system
lasted my entire life
bash -c "nano file"
lmfao
You have to use another version of it, and enable the hypervisor platform and stuff. I got it to work in the end, just whatever that app is that emulates an Android phone wouldn't work for me. Aaand then I tried to install a Manjaro VM which wouldn't work unless I disabled it all so eh
bluestacks
thats it
repl.it good for when your school wants to be dick heads and say "you program in Python or you can go fuck yourself", but IntelliJ superior
lol
it does provided your wsl distro has nano installed
Python's default IDE? you mean PyScripter?
because that's what we're forced to use
and I've asked the IT department at least 3 or 4 times for IntelliJ and they won't give it to me
JuPy*Ter NoTeBoOk
IDLE
We're forced to use it too. We used to have PyC but I found a way to get into the other network drives we weren't supposed to have access to with it. They didn't like that.
what the
how does windows operate then
u need to get that sysadmin fired dude
u cant even use vsc
or sublime text
or vim!
also jetbrains has pycharm for python, i think its intellij based with extra python features, like clion or goland
yeah I also asked for Notepad++ like 3 years ago, didn't get it
surprise surprise
so I'm stuck with PyScripter and Notepad
Tell em to go fuck himself, "education" my ass, using outdated shit
sounds like it may have some negative effects on your ability to ask for things in the future
they kinda don't like me because I'm smarter than them
and because I've "hacked" the systems multiple times
Go complain to management, education should give you the best possible accessories, not some outdated shit
Write a complaint, get others to complain as well
this is the problem with British schools
If you have a shit ton of students complaining they're gonna have to do something about it
the teachers are allowed to live on this high horse, where they believe they are somehow "superior" to students
flashbacks of turboc++
if a teacher says something, it's very hard to contest what they say
because they will believe the teacher over the student, even if the student is right
I've complained about it being unfair for years, but nothing will ever get done about it
until I actually become a teacher myself, then I might actually have a voice
we have "democratic" things like student voice and the student council, but they can't really do shit on quite a few matters
but it's still an autocracy at it's heart, since that's how schools work
there are people in charge and everyone else is a peasant
yes education facilities should implement anarcho-communism
Bardy, get more people to complain, right now you're the only one I'd presume so they kind of have no benefit in listening to you, whereas if you have an entire class complaining, they will have to atleast consider it
yeah but I'm in the sort of "the one kid who is actually competent at IT" kinda classes
I can program better than the teacher
not even kidding, all he does is just teach us workbooks given to him by the exam board
I know more than he does
Well yea, that's what he's paid to do
also, my parents hate him lol
also, https://paste.helpch.at/xiwuxobedu.sql this is why I hate old versions -_-
hell yeah
lol
Hello everyone, a friend of mine made a custom plugin for in my server, but how can I change the config? Is it via eclipse or? Want to change the name and stuff, and to change the command itself.
No he didnt, I'll ask him to send it then. 😄 , if he sends it I can convert it into eclipse or?
No..
ew eclipse
you can change the config.yml with a text editor
or did they not
config.yml is for configuring the plugin when it's running on a server, not for use to program
this dude u gotta speak clearly speak to us
You don't need an IDE to edit a config file
^
Kk, thanks.
yw
Go to the plugins folder on your server, open config.yml, edit it, save it and reload the plugin
Or restart the server if it doesn't have a reload command
Alright, thanks.
Krypton 0.8 is now out btw guys
big refactor
it should now kick you if you're using a version that's behind or infront of the server
and I put the emphasis on should because I only tested it with 1.13 lol
should
also, more people should get involved 🙂
effort
I'd rather contemplate sudoku with world gen
Id get involved if it was in a more modern language
like clojure?
circlejerking aside BM, you'd get involved if you weren't busy with A-levels
man a levels are easy u only got 3 subjects man
/s btw
I have 1 open commission that I'm meant to be doing that I'm not lol
I was given a month to do it from like the 11th last month and I've done fuck all
Maybe talking about that in a public channel is not the best way to go
I'll probably resign from the services team I've gone back to for the second time, since I'm just not motivated by payment
yeah idrc about it tbh Yugi
Would just be rude if the client reads that
When you tell them how much experience you have and they just stop responding :sad:
man commissions are funny cause u have to write it in java
Nah man
BM and iwanio, can you two shut the hell up with your "modern" languages
;)
Elara gonna take all this by storm
no
Noone gives a shit
by ElaraStorm I mean
How is f# going
Slowly
🥲
true
that's an oof
but I doubt they will
Have u discovered the beauty of |> yet
What did i do wrong lol https://paste.helpch.at/losameyesa.sql
I'm gonna have to learn typescript and react now :(
I've not done anything today yet, had classes till like an hour ago
you gotta provide it with -Dkrypton.world.dir=/C:/Users/some-user/path/to/world/dir, sorry I'm aware that's not clear in the README lol
also, it only works with specific worlds atm
ah okay, so I have to have the world pre generated currently?
Okay cool
Yeah no worries was just checking haha
also, when I say specific worlds, let me explain what I mean
(flip .)🥲
I mean it will only work with worlds that have a 5x5 area of chunks originating from the chunk at 2, 2 where all the sections in those chunks are present and not empty
Okay, do you have an example world I can download and use by any chance?
what gce a level r u getting bm
gce?
idk what they actually are
GCE = General Certificate of Education
oh so that's why frosty is working on a world gen?
nah you're right Piggy
i just searched up "atar to a level"
GCE is a level
https://www.uwa.edu.au/study/how-to-apply/international-and-overseas-qualifications/gce-a-levels and this popped up
The University of Western Australia welcomes applications from students who have completed the GCE A-Levels program.
o idk what that is
mhm we don't call them GCE
yeah GCE just refers to any educational qualification in the UK
o
right anyway what a level score number thingo r u getting
u mean grade?
and if u say "idk i haven't got it yet" just look into the future
GCSE is a type of GCE that you gain from completing secondary education, and A-levels are another type of GCE that you gain from completing further education
whut
u mean age?
tf
cambridge
oh wait i'm blind
lol nice
it has notes underneath
yeah
uh
cuz in my state when u finish school u get a number that represents your grades for your four best subjects called atar
so they need another arbitrary number to compare it to for international students
ah
you're doing 4?
yeah
oh wow
and an EPQ 🥲
you doing further maths?
I got the option of doing 4 but I wanted a job
yup
is 4 a lot?
I'm doing further maths as well, but I'm only doing 3
who would do further maths?
normally you do 3
I do 5 atar subjects but idk how comparable these things are
4 is usually too many unless it's maths + further maths
cs, maths, physics best combo
then u have time to revise and get a job
who needs further maths
flex
further maths is cool
u would probably fail it
considering the normal amount is 3, and that A-levels contain stupidly high levels of self-study, yes, 4 is generally considered to be a challenge
we learned about bubble sort a few weeks ago 🙃
Dimensions are JSON files located in data packs that define new dimensions for the game. These dimensions can be accessed with /execute in <dimension> run teleport <coordinates>. Any dimensions are loaded once the world is opened, not on reload; so any change or addition to the file require the world to be restarted to apply, and not just runnin...
man
how many hours bardy
further maths sounds hard
like you do 3 subjects, and you have like 3 lessons of each a week
so why would u do it if u didnt need it for ur course
personal interest
a day more like
3-4 lessons per day lol
no i mean how many hours do you need to study per subject per day
or how many are you meant to study for
a lot
it's like university, you're meant to know most of the content before you go to the lesson
more than im currently doing 🙃
but srsly
why would u do further maths when u can do useful things
u need to choose easy subjects
iwanio flex
so u can get high grades and get into uni
Do you need this as a json file, or can I have you just generate a custom object for it, confused about the actual semantics of this or whatever the fuck you'd call it
further maths makes normal maths pretty much free
I swear you insult maths like that again and https://tenor.com/view/ill-find-you-iwill-kill-you-taken-gif-5513044
imagine going to uni and into a cs course where you don't actually need further maths, but u can go up to peeps and be like "bet you didn't do further maths lol, noob"
exactly
What is "further maths"?
not for cs
u cant win if u dont understand physics
Sounds like something from one of those horror movies
no clue but I'm guessing it's the same as what specialist maths is in aus
just an extra subject that's more detailed / hard maths content
yeah probably
What do you learn in that?
uh
mafs
year 11 math specialist syllabus https://senior-secondary.scsa.wa.edu.au/__data/assets/pdf_file/0011/576884/Mathematics-Specialist-Y11-Syllabus-AC-ATAR-2020-GD.pdf
its weird how many universities need high grades in maths for cs
but dont need any cs grades
wut
The requirement for engineering is only science stream + maths here
unis couldn't make money if they did that
no you don't, not for maths, or for CS
Not sure how its there
man someone tried to convince me to do BTEC game dev
I'm still actually debating whether I want to teach maths or computer science tbh
complex numbers, matrices and linear transformations, more advanced vectors, summation, more advanced calculus, hyperbolic functions, differential equations, lots of stuff
Do it 🙂
lol that would be insane
Also its B.Tech*
BTECs are useless
no
yeah that sounds the exact same as math specialist
Oh you talking about something else?
🤷
then u also specialise into 2 of further statistics, further pure mathematics, decision mathematics and mechanics
@jovial warren
BTEC offers professional qualifications for anyone taking their first steps into the world of work, progressing through their careers, or planning to enter university.
oh
there are probably similar things in most places
I need you to be able to give me those values so I can write them as NBT
and also vice versa
We are forced to learn most of that except linear transformations in our th and 12th grades
o lol
Only had linear transformation 2 sems back here
So if I provide you with an object containing those values, that's good right?
yeah i think our syllabus is comparatively easier than most countries
yeah provide me with those values and I can handle the r/w
like americans do calculus in like 9th grade
and let me also be able to provide you with those values
What other subjects do you have?
mafs
Nah, my country's education is just fucked
o lol
what age is 12th grade?
205
7
oh that's the same age as we do it then
so thats year 1 6th form
mhm but our choice for subjects is kinda limited
its not year 12 you cretins
And things are just too competitive here
school ends at year 11
People care about scoring more than udnerstanding
damn
it is year 12 you cretin
A sixth form college is an educational institution, where students aged 16 to 19 typically study for advanced school-level qualifications, such as A Levels, Business and Technology Education Council (BTEC) and the International Baccalaureate Diploma, or school-level qualifications such as General Certificate of Secondary Education (GCSE) examina...
thats the most depressing looking building ive ever seen
or lower sixth and upper sixth
``` cough
no its only the last one
the first two are tricks
northern ireland doesnt even exist
northern "ireland" 🤢
'northern' ireland
Sir this is #dev-general
Why do yall have to complicate things? "1st year of 6th half"
tf
That's stupid
you are wrong
no
wait no more school after 11?
indisputably
so like
no year 11
no college?
age 16
stupid
We just have year 1 to 12, simple as it gets
after that is 6th form
We have Kindigartan, 1st Grade, 2nd Grade
etc
to 12th Grade
then college
lmao
we have reception, year 1, year 2, up to year 11
they are called different things for a reason
reception
whats the reason
why is called that
year 11 is the most you are required to do
not anymore
wu
u have to be in education until 18
u can do an internship
most people in my area did internships
at factories and shit
What grade are you? "Oh I'm 1st year of 6th form second division, combatent captain of the first honorary"
lmfao
you could just say like "year 5"
or "lower sixth"
man i think its just cause wales is different
cause we have different laws
cause devolution
what a lovely country 🙂
WTF
doesnt even have its own government
why would you say that
sucks to suck
mmmhm
idk why but I keep losing more and more interest every single day
in what?
this shit is boring
what shit?
my job
what job?
programming
sadge
burnout 😦
Lemmo become a famous cod streamer
lmao
I don't have much choice in what languages I use lol
dont
I am doing so at the moment
php is not too baad
i understand your pain
Elara to Php compiler??
god no
😂
:))
I think it's more the fact that I've been working for so long on this one project
and in languages I dislike
finish it then
I haven't learned anything new in the past year
Lemmo I forgot to DM you, expect to hear from me soon
That's very sucky, I'd be just as bored >.<
I'd rather build like big infrastructure
instead of a shitty as website for some client who doesn't understand
with garbage code everywhere
yea infrastructure is so cool
in go?
id love to have a practical use for azure or GCP or something
b
I mean we use azure a lot
but we don't have that big architecture to be honest
it's still expensive as fuck
yeah
kinda crazy how expensive it is
simple
I've used it before to make a whatsapp knockoff
firebase looks pretty cool
fire is based ngl
its a file object 🤢
File file = new File();
something like that
val file = File(name) :)
man
^
kindergarten
auto file = std::fstream(name);
hmm if I have 4 variables (integers) and I want to check if 2 ore more are bigger than 0 what would be the best way to do it? I feel like 1 big if statement or multiple ifs is not the best (well at least how it looks). Kotlin btw
no
a for loop?
arrayOf(a, b, c, d).count { it > 0 } >= 2
that
ah. idk why I didn't think about that. ty
depends on what you're wanting to do exactly tho
mkdirs will also create parent dirs
mkdir needs them to be created
createNewFile requires the parent dirs to be created
FileWriter
/s btw
or FileOutputStream for something more low level
yeah use that
d;files#write
public static Path write(Path path, byte[] bytes, OpenOption... options)
throws IOException, UnsupportedOperationException, SecurityException, IllegalArgumentException```
Writes bytes to a file. The options parameter specifies how the file is created or opened. If no options are present then this method works as if the CREATE, TRUNCATE_EXISTING, and WRITE options are present. In other words, it opens the file for writing, creating the file if it doesn't exist, or initially truncating an existing regular-file to a size of 0. All bytes in the byte array are written to the file. The method ensures that the file is closed when all bytes have been written (or an I/O error or other runtime exception is thrown). If an I/O error occurs then it may do so after the file has been created or truncated, or after some bytes have been written to the file.
Usage example: By default the method creates a new file or overwrites an...
This description has been shortened as it was too long.
path - the path to the file
bytes - the byte array with the bytes to write
options - options specifying how the file is opened
IOException - if an I/O error occurs writing to or creating the file
UnsupportedOperationException - if an unsupported option is specified
SecurityException - In the case of the default provider, and a security manager is installed, the checkWrite method is invoked to check write access to the file. The checkDelete method is invoked to check delete access if the file is opened with the DELETE_ON_CLOSE option.
IllegalArgumentException - if options contains an invalid combination of options
the path
i always forget Files exists lol
Burn
what
if if if if if
arrow code
take picture of taskbar 👀
imagine using a non default theme
if (if == if) {}
;p
lemmo why don’t u go apply for nl google
imagine not using gruvbox
if;
if (if, if, if)
}```
have u seen the office?
IfLang
or anything high level lol
No I quit school for a reason
get a computer science phd
In my country you can't just start a degree like that
invert all those if statements
no there’s this red head chick on the office i can’t remember the name of, she basically just walks in and says she’s the manager, then she becomes the manager
so u should just do that, but with google
then move 😉
What was that language that only consisted of spaces, tabs and newlines?
should work fine
lmao I'll try
go to
whitespace @obtuse gale
you first ask consent to the file
Or we take you to court
😂
exactly
and you can try to catch the exception but that'll throw a SecurityException
sometimes even a DeathSentenceError
DeathSentenceException
Sorry, no
indentation
You cannot recover from a death sentence sadly
fun fact: to shutdown your application we try to open a file without consent
-.-
efe why do u have gradlew.bat open

lmao
@jovial warren What's this exactly, I presume material?
block: The block the layer is made of.
i cant spell lmao
