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

jolmg

6,163 声望加入于 10年前

评论

jolmg
·4小时前·讨论
嗯......你的引用(不知出自何处)提到他们获得了设备所有者的同意,但你的联邦调查局链接却提醒我们如何避免被恶意软件感染。

如果它们得到了同意,那就不是真正的僵尸网络了......

这与餐厅和酒店的开放式 WiFis 以及大多数 VPN 服务并无太大区别。
jolmg
·7小时前·讨论
> 这里 Emacs 中“客户端”和“服务器”的用法指的是 [...] 简单的控制命令

尽管如此,它仍然可以实现这一点:

> 运行时状态通过网络在客户端和服务器之间同步

在图形 X11 框架上:

https://news.ycombinator.com/item?id=48864196

但它还允许通过 SSH 拥有多个 TUI `emacsclient -c -nw` 框架。
jolmg
·8小时前·讨论
由于某些原因,`ssh -X` 的性能非常糟糕。在 Emacs 上调用 Info 手册时,即使是在局域网内也能看到每一行的单独显示。

最好的办法是在 X11 服务器上启用 TCP 连接,在 Emacs 主机和 X11 服务器主机之间设置一个 Wireguard VPN,并安装防火墙,只允许通过防火墙进行 X11 连接。这样,远程 Emacs 窗口/帧的吞吐量和延迟都会非常好,与本地窗口/帧没有区别(至少在局域网内是这样,在互联网上还没有真正尝试过)。

> 不过请注意,如果你使用的是非 GPTK GTK 版本,关闭这个新框架将导致远程 Emacs 崩溃。

我想我用的是好的版本。没有遇到过这个问题。我遇到的问题是,如果你在主机上打开一个框架,然后让它休眠足够长的时间,直到 Emacs 主机上的 X11 连接超时,那么 `emacs --daemon` 就会崩溃。当我使用它时,我只是确保经常保存缓冲区,systemd 会自行再次启动 `emacs --daemon` 。

`emacs --daemon` 在同时使用多个 X11 连接到不同主机方面没有问题,但它无法处理连接自行关闭的问题。当连接到 X11 服务器的所有框架都已关闭时,它也不会自行关闭 X11 连接。因此,即使在休眠前关闭了机器上所有的 Emacs 框架,仍会导致 `emacs --daemon` 崩溃。
jolmg
·10小时前·讨论
“歧视”是具有多个相似但不同定义的词之一。你用它来表示“洞察力”,但我用它来表示“偏见”。他们没有辨别“含有疾病的血液和不含疾病的血液”。他们区分来自某些国家的旅行者和非旅行者,并将其用作非常容易出错的代理。您来自某个国家这一事实并不自动意味着您患有某种疾病。
jolmg
·昨天·讨论
可能是正常的超社会现象。他们将相机(作为一个集体的观众)视为他们多年来熟悉的关系。你可能会遇到他们,希望他们像对待他们的相机(收视集体)一样对待你,就像你们已经有多年的关系一样,但你个人对他们来说是一个完全陌生的人。你可能会更好地对待陌生人,但并不是每个人都这样。
jolmg
·昨天·讨论
可能是正常的超社会现象。他们将相机视为多年以来的亲密关系。你见到他们时可能希望他们像对待相机一样对待你,就像你们已经有多年的关系一样,但实际上你对他们来说很陌生。你可能会更好地对待陌生人,但并不是每个人都这样。
jolmg
·前天·讨论
Generally, because they're discriminatory. It's like how racial profiling in law enforcement can be a heuristic that can work. Though, in the case of blood donations, it seems that tests aren't accurate enough to be able to rely solely on them. Also, being discriminated against on being able to donate blood is not as big of a deal. Though in some places with public health systems, stuff like getting a surgery may somewhat depend on you and family/friends donating a certain amount of blood.
jolmg
·前天·讨论
"Linux, the open-source language of the internet" comes from the linked akamai.com press release, not the blog post author. Their putting that as a section title to the quote may be their poking light fun at it.
jolmg
·前天·讨论
Wouldn't be interesting enough to nerd-snipe people.
jolmg
·3天前·讨论
> I keep trying to explain to people that private companies harvesting your data, while not good, is done solely for the purpose of trying to get you to voluntarily buy more toilet bowl cleaner.

A reminder that governments can buy from private companies. A company like Palantir can buy data from private companies then incorporate it into the software it sells to governments.
jolmg
·5天前·讨论
> Well, the brackets thing and the necessity to repeat name of every element twice,

As a document format, it's supposed to be hand-written by humans. If you have paragraphs between the opening tag and closing tag, it makes sense to let the reader know what they're seeing the closing of.

After deciding you do want to repeat the element name, the angle brackets make more sense. Otherwise, you can have a syntax like LaTeX's.
jolmg
·5天前·讨论
> The worst part about it is the tags vs attributes fights. They both do the same thing and the only difference is preference.

They're not the same thing. If you look at it as the extensible markup language for documents that it is, "tags" (i.e. inner content) would be visible and "attributes" would not. If your XML document was processed by an application to convert to another type of document (PDF, etc.), and it didn't recognize a particular tag, it would be sensible for attributes to disappear, but inner content ("tags") to remain.

It's only seems like a preference thing if you look at XML as a structured data format like JSON is.
jolmg
·5天前·讨论
> developers must become domain experts [my emphasis] in a rich and complex space that is essentially unrelated to the application itself.

XML is a markup language, but most people that used it just needed a standard structured data format. In comes JSON which is more easily compatible with the object systems of various languages and in particular is compatible with Javascript syntax, and XML loses most of the people that used it.

As a markup language though, it seems pretty good. It's just that the amount of people that actually need an extensible markup language is much smaller.

I do hate the strictness of it. The header

  <?xml version="1.0" encoding="UTF-8"?>
should be unnecessary. For a markup language, an already-made plain-text document should already count as XML. The tags should be something you can just sprinkle as you'd like to add contextual metadata.
jolmg
·7天前·讨论
People also say things in ways not to be taken super literally. "There's a special place in hell" is an idiom.

> Said of a person whom one considers to be especially wicked, evil, malevolent, etc. Often used facetiously or sarcastically.

From: https://idioms.thefreedictionary.com/there's+a+special+place...

So they're not really saying this either:

> just that they should endure eternal torture afterwards

They're really just saying, "these people are evil/wicked".
jolmg
·7天前·讨论
>> These people are evil.

> So you want to kill them?

If you're being serious, saying "there is a special place in hell" does not equal "let's send them there".
jolmg
·7天前·讨论
> Most men who call themselves feminists got there by agreeing with ideas. Agreement is the easy part. The hard part is the gap between a man's stated principles and his Tuesday afternoon

Given the title, I thought this was about work on one's personal or professional lives. Never expected it to be some kind of call to action to male feminists.
jolmg
·7天前·讨论
Strawman if I ever saw one.
jolmg
·8天前·讨论
I thought that may be the case. I shared the guideline so they'd know the likely reason all their comments die immediately.

However, their comments are consistently long, so it may be GenAI after all. Their last comment in particular...

https://news.ycombinator.com/item?id=48771339
jolmg
·8天前·讨论
>> remove PII
jolmg
·8天前·讨论
Guideline:

> Don't post generated text or AI-edited text. HN is for conversation between humans.