HNHacker News
TopNewBestAskShowJobs

riquito

2,341 karma · joined October 14, 2012

[ my public key: https://keybase.io/riquito; my proof: https://keybase.io/riquito/sigs/KlOkCxWXyWRceW_OLfavd7U1jMR4FVrW80rnfMAYOm4 ]
submissionscomments
riquito··on Mistral OCR
It fits the "use cases" mentioned in the article

> Preserving historical and cultural heritage: Organizations and nonprofits that are custodians of heritage have been using Mistral OCR to digitize historical documents and artifacts, ensuring their preservation and making them accessible to a broader audience.

riquito··on Material Theme has been pulled from VS Code's marketplace
Wild how its github page (1 commit, 1 hour ago) has already 885 forks and 11.2K stars to mislead people

https://github.com/Fanny-Theme/fanny-theme-support

riquito··on WASM-Native Orchestration
Since you're asking for WASM in general.

How do you run a Python program using docker in the browser?

How do you run a Ruby function from a Scala library with docker?

riquito··on Smuggling arbitrary data through an emoji
> I've always assumed links without any tracking information (unique hash, query params, etc) were safe to click(with regards to my privacy). but if this works for links I may need to revise my strategy regarding how to approach links sent to me.

Well, it was never safe, what you see and where the link are pointing at are different things, that's why the actual link is displayed at the bottom left of your browser when you move your mouse over it (or focus it via keyboard)

riquito··on The world of Dante's Divine Comedy
... Dante was exiled from the Pope and, if captured, the order was to burn him at the stake

    Alighieri Dante è condannato per baratteria, frode, falsità, dolo, malizia, inique pratiche estortive, proventi illeciti, pederastia, e lo si condanna a 5000 fiorini di multa, interdizione perpetua dai pubblici uffici, esilio perpetuo (in contumacia), e se lo si prende, al rogo, così che muoia
    
    (Libro del chiodo - Archivio di Stato di Firenze - 10 marzo 1302)
riquito··on Ractor – a Rust Actor Framework
> Sorry for being so negative but why do people keep building these Actor frameworks for Rust? None of them get any usage.

There are good answers already on the actual "why", but I'd like to point out that "none of them get any usage" is a much better reason to build a new one than "there's already a library dominating the ecosystem". Clearly none of the existing libraries, for one reason or another, have been deemed interesting enough, let's see someone else try

riquito··on Apple Passwords’ generated strong password format
> There is a special place in hell for anyone who creates a maximum password length limit

People abuse everything, you can be dossed trying to compute <pick your hashing algorithm-of-choice> of a password as big as the maximum body size your webserver accept (which is a limit btw, so remember to dress light :-p )

riquito··on Rust panics under the hood, and implementing them in .NET
I'm sure that .NET has all libraries you'll need and to absolutely need one from a different language, whatever it is, it's a pretty niche case (e.g. perhaps the extremely good Rust `regex` library is faster, but it would hardly be worth the extra complexity in the general case).

I think is more common that you have some in-house library in a different language (Rust in this case) and you want to reuse them without rewriting them.

riquito··on Some of us like "interdiff" code review
You can add to your ~/.gitconfig

   [rebase]
        autosquash = true
from then on `git rebase -i origin/main` automatically reorder fixup and squash commits. It's a small thing but greatly improved my workflow
riquito··on Show HN: Repaint – a WebGL based website builder
If you are the only possible host you can set whatever price you want, and the users will either have to pay or lose the site (since it can't be hosted anywhere else). Also, you may go out of business
riquito··on We need to liberate the Postcode Address File
On the bright side, you know about this and you could potentially suggest and follow any changes, which would be impossible without a single source of truth
riquito··on Claude's API now supports CORS requests, enabling client-side applications
> as long as the device or the website are not compromised it is all good

But that is THE problem. You are making yourself a huge target. The more users you have the most likely someone will attempt to hack you to use all those keys. The "client side" point is moot because the code that uses those keys comes from the server, once that's compromised all hell is loose.

riquito··on Flow Charts with CSS Anchor Positioning
The article doesn't mention that it's not supported by other browsers. The two things (pushed by chrome / unsupported by others) are not consequential.

If you don't clearly state it and people start using the shiny new thing you're hindering the few alternative browsers out there.

riquito··on Enhancing Code Completion for Rust in Cody
Just wanted to thank you, is a great product. I find it to have a better context and awareness of my code compared to copilot
riquito··on OpenAI and Apple Announce Partnership
> That's a market of 1 vendor. That's ripe for attack.

it's just a monopoly [1] , how hard can it be?

/s

- [1] practically, because of how widespread cuda is

riquito··on Cloud Performance on a "Toy" Computer: From Python to Rust
> Would you be able to take a screenshot of what you're seeing?

https://i.postimg.cc/MK7PJwRk/Screenshot-20240608-165330.png

(the link will expire in 7 days)

riquito··on Cloud Performance on a "Toy" Computer: From Python to Rust
Try the website with Firefox mobile, is significantly cut on the left side. Also the viewport is fixed and you can't zoom on mobile.

Nice blog post!

riquito··on AI firms mustn’t govern themselves, say ex-members of OpenAI’s board
So in countries were the government doesn't attempt to protect you you'll keep not being protected
riquito··on GPT-4o
The content was correct but the pronunciation was awful. Now, good enough? For sure, but I would not be able to stand something talking like that all the time
riquito··on How to Use JSON Path
Well, the article is about JSONPath and jq doesn't use it
riquito··on Why I recommend Renovate over any other dependency update tools
What strategy do you use for conflicts during the rebase of renovate_updates? (which most of the time would occur because you eagerly updated something on dev)?
riquito··on Speedometer 3.0: A shared browser benchmark for web application responsiveness
Link to the actual test

https://www.browserbench.org/Speedometer3.0/

riquito··on Show HN: dockerc – Docker image to static executable "compiler"
If you're considering "just give me the exe" as multiple sharing between people, I wholeheartedly agree that it's a mistake, but the context here is of a person wanting to download the binary from the author themselves.
riquito··on French court issues damages award for violation of GPL
"dual licensed", is much more likely that Orange buy a commercial license
riquito··on Microsoft strikes deal with Mistral in push beyond OpenAI
Is it different from https://docs.mistral.ai/guides/function-calling/ ?
riquito··on How the GNU coreutils are tested (2017)
Except that it does not display a single yes line by default, so its primary purpose is effectively to print them forever. Also, in this particular corner of the netsphere we should applaud the maddening research for performance that people put into that seemingly obvious command
riquito··on Fly.io has GPUs now
Is there any configuration to keep alive the machine for X seconds after a request has been served, instead of scaling down to zero immediately? I couldn't find it skimming the docs
riquito··on Show HN: filippo.io/mlkem768 – Post-Quantum Cryptography for the Go Ecosystem
> For comparing the symbols visually, you don't even need to know their names.

Well, no, this was the main issue with homograph attacks in domain names [1] that brought us to the use of punycode in browsers [2]

In particular for a cryptographic library, I wouldn't want to constantly have to watch out for sneaky malicious variables put in the right place (e.g. try to compare visually the Cyrillic а, с, е, о, р, х, у with the ascii a, c, e, o, p, x, y (no, they're not the same characters).

EDIT: I realize that many programming languages today allow the use of unicode variables and I like that it's a possibility, it's just not the best when you need to be paranoid about the code

- [1] https://en.wikipedia.org/wiki/IDN_homograph_attack - [2] https://en.wikipedia.org/wiki/Punycode

riquito··on Zed, a collaborative code editor, is now open source
There are obviously more programmers on Linux and Windows than on Mac, no matter your bubble. Since zed is Mac only, necessarily most programmers won't use it
riquito··on Making Rust binaries smaller by default
32Kb with the following configuration, on a linux target. It's not the default, you're using nightly, it's more complex to build and there are tradeoffs. You can even go less than that if that's your thing

  [profile.release]
  strip = true
  opt-level = "z"
  lto = true
  codegen-units = 1
  panic = "abort"
cargo +nightly build -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target x86_64-unknown-linux-gnu --release

As mentioned in another thread, I've simply followed https://github.com/johnthagen/min-sized-rust

← PreviousPage 2 of 25Next →