Category: FromPreviousBlog

  • Arc versus Active Duty

    test google.load(‘visualization’, ‘1’, {packages: [‘geomap’]}); function drawVisualization() { var data = new google.visualization.DataTable(); data.addRows(51); data.addColumn(‘string’, ‘State’); data.addColumn(‘number’, ‘Military’); data.setValue(0,0,’US-AK’); data.setValue(0,1,108); data.setValue(1,0,’US-AL’); data.setValue(1,1,172); data.setValue(2,0,’US-CA’); data.setValue(2,1,639); data.setValue(3,0,’US-CO’); data.setValue(3,1,384); data.setValue(4,0,’US-DE’); data.setValue(4,1,66); data.setValue(5,0,’US-FL’); data.setValue(5,1,322); data.setValue(6,0,’US-GA’); data.setValue(6,1,441); data.setValue(7,0,’US-HI’); data.setValue(7,1,434); data.setValue(8,0,’US-ID’); data.setValue(8,1,48); data.setValue(9,0,’US-IL’); data.setValue(9,1,248); data.setValue(10,0,’US-KS’); data.setValue(10,1,218); data.setValue(11,0,’US-LA’); data.setValue(11,1,243); data.setValue(12,0,’US-MA’); data.setValue(12,1,306); data.setValue(13,0,’US-MD’); data.setValue(13,1,59); data.setValue(14,0,’US-ME’); data.setValue(14,1,242); data.setValue(15,0,’US-MN’); data.setValue(15,1,118); data.setValue(16,0,’US-MO’); data.setValue(16,1,123); data.setValue(17,0,’US-NC’); data.setValue(17,1,206); data.setValue(18,0,’US-NY’);…

  • Resource Allocation with Approximate Dynamic Programming

    [ E = frac{eta}{c}left( frac{C_L^{3/2}}{C_D} right) sqrt{2 rho S} left( frac{1}{W_f} – frac{1}{W_i} right) ] Where (eta) is the propeller efficiency, (c) is the minimum power specific fuel consumption rate, maximum density of air, ( rho ).

  • Buyback military years

    h2. Should I even buy the years? what if we use the 13K for something really special? the cashflow is way out there. 1 36 7836.4409 2 37 8692.4214 3 38 9592.7079 4 39 10539.1884 5 40 11533.8243 6 41 12578.6531 7 42 13675.7911 8 43 14827.4367 9 44 16035.8728 10 45 17303.4704 11 46…

  • All Air National Guard Forces

    google.load(‘visualization’, ‘1’, {packages: [‘geomap’]}); function drawVisualization() { var data = new google.visualization.DataTable(); data.addRows(51); data.addColumn(‘string’, ‘Country’); data.addColumn(‘number’, ‘Guard Authorizations’); data.setValue(0,0,’US-AK’); data.setValue(0,1,723); data.setValue(1,0,’US-AL’); data.setValue(1,1,759); data.setValue(2,0,’US-AR’); data.setValue(2,1,658); data.setValue(3,0,’US-AZ’); data.setValue(3,1,762); data.setValue(4,0,’US-CA’); data.setValue(4,1,1627); data.setValue(5,0,’US-CO’); data.setValue(5,1,464); data.setValue(6,0,’US-CT’); data.setValue(6,1,442); data.setValue(7,0,’US-DC’); data.setValue(7,1,49); data.setValue(8,0,’US-DE’); data.setValue(8,1,374); data.setValue(9,0,’US-FL’); data.setValue(9,1,703); data.setValue(10,0,’US-GA’); data.setValue(10,1,937); data.setValue(11,0,’US-HI’); data.setValue(11,1,735); data.setValue(12,0,’US-IA’); data.setValue(12,1,670); data.setValue(13,0,’US-ID’); data.setValue(13,1,394); data.setValue(14,0,’US-IL’); data.setValue(14,1,1120); data.setValue(15,0,’US-IN’); data.setValue(15,1,635); data.setValue(16,0,’US-KS’); data.setValue(16,1,746); data.setValue(17,0,’US-KY’); data.setValue(17,1,435); data.setValue(18,0,’US-LA’);…

  • ARC and Active Basing

    This is just an attempt to understand where bases are and by which component. Total Locations google.load(‘visualization’, ‘1’, {packages: [‘geomap’]}); function drawVisualization() { var data = new google.visualization.DataTable(); data.addRows(120); data.addColumn(‘string’, ‘City’); data.addColumn(‘number’, ‘Auths’); data.setValue(0,0,’ABSTON, AL’); data.setValue(0,1,50); data.setValue(1,0,’ALCOA, TN’); data.setValue(1,1,276); data.setValue(2,0,’ANDREWS, MD’); data.setValue(2,1,18); data.setValue(3,0,’AURORA, CO’); data.setValue(3,1,3); data.setValue(4,0,’BARKING SANDS, HI’); data.setValue(4,1,138); data.setValue(5,0,’BEALE, CA’); data.setValue(5,1,82); data.setValue(6,0,’BOISE AIR TERMINAL,…

  • Active and Reserve Mix for USAF Space Command

    10:24 AM google.load(‘visualization’, ‘1’, {packages: [‘geomap’]}); google.load(‘visualization’, ‘1’, {packages: [‘geomap’]}); function drawVisualization() { var data = new google.visualization.DataTable(); data.addRows(51); data.addColumn(‘string’, ‘State’); data.addColumn(‘number’, ‘Military’); data.setValue(0,0,’US-AK’); data.setValue(0,1,108); data.setValue(1,0,’US-AL’); data.setValue(1,1,172); data.setValue(2,0,’US-CA’); data.setValue(2,1,639); data.setValue(3,0,’US-CO’); data.setValue(3,1,384); data.setValue(4,0,’US-DE’); data.setValue(4,1,66); data.setValue(5,0,’US-FL’); data.setValue(5,1,322); data.setValue(6,0,’US-GA’); data.setValue(6,1,441); data.setValue(7,0,’US-HI’); data.setValue(7,1,434); data.setValue(8,0,’US-ID’); data.setValue(8,1,48); data.setValue(9,0,’US-IL’); data.setValue(9,1,248); data.setValue(10,0,’US-KS’); data.setValue(10,1,218); data.setValue(11,0,’US-LA’); data.setValue(11,1,243); data.setValue(12,0,’US-MA’); data.setValue(12,1,306); data.setValue(13,0,’US-MD’); data.setValue(13,1,59); data.setValue(14,0,’US-ME’); data.setValue(14,1,242); data.setValue(15,0,’US-MN’); data.setValue(15,1,118);…

  • Official Modes of Travel for the US Department of Defense

    This one should be simple, but it is not. I just wanted to know what to put on an Air Force form 938 for “MODE OF TRAVEL”. This wasn’t easy. In the JFTR, https://www.defensetravel.dod.mil/Docs/Training/DTA_App_C.pdf Appendix K, Table K-3 associates each travel mode with its description, expense category, and single threshold. TRAVEL MODES AND OTHER TRANSPORTATION…

  • Mongoid counter_cache with has_and_belongs_to_many

    If I have two Mongoid models joined by a has_and_belongs_to_many relationship, Users and Groups. I need to quickly and efficiently sort by the most popular groups which really should be done with a counter_cache. However, counter_caches are implemented in rails by setting a callback to update the counter cache every time a child model is…

  • How do you deploy an application.yml based config to heroku

    In one of my applications, I have the following config files that are excluded from git: * config/mongoid.yml * config/application.yml * config/mailserver_setting.rb * config/omniauth_settings.rb For deploying to a regular server, I just add tasks to my capistrano deployment file to create sym-links to a shared directory. In this case I have to modify my application…

  • Winds around the world

    Goal: characterize the winds available around the world. First we need to construct our grid: The horizontal, latitude-longitude grid ranges from +70 to -70 deg in latitude and from 0 to 357.5E deg in longitude, producing a grid that has dimensions of 57 x 144 points. In matlab, this is: [cells/degree northern_latitude_limit western_longitude_limit] zerom( These…