These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
"""Short and sweet LSTM implementation in Tensorflow. | |
Motivation: | |
When Tensorflow was released, adding RNNs was a bit of a hack - it required | |
building separate graphs for every number of timesteps and was a bit obscure | |
to use. Since then TF devs added things like `dynamic_rnn`, `scan` and `map_fn`. | |
Currently the APIs are decent, but all the tutorials that I am aware of are not | |
making the best use of the new APIs. | |
Advantages of this implementation: |
class MyLSTMCell(tf.nn.rnn_cell.RNNCell): | |
"""Simplified Version rnn_cell.BasicLSTMCell""" | |
def __init__(self, num_units): | |
super(MyLSTMCell, self).__init__() | |
self._num_units = num_units | |
def __call__(self, inputs, state, scope="LSTM"): | |
with tf.variable_scope(scope): | |
c, h = state |
#!/bin/sh | |
## Or use an AUR helper, e.g. | |
## sudo aura -A nix | |
sudo pacman -S base-devel git | |
git clone https://aur.archlinux.org/nix.git | |
cd nix | |
makepkg -s | |
sudo pacman -U nix-*.pkg.tar.xz |
#!/usr/bin/env python3 | |
# Updated: 2018-10-17 | |
import re, sys, os | |
""" | |
Converts the Nix profile SH script to a Fish-compatible profile using a | |
simple line-by-line replace algorithm. | |
""" |
In a collection of nine stunningly original, provocative, and poignant stories, Ted Chiang tackles some of humanity’s oldest questions and introduces several new quandaries for us Chronoscopians to discuss.
Private message Mart for details, or directly purchase the book from the following retailers:
There are some articles you want to read first:
Nix Flakes is currently an experimental feature, so this tutorial assumes that you are using the unstable
channel.