HackerTrans
TopNewTrendsCommentsPastAskShowJobs

miahwilde

no profile record

comments

miahwilde
·há 3 anos·discuss
3 years from now: Was this written by a reputable AI? Yes? Great - let's publish now. No? Sorry - we don't have time to do QA on this - please resubmit with an AI-edited version.
miahwilde
·há 3 anos·discuss
wow x2. You're right video is where this is really cool. Take enough video of a scene and you can then create most any photo from any angle in it.
miahwilde
·há 3 anos·discuss


  # The Belt.
  def belt():
      # return itertools.cycle([1,2,3,4,5])
      x = 1
      while True:
          yield x
          x += 1
          if x > 5:
              x = 1
  
  # The +1
  def add1(iterable):
      for x in iterable:
          yield x + 1
  
  # The +y
  def add(y):
      def _(iterable):
          for x in iterable:
              yield x + y
      return _
  
  # The Oddifier
  def oddonly(iterable):
      for x in iterable:
          if x % 2 == 1:
              yield x

  # The Reaper
  def partition(n):
      assert n > 0
      def _(iterable):
          batch = []
          for x in iterable:
              batch.append(x)
              if len(batch) == n:
                  yield batch
                  batch = []
          if batch:
              yield batch
      return _
  
  # The Composer
  def compose(iterable, t1, t2):
      yield from t2(t1(iterable))
  
  # The Plumber
  def pipe(iterable, p):
      for xform in p:
          iterable = xform(iterable)
      yield from iterable
  
  # The Press.
  def printall(iterator):
      import time
      for x in iterator:
          print(x, end=", ", flush=True)
          time.sleep(0.3)
  
  # printall(pipe(belt(), [add(1)]))  # 2, 3, 4, 5, 6, 2, 3, 4...
  # printall(pipe(belt(), [add(1), oddonly]))  # 3, 5, 3, 5, ...
  printall(pipe(belt(), [add(1), oddonly, partition(3)]))  # [3, 5, 3], [5, 3, 5], ...
miahwilde
·há 3 anos·discuss
The human brain consumes 20% of calories - a balance of brain vs brawn that has proven effective. I'd argue we'd be much better off with radically more energy (as a percentage of global energy) going to data centers. I'd also argue that this equilibrium will find itself.
miahwilde
·há 3 anos·discuss
Do you perchance maintain a short list of clean and lean libraries?
miahwilde
·há 3 anos·discuss
Long-running processes have their uses but they are not the only tool or the end of the evolution. "Serverless lambda" is one example of how moving back to one-off processes provides a different kind of value.
miahwilde
·há 3 anos·discuss
No - we are the monkeys. This is something different.
miahwilde
·há 3 anos·discuss
Note sure, but I like how you think.

there is this: https://ma.rkusa.st/store-sqlite-in-cloudflare-durable-objec... and this: https://developers.cloudflare.com/d1/

So I'm thinking it could (be made to) work.
miahwilde
·há 3 anos·discuss
- "Vital" and "crucial" both indicate a required element.

- "Key" and "important" both indicate notable elements.

- "Key" can also be used to indicate a required element, i.e. "keystone", however it is not always used in this way.

- "Key" can also be used to indicate "there is only one" though it is not always used in this way.

When "key" is meant as "singular & required & notable" it probably carries the most weight of all these words. However, since it is not always used in that way, I personally tend to give it less weight.

In casual use I would order them like this (strongest to weakest): crucial, vital, key, important.

In formal use I would order them like this (strongest to weakest): key, vital, crucial, important.

My favorite thesaurus, ChatGPT, agrees with my casual use ranking. https://chat.openai.com/share/10bb8195-c7cd-4c0c-935f-f5b4c3...
miahwilde
·há 3 anos·discuss
Here's what we believed in 2023: people want solutions they can understand in two hours.

Here's what everyone actually wanted to talk about: Trust.

Here's what we missed: ...
miahwilde
·há 3 anos·discuss
What is a fact - fundamentally?
miahwilde
·há 3 anos·discuss
Disagree. "Throw-away" culture has been a historic norm and can actually become a moral "should". Cultures that produce "toxic" waste products (such as the current dominant one) do indeed have a moral imperative to do what they can to reduce waste. However, cultures that produce "beneficial" waste have a moral imperative to produce more. "Throw-away" culture has its roots in the long history of humans where "throwing things away" was just returning resources into the larger ecological systems. In this model, who gets alienated over the long arc of time?
miahwilde
·há 3 anos·discuss
Wake me up when it's self-bootstrapped. This repo should contain the metadata for the source code of itself in pi. Or at the very least the metadata for "Everything can be stored in pie" in pi.
miahwilde
·há 3 anos·discuss
Rather than APIs for everything I'd prefer that we figure out (technically, socially, politically, economically) how to separate data and applications on the "web platform" in the same way that we do on a local OS. Keeping files as distinct from the applications that use them has been a pretty effective design principle.
miahwilde
·há 3 anos·discuss
Here's a thought: what if it's less that the rate of change is increasing and more that our mental models of the world tend to solidify as we age such that the perceived rate of change of the world increases. This is more an observation of the "the world was a lot simpler when I was young" mentality rather than a comment on the long range compounding effects of technology though they might be related.