HackerTrans
トップ新着トレンドコメント過去質問紹介求人

Trung0246

no profile record

投稿

Anthropic uses Persona for identity verification

web.archive.org
5 ポイント·投稿者 Trung0246·20 日前·0 コメント

Lambyland.net

lambyland.net
2 ポイント·投稿者 Trung0246·2 か月前·0 コメント

Sora (Video Model) shut down

xcancel.com
4 ポイント·投稿者 Trung0246·4 か月前·2 コメント

Evaluating Godot (2023)

caseyyano.com
18 ポイント·投稿者 Trung0246·4 か月前·3 コメント

コメント

Trung0246
·30 日前·議論
Yeah same issue with haskell. Apparently not many languages are supported by mise.
Trung0246
·先月·議論
Curious but can we use lean4 as port target instead of Rust?
Trung0246
·先月·議論
RIP hackintosh
Trung0246
·先月·議論
Here's a funny Z combinator in typescript in pure SKI form for lambda calculus purist:

    const K = <A, B>(a: A) => (_b: B) => a;

    const S = <A, B, C>(a: (x: C) => (y: B) => A) => (b: (x: C) => B) => (c: C) => a(c)(b(c));

    const Z = S(K(S(S(K)(K))(S(K)(K))))(S(S(K(S))(K))(K(S(K(S(S)(S(K))))(S(S(K(S))(K))(K)))));
https://en.wikipedia.org/wiki/Fixed-point_combinator
Trung0246
·先月·議論
Also not related to https://fluxkeyboard.com/
Trung0246
·先月·議論
For some funsie here's my fully working delimited continuation in C with effect handler example: https://godbolt.org/z/3ehehvo6E

No ASM involved so technically portable (although it depends on built-in).

Flix equivalent (copy paste to https://play.flix.dev/):

    eff Pick {
        def pick(): Int32
    }

    def body(): (Int32, Int32, Int32) \ Pick = {
        let a = Pick.pick();
        let b = Pick.pick();
        let c = Pick.pick();
        (a, b, c)
    }

    def handlePick(f: Unit -> a \ ef): List[a] \ ef - Pick =
        run {
            f() :: Nil
        } with handler Pick {
            def pick(_, resume) =
                resume(1) ::: resume(2) ::: resume(3)
        }

    def main(): Unit \ IO =
        println(handlePick(body))
Trung0246
·先月·議論
RIP yt-dlp with cookies
Trung0246
·先月·議論
Nice got 6/6
Trung0246
·先月·議論
How does this differ from https://github.com/verus-lang/verus
Trung0246
·先月·議論
Interesting, how does this compare to copyparty?
Trung0246
·2 か月前·議論
Everytime it is BreachForums: https://breached.st/threads/internal-github-source-code.8739...
Trung0246
·2 か月前·議論
Hmm how does it differ from this: https://github.com/daijro/camoufox
Trung0246
·2 か月前·議論
Interesting, what I just did recently is basically the same of this as I tried to push the limit of js obfuscator as much as possible by keep forcing gpt/claude deobfuscate final output then having gpt improve the tool to break the deobfuscator.

Do you publish it somewhere? Here's a sample my my js obfuscator output: https://gist.github.com/Trung0246/c8f30f1b3bb6a9f57b0d9be94d...
Trung0246
·3 か月前·議論
Maybe Mac Mini M5 this year?
Trung0246
·3 か月前·議論
Maybe Mac Mini M5 this year?
Trung0246
·3 か月前·議論
Does this use pretext?
Trung0246
·3 か月前·議論
Wikipedia have a pretty good Z combinator demo: https://en.wikipedia.org/wiki/Fixed-point_combinator

---

const K = <A, B>(a: A) => (_b: B) => a; const S = <A, B, C>(a: (x: C) => (y: B) => A) => (b: (x: C) => B) => (c: C) => a(c)(b(c));

const I = S(K)(K); const B = S(K(S))(K); const C = S(B(B)(S))(K(K)); const W = C(S)(I); const T = C(I); const V = B(C)(T); const I1 = C(C(I)); const C1 = B(C); const R1 = C1(C1); const V1 = B(R1)(C1); const I2 = R1(V);

const Z = B(W(I1))(V1(B)(W(I2)));
Trung0246
·3 か月前·議論
Unfortunately it still unable to handle to context sensitive language which is a deal breaker for me (like C++ raw string as an example).

https://github.com/ohmjs/ohm/issues/158
Trung0246
·4 か月前·議論
Hi, can you DM the firmware?
Trung0246
·4 か月前·議論
Actually you don't even need ASM at all. Just need to have smart use of compiler built-in to make it truly portable. See my composable continuation implementation: https://godbolt.org/z/zf8Kj33nY