What I did today

Which device do you have?

I think I improved in cubing, got 1:14 as my best solve today - with only F2L. Other than that, I did a quick implementation of a CPU like program to present in CO (Computer Organisation) class.


CPU cpu = new CPU(new Accumulator(), new Memory(3));

cpu.defineOperation(/* GET */ 0, (ac, mem, address) -> ac.value = mem.get(address));
cpu.defineOperation(/* ADD */ 1, (ac, mem, address) -> ac.value += mem.get(address));
cpu.defineOperation(/* STO */ 2, (ac, mem, address) -> mem.set(address, ac.value));
cpu.defineOperation(/* PRI */ 3, (ac, mem, address) -> System.out.println(mem.get(address)));

Instruction[] program = new Instruction[] {
        new Instruction(0, 0),   // Get the value at address 0
        new Instruction(1, 1),   // Add the value at address 1
        new Instruction(2, 2),   // Store the result into address 2
        new Instruction(3, 2)    // Print the value at address 2
};

cpu.memory.set(0, (byte) 2);  // Set the value 2 at address 0
cpu.memory.set(1, (byte) 5);  // Set the value 5 at address 1

Arrays.stream(program).forEach(cpu::execute);

I know this is not any better considering what we today have, but is enough for me to get some impression in class before lecturers.

Would it not make it more readable to add a few static final integers?
Like so:


public static final int GET = 0, ADD = 1, STO = 2, PRI = 3;

Yes, it would increase readability, but all I wanted is a quick prototype to show there. I’ll add it right now, thanks.

Not WIP material right here, mainly because I’m so far from finishing this project, but I recently set up a devlog for Alba on Google Drive, it greatly helps me coding faster! Although I still have a lot to do for school… Anyway, feel free to check it out :slight_smile:


(If you go through this and spot an English mistake, please do correct me!)

J0

Good job! If you’re in the US and have the ability to travel to oregon, you should go to nationals this year! It’s a great experience and nobody really cares about your times, plenty of people with barely sub 2 minute averages attend.

A video showing weather particles, mining, and equipment wearing :slight_smile:

m73BzqxtDDU

I set up a small website for myself. With CSS by @Jervac

(It’s hosted on the old Wybuuk server)

http://www.darkcart.co

A desktop :slight_smile:

I finally did it, 1999 CBR600f4. This thing is either going to kill me or take me to the moon!

Wow! I know nothing about bikes, but it looks pretty awesome if that means anything.
The jacket is a nice addition :slight_smile:

Been pretty busy with implementing more features into my engine - it’s inching closer to actually being able to build a game. There’s the animation editor and the dialogue editor side-by-side. Building the visualiser for a dialogue tree was pretty difficult, but it works really well now.

Dialogue nodes can specify actions that occur (I’ve called them outcomes) when they’re finished being printed - they can currently affect variables defined in their respective dialogue object, or send messages to entities in the map. Variables can be used as prerequisites to control whether certain nodes are visible in-game.

Coldstream24 it’s actually starting to look pretty sweet. Are you writing it in Java?

Thank you! She’s surprisingly clean and nice looking for a bike that’s almost as old as me, and a sportbike nonetheless! The jacket is actually just some leather jacket I bought a while ago, it isn’t made for biking haha. I couldn’t help myself, I had to go for a ride around the neighborhood even without most of my gear :slight_smile:

I live in India, and here cubing is not a big deal, and also for me. I just started to do this for fun, but eventually became more interested in it. Thanks for the advice.

Yeah, 100% Java.

Today I put left, right, and first line indents into my text formatting renderer, and before- and after-paragraph spacing controls as well. How very mundane!

I’m doing a lot of text heavy UI work in Battledroid at the moment. There are a lot of windows of information about all the different systems in the battledroids and all the other resources in the game.

Cas :slight_smile:

Finished the galaxy and solar abstractions to my project.

The idea is to have abstractions laid on top of each-other, starting from the galaxy, then solar system, planet, continents, and finally a heightmap of the planet’s terrain. The terrain heightmap is generated from local properties of the continent, and the local properties of the continents are generated from the properties of the planet (moons and such) then the planet is generated by the solar system and so on.

The final terrain heightmap is probably the coolest bit because it’s the only real thing here with any true scale. The heightmap will contain information on possibility of local vegetation and effects of erosion and tides on the terrain. So far this is what I’ve got, the platform is done I’ve just gotta code the ā€œviewersā€, and ā€œsimulationsā€ on top. I’ll be creating a forum post on it after.

CWSF 2016 starts May, and my regional starts April.

pV90PgE1iOc

(Sorry about the crop job, gtk record my desktop is AWFUL)

Here’s a bunch of links I collected (they’re all related to computer graphics):

https://gist.github.com/AbstractAlgorithm/d0194f477adf829822ff (Riven shared this link not long ago)

https://www.opengl.org/resources/

http://learnopengl.com/

http://openglinsights.com/

http://www.paulboxley.com/blog/2011/03/terrain-generation-mark-one

http://www.mesa3d.org/brianp/sig97/perfopt.htm

https://www.opengl.org/documentation/

I think I’ve been drugged. I’m reading that amazon has a game engine. http://aws.amazon.com/lumberyard/