profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/benatkin/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.
Benjamin Atkin benatkin @ResourcesCo Miami, FL https://benatkin.com/ Founder & CTO of @ResourcesCo. Interests: running, reading, music, travel, coffee

apisio/legacy.apis.io 75

The world needs an open source API service registry & API explorer.

benatkin/anigram 4

Animated Anagrams with raphael.js

apicomponents/jules 3

filter JSON on the command line

benatkin/datetime 3

prints the current date. lolz.

benatkin/chardin 2

a wiki with much of its logic in couchdb

benatkin/clj-jsonpointer 2

jsonpointer library for clojure

benatkin/200couches 1

(up to) 200 node.js + couchdb migration scripts

benatkin/ackit 1

Api Client KIT

benatkin/aspect-status 1

like server status but for aspects of life

benatkin/blab 1

browser lab: so I can go to blab.dev, open up webkit inspector, and use js libs

push eventResourcesCo/macchiato

Benjamin Atkin

commit sha ba28cb7be59f73d2aded7cf2910ce9264d229f1c

start on indieauth

view details

push time in 9 minutes

push eventResourcesCo/macchiato

Benjamin Atkin

commit sha 867477a81d12d3d64a658722e5e7fb154e915edd

add app container with deno server 🦕

view details

push time in 17 hours

push eventResourcesCo/macchiato

Benjamin Atkin

commit sha 20c9430153d7e496cfe6b76fe5f0bdef6afed1d2

add instructions for creating the three mysql users

view details

Benjamin Atkin

commit sha ae56ab854f9fa5894b7740dec0951783ae30fcce

complete wordpress setup

view details

push time in 2 days

issue commentvuejs/vuepress

[Feature Request] Diff and Language Highlights

This would probably need an addition to the opening code fence. I suggest lang="<language>"

```diff lang="typescript"

For highlighting lines, which should parse, though maybe not be useful:

```diff{3-9} lang="typescript"

Docusaurus does this style of attribute for titles.

loren138

comment created time in 2 days

startedTonyGermaneri/canvas-datagrid

started time in 4 days

issue commentdocker/compose

docker-compose not seeing the .env file in parent project directory

I agree with keeping the current (1.28) behavior and just updating the documentation. There are three that appear to be common:

  • getting .env from the current working directory (current behavior, dotenv on npm does this)
  • getting .env from the current working directory, and if it is not found, walking to the root and getting the .env from the nearest ancestor directory that has it (pipenv does this)
  • looking for something else indicating where the project root is, and getting .env from that (django-dotenv looks for manage.py)

I've seen the subdirectory technique used, and because of that, my second favorite option is mimicing pipenv's behavior, of searching upward for the nearest .env, and my least favorite is finding the project directory and getting the .env that is in the same directory.

fpoulin09

comment created time in 8 days

issue commentdocker/compose

docker-compose not seeing the .env file in parent project directory

Maybe the existing behavior is more common than I thought - it seems django-dotenv could be just getting .env from the current directory like docker-compose currently does. It is too bad that it renders docker-compose's searching for docker-compose.yml useless for someone using project-wide .env files.

fpoulin09

comment created time in 8 days

issue commentdocker/compose

docker-compose not seeing the .env file in parent project directory

To me it's clear that .env should be in the project directory, a sibling of docker-compose.yml, like django-dotenv (it only looks in one location) but not like python-dotenv (it walks to the root). It shouldn't search upward for .env but should search for docker-compose.yml and find the sibling .env. Also this change would be nice to get into 2.0 because it is breaking behavior.

fpoulin09

comment created time in 8 days

issue commentdocker/compose

Change in the way quotes in env files are treated

The current docs are incorrect

Compose expects each line in an env file to be in VAR=VAL format. Lines beginning with # are treated as comments and are ignored. Blank lines are also ignored.

...should be changed to something like:

Compose uses python-dotenv to read the environment file. VAR="VAL", VAR='VAL', and VAR=VAL all resolve to the same. \n in double quotes ("\n") will be converted into a newline, but when \n is in single quotes ('\n') the literal characters \n will be preserved.

morty

comment created time in 8 days

issue commentdocker/compose

Change in the way quotes in env files are treated

With Docker Compose 2.0 on the way, it's good to be moving forward with python-dotenv, which makes it consistent with other tools.

morty

comment created time in 8 days

issue commentdocker/compose

Change in the way quotes in env files are treated

This changes from using a custom parser to using the dotenv library. I think the new behavior is better, but it appears to be labeled a "bug fix" in the changelog, and not called out as a breaking change. To be fair, it is a departure from .env, which is a standard, one that needs work, but still a standard.

@ndeloof are you using an old version of docker-compose? I read this issue wrong the first time. The "expected result" is that it carries the quotes to the environment variable, and the actual result is that it gets rid of the quotes, which is what I've come to expect. It does this by using the dotenv library.

morty

comment created time in 8 days

startedtc39/proposal-pattern-matching

started time in 8 days

startedsane-fmt/sane-fmt

started time in 9 days

push eventResourcesCo/macchiato

Benjamin Atkin

commit sha 7350cf70af9639e710d37bfcb27b4b88885b9738

add instructions to restore wp site

view details

Benjamin Atkin

commit sha 170727248a2f3e28b58cffa4aecbdffb63693255

add shell; automatically run on system startup

view details

Benjamin Atkin

commit sha 5f2962c0f2293de7fd59a75f05ab960148649850

work on new docker-compose setup

view details

push time in 9 days

startedpiyush-bhatt/crypto-random-string

started time in 9 days

startedkrustlet/krustlet

started time in 11 days

startedkdl-org/kdl

started time in 12 days

starteddenoland/rust-urlpattern

started time in 15 days

starteddrashland/deno-drash

started time in 15 days

push eventResourcesCo/macchiato

Benjamin Atkin

commit sha 8e71a20c3f84ccf25a691ad9ea63f3845a9b709d

run caddy with Docker Compose

view details

Benjamin Atkin

commit sha 212d2ddde181ad3b984b027e1cdf02a0206d29e4

add file notebook for setting up wordpress server

view details

push time in 16 days

pull request commentinvisal/god_crypto

fix TS2531 Object is possibly null

Seems like a solid addition to me!

Cliera

comment created time in 18 days

startedJuliaLang/julia

started time in 18 days

issue commentJuliaLang/julia

Negative indexing like R

It's arbitrary what Python does, but useful, and has expanded to other languages, the latest being JavaScript.

miguelmorin

comment created time in 18 days

push eventResourcesCo/macchiato

Benjamin Atkin

commit sha a4841f10228026dd010ab6f4305e3a1f27952064

add docker instructions to server/setup.md

view details

push time in 20 days

push eventResourcesCo/macchiato

Benjamin Atkin

commit sha 8032aa1a6af1f30790b148cb551a777ee65c93ad

add work in progress server setup instructions

view details

push time in 21 days

startedpanva/jose

started time in 22 days

created tagmacchiato-dev/md_unpack_simple

tag0.0.2

unpack files from a Markdown document

created time in 22 days

push eventmacchiato-dev/md_unpack_simple

Benjamin Atkin

commit sha 7f5390fdbc878d7a35e45691fca5cbf6ea8cd9a7

fix instructions in readme

view details

Benjamin Atkin

commit sha 91e1b32a70720697b4d5476fc462187757f52fa3

Merge branch 'fix-readme-instructions' into 'main' fix instructions in readme See merge request ResourcesCo/macchiato/md_unpack_simple!2

view details

push time in 22 days

created tagmacchiato-dev/md_unpack_simple

tag0.0.1

unpack files from a Markdown document

created time in 22 days

create barnchmacchiato-dev/md_unpack_simple

branch : main

created branch time in 22 days