Search This Blog

Loading...

2013-04-14

Liquids and Mists in Modern Building

The Show

I've been, recently, watching a TV series produced by the History Channel called Ancient Aliens.

In it, through 5 seasons and still ongoing, they try to give you enough insight into a, somewhat, trending new way of interpreting some of the most puzzling clues that mainstream archaeology is still battling with.

Mind you, I'm still in the early episodes of season one, so I'm not doing any profound analysis on the whole series.

Observations

What I want to talk about now, is one small thing they mentioned in episode 1: "To make such precise cuts or joints, one would have to need to liquefy stone and probably use some kind of mould."

That is one of the various answers they spun out. But, somehow, it made me begin to think: How do we do it now?

Amazingly, while I was listing most of the tools that I've used, or dream to use in the future, I realized that there was an underlying pattern. Most of everything we use in our modern society, has been through, either a state of liquid/gel form or has been coated or made of stratifying mists.

Ok, let's do a list of our most basic raw materials and the, summarized, way of making it:

Pottery: (wikipedia) (How it's made?)
To make pottery you use clay. To make clay you add a fine powder to water until you have a consistency of modelling clay.
Metallurgy: (wikipedia) (How it's made?)
Using intense heat you get the metal into a liquid form and then, shape it into basic forms that other manufacturers can transform into usable items.
Plastics (wikipedia) (How it's made?)
Heating the crude oil at a certain temperature and pressure, various elements form with different densities. These deposit into a stratified manner. You then extract plastics from the correct position/height inside the heated container. To then use this raw material, you re-heat it until it's soft enough to force it into moulds.
Concrete (wikipedia) (How it's made?)
And finally, we have our own little concoction that passes for liquid rock: concrete. To make concrete you add water to cement, pour it into a mould and then let it dry/cure.

As you can see, all of those raw materials pass through a liquid form at one stage or another.

In our "modern society", most of our manufacturing skills have been perfected to deal with raw material that can be transformed into an easy way of moulding it:

  • To make all kind of shapes/tools/etc with metal, you pour it into a mould or, like they say: "beat it while it's hot".
  • The plastic industry is the utmost specialist in terms of moulding.
  • Ceramic has been around for a long time, but the old and tested ways of manufacturing with clay have not changed that much from the way of our forefathers. The only thing that has changed is the machinery/tools that we employ.

Then there's mist.

We compel some elements/composites into a mist form and then:

  • Spray the paint.
  • Deposit fine layers of different elements to form silicon chips.
  • Create a static charge on something then let the mist coat it for protection.

In the end, after curing, drying or whatever other method you obtain the item one is aiming for. And these are the methods that have been perfected to make manufacturing easy, repeatable and, therefore cheap!

My point

If we as a "modern society" have evolved and perfected our manufacturing and tool making to include a liquid and/or mist form, to ease the process of industrializing our needs, why is it so outlandish that a more advanced civilization choose to avoid it?

It also makes no sense at all that this is not the case surrounding most of our history's most puzzling monuments:

So here you are, there isn't really a conclusion on my line of thought. I still need to investigate a tad more on these subjects. But when I see patterns emerging, things begin to make sense...

Even if I still don't quite buy the whole Ancient Aliens approach.

Until then...

I just want to leave this lying around, since I'm going to finish the whole of the 5 season content. While I'm watching, I will definitely stumble across more mind bending enigmas, and some day-to-day similarities with our society. So, when I have some time, I'll be posting some more about this.

2012-10-08

Game Programming, The Journey: Part 2

The mighty Game Loop

Previous in the series:

Any game should have one, or at least say the experts on the matter. They also say that it's the place to start. But it's really not as simple as that.

A simple implementation of this loop would be as follows:

variable game_is_active of type boolean = True

while game_is_active do
    execute run_game
    execute refresh_display
end

exit


The run_game function is where the logic of the game is processed and the refresh_display function is where the graphical display is updated with the data from the game objects. This is the most broad representation of a game. and the catch is how you will implement each function.

 But before anything

One always do a practice run on something else before a big project. So I think I'm going to have a go at a Sudoku clone before tackling the bit RTS project.

Complicating things

"This article by Koonsolo: Game Loop; give much more insight on the matter. He talks about the trade-ins of constant frame rate versus variable one. Also talks about the same issues related to the time allotted to game logic. Concluding with some advice on what to use for different game types."

The first computers were not able to do multitasking like now. This meant the Game Programmer had to devise a way to do many things (Logic, AI, Graphics, Sound), the quickest and still make the user feel enticed in the game-play.

On most of the games you have to consider the proper balance between Game Ticks and FPS. Hardware and Architectural limitations makes it impossible to have the same resource being used at all times by these two aspects of the game. If you devote to many CPU cycles to the processing of the game logic, you will have to compromise on the graphical display of said logic. And vice-verse, obviously.

With the advent of multiple cores to aid in computation, you now can add another degree of difficulty to this, already jam packed, equation: Threads!

With threads you are able to partition some of your number crunching in different loops. Those loops will talk, or synchronize, with each other via messages, locks or even semaphores. While giving a better way to compartmentalize your game it has the downside of complicating things in terms of bug hunting.

Another type of game architecture that has arisen with multiplayer is the server/client approach. The user communicates with a server, where other users are also connected and they all play together.

On online games, this also can mean that your game continues to progress, even if you are not logged in.

What is my present path?

Keeping in mind that I'm mostly interested in an RTS/Simulation game, I've decided that I've got enough experience to tackle Threads head on. This may prove to be a foolish decision, but as I'm just in the beginning, it feels like the proper path to take.

I'm inclined to have a sever/client architecture. The server will have all of the Logic and AI, while the client will display the game and convey the user commands to the server.

I will start my prototyping with the server side on a GUI application that will only display bare stats and unit info. Once I'm pleased with it, I'll pack it on a proper server "enclosure".

I'll detail my mental (as inside my head and not I am mental) model in the next iteration of these series.

Cheers,
Gus

2012-09-27

Game Programming, The Journey: Part 1

Previous in the series: A new long term challenge: Game Programming

When ever I've started a new endeavour I always do some heavy research.

If only for future reference, I'll leave some links to Wikis, Tutorials and other important stuff regarding game programming.

For beginners and up:

Since I'm mostly interested in RTS/Simulation type of games, here are some more specific to the subject:

More specifically for Real Time Strategy:

(I will be updating both these lists as I progress on my reading.)

Feelings after some reading

Coming from a database centric type of programming, once you begin to look at the vast field that is "Game Programming", you can feel pretty overwhelmed!

The subjects are from all the ranges of the Computer Science subjects and you even add some nice two/three dimensional math!

My past track on research for a new thing to do, has to be put aside and rethought. "One cannot simply enter the realm of Game Programming!", as someone would say. It's something that you have to take in with the understanding that it's going to require more than a few week-ends of reading and prototyping to get any good at.

So, in my case, this is going to be a slow rise of knowledge with loads of reading involved. Coding will have to be postponed to a time when I'll feel comfortable enough with the terminology, concepts and lingo, to finally begin to drop some code.

Cheers,
Gus 

2012-09-25

A new long term challenge: Game Programmer

I've been pondering on the possibility of doing a game for quite a while. Nothing solid or earth moving came out of it, but it's been on the back burner for a while.

I've been playing 2 games lately:

The Settlers Online
The Settlers Online
Forge of Empires
Forge of Empires

Both are of the type RTS (Real Time Strategy) games. The type of game that really interests me. And this is the path I'm going to take on my journey towards a fully playable game.

I've started to do some work on a concept I read about somewhere (I'll update this with a link when I find the article). This concept was about having a system that you could just throw hardware at it to scale, with out the shortcomings of current solutions.

I called it Kullonia.

I really didn't code much of it and I'm quite ashamed of it, since I've let a very dear friend down in the process. I hyped him up with a really good sales pitch and then just didn't deliver. Until this day I'm still pretty ashamed of my actions and don't even try and re-establish contact. Deep inside I know he hates me :(

Probably it was this guilt that made me pursue my current objective. The concept is really great to implement the engine behind the games shown above. And the fact that it's coded in Free Pascal makes it a double whammy of awesome: It's compiled and can be made to suit multiple platforms.

So for the next few postings I'll be ranting about the journey of starting a "One Man Team" Game Programming.

See you in the near future.

Cheers,
Gus

2012-04-24

CEO Companion Application

So I've been playing this little game: The Settlers Online - Castle Empire

It's a game of patience and it won't appeal to all the strategy genre lovers, but it's a dream come through to me. I've been hooked on the "The Settlers" saga for quite a long time, ever since I've had a go at the very first one, in the 90's. So when I stumbled upon this on the Chrome App Shop, I couldn't resist!!

But just playing the game wasn't enough. I had to give something back, to both the people that made the game and the ones that have the same love for it as me. So I decided to create a companion application with some content and the ever useful calculators for the various in-game strategies.

So "CEO Companion" was born!


The application is open source and is still in the early development stage.

You can find,
  • the project page: here.
  • the download page: here.
  • the bug report page: here.

Give it a go and tell me what you think on the comments below.

Cheers,
Gus

2012-04-13

'Twas my birthday yesterday...

So, it was my birthday yesterday... No biggy... Well, apart from the Smashingly Delish cake my wife made:

Delish cake by my baking wonder of a wife!!














Well, got that out of my chest :)

2011-12-17

Science versus Religion

Science and Religion have come a long way since the dark ages and Alchemy.

But to both I present some challenges in order to get it straight:

To Religion:
- Without invoking faith or belief, try to come up with a proof of God.

To Science:
- What causes gravity; What causes magnetism; What causes energy transfer.

While both of these very important fields of knowledge get those challenges right, we all ask of you to do it in a humble way, just like we all live all lives and don't pester one another with provocative attitudes.

I, myself, am in favor of science. But the amassed knowledge of science is still in its early infancy, so a humbling call is really needed for the science persons who think otherwise.

I was brought up in a religious manner but then got through all the dogmatic smoke screen and saw nothing in terms of content. I still think that religion has a place in the world, but in terms of teaching the common ways of being a good person, not the all encompassing and universal glue to all that exists.

So to both I say again, get your challenges sorted out and while you're at it, be humble and don't try and find high horses to climb on. We mere mortals live life like that but we still attain grandeur.

2011-02-21

Moving repos and a new project

As anyone that knows me will tell you, I don't quite finish my projects.

Binky Boink

Never the less, I've started a new one: Binky Boink. It's, yet another BOINC visualizer, the difference being that this one is open-source and comes with a nice ObjectPascal lib you can use on other projects. As usual any help is really welcome to get this project to fruition.

New repositories for old projects

The other piece of information I wish to convey is that I've decided to re-host the following projects under the Google Code umbrella:

Thanks.

2011-02-14

I, for one, really welcome our alien overlords

The human being has this annoying thing about trying to humanify everything. I have to admit that it makes it pretty easy to understand if it looks human. Or has human like characteristics. It, bloody hell, does not justify the abuse of the practice!

For, whatever deity's sake, aren't we Humans!? Aren't we the dominant specie on this Earth!? Aren't we intelligent!?

Well, for the most of us, it looks quite the opposite. We still are very, very afraid of the unknown. If we relate that with the common known fact that some adults are still afraid of the dark, we're back into the animal kingdom accepted phobias, all over again. This has been good when we had flesh eating enemies. That is, however, not the case any more.

Us Humans have to realize that we have to perceive our animal behaviours, keep them on board, but rationalize them into a place it doesn't make us such a bunch of hypocrites.

I have to admit that feelings and art are quite good for the soul, and it testifies for our Humanity. What I don't condone is the fact that we give that as an excuse to do all sort of animal behaviour, just because the other Human does it.

Also, all this hypocrisy, should not be, at all, accepted in some areas of the society.

First area, Politics. Human Nature does not comply with the values needed to make any type of Earth leadership work. There's always one of the many human defects that lingers into the judgement of the person that has the power. I think we should be ruled by robots, but more on that later.

Second area, Science. It's pretty amazing that Science as evolved so much with these Humans doing it! Little, and BIG, power struggles have been going around for so long that one wonders if Science is still what it started off to be. It should be the one only thing that has to be, completely and unequivocally, absent of Human Nature. None the less, it's quite the opposite. All of the principles that have been tried to maintain it - science - scientific have failed. Professors, or generally perceived Erudites, hold the truth about science. What ever new or disagreeing theory is treated with such Human Passion that it's ridiculous.

Humans should not be allowed to man Politics, Science or any other area of Society that takes care of Humans!

Now the BIG Problem here, is that we are unable to not humanize any of our feats.

One good idea would be to be ruled by, and have scientists be, robots. But this idea is still flawed, since it would be Humans that would have to program these robots, and Humanity would taint this programming. Not having enough of the good parts of Humanity, would also be harmful. It would be too harsh for Humans to live comfortably.

So while it would be great to have the good principals, always upheld by one of those robots, with out any fallibility or exception, it would be a nightmare if enough flexibility was not designed into the system. But again, this would be to a human to decide, and I've already talked about us doing decisions...

Looks like the only way we have a shot at this being done right, even, fair and just to all Humanity is to outsource it from outside. It would be a Human Rights person, wet dream, if we could have all parts of Society that affect Humanity as a whole, taken care by someone with all the keyword, cliché, and over-abused words/concepts in place and not deviate from them, or the best interpretation of it, rule us all.

This would be some other thing - Yes, thing - with none of the human flaws and all of our, present and future, qualities. And I have to call it thing, or else, the ones of us that are humans will try and humanize it and foil it all.

Until then, when the Thing, comes 'round, we will have to manage all the {insert very bad adjective} humans that occupy all the key positions in our Society.

The louder you lie, the more truthful it becomes...

In my native country, Portugal we have a saying: In a blind's nation, the one eyed man is King.

Now, that, is the more accepted version of such an ideal. The one that can see is made the most important in a nation of sight impaired. None the less there is another, twisted, version of this saying that goes: In a blind's nation, the one eyed man is incarcerated... he's just too different.

This last interpretation is more likely to be true in terms of the way, us humans, think. When ever someone is different, that person is most of the times shun away from the other more "normal". Well, whatever is "normal" in that group anyway.

You can argue that all, if not most, of our heroes were different. Yeap, that has loads of truth to it, but I'll bet a limb that just before they were considered heroes, someone would've called that hero a fool, or something even worse. So it's the outcome of some foolish, or less "normal", way of acting, having a good outcome, that defines a hero. Hummm, quite the contradiction here.

Imagine someone from another planet - since from another country or nation they would still be humans - takes a look at all these ways of thinking. They would probably recognise the contradictions immediately and just get really confused about how did we even get out of the oceans in terms of evolution. Unless someone gives them the title of this rant and explains it to them.

Yes, the title of this rant is a bit harsh, but considering some of the Wikileaks provoked stirs, this stands truer and truer every time an "official" person stages up a news presentation.

Along the many years we have evolved as a civilization, we have tried to find the best way to appease the most with many kinds of government philosophies.

We have tried tribal chief - this was good for small groups.

We have tried King/Queen - This seams to still be used, even if they are only useful to parade off the "nobility" of a nation, no power at all.

We have tried Democracy, the Greek Style - Not sure what killed it yet (Yes I do but more on this later).

We have tried Communism - Pretty sound on paper. Dunno what happened to demise it (Well, yes I do, it's still related to something further down).

We have tried Pharaos/Humans as Gods/Totalitarism - Well, no one likes when the guy at the helm behaves like a human when he speaks of being a God....

We have settled in something that we call modern Democracy. The power of the people decides who will take the decisions. Now this is still very good on paper.

None of the ruling philosophies will ever, ever, EVER, work. And there is a simple explanation to it. Yes, quite simple, not one that is full of abstract concepts but one that is the truth. And I'm writhing this in a very low and controlled "voice", this way I will not disturb the wrath of my rant's title.

This truth is one that we all would like to conceal: We are humans, and humans, since conception, have the lust for power. Nothing to be ashamed about. I'd even bet that it's been ingrained into our DNA as a means of making the species progress.

If an element of any species seeks power, he has to prove to be the best. I don't mean the best at juggling bean bags, but the one Nature has thrown many challenges and survived. Yes, this one will be selected as the most fit to procreate and perpetuate the winning genes. This also makes sense, Nature sense, if the descendent of this "leader" would take leadership. He has some version of his dad's winning streak.

This all makes perfect sense if you don't use the abstract as a wrench in the cogs. Civilisation has evolved from what I've said earlier to what we are experiencing now.

We have had, along the years, many versions of the "Son becomes ruler after Father has killed all opposition". Many of them quite overt, some of them a bit more covert and even the ones that we are not sure if it's overt, covert or just plain natural occurring events.

We are now in a situation where we have so many abstractions on top of abstractions, nonsense on top of nonsense and half truths on top of crude lies, that a Sophist would make fortunes once more just by what they were good at in the Greek times: Bend your mind, so twisted, that you would agree with him on diametrically opposite takes of a subject.

Unfortunately, the art of the Sophists is not lost. Once it was a matter of entertainment. Now, it's a way of mass deception, or like some like to call it: Government.

The human being as not changed in the many millennia that he has been on this Earth. The human being is still quite attached to the survival of the Species, but there is a catch: Nature no more takes part of the selection. Other humans do that for "her".

This makes for the situation we are in now. If we believe in the Modern Democracy, we will elect a human being, he will come to power and he will ultimately be the puppet of who really has the power. And, Yes, I'm not shroud enough to have the answer to that question: "So who has the power?"

But ultimately, what rules us all, is our human nature. We were quite fine when Nature still dictated the rules of election. Now that humans have replaced Nature on this role, all is fundamentally wrong.

Nature is neither kind, nor lawful. Those are Human characteristics. But, Nature, has been able to make most advanced scientific breakthroughs. Was able to get a very intelligent species out of the primordial ooze and make it the top of the food chain. Now that it has been replaced, in it's role, by Humans, Nature cannot do much in terms of fine tuning. Humans are doing it, and they are doing a very bad job.

This leaves a power seeking, individualist, selfish, one headed monster with a HUMONGOUS body. Little head, big brawl... Well we all know where that goes.

Many a Humans have realized that we need to have another big step away from the primordial ooze. Those Humans are quite a minority. In our Modern Democracy, the loudest you speak, the better you are heard. Small voices account for nothing, even if all this abstraction we call politically correct is taken into consideration.

So what's all this fuss about this Wikileaks thing, then? Pretty easy! The many bullies have been called in their bad ways and they're not happy. But we don't have an "Adult" to mediate things, since the bully is a group of power seeking "Adults", that have lied their way into the leadership.

So it's a shower of abstract ideas tossed around to see which one gathers more supporters in order to perpetuate the pile of lies. Perpetuate, hide them and ultimately bread them into some more lies. As long as the rest of the specie is tamed and under control, all is fair.

Now my chest is a bit better. Thank you for reading, if you were patient enough to read this far.