Skip to content

Instantly share code, notes, and snippets.

View kamisori's full-sized avatar
🦄
だから、これに来ました

mlatu kamisori

🦄
だから、これに来ました
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kamisori on github.
  • I am mlatu (https://keybase.io/mlatu) on keybase.
  • I have a public key ASBLFi1otEkrRB3VV_XADzaA9LVZX5mMpphNkGDv2CVuAwo

To claim this, I am signing this object:

@kamisori
kamisori / Error initializing arcadia.internal.config.clj
Last active December 23, 2019 23:10
getting Error initializing arcadia.internal.config.clj on a clean checkout
clojure.lang.Compiler+AssemblyInitializationException: Error initializing arcadia.internal.config.clj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for '__expr45379' threw an exception. ---> clojure.lang.Compiler+AssemblyInitializationException: Error initializing arcadia.internal.asset_watcher.clj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for '__expr32750' threw an exception. ---> clojure.lang.Compiler+AssemblyInitializationException: Error initializing arcadia.internal.filewatcher.clj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=nu
This file has been truncated, but you can view the full file.
Initiating legacy licensing module
LICENSE SYSTEM [2020214 23:57:23] Next license update check is after 2020-02-15T09:03:59
Built from '2019.2/staging' branch; Version is '2019.2.17f1 (8e603399ca02) revision 9330739'; Using compiler version '191627012'
OS: 'Windows 10 (10.0.0) 64bit' Language: 'de' Physical Memory: 32718 MB
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
[Package Manager] Server::Start -- Port 61426 was selected
COMMAND LINE ARGUMENTS:
@kamisori
kamisori / the password is D-E-B-U-G-file-path-filter-fn
Last active February 17, 2020 21:38
trying to debug arcadias export
Initiating legacy licensing module
LICENSE SYSTEM [2020217 22:28:58] Next license update check is after 2020-02-18T20:31:09
Built from '2019.2/staging' branch; Version is '2019.2.17f1 (8e603399ca02) revision 9330739'; Using compiler version '191627012'
OS: 'Windows 10 (10.0.0) 64bit' Language: 'de' Physical Memory: 32718 MB
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
[Package Manager] Server::Start -- Port 59801 was selected
COMMAND LINE ARGUMENTS:
@kamisori
kamisori / 0: Encountered Exceptions
Last active February 22, 2020 15:56
Win10-64, 2019.2.17f1, fresh project, Arcadia@master:7f068c48e0ecef98e0327afbd5384ab349c37ec2, patched with c792a91dfa4c1daa96c6ad84744c9ab3ce3435d8(WIP-possible-fix-for-336-pending-confirmation), none of my own code, choosing "prepare for export" yields:
ArgumentException: Don't know how to create ISeq from: arcadia.internal.map_utils$valsr$reify__19422__19432
arcadia$internal$filewatcher$watch_threadwatch_loop__27468fn__27473__27486.invoke () (at <339eecc6124f4990b7016c400664e82d>:0)
arcadia$internal$filewatcher$watch_threadwatch_loop__27468__27489.invoke () (at <339eecc6124f4990b7016c400664e82d>:0)
arcadia$internal$thread$start_threadfn__24108__24112.invoke () (at <339eecc6124f4990b7016c400664e82d>:0)
(wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <567df3e0919241ba98db88bec4c6696f>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <567df3e0919241ba98db88bec4c6696f>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallba
@kamisori
kamisori / 0: Encountered Exceptions
Last active February 22, 2020 15:53
Win10-64, 2019.2.17f1, fresh project, Arcadia@master:7f068c48e0ecef98e0327afbd5384ab349c37ec2, none of my own code, choosing "prepare for export" yields:
ArgumentException: Don't know how to create ISeq from: arcadia.internal.map_utils$valsr$reify__19395__19405
arcadia$internal$filewatcher$watch_threadwatch_loop__27425fn__27430__27443.invoke () (at <baba5ba3c14842909bc0a29e869dfba3>:0)
arcadia$internal$filewatcher$watch_threadwatch_loop__27425__27446.invoke () (at <baba5ba3c14842909bc0a29e869dfba3>:0)
arcadia$internal$thread$start_threadfn__24065__24069.invoke () (at <baba5ba3c14842909bc0a29e869dfba3>:0)
(wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <567df3e0919241ba98db88bec4c6696f>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <567df3e0919241ba98db88bec4c6696f>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallba
(defn make-repl-worksnt
[getline-thread]
(defn get-chunk [line-buffer parser]
(let [msg ["#" line-buffer]]
(try (do
(thread/send getline-thread msg))
([_] nil))))
(while true (->
(repl get-chunk)
coro
@kamisori
kamisori / gist:ce98e0d0c7710ab859d9728429c1656c
Created August 12, 2020 05:09
I'm working on a webcomic framework for fun when I ran into the following problem:
(import hypertext)
(import sqlite3 :as sql)
(import ./src/data-access :as da)
(import ./src/data-presentation :as dp)
(import ./src/debug :as dbg)
#goes to dp:
(defn render-contents--works [page-contents]
(defn make-html [content]
(let [image-url (string "/blob/" (content :blobid))]
@kamisori
kamisori / gist:b76972f492eb3716dd90894440dd95fa
Created August 12, 2020 05:09
I'm working on a webcomic framework for fun when I ran into the following problem:
(import hypertext)
(import sqlite3 :as sql)
(import ./src/data-access :as da)
(import ./src/data-presentation :as dp)
(import ./src/debug :as dbg)
#goes to dp:
(defn render-contents--works [page-contents]
(defn make-html [content]
(let [image-url (string "/blob/" (content :blobid))]
@kamisori
kamisori / gist:e4e26ad15000959244c6b985742cf258
Last active August 12, 2020 05:46
I'm working on a webcomic framework for fun and I ran into the following "compile error: (macro) expected even number of arguments on line 25, column 8" When I comment the non-working version of this (lines 23 - 28) and use one of the working versions which are the same except they don't use the fn shorthand, everything is fine. Tried with: 06c2…
(import hypertext)
(import ./src/data-access :as da)
(import ./src/data-presentation :as dp)
(import ./src/debug :as dbg)
(import sqlite3 :as sql)
#goes to dp when done:
(defn render-contents--works [page-contents]
(defn make-html [content]
(let [image-url (string "/blob/" (content :blobid))]