Skip to content

Instantly share code, notes, and snippets.

View pikeas's full-sized avatar

Aris Pikeas pikeas

  • San Francisco, CA
View GitHub Profile
[tool.poetry]
name = "foo"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
[tool.poetry.dependencies]
python = "~3.7"
[tool.poetry.dev-dependencies]
defmodule Test.Sup do
use Supervisor
def start_link(opts), do: Supervisor.start_link(__MODULE__, opts, name: __MODULE__)
def init([]) do
children = [
# Supervisor.Spec.worker(Test.Server, [[]]),
Test.Server
]

Keybase proof

I hereby claim:

  • I am pikeas on github.
  • I am pikeas (https://keybase.io/pikeas) on keybase.
  • I have a public key ASBZWq81soUhAsJ0wV84XiRbLGGWFDgq9bVZXQOSDLsn8go

To claim this, I am signing this object:

defmodule Foo do
@type t :: %__MODULE__{x: non_neg_integer}
defstruct x: 0
@spec test(t) :: t
def test(%__MODULE__{} = foo), do: test2(foo)
@spec test2(t) :: t
defp test2(%__MODULE__{} = foo), do: %__MODULE__{foo | x: 5}
end
dtrace: 343 dynamic variable drops with non-empty dirty list
sigaction(0x1C, 0x7FFF5F583BB8, 0x7FFF5F583BF0) = 0 0
read(0x0, "\r\0", 0x1) = 1 0
write_nocancel(0x1, "\n\0", 0x1) = 1 0
ioctl(0x0, 0x80487415, 0x100D99918) = 0 0
sigaction(0x1C, 0x7FFF5F583C28, 0x7FFF5F583C50) = 0 0
open_nocancel(".\0", 0x0, 0x1) = 3 0
fstat64(0x3, 0x7FFF5F582F60, 0x1) = 0 0
fcntl_nocancel(0x3, 0x32, 0x7F7F6B032600) = 0 0
close_nocancel(0x3) = 0 0
dtrace: 339 dynamic variable drops with non-empty dirty list
sigaction(0x1C, 0x7FFF59CA1BB8, 0x7FFF59CA1BF0) = 0 0
read(0x0, "\r\0", 0x1) = 1 0
write_nocancel(0x1, "\n\0", 0x1) = 1 0
ioctl(0x0, 0x80487415, 0x10667B918) = 0 0
sigaction(0x1C, 0x7FFF59CA1C28, 0x7FFF59CA1C50) = 0 0
open_nocancel(".\0", 0x0, 0x1) = 3 0
fstat64(0x3, 0x7FFF59CA0F60, 0x1) = 0 0
fcntl_nocancel(0x3, 0x32, 0x7FD57C000000) = 0 0
close_nocancel(0x3) = 0 0
Traceback (most recent call last):
File "foo.py", line 2, in <module>
import tensorflow as tf
File "/Users/pikeas/.virtualenvs/hnn/lib/python3.5/site-packages/tensorflow/__init__.py", line 23, in <module>
from tensorflow.python import *
File "/Users/pikeas/.virtualenvs/hnn/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 48, in <module>
from tensorflow.python import pywrap_tensorflow
File "/Users/pikeas/.virtualenvs/hnn/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
_pywrap_tensorflow = swig_import_helper()
File "/Users/pikeas/.virtualenvs/hnn/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
\newcommand*{\cvtinyentry}[2]{
\vspace{-2.0mm}
\setlength\tabcolsep{0pt}
\setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
\entrytitlestyle{#1} & \entrylocationstyle{#2}
\end{tabular*}
% right here, this new line present = small gap, not present = big gap
{
"variable": {
"region": {
"default": "us-east-1"
},
"key_name": {},
"vpc_cidr": {
"default": "11.0.0.0/16"
},
"zones": {
aws_route_table.public: Creating...
route.#: "" => "1"
route.648222489.cidr_block: "" => "0.0.0.0/0"
route.648222489.gateway_id: "" => "igw-fdfcbd98"
route.648222489.instance_id: "" => ""
route.648222489.network_interface_id: "" => ""
route.648222489.vpc_peering_connection_id: "" => ""
tags.#: "" => "1"
tags.Name: "" => "emp2-public"
vpc_id: "" => "vpc-b5171dd0"