Does Fu have a “super” transformation?

The Dragon Ball Wikia doesnt list any transformation for Fu, but this more than a power-up looks like a transformation. The black aura alone could be a powerup, but his eyes turn red and his hair gets spiky similar to a super saiyan. Does any manga or videogame show Fu have a transformation or it’s just a powerup? It’s not only a semantic issue because a transformation allows the user to boost his power beyond the limits of his base form. I dont think there is anything official about this, but I think it’s worth mentioning just in case, there are many fans already calling this “super Fu” or “super saiyan devil”.

enter image description here

Are “Diagonal” Attacks More Deadly in Diplomacy?

As France, for instance, it’s fairly easy to defend against an extended “frontal” attack in the north by England and Germany, by covering the connected zones, Burgundy, Picardy, and Brest. Fortunately I’ve never had to do this, but it seems harder to defend against a simultaneous attack by England, aimed at Brest, and Italy, aimed at Marseilles, on a northwest to southeast axis.

As Russia, it’s relatively easy to defend against a two power attack from the west or southwest, say by Austria-Hungary, allied with either Germany or Turkey. That’s because Sevastopol, the Ukraine, and Warsaw form a natural defense line. The one to fear seems to be England and Turkey to both the north and south. Then Russia is split in two directions, and easy game if one of the Germanic countries becomes a third attacker.

Has anyone had the experience of being victimized by “divergent” attacks at both ends of the Empire? Or more to the point, gone out of their way to create these kinds of problems for their opponents?

Did photosynthesis appear 3.5 billion years ago?

According to Khan Academy, “Beginnings of life” at about 8:15:

…about 3.5 billion years ago… prokaryotes, or especially bacteria, evolv[ed] to actually utilize energy from the sun, to actually do photosynthesis.

https://www.khanacademy.org/science/cosmology-and-astronomy/life-earth-universe/history-life-earth-tutorial/v/beginnings-of-life

But…

Solar evolution implies, for contemporary albedos and atmospheric composition, global mean temperatures below the freezing point of seawater less than 2.3 aeons ago, contrary to geologic and paleontological evidence.

Earth and Mars: Evolution of Atmospheres and Surface Temperatures. C. Sagan, G. Mullen, Science, 1972

~

In other words, life shouldn’t have been able to develop here — yet it somehow did. The problem is sometimes referred to as the “faint young sun paradox,” and it has puzzled scientists for generations.

Mother Nature Network, “What is the faint young sun paradox?”

In 2016, researchers from NASA proposed that “the efficient formation of nitrous oxide could explain a warm early Earth,” and that the extra nitrous oxide was provided through “frequent and powerful coronal mass ejection events from the young Sun—so-called superflares.” (ref: Prebiotic chemistry and atmospheric warming of early Earth by an active young Sun, 2016, NASA)

Is it true that the sun wasn’t hot enough to support liquid water on the earth until about 2.5 billion years ago? Is it plausible that superflares resolve this problem? (Seemingly they would if they provided the greenhouse gas and chemicals needed for photosynthetic life to start in liquid water oceans while the sun was still 25-30% colder than it is today)

How does a PenTile display controller interpret its RGB framebuffer?

On a PenTile display, the mapping from pixels in the framebuffer to individual subpixels is not trivial. Each pixel in the framebuffer may only have RG and BG subpixels, in some interesting geometric arrangement.

I’m trying to do some subpixel antialiasing of content that will be displayed on a PenTile display, so to get best results I’d like to understand how I can set the values of each pixel in the framebuffer to control the subpixels individually. (N.B. I know the subpixel layout of the display I’m targeting.)

Can I use MatLab code in esp32?

We’ve some method to run the MatLab code in esp8266 microcontroller. We can manipulate Arduino pins using Simulink in MatLab.

Can we do the same with an esp32 microcontroller as their code can be executed in Arduino IDE?

In Arduino, we are only able to execute Simulink or its own code at a time. Will I have the same problem here with NodeMCU ESP32-WROOM-32D?

Datasheet for the above mentioned microcontroller

Top coat poly makes other sides rough

We’re restoring some old furniture – sofas with a lot of carving, whole wood book shelves, et al. We’ve stripped the old varnish and are redoing the job with poly. We did 2 coats of PU sealer and 2 coats of PU Matt, all with a spray gun. Most of the wood’s teak stained with walnut, some of it is rose wood, so we’re getting a nice dark brown.

For some reason, when spraying the top coat say onto one side of say the sofa’s arms / legs or a shelf’s side, the other finished sides pick up rough grey patches. The contractor reckons it’s air from the spray gun that’s causing that and says it’s inevitable when using matt PU. We’ll be trying again by covering the finished sides with paper and painter’s tape, but we can’t do this with the sofa’s arms / legs as easily.

We also tried wet sanding with 1500 sandpaper – which removed the roughness, but left the grey patches – followed with 3m finesse it paste wax; it’s too shiny for our liking and it raises the wood’s grain, the grey patches / new scratches are now visible.

This is the brand of PU we’re using: https://www.bergerpaints.com/products/wood-finishes/56/imperia-luxury-polyurethane

Is this normal? If so how do we avoid these rough grey patches in the first place?

Bed frame
Bed frame's leg
Bookshelf's side

Como deixar centralizado um icone juntamente com um LI adicionado via CSS dentro de uma UL

Gostaria de saber como centralizar um icone implementado via background url() no css junto com meu LI, o problema é que quando eu adiciono o icone, ele afasta pro lado direito o meu LI e como ele aparece colado no LI tenho que da um margin, e quando faço isso ai é que ele afasta mais ainda e fica tudo descentralizado em relação ao meu header como eu mostro nos prints com e sem essas alterações. Tem alguma maneira pra que isso nao aconteça?

ANTES DAS ALTERAÇÕES

DEPOIS DAS ALTERAÇÕES

Identificar quando o “scroll infinito” termina [pendente]

Estou estudando JavaScript, tenho um site com scroll infito, sempre que chega ao final do scroll novos dados aparecem. Eu quero carregar todos esses dados automaticamente, sem que eu precise ficar rolando o mouse, então eu estou usando isso:

window.scrollTo(0,document.body.scrollHeight);

porem como o scroll é “infinito” e vai recarregar os dados, então eu dou um setInterval para o scroll ir pro final sozinho apôs esses dados serem carregados, pra isso estou fazendo assim:

setInterval({

window.scrollTo(0,document.body.scrollHeight);

}, 3000)

mas minha duvida agora é saber quando esse scroll “infinito” termina, isso porque eu quero parar o setInterval quando não houver mais nada a ser carregado, mas eu não sei como fazer isso.

Problema com inser̤̣o de chave estrangeira no banco Postgres РElixir/Phoenix

Eu sou novo no uso de Elixir e gostaria de fazer uma inserção com chave estrangeira no banco(Postgres), via POST (é um JSON)

abaixo meus módulos

defmodule MeuProjeto.Carteiras.Carteira do
  use Ecto.Schema
  import Ecto.Changeset


  schema "carteiras" do
    field :campo_1, :string
    field :campo_2, :integer
    field :moedas_id, :id
    has_one :moeda, MeuProjeto.Moedas.Moeda

    timestamps()
  end

  @doc false
  def changeset(carteira, attrs) do
    carteira
    |> cast(attrs, [:campo_1, :campo_2])
    |> validate_required([:campo_1, :campo_2])
  end
end

e

defmodule MeuProjeto.Moedas.Moeda do
  use Ecto.Schema
  import Ecto.Changeset


  schema "moedas" do
    field :nome, :string
    belongs_to :carteira, MeuProjeto.Carteiras.Carteira

    timestamps()
  end

  @doc false
  def changeset(moeda, attrs) do
    moeda
    |> cast(attrs, [:nome])
    |> validate_required([:nome])
  end
end

no banco, o relacionamento já existe, moeda_id é uma chave estrangeira na tabela “carteiras”.

Quando eu faço o POST, retorna este erro, mostrando toda a struct com os campos, e com a mensagem de falta de chave primária:

struct %MeuProjeto.Carteiras.Carteira{...} is missing primary key value

Eu ainda não consegui entender como colocar esta chave primária, achei que só usando o has_one e o belongs_to ele já fazia a associação. Eu também já coloquei dentro do validate_required o campo com a chave estrangeira, mas li que isso pode gerar falhas de segurança, e o erro continuou sendo o mesmo.

EDIT
Ok, depois de pesquisar eu entendi qual era o problema.

Primeiro que eu não preciso dessa relação has_one/belongs_to se eu não for utilizar os dados da minha tabela que a chave estrangeira direciona.

E depois que faltou introduzir a função foreign_key_constraint() no meu schema Carteira.

Ficou assim o código final:

defmodule MeuProjeto.Carteiras.Carteira do
  use Ecto.Schema
  import Ecto.Changeset


  schema "carteiras" do
    field :campo_1, :string
    field :campo_2, :integer
    field :moedas_id, :id

    timestamps()
  end

  @doc false
  def changeset(carteira, attrs) do
    carteira
    |> cast(attrs, [:campo_1, :campo_2, :moedas_id])
    |> foreign_key_constraint(:moedas_id)
    |> validate_required([:campo_1, :campo_2, :moedas_id])
  end
end

No schema Moeda, só removi a linha has_one :moeda, MeuProjeto.Moedas.Moeda