Paul Michelotti

The URI and then some

Updates From Comic-Post

Sometimes Beer Happens

May 28th, 2013 at 10:43 pm

A Strong Accusation

May 10th, 2013 at 12:04 am

Alternate Endings

Apr 28th, 2013 at 11:54 am

What I Did Over Spring Break

Apr 17th, 2013 at 10:55 pm

Bocce Banter

Apr 11th, 2013 at 11:16 pm

Latest Project Update

from Iterative-Living

Weekend Updates - Indexing and Graphics
Sep 18th, 2011 at 7:17 am
A hodge-podge of generally undirected game updates took place over the weekend which I wanted to write about.  Now that the in-game menu functionality is working I'm getting close to having nothing but a handful of random details to cleanup before the engine and game are actually playable entities.

Indexing

One thing I found that I overlooked in my originally programming of the engine was the fact that, since the player is movable, the player may at some points be in front of an object while at other points might be behind an object.  The problem came in when I realized I was not re-ordering the array of on screen objects, so when a player walked behind an object, the entire player sprite was still drawn on top of the sprite for the object which they were supposed to be behind.

On the surface this isn't a major problem and I was able to write up a sorting function to pass to Array.sort which ... sorted things out.  Writing up the function however brought a larger issue to light.  In order to get objects which were literally on top of other objects (ie, a coffee cup on top of a table), I had to introduce a gameHeight property to each game object.  This property I used to indicate how far off the ground something was assumed to be and my sorting function could take this into account when calculating an objects relative position.

This may end up being sufficient for this game, but I feel like the engine in the end needs to more robustly handle the fact that I'm essentially working in a 3d environment but drawing in a 2d context.  For instance, I may end up reworking the object positioning mechanisms so that their position is defined in 3d space and the engine does the work of calculating where to map those objects to in 2d space for presentation purposes.

Graphic Work

I've been putting off drawing more sprites, largely, because I got so sick of it after making all the sprites for the room itself.  This weekend however I decided to hunker down and start work on the panda walk cycles again.  It was as much of a pain as I expected it to be, but I got the forward walk cycle done and am now moving onto the left walk cycle (which will be repeated as the right walk cycle).

All of this graphic work has led me to the conclusion that, for my next game, I need to just pay someone to do this for me.

I still have some cleaning to do, but here's the general idea of what the final walk cycle will look like

So, what is left to be done?  I'll try to get a list together for a future post, if for no other reason than to provide myself with a checklist of sorts.

DnL8Tar

Seeking Foundations

How are Publishers Rewarded for Exposing Linked-Data?
Jun 27th, 2013 at 12:01 pm
Disclaimer: This document poses the question asked in the title without offering anything which can be reasonably called an answer.  It is my hope that members of the relevant communities who know more than I do on the topic can provide some insight into potential answers.

Utilization of linked-data by applications is predicated upon the existence of accessible linked-data.  In much the same way that publishers were told they could put their content online in formats like HTML, we now tell them they can expose their information as linked-data using formats like RDFa and JSON-LD.  However, where the former had the fairly obvious benefit of making the publisher’s content visible to human consumers, the later seems to lack any immediately realizable end.

Lofty visions of automated agents and reasoning engines which would operate over the ever expanding web of linked-data have been touted since around the time that the phrase “Semantic Web” was being coined.  It was indicated that, by exposing their information as linked-data, publishers could “hook-in” to these agents, making themselves visible to their users.  Such agents however have yet to materialize and seem to be touted less and less from my observation, which I feel is unfortunate, but that’s an entirely different post.

Many “Semantic Web Applications” which I have seen, either in writings online or at conferences, are in-fact Semantically-Enabled applications which use some Semantic technologies, some of which have been born of the forge of the Semantic Web, in combination with other technologies (AI, NPL, etc), in order to build up a triple store and reason over it or operate upon it.  These have been interesting applications but they are not Semantic Web applications as they go well beyond the boundary of utilizing exposed linked-data.  Further, they are often operating in specialized domains over semantically enabled datasets and not over arbitrarily exposed information on publisher’s sites.  As such, in and of themselves, such applications are providing no reward to the average content publisher.

Search Engines have taken up the torch to some extent in the form of Schema.org.  This gives publishers a reason to expose their data as well as a concrete vocabulary to use in its exposition, but it positions the “Semantic Web” to be re-branded as “SEO 2.0,” which in my mind would be a loss of the initial vision.  It is, however, from what I can find, the only realizable end of publishing linked-data along with your content.

When talking about / attempting to explain the Semantic Web to friends, family, and co-workers, I often employ the Chicken or the Egg metaphor in accounting for why this concept has not yet become ubiquitous (though I am sure some would disagree with the statement that it is not ubiquitous).  If we take the Chicken to be the accessible data and the Egg to be applications, we may be getting closer to the Chicken, with the help of efforts such as Schema.org to an extent, which would give the Egg a raison d’être.  In my experience the lack of a reasonable Egg to point to greatly complicates the task of encouraging publishers to expose their information as linked-data.

A final note: I would be very happy to be corrected on my observations and to be told that the Egg already exists (ideally by being pointed to such an Egg).

expand post reduce post

Paul and Laura

Gardening 2012 - Phase 1 - Cinder Blocks
Apr 22nd, 2012 at 3:50 pm
I experience a strange mix of excitement and dread every time I look out my kitchen window into my back yard.  It is a substantial canvas with amazing potential, however, before I can bring out said potential, I have to whitewash what is a fairly fouled canvas currently.

In case you did not follow the metaphor, allow me to be more blunt.  The yard is an overgrown mess.  Not only that, it is filled with artifacts of prior gardening attempts which are old, rotten, and half buried.  So as to not completely overwhelm myself I have set a goal of simply cleaning the slate this year.  That includes getting rid of all the junk which I no longer want back there, pulling up nearly every flower bed, turning over the earth everywhere I want to plant next year, and reseeding large portions of the lawn.  This also includes ripping up a few fairly substantial bushes and trees, but someone will be hired with cash monies for that job.

This weekend I set to digging up the bricks and cinder blocks which lined the rear garden.  The bricks I should be able to get reuse out of.  The cinder blocks however are in terrible conditions and, frankly, were not aesthetically appealing to begin with.  The job was only complicated by the fact that buckthorn, a plant who's roots are relentless, seems to run rampant through the yard currently, and had actually grown INTO the cinder blocks.





The next task I have set for myself is uprooting everything which is in the rear garden, followed shortly by turning over the earth in the garden to prep it for next year.   I'm considering also lining it with stones this year if I get around to choosing what form of masonry I want to decorate the yard with, but that's fairly low on the priority list.
expand post reduce post

Chefsplorations

Steak Fajita Baked Potatoes
May 28th, 2012 at 6:44 pm
When faced with leftovers I often seek to present them in a context other than that of the producing meal.  Tonight steak fajita leavin'z sat in my refrigerator (as they will for the next two days given the amount of steak I cooked yesterday) consisting of grilled skirt steak and grilled vegetables.  Having a few potatoes which I wanted to do something with as well, I decided to make a facsimile of twice baked potatoes, stuffed with the remains of the prior nights dinner.  Having no intention of putting creative energy into the name of the meal, I dubbed it "Steak Fajita Baked Potatoes" combining both the identity of the leftovers and the cooking technique for the potatoes.

The Potato


Over the years I've learned to be more patient with baked potatoes.  Early on I would give a potato 30 minutes in the oven before assuming I had already left it in far too long.  Years later I've found that 50-60 minutes at 400 degrees is adequate for baking a potato ... a potato which is ideally covered in olive oil and kosher salt.  Tonight I think the potatoes actually went over 60 minutes, because I finished Zelda while cooking and was unwilling to disrupt the ending with details such as baking time.

The Fajita


Some credit for the meal must be given to the prior night's efforts.  The steak fajitas were in and of themselves a most acceptable meal, and while I'm not writing about them specifically, I will speak of the steak and the vegetables.  Skirt steak is the type of steak I prefer for fajitas .... or tacos .... or anything of that ilk.  It cooks quickly and it takes a marinade nicely.  I let the steak sit in a gallon zip lock bag for 5 hours with olive oil, apple cider vinegar, chili powder, garlic powder, cayenne pepper, paprika, cumin, salt, and pepper.  This I grilled up along with a compliment of vegetables consisting of red, yellow, and anaheim peppers, onions, and mushrooms, also covered in oil and apple cider vinegar.

The Combination


Last night the above were put together as they would normally be for fajitas.  Tonight, the cold leftovers were chopped into small pieces and mixed with the potato innards.  Innards which were extracted after cooking and cutting the potatoes in half.  Innards which were also mixed with sour cream, cheddar cheese, olive oil, and some more salt and pepper (if I had some green onions I probably would have put that in there too, but I didn't have any).  Innards which were then spooned back into the potato shells to be baked another 10 minutes.

Completed Steak Fajita Baked Potato
The result you can see above - and while not overly decorative (since I did not use any sort of piping equipment to put the filling back into the potato) the final product was greeted with rave reviews (from Laura) and also took a hot sauce admirably.

DnL8Tar
~PCM~

expand post reduce post