#java question
Explore tagged Tumblr posts
harlequinoccult · 3 months ago
Note
I know people say this all the time but please don’t overwork yourself, even if you take 10 years everyone will still be here waiting, because we’re in here for the love of the game, and for the love of you the person for working so hard, don’t overwork and none your blood pressure higher!
well my doctor gave me blood pressure meds for a reason :V
Thank you!! I try not to or else my nurses will yell at me I am basically learning code as i write so. it's been interesting. I appreciate yalls patience while i wrangle this bastard of a language.
28 notes · View notes
parasite-the-symbiote · 3 months ago
Text
YALL
What would you guys do if I just
Ate somebody?
That’d be crazy right
19 notes · View notes
stickia404 · 2 months ago
Text
Node based coding... in Java. It has taken a few weeks, but I have the system done.
Tumblr media Tumblr media Tumblr media Tumblr media
As well, amazingly commented code base that explains what about everything does.
And everything being ran as functions defined in a registry! Hi NeoForge
Tumblr media
I think the system for reading the graph of nodes is unique also! Since, I have had... a bad time with the JavaStackLimit, I decided to have the core of my system be around avoiding it as much as possible. So instead of recursively asking what node connects to what node, 2 stacks are made, 1 holds what will be running after it is done finding, the other holds a search stack. Meaning it can get any part of the graph, and it should just find the right order of things.
Tumblr media
And! Since the read method is different from the run method, I can hypothetically just read and serialize the given node stack, making it persist between restarts.
The running system is a little more complex than just a search.
Tumblr media
First it starts a `for` loop of the stack of nodes, then it starts making the inputs for the node. It checks if the node has any inputs, if so, check the output type of the previous node, if it is equal to this node's input (or if this node's input takes in ANY) then dont error. After not erroring, add to the input array; or, if the input was not connected to anything, give it null. Repeat the last steps until there are no inputs left for this node.
Next, it runs the node. It does this by getting all the registered nodes (in a HashMap for some extra speed), then finding the associated function with that Key. Then it tries to run the function with the given inputs. If the function does not crash, it checks if the function outputted anything, if so put that into the Environment's HashMap of all node outputs. Finally, repeat the last 2 paragraphs until there are no more nodes. Then clear the output map, so there is no "bleed over"
Tumblr media
So TLDR: get all nodes into a stack (avoiding duplicates), then run a For Each over that stack, check if the type of inputs/outputs match, if so run the node and put its outputs onto a HashMap of outputs so it only needs to be run once.
And ALL OF THIS just to be put into a silly minecraft mod. But hey, at least I am having fun!
10 notes · View notes
jackbellsds · 1 year ago
Text
Tumblr media
shooter, my beloved……………….. 🥹 (inspired by this picture below by ぶるじょあ on pixiv)
Tumblr media
38 notes · View notes
thefanficcorgi · 28 days ago
Text
It’s a technique i use. and i wanted to see if anyone else uses it? It also allows me to stock up on phantom membranes for my elytra
4 notes · View notes
magistralverse · 1 month ago
Note
Linux better
Magistralverse Presents: The Blue Screen of DEA†H – Volume 1, Issue 2
“The Birds And The Bees”
[1:00-2:00]
[Personal Note #001i: “…Malik used to play Club Penguin during his childhood when he was just a kid…” - Magistralverse Masterworks Media x Tamara Timestream Throneworks (Tuesday, May 20th, 2025)]
Tumblr media
2 notes · View notes
sweatyesk1mo · 5 months ago
Text
For those who love Minecraft, should I just choose to only use Bedrock or Java and should I only use PC or Xbox or can I do all of them
3 notes · View notes
citrusbunnies · 9 months ago
Text
brooooo does anyone know java or python bc im taking some virtual high school classes rn and im following along and dont understand shit and google is unhelpful bc everything i find is a paragraph of technobabble with no dictionary at the bottom, a subreddit full of the meanest old assholes that i never want to interact with especially about beginners stuff bc their advice seems to boil down to "yeah youll figure it out lol" or literal insults???, or a youtube channel that works for one thing but skips the next section that i ALSO need help with
5 notes · View notes
jackytaylor · 6 months ago
Note
random question, what r ur fav ships in gilmore girls?
ooh i loved rory/logan and rory/paris!
5 notes · View notes
leaf4e · 1 year ago
Text
im guessing theres no way to change the spawn egg colours for a mob on java with a texture pack or am i wrong?
7 notes · View notes
shippofuri · 10 months ago
Text
I love thinking about modern au thistle because he'd be very funny and eccentric and inconsistent in his neuroses but the thing is it's kind of hard to talk about because my thoughts always come back to how putting thistle in a modern setting is like opening the sandbox mode of self-destructive behavior.
HOWEVER Delgal would still be alive so i guess the worst he is going to be doing most of the time is consuming 4x the recommended daily amount of caffeine so he can be Extra productive and Delgal will be So Proud of Him! (he has already been to the ER twice because of this and has somehow not yet learned his lesson)
3 notes · View notes
uceotopia · 2 years ago
Text
Tumblr media
My starter house :) to celebrate hitting 100 days!!! #minecraft #minecrafthouse
21 notes · View notes
crying-in-converse · 2 years ago
Text
i want to cry because on only the second day of my coding class its too hard and im never gonna be able to do it
27 notes · View notes
Text
I was thinking and wanted to know what y'all think, what do you think the group would listen too?
Like, we know Martin likes rock. But what specific bands would he enjoy? Diana would probably like something that would help her study. And Java... I have no clue what he would listen to.
What do y'all think? Do y'all have any song or bands you think they would like?
2 notes · View notes
ice-devourer · 1 year ago
Text
drawing lowkey suggestive toxic yaoi /jk on my laptop with my pastor dad behind me let's gooo it's not like i haven't written jouno shibari while i was sitting on the church pews lmao
2 notes · View notes
frog707 · 2 years ago
Text
Stack time!
Today I created an account at Stack Overflow.
I've been using the site for years, mostly to find answers to Git questions, but occasionally for Java questions as well. It'll be interesting to see how having an account alters my experience.
2 notes · View notes