HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Trung0246

no profile record

Submissions

Anthropic uses Persona for identity verification

web.archive.org
5 points·by Trung0246·20 days ago·0 comments

Lambyland.net

lambyland.net
2 points·by Trung0246·2 months ago·0 comments

Sora (Video Model) shut down

xcancel.com
4 points·by Trung0246·4 months ago·2 comments

Evaluating Godot (2023)

caseyyano.com
18 points·by Trung0246·4 months ago·3 comments

comments

Trung0246
·30 days ago·discuss
Yeah same issue with haskell. Apparently not many languages are supported by mise.
Trung0246
·last month·discuss
Curious but can we use lean4 as port target instead of Rust?
Trung0246
·last month·discuss
RIP hackintosh
Trung0246
·last month·discuss
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
·last month·discuss
Also not related to https://fluxkeyboard.com/
Trung0246
·last month·discuss
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
·last month·discuss
RIP yt-dlp with cookies
Trung0246
·last month·discuss
Nice got 6/6
Trung0246
·last month·discuss
How does this differ from https://github.com/verus-lang/verus
Trung0246
·last month·discuss
Interesting, how does this compare to copyparty?
Trung0246
·2 months ago·discuss
Everytime it is BreachForums: https://breached.st/threads/internal-github-source-code.8739...
Trung0246
·2 months ago·discuss
Hmm how does it differ from this: https://github.com/daijro/camoufox
Trung0246
·2 months ago·discuss
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 months ago·discuss
Maybe Mac Mini M5 this year?
Trung0246
·3 months ago·discuss
Maybe Mac Mini M5 this year?
Trung0246
·3 months ago·discuss
Does this use pretext?
Trung0246
·3 months ago·discuss
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 months ago·discuss
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 months ago·discuss
Hi, can you DM the firmware?
Trung0246
·4 months ago·discuss
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