Skip to content

Instantly share code, notes, and snippets.

```
transform[stdout]: <--- Last few GCs --->
transform[stdout]:
transform[stdout]: [57749:0x102801c00] 103297 ms: Mark-sweep 1391.7 (1470.8) -> 1391.7 (1470.8) MB, 2882.7 / 0.0 ms allocation failure GC in old space requested
transform[stdout]: [57749:0x102801c00] 106084 ms: Mark-sweep 1391.7 (1470.8) -> 1391.6 (1436.3) MB, 2787.7 / 0.0 ms last resort
transform[stdout]: [57749:0x102801c00] 108965 ms: Mark-sweep 1391.6 (1436.3) -> 1391.6 (1436.3) MB, 2880.5 / 0.0 ms last resort
transform[stdout]:
transform[stdout]:
transform[stdout]: <--- JS stacktrace --->
2017-07-02 21:03:00.867 [info][tid:main][RCTBatchedBridge.m:77] Initializing <RCTBatchedBridge: 0x6100001b4120> (parent: <RCTBridge: 0x6080000ca410>, executor: RCTJSCExecutor)
2017-07-02 21:03:01.077 [error][tid:com.facebook.react.JavaScript] Assert failed: c
2017-07-02 21:03:01.078 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: Assert failed: c
2017-07-02 21:03:01.096030+0200 FutureApp[11404:128594] [] nw_connection_get_connected_socket_block_invoke 3 Connection has no connected handler
2017-07-02 21:03:01.122 [info][tid:main][RCTRootView.m:295] Running application FutureApp ({
initialProps = {
};
rootTag = 1;
})
2017-07-02 21:03:01.122 [error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module (calling runApplication)
Loading dependency graph, done.
warning: the transform cache was reset.
transform[stdout]:
transform[stdout]: <--- Last few GCs --->
transform[stdout]:
transform[stdout]: [19791:0x103000000] 80762 ms: Mark-sweep 1392.2 (1473.0) -> 1392.2 (1473.0) MB, 2439.9 / 0.0 ms allocation failure GC in old space requested
transform[stdout]: [19791:0x103000000] 83092 ms: Mark-sweep 1392.2 (1473.0) -> 1392.2 (1437.5) MB, 2329.8 / 0.0 ms last resort
  • Proto-repl requires Ink to be installed
  • Leininen path must be FQNed in settings
  • Black screen at startup
  • Restarting a few times clears the black screen
  • Setting active pane that is not present in pane container atom/atom#14716

Gilles is a full-stack software engineer specializing in building software that matters. He likes to design small, well-tested services written in expressive, functional languages like Clojure, he has also developed a keen interest in developing React Native apps and running software with Docker. Gilles also code in Java too, for food. He tweets at @gphilippart.

@gphilipp
gphilipp / egalize.clj
Last active June 7, 2017 12:00
baldly written function
(defn pad [n coll val]
(take n (concat coll (repeat val))))
(defn egalize-colls [coll1 coll2 pad-item]
(if (= (count coll2) (count coll1))
[coll1 coll2]
(let [smallest-coll (if (< (count coll1) (count coll2)) coll1 coll2)
pad-count (if (= coll1 smallest-coll) (count coll2) (count coll1))]
(if (= coll1 smallest-coll)
[(vec (pad pad-count coll1 pad-item)) coll2]