Tuesday, November 25, 2008

Outlook Spelling Troubleshooting

Client:
says his spell checker when doing an email in Outlook isnt catching mispelled items? any clues?


Me:
Depends on what he means:

- "It used to make the little red squiggles under a misspelled word like in Word"
- It'll only do that if Word is the e-mail editor. "Tools" -> "Options" -> "Mail Format" -> "Use Microsoft Office Word to edit e-mail messages". Note - I'm not a fan of this personally... It makes e-mail slower ;)

- "It doesn't automagically check spelling when I send the message"
- "Tools" -> "Options" -> "Spelling" -> "Always check spelling before sending"

- "It's not catching this word..."
- "Tools" -> "Options" -> "Spelling" -> "Edit" under 'Edit custom dictionary'

- "It's just flat out not working!"
- Something else is broken ;)

Labels: ,

Friday, November 21, 2008

XP's Offline Files...

Ever have problems with XP's offline file functionality? I know I have. It always seems to take forever, it's slow to decide when you're offline (making apps lock 'till you're offline), it's slow to realize you're back online (I always ended up just forcing a sync), and it doesn't play nice with 3rd party VPNs. Regarding that last note, I use OpenVPN (http://www.openvpn.net ; http://www.openvpn.se). It's been a while since I looked, but there may be some configuration options you can use to call a local batch file on connecting/disconnecting where you can then call 'mobsync' with some command line options, but..... That's just too much hassle ;)

Instead, I've been liking a 3rd party product for syncing my data. It's called GoodSync. I set up a few jobs -- one for each separate location, and tell each to run at startup and every 2 hours. Seems to do the job quite nicely.

Labels:

Thursday, November 20, 2008

A quick Exchange 2007 rant

Ardent and I were chatting yesterday and as I had just finished trying to figure out some recipient address policies, I ranted a little... It turned out funny, so I figured I'd share:

(11:13:08 PM) Me: now all you need to do is explain to my why exchange 2007's moved to a more scripted approach vs gui
(11:13:22 PM) ardent: for what
(11:13:31 PM) Me: it's like they decided to do everything via scripting, then made the [limited] gui after the fact
(11:13:34 PM) Me: everything
(11:13:44 PM) ardent: because real coders hate gui
(11:13:48 PM) ardent: its more 'stable'
(11:13:49 PM) ardent: :-)
(11:14:16 PM) Me: take recipient address policies -- in 2k3, you had a text field to type in what you wanted an address template to be
(11:14:40 PM) Me: in 2007, you've got about 6 radio boxes to choose from. If that's not what you want, you've gotta use the undocumented powershell commands
(11:14:55 PM) Me: and real coders don't administer exchange ;)
(11:15:01 PM) ardent: hahahaha

In case you're wondering how I ended up setting an address template to get .@domain.tld, via powershell I ran "get-emailaddresspolicy fl". That showed me where the not quite right template that I had added via the gui was. After trying a couple things and getting errors, the final command I ran to update the default policy was 'Set-EmailAddressPolicy -Identity "Default Policy" -EnabledPrimarySMTPAddressTemplate %1g.%s@domain.tld'

Labels: ,

Monday, November 17, 2008

Rise of Nations Military Notes (with some sporadic other notes)

This page is mostly written to talk about how I deal with military in Rise of Nations / Thrones and Patriots. As you'll see, most everything about military stuff in Rise of Nations comes down to paper, rock, scissors for me. Especially ground and sea battles. Since the majority of my military engagements are ground battles, I'm gonna spend the most time talking about those, the units involved, and the groupings.

I should note that I don't play against human opponents. If I did, I'd surely die ;) Besides, I probably won't do it 'till ardent and I can beat six 'toughest' opponents. When we can, I'll know I rock... And I probably won't be using these strategies anymore ;)

I guess I need to first talk a little about where I place military buildings and when... Assuming I haven't been attacked yet (I know -- I'm _so_ due to get killed up front), I generally don't build military buildings 'till around the Medieval Age (III). That's when the Terra Cotta Army (TCA) becomes available anyway ;) At that point, I'll build a barracks, two sets of stables, a siege factory, and TCA if I can afford it. I'll build all of those buildings in my forward most city. I build out there so that reinforcements get to the battle quicker ;) I build 'em all in the same city so I can see the city name in the information panel in case I build more military buildings later.

"Information panel?" The little area in the bottom right that shows a city's economic radius, hit points, etc... You'll note that buildings will say their city name (assuming they're in a city's economic radius) in the title area of that box -- ie "Market -- Korea". With that in mind, if my military city is Korea, I'll assign my first stable there to control group F7. If I want to access the other stable there, I hit "F7, s". That'll select that first stable, then go to my next stable on the map. I should see "Stable -- Korea" in the information panel. If I've built stables in other cities, I'll see their name in the information panel and know it wasn't the stable I was looking for. Maybe I could put my alternate stables (and barracks if I don't get TCA) in a second city, but I'd probably need to rename that 2nd city to remember what the building's role is ;)

Speaking of control groups, if you didn't know, you can assign buildings, units, or even an area on the map to what I call "control groups". Select what you want to assign, and while holding 'Ctrl', press 1-0 or F1-F8. F9-F12 apparently have other functions defined within the game, so they're not used for control groups (I wonder if you can change that...).

Not only are control groups useful for selecting a particular group of units, selecting a building, or going to an area on the map, but they can be used as a destination for rally points or can be 'double-clicked' to center your map on the subject. If you set a building's rally point to be a control group, units built from that building join all the groups that the rally point'd unit is a member of. The produced unit will also walk a straight line to the area of the map that the control group is currently located.


Here's my normal control group layout:
  • 1 - Light Infantry
  • 2 - Heavy Infantry
  • 3 - Ranged Calvary
  • 4 - Heavy Calvary
  • 5 - Support
  • 6 - Main Army
  • 7 - Helicopters
  • 8 - Main Navy
  • 9 - Silo 1
  • 0 - Silo 2
  • F1 - Capitol (default)
  • F2 - First Library
  • F3 - First Market
  • F4 - University
  • F5 - First Dock
  • F6 - Current Main Barracks
  • F7 - Current Main Stable
  • F8 - Current Main Factory




Expanded Notes About My Control Groups

Group 1 - Light Infantry
I'll pop out a couple of these up front and assign them to control group 1. Once I hit the Medieval age and can afford it, I'll build the Terra Cotta Army and assign its rally point to this group. If someone else already grabbed TCA, I'll build a second barracks in my military city and assign that barracks' rally point to the group.

I'll try to keep at least six of these. If my TCA runs out of control, I've ended up with so many of these guys that groupings start not working correctly... If that's the case, I set TCA's rally point to some semi-forward area on the map and kill off a few guys from the group (and re-assign group 6).

Amount:
6 - 25 (TCA)
6 - 10

Primary Uses (paper, rock, scissors):
- Ranged Calvary

Secondary uses (ie - I use someone else, but if there's more work to go around, I'll use these guys too):
- Ranged Infantry (heavy calvary is the primary killer of ranged infantry)
- Heavy Infantry (ranged calvary is primary)

Note that since light/ranged infantry is good at beating ranged calvary, you shouldn't try to use ranged calvary to beat light/ranged infantry. That's why I call it paper, rock, scissors ;)

Another note here is that according to their description, you should use light infantry to kill ranged infantry. If you click on an enemy unit, it'll tell you what two units should be used to kill the selected unit type. Light calvary's in that list for ranged infantry, and barring a little bit less speed, heavy calvary does the job nicely ;)

Group 2 - Heavy Infantry
Amount:
6 - 10 (early)
4 - 8 (modern age+)

Primary Uses:
- Heavy Calvary
- Light Calvary

Secondary uses:
- Buildings (artillery is primary)

Group 3 - Ranged Calvary
Amount:
4 - 8

Primary Uses:
- Heavy Infantry
- Scouts
- Supply Wagons
- Generals

Secondary uses:
- None that I remember ;)

Group 4 - Heavy Calvary
Amount:
6 - 10

Primary Uses:
- Light Infantry
- Ranged Infantry

Secondary uses:
- Artillery (Spies are primary)

Group 5 - Support
This is the group that has my generals (1 or 2), artillery (3-6), supply wagons (2), spies (3-10), scouts (2-4), and machine guns (2-4).

Group 6 - Main Army
This group is a combination of groups 1-5 (ie - I press 1, shift+2, shift+3, shift+4, shift+5, ctrl+6).

Group 7 - Helicopters
Amount:
5 - 10

Primary Uses:
- Heavy Calvary

Secondary uses:
- Submarines (Light Ships are primary)

Group 8 - Navy
For the most part, just know this - light ships beat fire ships, fire ships beat heavy ships, and heavy ships beat light ships.

Until fire ships get upgraded to subs, I try to keep twice as many fire ships as either light or heavy's. IE - 5 heavy ships, 5 light ships, and 10 fire ships. Once I get subs, that number goes down to about equal.

Fire ships / subs do good against other fire ships / subs, but it's generally a 1:1 trade. If you shoot first with your sub, you'll win, but that applies in reverse too ;) Fire ships have an explosion radius, so they damage adjacent ships when they blow up, so they _could_ have a better ratio if the enemy's stupid and you're awesome and manuevering ;)

Of course, there's also carriers and bombardment ships... I mostly use those for ground attacks though... A pair of each is generally sufficient.

Group 9 and 0 - Silo's
I like having these assigned to hot keys so I can send a couple missles to a bunker quick. 9, right click target, 0, right click target, 9, hotkey to build new missle (g or v... I don't remember off hand), 0, hotkey for build new missle.
Works even better when you have that "units produced instantly" technology.

Group F1 - Capitol / First City
This key is defaulted to your first city - assuming you didn't start nomad style ;) I use this key early in the game to pop out citizens (hotkey - 'v') as needed.

Group F2 - Library
I'll assing F2 to my first library so I can use hotkeys to research. I've been using the little bar up top lately though...

Group F3 - Market
I guess I don't really need this anymore, as I can just use the 'n' hotkey to cycle between markets.

Group F4 - University
I'll usually assign this to the university that still needs filling up. I fill 'em up one at a time, so this is the 'working' one.

As with F3, I don't _really_ need this, as I can just hit the 'u' hotkey to cycle between 'em 'till I see an empty one and then hit 'v'. In fact, that's probably a better option... If I have three empty universities, it's better to have each producing one scholar than one producing three...

Group F5 - Dock
I build a dock ASAP and use this hotkey to go fishing! F5, left click a flashing spot on the mini-map, right click the fish/whale to set the rally point, 't' (hotkey for building a fisherman).
Later in the game if I need a navy, I'll build a second dock (hopefully in a city's economic radius as to have it named) and do the "F5, d" series of hotkeys to get to it. That dock's rally point will be set on a unit in control group 8.

Group F6 - Current Main Barracks
Rally point set to group 2 (heavy infantry). If I don't have TCA, I'll build a second barracks and have its rally point set to group 1 (light infantry).

Group F7 - Current Main Stable
Rally point set to group 4 (heavy calvary). Alternate stable's rally point set on group 3 (ranged calvary).

Group F8 - Current Main Factory
Rally point set to group 5.

Other Notes:

  • Ranged InfantryYou'll probably note that I don't build ranged infantry. There's two main reasons imho. Their main purpose of killing heavy infantry is filled by ranged calvary, and their advancement tree merges with light infantry in the enlightenment age (V). I have been known to build a couple in a pinch before though... You'll notice that the majority of a computer's rushing army is heavy infantry. If I get rushed and haven't really started on my army yet, I'll rush to get a barracks and stable in a nearby city and pop a few of these guys out parallel to some ranged calvary and heavy calvary. When the battle's over, any remaining ranged calvary become control group 1.

  • Light CalvaryLike ranged infantry, their role is covered by someone else - heavy calvary.

  • BribingSpies are teh bomb! With my control groups though, there's a little extra work involved. For example, if I bribe a knight, the process I go through is -- select it, press shift+4 (to select it plus group 4), press ctrl+4 (to thus assign the new selection including the new knight to group 4), press shift+6 (to expand the selection (including the new knight) to my whole army), and finally press ctrl+6. Sometimes I do that process after my army's moved on and I see some apparently bribed units left behind ;)

Labels: ,

Thursday, November 13, 2008

Linksys troubleshooting

One day I plan on writing up a quick set of instructions on how to set up a Linksys WRT54g Pro IT style. It's easy enough to set one up without needing to run their weird CD, and quite possibly leaves you in a better situation.

With the idea of documentation in mind, when a client e-mailed me this morning about their connection issue at home using the above setup, I wrote a horrendously long set of troubleshooting steps. It's really only four quick things to check, but I tried to write it fairly low-level / in-depth. Of course, it was also written pretty quick, so it's not the best of documentation, but hey -- it's a start ;)

The setup (iirc) is using the linksys as a router/gw for the client's home network.

-------

Well, I guess there's a few things you could try / check....

1st -- verify how things are plugged into the Linksys router. Make sure that there's a cable from the 'internet' port of the Linksys to the cable modem. If everything's wireless, that should be the only network cable. If your PC in your room is connected via wired, it should be plugged into one of the 4 'LAN' ports on the Linksys.


2nd -- ping a couple key things.... "Start" -> "Run" -> type 'cmd' -> "OK". In the black dos window that comes up, type "ipconfig" and hit enter. That'll give you something like:

-------------------
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : carolina.rr.com
IP Address. . . . . . . . . . . . : 192.168.5.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1
-------------------

You may see something like "Media State . . . . . . . . . . . : Media disconnected" for one or two adapters. That's fine. As long as you see one that has a default gateway set. The "Default Gateway" in the example above is "192.168.5.1". I'd want to make sure I can ping that gw (gateway). In that same dos window, type "ping 192.168.5.1" (replacing "192.168.5.1" with whatever your gateway is). You should get four responses that look one of two ways:

Reply from 192.168.5.1: bytes=32 time<1ms TTL=64

-- or --

Request timed out.

If it's the latter, there's something wrong with the Linksys.


3rd -- Assuming you can ping the Linksys, open a web browser and in the address bar, type the gateway address from above (192.168.5.1 in the example). It should prompt you for a username and password. The username is 'admin', and if it's default, the password is either 'admin' or 'password' (I'm breaking my rule of not e-mailing passwords, but it's a default password, so crackers could just look it up if they wanted to -- and they'd have to be on your internal network to get to that management interface). If it's not the default password, try a few of yours. Once you're in (assuming we found the password), go to the "Status" page (far right on the top row of menu items). It should note the IP address, subnet mask, and default gateway that is assigned to the Linksys. Note that default gateway. That's the next address we want to ping. If you don't have an address there, either a) TW's modem's not handing out address properly, b) the cable/connection is bad between the modem and the Linksys, or c) something's not right with the Linksys (broken, cable plugged in the wrong place (see 1st suggestion), not configured for DHCP, etc).
Assuming all looks right, back in the dos window, type "ping 24.5.6.1" (replacing 24.5.6.1 with whatever the gateway was on the Linksys status page). It may be easiest to drag/move the dos window to an area of the screen such that you're able to read the Linksys page behind it. Again, take note of the ping replies. If you get "Request timed out", I may blame it on the Linksys. It may not be NAT'ing correctly or something...


4th -- Last, try pinging the DNS servers noted on the Linksys status page.

Well, that's quite the list of things to try, so -- let me know how that goes and we'll figure out more from there ;)

Mike Jolly

Labels: , , ,

Monday, November 10, 2008

Hooray google!

Google's so nice to us, yeah?

Besides trying to buy out the 700MHz spectrum from the FCC, they also help out with Blogger ;)

I'm hopefully gonna start using this to put up some thoughts and comments. I used to use snipsnap, but I didn't really want to maintain it anymore. So -- I haven't even had it running in about a year and a half ;)

EDIT: I started it back up for reference sake at http://archive.mcjolly.com/