HackerLangs
热门最新趋势评论往期问答秀出招聘

thayne

9,949 声望加入于 11年前

提交

Carapace

carapace.sh
1 分·作者 thayne·6个月前·1 评论

评论

thayne
·20小时前·讨论
我也有过非常相似的经历。但与你不同的是,我当时并不知道这一要求,最终还是支付了全部费用。我确实向保险公司投诉说我所欠的金额似乎不正确,他们告诉我这是我使用网络外救护车的错。
thayne
·20小时前·讨论
我发生了一场事故,我受到了脑震荡和其他伤害,这让我受了很多伤,和我在一起的人为我叫了救护车,我并没有真正处于拒绝的状态,但如果我是这样,并且知道要花多少钱,我就会这么做。当然,救护车不在网络范围内。我到达医院后为我治疗的一些医生也是如此。 这是我作为一个成年人第一次处理大额医疗费用,几个月后账单来了,我感到非常震惊,上面说我要负责大约 10,000 美元的救护车费用(加上医院的更多费用),其中很大一部分甚至不会计入我的免赔额,因为它不在网络范围内。后来我了解到我应该对此提出异议,因为这是紧急情况,保险应该涵盖紧急情况下的网络服务,但我很年轻,在与健康保险公司打交道方面缺乏经验。

我想我的观点是,有时你别无选择,但最终你仍然会收到一大笔账单。而且,那次经历确实对我拨打 911 产生了寒蝉效应。
thayne
·昨天·讨论
为单线程主机系统编写的扩展可能无法在多线程上下文中工作。例如,如果具有不受锁或类似保护的全局或共享状态(不幸的是,这在 C 代码中相当常见)
thayne
·昨天·讨论
比那更糟糕。 OpenSSL 默认使用 /etc/ssl/certs (或者有时使用不同的目录,具体取决于发行版)。但 Java 使用自己的存储,该存储使用不兼容的 Java 特定格式,并且 Chromium 衍生品和 Firefox 也有自己的信任存储。因此,要将 CA 添加到系统中,通常需要将其添加到多个位置。
thayne
·昨天·讨论
我希望除了 CA 设置名称约束(以及验证该名称的客户端软件)之外,最终用户还可以在添加新的受信任 CA 时添加其他约束,这样即使 CA 证书没有名称约束,您也可以将其限制为特定域。
thayne
·昨天·讨论
我认为这样做并不比使用地平线分割法更不正确。在我看来,没有 "正确 "的方法。每种方法都有缺点和利弊。
thayne
·昨天·讨论
分割地平线的另一个大问题是,在连接到 vpn 之前,客户端会缓存 dns 结果,而在连接后,由于使用的是公共 IP 而不是私有 IP,所以实际上无法使用服务。
thayne
·前天·讨论
> Beside that, for many problems, a garbage collector eliminates a large amount of defects (including the ones stated in the article)

Languages with garbage collection are generally considered "memory safe". GP was talking about choosing a language that requires manual memory management, but doesn't have something like rust's lifetimes to catch things like use-after-free.
thayne
·3天前·讨论
Even when I vacationed in Bayern (Bavaria), a lot of people switched to English when they realized that my German wasn't that good. Which was frustrating, because I wanted to practice speaking with native speakers.

Although, there were also people who only spoke German.
thayne
·3天前·讨论
It is also often more expensive than Amazon, which is I think is largely due to Anazon's anti-competetive, and possibly illegal "most favored nation" terms, but as a consumer it does discourage avoiding Amazon (which is why Amazon has those terms).
thayne
·4天前·讨论
I agree that acronyms can be overused, especially in marketing.

However, a big part of why Tech, software, computer science, etc. have a lot of acronyms is because there are a lot of new, often abstract things to name, and acronyms are an easy and straightforward way to create a reasonably unique and short name for a new thing. And I don't think anyone would really want to write out all of "hypertext transfer protocol" instead of http. And imagine if every url looked like "hypertext-transfer-protocol://world-wide-web.example.commercial/index.hypertext-text-markup-language". And if it had been given some other name, say "hyperprot" would that be any more meaningful than http?

Re: acronyms in English vs spanish.

I wonder if this is related to how human communication has a constant rate of information transfer. From what I understand, spanish is spoken faster, (more syllables per second) but has less information per syllable. One way that english is able to convey more information with less syllables is the use of acronyms and other abbreviations. And this is especially true for professional jargon that you use a lot to speak with colleagues at your job.

> You don’t see Kant writing TCI instead of “The Categorical Imperative” or Rousseau writing TSC instead of “The Social Contract”. You usually see the creation of concepts (Biopolitics by Foucault, Zeitgeist by Herder, Orientalism by Said) or the use of nominalization.

I don't think any of those terms are much better than acronyms. Maybe the name gives you a vague idea of what they refer to, but like many acronyms they are labels for complex ideas that you can't really understand just by knowing what it is called. And these terms can be, and are used for "in-group signalling" in much the same way as acronyms.

Finally, tech is not at all unique in its abundant use of acronyms. I don't know about in other languages but at least in English, Math, Physics, and astronomy also make heavy use of acronyms (ODE, PDE, QED, LCD, AGN, LASER, QCD, SI, CGS, AU, BEC, etc.) And from what I've observed medical and sales professionals also use a lot of acronyms.
thayne
·4天前·讨论
That seems worse to me.
thayne
·6天前·讨论
There could be an interaction with the diet though. For example, what if the nutrient in eggs that prevents Alzheimer's is something that also occurs in meat?

Also, it seems likely that among this population many of those who don't or rarely consume eggs are vegan or almost vegan, so it might be more accurate to say that veganism is correlated with Alzheimer's.
thayne
·7天前·讨论
Post is a natural monopoly, at a national scale. It is much more efficient to have a single centralized service doing all mail delivery than several competing services doing the same.

It isn't completely non-rivalrous, but the marginal cost of delivering a parcel diminishes as the number of parcels delivered in an area goes up.
thayne
·7天前·讨论
Sure, it's not perfect, but I'm doubtful privatizing it would make it any better. And on the list of things I want fixed in the US, it is far from the top.
thayne
·8天前·讨论
If you use an LTS version of Ubuntu (or Red Hat etc.), you are going to have older versions of software. That's just how it works. And is kind of the point of LTS. If you want more recent versions, use a rolling release or a more recent (non-LTS) version of Ubuntu (or whatever). The latest version of podman is going to depend on recent versions of the kernel and systemd, etc. and isn't going to work well on an older distro with older versions of those dependencies.
thayne
·8天前·讨论
The purpose of quadlets is when you want good integration with systemd.

The better equivalent of docker compose is podman kube, which does use a single file. And it isn't bespoke, it uses the same format as kunernetes.

And if you prefer the docker compose format, podman-compose is available as a separate tool.

And FWIW docker compose is a separate tool from docker itself as well (and needs to be installed separately on several linux distros). And can actually work with podman instead of docker.
thayne
·8天前·讨论
From the responses I've gotten from my representatives when I've written them, my impression is they care a lot more about their corporate sponsors and the party line than they do about their constituents.
thayne
·8天前·讨论
> Red Hat's UX designers heavily contributed to GNOME

Well, IMHO Gnome has worse UX than other linux environments like KDE, Niri witn Dank Materials Shell, etc. That is obviously a matter of opinion, but I don't think you necessarily need a large budget to get decent UX for an open source project.
thayne
·8天前·讨论
Code review doesn't have a single purpose. Finding code that is hard to maintain is one of those, and and an important one, but certainly not the only one, and I'm not sure it is even the most important one. Other purposes include:

- a safety check to ensure that if a developer (or AI) goes rogue, it is more difficult to merge malicious code

- a second perspective from someone who isn't as close to the problem and might see a better way to do things, or problems that the original developer missed

- in some cases having someone more familiar with other parts of the system look at it who can tell if it won't interact well with something else

- ensuring there is at least one other person familiar with the code

- a learning opportunity. The author can learn from feedback from the review, and the reviewer can learn from the code in the change. Especially important when the author and reviwer have differing seniority. When I mentor a new employee, I add them as a reviewer to all my PRs so they can see how I do things, and review all their PRs so I can provide guidance. And sometimes I even learn things from them!

- yes, catching bugs, although this should not be the primary mechanism for that, and I agree is not the most important reason. It is especially important for security and performance bugs though, as those are harder to catch with automated testing.