Monday, December 24, 2012

Poker = Calculator?

What the hell, Apple?

Apple's App Store search engine, Chomp, is easily more of a catastrophe than their Maps debacle. At least with Maps, you'd end up in the right city. With the app store, you look for a needle, it gives you a horse butt. On fire.

Seriously, this is the *FIRST RESULT* when you search for POKER games...




Thanks, Apple, for screwing over your developers.

Tuesday, December 27, 2011

AppleDisplayScaleFactor and Lion


(I did this digging around on Darren Abate's behalf, because I didn't know Apple had left this little feature in there until he told me it was gone!)

Apple used to have this cool feature secretly stashed in the Quartz Debug developer tool that let you shrink the screen down. And then any large screen app could easily be run even on a tiny screen. Why? Because that's what Apple was trying to promote at the time--test your apps with icons and art for different resolution screens. High density displays were coming, Apple told us (in 2006). Be ready, they said.

1024x1024 icons. Use PDFs for icons, not PNGs, etc. Cool stuff!

But for those of us with laptops, the Quartz Debug tool that let you change the display resolution also let you scale the resolution *down*, so you could see more on your tiny laptop screen. The ability to actually see what our larger-screened Mac usin' brethren were seeing was a godsend!

Unfortunately, Apple removed this capability way back in Leopard, I think, from Quartz Debug. It only scaled up from that version on.

What I didn't know until today was that they left this feature exposed through the 'defaults' system.

So if you still have Snow Leopard, you can open your Terminal and type this...

defaults write NSGlobalDomain AppleDisplayScaleFactor 0.8

... and any apps you open from that point forward will display smaller. The menu will be smaller, the UI smaller, everything. It's really cool. Here's Safari at 80% resolution. See the tiny window controls? Compare that to the controls of the Terminal window, which I typed the command in before launching Safari. And yes, that's Conjure running in the background.

80% res == 120% Kewl.



Unfortunately again, in Lion, they removed that as well--those High Density screens must be right around the corner. So there's no currently known way to scale the screens down.

The good news is that the capability to scale *up* is still in Quartz Debug. Apple even refers to it in their developer docs...

http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/HiDPIOverview/HiDPIConcepts/HiDPIConcepts.html%23//apple_ref/doc/uid/TP40003409-CH3-SW4

SO... if it's there at all, I'm pretty sure it still works both ways, they just didn't want to make it simple. The big question is, how do we access it, and can it somehow still scale down?

Macbook users like me want to know!

-Chilton

Monday, August 29, 2011

9/11 Memorial and the First Responder Conspiracy



There's a nasty rumor going around that the first responders won't be part of the  9/11 10th anniversary memorial.

And it's true. But it's really not a big deal.

Here's why.

First, the memorial ceremony is for the families of those who died on 9/11. Not those who survived, and not those who helped. The simple reason is space.

The entire 9/11 memorial area is roughly 8 acres.
Of that 8 acres, about 4 acres does not include a structure, hole, or monument of some sort.
Of that 4 acres, about 1 square acre is taken up by memorial trees and their bases.



So there are about 3 usable acres of space on the 9/11 memorial grounds. 

One acre is 4840 square yards.


Three acres is 14,520 square yards.


A single person takes up one square yard when standing, including room to shuffle nervously, which is what people do when they're packed in like that.


1,609 people lost a spouse or partner.
3,051 children lost a parent.


So only 4,660 people would be there for the memorial, right?


4,660


But of those who died, let's say there's one parent of each who would want to be there as well. 


That's 2,819 more people, for a total of 7,479. 


7,479


Keep in mind this is for just these people to be there. We're already over half capacity, and standing room only. 


7,479 invites
7,041 spectators


That's where we are before we include the first responders. 


In the 17 minutes before the second plane hit, over 1,000 NYC first responders were called to duty. If each of those brought one person, we're looking at roughly 2000 more people. So now we're at... 


9,479 invites
5,041 spectators


I don't know how many were there in the hour or two after the second plane. But the number of registered first responders who showed up from out of town in the first 24 hours of 9/11 exceeded 3,000.


If each of those brought a person, well, we wouldn't have room for them. 


15,479 invites
-959 spectators


Okay, back up. Let's get rid of those 'late' first responders. Just with the 'first' first responders, we'd have room for about 5 thousand people there who weren't part of the ceremony. 


Again though, standing room only. Surely, that's enough though, right? If we exclude first responders who showed up after the second plane, we can do this...


9,479 invites
5,041 spectators


In the first day the memorial tickets were for sale online, over 24,000 people tried to buy them. 


We could easily fit everyone there, if we stack them on top of each other, like a giant Jenga puzzle. 


Otherwise, maybe we should have more than one ceremony. And as I understand it, that's the plan. 

Wednesday, August 17, 2011

CryEngine vs. Unity3D



As hinted over a year ago,  of today, CryEngine is now free for non-commercial use. That's fantastic! CryEngine is used in at least 30 commercial games, and most of them look gorgeous. Here are a things to consider if you're looking at this new engine.

Even orphans look happy!

Awesome engine with a proven track record and a name that will get gamers interested in your title. Even the CryEngine demos are beautiful, so if you say your title is based on it, you'll get some bonus play with the gamer community, even before your game ships.



The CryEngine mod community is very active, and this translates into having a solid development platform. Its designers already knew the kinds of things people wanted to build with it. So if hearing that the engine is free excites you, you're the type of person they built this free kit for.

There are a few 'gotchas', of course.UDK and Unity3D are already free for non-commercial use. But unlike the other guys, the CryEngine team hasn't disclosed how much the commercial license will cost.

Also, like UDK, the free CryEngine environment is PC only at this time.
Unity3D can (with a single click) deploy to iPhone, iPod, iPad, Android, Wii, Mac, PC, and Web, and they provide help getting it onto the XBox and PS3 (I have no personal experience with this, so I can't say how extensive that help is).

And UDK can deploy to portable platforms as well...



I assume that if you pony up the dough, the CryEngine guys will let you deploy to other platforms as well. Time will tell. And frankly, if their development environment remains PC only, and their target platforms are only PC, XBox 360 and PS3, that will still be enough for most people.

That said, the Unity3D game engine isn't some doltish slacker. And keep in mind that their engine already runs on iPhones, computers, web browsers, and console game platforms...



How will it affect me personally? Well, let's look at the kinds of stuff I get to work on.


Shot Simulator

It would be fantastic for the Shot Simulator, but since it doesn't deploy to the iPhone, iPad, or Android, that would be a problem. Maybe in the future?

+Poker


I'm honestly not sure if it would be a good match for the VTI Games like +Poker, since all of them are card games. Despite that they use real physics, objects, and rely on Unity's rendering engine, I've never seen a CryEngine based casino game. But who knows.


Project Griffon


It would be *ideal* for Project Griffon (which will be re-released in a few weeks). Griffon is a third-person mech combat / shooter. The lighting and visual effects of CryEngine will be fantastic. But I do all of my development on Macs, so I'd have to use CryEngine's kit by running Windows 7 on my Mac. That's a tall order. So far, UDK doesn't exist on the Mac, which was a show stopper for me. So I'll have to think about it.

I'll be looking into the CryEngine in more detail in the near future. Until then, I can say it honestly looks impressive. And it will be really nice to have them officially in the arena. But Unity's going to be extremely hard for them to compete with. With so many great resources, it's a great time to be a game developer. 

Friday, July 8, 2011

How To Rescue Dead Laptop Data With An External Drive

This falls in the general use category, I think. Over the last few weeks (months?) my MacBook Pro has been falling apart. And then a few days ago, it died. Smoke poured out and everything. I suspected that the hard drive was okay though. So I took it out, and removed the side mounting torx screws. But that does me no good without a way to retrieve the data. So I dressed up, went to Walmart, and found an older model Seagate GoFlex in the giant discount electronics bin next to the discount meats.

After only a few minutes of tinkering, I'd fully rescued all of the data from my old drive. Here's what I did, and you can, too!


First, get out some tools. 
You really only need a pocket knife, but the Leatherman Crunch looks so cool. And I put a screwdriver in there because using a screwdriver instead of a pocket knife will lead to not stripping as many screws. 

Use the pocketknife to gently part the lid from the plastic. It's held in by glue, and all you need to do is wiggle it a bit on each edge to get it apart. 



Or, if you're like me, pry that sucker open like it was filled with Raspberry Jelly!



Alright, see that cable that you just accidentally unplugged? (Unplug it if you didn't) 

Remember that. you'll plug it back in later. That takes power from the USB connection and lights up that emblem on the front of the case.



Now use your pocket knife to pry the rear side out. 
It's not hard. It's held in by friction on those little rubber nubs on the side of the drive. If you flip it upside down and shake it, it will fall out. Note that shaking anything computer related is not really advisable. Just pry it out, slacker. 


Remove the black nubs from the screws. They just fall off, usually. They'll roll under stuff and hide if you're not careful. You'll want them later, when you put all this back in the shell. So put them somewhere so you'll be able to put them back on, in a few minutes. 
Then use a screwdriver to remove the screws holding the drive in the metal shell.


Now remove the metal tape from the sides of the drive, then remove the drive from the shell. 
It just slides up and out, with the connector port poking through the shell.  


And as a final step, remove the connector from the front of the built-in drive. 

Now plug that connector that onto the old drive from your laptop, and follow these steps in reverse, to put your old drive in the portable drive's case. 

When you're done, you'll have your old files safely stored in a portable external drive case!









Wednesday, June 8, 2011

Conjure Runs in Lion

I have official, visual confirmation that Conjure runs in Lion with no problems.


So there. 

Sunday, June 5, 2011

AeroConjure

I'm not selling out. But I've been asked a few times if that's really the Aero interface used for the help screen in Conjure. And the short answer is no, Aero is not an interface option on the Mac. But it's fairly easy to implement in an app.



That said, I do like the idea behind Aero. As humans, we are used to our eyes 'focusing' on things we're interested in. So this is definitely an interesting user interface concept.

I can see this being more useful for modal dialogs than other things, but I might add it as a feature for the Conjure desktop in 'focus' mode.