roberto [any]

  • 0 Posts
  • 4 Comments
Joined 3 years ago
cake
Cake day: May 8th, 2022

help-circle

  • Incredibly misleading quote of the paper:

    Managing populations is equally intractable. In many countries, calling for population planning would constitute political suicide. Even the United Nations Population Fund recently ‘decried any expressed concern about population growth as “alarmist”’ (O’Sullivan 2022b); strong advocates of population reduction strategies policies risk being vilified as racist, eco-fascists, eugenicists, anti-human or worse.

    Hey look, I spotted the one part where it mentions anything having to do with eugenics.

    That’s not the author discounting a eugenic solution, just admitting that a population cull would be practically impossible. The rest of the paragraph:

    Such attitudes and accusations are yet another manifestation of innate reductionist simplicity exacerbated by socially-constructed ideological blinders. Bajaj (2022) argues that the UN’s taunt of population alarmism springs from widespread pro-natalist ideology ‘which results in unrelenting pressures – a globally pervasive form of reproductive coercion – experienced primarily by women’. She further emphasises that that ‘pronatalism is integral to our current growth-based economic system, which relies on constant population growth to supply new consumers continually’. Indeed, corporations in the US [and other countries experiencing ‘peak population’] are sensationalising the idea of an economic ‘baby bust’ that threatens the nation with a paucity of workers, a reduced tax base and the loss of international economic clout. Many governments are responding with incentives to increase national fecundity.

    The author urges the initiation of a global depopulation project led by the UN, using what seems to be geopolitics academic jargon for “starve people, start with the poor countries.”


  • It is int to base58. uuidToShort is the function, calling fromUUID from short-uuid.

    There are multiple base58 implementations and I think this is the one bitcoin doesn’t use, which might make an online base58 translator get it wrong. short-uuid calls it “flickrBase58.”

    This gets the correct answers:

    def b58encode(fid):
      CHARS = '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'
      CHAR_NUM = len(CHARS)
      encoded = ''
      fid = int(fid)
    
      while fid >= CHAR_NUM:
        div, mod = divmod(fid, CHAR_NUM)
        encoded = CHARS[mod] + encoded
        fid = div
      return CHARS[fid] + encoded
    
    In [2]: b58encode(0x2126816c89f54aab842f65b9f3a39c8b)
    Out[2]: '56qHyeZvHYZitUFukWo5rz'
    
    In [3]: b58encode(0x8b9f9c446e1b485baf00c8b0e0067d59)
    Out[3]: 'ieZJYUFB83oQacsNiQ55Bt'
    
    In [4]: b58encode(0x72bd4bd2953843f381b2b8df991a32d8)
    Out[4]: 'faLTidGsoG1G1TPLKUFcJh'