HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ljouhet

no profile record

comments

ljouhet
·21 hari yang lalu·discuss
Real question: what tool do you use? (for long/complex documents with tables, code, maths)

- marker (with --force-ocr) gives me the best results

- Mistral OCR (seems really great, but I never managed to get it work)

- Mathpix (tried a long time ago)

- docling (gives me garbage, I must use it wrong)

- Unlimited OCR (will try it)

- ???
ljouhet
·5 bulan yang lalu·discuss
Most of my aliases contain `--` for the same reason, `git--progress`, `grep--rIn`, `nvidia--kill`, `ollama--restart`, `rsync--cp`, `pdf--nup`...

Easy autocomplete, I know there won't be any collision, and which command is mine.
ljouhet
·6 bulan yang lalu·discuss
Something like

    ollama run hf.co/ngxson/GLM-4.7-Flash-GGUF:Q4_K_M
It's really fast! But, for now it outputs garbage because there is no (good) template. So I'll wait for a model/template on ollama.com
ljouhet
·7 bulan yang lalu·discuss
I have a regular scroll wheel and it moves two items each time. Totally unusable for me.

(great idea, though)
ljouhet
·8 bulan yang lalu·discuss
TLDR: "I drive an ambulance and I could save more people if I could drive faster, so speed limits are bad!"
ljouhet
·tahun lalu·discuss
First line of https://t3x.org/klong/prime.html

"The braces around an expression denote a function. Because this function contains a single variable, x, it is a monadic function or a monad."

I never understood that about monads, even if it's litterally their name.
ljouhet
·tahun lalu·discuss
It is a satire, right?

I don't know what to think anymore
ljouhet
·tahun lalu·discuss
https://en.wikipedia.org/wiki/Interface_(matter)
ljouhet
·tahun lalu·discuss
[flagged]
ljouhet
·tahun lalu·discuss
uv is an incredible tool ; ty will be also. It's insanely fast

For now, I have some false negative warnings :

'global' variables are flagged as undefined `int:unresolved-reference: Name ... used when not defined` (yeah, it's bad, I know)

f(*args) flagged as missing arguments `lint:missing-argument: No arguments provided for required parameters ...`
ljouhet
·tahun lalu·discuss
Who defines "value-aligned, safety-conscious project"?

"Instead of our current complex non-competing structure—which made sense when it looked like there might be one dominant AGI effort but doesn’t in a world of many great AGI companies—we are moving to a normal competing structure where ..." is all it takes
ljouhet
·tahun lalu·discuss
Isn't it the goal of https://openworm.org/ ?
ljouhet
·2 tahun yang lalu·discuss
https://statebox.org/what-is/ leads to https://typedefs.com/
ljouhet
·2 tahun yang lalu·discuss
Page not found (404) : https://github.com/simonw/shot-scraper-template/generate
ljouhet
·2 tahun yang lalu·discuss
I love the way it's written: see this ChatGPT-like code that fits in your screen? Let's break it down!
ljouhet
·2 tahun yang lalu·discuss
In Python:

    Leaf = []
    Stem = lambda x: [x]
    Fork = lambda a, b: [a, b]

    is_leaf = lambda x: len(x)==0
    is_stem = lambda x: len(x)==1
    is_fork = lambda x: len(x)==2

    def apply(a, b):
        """ From https://treecalcul.us/specification/ (OCaml) """
        if is_leaf(a): return Stem(b)
        if is_stem(a): return Fork(a[0], b)
        x, y = a       # a == Fork(x, y)
        if is_leaf(x): return y
        if is_stem(x): return apply(apply(x[0], b), apply(y, b))
        u, v = x       # x == Fork(u, v)
        if is_leaf(b): return u
        if is_stem(b): return apply(v, b[0])
        s, t = b       # b == Fork(s, t)
        return apply(apply(y, s), t)

    T = {}
    T["false"] = Leaf
    T["true"]  = Stem(Leaf)
    T["not"]   = Fork (Fork (T["true"], Fork (Leaf, T["false"])), Leaf)

    def show(tree):
        name = [k for k in T if T[k]==tree][0]
        print(name or tree)

    show(apply(T["not"], T["false"])) # true
    show(apply(T["not"], T["true"]))  # false
ljouhet
·2 tahun yang lalu·discuss
"AI is like ....". "A very eager ...". "That sounds like AI to me.". Yup
ljouhet
·2 tahun yang lalu·discuss
You can use Firefox: "Copy as cUrl" (https://superuser.com/a/1382425)
ljouhet
·2 tahun yang lalu·discuss
Yes, all these forms should handle existing names...

but the author's own website doesn't (url: xn--stpie-k0a81a.com, bottom of the page: "© 2024 ę ń. All rights reserved.")
ljouhet
·2 tahun yang lalu·discuss
Great work: this tool will be really useful to me!

(Note: the "terminal animations" in github make the examples difficult to read.)