#general
3141 messages · Page 1308 of 4
did you click simple
what am i listening to at this specific timestamp
Do I need to update the file
click it
Why is this in #general and not in #paper-help at this point
You already updated, you already did it
Smh kash
because it can be
there is literally nothing else you need to do at this point
i get it now
:3
Don;t ask me
good afternoon
I KNOW
ok blizzard
your brain
Ok'
there is literally nothing else you need to do at this point
Yes, I should update my brin
your brin and your brain
o u were talking to me about using the search tool
Blizzard, please move this to #paper-help and actually read the answers you're receiving
How do I get rid of that....
delete it?
bruh
I am trying to
just delete it
then deal with it
its just a file
it's the console history
shut up
its somehting your host puts there
please
you can't delete it
I messed something up
no
No, it's a paper thing, it stores the console history
oh didn;t know that
Ok, imma shut up
hey guys, we hittin spigot levels of activity here finally
15
bruh
was hoping for TOS ban
im 13 and smarter than u
Good for you
The send key is not a space bar
oskar, shut the fuck up
^^^^

ok :(
What are console commands for like the directory
Are you talking about Linux terminal
Cats
Are you on a website
yes
the commands you type are stored in that file, if you was using a proper server you'd be able to press the up key even after restarting and it will remember the commands you typed
Okay
as you're using a web panel, their terminals are generally crap so that's likely not useful to you
I don’t want to be a dick but can you try to use the help channel, I wanted to shitpost in here
Oh, sorry
wtf nomana

Has md5 been on to make a statement about spigot being down all day or is it still night time
seems up to me too
you sure it is not just your side? routing issue?
it was down all day
100%, check the spigot discord
meh
Good decision
https://www.spigotmc.org/resources/armor-stand-tools.2237/ Has anyone used this plugin before? Trying to use it and having issues
Do you guys use any code analyzers? I've looked at sonarsource and it seems pretty good
Nope. But it seems to say that it only works on Spigot. If it uses Spigot NMS-specific methods then there is your answer.
If this isn't fixed soon imma bitchslap somebody
Looks like you're experiencing a java exception! Would you like help understanding what it means? To better help you we are going to need to see the entire exception. Please share it to a service like https://paste.gg and link the URL to your paste here! 🙂
A sensible, modern pastebin. Share text and source code snippets with no hassle.
I will fite you
❤️
mbax https://github.com/KittehOrg/KittehIRCClientLib build failing?!
is still good 2 use?
The command "if [ ${TRAVIS_PULL_REQUEST} = 'false' ] && [ ${TRAVIS_BRANCH} = 'master' -o ${TRAVIS_BRANCH} = 'next' ]; then mvn deploy -P duckswithsauce --settings .travis_settings.xml; else mvn test -B; fi" exited with 1.
-P duckswithsauce

@forest elm use Armor Stand Editor
mr beast
wait what thats a thing
i have 250 mods
yes
doesnt support perms
Yes it does.
anyone can mess with the armour stand with armour stand editor
It's what I was using
pp
So negate the perms. They’re granted by default
its either noone can use it or everyone can
i thought u were a b ot @spare venture
No...
I have used that plugin for a year. It had worked fine for me.
okay im dipping for the reroll of the 'explain the irc bridge to 15 year olds', see y'all l8r
you saying that noone can edit your armour stand?
Depends on the context
go on
they cant right click on it and take items?
If they don’t have perms to interact, they can’t use it
my mental health is so poo lately 
:c
aw
same
COVID is really messing with everything
I want to visit my family and I could but I don't think I should
same, my mental health has been pretty trash recently. I tried to relax and play some videogames to destress yesterday and i just ended up not having fun and just stopping because i had so much schoolwork to do. and im again not sure if i will be able to see my fiancee this year. can we go for 3 years?!
@mental meadow 
god i hope not
all of the people still refusing to wear masks: "yes, it is my personal goal in life to extend this pandemic as long as possible so nobody can see their loved ones"
god, at this rate I might fall for proxi
proxi is <3
Fortunately I can still see my parents, but it’s pretty miserable being unemployed, locked in, and winter
proxi is ❤️
:(
on the other hand I might get vaccinated soon-ish, the one good thing about having a lot of dangerous pre-conditions atm
@spare venture Mind if I dm you about it?
I’m happy that it’s going to start getting better slowly
No, I can’t help you more than I have, sorry
ahh okay
Might have to ask the plugin author
inactive
as soon as all this fucks off, imma try going to the docs again
Damn
fuuuuuck all this crap
My parents are getting vaccinated soon so I can at least not be nervous about going near them
@forest elm get the plugin, and instead of adding the perms to people, add the negation of the perms to people. They're true for everyone by default, so if you DON'T want people to use it, then you need to give them the perm -asedit.basic for example WITH the dash in front
Are you doing that already?
Simple he means that even in protected areas people can edit armor stands
^
so you want them to be able to do it, except in protected areas
I.e a non town member going in and editing one.
ah i see
The plugin should be preventing people from doing it in areas where the interact event is cancelled id assume
yep
i see
It could be for towny, as simple as the priority for the event being wrong
I’ve run into that because towny does everything at the highest priority
yeah that's fucking annoying. i was dealing with that with mythicmobs trying to override damage
AREN'T PLUGIN DEVS AWESOME
It is. I had a dupe on my server because people were able to place blocks in protected land and mine it over and over
Custom blocks
@potent fossil bruh video games were my escape and I haven't played in days if not a week
why not 😦
you should see some of the bastardization I do to get around some stuff
they were mine too but i cant justify playing them. i've just been nonstop schoolwork
Then again, some of the bastardization I gotta do for bukkit itself...
I spoke to the towny dev and it seems like the author commented out a line dealing with it for some reason
we should be getting a break here pretty soon to catch up though
im consistently 2 chapters behind my physics class rn lmao
(but so is the entire class)
Yeah I’m really happy to be done with school
Being unemployed sucks but school sucks more
Till you look back at it.
I loved being in school but hated the workload
ChemE is like having a 100 pound weight on your chest constantly
The good times are now. 
anyone want to play some overwatch? 👀
so yeah I dunno how to fix this 😛 So went to look for another plugin and found the one I linked
but if it wont work on paper that sucks
i would but too much to do today 
It probably will work on paper
sorry x
Like the only thing that doesnt work is the shift key
Apparently to change the direction it moves you need to crouch and click
and it just cancels it
was this recently unlocked? i thought only notables could enter it
ArmorStandEditor seems to be doing its events at Low/Lowest
zml 
It's unlocked for me too
No, it has been unlocked^^
michael 
So it’s as simple as changing them to HIGHEST or MONITOR?
zml !
(also aurora simple aber uwu)
Perhaps
How does one do that
Would need to try it to find out
I would imagine it would

Monitor would be uber hacky as you're not supposed to modify events at that priority
or a plugin of some sort
It’s basically going into the source, changing “LOWEST” to “HIGHEST” in the event priority of the event
why does overwatch always change the language from english to german after a few months
but if Towny does HIGHEST, you're gonna...have to lmao
you can depend on towny and ensure you load after it
so problem with going into the source is when you try and compile it it errors
soft-depend works too, iirc
does that sort events too?
called in registration order as it's just an array
unless your talking paper source?
like events will go to you first, and then dependency even if both are at HIGHEST?
if bukkit does that i'll be amazed
so how do i do it 
im trying to get more information before i tell you
ahh okay thanks
Idk I have in the past just put an event to highest and towny started working fine after that
probably yeah but if just adding depend works in plugin.yml then do that
then no code has to change
it's just 5 seperate arrays baked into an uber array
plugins enable with your dependencies first
yeah but we're talking about listener order
so, if you depend on X, your onEnable will be called after X
and so, you'll register your listeners after X does
do the listeners just go into arrays by priority? so if yours enables first and shoves a LOWEST event in, and then your dependency enables and shoves a HIGHEST in, towny's HIGHEST will run before your LOWEST?
or rather, towny would enable first ^
So making it depend on towny ensures that it loads after towny, meaning that the events are registered after?
thats what im trying to find out bc if so that's sick
Ahh
but i just dont think it works like that
who's sick?
No
I mean yeah it would be easier to fix the plugin.yml but if you can easily build the plugin, changing the event priorities is trivial
there are 5 lists, one for each priority
when you register, you're added onto the end of the list
ok i need to clarify bc i typed that wrong
this plugin listens to PlayerInteractEvent at LOWEST, but Towny listens at HIGHEST. We need this plugin to accept that Towny has cancelled it. The only solution is to edit this plugin and change its priorities to higher than Towny. Just added depend won't work. Correct?
so, dependency order is irrelevant bar the happenchance that you load after it, so you can generally depend on that behavior to let you get after
I don’t even understand how event priority works
You'd also need to listen on highest
Ok, thought so
LOWEST->HIGHEST -> MONITOR
This is my guess
It has worked for me in the past
so if Towny does HIGHEST, this plugin would need to go on MONITOR to ensure it respects Towny's cancellation
but that's hackywacky because this plugin needs to cancel
but if this plugin does HIGHEST there's no guarantee they run after Towny.
Oh, now I think I see what cat is saying
Idk I’ve always put it at highest and it worked for me
If you depend on Towny, your HIGHEST listener will go after Towny's HIGHEST listener
Am I just lucky?
when paper hardforks, change to FIRST SECOND and THIRD 
yes
delete priority and make plugins find the most hacky ways to get priority
better one wins
ez
So it’s only working for me because my plugin always enables after towny
i believe so yes
Ahh
Load after is kinda epic. 
So I need to make my plugin depend on towny to ensure it loads after?
And then it would be all good
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
That for me?
That's for party.
ah
So softdepend @ashen cliff
lol that name
FuckingTowny, FuckingmcMMO, same level of deals
i lold https://github.com/simpleauthority/ArmorStandEditor/commit/0ec566fced565ae1502295391428560f82986959
accidentally edited a comment
lol
nope
And then you have my commit msgs: https://posili.me/i/2021-02-05_00-29-56.png
Did you add towny as a doftdepend
it stops me moving it
i added it as a depend
but i can take items
ooo
lmao f
😔
i mean i can try setting them all to monitor for teh lulz
but you're not supposed to
stuff like that's gonna be own the town flags if you're relying on the interaction events
Need to add
to one of them.
can players interact with buttons?
Cat might be right, make sure you’re testing properly
forget if entity interact was a seperate thing vs normal interact, not too sure with towny
here's another one with monitor https://github.com/simpleauthority/ArmorStandEditor/releases/tag/DieInAHoleTowny
but at this point i doubt it. that's as far as we can really go by editing the problem plugin tho
if it works then lol
alright i gotta go do physics
see yall later
Bye simp 😳
nope
What is the community guilds channel?
Other servers you might be interested in.
whaTS THe best virus protection for my comptuer
at this point just use Windows Defender and common sense
stuff like NoScript in your browser also helps a lot
^
and like 90% of the viruses you get by mail anyway now
(slightly nsfw) https://www.youtube.com/watch?v=I26Ql-uX6AM I still like that version more
Yes this is a shameless reupload however Fred Perry is removing the original soon due to COPPA. Please support the original artist, and please note I am only reuploading this in efforts to preserve a piece of internet history.
2/5/20
I dont remember what day it was, but Fred Perry stood by his word and removed the original video. RIP, despite ...
still angry that aurora.space is not available
Now you just reminded me of what video got deleted.
Right here:
https://posili.me/i/2021-02-05_01-40-02.png

There’s a TF2 version of that too
great the egov stuff is down >.<
yes but I also slept until 16
my sleep schedule is not good
Are you @waxen panther
gn 
BTW wanted to say thanks for trying even though it didn't work
so mixing RAM stick sizes, yea or nay? I googled around a bit, and got both answers.
@twin lagoon go to bed.
maybe someone here has different sizes already?
AFAIK, fine but you potentially loose on performance etc since it'll always have to work as the weaker one (not size-wise, speed/bandwidth wise iirc).
yea
basically it's fine
It might not be as perfectly stable as it might be when using equal sticks, but that's just in theory. And there might be a slight performance impact, but tbh I haven't seen a system with RAM performance as it's bottleneck
well... I have 2x8, and I'm gonna buy 2x16. so I guess if its a problem I can just not use the 2x8.
And what you should always do, usually your RAM banks are ABAB or AABB, so you should at least use the same stick for A and the same stick for B
Make sure "pairs" of sticks are in the same slots.
Usually have different shade of locking on the side.
I think its AABB for mine but yeah, I get the point.
it should be basically on the same site in the manual
it's 2:42 am
Same.
don't blame me 😄
does anyone know a good plugin to manage villager counts to keep them under control?
/minecraft:kill @e[type=villager]
Oh, I don't. I said "locking" instead of "tabs" when referring to ram mounting mechanism too.
.simpifier
And maybe FarmLimiter?
I wish that would work other than players hating me for killing their villagers 😉
Do a Russian roulette - every hour a random villager dies.
"Must be that vanilla bug that makes entities disappear, nothing I can do about it"
hahahahaha
I am trying to think of the best way to go about it, maybe farm limiter, and just say hey... you're only allowed this many from now on
some kid afk'd at some villager breeder & iron farm, and well the rest is obvious
did that for 5 hours today
if you have some type of plot / protection area just limit the villagers per area
or per chunk
That's what we do, max. 50 mobs per chunk and max length*width/30 per plot, but at least 50
probably want to check if griefprevention has something for that
Where do I report someone?
send me a DM
they don't - damn
Farm Limitor is the best way to approach it
I was looking into that
Also the Villager Lobotomizatornator has a config to restock the "stucked villager" faster. You can be upfront and tell your players that they can get more drops if they block them off.
and than just not excluding villagers
I have installed loboto thingy magig will go live tonight at 3am and see if it helps at all
They HAVE to be in a 1x2x1 hole
issue was someone had a breeder in which they afkd at for iron... so there was just 100's in 1x1
like 1000 over 6 1x1's
as you can see when I removed them lol
xDDD
but, yeah I am going to look into farm limiter, seems like a good redundant solution to stopping crazy farms
if config correctly, normal player wont even notice you have that plugin
I am sure they will notice it than 😉
I disable the "XXX entiry is removed announcement" then set the clearing every 5 minutes so it only really kill those people who afk in farm.
kidddddding, I will test it locally pretty seriously before installing on prod server
def not having an announcement
lol
makes me hate allowing idiots to afk
good luck 
I dont include anything that's not an issue yet.
Have a general statement about excessive entities in base as server rules and only add those rules if someoen decided to make 5000 boats.
fucking diabolical
Per chunk entity limits usually take care of that
you actually set yours?
maybe I just dont have the speical type of player who wants to actively break the game lol
hii guyss just wanna ask if this is bad?
cause some plugins only does less than 5%
its 1 COUNT
also post your entire timing
you have to see the whole pictures to decide if that's bad or not
Yes, ive has so many bad farms my mentality has been to basically encourage them to not do it
Life is hard lol
not much but if you want to look for logs. Check out prism too
Very little
.xray
▪️
k
Wow this guy on admincraft is very toxic to the people who are trying to help https://www.reddit.com/r/admincraft/comments/lct4qf/severe_respawn_lag/?utm_medium=android_app&utm_source=share
who made that language so i can beat the shit out of them
any suggestions on inventory / echest backup/restore plugins that are better than Inventory Rollback (Paper/Spigot) ?
some 50 year old thought that language was funny and a good idea
sounds like your typical server owner
ever wonder how successful people find success?
Yep everyone has a pre released processor
Most people have some sort of special thing that they like to brag about
ok, dear god. that physics lab kicked my ass
tracked some motion with a brand new software tho. manual keyframes tho
https://i.imgur.com/K8LbSIQ.gifv
pain
I remember the misery that was physics
we're going to be analyzing this same shit for the next 2 weeks now to give a presentation about it

Presentation: the ball moved from right to left, some scholars believe its left to right. My paper today will discover the truth behind this debate, the ball is in fact not moving at all.
kek
well, actually, we already have enough to present about but we'll gather more. the motion is actually cosine, and then we'll talk about the basics of confirming the velocity by differentiating the position and proving the velocity is -sine, and some other shit. We'll also talk about how the period (it takes about 2 seconds to cycle) doesn't even change with how far you pull it back as long as the angle is <=8 degrees
This is the motion graph https://static.jacobandersen.dev/shared/🐷🛰🚤☁️💸.png


Your class seems more organized than mine lol. Our professor would do the lecture and then some practice problems. But he’d usually get at least one wrong, spend 10 minutes trying to figure it out, and then give up and never talk about it again
And then would put the problem on our tests
Our professor is pretty godlike, but he expects a lot out of us
I have the privilege of the same professor for the entire physics series
Nightmare
So, this is my 2nd class with him and there's not much friction. I generally know what he wants and don't need to ask
Like he hates line plots, so I had to use a scatter lol
I liked physics but the classes are done in an annoying way
Electricity and magnetism suck. Like really bad.
Yeah that's next class for me
It’s hard to wrap your head around it
However I'm kind of excited as this guy is an experimental physicist and also runs the labs. So we get to see pretty cool examples
We'll see tho
Hello @potent fossil
Henlo aber
Then there’s quantum mechanics which just makes absolutely no sense
Chemical engineering
I couldn’t tell you
lmao
I had to take a lot of physics
Yeah I have to take the entire line but I don't believe that includes QM. Unless it does.
They removed the requirement for my degree, I believe I was the last class to be required to take it in my college
Lucky you
yeah my sequence appears to stop at electrostatic forces, electricity, and magnetism
That’s where most engineering ends with physics
but, knowing my professor, he'll talk about a shit ton more
Somehow I got a B in it but I can’t say I learned anything
Just kinda BSed my way through it, and the exams were all open note. Honestly if it were in person I would’ve hated my life. I mean I already did, but more. I do not miss taking classes.
Oh, my next physics class includes 'quantum theory'. But it's not anywhere near as in depth as something like a full class on QM or anything
Probably a chapter at most
Good, then it’s probably just interesting
I had really bad physics 1 and 2 professors tbh. Not “bad” but didn’t really inspire me
My majors professors were all really good
Guys that really enjoyed what they were doing
▪️
Could you stop doing that?
yw
Evenin' everyone
Alright, do 1.16 villager breeders need to have sky above them? Or can they be underground?
i dont think so
Huh, someone is selling a spoon that shocks you
And people actually want to buy it
It "elevates taste" by running an electric current through your tongue
They can be 100% enclosed in whatever block you desire :)
@olive marlin Apparently I'm bad at maintaining my crates 😳
Thanks proxi :)
ive been doing too much java
Do you not have PR notifications or something? MM ignored my PRs for months too, until I pinged him directly.
I hope the same won't be the case with the RSS server.
runs
Imagine not using pathlib.
I do not, no! I unsubscribed from every repo when Paper started spamming me with emails.
@minor badge I assume you didn't write RSS server in Rust before, so finding crates etc is still to do?
Any idea what formats you want to support?
Atom? Json? Which version of RSS spec - only 2.0 or older too?
For work?
Yup
I first gotta do some badly engineered Yamls 

Sup simple?
simple !
The sounds of chainsaws in the morning.
hi
Who?
like 3 people so far
No, who cares
ur mum]

scawwy
sad
ik
Haha I had tried to be friend with Linux many times, but he hates me! 😄
I will check it out
what did linux ever do to you
If you install panel, then you hardly ever have to touch Linux itself.
I got a question again sorry
I tried to install a ftp server. I need too many command lines and configuration! XD
Is it possible to turn Skyblock into multiplayer
hi guys
when my friend add anti xray settings to his server it break the server
do you guys know why
@undone crest Yes, what do you wanna know? You need Spigot or Paper server
thats impossibe xd
I guess I'm used to using pre-built stuff, which is faster and doesn't need much config, but might be more advanced.
Yes I have a Paper (Purpur) server and I know how to set it up. But what I'm trying to figure out is how I can turn that server into Skyblock. I already downloaded the Skyblock v2.1 from their website. But I have no idea how to make it work though
@noble fossil thanks for taking the time to acknowledge my question
I haven't setup skyblock, but from what I saw and heard, it's mostly a matter of configuring a skyblock plugin.
A lot of them seem to even have some video tutorials.
Love long links...
well
Had anyone tried this? https://cubecoders.com/AMP
hello <3 i am going to bed but i wanting to just tell u 
how did i type such horror
'but i wanting to'
hi kash
anyone good with javascript? I want to create a x,y grid basically, that is draggable, and colour certain boxes based on what the x & y coordinate of it is
for example
but instead of lines and stuff, just solid colours
sleep well

Sounds l ike a job for https://shopify.github.io/draggable/ kash
art is such an exciting subject
hm
thanks so much!
not sure about that @potent fossil
thanks so much as well!
think like google maps type of grid and dragging
I'll take it from here
🤔 So if I want fiber I need to build a new house.
or you can pay millions to get fiber into your existing house 
yea but I mean like
i dunno how to make the grid and stuff either
there is this weird phenomena in js land where
if you just type what you want and then 'js' there is a lib 
that seems to be tables?
what is a map but a large table with small cells of pixels 
well mini
You want a grid of tiles and pan them
first i need to make a grid of a certain width/height, and be able to colour certain tiles certain colours
Do you use a canvas rn?
I have 0 code right now
Oh
No idea where to start
:P
well that's a lie
I have this
<!doctype html>
<html>
<head>
</head>
<body>
</body>
</html>
So first decision you need to make is if you wanna use a canvas (so proper pixel based rendering) or html elements
okay ima let mini guide you i am sleep deprived
probably a canvas then
Can't you steal leaflet code?
It's the open street map viewer
It allows you to specify whatever tiles, could use colored images then
I dunno, that seems like it will add a bunch of complexity?
Well, what is your end goal?
kash, what are you working on 👀
create a grid of boxes, display the coordinates of the box on the box, and be able to give certain boxes certain colours
sounds fancy
If you wanna stay with simple boxes, canvas is prolly easiest
Then it's basically just 2d rendering, gamedev
yes, don't need any fancy features like popups or anything
How can I change the ender chest capacity to the same capacity of double chest?
continuing from that, how would i do the same to a barrell?
html5-canvas documentation: Dragging images around the Canvas
That should get you started kash
.g bigger ender chest spigot
.g bigger ender chest
(DiscordBot) https://minecraft.gamepedia.com/Ender_Chest
Also when I searched it manually:
https://www.spigotmc.org/resources/custom-enderchest.8868/
Ohh so I should search in that link
Thanks so much @olive marlin
Damn I've been so bothersome in this discord server lol
But I really appreciate the time you took to help me out! You're amazing Prof Bloodstone!
ok that code seems bugged
Always try to Google first :p
um this happens to have dupe
although "apparently" it got patched according to release note
That plogin is ded
js sucks
has said every single person on earth
Just use JS to run a full VM and run any kind of program in it.
am playing around a bit kash :P
typescript typescript typescript typescript /s
Use kotlin and transpile it to js /s
remove the /s pls Kotlin/JS is magical
I'd rather use Rust wasm tbh.
bloodstone 
do you need zoom kashike?
Michael 
no mini
think about the children. some people are still stuck in 2009 and their browsers
and it needs to work like in my photo - with the ordering, text on the box, and how you set the background colour
there you go
you can fill grid with whatever you want, accepts an object with text, textColor and color
ahhh the dragging direction is wrooong
FIGHT ME

(I agree but 90% of this code is stolen and I didnt bother trying to fix it)

hmm
wait, the text location is wrong :D
Mini a plagiarist? D:
unsure if this will work though, hm
https://cdn.discordapp.com/attachments/555469074080202765/807222101999091738/IMG_20210205_041211.jpg
I basically need to be able to specify max x and y, and have it build the grid like there (0,0 in bottom corner, 0,1 above that, 100,100 in top right corner for example)
and then be able to do something like set(0, 2, BLUE); assuming BLUE is a constant of a colour
is that possible?
fixed the text offset
ok, lemme turn the grid into a 2d array so its easier
that's annoying - discord have locked down images now?
no jamie
remove the I at the end
lol
that works
lemme add a button or smth
ok, almost perfect - is there a way to reverse it? start 0,0 at the bottom instead of the top?
so bottom is 0,0, top is 0,18
in your example
is it worth restarting the actual physical server, not the mc one (once in a week or something), or is it fine to have it have uptime even a year?
That's just Java with extra steps
Nyes.
pro coder
and for some reason cloudflare's api always turns proxying off even if you didnt specify anything about it
ok now imagine tcpshield had a free api
stares
kash
the mousewheel impl is super janky but you said you dont want that anyways sooo
mousewheel is toggleable now
well, if your browser cant render a simple canvas, thats sad
it doesn't like 1000, 1100 coords :D
oh :D
https://github.com/OskarsMC-Network/Cloudflare-AutoUpdate who wants to see my depressing code
I guess you could tweak it to only draw visible cells
but my meeting is over and I gotta cook lunch :D
thanks for your help mini!
the code isnt that bad so should be easy to tweak
good morning
oh and it requires jquery btw, but that can be stripped out too
also, thank whoever write this http://jsfiddle.net/U8BE5/1/
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
if you can locate the draw loop, it should be easy to calculate if a cell is in frame
if you reload, I added a todo :P
well, you know the dimensions of the canvas
and you know that x and y of a cell
and you know how big a cell is
gX and gY are the coords of the visible frame
lemme do it
hm
Hello fellow epic gamers
"easy"! :P
https://github.com/OskarsMC-Network/Cloudflare-AutoUpdate seems a little overzelaous in what it will change
i guess
maybe have 1 subdomain to change, and CNAME the rest of the domains?
im planning on expanding it a bit more later
Trying to avoid the Eula now are we?
what
Yeah, I know.
there you go kash :P
simple if
if ( (col + 1) * size >= gX * -1 && (col - 1) * size <= gX * -1 + canvas.width && (row + 1) * size >= gY * -1 && (row - 1) * size <= gY * -1 + canvas.height )
Real simple
only thing missing is a way to change the "focus" of the canvas
gotta set gX and gY
but if you want that you gotta wait til after lunch ^^
tests it
Ded, that's just normal gamedev stuff really, it would look the same in java
And woooo!
A "jump to cell" feature would be really cool on so large grids tho, lol
What you actually working on kash?
to fix the reverse mouse stuff
- gX += (pX - e.pageX) * speed;
+ gX -= (pX - e.pageX) * speed;
- gY += (pY - e.pageY) * speed;
+ gY -= (pY - e.pageY) * speed;
Yeah ^^
basically doing a hunt, and keeping track of which places I have checked
red = nothing found
green = found something
just using big numbers to test with
Should have just used excel, lmao
nope
this is more fun
because I can grab a list that others have checked and make them coloured 😉
For whom? 😂
And yeah, a website allows you to easily plug in some backend db plus websockets and suddenly you implemented reddits place april fool thingy
heh
I'm so happy, I've migrated all from the vserver to my dedicated 😄
Nice
But yeah i agree it's fun, brings out my inner game dev
How can I give myself a prefilled command block with a command?
/minecraft:give @s command_block {"Command":"say lol"}
ty
Hi everyone! I have a general question. Does Anti Xray cause lag? I'm looking at this setting, and honestly? I run a server with a bunch of friends and I trust (most of) them that they wont use it (nor do they know how it even works). Will setting this to false improve performance? Or doesn't it matter at all?
no
That was FAST!
Damn @twin lagoon you still got the fastest gun (infobrain) in the west XD
always
it's true
blue 
michael im pretty much done

i just added support for legacy 1.8 & modern connections
ur extremely hot
so whichever you choose you're good
that's what was tripping me up, i didn't realize 1.8 & 2.0 had different auth mechanisms
no u
Are you sure you are not a bot?
maybe
I KNEW IT! You are the new Connor!
IKR? Loving iiiiit! 😛
@twin lagoon you look scrumptious x

@twin lagoon 
@minor badge One question about Rust. I saw you using thiserror+anyhow. Never having issues with "wrapping" the errors in yours etc? I feel like it's extremely painful to do so tbh. (Was looking at SNAFU to hopefully help with it a bit, since it has dedicated trait method for handling errors with source errors/backtraces).
no issues, no
Into + ? help a lot
I use anyhow for entrypoints to apps due to the billion different error types which i dont need to handle at all
Hmm. But for example you fill a lot of code with something like:
let thing = library1::something_that_can_fail().map_err(|e| MyLib1Error("Failed to get thing from something that can fail", e)?;
I use .expect in entrypoint, which is probably a bad idea.
I used anyhow a little bit too much in my code, and now having problems rewriting it. Also, often I feel like you can't really create "generic" errors, and end up having to duplicate errors just changing the Error type that it holds.
Though, probably I should use some "proxy" errors...
no, thats where you get use of thiserror
it can implement Into for you, so it maps it for you
/// An error related to the Reddit API.
#[derive(Debug, Error)]
pub enum RedditError {
/// The HTTP client could not fetch results correctly.
#[error("error when fetching result: {0}")]
Reqwest(#[from] reqwest::Error),
/// Serde could not deserialise the result.
#[error("error when deserializing result: {0}")]
Serde(#[from] serde_json::Error),
/// The HTTP request returned a bad status code.
#[error("unsuccessful http request: {0}")]
Unsuccessful(reqwest::StatusCode),
#[error("no such post was found")]
NoPost,
}```
this is the entire redditerror enum
#[from] makes it impl Into/From
😳
and because impl<T, R, N> Into<Result<T, N>> for Result<T, R> where N: From<R>, ? will handle the conversion for you
I mean, I have to define something like this probably, right?
use library::errors::Error as Lib1Error;
use otherlibrary::errors::Error as Lib2Error;
use thiserror::Error as ThisError;
#[derive(ThisError, Debug)]
enum BloodstoneError {
#[error(transparent)]
Lib1Error(#[from] Lib1Error),
#[error(transparent)]
Lib2Error(#[from] Lib2Error),
#[error("user error: {0}, caused by {1:?}")]
UserError(String, BloodstoneError),
}
yup
For things that you can't really handle by the app, but will want to use part of the error to display to user or something etc.
that's where the appeal of anyhow comes with its Context, but i'd likely do what you showed before in that case
Yeah, but the anyhow context only lets you add String, nothing more right?
uhh I'm not sure; I only ever use it for &'static str
Or yeah, static str.
it lets you use any impl (Display + Send + Sync + 'static)
Can't store original error that caused it to display it in logs, but not to user etc.
ooh, someone did what the anyhow creator wanted: https://lib.rs/crates/eyre
With SNAFU, it generates magic structs which convert into your errors in context 🙂
ThisError:
let thing = library1::something_that_can_fail().map_err(|e| BloodstoneErrors::MyLib1Error("Failed to get thing from something that can fail", e)?;
SNAFU:
let thing = library1::something_that_can_fail().context(MyLib1Error("Failed to get thing from something that can fail"))?;
Automatically adds errors, backtraces etc.
Though I guess it's not that much better.
updated ^^ 🙂
yeah I looked into snafu quite a while ago when it was just released; it was hardly usable, but that might've changed
It looked quite well, though it's confusing and I didn't understand it.
They don't have support Discord/IRC either.
So I did messaged shepmaster (owner of that crate) directly, asking where I could get some more info and ask questions - they said to just message them and we spent like 2 hours talking about it. It's actually brilliant, but very magical how it works.
I see the appeal of snafu, really, but I commonly just want a quick delegation type
but perhaps I'm part of the problem in that case lol
it looks very usable now, though. we might as well give it a shot :p
rust is cool! I read the book during my vacation. Now I forgot everything because I haven;t used it 😦
you sound like a coworker of mine :p
I had a month or so break and forgot everything.
Rust is a scary language
But I agree, Rust is so cool.
I like it
Id love to give it a shot though
looking at rust makes my headache worse
so what do we call it, prof? typewriter? 
PapersMC ?
also, are you a tokio man, or do you go for other runtimes like actix, smol, ...?
I'm so glad I had minecraft to learn java. I don't know what projects I should make in rust to get good at the language
But Proxi, there needs to be rs ending, to indicate that it's in Rust! Otherwise it doesn't count.
typewriters then smh
Well, given that I've only one project - I can say I always used tokio 😉
hehe
i know some folks like smol more, but tokio does the work and I know it'll be around in a year's time :p
I hope that y'all have an OS install break
This, with c#
and the only OS installer you have available is a gentoo live CD
Im working in unity but still cant find anything fun
Discord bot for your community?
You too Cat, you too 
Discord bot is too hard. I definitely wanted to do a discord bot, but I haven't learned too much about traits yet
I didn't read the entire book. I was like 3/4's through the book
and macros
My first Rust project is a Discord bot. I can recommend it. While im finding stuff I'd want to rewrite, it's a nice and fully functional bot now.
Can recommend serenity.rs (Thanks Proxi
). Uber helpful people.
Hmm interesting. I was writing a league of legends API wrapper in rust
it worked pretty well then I got bored

yeah I looked at serenity
step 1) Start writing imporant infrastructure for yourself in a new language
step 2) actually learn the language
did not look beginner friendly
Serenity is very much beginner friendly.
step 3) Look back at infrastructure and note that you really need to rewrite it given that you know know wtf you're doing
I feel like most of the people that come to their Discord say that this is their first project in Rust lol
step 4) retire having never rewritten the infrastructure
They have plenty of small examples.
I also suck at using modules. I already suck at naming things and modules make it harder
And a lot of community bots you can look at and steal code from.
in the OSS world we call it borrowing
You don't have to use modules. But they are nice.
Don't expect to have perfect code lol
yeah I like organizing code though. I was told I can just have one file if my project isn't huge and just have modules in there
You usually ask for permission to take something when you borrow.
Man I never expected to be reading so much when I got into software. The rust book is the first book I've read in years.
I'm fine with either. Hmm.
You don't need to ask permission to permanently borrow something if they dont know about it 
I don't even know why now, but I jokingly switched what I say years ago and keep doing it to this day.
When I ask "Can I steal X for a bit", I mean borrowing. To stealing I often refer to as "Borrowing without permission and intention to give it back".
It's a bit harder to translate to English.



hello.
Yes
300 IQ question.
How to export a Windows 10 user?
I'm asking myself the same question.
acronis partition magic
like
I have to export a Windows 10 user, using only Windows.
pls define user profile like what do you need from that
._. i doubt windows can do that but i hope im wrong
don't make me go xy problem on u
like perms?
and you're doing this to accomplish what
robo bot he wants to like, save user to a *.user file and like import it elsewhere & have all his user shit on it
To export the user.
well not the data then i guess
No goal, other than to do something I can't do.
if he doesn't want data idk what he's doin
user settingns
there's nothing to export
but robo settings ;-;
if you want data that's all in the user's folder
yea
that's all in .appdata
ez
thers plenty of user settings one would want 2 save, not all of it is files, some of it registry some of it windows folder idk
group polices
wait wot? fr?





