Readit News logoReadit News
gldrk commented on Stop crawling my HTML – use the API   shkspr.mobi/blog/2025/12/... · Posted by u/edent
thaumasiotes · 7 hours ago
He shouldn't be, since it isn't true. Why did you leave this comment?
gldrk · 6 hours ago
How come 90% of his comments are dead then? This one was too until I vouched for it.
gldrk commented on Stop crawling my HTML – use the API   shkspr.mobi/blog/2025/12/... · Posted by u/edent
andrewmcwatters · 7 hours ago
More often than not, I’ve seen web pages that are more easily scraped than one could connect to an official API. It’s so weird. It’s like in many cases companies don’t really care, so of course people are going to scrape your pages instead.
gldrk · 7 hours ago
Are you aware you are shadowbanned?
gldrk commented on Stop crawling my HTML – use the API   shkspr.mobi/blog/2025/12/... · Posted by u/edent
edent · 7 hours ago
As I wrote:

> Like most WordPress blogs, my site has an API.

WordPress, for all its faults, powers a fair number of websites. The schema is identical across all of them.

gldrk · 7 hours ago
If you decide to move your blog to another platform, are you going to maintain API compatibility?
gldrk commented on Are we stuck with the same Desktop UX forever? [video]   youtube.com/watch?v=1fZTO... · Posted by u/joelkesler
lo_zamoyski · a day ago
I would agree that it was different, but I also think this may be history viewed through rose-tinted glasses somewhat.

> There were also more low hanging fruit to develop software that makes people’s lives better.

In principle, maybe. In practice, you had to pay for everything. Open source or free software was not widely available. So, the profit motive was there. The conditions didn’t exist yet for the profit model we have today to really take off, or for the appreciation of it to exist. Still, if there’s a lot of low-hanging fruit, that means the maturity of software was generally lower, so it’s a bit like pining for the days when people lived on the farm.

> There was also less investor money floating around so it was more important to appeal to end users.

I’m not so sure this appeal was so important (and investors do care about appeal!). If you had market dominance like Microsoft did, you could rest on your laurels quite a bit (and that they did). The software ecosystem you needed to use also determined your choices for you.

> To me it seems tech has devolved into a big money making scheme with only the minimum necessary actual technology and innovation.

As I said earlier, the profit motive was always there. It was just expressed differently. But I will grant you that the image is different. In a way, the mask has been dropped. When facebook was new, no one thought of it as a vulgar engine for monetizing people either (I even recall offending a Facebook employee years ago when I mentioned this, what should frankly have been obvious), but it was just that. It was all just that, because the basic blueprint of the revenue model was there from day one.

gldrk · a day ago
>In practice, you had to pay for everything.

As a private individual, you didn't actually have to pay for anything once you got an Internet connection. Most countries never even tried enforcing copyright laws against small fish. DRM was barely a thing and was easily broken within days by l33t teenagers.

gldrk commented on The Tor Project is switching to Rust   itsfoss.com/news/tor-rust... · Posted by u/giuliomagnifico
classicasp · 3 days ago
I think the chance that your Rust application is going to be more performant or efficient than C, is whether you are focused on writing performant and efficient code. Out-of-the-box, I’m guessing people will use too many cargo packages, each that are over-engineered or written by less-experienced developers, so it will be less efficient and less performant.

In addition, you could more easily inadvertently introduce security problems.

Is Rust the right choice for Tor? Sure. Is Tor the right choice for security? If they moved to Rust, they increased security risks to make it easier to manage and find help from younger less-experienced developers, so no.

gldrk · 3 days ago
Given how heavily most C programs lean on type erasure vs. monomorphization and how often they reimplement basic data structures, it's kind of a miracle they hold up against Rust/C++.

Deleted Comment

gldrk commented on The Cost of a Closure in C   thephd.dev/the-cost-of-a-... · Posted by u/ingve
unwind · 4 days ago
This was very interesting, and it's obvious from the majority of the text that the author knows a lot about these languages, their implementation, benchmarking corners, and so on. Really!

Therefore it's very jarring with this text after the first C code example:

This uses a static variable to have it persist between both the compare function calls that qsort makes and the main call which (potentially) changes its value to be 1 instead of 0

This feels completely made up, and/or some confusion about things that I would expect an author of a piece like this to really know.

In reality, in this usage (at the global outermost scope level) `static` has nothing to do with persistence. All it does is make the variable "private" to the translation unit (C parliance, read as "C source code file"). The value will "persist" since the global outermost scope can't go out of scope while the program is running.

It's different when used inside a function, then it makes the value persist between invocations, in practice typically by moving the variable from the stack to the "global data" which is generally heap-allocated as the program loads. Note that C does not mention the existence of a stack for local variables, but of course that is the typical implementation on modern systems.

gldrk · 3 days ago
>This uses a static variable to have it persist between both the compare function calls that qsort makes and the main call which (potentially) changes its value to be 1 instead of 0

The only misleading thing here is that ‘static’ is monospaced in the article (this can’t be seen on HN). Other than that, ‘static variable’ can plausibly refer to an object with a static storage duration, which is what the C standard would call it.

>moving the variable from the stack to the "global data" which is generally heap-allocated as the program loads

It is not heap-allocated because you can’t free() it. Non-zero static data is not even anonymously mapped, it is file-backed with copy-on-write.

gldrk commented on “The Matilda Effect”: Pioneering Women Scientists Written Out of Science History   openculture.com/2025/12/m... · Posted by u/binning
TitaRusell · 5 days ago
How much human resources have been lost because women were seen as stupid and intellectually inferior? How did people even come to this bizarre conclusion?

Over the millennia many fathers secretly taught their little princesses to read and write. But apparently none of them wanted to upset the status quo.

gldrk · 5 days ago
>How did people even come to this bizarre conclusion?

The first reason is that it is true. All of the best evidence suggests a minor male advantage on g and a major advantage in more specific abilities, such as mental rotation. See https://emilkirkegaard.dk/en/2021/04/the-claim-of-substantia...

It is easy to see why that would be the case from an evolutionary point of view. Ironically, your own post contains a clue: in a male-dominated society where men are far more valued for their intelligence than women, such differences are bound to arise.

The egalitarian bad faith interpretation of this claim is that any man is smarter than Marie Curie. What it actually says is that a hypothetical Mario Curie would almost certainly outshine his real-life counterpart.

The other reason is related to sexual selection. Even if a certain man is less intelligent or physically weaker than most women, it may be adaptive for him to pretend otherwise. What beliefs come to dominate in a given population is determined by reproductive success, not directly by their truth value.

gldrk commented on Linux CVEs, more than you ever wanted to know   kroah.com/log/blog/2025/1... · Posted by u/voxadam
schmuckonwheels · 5 days ago
You do realize self-signed certs are useless, could have been tampered with, and could have just as easily been created by a malicious actor?

There's a reason most default self signed certs are called "snake oil".

gldrk · 5 days ago
You can pre-share the certificate out of band, or set up your browser to TOFU like SSH does. Then they are not useless and may be superior to PKI for certain threat models.
gldrk commented on Linux CVEs, more than you ever wanted to know   kroah.com/log/blog/2025/1... · Posted by u/voxadam
landr0id · 5 days ago
I'm surprised Firefox didn't warn me when I went to the page. Hostile teleco/MITM waiting for HTTP traffic are a real-world way that nation states deliver exploits.
gldrk · 5 days ago
PKI is basically powerless against nation states executing a targeted MITM attack. It does prevent them from passively snooping everything.

u/gldrk

KarmaCake day126February 12, 2019View Original