News for hackers. Stuff that matters.

ljouhet

Re:Fastpotify on Tuesday September 01, 2026 @08:49AM (#49521276)
I used `cargo install --path . --locked` to install (had an error when compiling `librespot`)
Re:Unlimited OCR: One-Shot Long-Horizon Parsing on Tuesday June 23, 2026 @09:04AM (#48644377)
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)

- ???

Re:Start all of your commands with a comma on Saturday February 07, 2026 @06:21AM (#46922965)
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.

Re:GLM-4.7-Flash on Monday January 19, 2026 @01:59PM (#46682994)
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
Re:Show HN: Picknplace.js, an Alternative to Drag and Drop on Friday December 19, 2025 @03:46AM (#46323647)
I have a regular scroll wheel and it moves two items each time. Totally unusable for me.

(great idea, though)

Re:Over-Regulation Is Doubling the Cost by Peter Reinhardt on Friday November 21, 2025 @03:28AM (#46002452)
TLDR: "I drive an ambulance and I could save more people if I could drive faster, so speed limits are bad!"
Re:Klong: A Simple Array Language on Friday June 20, 2025 @02:39PM (#44330629)
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.

Re:Burrito Now, Pay Later on Sunday May 11, 2025 @09:12PM (#43958737)
It is a satire, right?

I don't know what to think anymore

Re:Ty: A fast Python type checker and language server on Wednesday May 07, 2025 @06:11PM (#43921055)
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 ...`

Re:Evolving OpenAI's Structure on Tuesday May 06, 2025 @12:09AM (#43901727)
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

Re:We Can, Must, and Will Simulate Nematode Brains on Tuesday April 01, 2025 @02:39PM (#43550090)
Isn't it the goal of https://openworm.org/ ?
Re:A ChatGPT clone, in 3000 bytes of C, backed by GPT-2 on Thursday December 12, 2024 @03:12AM (#42397265)
I love the way it's written: see this ChatGPT-like code that fits in your screen? Let's break it down!
Re:Tree Calculus on Tuesday December 10, 2024 @05:01PM (#42382069)
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
Re:The 70% problem: Hard truths about AI-assisted coding on Friday December 06, 2024 @05:15AM (#42338282)
"AI is like ....". "A very eager ...". "That sounds like AI to me.". Yup
Re:Advent of Code 2024 on Sunday December 01, 2024 @04:04PM (#42290718)
You can use Firefox: "Copy as cUrl" (https://superuser.com/a/1382425)
Re:Charset="WTF-8" on Sunday November 24, 2024 @04:31PM (#42230811)
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.")

Great work: this tool will be really useful to me!

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

Re:Counterintuitive Properties of High Dimensional Space on Monday October 14, 2024 @11:54AM (#41838708)
Thank you! I love this article, but I couldn't find it.

I always search "Curse of dimensionality" instead of "Counterintuitive properties..."

Re:Open Source Python ETL on Wednesday June 19, 2024 @04:43AM (#40726191)
Didn't understand either:

Extract, transform and load...

vs

ETL: Extract, transform and load data...

Extract, transform and load (ETL) data...

Extract, Transform and Load data...

Sorry to write this comment: isn't it exactly like ComfyUI?
Re:Ask HN: How would you approach mastering a skill ASAP? on Wednesday January 31, 2024 @12:59PM (#39207079)
I would start with a first hour, then The first 20 hours (https://www.youtube.com/watch?v=5MgBikgcWnY), then you just need 90 minutes. Every day
That's why the title says other people's production code /s