What I did today

I was accepted into the http://www.thesoftwareguild.com/!

I’ve been primarily a Java developer and have only touched a little .NET at work. I’m excited because I’ve chosen to take the .NET course so I can be a master of two huge web languages! It’s going to be 3 intense months of work, but I have a few coworkers who have been through it and they said I should be having employers lining up to trade my brain for money now that I have professional experience AND I’ll have gone through the Guild.

I start in January if all goes well!

After a couple weeks of learning C++, I think I’m starting to think in C rather than Java… I tried to create a pointer :persecutioncomplex:

There’s a lot more to do before I’m happy with the engine :slight_smile:

You can create pointer in Java)


	public class Ptr_Obj<T>{
		public T P;
	}

Pointer to function: https://docs.oracle.com/javase/8/docs/api/java/lang/FunctionalInterface.html

You’ve always had pointers to data structure.

I don’t think I have ever been this productive before, but I just uploaded another tutorial on jni and glfw. This time I added OpenGL to the mix. Two whole functions… :point:

I’m not expecting anyone to actually watch them, I’m mostly doing to it to clarify it for myself (The best form of learning is teaching other people) But if anyone finds it useful that would be excellent. ;D

Neat to see the progress people are making. But it does make me feel slow and cranky, in comparison. I thought it would be simple to set up a menu bar and save/load working for current project, since I did this once before and had some example code. Just some cut and past, right? But it is a bigger slog than expected.

Recommendation: if you are working on a GUI where you think you are going to implement save/load, definitely go ahead and make separate “model” and “display” instance variables for every item to be part of the save or load. I had quite a few local variables or internal calculations that needed to be part of the save or load. Having to go back and track these down, refactor them as instance variables is tedious. No time was saved by not doing so in the first place.

So, for today, the Menu Bar and the Save file are pretty much working right. Still finishing up the load. Not sure if I have the default file locations and properties file locations set up right yet.

Today, I played around with Monte Carlo integration in Java. It’s such a simple concept, but it’s ingenious and awesome.

Now switch to quasi monte carlo.

Have been a bit obsessive about watching the political drama unfold these last couple weeks, but the news today is kind of mind blowing. I will be very surprised if Trump is still the nominee come the next scheduled debate. (He may claim to be. He may threaten to sue. But I doubt the Republican Party will tolerate him any further. The big guns have to know there is even more filth waiting to get aired and that Trump is no where near bottoming out.)

I was pleased to have finally figured out a way to go from hertz to midi in Java and posted it in the shared code. To my horror, @KaiHH (thank you!) points out that I had mistakenly set A-440 as 45 when it is actually MIDI 69. Two octaves off! I’ve spent most of the rest of the afternoon and evening going back to old projects, fixing this error. Fortunately, most simply have a constant at the top that is used as a MIDI reference point, and all that was needed was to add 24 to it, so the newly corrected getHertzFromMidi() method would correspond correctly.

Only the AllenSpaceGenerator app has some GUI elements that require recompiling and reposting. The Theremin, however, is not so cleanly structured. It is going to be a headache, and a further lesson in proper coding structures. Mistakes like these, when they happen, should neither be dangerous nor difficult to fix. When they are, it is a sure sign one did a less than adequate job of coding design. :frowning:

My game “BabyGraph” is growing… and I’m happy with the result. You can play the game and the first 10 levels are ready (but the game is still pre alpha) =)

Today I started making a 3D game library in Java.
This will be an addon for my current (2D) game library called LibZ

I can guarantee that you’re using Brackeen’s Programming Games In Java book. I know this because that’s the model of the house he uses in the first chapters of 3D graphics :smiley:

I indeed use his book to get started. :wink:
If I understand 3d math well enough I will rewrite it, add my own features. But for now, I continue to read his book.

Sent off my UCAS application to oxford to study mathematics.

UCAS for Oxbridge is so damn early.

Guess what I’ve been doing… other than changing nappies and the rest. Yes that’s right yet more jni video tutorials… ::slight_smile: even though no one asked for them… and most likely no one wanted them… and they are probably not very good, here they are! :point:

Ever wondered how to use jni to pass int pointers in to a function and return a value. Well here it is.

Ever wondered how to return a String from a native function or use native callbacks. Well here it is.

Registered on Java-Gaming.org -> Success !
Implemented Shader Support for my game-engine -> Success !
Implemented basic VBOs to my game-engine -> Success !
Lost a friend -> Success in being a dev, total failure in life…

gives Major_Sauce a hug

IdHTnpgpLDc