Archive for November 4th, 2007

Filed under: , ,

Humans are a weird species. Check this out: NEC has just announced its wideband wearable antenna, which essentially turns a a person (wearing a special suit) into a high-performance mobile antenna. The prototype apparently works in either open space or when using the human body for conduction. The plan is to use it for digital terrestrial broadcasts, so presumably for live TV broadcasts to your cell phone?

Seriously, though. You don’t see goats or chimpanzees pulling these sorts of shenanigans.

At least we know what we’re dress up as for Halloween next year. (A human antenna).

From Engadget


Related Links:

 

Permalink | Email this | Linking Blogs | Comments

Filed under: , , ,

fried clamsNow here’s something I just can’t do: bring myself to think about fried clams on November 1. November is the time for apples and Thanksgiving and football. Fried clams belong in July or August, the months of humidity, beaches, and sides of cole slaw.

But today is National Deep Fried Clams Day (not really sure why the word “deep” has to be in there). Confuse your family tonight by insisting they go to a seafood place and order fried clams and nothing else. Or use one of these recipes: this one from Gourmet uses clam strips, while this one from RecipeZaar uses the bellies too.

Permalink | Email this | Comments

Filed under: , , , ,

reese's cupcake
It’s been a long day here at Slashfood, though with such a sugar high off all the candy we threw at you, it probably seemed to go by fairly quickly! To round out our day of candy in honor of Halloween, let’s have a dessert made in the spirit of one of many people’s favorite candy, the Reese’s Peanut Butter Cup — chocolate and peanut butter in one.

To make this cupcake, I baked chocolate cupcakes. To be quite honest, whatever chocolate cake recipe that works for you, works for me because in the end, the most crucial part of the cupcake is the Fluffy Peanut Butter Frosting. I’ve made peanut butter based frosting before, but I used a slightly different recipe this time

Combine ½ c. softened butter with 1 c. creamy peanut butter (if you like crunchy, use crunchy, which is what I’ve done before). Add 2 c. powdered sugar (sifted after measuring), and up to ¼ c. heavy cream until you get the consistency you want.

Frost your cupcakes, then top with all those leftover Reese’s Peanut Butter Cups!

Permalink | Email this | Comments

Filed under: ,

Are you hankering for a reason to turn Resistance: Fall o f Man back on? It seems the good folk over at Insomniac, after taking a short reprieve from the completed Ratchet and Clank, decided to issue a patch for everyone’s favorite FPS launch title. We’ll describe the update below:

  • Ability to take screenshots in game using a USB keyboard.
  • Weapon balance changes and new round balancing options.
  • Dual Shock 3 support added for online AND single player.
  • Password protected custom games.
  • Numerous bug fixes.

Seems the DualShock 3 is starting to pop up in most of the games, which is always a good sign. Weapon balancing is a nice touch and taking screenshots is never a bad idea. It’s very cool to see that developers are continuing support of their titles this generation. This update should be out now, so go check it out!

Read | Permalink | Email this | Linking Blogs | Comments

DM/Flynet

Christina Aguilera was out and about in Los Angeles last weekend– doing more baby shopping? — looking cute and comfortable. Like Jennifer Lopez and Halle Berry, Christina is steering clear from maternity clothes — meaning we can all wear her cute Juicy Couture striped dress and trendy Christian Louboutin red flats! So, we found Christina’s complete look for you — and for way less.

Get Christina’s Look:
The Juicy Couture stripe dress, $198, will be available at saks.com starting November 30th. In the meantime, try this Lux striped babydoll dress, $35, at urbanoutfitters.com.

Christina’s Christian Louboutin red patent ballet flats, $510, at Christian Louboutin boutiques or try these Steve Madden Keepsake Ballet flats, $70, at piperlime.com to get the look.

Get her chic Tom Ford Whitney Sunglasses, $320, shopintuition.com, or save a ton with these oversized rims, $5, forever21.com

Save on Christina’s Balenciaga motorcycle bag with this cognac replica, $143, 7starhandbags.com, and finish off the look with these large gold hoop earrings, $38, shopkitson.com

Filed under:

Yep, Guitar Hero 3 is officially on sale and everyone and their tattoed mother’s picked up a copy (along with the new axes that accompany it). Oh sure, GH2 players making the jump to 3 won’t feel like any less like any less of a nerd trying to ape the genuinely cool (that is, if you actually still think The Scorpions are cool), but now your guitar is collapsible and, if you’re lucky, wireless. Rock on, Bill, Ted. Video after the break.

P.S. -By the way, if you’re planning on picking yours up at your local Wally world, buyer beware: they’re selling GH3 with the old school guitars from GH2. We’re not sure if this is going on elsewhere, but you should definitely keep an eye out.

Continue reading Guitar Hero 3 goes on sale, gets unboxed, melts countless faces

 

Permalink | Email this | Comments

Office Depot Featured Gadget: Xbox 360 Platinum System Packs the power to bring games to life!

Filed under:

A leaked memo from Gamestop shows that the company intends to stop selling “product replacement plans” on the Xbox 360, probably a reaction to the high failure rate of the console and its notorious “red rings of death” issue. We’re still seeing the option for PRP included on Xbox 360s purchased from Gamestop’s online store, so this isn’t a full confirmation just yet. Ultimately, with the warranty extended to three years for consoles exhibiting this problem, the lack of a PRP probably won’t be a significant issue for most gamers: just one less reason to shop at Gamestop.

[Thanks, Alvin]

 

Read | Permalink | Email this | Comments

Office Depot Featured Gadget: Xbox 360 Platinum System Packs the power to bring games to life!

Filed under:

For all the innovation that the “new-gen” of consoles have brought us, there’s one thing that will apparently never change: ridiculously over-priced accessories. Giving the wireless Guitar Hero III controller a feature it should have had from the get go is the $19.99 single recharge kit, which removes the need to use and dispose of single-use batteries. This continues on from the precedent that Microsoft set with its wireless controller, which only comes bundled with a case to stick a couple of AA batteries inside. You can grudgingly pick up this necessary but over-priced accessory on October 31st from Red Octane’s store.

 

Read | Permalink | Email this | Comments

Office Depot Featured Gadget: Xbox 360 Platinum System Packs the power to bring games to life!

So I hope everyone in the US has survived the Daylight Savings Time crisis of 2007! I don’t know about you but i didn’t even feel it :)

I was browsing the forums recently, as i typically do when I’m looking for a topic to blog on, and I came across a post by forumposters entitled “Clean and descriptive url’s“. In this post forumposters asks:

“What have you fellow CF developers done to make your URLs look better? I’d like to see many examples and options if you would all be so kind to share”

I thought this was a good topic for me since I have a good bit of experience both historically and recently with this very issue.

For the longest time search engines would treat URLS with query strings aka dynamic URLs, everything after the question mark (?) in the URL, differently. Mostly pages which had these query strings would be ranked lower than a page which didn’t. So if you had the URL:

http://www.example.com/books/index.cfm?category=coldfusion&author=forta

it would rank lower in search results versus a URL formatted like so:

http://www.example.com/books/coldfusion/forta/

So it’s been a pretty big tasks for developers to try and get their URLs to be “clean”, meaning they wanted to remove the question marks (?), ampersands (&), and equal signs (=) from the mixture. This would result in what is commonly known as a Search Engine Friendly URL and allow your site to achieve better rankings. A quick tangent here; Google has said that it will better index dynamic URLs so the issue of search engine friendly URLs is fading but now it’s turning more into a user friendly URL issue. Meaning developers, customers and users want URLs others users can understand, remember and share easier then those longer dynamic URLs. All in all the idea of a friendly URL is much more accepted.

So what are your options when it comes to dealing with creating friendly URLs? There thankfully are a lot of options to choose from depending on your setup, time, and abilities. The most widely accepted method to deal with turning the dynamic URL to a friendly URL is to use a rewrite module. This rewrite module will do the heavy lifting of translating a friendly URL into a dynamic URL so your code can operate as expected. so using our example above a rewrite module would turn

http://www.example.com/books/coldfusion/forta/

into

http://www.example.com/books/index.cfm?category=coldfusion&author=forta

Our users would only see the friendly URL but the server and our code would see the dynamic URL and all the associated URL variables would be created for our use as well.

Depending on your web server you might already have a rewrite module installed and ready to use. If you are running ColdFusion on Apache then you have the popular
mod_rewrite at your disposal for those on IIS it’s a bit more work as IIS doesn’t support rewriting out of the box. Thankfully there are options out there though which make IIS just as cool as Apache for both a fee and for free. The fee option I typically recommend is IsapiRewrite by Helicon. It’s an ISAPI plug-in which acts very similar to mod_rewrite, in fact version 3 uses the same exact rules! They have a free version for 1 site or for $99 you can get a license for unlimited IIS sites. If you are on a budget there is also Ionic’s ISAPI Rewrite Filter which is totally free and pretty robust as well.

I’m not going to go into any real details about these products since they each have their own little ways about them but most rewrite modules use some form of Regular Expressions to translate a URL from one form to another. Most of the translations you’ll probably need to do can easily be written with just a basic knowledge of regular expressions.

But what if you don’t have Apache, and you cannot install a plug-in to IIS to get this great rewrite capabilities? Are you up the creek without a paddle? Left to suffer because of some corporate politics? Not at all! Before I go down this path let me just say that in my experience the rewrite modules are much more robust and will typically out perform anything we discuss here. However saying that it’s not uncommon to see a programmatic way for dealing with the friendly URL issue.

One option which isn’t widely accepted and typically frowned upon in the developer world is the 404 method. This is where you setup a 404 page for your site and using some coding practice (like switch case statements) you’d check to see if you had a match and then include the proper code to make it work. I’m not gong to go down this path because I don’t recommend it for a lot of reasons. The biggest reason is that it really messes up the statistics for your site since everything is reported as a 404 error in the logs. It’s my understanding that many search engines are removing 404 pages from their indexs, but hey who needs the search engines, yea right try explaining that to a customer!

The other option is to use what I call a gateway script. This gateway script allows you to run everything from a central place and using some fancy coding you can make those friendly URLs without getting a bunch of 404 errors. In fact I’m sure you’ve already seen this in practice in a few of the ColdFusion blogs you read! Most users who use the wonderful BlogCFC have had friendly URLs for a while using this method. In a BlogCFC application the URLs typically look like:

http://ray.camdenfamily.com/index.cfm/2007/4/3/Did-you-know-about-the-Log-Viewer-Filter

In the URL above Ray has the gateway script running in the root index.cfm in his site. Then using a bit of CF code he’s able to extract the “/2007/4/3/Did-you-know-about-the-Log-Viewer-Filter” and do stuff with it. The benefits of using the gateway script is that index.cfm actually exists on the server so your web server doesn’t return it as a 404 error AND it also records the full page as unique URL so you can still see what pages your users are visiting etc. So how did he do this? Let’s take a peak at his code:



/**
 * Parses my SES format. Demands /YYYY/MMMM/TITLE or /YYYY/MMMM/DDDD/TITLE
 * One line from MikeD
 *
 * @author Raymond Camden (ray@camdenfamily.com)
 * @version 1, June 23, 2005
 */
function parseMySES() {
	//line below from Mike D.
	var urlVars=reReplaceNoCase(trim(cgi.path_info), '.+.cfm/? *', '');
	var r = structNew();
	var theLen = listLen(urlVars,"/");

	if(len(urlVars) is 0 or urlvars is "/") return r;

	//handles categories
	if(theLen is 1) {
			urlVars = replace(urlVars, "/","");
			r.categoryName = urlVars;
			return r;
	}

	r.year = listFirst(urlVars,"/");
	if(theLen gte 2) r.month = listGetAt(urlVars,2,"/");
	if(theLen gte 3) r.day = listGetAt(urlVars,3,"/");
	if(theLen gte 4) r.title = listLast(urlVars, "/");
	return r;
}

The first thing you’ll notice is that Ray’s blog and function require your URLs to be in a specific format. This is a common practice when using a gateway script, but with a little work and a bit more code you can make your script and URLs be more versatile.

The basics of the function above is to take in the CGI.PATH_INFO variable returned by ColdFusion and parse out everything after the “.cfm” and use the forward slash “/” as the delimiter. The  CGI.PATH_INFO variable returns extra path information after a script name. So in our example above from Ray’s Blog this would be “/2007/4/3/Did-you-know-about-the-Log-Viewer-Filter” which is everything after the index.cfm. Now in versions prior to ColdFusion 7 the CGI.PATH_INFO variable would actually return the script name AND extra path information so it wold look something like so “index.cfm/2007/4/3/Did-you-know-about-the-Log-Viewer-Filter”. Ray handles this by stripping out the .cfm and everything in front of it before parsing the string as seen by this line of code:

var urlVars=reReplaceNoCase(trim(cgi.path_info), '.+.cfm/? *', '');

Once he has a “clean” set of vars he can then treat it as a list using the forward slash “/” as the delimiter. You can see from the rest of his script above he just does a simple list length check to determine which variables can be setup and used.

Using the CGI.PATH_INFO variable is a great way to create friendly looking URLs that any search engine and most people will enjoy. Now there are other “things” you can do to help remove the .cfm file extension but these typically require a bit more work from the web server side of the house and aren’t worth the extra effort. If you are in need of that “look” I’d recommend going with one of the modules mentioned above.

So there you have it, a few options to get you started down the path of friendlier URLs.

This article provided by sitepoint.com.

Filed under: , , , ,

Life used to be much easier. I remember a time when iconic figures would only have two biopics being made about them. Now it’s a crazier era, in which a person may have any number of films being made about him or her. Poor Columbus; poor Capote; poor Harvey Milk. I guess none of them were good enough for three biopics. Not like Salvador Dalí, who I already wrote about today (and he seems to have a lot more than three in the works), or Pablo Escobar. According to the New York Times, there’s more than just the Joe Carnahan and the Oliver Stone/Antoine Fuqua versions of the drug kingpin’s story. Joining them at the American Film Market is another pic, which is to be helmed by Resident Evil: Apocalypse director Alexander Witt. Though he only has one credit to his name as the big man in charge, and it’s something as crappy as RE:A, Witt is a true veteran of the industry, having worked as second unit director and DP for many of Jan De Bont and Ridley Scott’s films (including this week’s new release, American Gangster). Plus, he shot footage for Casino Royale, The Bourne Identity and Pirates of the Caribbean: The Curse of the Black Pearl. He’s even worked for Spielberg and Altman. So, he has to have learned something. Right?

Witt’s Escobar project is simply titled Escobar, and is based on original research rather than a book. It has been scripted by Richard Rionda Del Castro (Sid Furie’s Partners in Action) and Greg Mellott (Sid Furie’s Direct Action, The Rage and American Soldiers), so it’s probably fair to assume this one will be more of a low-budget-action-type depiction. Still, Del Castro claims the film has a budget between $22 million and $28 million; he also says his is further into production than the others. We’ll see — let the race to theaters, and our drug-dealer-loving hearts, begin!

Permalink | Email this | Comments

Close
E-mail It