Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| // The Babylonian Method | |
| // http://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method | |
| // @param n - the number to compute the square root of | |
| // @param g - the best guess so far (can omit from initial call) | |
| function squirt(n, g) { | |
| if (!g) { | |
| // Take an initial guess at the square root | |
| g = n / 2.0; | |
| } | |
| var d = n / g; // Divide our guess into the number |
| """ | |
| Marshmallow wrappers to produce GeoJSON instead of a flat dictionary. | |
| """ | |
| from flask_marshmallow import Marshmallow | |
| import geoalchemy2 | |
| from geoalchemy2.shape import from_shape, to_shape | |
| from marshmallow import fields, pre_load, post_dump, ValidationError | |
| import marshmallow_sqlalchemy as msqla | |
| from shapely import geometry |
Picking the right architecture = Picking the right battles + Managing trade-offs