Posted by & filed under Gaming.

I wanted to share this fix to a frustrating Titanfall issue that I haven’t seen listed as solved anywhere else.  I was running into issues when launching the game.  My computer would simply display an error message that was saying that the resolution was out of range.  Frustratingly, when I tabbed out of the game, I could see everything fine and even navigate to the resolution options where I would select windowed, but the game wouldn’t save the resolution changes.

For some reason, despite the fact that my monitor is a standard resolution, some games don’t seem to recognize it or try to launch in an incorrect resolution.  Some potential fixes suggested that you edit the command line arguments for the game to include -noborder, but unfortunately when I did this it killed the sound.  No good for a first person shooter.

Here’s what I had to do to fix the issue:

  1. Open up Windows Explorer, and navigate to “C:\users\yourusernamehere\Documents\Respawn and open the Titanfall folder.
  2. Go into the local folder and open the file titled “videoconfig.txt”.
  3. Here, you should see values called “setting.defaultres” and “setting.defaultresheight” and set them to whatever value you wish.  You can also set fullscreen, no window mode, and several other settings.

A lot of more experienced gamers will probably be familiar with this fix, but I’ve noticed that many newer titles don’t include this ability to modify the resolution in a text file, so I’m a little surprised to find it here in Titanfall.  Regardless, it was a welcome surprise that allowed me to get to playing!

Hope this helped someone, and see you on the battlefield!

Posted by & filed under Gaming, Productivity.

Check out these handy little guys…

 

http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/

 

Very niche, but might come in handy someday.  What this does is sync a file to multiple directory locations on a hard drive.  i.e. same file exists in C:\Folder A as in C:\Folder B and updates both if you make changes to one or the other.

 

I’ve been using them a while to do a couple different things:

 

1. Keep files synced between multiple cloud file storage services without having to modify both (i.e. dbox & gdrive).  I’m in the process of trying both and don’t want to bother manually updating two files with the same changes.

 

2. Awesome if you have a specific file you want to be synchronized across multiple computers, for whatever reason.  For example, I used to have save game files that I’d want synchronized between my laptop and desktop PCs.  I create a hard symbolic link from the save game file in C:\Program Files\Steam\SaveFile to my Dropbox folder and then I can do the same on a second computer… thus synccing the file across multiple computers real-time-ish.

Posted by & filed under Programming.

I’ve used several IDEs in combination with many different languages, but the one I’ve felt benefits the most from a lot of user knowledge / tweaking is Eclipse.  Now, for this list of tips and shortcuts I’m assuming that you are using Java, but many (if not most) of them are language-independent.

Keyboard Shortcuts:

  • ALT + SHIFT + L: Local variable extraction of text selection (i.e. makes a new local variable out of the highlighted text and inserts a reference in its place automatically).

  • ALT + SHIFT + M: Method extraction of text selection (i.e. makes a new method out of the highlighted text and inserts a reference in its place automatically).

  • ALT + SHIFT + R: Rename.  Renames a member and updates every reference.  This is incredibly useful as it saves a lot of headaches later that can result from outdated references.

  • ALT + LEFT or RIGHT: Navigates backward and forward through your action “history”.  Very useful for navigating a call stack up and down swiftly.

  • CTRL + ALT + H: Open Call Hierarchy.  Brings up every reference to the highlighted member in your current working set.

  • CTRL + SHIFT + L: List of all keyboard shortcuts.  Press again to edit shortcuts.

  • CTRL + SHIFT + R: Open Resource.  Allows you to quickly navigate to any file by name.  This shortcut alone is one of the most important to learn for time-saving.  It even “learns”, providing a favorites list that is tuned to each search combination you have used previously.

  • CTRL + SHIFT + /: Collapse All.  It closes all possible blocks of code, useful to skim through your classes swiftly.

  • CTRL + SHIFT + *: Expand All.

  • CTRL + J: Incremental find (like seen in a browser or document viewer).

  • CTRL + K: Finds the next occurrence of the highlighted text.

  • CTRL + O: Find methods within the current class.

  • CTRL + Q: Returns to the last edit location (useful for resuming work after interruptions).

  • F3: Open Declaration. Brings you to where the selected member is declared.

 

Tips:

  • Eclipse supports camel case in many of its features, such as autocomplete and open resource.  For example, typing RDA and then pressing CTRL + SPACE will autocomplete to RegistrationDataAccess (assuming it is in your working set).

  • Eclipse can automatically organize your imports on a save, adding necessary imports and removing unneeded imports.  This is enabled by navigating via Window->Preferences->Java->Editor->Save Actions.

  • Clicking on a return type will show all exit points for a method, while clicking on an Exception catch/throw will show all members that can throw that Exception.

  • The Package Explorer tab has a “Link with Editor” button.  Clicking this automatically opens the path the Package Explorer to the current file selected in the Editor.  Very useful for finding exactly where the file you are working on is located.

  • All tabs and toolbars are movable, hideable and flexible size.

  • The Breakpoints tab can be used to find all of your breakpoints and remove them at once.

  • The “Skip All Breakpoints” button can be displayed on the toolbar or the Breakpoints tab.

  • Debug mode + Variables tab watches every variable as it is modified by your code.  You can even modify them on the fly, allowing you to see how bad inputs will affect methods even if your code cannot currently provide such input.

  • You can disable Eclipse’s auto-focus on the Debug tab by navigating to Window->Preferences->Run/Debug and unchecking “Activate the debug view…”.

  • You can disable Eclipse’s auto-focus on the Console tab by pressing “Show Console When Standard Out Changes”.

  • You can comment your code.

 

Links with more tips:

Posted by & filed under Tech Support.

When sending an email from Outlook 2010, I received the error “The Operation Failed“.

 

 

For me, this ended up simply being an issue with the email address autocomplete feature.

Solution:

I typed the first few letters of the recipient’s email address, pressed the down arrow on my keyboard, then pressed the Delete key.  Then, I manually re-typed the recipient’s full email address, and my email sent without any problems.

 

 

Posted by & filed under Tech Support.

After I upgraded to Windows 8, I began receiving this lovely vague little error message when navigating to any of my Documents, Pictures, or Videos libraries through the left navigation panel in Windows Explorer.

Here’s the fix:

  • Open a Windows Explorer window
  • Right click the offending Library
  • Click Delete
  • Right click on Libraries
  • Click Restore Default Libraries

 

 

Posted by & filed under Tech Support.

When attempting to reformat a Lenovo ultrabook via USB external hard drive, I received the following error:

No device drivers were found. Make sure that the installation media contains the correct drivers, and then click OK

The solution was as simple as switching the external hard drive from a USB 3.0 port to a USB 2.0 port, rebooting, and restarting the installation.

If that doesn’t work, some other suggestions I found were to try and enter your particular PC’s recovery mode to see if there is an option to reinstall Windows from there, or to try re-copying the Windows installation files to your USB drive/external HDD. Read more »

Posted by & filed under Mobile Technology, Multimedia, Productivity.

I got to thinking again.  Don’t worry – I didn’t pull a brain muscle this time.

I’m not sure if you’ve ever used/seen/experimented with Prezi… but I’ve got to say that I think, along with wireless video signage/AirPlay in general, this has to be one of the most under-utilized multimedia tools out there.  It’s seriously incredible (and dead simple).  Imagine something like this running on the various displays.  For free/cheap.  And with content editable by everyday users.  Granted, it’s not what people are used to…

 

 

…and therefore would certainly require some level of training.  But even if introduced as something curated by someone familiar with it, for “static” signage, some very very cool animation loops could be put together on an auto rotation.  And wouldn’t necessarily take a sum of tens of thousands of dollars to an external graphic designer to produce.

When I first used it, I had no idea how to work it.  So I sat down and put together this presentation for class.  Took me about 2 hours (including figuring out how to use it and topical research for the actual project).  It isn’t much, but shows what might be done within a relatively short time by a novice-ish user.

By the way, I dare you to download Prezi for iOS on your iPad or iPhone, open this blog post, and click any of the hyperlinks.  Looks and works pretty killer on those devices.

Pressing that idea even further, think about how AirPlay from your cell phone or tablet might be interesting when paired with one of these presentations.  Think about having a presentation saved on the web, walking into a conference room, opening it through the Prezi app on your phone, enabling on AirPlay on your tablet/phone, and being presentation-ready within 30 seconds of walking in the room.  No flash drives, awkward silences, driver installations, or icon-filled Windows desktops.

Just some thoughts.

Posted by & filed under Windows Administration.

I use PowerShell for as much of my job as possible.  One of the most common things I’m asked to do is to provide some sort of report, and in some cases these reports need to be updated periodically.

Instead of emailing these reports out, I decided to string together a bit of JavaScript, static HTML, and an indexing job from PowerShell to create a semi-dynamic reporting interface for the reports my scripts create.

First, the site needs to know what reports are available to load.  This is accomplished by exporting the list of files available to a JSON formatted file.

The reports are all basic HTML, created by the Exportto-HTML cmdlet.

The static site loads JavaScript that queries the JSON file containing the available reports.  It uses this list to populate a sidebar. The sidebar links call another JavaScript function that loads the main content pane with the HTML from the report.

Finally, I threw in Data Tables (a jQuery plugin) to make the reports searchable and sortable.

The results?  A site generated by PowerShell, served by Apache, and best viewed in Chrome.

Posted by & filed under Windows Administration.

This script uses WMI to assign a range of IPs to a network adapter.

Function chooseAdapter{
    $adapters = get-wmiobject win32_networkadapterconfiguration -filter "IPEnabled='True'"
    $menu = ""
    $adapters | % {$menu += "["+$_.Index+"]"+$_.Description+"`r`n"}
    $adapterIndex = Read-Host -Prompt ("Choose an adapter by typing the number next to the name of the adapter you'd like to change" + "`r`n" + $menu)
    $chosenAdapter = $adapters | ? {$_.Index -eq $adapterIndex}
    if ($chosenAdapter){
        return $chosenAdapter
    }
    else{
        chooseAdapter
    }
}

Function setStatic($adapter,$ipArray,$subnet){
    $subnetArray = @()
    ForEach ($ip in $ipArray){
        $subnetArray += $subnet
    }
    $adapter.EnableStatic($ipArray, $subnetArray)
    $adapter.SetGateways($adapter.DefaultIPGateway)
    $adapter.SetDNSServerSearchOrder($adapter.DNSServerSearchOrder)
    $adapter.SetDynamicDNSRegistration(“FALSE”)
}

$adapter = chooseAdapter

$subnet = Read-Host -Prompt "Enter the subnet mask"
$first3 = Read-Host -Prompt "Enter the first three octets, ie: 192.168.1"
$ipMin = Read-Host -Prompt "Enter the minimum of the forth octet"
$ipMax = Read-Host -Prompt "Enter the maximum of the forth octet"

$ips = @()
While ($ipMin -lt $ipMax){
    Write-Host Adding $first3 . $ipmin to array
    $ips += ($first3+"."+[string]$ipMin)
    [int]$ipMin += 1
}

setStatic $adapter $ips $subnet