HN user

luc4

32 karma
Posts0
Comments23
View on HN
No posts found.

Since the query compilation needs exponential time, I wonder how large the queries can be before jsongrep becomes slower than all the other tools. In that regard, I think the library could benefit from some functionality for query compilation at compile-time.

To give a different opinion, the math topics are actually what I like most. When I'm looking for something on Wikipedia, I want to get a precise definition and related concepts. I don't think it's Wikipedia's job to teach me the material, there's other resources for that.

It seems like the article is missing the central point -- namely that the currency was depreciating monthly, providing an incentive to spend it as quickly as possible.

One could argue that infinite subsets of the natural numbers are not really interesting unless one can succinctly describe which elements are contained in them. And of course there is only a countable number of such sets.

At the risk of stating the obvious, you can criticise the government without personally insulting public officals. In fact, in Germany, you can be prosecuted for insulting anyone; there is nothing special about public officials.

First, these studies merely suggest that microplastics have these effects in humans, yet you state them as fact. However, I don't want to argue that microplastics are harmless or that pollution is not an issue. Neither do I want to defend the point that doubling the population doubles the "speed of discovery". But even if all of your points are accurate, you would still have to show that these negative effects outweigh the benefit of a priori doubling productivity. In fact, you make the even stronger claim that doubling the population will actually cut the "speed of discovery" in half. None of this is substantiated by your argument.

Currying 2 years ago

It's ironic that your responses come off as much more rude and condescending than the comment in question.

Life After Ozempic 2 years ago

CICO is fundamentally true, but the point is that "calories-out" depends on so many factors (including "calories-in") that it becomes meaningless.

Maybe Functions 2 years ago

Yes, exactly. It's missing the monadic bind (which for the list monad would be flatMap).

What? We're not refusing to "pay other software companies a few bucks for their engineering work", we refuse to give in to the extortion attempts of a greedy multi-billion dollar company.

I have and will keep financially supporting software I find useful. However, I do agree that it's questionable whether you can easily replace Google as a source of funding.

BB(3, 3) is Hard 3 years ago

Uncomputable functions exist because the halting problem exists.

Uncomputable functions exist because there are only countably many Turing machines. There are problems that stay uncomputable even if the halting problem were computable.

The class of problems solvable in a finite amount of memory is just the class of regular languages. The “finite memory” is the finite state machine used to solve them.

I think they meant to say "constant memory" since every halting Turing Machine uses finite memory.

Wow, I've seen many AI-powered language apps lately, but this is by far the best. The others, if they offered verbal conversation at all, really struggled with my stuttering while trying to find the right words. I'm impressed that yours doesn't have this problem at all. It even understands when I use technical terms in english.

I'd love if the AI was a bit more fleshed out, so I can actually ask questions without getting the "I'm an LLM by OpenAI..." lecture.

Good question. BB is certainly an upper bound.

Consider the problem P_f of getting an input x and having to compute a value >= f(x), where both the input and the output are encoded in unary. We know that BB grows faster than any computable function, so P_BB cannot be computable.

Suppose for contradiction that there was a computable problem Q with time complexity Omega(BB(x)). This means there exists a Turing Machine M that computes Q and a function T(n), such that for each n there exists an input y of length n, such that M halts after exactly T(n) steps. Moreover, T(n) = Omega(BB(x)).

Then we can construct a Turing Machine M' that computes P_BB. The idea is to run a TM for Q on a length x input and counting the number of computation steps. That number is then larger than BB(n) and thus a valid output for P_BB. Formally:

Let M be a TM that computes Q. Without loss of generality we assume that M uses a binary tape alphabet. Since T(n) = Omega(BB(x)), there exists per definition a C > 0 and an k_0 > 0 such that for all k > k_0 it holds that C*BB(k) <= T(k). M' now operates as follows. Given a unary input x, M' first checks if |x| <= k_0. If yes, M' just outputs BB(|x|). Otherwise, M' enumerates all bitstrings y of length |x|. For each y, M' then runs Q on y step-by-step while incrementing a unary counter c_y. Finally, M' outputs the longest such c_y, divided by C. Per assumption, the longest c_y satisfies C*BB(|x|) <= c_y, so c_y/C >= BB(|x|).

This implies that P_BB is computable, contradicting our initial observation. Consequently, such a Q cannot exist.

In fact, this proof works for any function that grows faster than all computable functions. This means that BB as an upper bound is not tight. For example log(BB) also satisfies this property.

Quantum error correction has been experimentally demonstrated for a single logical qubit, e.g. [0][1]. Even though there might be implementations of multiple such qubits, we're still very much in the "Noisy Intermediate-Scale Quantum" era.

Generally, the number of physical qubits scales linearly with the number of logical qubits.

[0] https://journals.aps.org/prx/abstract/10.1103/PhysRevX.11.04... [1] https://www.nature.com/articles/s41586-022-04566-8

How would that be political suicide?

I'm mostly thinking international politics and -projects like Nord Stream 2. But even internally, there are already anti-establishment movements in Russia. Unpopular military intervention might be grist to the mill for them. I don't think Putin wants to risk a situation like in Belarus a few months ago. It's easier to govern if the people don't openly disapprove of you, even in a dictatorship.

It's only economical suicide if the West makes it so, which it most probably would not

I remember plans about excluding Russia from SWIFT. I don't know if that is still on the table.

Exactly. Invading Ukraine would be political and economical suicide for Putin and Russia. Yet here we are getting bombarded in the media with the supposed threat of an imminent russian invasion. The chief of the german navy criticises this narrative and is forced to apologize and resign. I don't know but this all feels very dishonest.