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

lucidsoftware/neo-sbt-scalafmt 154

Scalafmt SBT plugin

pauldraper/aws-aurora-sql 19

Comparison of AWS Aurora MySQL & PostgreSQL

pauldraper/architecture 2

A simple game for recreating famous ancient buildings

pauldraper/game-plus 2

Infrastructure for turned-based games

pauldraper/advent-of-code-2020 1

Advent of Code 2020 solutions

pauldraper/american-coronavirus 0

Coronavirus in the United States of America

pauldraper/angular-contrib 0

Community extension to Angular framework

push eventpauldraper/rivet-api

Paul Draper

commit sha 30495dfaedd8e6fe29c88351a106f310d224db0f

Update

view details

push time in 2 days

create barnchpauldraper/rivethealth-api

branch : main

created branch time in 2 days

created repositorypauldraper/rivethealth-api

created time in 2 days

startedtc39/proposal-js-module-blocks

started time in 8 days

issue commentSeleniumHQ/selenium

Make Node.js browser creation non-blocking

Well, this communication has officially exceeded the time that it's worth.

Enjoy your hung Node.js processes.

pauldraper

comment created time in 9 days

issue openedSeleniumHQ/selenium

Make Node.js browser creation non-blocking

Re-opened from #9706

Feature Proposal

Make Builder.prototype.build asynchronous.

Motivation

Currently, creating browsers limits concurrency, which is a performance problem.

Exacerbating the problem is the lack of timeout when creating browsers. Creating a browser can literally hang the entire process forever.

Example

const builder = new Builder()
const driver = await builder.build();

This request isn't about any change to the WebDriver protocol.

Rather, it's a change the Node.js SDK, to not hang on browser creation.

created time in 9 days

issue commentfacebook/jest

What is the official way to run jest programmatically?

See https://github.com/facebook/jest/issues/9233 for a request for custom instrumentations.

IgorAufricht

comment created time in 9 days

issue commentbazelbuild/bazel

Can toolchains of cc_library be used to specify a compilation toolchain for a target?

please discuss this with the CC rules team

I don't see anything here that's inherently specific to C++ rules. It's a fundamental aspect of the toolchain paradigm.

I would like to understand the canonical way for rules to influence toolchain selection. For example, a library that is only compatible with glibc.

Constraints is poor solution, as it prevents the targets from being in the same build, which limits flexibility. For example, a binary that is used as a tool for another target.

Of course, you can just avoid using toolchains altogether, and use explicit rule inputs instead. But Bazel is really trying to push this global toolchain thing.

ax7476

comment created time in 9 days

issue commentbazelbuild/bazel

Allow multiple executables (w/ runfiles) from in a single rule

you are setting up a toolchain

AFAIK toolchains are global. E.g. I can't have one, say compiler version, for target A and another for target B.

pauldraper

comment created time in 9 days

issue closedbazelbuild/bazel

Allow multiple executables (w/ runfiles) from in a single rule

Description of the problem / feature request:

Feature: Allow creating multiple executablew (with runfile trees) within a single rule.

Feature requests: what underlying problem are you trying to solve with this feature?

Example: I want a rule that set up multiple related tools for a language.

example_tools(
  name = ":example",
  lib = "@example_1_0_0//:lib",
)

And this would provide ExampleToolsInfo:

ExampleToolsInfo = provider(
  fields = {
    "compiler": "Compiler", # executable
    "format": "Format", # executable
    "linker": "Linker", # executable
    "lint": "Lint" # executable
)

The ExampleToolsInfo would be used by various language-specific rules.


However, rules can only produce a single executable and runfile tree.

Current workarounds:

  1. Create a separate rule for each. Cumbersome for the user. A macro could solve that, but has the usual downsides of macros.
  2. Use self-contained executables. Not easily for many runtimes.
  3. Combine all executables into one (example compile, example format, etc.). Extra work. Contradicts the principle of minimal inputs.
  4. Include a pseudo-runfiles abstraction that downstream actions use. Awkwardly reimplements something that Bazel already has support for. Makes ad-hoc testing of the tools more involved.

Have you found anything relevant by searching the web?

There's a Google Groups thread where I discover this limitation, but I can't find it now.

closed time in 9 days

pauldraper

issue commentbazelbuild/bazel

Allow multiple executables (w/ runfiles) from in a single rule

Well that's embarrassing.

pauldraper

comment created time in 9 days

issue openedbazelbuild/bazel

Allow multiple executables (w/ runfiles) from in a single rule

Description of the problem / feature request:

Feature: Allow creating multiple executablew (with runfile trees) within a single rule.

Feature requests: what underlying problem are you trying to solve with this feature?

Example: I want a rule that sets up multiple related build tools for a language.

example_tools(
  name = ":example",
  lib = "@example_1_0_0//:lib",
)

And this would provide ExampleToolsInfo:

ExampleToolsInfo = provider(
  fields = {
    "compiler": "Compiler", # executable
    "format": "Format", # executable
    "linker": "Linker", # executable
    "lint": "Lint" # executable
)

The ExampleToolsInfo would be used by various language-specific rules.


However, rules can only produce a single executable and runfile tree.

Current workarounds:

  1. Create a separate rule for each. Cumbersome for the user. A macro could solve that, but has the usual downsides of macros.
  2. Combine all executables into one (example compile, example format, etc.). Extra work. Contradicts the principle of minimal inputs.
  3. Include a pseudo-runfiles abstraction that downstream actions use. Awkwardly reimplements something that Bazel already has support for. Makes ad-hoc testing of the tools more involved.

Have you found anything relevant by searching the web?

There's a Google Groups thread where I discover this limitation....I can't find it now.

created time in 10 days

issue commentangular/angular

elements schema: detect invalid events

@crisbeto what is a "custom event"? Is that like a "custom input"?

pkozlowski-opensource

comment created time in 13 days

push eventrivethealth/denorm

Paul Draper

commit sha 4cdbefbf9c2902ee62e81e3b4515408479d569da

Improve join documentation

view details

push time in 15 days

push eventrivethealth/mllp-http

Ivan Pereira

commit sha 3e54b74175fd89b1d95934af65e1b7893cef9ed0

adds X-API-KEY header

view details

Ivan Pereira

commit sha a2c527ece4159c6b3e9ab19b13475be86df30921

fixes null headers

view details

Paul Draper

commit sha 65e896ec3cb7ed030bb320d0b9db2ceadceec943

Merge pull request #7 from ivanrvpereira/master adds X-API-KEY header to mllp2http

view details

push time in 20 days

PR merged rivethealth/mllp-http

adds X-API-KEY header to mllp2http

I want to authenticate an application rather than a user, so I just add another environment variable to allow setting an API_KEY. I used the header X-API-KEY, as defined in the OpenApi specification.

+7 -3

2 comments

3 changed files

ivanrvpereira

pr closed time in 20 days

pull request commentrivethealth/mllp-http

adds X-API-KEY header to mllp2http

FWIW, X-API-KEY isn't specifically endorsed by OpenAPI. It just happens to be a common choice that to AWS API Gateway's braindead decision not to use standard Authorization header.

There are an infinite number of possible HTTP tweaks that could be made. At some point, you could choose to run an Nginx proxy to manipulate the request.

But I agree this would be a common, handy feature.

ivanrvpereira

comment created time in 20 days

issue commenthashicorp/terraform-provider-aws

Better Lambda error

@mac-transamerica FWIW the linked problem was using IAM Role name instead of IAM Role ARN.

I can't remember what my error was.

pauldraper

comment created time in 20 days

push eventrivethealth/slice-db

Paul Draper

commit sha 1db54f35b786e351b934d5575c5d42bfda0d710b

Fix GeozipTransform

view details

push time in 23 days

push eventrivethealth/slice-db

Paul Draper

commit sha f06233f6ac5ae4ea0eb0a0b7e2ed4be6f0bf369b

Fix WordTransform

view details

push time in 24 days

issue commentangular/angular

Forms: Unified Control State Change Events

It has now been well over a month since @dylhunn closed the working 40-line #32806 , saying "I will likely design and implement this in the next few weeks."

I am so excited to see what the Angular team has to offer.

dylhunn

comment created time in 24 days

push eventrivethealth/slice-db

Paul Draper

commit sha a128bcf92462c37ad518a0723441047411d08e36

Remove pkg_resources

view details

push time in 24 days

created tagrivethealth/slice-db

tagv5.0.0

Capture, scrub, and restore subsets of PostgreSQL databases.

created time in 24 days

push eventrivethealth/slice-db

Paul Draper

commit sha ab9ab3b5913365ae1aad6a025df91e1092b6179e

Version 5.0.0

view details

push time in 24 days

push eventrivethealth/slice-db

Paul Draper

commit sha 454f500f4cf914a658d13a54e5bdda1ff0576988

Refactor transforms

view details

push time in 24 days

push eventrivethealth/slice-db

Paul Draper

commit sha 62492d45cbee2e836afeae8077fa570b72fee2b3

Refactor transforms

view details

push time in 24 days

issue openedh2non/jsonpath-ng

Removed "forked" Github status

Github forked repositories are 2nd class citizens. E.g. code search is completely non-functional.

I suggest removing the forked status.

https://stackoverflow.com/a/16052845/1212596

created time in 25 days

create barnchpauldraper/relasticsearch-cli

branch : master

created branch time in a month

created repositorypauldraper/relasticsearch-cli

created time in a month

push eventrivethealth/slice-db

Paul Draper

commit sha 213ba52cd0e7e20bc953664f2d0de458e4412357

Fix empty case-insensitive text

view details

push time in a month