Skip to content

Instantly share code, notes, and snippets.

View ghaskins's full-sized avatar

Gregory Haskins ghaskins

  • Manetu
  • Massachusetts, USA
View GitHub Profile
(run-tests (find-tests #'temporal.test.concurrency/the-test) {:capture-output? false})
0/1 0% [ ] ETA: --:--2024-01-10T23:30:18.168Z gregorys-mbp-2.haskins.net TRACE [temporal.client.worker:22] - init: {:activities {"scale-activity" {:name "scale-activity", :fqn "temporal.test.scale.scale-activity", :fn #object[temporal.test.scale$scale_activity 0x2ef18c21 "temporal.test.scale$scale_activity@2ef18c21"]}, "local-greet-activity" {:name "local-greet-activity", :fqn "temporal.test.local_activity.local-greet-activity", :fn #object[temporal.test.local_activity$local_greet_activity 0x1a418ad0 "temporal.test.local_activity$local_greet_activity@1a418ad0"]}, "sequence-activity" {:name "sequence-activity", :fqn "temporal.test.sequence.sequence-activity", :fn #object[temporal.test.sequence$sequence_activity 0x4c7be63e "temporal.test.sequence$sequence_activity@4c7be63e"]}, "async-greet-activity" {:name "async-greet-activity", :fqn "temporal.test.async.async-greet-act

Keybase proof

I hereby claim:

To claim this, I am signing this object:

$ find node_modules/ -type f | xargs grep GrpcWebClientBase
node_modules//grpc-web/index.js:a+"m")}};var Z=module.exports;Z.AbstractClientBase={MethodInfo:function(a,b,c,d){this.name=d;this.a=b;this.b=c}};Z.GrpcWebClientBase=Y;Z.StatusCode={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,UNAUTHENTICATED:16,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15};Z.MethodDescriptor=function(a,b,c,d,e,f){this.name=a;this.a=e;this.b=f};
node_modules//grpc-web/index.d.ts: export interface GrpcWebClientBaseOptions {
node_modules//grpc-web/index.d.ts: export class GrpcWebClientBase extends AbstractClientBase {
node_modules//grpc-web/index.d.ts: constructor (options: GrpcWebClientBaseOptions);
diff --git a/src/react_native/core.cljs b/src/react_native/core.cljs
index ee71f8e..e155491 100644
--- a/src/react_native/core.cljs
+++ b/src/react_native/core.cljs
@@ -1,8 +1,7 @@
(ns react-native.core
(:require [reagent.core :as r]
- [react-native.utils :refer [adapt] :as u]))
-
-(def app-registry (u/get-obj "AppRegistry"))
(ns react-native.utils
(:require [reagent.core :as r]
[oops.core :refer [oget+]]
["react-native" :as ReactNative]))
(defn get-obj [name] (oget+ ReactNative name))
(defn adapt [class] (r/adapt-react-class (get-obj class)))
(ns react-native.core
(:require [reagent.core :as r]
[react-native.utils :refer [adapt] :as u]))
(def app-registry (u/get-obj "AppRegistry"))
(def view (adapt "View"))
(def image (adapt "Image"))
(def touchable-highlight (adapt "TouchableHighlight"))
(def text (adapt "Text"))
TypeError: $react_native$core$app_registry$$.$registerComponent$ is not a function. (In '$react_native$core$app_registry$$.$registerComponent$("nativetest", function () {
return $reagent$impl$component$reactify_component$$($nativetest$core$app_root$$);
})', '$react_native$core$app_registry$$.$registerComponent$' is undefined)
<global>
index.js:20647:54
loadModuleImplementation
require.js:322:6
<global>
index.js:1
[:app] Build completed. (142 files, 64 compiled, 1 warnings, 14.71s)
------ WARNING #1 - :infer-warning ---------------------------------------------
File: /Users/ghaskins/sandbox/react-native/nativetest/src/react_native/core.cljs:18:3
--------------------------------------------------------------------------------
15 | (.alert (u/get-obj "Alert") title))
16 |
17 | (defn register-componnet [name root]
18 | (.registerComponent ^js app-registry name #(r/reactify-component root)))
---------^----------------------------------------------------------------------
// source: hello.proto
/**
* @fileoverview
* @enhanceable
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
type=AVC msg=audit(1514993692.926:11214): avc: denied { sys_admin } for pid=2892 comm="runc:[1:CHILD]" capability=21 scontext=system_u:system_r:spc_t:s0 tcontext=system_u:system_r:spc_t:s0 tclass=cap_userns permissive=0
type=SYSCALL msg=audit(1514993692.926:11214): arch=c000003e syscall=272 success=no exit=-1 a0=7c020000 a1=8785e8 a2=0 a3=0 items=0 ppid=2883 pid=2892 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc:[1:CHILD]" exe="/concourse-work-dir/3.8.0/assets/bin/runc" subj=system_u:system_r:spc_t:s0 key=(null)
type=PROCTITLE msg=audit(1514993692.926:11214): proctitle=2F70726F632F73656C662F65786500696E6974