Scripting languages offer the comfort of automatic type inference. The way we approached this in our own scripting language
was by having meta-data alongside memory containing the data.

*A few commenters recommended unions. Although interesting, we prefered to extend the enum variables and keep the pointer variable flexible, instead of extending the struct with new types.

Languages that auto-magically infer the type from what you populate
the object with like Javascript, Python and Lua, store meta-data about
your data. This meta-data is used to allow the correct operations to happen
on said objects.

Continue Reading "Auto Typing in C(++)"

How I stumbled upon Blitz3D

Growing up, one of my favorite coding languages and platforms was Blitz3D.

Blitz3D is part of the Blitz language family which was used in the Amiga platform. Open-sourcing of the latter, enabled grassroots efforts to emerge, and from this wave, a New Zealand company called Blitz Research Ltd,  launched Blitz3D.

During that time I was exhausting VisualBasic and getting bored of reverse engineering videos games on the Dreamcast/Playstation/PSP.

When I started getting into game development, Blitz3D presented a platform and a rich bustling community that allowed me to learn quickly while exchanging expertise and ideas.

I met many mentors and friends that I still keep in touch with today!

So I was plenty surprised when Blitz3D went open source a few months back!

Continue Reading "Pre-Code Review Excavation of Blitz3D"

“I have no special talent. I am only passionately curious” – Albert E.

There is a big focus on “coding” or learning a “skill set” to accomodate this ever evolving exciting economy. Although that is all well and good, the big lack I’m observing is no matter what skill a person has or is learning, is only as powerful as the idea it is striving to materialize.

Continue Reading "The Art of Do-manship"

Note: This is not trying to mimic all quantum behaviors although it can be extended to it. This post is to appreciate and analyze benefits of expanding on discrete numbers and entertain systems that run purely in intervals/volumes/clouds(not the servers! 0.0) and continuity.

Yes, we are all waiting for quantum computers to usher in the new era of technology. Heck, If I had the resources, I’d be at the forefront of it. Yet it does not stop us from implementing the new paradigms in our current creations! The main realization in the quantum world is instead of thinking of things as being discrete, in that they can be broken down in to units [1, 2, 3, 4…] it in fact is a very continuous reality as in [1.0, 1.1, 1.2, 1.3…] (see atomic orbital / probability cloud )

Continue Reading "Pragmatic Applications of Quantum Paradigms"

Quick entry on a process of extracting geometry from images and also get my mind off things xP.

 Primitive Extraction:

Scan image per pixel (obviously compressed formats such as jpeg, png etc. don’t work here. RAW formats only). Set the thresholds to look for adjacent pixels that are in a controlled interval in their RGBA values. The latter can be tweaked. So what are the types of extractions?

Continue Reading "How My Machine Can “See”"

To be honest, this post is for me as a reminder for every time I hit a road block or a temporary failure, but I’m putting it out into our ethos for others….

So you have fallen, your weakness got the best of you, you weren’t prepared to face that obstacle or just crashed and burned from too much on your shoulders. Oh I can already hear your negative talk starting to sermonize….

Continue Reading "Why do we Fall?"