Yo for people looking to join that think you're good minecraft coders here's my entire conversation with these guys:
[8:43:39 PM] Vainglory Godspeed: Hey Ender, this is Nightmare.
[8:43:48 PM] Nightmare Infinity: hello Ender
[8:43:52 PM] live:xxilluminatiproswagxx: hello
[8:44:31 PM | Edited 8:43:04 PM] Nightmare Infinity: so just as a precaution to see if you actually know what you say you do,
[8:44:43 PM] live:xxilluminatiproswagxx: okay bomb away
[8:44:46 PM] Nightmare Infinity: you say you know java right?
[8:45:00 PM] live:xxilluminatiproswagxx: yes sir
[8:45:11 PM] Nightmare Infinity: could you create a bubble sort for me?
[8:45:38 PM] Nightmare Infinity: using 10 random numbers ranging from 7 to 86
[8:46:56 PM] live:xxilluminatiproswagxx: could we try something different because unfortunately I do not know what that is yet like I said in my post I have only been modding and programming java for about two years
[8:47:18 PM] Vainglory Godspeed: That’s very simple Ender :\
[8:47:33 PM] Nightmare Infinity: a bubblesort is very simple
[8:47:51 PM] Nightmare Infinity: to be honest with you, I googled it when I was asked to do it because I hadn't known what it was.
[8:48:26 PM] live:xxilluminatiproswagxx: yes I know its a type of array that allows an integer to sort of bubble up to a specific number it was in the year plan and It explained what it was in the course overview
[8:50:09 PM] live:xxilluminatiproswagxx: you could ask me to instantiate a minecraft sword or pickaxe or declare it
[8:51:09 PM] Nightmare Infinity: That is not that hard to do. If you can't do a bubble sort how could I ask you to do other stuff? You need to know how to program Java, Not just minecraft.
[8:51:15 PM] Nightmare Infinity: For efficiency sake
[8:51:27 PM] live:xxilluminatiproswagxx: you could quiz me on what is the central java code is for a minecraft mod - its main by the way
[8:51:56 PM] Nightmare Infinity: Ender, If you can't do a bubble sort then sadly I don't think you could be part of our team.
[8:52:23 PM] live:xxilluminatiproswagxx: Simple solution I csan learn I memorized an entire plasy in a week I'm aquick learner
[8:52:41 PM] Nightmare Infinity: Ender may I ask how old you are?
[8:52:51 PM] live:xxilluminatiproswagxx: 14 almost 15
[8:53:12 PM] live:xxilluminatiproswagxx: and just so you know a bubble array is a unit six programming skill
[8:54:47 PM] Nightmare Infinity: Well, A bubble sort isn't actually that hard to do. I did it in about 10 minutes the first time I did one. Not knowing java well.
[8:55:24 PM] live:xxilluminatiproswagxx: here let me type one for you which I just learned how to do
[9:01:25 PM] live:xxilluminatiproswagxx: static void bubbleSortforWeirdPeople(int[] dataset) for (int i = dataset.Length -1; I > 0 ; --I) bool swapped = false; for (int j = 0; j< i; ++j) if (dataSet[j] > dataSet[j + 1])
[9:01:30 PM] live:xxilluminatiproswagxx: {
[9:01:48 PM] live:xxilluminatiproswagxx: whoops
[9:02:00 PM] live:xxilluminatiproswagxx: didn't mean to send that yet sorry
[9:03:26 PM] live:xxilluminatiproswagxx: { Swap(dataSet, j, j + 1); swapped = true } } if (!swapped) { break; } } }
[9:03:56 PM] live:xxilluminatiproswagxx: by the way heres what a professional programming site says about the bubble sort
[9:05:21 PM] live:xxilluminatiproswagxx: Bubble sort is the best first sorting algorithm to teach
No, it isn't. I have written an entire page about why bubble sort is a horrible sorting algorithm to teach as some kind of first basic sorting.
[9:05:45 PM] live:xxilluminatiproswagxx: Bubble sort is the easiest sorting algorithm to understand
No, it isn't. Compared to both insertion sort (the best O(n2) sorting algorithm) and selection sort, bubble sort is quite complicated for a beginner programmer to understand. (More precisely, it's surprisingly difficult to understand why it works.)
Both insertion sort and selection sort are much closer to how people intuitively would sort a collection of things, which makes them much easier to understand. Bubble sort is very exotic and has nothing to do with how people would intuitively sort things.
Bubble sort is the easiest to implement
No, it isn't. Both insertion sort and selection sort are at least as easy to implement, and require approximately the same amount of code.
Bubble sort is efficient with small amounts of data
No, it isn't. Not compared with other O(n2) sorting algorithms, one of the best of them being insertion sort.
There exist no cases where bubble sort would be faster than insertion sort. Insertion sort always beats bubble sort (this is actually rather easy to prove mathematically). Since insertion sort is easier to understand and equally easy to implement, there just is no disadvantage in using it rather than bubble sort.
Bubble sort works well with data which is already almost sorted
No, it doesn't. This is actually one of the oddest misconceptions about bubble sort out there, and it's surprisingly common.
Bubble sort does not benefit at all from how the data is organized, when counting as the number of element comparisons it makes. Bubble sort always performs the exact same amount of comparisons for a certain amount of data regardless of how the data is organized.
Bubble sort always performs n-1 passes through the data (where n is the amount of elements), and it always performs (n-1)+(n-2)+...+1 comparisons regardless of how the data is organized to begin with.
In contrast, insertion sort does benefit if the data is already almost sorted. The best case scenario is when the data is already fully sorted, in which case insertion sort goes through the array once and performs n-1 comparisons, and that's it.
(Yes, you can enhance bubble sort a bit and make it stop if it doesn't perform any swaps during a pass, but this will help only in a very small amount of cases. Insertion sort benefits a lot more easily from almost-sorted input without having to fine-tune or enhance it.)
The best case of bubble sort is O(n)
Very similar to the above misconception, and also false. As already said, bubble sort always performs n-1 passes through the data, period. Its best case and worst case behaviors are completely identical.
The fact is: Even if you wanted, you can't create input data for bubble sort which would be ideal for it. (Unless you add the "did we swap anything in this pass?" enhancement, in which case a completely sorted array would be optimal.)
The worst case of this misconception I have seen is at this page. Not only does it list the wrong best case scenario for bubble sort, but it also writes:
I had to sort a large array of numbers. The values were almost always already in order, and even when they weren't in order there was typically only one number that was out of order. Only rarely were the values completely disorganized. I used a bubble sort because it was O(1) for my "average" data.
I would really like to see his "average O(1)" bubble sort implementation.
(If you don't understand what's horribly wrong with that assertion, it's because "O(1)" would mean that the algorithm doesn't need to go through the data even once. In other words, he is claiming that bubble sort is somehow magically able to sort his almost-sorted data without having to go through the entire array. This is simply a physical impossibility for any sorting algorithm. It's impossible to know where the out-of-place elements should go without going through the data. The best case scenario you could conceivably achieve is if you know exactly which elements are out-of-place, and then if you would somehow be able to search their proper place in O(log n) time and insert them there in constant or O(log n) time, in which case your sorting becomes O(log n). However, this would still be slower than O(1). Also this hypothetical situation would have absolutely nothing to do with bubble sort.)
Bubble sort is good to speed up quicksort
No, it isn't. Bubble sort is perhaps the worst possible O(n2) sorting algorithm you could choose to speed up quicksort.
Insertion sort is the best O(n2) algorithm to speed up quicksort. (For example, insertion sort benefits enormously speeding up quicksort when there's a lot of repetition in the data to be sorted. Bubble sort, as mentioned, does not benefit at all from this.)
[9:05:46 PM] Nightmare Infinity: I wasn't asking for the history or what you think about it
[9:05:53 PM] Nightmare Infinity: I was asking you to do a bubblesort
[9:06:10 PM] Nightmare Infinity: if you cant do a bubble sort then you cant be in the project.
[9:06:49 PM] live:xxilluminatiproswagxx: well if you haven't noticed it I am not you and like I told vainglory who should have told you I did a minecraft modding class and I am currently taking a java class in school
[9:07:37 PM] live:xxilluminatiproswagxx: now I don't mean to be rude I am just telling you the facts
[9:08:14 PM] Nightmare Infinity: I wasn't asking for the facts. I'm just asking you to do a bubblesort. I'm sorry, But I'm afraid I can not allow you into our project.
[9:08:17 PM] live:xxilluminatiproswagxx: and seriously you can choose any other sorting method than the freakin bubble sort
[9:08:57 PM] Nightmare Infinity: Our project is going to need a lot more than a bubble sort. If you cant do something like that I cant expect you to work on this project.
[9:09:45 PM] live:xxilluminatiproswagxx: you know what I'll go back to doin what I do best modding MINECRAFT if that isn't what youre doin here than I don't know why I bothered to sign up
[9:10:14 PM] *** Nightmare Infinity has left ***
[9:10:25 PM] live:xxilluminatiproswagxx: goodbye
[9:10:47 PM] Vainglory Godspeed: Ender, I understand you have a new computer. But why don’t you have any proof of your mods you’ve created?
[9:11:17 PM] Vainglory Godspeed: That’s not something you just throw away when getting a new computer, especially if you worked on them.
[9:11:27 PM] live:xxilluminatiproswagxx: because like I said new computer and my past hardrive went bad I asked to see if I could find my review and you set up this
[9:13:26 PM] Vainglory Godspeed: Yes because it was to see if your capable of helping out. As of now you proved nothing to us. You may be learning code in a class but that doesn’t automatically qualify someone for the job. Just like taking a rocket science course doesn’t clarify someone as an astronaut. I find it hard to believe you have ever created any mods. I’m sorry but I cannot waste anymore time. Thank you for your interest.
[9:14:09 PM] live:xxilluminatiproswagxx: fine but I just found my mod on youthdigital but if thois is how you treat I'm leaving
[9:14:35 PM] Vainglory Godspeed: kk.
[9:14:38 PM] Vainglory Godspeed: Thank you.
and then with the guy after:
[9:14:59 PM] Vainglory Godspeed: Fake coder.
[9:15:01 PM] Vainglory Godspeed: Good bye.
[9:15:30 PM] live:xxilluminatiproswagxx: sorry to be you pal but my family has been coders for generations
[9:16:54 PM] live:xxilluminatiproswagxx: ill leave you eith this
[9:17:07 PM] live:xxilluminatiproswagxx: **********************************************************************
DECLARATION SECTION
**********************************************************************
// DECLARE THE SWORD
public static Item MySword_1;
**********************************************************************
LOAD SECTION
**********************************************************************
// LOAD THE SWORD
MySword_1 = new MySword(2021, EnumToolMaterial.IRON, "MySword_1");
GameRegistry.registerItem(MySword_1, "MySword_1");
LanguageRegistry.addName(MySword_1, "My Awesome Sword");
**********************************************************************
RECIPES SECTION
**********************************************************************
// SWORD RECIPE
GameRegistry.addRecipe(new ItemStack(MySword_1, 1), new Object[]
{
" X ",
" X ",
" S ",
'S', Item.stick,
'X', Item.blazeRod,
});
[9:17:59 PM] live:xxilluminatiproswagxx: by the way that's how minecraft works b****
[9:18:05 PM]
[9:24:34 PM] live:xxilluminatiproswagxx: I know I may have been overreacting but those questions are fucking useless only the developers of java know all of the commands like I said unless you guys loosen up and let people learn you're not gonna get many people to help you on "the next big project"
[9:27:47 PM] live:xxilluminatiproswagxx: and you cant judge people on specific commands aask me too make you a biome and I'll give you the code to load several chunks torwards a biome that spawns wither bosses and the ground is slime blocks
So as you can see they are incosidorate for someone not knowing one command in java and seriously what is a fucking bubble sort gonna do in MINECRAFT programming which I know how to doand the nightmare guy's logic is flawed he said he looked it up on google to know what it was then later said it took him ten minutes to learn it last year WTF?