Daniel Cousens

Results 526 comments of Daniel Cousens
trafficstars

@fanatid I suppose so, assuming error messages are being matched exactly. If we just did: ``` throw new Error('Non-base' + BASE + ' character') ``` to ``` throw new Error('Non-base'...

See the `name` parameter approach I might take in https://github.com/cryptocoinjs/base-x/pull/42

Alternatively, following the "shadow topic" idea by @binwiederhier, you could support for example - to publish, `https://ntfy.sh/sw/foobar` - to subscribe, `https://ntfy.sh/sr/c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2`. The hex string `c3ab...` represents the sha256 hash of...

Preferably, you should be able to provide a custom CA certificate to the application itself, preventing it from accepting connections to anything else. The equivalent of `--cacert` for `curl`. I...

I think reasoning about `local` or `UTC` is confusing. It is a `Date`, with it's semantics. How about the following? ### shiftDateTo(date, timeZone) Shift `date` such that `date.valueOf` is changed...

@kroleg I'll try and outline a few scenarios. ##### Scenario 1 Imagine we have a server in `Asia/Tokyo`, and a user in `Australia/Sydney`. I want to see if their last...

@kroleg `11:00` is an `Invalid Date`. I don't always use today's calendar date. I don't want to transform a `Date` instance to a `string` accounting for local time myself. I...

You actually haven't provided 2 solutions, you've merely pointed at a string-parsing equivalent of `shiftDateTo` and claimed it can resolve both problem(s). Please post a working solution for when you...

> Most notably date picker elements often take Date instances as input/output, so it must be possible to work with Dates. I somehow failed to convey that this is exactly...