Vista Symlinks Revisited…

It’s not often that something we classify as a “really good” feature turns out to be a bit of a sham, but unfortunately, that’s the case with Vista’s symlinks. Just a couple of days ago, symlinks were our “big Vista feature of the week,” but now, we’re not so sure.

First, a correction. Symlinks haven’t really been added to Windows Vista. Sure, you can use the mklink command to get Vista to intercept calls made to certain paths and have them silently and invisibly replaced with whatever real paths you previously specified, just like Symlinks are supposed to be – but that’s about it. Vista’s symlinks aren’t much better than junctions in 2k/XP that don’t take up extra hard drive space, and indeed are quite a bit less compatible.

Continue reading

How To: apache_response_headers() on IIS

Along with the release of our request_uri for IIS yesterday, we have another useful tip for a second function commonly found in WordPress plugins and other PHP redistributable scripts. apache_response_headers is used to get a list of all the headers sent out by a page, in the format of an associative array.

IIS doesn’t use this function, and before PHP5, there was no way to properly emulate its behavior. But on PHP5, it’s nothing too difficult. Without further ado, here’s the code:

Continue reading

100% Apache-Compliant REQUEST_URI for IIS and Windows!

Ever since moving NeoSmart Technologies to a Windows server, we’ve had one headache after the other dealing with various PHP scripts that included references to $_SERVER["REQUEST_URI"], and unfortunately, none of the “workarounds” or hacks provided on the internet work. Some of them are for Apache on Windows, and others work most of the time, but break the minute you introduce url rewriting or launch scripts as the default files in a directory.

REQUEST_URI for Windows is a must-install for absolutely anyone that uses IIS & PHP, no matter what software you run. It’s free, it’s one-hundred percent compatible with Apache’s own REQUEST_URI, and best of all, it’s guaranteed to work no matter what. REQUEST_URI for Windows gets whatever the user entered into the address bar – period. Nothing more, nothing less. And of course, you never have to modify a single script to make them work, this does all the work for you.

Continue reading

Windows Longhorn/IE7 Beta Program Rewards!

Windows Vista RTM’d a week ago, and now, the beta testers have gotten their swag. If you (actively) participated in the Longhorn Beta program, this is your chance to get a free (as in free speech beer) Windows Vista Business or Ultimate Edition product key (legally, and it activates!).

Continue reading

Comment Subscription Fixed

A while back we had to disable subscribing to comments & receiving notification to subscribed posts, but we’re glad to let you know that it’s working again. It’s one of the sacrifices one makes in running the latest SVN software right out of the oven compiler errr opcode or wherever it is that PHP comes from.

But the bad news (yes, there’s always bad news, you should know that by now!) is, RSS feeds for individual posts aren’t working the way they’re supposed to. But we’re working on that… We’ll have that fixed soon enough!

WordPress, WP-Hackers, RSS Feeds, and More

At NeoSmart, we’re all about WordPress. Hands-down, it’s the most powerful, most flexible, and certainly most popular blogging platform available, and it’s free. We do what we can to help (which isn’t much, really), but we’re planning on getting a bit more “involved,” so to speak. Besides the couple of (hopefully useful) WordPress plugins that’re in the making, we also have several WordPress-centric articles coming up, and we hope you’ll enjoy them.

For now, here’s a quick one: Did you ever hear of “WP-Hackers?”
Well, those guys are the 1337 WordPress users, and they know all about WP, and what makes it tick. They have a mailing list you can subscribe to if you want to participate in all the fun, but what if you don’t want to (or can’t) join in the discussion? And since you don’t require a bi-directional form of communication, why use clunky email anyway?

We took the WP-Hackers mailing list archives, added a RSS feed to ‘em, and churned it through FeedBurner, the result is the WP-Hackers Live Archives – where you can find out what WP is all about and pick up all the tricks of the trade without divulging your email, filling up your inbox quota, or worrying about privacy. Just click and subscribe!

Continue reading

Why not Embedded? ATM’s Running XP Professional…

Today while on my way back I stopped at the (Cairo Amman) bank to withdraw some money. As luck would have it, the ATM wasn’t working – again. This time, I happened to be there when it suddenly BSOD’d and began a reboot cycle. Obviously, to BSOD it needs to run Windows, and moments later, that was confirmed. But that’s not the story here – believe it or not, most ATMs run Windows nowadays, and there’s absoloutely nothing wrong with that.

The problem is, they’re all running Windows XP Professional. Of course if the only alternative was Windows XP Home Edition, we’d understand; but there’s a reason why Microsoft developed Windows XP Embedded. It’s not just about performance, size, & reliability, but it’s also about speed, adaptability, cost, and ease-of-use. Windows XP Embedded is several times cheaper to license and deploy across a wide range of computers (err, ATM machines) than Windows XP, especially Professional Edition. What’s more, it doesn’t require as much power, and doesn’t have as much bloat.

I had the (mis)fortune of seeing the PC/ATM boot. They’re using an IBM with Phoenix Bios (from the 60s) and 512 MB SDRAM. Forget about speed, just think about it in terms of cash. It must be more expensive to buy thousands of these machines new than it is to purchase a minimal-device capable of supporting the stripped-down XP EE – which is all you really need to run an ATM. You most certainly don’t need Internet Explorer!

Continue reading

The New & Improved Google Translate

Everyone’s favorite search-engine/social-networking multi-billion dollar corporation is at it again. Following the addition of several new features to the Gmail platform earlier this week, Google has also revamped certain portions of its language tools – in beta of course. It’s not available for all languages, nor is it in a place where most casual users would find it, but Google’s newest feature makes online translation of websites and documents a bit more enjoyable.

The trick is – use the Arabic. About a month ago, Google launched its brand-new (beta) English-to-Arabic and Arabic-to-English translation service, making it the first free online translation tool that actually gives decent results… of sorts. At any rate, that’s another story for another day; right now, it’s the (“Web 2.0”) technology we care about: Dynamic switching between source and destination languages on a translated webpage.

For instance, here’s our “WordPress-in-the-Name Issues” story from a couple of weeks ago in Arabic; it’s ideal because of it’s more “natural” language and glaring lack of code boxes, technospeak, and general all-around esoteric content. If you understand Arabic – ignore the grammar, it’s really bad. If you don’t, that’s ok, it doesn’t matter.

Continue reading

The NeoSmart Image Gallery…

The best thing about having our own server is that we don’t have to worry about the load. That means we can use resource & bandwidth hungry scripts like our image gallery without a fear in the world. To celebrate, we’ve taken this opportunity to completely redo our image gallery, and have filled in all the blanks. You’ll find images of all sorts and kinds there now, but we’d like to direct your attention to one gallery (and it’s brethren!) in particular: Windows Vista.

Besides the huge build gallery, there’s also, for the first time, every single RTM Vista wallpaper, all in hi-res quality, available in both widescreen and standard format. The “ambience,” “paintings,” “Vistas,” and “textures” categories are all there, in pristine digital goodiness, awaiting your downloads! Drive our hamsters mad, work them like they’ve never worked before; what else did we get them for!?

[digg]

Server Move Complete!

We’re on our new server! Thank you Lunarpages!

Well, for starters, if you can see this that means we’ve done everything right. Our server says we did anyway, but we just like to double-check and be sure. If you’re interested, our new IP address is 209.200.246.14x (depending on which server responds), and you can test it by issuing a ping command or via nslookup. If you’re trying to get your friend’s PC to access this site, here’s how we did it:

Continue reading