profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/lgarron/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.

chromium/badssl.com 2126

:lock: Memorable site for testing clients against bad SSL configs.

github/renaming 2084

Guidance for changing the default branch name for GitHub repositories

chromium/permission.site 937

A site to test the interaction of web APIs and browser permissions.

chromium/hstspreload.org 582

:lock: Chromium's HSTS preload list submission website.

github/webauthn-json 369

🔏 A small WebAuthn API wrapper that translates to/from pure JSON using base64url.

chromium/hstspreload 94

🔒🔍 A Go package to scan sites against requirements for Chromium-maintained HSTS preload list.

cubing/cubing.js 54

🛠 A set of libraries for displaying and working with twisty puzzles. Current home to the code for Twizzle.

jkeesh/paperless 14

code commenting project for the cs198 program

jfly/tnoodle 9

tnoodle

cubing/scramble-display 6

🔀 An HTML library to display puzzle scrambles. No knowledge of Javascript required!

issue commentpreactjs/wmr

Private method support

Even explicitly installing acorn-private-methods doesn't seem to do anything. Is it possible that the published version isn't working properly?

I forgot, wmr is compiled to one file, so this is not relevant.

https://unpkg.com/wmr@3.4.1/wmr.cjs shows that parsePrivateClassElementName is in the compiled code, not sure why it's not working as expected: parsePrivateClassElementName

lgarron

comment created time in 5 minutes

issue commentpreactjs/wmr

Private method support

Thanks for filing an issue! Sounds like we missed a few plugins for recent JS features. I've made a PR for private class fields. Will try to go through other syntax additions in the next week 👍

woo Thanks for the fix, I was able to use a local wmr build (from the lovely instructions) to confirm it works.

So, using npm install wmr@latest I get wmr version 3.4.1, but it's still failing on #private methods like before. Even explicitly installing acorn-private-methods doesn't seem to do anything. Is it possible that the published version isn't working properly?

(Unfortunately, it's hard for me to look for a more direct repro, because npm init wmr project-name is not working for me.)

lgarron

comment created time in 27 minutes

issue commentnpm/cli

[BUG] npm install creates directories '$XDG_CACHE_HOME' and '$XDG_DATA_HOME'

@lgarron it'd be best if you filed a new issue, and confirmed on v7.20.1 (oops, i see you filed #3581)

Yep! As I mentioned there, the bug itself makes it difficult for me to install any different npm versions. :-(

aichingm

comment created time in 14 hours

issue openednpm/cli

[BUG] `npm install -g` and `npx` are

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

npm install -g creates a folder with the literal name ${XDG_DATA_HOME} in the current directory, and treats it as the data home dir.

Uploading 127120221-54e6ec3d-4a4c-4cd7-ac98-12b7f6f40c12.png…

Presumably something in the code is not escaping the variable properly under some conditions.

Note that I do have $XDG_HOME_DIR in my dotfiles and using launchctl. I have not been able to avoid the bug by un-setting the var.

This did not use to happen until the last few days. Unfortunately, this is rather annoying to debug because the bug itself specifically breaks global npm installation. So I can't run npm install -g npm@7.0.0 to get a proper install of v7.0.0, for example.

Expected Behavior

The command uses the value of the XDG_DATA_HOME env var or the default, without creating a dir named ${XDG_DATA_HOME}.

Steps To Reproduce

Run npm install -g or npx. For example:

npm install -g jq

Running npx jq also gives this error:

node:internal/modules/cjs/loader:930
  throw err;
  ^

Error: Cannot find module 'commander'
Require stack:
- /Users/lgarron/.cache/npm/_npx/db665b9ed68ddd8b/node_modules/jq/bin/jq
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:927:15)
    at Function.Module._load (node:internal/modules/cjs/loader:772:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (/Users/lgarron/.cache/npm/_npx/db665b9ed68ddd8b/node_modules/jq/bin/jq:7:15)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/lgarron/.cache/npm/_npx/db665b9ed68ddd8b/node_modules/jq/bin/jq'
  ]
}

I don't know how related it is, but it's what led me to observing the directory issue.

Environment

npm 7.19.1 node v16.5.0 macOS 11.5

created time in a day

issue commentnpm/cli

[BUG] npm install creates directories '$XDG_CACHE_HOME' and '$XDG_DATA_HOME'

I'm seeing a similar behaviour for npm 7.19.1.

Commands using -g create/use a folder in the current dir with the literal name ${XDG_DATA_HOME}

Screen Shot 2021-07-27 at 01 13 40

aichingm

comment created time in a day

push eventcubing/cubing.js

Lucas Garron

commit sha 107d137ade7cc27e3b322b20c706aeec524d189e

[Makefile] Fix `update-Makefile` to work in Codespaces.

view details

push time in a day

push eventlgarron/Makefile-scripts

Lucas Garron

commit sha c59008badef4163772457e7ed0ae40d9a5800e80

Change `update-Makefile` to handle non-Darwin `sed`.

view details

push time in a day

push eventcubing/cubing.js

Lucas Garron

commit sha 0f72af0073e37bb0f049d6e4b4e1a19c9ceab158

[Makefile] Update Twizzle site generation.

view details

push time in a day

create barnchcubing/cubing.js

branch : re-parcel

created branch time in 2 days

issue openedcubing/cubing.js

<twisty-alg-editor> Fix canonicalization on blur

When <twisty-alg-editor> loses focus it's supposed to canonicalize the alg (i.e. round-trip through pasting and back into a string.)

This isn't happening, as you can see by entering R U for the alg at https://alpha.twizzle.net/edit/ . The field stays yellow instead of updating the text to R U, although a page refresh will show that the alg has been canonicalized internally.

created time in 2 days

issue commentsnowpackjs/snowpack

[FEATURE] Allow optimizing build in watch mode.

This would be really handy.

We're using private methods, which are not yet available in stable versions of Safari and Firefox — in particular, not in any iOS browser. This is not an issue for production, but it prevents testing in those browsers during development. Once in a while it's very valuable to do that (especially for platform-specific bugs), and I can't seem to find a way to do it other than doing a full compilation.

pikadun

comment created time in 3 days

push eventcubing/cubing.js

Lucas Garron

commit sha d42fe776bde40eedf6dbbce91319a2335ac6e62c

[README.md] Link Twizzle image.

view details

push time in 3 days

push eventcubing/cubing.js

Lucas Garron

commit sha 88a5a5cb446025d9d809e0f43a34b86ab2d6f22a

[README.md] Update the splash image.

view details

push time in 3 days

startedlydell/json-stringify-pretty-compact

started time in 3 days

startedmaruohon/litematica

started time in 3 days

issue openedcubing/cubing.js

Add a manual deploy via GitHub Actions

In theory, we can just add an SSH key to GitHub actions, and deploy on any push and/or manual trigger.

However, there is no way to restrict what the deployment does. I'd like to do something safer. I have two options in mind right now:

  • Move to a different hosting provider that allows us to give access only to specific website folders.
  • Create a way for the Action to trigger a server-side pull of the build that is placed in a specific directory.

Dreamhost has worked well for us so far, though. Something like App Engine would be a good alternative, except it's painfully slow to deploy even when there are only a few file changes.

created time in 3 days

delete branch cubing/cubing.js

delete branch : devils-alg

delete time in 4 days

push eventcubing/cubing.js

Lucas Garron

commit sha 142b95d7a479af29c296987940602b4cae1b07f0

[experiments] Add Bruce's 2x2x2 Devil's alg.

view details

push time in 4 days

push eventcubing/cubing.js

Lucas Garron

commit sha 142b95d7a479af29c296987940602b4cae1b07f0

[experiments] Add Bruce's 2x2x2 Devil's alg.

view details

push time in 4 days

push eventcubing/cubing.js

Lucas Garron

commit sha 6abd0ae17bab2c0494537c21a30e3f8470807134

[experiments] Add Bruce's 2x2x2 Devil's alg.

view details

push time in 4 days

push eventcubing/cubing.js

push time in 4 days

push eventcubing/cubing.js

Lucas Garron

commit sha f36243fd061cf8cb5edbe623b0d58e47a275b45f

[experiments] Add Bruce's 2x2x2 Devil's alg.

view details

push time in 4 days

push eventcubing/cubing.js

Lucas Garron

commit sha f36243fd061cf8cb5edbe623b0d58e47a275b45f

[experiments] Add Bruce's 2x2x2 Devil's alg.

view details

push time in 4 days

create barnchcubing/cubing.js

branch : devils-alg

created branch time in 4 days

push eventcubing/cubing.js

Lucas Garron

commit sha 4283074613007febf7e048f9c747b1ffe13eb7ea

[README.md] Mention Twizzle.

view details

push time in 5 days

issue commentcubing/cubing.js

3D SVG for FTO only shows six faces

It's so cute!

Screen Shot 2021-07-22 at 20 43 19

Personally, I think reusing the vertex-centered views instead of a net might be nice. R and BR could even be joined at the edge to form a distorted net.

Screen Shot 2021-07-22 at 20 44 08

rokicki

comment created time in 5 days

delete branch cubing/cubing.js

delete branch : explorer-screenshots

delete time in 5 days

push eventcubing/cubing.js

Lucas Garron

commit sha 76bcdccd0012c042f51371c8afd68653fc9ebc02

[twizzle/explore] Add screenshot buttons.

view details

push time in 5 days

push eventcubing/cubing.js

Lucas Garron

commit sha 9eeb2f9e468eba7c68bd9a72f95c9431a25d9154

[twizzle/explore] Add screenshot buttons.

view details

push time in 5 days

push eventcubing/cubing.js

Lucas Garron

commit sha 85ed3e72416a170df0343a11b4396b0c0b3819be

[twizzle/explore] Add screenshot buttons.

view details

push time in 5 days