Scientific Computing

Switch to Android from Blackberry 10 Passport

The Snapdragon 808 CPU in the Blackberry Priv has a Cat 9 LTE modem on board, and feels quite speedy on LTE or Wifi as compared to the Blackberry Passport, which was hindered by a slower CPU.

BB10 market share has been subsumed by the release of Android-based Blackberry hardware. The Priv enables carrying just one device for productivity apps, instead of relying on carrying an Android tablet for business productivity apps.

Blackberry Hub+ has been continually improved and gives a better overall experience on Android than BB10.

The Blackberry Android Mosaic task manager is better than the BB10 limit of 6 full size apps. Pull down on notification banners to expand them into a preview.

Android allows granular app permission setting. The DTEK app on Blackberry Android hardware allows monitoring utilization of permissions that are allowed.

The BlackBerry Priv camera satisfied in a wide variety of scenarios as compared to Blackberry 10 Passport camera.

2.4 / 5 GHz WiFi performance of the Priv seems very comparable to the Passport.

The Priv keyboard is pretty good. I prefer the landscape orientation (e.g. Moto Droid 4) instead of portrait, but it was better than I thought it’d be. I needed a few days to adapt from Passport keyboard.

The Blackberry Priv AMOLED naturally has popping, bright (good) color. The color temperature can be adjusted, but I didn’t need to adjust it.

Could Mad Max have used Cubesats in Fury Road?

Given the great resourcefulness of characters throughout the four Mad Max films in a post-apocalyptic environment, it seems odd that still working satellites, especially amateur satellites weren’t exploited. One may argue that the satellites could have fallen victim to EMP. The star fields shown appear to be synthetic, a disappointment as it would have been a great Easter Egg to show the location in say Western Australia. The production crew spent so much effort on authenticity of set props that it wouldn’t have been so much relative cost to make an accurate (albeit apparently sped up) satellite pass.

A licensed amateur radio operator needs little more than a simple VHF/UHF (144MHz / 430MHz) handheld FM transceiver to communicate through amateur satellites. One can buy an $90 Arrow antenna and that’s a complete satellite communication system, allowing free communications over most of a continent. For certain higher-orbiting LEO satellites limited intercontinental communications is possible.

Build an Arrow-style yagi antenna using coat hangers and build a duplexer with gimmick capacitors and self-made inductors.  Worst case, skip the duplexer, use two walkie-talkies and two antennas.

Who could Mad Max talk to on the amateur radio satellite? According to Gpredict, and assuming the highly circular ~1450km altitude of AO-7 hadn’t decayed much, and that the very simple electronics of AO-7 survived the EMP (if there was a nuclear war in the Mad Max universe), then AO-7 in it’s VHF/UHF mode would be a good candidate to talk to Indonesia, Papua New Guinea, and of course the whole of Australia from the supposed Western Australia location of the characters.

Mad Max commsat coverage

Link Budget shouldn’t be an issue, with a rubber duck antenna and 4 Watt satellite, it’s possible now, how much more so when there are very few anthropogenic signals about.

Greenland high-speed auroral video operations

Thanks to more great support from the SRI Sondrestrom team and of course NSF, we are once again observing with the amazing Marshall 140mm lens and the Andor Neo sCMOS camera. This gives up to 8 degree field of view with up to hundreds of frames per second. We are starting off with white-light (unfiltered) operations, but will soon transition to a “prompt emissions” BG3 filter to avoid the smearing that happens in high-speed auroral video from long-lifetime metastable emissions.

Photos and other description of the system.

Auroral camera in Sondrestrom, Greenland

DMC experimental data collected funded by the National Science Foundation and AFOSR sponsored auroral observation instrument: Dual-Scale Multi Camera (DMC). Data is generally sorted into folders by date. Remember to check +/- 1 day from your desired date if you don’t see the data you’re looking for.

The UTC/UT1 times specified in these files are estimates. Error in timing may be as large as a minute for data files in the 2012-2013 seasons because the observations were not hardware-timed.

2015-2016 season: Only the Neo is on site, first installed/focused without BG3 filter on Oct 19 2015, although the filter is available on-site.

2012-2013 season: The cameras were installed under a flat plate of glass, as a dome caused massive distortions in the narrow field image

Camera configuration: 2012-2013 season

Parameter CCD sCMOS
lens Kowa? Marshall 140mm
approx FOV 50x50 deg. 6x8 deg.

Comtrend PG-9172 G.hn configuration

This procedure assumes that two or more encrypted Comtrend G.hn powerline Ethernet units are already working on G.hn profile “PLC 50MHz with MIMO”, and another unit is being added. This can be done on any operating system with an Ethernet adapter and web browser.

  1. Set the PC Ethernet adapter (temporarily) to a static IP of 192.168.0.6, subnet 255.255.255.0. A gateway or DNS is not required.
  2. Browse to the factory default IP address in a web browser: 192.168.0.5. The default password is admin.
  3. Keep this browser window open, and open a second window.
  4. Unplug the new G.hn unit, and connect the laptop to the primary G.hn unit via Ethernet.
  5. Browse to the primary G.hn IP address (perhaps 192.168.0.5) and click Pair. This makes the primary ready to accept new units.
  6. Plug in via Ethernet to the new G.hn and click Pair. It will promptly require a login again, click Pair and refresh. The same random “domain name”, “pairing password” and “Domain ID DOD” as the primary should be visible.
  7. Plug the primary Ethernet back into the network as it was before. The middle green light should go back on.
  8. On the new unit, the top and bottom green lights should be steady green, with the middle light flickering with Ethernet activity.
  9. Return the PC Ethernet to its previous configuration (probably DHCP). Browsing the web over the new G.hn connection should be possible after resetting the Ethernet adapter (or unplugging/plugging).

Troubleshooting:

  • Ensure the primary unit (the one connected to the actual hardwired Ethernet Internet connection) has node type DOMAIN_MASTER.
  • Ensure all other G.hn units have node type END_POINT.
  • Avoid using power strips or surge suppressors on the power outlets. The units will only work when plugged directly into a wall outlet (GFCI is OK).
  • Only use G.hn profile “PLC 50MHz with MIMO” as this provides maximum range with multiple breaker panels in large houses, since it uses all three powerline wires.
  • NDIM mode should be automatic; after pairing, it will be on the same Domain ID DOD.
  • Use G.hn encryption to prevent unauthorized access to the network from an outlet on the outside (or inside) of the house.
  • Consider setting each device to a unique IPv4 manual address. This allows access to other G.hn adapter configuration pages via a web browser when directly connected to one of them.
  • The manually set IPv4 should NOT be on the same subnet as the network. For some reason, it just won’t work.

Upgrading firmware:

At the time of writing, a Windows 7 PC is required as newer Windows versions are not supported yet. Errors will occur if not using Windows 7. A virtual machine of Windows 7 did not work; it had to be a bare metal Windows 7 installation. Java installation is also required.

It may be necessary to try once or twice, and try resetting power to the PG-9172. Resetting to factory defaults may also help. Upgrading firmware should work after 1-2 tries.

This cannot be done remotely; direct connection to the Ethernet jack of the PG-9172 from the Windows 7 PC is required to upgrade Comtrend PG-9172 firmware.

Fix broken resume from suspend

Consider disabling Intel RapidStart to avoid problems resuming from sleep. RapidStart enables a deeper S4 sleep state, transitioning from an initial S3 state. However, this transition can be buggy. If the PC is not always able to resume from sleep/suspend, try disabling RapidStart. Consider disabling hibernation if resuming from hibernation is not needed.

Github request for repo traffic graphs

Update Sept 2016 Github has changed their user front pages, moving a little toward this direction.


As submitted to Github:

I advocate to scientist/engineering colleagues and at the legislative level to encourage collaborative open-source development on everything from smart transportation and robotics to climate change modeling and data analysis.

The effort to sunshine code out of dusty forgotten hard drives and into the light would be significantly enhanced if Github would by default or prominently, easily selectable option show repo traffic (views, clones, download zip). The civic and scientific value of this change could be surprising, and is seemingly something a couple talented interns could prototype in a few weeks.

Github, please help us make a better world of open code by incentivizing authors via easy intuitive plots of repo traffic.

GitHub suggestion