profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/erikrose/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Erik Rose erikrose @mozilla Mountain View, CA https://www.grinchcentral.com/ Erik Rose chips away at the barrier between human cognition & machine execution, via programming language research, ML, & a stream of eclectic Python libraries

certbot/certbot 28326

Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.

erikrose/blessings 1243

A thin, practical wrapper around terminal capabilities in Python

erikrose/bucklescript-fizzbuzz 28

A demonstration of a production-suitable build pipeline for client-side BuckleScript

erikrose/elasticsearch-tutorial 20

Exercises for the Slithering Into Elasticsearch tutorial at PyCon 2015

erikrose/conway 10

A toy implementation of Conway's Game of Life in your terminal

erikrose/elysium 5

A light, airy, Mac-like theme for LimeChat

erikrose/django-nose 3

Django test runner using nose

erikrose/commander 2

A small library for running local and remote shell commands

erikrose/django-waffle 2

A feature flipper for Django.

erikrose/fathom 2

A framework for extracting meaning from web pages

push eventerikrose/tinker

Erik Rose

commit sha 74c9162eff213e7562bfe4eb5e93550e93ad3516

Make local vars bind properly. Add assigned-to vars to the local scope, and correct the typing rule for Assignments. * Remove the inference smoketest. It would have needed to be wrapped in a function, which would have made it little different from "Later var refs can see vars made by Assignments." * Wrap a function around "When the branches of an `if` read an undefined var, raise an error." to make the assigned vars local since we haven't designed or implemented globals yet. * Move assignments_in() to ast.ml and rename it assignments_and_types_in() so it can sit next to the almost identical but now-untyped assignments_in(), which I need for inference.

view details

push time in a month

issue closederikrose/blessings

Error _curses

image Cuando intento usar la librería blessings me sale este error. Me ayudas por favor

closed time in a month

dafmdev

issue commenterikrose/blessings

Error _curses

Unfortunately, blessings does not support Windows, because it is a thin convenience layer over curses, which, as you have found, Windows does not provide. I recommend you try colorama, which works at a higher level of abstraction and supports Windows. Sorry you had trouble!

dafmdev

comment created time in a month

push eventerikrose/tinker

Erik Rose

commit sha ac968611e76805a6a42f09afc7228825410c2e83

Rewrite compile.ml for compatibility with inference, though it still has an error. It has the same error as the "Global functions are first-class." test: we don't yet have a way of storing and looking up the types of functions.

view details

push time in 2 months

push eventerikrose/tinker

Erik Rose

commit sha a599e5419f75c5ddef4072a7dd2d7680dbcaa325

Combine tests into a single suite so `make test` runs them all. * In so doing, port the general tests to dune. * Rearrange all tests so their prose labels are right in front of the functions. * _ out unused vars that dune or ppx or something gets mad about.

view details

push time in 2 months

push eventerikrose/tinker

Erik Rose

commit sha 419fa510db05c6ee93060331e1375a8e591ff563

Factor up compilation in main tests.

view details

Erik Rose

commit sha 090368a81d690a74aad5671fe0f7f4e9db7ae7dc

Port codegen to work on type-inferred expressions rather than untyped exprs. Add BoolType to better represent `if` conditions.

view details

Erik Rose

commit sha 1be7e8f31dbedd819cdd11dad3cd1b48c9ba4adf

Start to do more proper language design in README.

view details

Erik Rose

commit sha 4b0a0b334a91c19cbe976346ab2e0293b22a4a3e

Comment out `global_functions_are_first_class` test so we can merge inference branch. Right now, `global_functions_are_first_class` is failing because infer.ml has no way to look up the type of a global var (function, actually). This is because globals aren't represented in any sort of name-to-type table, which in turn is because we haven't implemented nested scope (nested function) support yet. That's our next step. In the meantime, `global_functions_are_first_class` tests 2 things: an `is_generating_function` bit (that's going to go away when we implement nested functions) and the fact that functions are first-class (which is still true in principle but fails because the only functions we have are global ones and global type lookups don't yet exist). Thus, let's put it aside for now and work on nested scope support, which doesn't belong on the already long-running inference branch. Incidentally, we can't do a quick fix by assuming all globals are functions in the interrim. Even if we assumed that, we'd know nothing about their arg and return types.

view details

Erik Rose

commit sha 810a8426b2203e895a56eafe316845ec8ff7c455

Combine tests into a single suite so `make test` runs them all. * In so doing, port the general tests to dune. * Rearrange all tests so their prose labels are right in front of the functions. * _ out unused vars that dune or ppx or something gets mad about.

view details

push time in 2 months