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

fritzy/SleekXMPP 1120

Python 2.6+/3.1+ XMPP Library

erdtman/cose-js 16

JavaScript implementation of COSE

frostney/grunt-codo 8

Grunt task for generating codo documentation

hildjj/adhocnet 7

Create an adhoc network from the command line on OSX 10.11

bcoe/optional-dev-dependency 4

:sunglasses: try to install an optional development dependency, YOLO if you can't.

bifurcation/rocket-skates 1

A light, fast ACME implementation

hildjj/blinkrez 1

Asynch DNS resolution and Happy Eyeballs library

hildjj/bson 1

Independent BSON codec for Python that doesn't depend on MongoDB.

hildjj/cbor-wasm 1

CBOR decoder with the hard bits in WASM

hildjj/chained-emitter 1

A nodejs event emitter implementation with namespaces, wildcards, TTL and browser support

issue commenthildjj/node-cbor

MAXINT64: BigInt('0xffffffffffffffff') crashes on React-Native

The quickest fix, assuming that big-integer refuses to fix this, is to write a wrapper function, and register that as BigInt in your bundler:

const bi = require('big-integer')

function myBigInt(value) {
  if (typeof value === 'string') {
    let match = value.match(/^0([xo])([0-9a-f]+)/i)
    if (match) {
      return bi(match[2], match[1].toLowerCase() === 'x' ? 16 : 8)
    }
  }
  return bi(value)
}

console.log(myBigInt('0xffffffffffffffff'))
console.log(myBigInt('0o7777777777777777'))
console.log(myBigInt('10'))
vitorpamplona

comment created time in 14 hours

issue commenthildjj/node-cbor

MAXINT64: BigInt('0xffffffffffffffff') crashes on React-Native

https://github.com/peterolson/BigInteger.js/issues/205 was closed wontfix. We may be at an impasse, because BigInt("ffffffffffffffff", 16) doesn't work.

vitorpamplona

comment created time in 15 hours

issue commenthildjj/node-cbor

MAXINT64: BigInt('0xffffffffffffffff') crashes on React-Native

Oh, I get it. bit-integer looks to see if the number fits in 32 bits using (effectively) Math.floor(n) === n. If not, it can't parse hex numbers. That's a bug in their library, since their regex doesn't match https://tc39.es/ecma262/multipage/abstract-operations.html#prod-StringNumericLiteral

vitorpamplona

comment created time in 15 hours

issue commenthildjj/node-cbor

MAXINT64: BigInt('0xffffffffffffffff') crashes on React-Native

That error doesn't make much sense. Either BigInt is defined, or it's not. Try console.log(globalThis.BigInt). You should get something like [Function: BigInt]

vitorpamplona

comment created time in 16 hours

issue commenthildjj/node-cbor

MAXINT64: BigInt('0xffffffffffffffff') crashes on React-Native

Also, what error are you getting?

vitorpamplona

comment created time in 17 hours

issue commenthildjj/node-cbor

MAXINT64: BigInt('0xffffffffffffffff') crashes on React-Native

Are BigInt's actually signed 64-bit integers in react native? What happens if you change that to 0x7fffffffffffffff?

vitorpamplona

comment created time in 17 hours

PR closed peggyjs/peggy

Bump tmpl from 1.0.4 to 1.0.5 dependencies

Bumps tmpl from 1.0.4 to 1.0.5. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/daaku/nodejs-tmpl/commits/v1.0.5">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

1 comment

1 changed file

dependabot[bot]

pr closed time in a day

created taghildjj/ctoaf-eslint-config

tagv0.0.10

hildjj' lint rules

created time in 3 days

push eventhildjj/ctoaf-eslint-config

Joe Hildebrand

commit sha 6b23062f3f986bff43867a946d04c73d995029f4

0.0.10

view details

push time in 3 days

push eventhildjj/ctoaf-eslint-config

Joe Hildebrand

commit sha 5455d4979bc8048f891a57c40ce86fc5bd72a67a

Turn off no-undef-init

view details

push time in 3 days

push eventhildjj/ctoaf-eslint-config

Joe Hildebrand

commit sha 3e1192b29253ad3e79662af9fb1fc85a8d930b10

0.0.9

view details

push time in 3 days

created taghildjj/ctoaf-eslint-config

tagv0.0.9

hildjj' lint rules

created time in 3 days

push eventhildjj/ctoaf-eslint-config

Joe Hildebrand

commit sha 7bbc508ef8ce132a6329a8de7d9258e896720947

Update to latest ava plugin. Add curly-spacing rule.

view details

push time in 3 days

create barnchhildjj/dohdec

branch : cli-testable

created branch time in 4 days

issue openedhildjj/dohdec

Add -x support

reverse bytes, do a PTR lookup. make sure ipv6 works.

created time in 8 days

delete branch hildjj/dohdec

delete branch : types

delete time in 8 days

issue commenthildjj/node-cbor

The number -2^53 should be encoded as a float, not an integer

willfix, thanks for the clear writeup.

joeltg

comment created time in 9 days

issue commenttj/commander.js

Add support for config files

+1 to package.json. I think it goes between 2 & 3.

+1 to yaml being possible. Allowing for custom parsers is better than taking a dependency to do yaml out of the box, imo.

I don't think that env variables should always change the help to show a different default. If you go out of your way like @jakobrosenberg did in his example, you can work around that somewhat. Also, in that example, if your config file is .js, you can do the NODE_ENV check in there and just have one file. I get that only solves that one particular case, but it's something to remember; we don't have to provide ultimate flexibility in places where the user can use JS to customize.

Mingun

comment created time in 9 days

issue commenttj/commander.js

Add support for config files

Just so we're looking at the whole problem at once, here is a list of all of the places that config information might come from in a full-featured CLI, in order of increasing precedence. Everywhere I say FILE, i mean myCli.js, myCli.cjs, myCli.mjs, or myCli.json, and there might be a built-in mechanism to extend configs contained in other packages:

  1. Built-in defaults, which might be system-dependent (e.g. the NODE_ENV example above)
  2. $XDG_CONFIG_HOME/myCli/FILE no error on file not existing, error if not readable, can't be parsed, or invalid option
  3. ../FILE (etc. Keep going until root directory, or you find one). Maybe allow for a root = true like eslint. Files closer to pwd take precedence. Some use cases might not want the searching.
  4. --config FILE on command line (this might turn off directory searching). Error if file does not exist.
  5. $MYCLI_[var] environment variables
  6. Command line

For each bit of config found, it needs to be carefully combined with the existing set, depending on type. Simple types like bool, string, and choices overwrite. Counts are specified as numbers in files, then overwrite. Variadic options get concatenated. Coerced options run through the (value, previous) => handler. There are probably a few other edge cases.

Note that a program might want to opt out of or into any of these (except the command line, I guess. :) ).

Mingun

comment created time in 10 days

delete branch hildjj/bidding

delete branch : 1n2s

delete time in 11 days

PR merged hildjj/bidding

Add minor suit transfers
+37 -11

0 comment

2 changed files

hildjj

pr closed time in 11 days

push eventhildjj/bidding

Joe Hildebrand

commit sha 5b3673e4f37685f96101b9942a2249d689108fc0

Add minor suit transfers

view details

Joe Hildebrand

commit sha be1e467d254c7dee9e8e1d4c0e6fede247d95f23

Clarification on 1N-2C-2H-2S

view details

Joe Hildebrand

commit sha b09e987d8c3d3a8814230872a4271b36dabe6c5e

Add a few alert indicators

view details

Joe Hildebrand

commit sha 2304e7a7bda7756a1d645b588b3fbd829f92cbbc

Merge pull request #5 from hildjj/1n2s Add minor suit transfers

view details

push time in 11 days

push eventhildjj/bidding

Joe Hildebrand

commit sha b09e987d8c3d3a8814230872a4271b36dabe6c5e

Add a few alert indicators

view details

push time in 11 days

issue openedhildjj/dohdec

Manual verbosity

Get rid of the restart approach and use got hooks.

created time in 12 days

issue commenthildjj/dohdec

Add support for https/2

I just switched out to got, so I think this should be a minor tweak now.

hildjj

comment created time in 12 days

PR merged hildjj/dohdec

Types

Add type info. Switch to modules. Switch to got from node-fetch. Add coverage. Ensure docs are up to date.

+5233 -3887

0 comment

30 changed files

hildjj

pr closed time in 12 days

push eventhildjj/dohdec

Joe Hildebrand

commit sha 0d83cafe5e89c9def54baa642e2e8a121d5e5dbe

First pass at types. Need to switch to modules to finish.

view details

Joe Hildebrand

commit sha c7af24df9ab8db0ae0779449104257e5804f5844

Move to modules

view details

Joe Hildebrand

commit sha 9267b604db10e27799636b2ab4647c8d9b10c564

Switch grom node-fetch to got

view details

Joe Hildebrand

commit sha b3ed796754c7a2eb7e0c19e81742059f0d3183e5

Add coverage

view details

Joe Hildebrand

commit sha 4268593cbdc2f2af4d6287e0888f411968612a50

Merge pull request #21 from hildjj/types Types

view details

push time in 12 days

PR opened hildjj/dohdec

Types

Add type info. Switch to modules. Switch to got from node-fetch. Add coverage. Ensure docs are up to date.

+5233 -3887

0 comment

30 changed files

pr created time in 12 days

push eventhildjj/dohdec

Joe Hildebrand

commit sha b3ed796754c7a2eb7e0c19e81742059f0d3183e5

Add coverage

view details

push time in 12 days

push eventhildjj/bidding

Joe Hildebrand

commit sha be1e467d254c7dee9e8e1d4c0e6fede247d95f23

Clarification on 1N-2C-2H-2S

view details

push time in 12 days