Better HN
topnewbestaskshowjobs
Log inSign up

benkuykendall

291 karma · joined Apr 1, 2015 (11y ago) · 97 submissions

Submissions

comment 4d ago · link · parent

Maths stuff is a "nice" application for AI because the correctness of a proof can be verified quickly by a computer program. This lets swarms of agents rapidly try new approaches and verify them. For medical or social issues, we don't know how to verify a solution in the abstract, we'd probably need to run experiments, which is much slower and more expensive, and requires humans in the loop.

comment 1y ago · link · parent

Phew. The pessimism here is kinda... exhausting. But frankly I don't have any material objections

""" The Mars Religion

When you hold on to a belief so strongly that neither facts nor reason can change it, what you are doing is no longer science, but religion. So I’ve come to believe the best way to look at our Mars program is as a faith-based initiative. There is a small cohort of people who really believe in going to Mars, the way some people believe in ghosts or cryptocurrency, and this group has an outsize effect on our space program.

At NASA, the faith takes the form of a cargo cult. The agency has persuaded itself that re-enacting the Moon landings with enough fidelity will reward them with a trip to Mars, bringing back the limitless budgets, uncomplicated patriotism, and rapt public attention of the early sixties. They send up their rockets with the same touching faith that keeps Amtrak hauling empty dining cars across the prairie, dreaming of the golden age of rail.

Outside of NASA, the Mars faith shades darker. It is part of a transhumanist worldview that holds mankind must either spread to the stars or die. Elon Musk, the Martian spiritual leader, has talked about the need to “preserve the light of consciousness” by making us a multiplanetary species. As he sees it, Mars is our only way off of a planet crawling with existential risk. And it's not just enough to explore mars; we have make it a backup for all civilization. Failing to stock it with subsistence farming incels would be tantamount to humanity lying down in its open grave. """

comment 2y ago · link · parent

> Getting to Turing completeness can require polynomial CoT tokens, wrt the input problem size.

So, as stated, this is impossible since it violates the Time Hierarchy Theorem.

The actual result of the paper is that any poly-time computable function can be computed with poly-many tokens. Which is... not a particularly impressive bound? Any non-trivial fixed neural network can, for instance, compute the NAND of two inputs. And any polynomial computable function can be computed with a polynomial number of NAND gates.

comment 2y ago · link · parent

For some reason, I find it kinda funny you don't just ask the LLM to extract the values for you. Practically, your solution makes a lot of sense -- way fewer tokens, less likely to make weird one-off errors, can verify the response makes basic sense or re-use the code off-line or with sensitive data...

But if I were watching Star Trek, they would definitely just ask the computer to grab the fields and it would be a done deal!

comment 2y ago · link · parent

No. Hokusai pre-dated Impressionism by a couple of decades, but his work was known in Paris and almost certainly influenced the movement. Also worth noting this particular work's influence on Impressionist music: see the cover of Debussy's La Mer.

comment 2y ago · link · parent

> The amendments limit the governments reach, not limiting the people.

Well... other than the 18th Amendment.

comment 2y ago · link · parent

Hmm... but does it taste good? If I'm growing my own tomatoes, I'm going for something delicious like a Pink Brandywine or Cherokee Purple (which, compared to this specimen, is admittedly more brownish red than purple).

comment 2y ago · link · parent

I feel like I'm missing some context here?

comment 2y ago · link · parent

Sure, but you can associate events with indicator rvs: X = 1[Heads], Y = 1[Tails]

comment 2y ago · link · parent

Not sure how literal you're being -- this is an obituary. True to style, it gives a brief and positive biography of the deceased.

comment 2y ago · link · parent

np is the standard alias for numpy, probably the most popular numerical and array processing library for python. So, no, not part of the standard lib at all. But a universal import for most users of the language in any science/stats/ml environment. That said, still a surprising place from which to import a basic stream processing function.

comment 2y ago · link · parent

This kind of work sounds potentially (?) important for continuing to improve network technology. Unfortunately I don't have the background to understand why it works in the slightest.

However, it reminded me of an older approach to signal filtering that I just recently learned about: the superheterodyne radio receiver. It's a simple idea that enabled us to build cheap, tunable radios. YouTube video if you're curious: https://www.youtube.com/watch?v=hz_mMLhUinw. Definitely an accessible introduction to a neat trick in signal processing!

comment 2y ago · link · parent

Not entirely sure what you're getting at here -- what do those other two publications have to do with this essay?

comment 2y ago · link · parent

My favorite function here is more_itertools.one. Especially in something like a unit test, where ValueErrors from unexpected conditions are desirable, we can use it to turn code like

  results = list(get_some_stuff(...))
  assert len(results) = 1
  result = results[0]
into

  result = one(get_some_stuff(...))
I guess you could also use tuple-unpacking:

  result, = get_some_stuff(...)
But the syntax is awkward to unpack a single item. Doesn't that trailing comma just look implausible? (Also I've worked with type-checkers that will complain when a tuple-unpacking could potentially fail, while one has a clear type signatures Iterable[T] -> T.)

comment 2y ago · link · parent

Maybe in some cases, but the performance characteristics are way different. The functions in `more_itertools` return lazy generators, but it looks like `np.flatten` materializes the results in an ndarray.

comment 2y ago · link · parent

I couldn't really understand this paragraph. Maybe I need a worked example?

> Bit rotation can be implemented using a combination of bit shifting and or operations, and on a hardware level, with different locical XOR ports. That’s of course just one way, and you still need a way to identify the number without confusing it with another figure. Although I don’t think that last was implemented: if you select your starting bits in a smart way, there won’t be any overlap. The identification system here uses 14 bits, and all of the figures have either 6 or 7 1s, making it even possible to completely ignore bit rotation and just rely on the relative position of the enabled bits to do the identification. I’m of course merely guessing at this point.

Not sure what it means to "completely ignore bit rotation" and "just rely on the relative position of the enabled bits", those sound like the same thing to me.

To throw my speculation out there, I wonder if this is just done with a lookup table. If we use a byte (generous) to identify each figure, then a table indexed by all 2^14 bit patterns will take less than 17kb. No need to do anything more clever.

comment 2y ago · link · parent

This is touched on in the article. In fact a fintech startup Ingo Money is trying this.

> And then there’s one decision which I just love aesthetically: if you’re willing to wait ten days, Ingo will discount your fee straight to zero. Why ten days? It is past the window where fraud discovery will result in the funds being clawed back plus (ahem) a bit of annoyance tacked on as a product decision.

comment 2y ago · link · parent

Huh I have exactly the opposite prior here. I was surprised by the Ngram though:

https://books.google.com/ngrams/graph?content=to+bartend%2C+...

Looks like over the past 200 years, "tend bar" was strongly preferred, but since the turn of the millennium, "bartend" has been catching up, and eventually overtook "tend bar". Similar results if you look at the infinitive or various cases, with the exception that "bartending" has been more popular than "tending bar" since the 1950s.

comment 3y ago · link · parent

It's hard for me to relate to this point of view. Sure, my local park isn't the Grand Canyon, but on a day-to-day basis, failing to make the "top-100 list" doesn't impact my enjoyment of the outdoors.

Fresh air, literally. Sunlight during parts of the year. Observing the changing seasons. Seeing plants, and maybe animals. Exercising by myself or in organized sports. Being in a shared space with others in my community enjoying themselves.

These all seem like pretty small asks for an outdoor space. Sure you probably won't appreciate them in a highway median, but I also doubt that most people would have to drive 200 miles to find something like this.

comment 3y ago · link · parent

If I understand you correctly, I think ParamSpec (since 3.10) is what you are looking for, especially if you want to be generic over the type of the inner function. The example from the docs (https://docs.python.org/3/library/typing.html#typing.ParamSp...):

  from collections.abc import Callable
  from typing import TypeVar, ParamSpec
  import logging
  
  T = TypeVar('T')
  P = ParamSpec('P')
  
  def add_logging(f: Callable[P, T]) -> Callable[P, T]:
      '''A type-safe decorator to add logging to a function.'''
      def inner(*args: P.args, **kwargs: P.kwargs) -> T:
          logging.info(f'{f.__name__} was called')
          return f(*args, **kwargs)
      return inner
  
  @add_logging
  def add_two(x: float, y: float) -> float:
      '''Add two numbers together.'''
      return x + y

comment 6y ago · link · parent

What does EMEA stand for?

comment 7y ago · link · parent

This paragraph, later on in the piece, briefly addresses the issue. According to the sources the author cites, the cull is not ecologically justified, but rather to stop the cattle from competing with domestic cattle.

>> Of the estimated 5,000 bison in the park in February, only a few hundred had roamed into Montana, and most of these had already been killed. The goal during 2015 was to "cull," in the language of wildlife management, at least 900 of the creatures, almost 20 percent of the herd. Park Service officials told me that the IBMP had established a maximum population of 3,000 bison in the park, and that this year's cull was a first step toward achieving that number. James Bailey, a retired professor of wildlife biology at Colorado State University and author of the 2013 book American Plains Bison: Rewilding an Icon, told me the ceiling of 3,000 animals is "a political number, not a biological or ecological number. It's what the ranchers will accept.

comment 7y ago · link · parent

I appreciate that use of your vehicles was essential for you during the aftermath of Katrina. But I don't think emergency situations are a good enough rational for using a gasoline-powered car every day. As in many computer science problems, there are benefits from treating the worst case (e.g. medical transport after a natural disaster) and the average case (e.g. commuting to work) separately.

In general, I suspect electric is better in the average case, and gasoline in the case of emergencies. We see this with household power: most people power their houses with electricity, but may use a gas backup generator. For the similar reasons, we should probably drive electric cars to work but continue using gasoline-powered ambulances.

comment 7y ago · link · parent

A Domino's extra-large pizza is 16", comparable to the width of the handlebars. I think they'll be fine.

comment 7y ago · link · parent

A "sin tax" is logical enough -- higher prices discourage the excess consumption of alcohol and the money raised hopefully goes to beneficial government programs. However, I don't see why a minimum price is set. Wouldn't it be better to do away with the minimum price and raise the tax?

Say the cheapest beer is manufactured for $1, the minimum cost of beer is $2, and the tax is $1. Then, when a consumer pays $3 for a beer, $1 goes to the government, $1 for manufacturing costs, and $1 is profit for the producer.

Instead, imagine no minimum cost but a tax of $2. The consumer pays $(3+c), $2 goes to the government, $1 for manufacturing costs, and $c profit. Competition would drive c low, and manufacturers would be rewarded for low manufacturing costs instead of profiting from the minimum price.

comment 9y ago · link · parent

Personally, I don't really like the translation "information about A and B is insufficient to rule out implication". At least when I say "A implies B" I mean exactly "A => B". But maybe I hang out with too many mathematicians.

Other common translations you might be interested in are "A suffices for B" or "B is necessary for A". Though admittedly these particular words have a bit of a mathy tone, so no wonder they are so precisely tied to the definition of implication.

As far as your idea of "outside information" goes, I'm afraid it kind of breaks outside the bounds of sentential logic, which cannot deal with numbers in the manner you are attempting. However, that does not mean we cannot analyze it with logic. It should be simple to put your sentences into the logical "language" of Arithmetic and to prove more or less what you would expect: A is false (because John never leaves the office before 5), B is false (because it takes him 30 minutes to get home), and that "A => B" is true (by the definition of material implication, however vacuously).

comment 9y ago · link · parent

That's an interesting dichotomy to establish. At first, it appears to mirror the theoretical/applied division we see in a lot of fields. But in addition to an applied mindset, you seem to be demanding something stronger out of logic: applicability to philosophical discourse. To me, this seems like a very lofty goal: I would be very surprised if someone treated religion (to use your example) productively with formal logic.

However, just because it's not immediately applicable in one domain does not make logic useless. A great example of this is Prolog, a logical programming language which uses declarative statements reminiscent of first order logic. It can solve real world problems, though it has not yet seen wide adoption as a programming language. People do use automatic theorem provers, which have their roots in logic. The are used not only to further the "game" of mathematics, but to find also bugs in real hardware and software systems. These application have very little to do with philosophy, and nothing to do with translating between English language and logical sentences. However, I think they are quite interesting.

(I'm not sure what to tell you about logic "sounding stupid". In the end, things like definitions of connectives are just conventions. Although it's good to understand their motivations, I'm not sure how much good objecting to them does. It kind of reminds me of half serious attempts to adopt tau := 2 pi as mathematical notation; maybe using a different constant makes more sense to you, but finally, it won't make a big difference, and you should probably just continue to use pi for interoperability with the rest of the world.)

comment 9y ago · link · parent

Not to trivialize your issue, but I always am dismayed at how much time is spent trying to map English statements into those of sentential logic, especially in cases where their usage differ, like inclusive ors or material implication.

In a more mathematical study of logic, you define your logical connectives using truth tables. So the material implication is nothing more and nothing less than

  X | Y | X -> Y
 ----------------
  F | F | T
  F | T | T
  T | F | F
  T | T | T
For the unfamiliar, a truth table works as follows: in the sentence "X -> Y", evaluate the truth values of X and Y (If X and Y are themselves sentences, this follows recursively. If they are atomic predicates, they should have fixed truth values). Then, refer to the appropriate row of the table to find the value of the sentence.

Rather tangentially, my logic teacher would always say "to verify a material implication, we must falsify the hypothesis or verify the conclusion". I'm not sure that helped any of her students come to terms with the connective, but it is a succinct (if not jargon-heavy) way to summarize that table.

1234