This document describes how to install nvidia drivers & CUDA in one go on a fresh debian install.
Work in progress
- Start with a fresh Debian install.
| set imap_user="[email protected]" | |
| set imap_pass=`/usr/bin/security find-generic-password -w -a '[email protected]' -s 'Gmail'` | |
| set folder=imaps://imap.gmail.com/ | |
| set spoolfile=+INBOX | |
| set record="+[Gmail]/Sent Mail" | |
| set postponed="+[Gmail]/Drafts" | |
| # https://www.neomutt.org/guide/reference search sleep_time for additional info | |
| set sleep_time=0 # be faster |
| -- | |
| -- This will register the "planet" table within your AWS account | |
| -- | |
| CREATE EXTERNAL TABLE planet ( | |
| id BIGINT, | |
| type STRING, | |
| tags MAP<STRING,STRING>, | |
| lat DECIMAL(9,7), | |
| lon DECIMAL(10,7), | |
| nds ARRAY<STRUCT<ref: BIGINT>>, |
So, with credit to the Factorio wiki and cbednarski's helpful gist, I managed to eventually setup a Factorio headless server. Although, I thought the process could be nailed down/simplified to be a bit more 'tutorialised' and also to document how I got it all working for my future records.
The specific distro/version I'm using for this guide being Ubuntu Server 16.04.1 LTS. Although, that shouldn't matter, as long as your distro supports systemd (just for this guide, not a Factorio headless requirement, although most distros use it as standard now).
The version of Factorio I shall be using is 0.14.20, although should work for any version of Factorio 0.14.12 and higher.
Just a note to newcomers: If there are any issues with the installation steps, people in the comments are doing a good job
| from osgeo import gdal | |
| from boto3.session import Session | |
| #Do something with the array | |
| def myFunction(arr): | |
| return np.where(arr > 0, (arr * 10000).astype(np.uint16), 0) | |
| session = Session(region_name='us-west-2') | |
| s3 = session.resource('s3') |
| # Nix skeleton for compiler, cmake, boost. | |
| # Dependencies (boost and others you specify) are getting built with selectec compiler (for ABI compatibility). | |
| # Examples: | |
| # nix-shell --argstr compiler gcc5 --run 'mkdir build && cd build && cmake .. && cmake --build .' | |
| # nix-shell --argstr compiler gcc6 --run 'mkdir build && cd build && cmake .. && cmake --build .' | |
| # nix-shell --argstr compiler clang_38 --run 'mkdir build && cd build && cmake .. && cmake --build .' | |
| { nixpkgs ? import <nixpkgs> {}, compiler ? "gcc6" }: | |
| let |
| Zoom | Tile size at equator (km) | Resolution at equator (m) |
|---|---|---|
| 0 | 22568 | 88155 |
| 1 | 11284 | 44078 |
| 2 | 7656 | 29904 |
| 3 | 4577 | 17881 |
| 4 | 2443 | 9544 |
| 5 | 1244 | 4861 |
| 6 | 625 | 2442 |
| 7 | 313 | 1223 |
| sudo: required #is required to use docker service in travis | |
| language: php #can be any language, just php for example | |
| services: | |
| - docker # required, but travis uses older version of docker :( | |
| install: | |
| - echo "install nothing!" # put your normal pre-testing installs here |
This is a list inspired by some of our current or potential lines of work at the World Bank Innovation Labs. The “Innovations in Big Data Analytics” program helps to strengthen the World Bank capabilities to effectively use big data in its operational and strategic work.
We are always looking for great Data Scientists. If you can solve any of these [using open software], you'll be heads down helping us from day one. Email us to [email protected]
(This list is updated frequently).
We are building an open stack to process nightly data from satellite and query light output from all known villages. Currently we are doing 20 years of nightly data for 600,000 villages in India.