I hereby claim:
- I am pwais on github.
- I am pwais (https://keybase.io/pwais) on keybase.
- I have a public key whose fingerprint is 54CB 7156 C934 C6C2 570B A4CC D13B 0C1F F9D5 E8AF
To claim this, I am signing this object:
| if __name__ == "__main__": | |
| import autogen | |
| log.info(f"Using autogen {autogen.__version__}") | |
| # https://microsoft.github.io/autogen/0.2/docs/tutorial/tool-use | |
| from typing import Annotated, Literal | |
| Operator = Literal["+", "-", "*", "/"] | |
| def calculator(a: int, b: int, operator: Annotated[Operator, "operator"]) -> int: |
| def print_sensor_sample_rates(self, scene_names=None): | |
| if not scene_names: | |
| scene_names = [s['name'] for s in self.scene] | |
| scene_names = set(scene_names) | |
| def to_sec(timestamp): | |
| # NuScenes and Lyft Level 5 timestamps are in microseconds | |
| return timestamp * 1e-6 | |
| scene_tokens = set( |
| $ python | |
| Python 2.7.12 (default, Nov 12 2018, 14:36:49) | |
| [GCC 5.4.0 20160609] on linux2 | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> import random | |
| >>> random.seed(100) | |
| >>> random.choice(range(1000)) | |
| 145 | |
| >>> exit() | |
| $ lsb_release -a |
| diff --git a/test-suite/generated-src/cpp/assorted_primitives.hpp b/test-suite/generated-src/cpp/assorted_primitives.hpp | |
| index 893121a..7a63774 100644 | |
| --- a/test-suite/generated-src/cpp/assorted_primitives.hpp | |
| +++ b/test-suite/generated-src/cpp/assorted_primitives.hpp | |
| @@ -4,7 +4,7 @@ | |
| #pragma once | |
| #include <cstdint> | |
| -#include <experimental/optional> | |
| +#include <optional.hpp> |
| diff --git a/test-suite/java/build.xml b/test-suite/java/build.xml | |
| index 6e76e65..a87ecac 100644 | |
| --- a/test-suite/java/build.xml | |
| +++ b/test-suite/java/build.xml | |
| @@ -6,7 +6,7 @@ | |
| <arg value="libDjinniTestNative.dylib"/> | |
| </exec> | |
| <mkdir dir="classes"/> | |
| - <javac destdir="classes"> | |
| + <javac encoding="UTF-8" destdir="classes"> |
| Exception while invoking method 'login' Error: Match error: Expected string, got object in field name | |
| at checkSubtree (packages/check/match.js:159:1) | |
| at packages/check/match.js:296:1 | |
| at Function._.each._.forEach (packages/underscore/underscore.js:113:1) | |
| at checkSubtree (packages/check/match.js:290:1) | |
| at check (packages/check/match.js:32:1) | |
| at configurations (packages/sandstorm-db/user.js:81:1) | |
| at Object.Accounts.insertUserDoc (packages/accounts-base/accounts_server.js:999:1) | |
| at Object.Accounts.updateOrCreateUserFromExternalService (packages/accounts-base/accounts_server.js:1164:1) | |
| at [object Object].Package (packages/sandstorm-accounts-oauth/oauth_server.js:55:1) |
| ...** SANDSTORM SUPERVISOR: Starting up grain. | |
| + cd /var | |
| + '[' '!' -d tomgrok ']' | |
| + tomcat7-instance-create -p 8000 tomgrok | |
| You are about to create a Tomcat instance in directory 'tomgrok' | |
| localhost: forward host lookup failed: Host name lookup failure : No such file or directory | |
| localhost: forward host lookup failed: Host name lookup failure : No such file or directory | |
| * New Tomcat instance created in tomgrok | |
| * You might want to edit default configuration in tomgrok/conf | |
| * Run tomgrok/bin/startup.sh to start your Tomcat instance |
| https://github.com/pwais/oarphkit/blob/master/bootstrap.py#L66 | |
| $ ./bootstrap.py --help | |
| Usage: bootstrap.py [options] | |
| Bootstrap OarphKit and run common development actions. | |
| Run in the root of the Oarphkit repository. In a fresh | |
| checkout, run: | |
| $ ./bootstrap.py --all |
I hereby claim:
To claim this, I am signing this object: