Readit News logoReadit News
marcthe12 commented on How I protect my Forgejo instance from AI web crawlers   her.esy.fun/posts/0031-ho... · Posted by u/todsacerdoti
andai · a day ago
No I meant like, if you have a blog with 10 posts.. do they just scrape the same 10 pages thousands of times?

Because people are reporting constant traffic, which would imply that the site is being scraped millions of times per year. How does that make any sense? Are there millions of AI companies?

marcthe12 · a day ago
Basically the scrappers do not bother to cache your website or if they do, with an insanely low ttl. Also they do not specialize the content. So the worst hit sites are something like git hosting due the bfs style scrape (every link). The worst part is alot of this is done via tunneling so ip can be different each time or from residential ops. Which makes it annoying.
marcthe12 commented on Show HN: Autograd.c – A tiny ML framework built from scratch   github.com/sueszli/autogr... · Posted by u/sueszli
spwa4 · 2 days ago
Cool. But this makes me wonder. This negates most of the advantages of C. Is there a compiler-autograd "library"? Something that would compile into C specifically to execute as fast as possible on CPUs with no indirection at all.
marcthe12 · a day ago
We would need to mirror jax architecture more. Since the jax is sort of jit arch wise. Basically you somehow need a good way to convert computational graph to machine code while at compile time also perform a set of operations on the graph.
marcthe12 commented on Brave blocks Microsoft Recall by default   brave.com/privacy-updates... · Posted by u/XzetaU8
ChocolateGod · 5 months ago
Couldn't that negatively effect accessibility tools?
marcthe12 · 5 months ago
Yes and screen recoders
marcthe12 commented on A 14kb page can load much faster than a 15kb page (2022)   endtimes.dev/why-your-web... · Posted by u/truxs
djoldman · 5 months ago
I never understood math / latex display via client side js.

Why can't this be precomputed into html and css?

marcthe12 · 5 months ago
Well there is mathml but it has poor support in chrome til recently. That is the website native equations formatting.
marcthe12 commented on Linux and Secure Boot certificate expiration   lwn.net/SubscriberLink/10... · Posted by u/pabs3
ekianjo · 5 months ago
do you have any source on how to do that?
marcthe12 · 5 months ago
The arch wiki has the best source https://wiki.archlinux.org/title/Unified_Extensible_Firmware...

Note sbctl is one of the easier tools to do this.

marcthe12 commented on How I use my terminal   jyn.dev/how-i-use-my-term... · Posted by u/todsacerdoti
appcustodian2 · 6 months ago
spoken like someone who has never had to operate on someone else's machine that they provisioned for you on an isolated network
marcthe12 · 6 months ago
I mean there is a middle ground. LSP is good for coding a project. But I do agree with your point. What I generally do (as nvim user) reduces plugins to the bare minimum and try as much as possible to do progressive enhancement (atleast I try). Maybe as nvim improves LSP, I hope the diff between LSP and native methods are close enough that they both work.
marcthe12 commented on Finland announces migration of its rail network to international gauge   yle.fi/a/74-20161606... · Posted by u/axelfontaine
rsynnott · 7 months ago
> Was there a comparable large scale rail infrastructure change in some other country?

There were a number of gauge changes, but they were usually quite early on, when the infra was less critical and you could get away with closing lines for months. I'm not sure that there's a real 20th century example, beyond standard gauge high speed alongside non-standard normal-speed (for instance see Spain, and likely soon Ireland).

marcthe12 · 7 months ago
India had a meter gauge to broad gauge but India was always a mix and India did a very slow transition to standardize on broad gauge which kinda smoothen stuff quiet a bit
marcthe12 commented on Landrun: Sandbox any Linux process using Landlock, no root or containers   github.com/Zouuup/landrun... · Posted by u/Zoup
aucisson_masque · 9 months ago
Would that make feasible (in the long term) to have macOS permission manager like « do you want terminal to access documents folder ? » on Linux ?

As a very average user, that’s the kind of thing I miss on windows and Linux.

Because I installed Google chrome, it doesn’t mean I want it to be able to scan every single file I have on my computer yet there is no way to prevent it and I feel it’s a big security and privacy issue that no one speak about !

marcthe12 · 9 months ago
Thats is xdg-portals and it works. It needs apps to support it though which slows adoption
marcthe12 commented on Switching from Pyenv to Uv   bluesock.org/~willkg/blog... · Posted by u/harryvederci
TheIronYuppie · 9 months ago
For scripting... HIGHLY recommend putting your dependencies inline.

E.g.:

  #!/usr/bin/env python3
  # /// script
  # requires-python = ">=3.11"
  # dependencies = [
  #     "psycopg2-binary",
  #     "pyyaml",
  # ]
  # ///
Then -

  uv run -s file.py

marcthe12 · 9 months ago
Do you need a wrapper script for scripts in the PATH or execve? I would usualy chmod+x the script but I am not sure here.

u/marcthe12

KarmaCake day584October 25, 2018
About
Likes to create programs. Loves to be updated on the latest news and in General Knowledge.
View Original