profile
viewpoint

dallonf/async-eval 10

Execute arbitrary JS with callbacks.

dallonf/because-i-can 3

Random scripts and apps built in times of need, boredom, and curiosity.

dallonf/bacon-grunt 1

Makes for tastier Gruntfiles

dallonf/causelang 1

A proof-of-concept programming language inspired by algebraic effects. Fully deterministic!

dallonf/gmtk2018-towercar 1

GMTK Game Jam 2018 entry

dallonf/advent-of-code-2017 0

My workspace for https://adventofcode.com/2017

dallonf/advent-of-code-2018 0

My workspace for https://adventofcode.com/2018

dallonf/apollo-cache-invalidation 0

Experimental cache invalidation tools for Apollo.

push eventdallonf/causelang

Dallon Feldner

commit sha 709ad56429c68750be5a066251a8d7fcbca646e1

Update counter example

view details

Dallon Feldner

commit sha 958efa3c37ce3637b48cfe020eea425c40dfea7f

Improve a couple of future examples

view details

push time in 9 days

push eventdallonf/causelang

Dallon Feldner

commit sha 3d1f52445662d5120a42e3187322e518974cbc8c

Can now define your own effects!

view details

push time in 9 days

push eventdallonf/causelang

Dallon Feldner

commit sha 90a699464c0b2fbad8e00979ad663de5c45972cc

Now support variables

view details

Dallon Feldner

commit sha e5c1985378bed3e53487d915a5b032bb7e5b79f1

Support closures

view details

Dallon Feldner

commit sha eafbd35cac50e76199f250259289344cac662f45

Analyzer can now make sure variables don't go out of scope

view details

Dallon Feldner

commit sha c78a102fd3227f94d6233af88cb45a576adc3019

Test for what I expect will be a common pattern Using effects and handlers in scope to mutate from within a closure

view details

push time in 9 days

push eventdallonf/causelang

Dallon Feldner

commit sha 46dcd96d26eaaa8a997dafcf46b3270006dc0951

Extremely rudimentary pattern matching

view details

Dallon Feldner

commit sha 34c34ade6bf56d9265b85c8b15c75b1c90b36709

Can now get a value out of a pattern

view details

Dallon Feldner

commit sha f13c6189244781e15e089efba44b31fbf2d2e32d

Can now assert the type in a pattern

view details

push time in 9 days

push eventdallonf/causelang

Dallon Feldner

commit sha a02396315520e581d46099093530c03dd5223082

Inline block statements

view details

Dallon Feldner

commit sha f1cb92b8dbaf417dcf22416af29075b8b682f595

Decided how inline effect handlers are going to work

view details

Dallon Feldner

commit sha 54f8d21d87baf914684c08063c1adf3158690456

Parse handlers

view details

Dallon Feldner

commit sha 022d719c91b96f134e458849646690a3983f7a4e

Effects can be handled!

view details

push time in 10 days

push eventdallonf/causelang

Dallon Feldner

commit sha aaae745ce1a2c7f50ba6af61136b3fad8d9b78e7

Merge pull request #1 from dallonf/develop Failing tests for the next round of updates

view details

Dallon Feldner

commit sha 8c363aea0a50259639707d020c6da482a21324ac

Merge remote-tracking branch 'origin/master' into develop

view details

Dallon Feldner

commit sha 873faeacdd017bbfc2f476c21bce6c75e8825581

Use string IDs instead of symbols

view details

Dallon Feldner

commit sha 929697694140fbb268bf751c1ba538867c97b181

Log->Print

view details

Dallon Feldner

commit sha 8d10eaad5a80664f4a571917c2136972bf779c3e

Update CLI

view details

push time in 10 days

delete branch dallonf/dragonpen-journal

delete branch : dependabot/npm_and_yarn/journaling-server/object-path-0.11.5

delete time in 11 days

push eventdallonf/dragonpen-journal

dependabot[bot]

commit sha 4265a8638a80473fb7f728b4c5c73c1e84fd24ee

Bump object-path from 0.11.4 to 0.11.5 in /journaling-server Bumps [object-path](https://github.com/mariocasciaro/object-path) from 0.11.4 to 0.11.5. - [Release notes](https://github.com/mariocasciaro/object-path/releases) - [Commits](https://github.com/mariocasciaro/object-path/commits) Signed-off-by: dependabot[bot] <support@github.com>

view details

Dallon Feldner

commit sha 4ad9b87101047d9e6a35472fc9c62048a97b3d92

Merge pull request #17 from dallonf/dependabot/npm_and_yarn/journaling-server/object-path-0.11.5 Bump object-path from 0.11.4 to 0.11.5 in /journaling-server

view details

push time in 11 days

PR merged dallonf/dragonpen-journal

Bump object-path from 0.11.4 to 0.11.5 in /journaling-server dependencies

Bumps object-path from 0.11.4 to 0.11.5. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/mariocasciaro/object-path/commits">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+7592 -7592

1 comment

1 changed file

dependabot[bot]

pr closed time in 11 days

push eventdallonf/causelang

Dallon Feldner

commit sha 8540e44e64303b3a97b08522436218399d60d8da

Basic I/O

view details

Dallon Feldner

commit sha eb9e4486db9ba730efb02aa237cc0f95553b666e

Two failing tests for my next direction

view details

Dallon Feldner

commit sha 7604575815fb2a38ccce397efecdac0f69fcac1c

No more unary call expressions!

view details

Dallon Feldner

commit sha fd0c04bf4e264c59fe1da35e02be13e032954abd

Major refactor of libraries

view details

Dallon Feldner

commit sha d5161b7bbd1a23dd42ed3512e652f90a7b117f97

Updated CLI to fit new Library API

view details

Dallon Feldner

commit sha 8ac0a5d5c8e59bb75e2283e5b4f0809a0eefc161

Can now integrated core functions into the language

view details

Dallon Feldner

commit sha 510be6fef4ba0a649ff40a3a9c19685a2b913bea

Named values!

view details

Dallon Feldner

commit sha 78f703411ecfd2ca5e6c67a195dc01ab06971998

Document language updates

view details

Dallon Feldner

commit sha d068a6709b8e5b18826b308fc9dd5b3ef753b54e

Merge pull request #2 from dallonf:develop IO and named values

view details

push time in 23 days

PR merged dallonf/causelang

IO and named values
+673 -369

0 comment

23 changed files

dallonf

pr closed time in 23 days

PR opened dallonf/causelang

IO and named values
+673 -369

0 comment

23 changed files

pr created time in 23 days

push eventdallonf/causelang

Dallon Feldner

commit sha 510be6fef4ba0a649ff40a3a9c19685a2b913bea

Named values!

view details

Dallon Feldner

commit sha 78f703411ecfd2ca5e6c67a195dc01ab06971998

Document language updates

view details

push time in 23 days

push eventdallonf/causelang

Dallon Feldner

commit sha fd0c04bf4e264c59fe1da35e02be13e032954abd

Major refactor of libraries

view details

Dallon Feldner

commit sha d5161b7bbd1a23dd42ed3512e652f90a7b117f97

Updated CLI to fit new Library API

view details

Dallon Feldner

commit sha 8ac0a5d5c8e59bb75e2283e5b4f0809a0eefc161

Can now integrated core functions into the language

view details

push time in 24 days

push eventdallonf/causelang

Dallon Feldner

commit sha 7604575815fb2a38ccce397efecdac0f69fcac1c

No more unary call expressions!

view details

push time in a month

push eventdallonf/causelang

Dallon Feldner

commit sha 8540e44e64303b3a97b08522436218399d60d8da

Basic I/O

view details

Dallon Feldner

commit sha eb9e4486db9ba730efb02aa237cc0f95553b666e

Two failing tests for my next direction

view details

push time in a month

create barnchdallonf/causelang

branch : develop

created branch time in a month

delete branch dallonf/causelang

delete branch : develop

delete time in a month

push eventdallonf/causelang

Dallon Feldner

commit sha 9034c7921ec95ae60daac573f924a60380e34f89

Failing tests for the next round of updates

view details

Dallon Feldner

commit sha d151759f7a32fe16878d828aad09fbad0dd1ba63

Functions work now!

view details

Dallon Feldner

commit sha aaae745ce1a2c7f50ba6af61136b3fad8d9b78e7

Merge pull request #1 from dallonf/develop Failing tests for the next round of updates

view details

push time in a month

PR opened dallonf/causelang

Failing tests for the next round of updates
+39 -0

0 comment

2 changed files

pr created time in a month

push eventdallonf/causelang

Dallon Feldner

commit sha d151759f7a32fe16878d828aad09fbad0dd1ba63

Functions work now!

view details

push time in a month

PublicEvent

push eventdallonf/causelang

Dallon Feldner

commit sha 9034c7921ec95ae60daac573f924a60380e34f89

Failing tests for the next round of updates

view details

push time in a month

push eventdallonf/causelang

Dallon Feldner

commit sha ded16256d2413ee03afe864b1b680647037f1899

Support unary call syntax

view details

Dallon Feldner

commit sha 39a2ee824d56657719bcd190fc3146b3122e3799

Less duplication in unary call handling

view details

push time in a month

create barnchdallonf/causelang

branch : develop

created branch time in a month

PublicEvent

startedarackaf/micro-graphql-react

started time in a month

issue commentapollographql/apollo-client

refetch does not replace the original cache

I used cache.modify to delete data, which caused the data in the React component to immediately disappear, as expected. Calling refetch caused a network request, but the data never made it back to the component - or, based on my logs, even to the merge function of the field that was deleted. writeQuery had similar results.

linxianxi

comment created time in 2 months

issue commentapollographql/apollo-client

refetch does not replace the original cache

fetchMore is indeed a good workaround - but something is seriously bugged with refetch!

linxianxi

comment created time in 2 months

PR closed facebook/create-react-app

Reviewers
Fix babel preset useESModules option CLA Signed tag: breaking change tag: enhancement

Currently, useESModules only affects @babel/plugin-transform-runtime (so the compiled code does not reference ESM versions of @babel/runtime). This is somewhat misleading, since the resulting code will still contain ES Module syntax if the source uses it.

With this update, useESModule: false really means that the resulting code will not contain ES Module syntax.

I tested this locally in my company's fork of create-react-app.

+2 -1

9 comments

1 changed file

dallonf

pr closed time in 2 months

pull request commentfacebook/create-react-app

Fix babel preset useESModules option

I'm gonna go ahead and close this because I simply don't remember the context well enough to resolve the conflicts. Sorry for all the going in circles here!

dallonf

comment created time in 2 months

issue openedemiyl/dumpling

Disc dump doesn't give option to dump to USB drive

I don't have enough room on my SD card for this game, so I'd like to dump it to my USB drive. But selecting the option to dump a disc just goes straight to dumping to the SD card without giving the options for where to put it like dumping digital games does.

created time in 2 months

issue commentapollographql/apollo-client

TypePolicies read returning nonexistent reference returns {} instead of query result

This looks like a helpful workaround, but I believe the behavior is incorrect. In this case, it is making a network request for the missing data, but still returning the dangling reference via useQuery (with a result of {}).

dallonf

comment created time in 2 months

issue openedapollographql/apollo-client

TypePolicies read returning nonexistent reference returns {} instead of query result

<!-- Thanks for filing an issue on Apollo Client!

Please make sure that you include the following information to ensure that your issue is actionable.

If you don't follow the template, your issue may end up being closed without anyone looking at it carefully, because it is not actionable for us without the information in this template.

PLEASE NOTE: Feature requests and non-bug related discussions are no longer managed in this repo. Feature requests should be opened in https://github.com/apollographql/apollo-feature-requests. -->

Intended outcome:

Was trying to follow the docs for cache redirects using field policy read functions. As an example:

const client = new ApolloClient({
  cache: new InMemoryCache({
    typePolicies: {
      Query: {
        fields: {
          personByIdWithTypePolicies: {
            read: (q, { args, toReference }) => {
              return toReference({
                __typename: "Person",
                id: args.id
              });
            }
          }
        }
      }
    }
  }),
  link
});

Actual outcome:

When the given ID does not correspond to an object that exists, the result given by the cache is {} instead of falling back to the query result of null.

For the given query (personById and personByIdWithTypePolicies are implemented exactly the same in the schema, but the latter uses the above type policy):

  query TestPeople {
    person: personById(id: "1") {
      id
      name
    }
    personWithTypePolicies: personByIdWithTypePolicies(id: "1") {
      id
      name
    }
    missingPerson: personById(id: "1000") {
      id
      name
    }
    missingPersonWithTypePolicies: personByIdWithTypePolicies(id: "1000") {
      id
      name
    }
  }

The result is:

{
    "person": {
      "__typename": "Person",
      "id": "1",
      "name": "John Smith"
    },
    "personWithTypePolicies": {
      "__typename": "Person",
      "id": "1",
      "name": "John Smith"
    },
    "missingPerson": null,
    "missingPersonWithTypePolicies": {}
}

I would expect the last item to be "missingPersonWithTypePolicies": null, because that's what came back from the schema.

<!-- A description of what actually happened, including a screenshot or copy-paste of any related error messages, logs, or other output that might be related. Places to look for information include your browser console, server console, and network logs. Please avoid non-specific phrases like “didn’t work” or “broke”. -->

How to reproduce the issue: <!-- If possible, please create a reproduction using https://github.com/apollographql/react-apollo-error-template and link to it here. If you prefer an in-browser way to create reproduction, try: https://codesandbox.io/s/github/apollographql/react-apollo-error-template

Instructions for how the issue can be reproduced by a maintainer or contributor. Be as specific as possible, and only mention what is necessary to reproduce the bug. If possible, try to isolate the exact circumstances in which the bug occurs and avoid speculation over what the cause might be. -->

Here is a CodeSandbox repro containing and demonstrating the above examples: https://codesandbox.io/s/confident-swartz-psh7v

Versions

(This is from my local environment where I first detected the issue, not the CodeSandbox above. If it matters, I'm using Ubuntu within WSL 2 for Windows.)

  System:
    OS: Linux 4.19 Ubuntu 20.04 LTS (Focal Fossa)
  Binaries:
    Node: 14.5.0 - ~/.nvm/versions/node/v14.5.0/bin/node
    Yarn: 1.22.4 - ~/devroot/journaling/journaling-client/node_modules/.bin/yarn
    npm: 6.14.5 - ~/.nvm/versions/node/v14.5.0/bin/npm
  npmPackages:
    @apollo/client: ^3.1.3 => 3.1.3
    apollo: ^2.30.2 => 2.30.2

<!-- Run the following command in your project directory, and paste its (automatically copied to clipboard) results here:

npx envinfo@latest --preset apollo --clipboard -->

created time in 3 months

PR closed dallonf/react-static-img-repro

Bump elliptic from 6.5.1 to 6.5.3 dependencies

Bumps elliptic from 6.5.1 to 6.5.3. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/indutny/elliptic/commit/8647803dc3d90506aa03021737f7b061ba959ae1"><code>8647803</code></a> 6.5.3</li> <li><a href="https://github.com/indutny/elliptic/commit/856fe4d99fe7b6200556e6400b3bf585b1721bec"><code>856fe4d</code></a> signature: prevent malleability and overflows</li> <li><a href="https://github.com/indutny/elliptic/commit/60489415e545efdfd3010ae74b9726facbf08ca8"><code>6048941</code></a> 6.5.2</li> <li><a href="https://github.com/indutny/elliptic/commit/9984964457c9f8a63b91b01ea103260417eca237"><code>9984964</code></a> package: bump dependencies</li> <li><a href="https://github.com/indutny/elliptic/commit/ec735edde187a43693197f6fa3667ceade751a3a"><code>ec735ed</code></a> utils: leak less information in <code>getNAF()</code></li> <li>See full diff in <a href="https://github.com/indutny/elliptic/compare/v6.5.1...v6.5.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

0 comment

1 changed file

dependabot[bot]

pr closed time in 3 months

more