Blade Edge

Computer software | Video production | My life in general

Blade Edge main header

Blitz Blox gets some smarts

February 16th, 2008 · Software

Transposed from Gaiiden’s Scroll

Yesterday and today I spent some time coding some basic AI into Blitz Blox. The AI really doesn’t do anything right now except

  1. Pick a random column
  2. move cursor to that column
  3. drop a block

Rinse, wash, repeat. While that may not seem like much, it’s actually just the foundation on which I’m going to build the more advanced AI. See the AI has two functions, Planning and Execution, which occur simultaneously as scheduled function calls (remember I’m dealing with TorqueScript here). When the Planning function is called, and the AI is in a planning state, the AI determines its move. The more complex its thinking (the harder the difficulty is set) the more times this function is called before a decision is reached. When the Execution function is called, it moves the AI’s cursor one column and checks if that’s the column the AI wants to be in. If so, and the AI has made a decision on what to do, it drops a block onto the play field.

Simple enough, the hard part is going to be making it appear smart. To do that I still have a few changes to make to the gameplay. In my last entry about Blitz Blox, I was wrestling with the problem of how blocks should interact once they are on the playfield (which I refer as the “stack”). I’ve decided to take Emmanuel’s suggestion, as it really is the only way to keep things under control in various situations. I’m also going to apply a discharge precedence – when a block is first dropped onto the playing field, it discharges before being affected by any surrounding blocks. When a block on the stack drops to a lower row, it is first affected by surrounding blocks before being allowed to discharge.

After that’s done I’m going to get all the special blocks implemented, and then I can begin cracking hard on getting the AI up to snuff. We’ll see what I can get done next week. Hopefully by Wed I’ll be well into getting the special blocks working, and by the end of the week starting to bulk up the AI some more.

In other news, my car is stuck in the damn ice that we didn’t shovel the first day it snowed (Wed). And while it was like a 1/4 in of ice, 2-3 in of snow and like 1/2 in of ice layered back then – now that it’s thawed and frozen again and again these past two days it’s pretty much just a solid sheet of ice now.

Freakin great.

→ No CommentsTags:··

What is Defensive Driving?

January 30th, 2008 · Personal

What is Defensive Driving?

A defensive driving program is an essential driving skill set beyond the basics. Through this course, drivers are provided with the necessary knowledge and techniques for anticipating and responding proactively to potential hazards on the road. To ensure one’s own and others’ safety, it is essential to be aware, vigilant, and prepared while driving. These are the best Los angeles driving lessons.

Importance of Defensive Driving

Driving defensively is not just about driving safely, but also about handling stressful situations on the road. As a result, it becomes very important to ensure a high level of productivity in the organization, especially if it involves a large number of drivers.

By practicing defensive driving, employees are more likely to remain safe, avoid taking time to visit doctors, and remain productive, thus improving overall productivity.

“Drive defensively and you’ll have a better experience on the road.”

Accident statistics & Causes

Over 36,000 people died in traffic accidents in the United States alone in 2019, according to the National Highway Traffic Safety Administration. Considering this number, it is evident that defensive driving and staying alert on the road are extremely important. It is possible to decrease the risk of accidents and injuries on the road by practicing defensive driving techniques.

Role of Defensive Driving in reducing Accidents

Defensive driving plays a crucial role in reducing accidents. The program emphasizes situational awareness, risk management, and quick decision-making to assist drivers with identifying, assessing, and responding to potential hazards. It is evident that this proactive approach results in a significant reduction in accident rates.

  • Stay Focused: Keep your attention on the road and avoid distractions.
  • Safe Following Distance: Maintain a reasonable distance between your vehicle and the vehicle in front of you.
  • Use Turn Signals: Give other drivers a clear indication of your intentions.
  • Obey Speed Limits: Observing speed limits can prevent accidents caused by excessive speed.
  • Scan for Hazards: Continuously scan the road for potential hazards.
  • Avoid Aggressive Driving: Be calm and in control of your emotions while driving.
  • Weather Awareness: Make adjustments to your driving based on the weather.
  • Adapt to Traffic: Maintain a flexible approach and adapt to changing traffic conditions.
  • Understand Right of Way: Ensure that right-of-way rules are followed to prevent collisions.
  • Vehicle Maintenance: Keep your car well-maintained to avoid breakdowns.
  • How Defensive Driving Enhance Road Safety

    Defensive driving promotes continuous learning and adaptability on the road. Drivers are encouraged to stay updated of the latest traffic regulations, vehicle safety features, and emerging technologies on the road. Their proactive approach also enables them to better navigate the evolving dynamics of modern traffic, including the integration of autonomous vehicles and the development of changing road infrastructure.

    With the help of new information and technology, defensive drivers can better anticipate and respond to emerging challenges, ultimately contributing to enhanced road safety in an ever-changing transportation environment.

    Conclusion

    Defensive driving promotes continuous learning and adaptability on the road. Drivers are encouraged to stay updated of the latest traffic regulations, vehicle safety features, and emerging technologies on the road. Their proactive approach also enables them to better navigate the evolving dynamics of modern traffic, including the integration of autonomous vehicles and the development of changing road infrastructure.

    When employers recognize the importance of defensive driving and invest in training for their employees, they not only ensure the safety of their workforce but also reap numerous benefits, making this a wise and responsible choice. Therefore, defensive driving is not just an option but a necessity for every employee. Drive safe, drive smart, and protect yourself and others on the road.

→ 1 CommentTags:··

Know when to unplug

January 19th, 2008 · Personal

Transposed from Gaiiden’s Scroll

Some people think the hardest thing about working from home on a permanent basis is staying motivated. This usually isn’t the case, because the majority of people who do so have a lot of passion for what they are doing. I mean, they certainly haven’t gotten in the position of being able to work out of their house by being unproductive that’s for sure. Obviously, with GDNet, GI and other projects, I do all of my stuff from home. So I know first-hand what it takes to stay motivated and doing what I do every day (yea, weekends often too).

The real problem with working from home is the fact that you really don’t have any restrictions as to when you have to work. Even contract-based projects with schedules you have a deadline to meet, but whether you choose to work two 12 hour days and take off the next two or work four 6 hour days is really up to you (barring any needs such as regular team meetings, asset delivery based on dependencies, etc). Okay, so I can understand how regular workers who go to the office from roughly 9-5 (and I say roughly because “office hours” in the industry still vary widely) might see being able to work whenever as an advantage, but in many ways this is the one curse of working at home.

Where you have access to your office.

All the time.

See, the discipline needed for working from home isn’t knowing when to work, it’s knowing when to stop working. You wanna know the fastest way to crash and burn? Working from home is it. People who work in a office take for granted the fact that when they leave for home they’re essentially free from work until they return the next day. Sure, perhaps you can log in remotely from home if you need to check up on something real quick, or forgot to fire off some email or remembered a file you missed checking in before leaving, but essentially – mentally – you’ve left your work environment.

However when you live in your work environment, things are a bit different. A lot of people solve this simply by making sure that the place where they do work is its own room, devoid of any other purpose whatsoever (tax write-off, anyone?). This is a very good thing to have if you can. Still, things can remain difficult being that you’re always just a few steps away rather than a few miles away from your office.

Let’s look at it this way. It’s the dead of night, and you’re trying to get some sleep. All of the sudden POW! A solution to a problem you’ve run into with some code suddenly leaps into your head unbidden out of the ether. You sit up in bed, mouth agape that you didn’t think about it earlier while you were at work. Ah well, you say as you lay back down, I’ll be able to do it first thing in the morning when I get back to the office. Perhaps you’ll scribble a few notes before going to sleep so you don’t forget.

Now what happens if your office happens to be right next to your bed? Or a quick sashay down the hall? Don’t even deny that the burning desire to immediately implement this solution won’t boil up in your brain, denying you sleep until you get out of bed, sit in front of your computer and do it. Before you know it, it’s 6am, the sun is rising and your sleep pattern is now completely out of whack.

It’s hard to imagine if you haven’t experienced it yourself, but it’s surprising how different the mindset is when you’re working from home than from an office (or rather, a “remote location”).

I feel like I’m on the verge of rambling, so I’ll bring this to a close. I just find it interesting how common the misconception of working from home is. All my friends are like “dude that’s so cool, you can work whenever you want?” Yea, I guess it is cool, until I drag myself away from my desk and realize I really should have done that like, 5 hours ago and suddenly fully realize how hungry or tired I am.

If it’s easy to make yourself start, it can be hard to make yourself stop. And there’s really no one to make you stop except yourself, so you have to learn to know when to let issues rest for the day so you can return anew the next.

And yes, having a spouse or significant other around to yell at you to get off your damn computer and come to bed is effective as well. If you have the calvary, more power to you. Thank them before you go to bed k?

→ 1 CommentTags:

Vacation = 1, Drew = 0

January 11th, 2008 · Personal

Transposed from Gaiiden’s Scroll

Well it took me until day 4 of vacation to finally veg out and stop working beyond checking emails and forums and websites to keep up to date on events, but it happened. My family drug me off to Aruba and I was determined to keep working because I hate taking time off this time of year but the simple fact of being down here and only remote connecting to my desktop slowly wore down my defenses until I was finally a lazy bum in paradise. I had a good time tho – finally learning how to kite surf and going on a snorkel cruise. I like snorkeling. The rest of the time I spent on the computer or catching up on my reading. I blasted through three novels, two small comics and a regular TPB comic – all Star Wars of course .

Anyways I fly back home tomorrow and then it’s back to the good old grind on Monday.

Have a great weekend.

→ No CommentsTags:·

I’m addicted to Facebook

January 4th, 2008 · Personal

Transposed from Gaiiden’s Scroll

Yeap, it’s all the new fad with me I must say. I pimped out my profile a little more with a few apps. I trolled the profiles of every single one of my friends looking for cool and useful apps and picked up a few. Added a Mood app so I could set my status and mood like MySpace; added a Where I’ve Been app to map out the countries/states I’ve visited and would like to visit. Wow I’ve traveled 15% of the world – not too shabby; I added a Visual Bookshelf app and spent two hours adding all of my Star Wars books and comics – turns out I have a staggering library of 206 Star Wars books. It was quite monumental, despite the fact that I knew I had broken 100 books several years ago (been reading adult Star Wars novels since I was like 14). I even added the tally to my Extended Info section so I can continue to track the number after I’ve added non-Star Wars books (yes, I do read general fiction and sci-fi too). I’ll also use that app to add movies and music; lastly I added this page a blog RSS feed which ironically is the only thing I can’t seem to get to work yet. Go figure.

Oh and I added a LinkedIn app that let me go through all my LinkedIn contacts and see if they had a Facebook profile based on their email – scrounged up a few more friends that way.

C’mon people, networking is fun and potentially profitable. Yes, it is worth the time and effort.

→ No CommentsTags:·

Happy New Year

January 1st, 2008 · Personal

Transposed from Gaiiden’s Scroll

I was in the Poconos Mts in Pennsylvania the past three days hanging out with some close friends, and my girl friend of course. I’m sure you all had fun times spending your New Years out and about – if you haven’t shared in your journals then go ahead and leave a comment with where you were and what you were doing. Anyone brave Times Square to see the ball drop in person?

As ready as I am to get back to work, vacation isn’t quite over for me yet. My family’s gotten into the habit of scheduling a trip the second week of January – last year was a trip to Hawaii, the year before that was a cruise in the Caribbean. This year we’re heading off to Aruba. It seems my sisters simply wanted to lay out on the beach. This doesn’t quite suit me so I’ll be toting along the lappie and remote-connecting to my desktop here at home base.

One benefit of heading to Aruba though is the ability to finally take some kite surfing lessons, as it’s an extension of kiting that I’ve always wanted to get involved in especially since I live by the shore. My girl friend is also itching to get involved too so I’ll be able to take my knowledge home with me and prep us both for this coming season.

Anyways, new article is up so enjoy as it’s the first featured Visual Arts article in… well a long time The next Intel article is due this coming Monday. It may show up on Friday since I’ll be posting it ahead of time with a scheduled publishing date of Monday (hopefully that means it’ll actually wait till Monday to show up on the main page) – just in case I can’t get online for some reason on Monday.

Happy New Year once again – best wishes to you all for 2008

→ No CommentsTags:·

The product of boredom

December 27th, 2007 · Personal

Transposed from Gaiiden’s Scroll

Okay so I wasn’t really bored or anything today, but I didn’t have any pressing matters to attend to – that’s about as close to “bored” as I ever get these days. So I decided to make some social networking badges to add to my journal header up top – I snugged ’em between the GGE badges and the publishing calendar. Feel free to steal any that you find useful yourself. I made the Facebook, MySpace and 1up badges – the other two you can get through LinkedIn and your IGDA profile. I also have a GGE badge in that format as well:

It’s a bit personalized tho. Easy enough to make however, I just used the top part of the bigger badge you see up top. All this was done in Paint.net – awesome app.

So if you’re on any of the above networks, be sure to add me as a friend.

Anyways not much else happening… I have a conference call at 7 with various coordinators and execs of the NJ IGDA chapter – we were going to have a face-to-face meeting up at the Slingo offices but it turns out the majority of people actually can’t make it, so we’re calling in instead. Which sucks cause I was looking forward to using the new GPS unit 😛

Righty then, back to chillaxin…

→ No CommentsTags:

Loot!!!

December 26th, 2007 · Personal

Transposed from Gaiiden’s Scroll

Well, it was a good haul this xmas. I figured I’d make my family fend for themselves this year – my xmas list consisted of one item and a few stores where I wanted gift cards. Ironically, that one item is the only thing I didn’t get on xmas morning… because apparently is still needs to be shipped

Here’s my first haul of the day, from my immediate family (Mom, Dad and 2 sisters). We open gifts and stockings in the morning. We have here:

  • K’nex set – I love K’nex (and Legos) and I haven’t had anything to build since I was like 14 so this was a pleasant surprise 🙂
  • Seaweed – sounds gross but is soooo yummy, you should try some
  • Burger King card – gotta love the King
  • Signspotting 2 – book with crazy stupid funny signs like from Thailand: “Anyone. Caught. Shoplifter will be shot 100 times the value of stolen item(s)” – awesome
  • Black cargo pants – they’re all I wear. Seriously
  • Underwear – I can’t seem to go a Christmas without underwear *sigh* thanks Mom 😛
  • Star Wars Vault – huge book with tons of inserted Star Wars collectible items by Star wars Collector God, Steve Sansweet
  • Orange Crush and 7-up Jelly Bellys – mmmmmm candy
  • Magellan Maestro 4040 GPS – this was a surprise indeed! With bluetooth so I can hook it up to my phone. Fits perfectly into the empty navigation display area in my dash too!
  • Laundry bag – if I had gone to college this would have been useful
  • Legend of Zelda t-shirt – yea baby, and just as my Legend of Time t-shirt was starting to get worn out
  • Best Buy and Borders gift cards – can’t go wrong with gift cards

In the afternoon the rest of the family comes over to our place for more gift giving goodness:

  • Lennox ornament – all the cousins get one every year
  • Crank-powered LED flashlight – I’ll keep it in my car for emergencies
  • Gillette Fusion electric razor – smooth shave
  • WalMart gift card – I can spend hours in WalMart
  • Origami candy box – my grandmother is Japanese and she gives all the cousins $100 each xmas in various ways. This is what she did this year
  • Best Buy gift card – I have enough to buy a new Radeon HD 3850, yes it is tempting
  • Visa gift cards – more moolah to spend as I wish

What a haul this year. I still haven’t had time to play around with my GPS unit hooked up to my computer, tho I have taken it out driving with me even if I don’t need it just cause it’s so cool, hahaha.

Was looking around Journal Land here and other people got some cool gifts as well. Good stuff.

→ No CommentsTags:

No More GI Live Events

December 21st, 2007 · Personal

Transposed from Gaiiden’s Scroll

The Live Events program at the Game Institute has been suspended as of the end of this month. I’ll be posting an official statement on the GI Announcement forums later tonight for anyone interested (check tomorrow). The gist of the matter is attendance. We’re just not seeing enough interest from people to attend these lectures. An average of 4-6 people isn’t a great showing, and we don’t yet have the resources to properly market the program as we’re focused so much on finalizing our curriculum next year. It’s unfortunate, because literally ~99% of attendees to these events have been extremely satisfied (we gather survey results from each seminar) with the content and experience. I’d love to continue to give them that but the fact that we’re paying the speakers and not charging attendees has tipped the scales in regards to diminishing returns.

So Live Events will return. When I can’t say, because we don’t know. Second half of next year? Possibly. 2009? More likely. Either way they’ll be back. So if you missed out on these awesome events don’t worry because you’ll have another chance.

→ No CommentsTags:

Hide-and-Seek

December 17th, 2007 · Personal

Transposed from Gaiiden’s Scroll

So I was working at the gym Sunday doing open workout (refresher: I coach gymnastics) and the kids were playing hide and seek. I thought to myself, well if I were to make it a game of elimination, how would I do it? Traditionally you play and one person seeks, tries to find everyone and whoever they don’t find is the winner. Then you just start all over again. But in my version you go through several rounds of hide & seek before only a single winner is declared.

You start by choosing a referee, who will not be a winner. The ref is the first person to count to 60 and go out seeking. The first person he finds becomes the seeker. Once the seeker is picked he immediately has 30 seconds to run around and find as many people as he can. If he manages to find everyone in 30 seconds, he wins the game. If not, he is out and the last person he found is the new seeker. Everyone is called out and then given a 60 count to hide again, and the new seeker once more has 30 seconds to find everyone, with the ref monitoring the time and people located. The process repeats until either a seeker finds everyone or one person remains unfound throughout the entire game.

Obviously 60 and 30 seconds are numbers that can be changed to match the size of the area you’re playing in. One of the main downsides though to a game like this is that kids who are out have to sit and wait for the entire game to end.

Still, I found it a pretty neat take on “competitive” hide and seek 😛 Plus the contemplation passes the time when you only have 6 well-behaved kids to watch for 2 hours.

→ No CommentsTags:·