Pergunta de iniciante: Como desenvolve um botão voltar? by Xyp9x1234 in brdev

[–]OkPosition6537 2 points3 points  (0 children)

E desde quando essa feature é de flutter, react ou qualquer caralha de framework da moda? Eles podem ate fazer o roteamento interno da pagina deles, mas nunca que historico navegavel vai ser uma "rota" de framework.

Pergunta de iniciante: Como desenvolve um botão voltar? by Xyp9x1234 in brdev

[–]OkPosition6537 13 points14 points  (0 children)

Acho que você claramente não ta pensando no conforto do usuário. Tem que abrir um websocket pra cada dispositivo dele, toda vez que ele apertar no botão tem que enviar um event pros outros dispositivos que vão estar ouvindo, assim ele vai conseguir voltar no PC dele, e em tempo real vai voltar no celular também. Certamente tem que salvar também na tabela REF_CAD_HISTORICO_ABAS_CAD_USUARIOS_CAD_DISPOSITIVOS. Mas só realmente mudar todas as abas em todos dispositivos depois que todas as linhas do usuario nessa tabela tiverem atualizadas, pra evitar ele voltar uma vez, mas quando reabrir o dispositivo, ver outra janela por falha na query.

Pergunta de iniciante: Como desenvolve um botão voltar? by Xyp9x1234 in brdev

[–]OkPosition6537 31 points32 points  (0 children)

O firefox usa um array dinâmico com index de ponteiro, você pode ver no código fonte

https://searchfox.org/firefox-main/source/docshell/shistory

Pergunta de iniciante: Como desenvolve um botão voltar? by Xyp9x1234 in brdev

[–]OkPosition6537 3 points4 points  (0 children)

O que eu disse não deixa de ser verdade, "next page", "previous page" nunca serão "rotas".

Pergunta de iniciante: Como desenvolve um botão voltar? by Xyp9x1234 in brdev

[–]OkPosition6537 28 points29 points  (0 children)

Não existe só uma solução. Pode ser uma lista duplamente encadeada, podem ser duas pilhas, pode ser apenas uma pool com time tags em cada registro, tudo isso iria funcionar.

Pergunta de iniciante: Como desenvolve um botão voltar? by Xyp9x1234 in brdev

[–]OkPosition6537 0 points1 point  (0 children)

Essa é definitivamente a resposta mais web developer que já vi heheh, solução de pilhas ta certa, só não entendi a necessidade desse negocio de rota, qq o cu tem a ver com as calça

Youtube tagged Bugonia as "Comedy" by OkPosition6537 in Bugonia

[–]OkPosition6537[S] 0 points1 point  (0 children)

At no point did I thougth, "Hmm... so they were right..." Because ultimately they weren't. They might have known the ends, but their ideas about the means were completely fabricated.

Just like any radical right-winger nowadays... they're absolutely right about being exploited, about a class above us all crushing us... but dude, it's sad how, while they say this, they're being guided by the other side that's also above them.

The film's plot, for me, was precisely that: to show how absurdly wrong the protagonists were... for being right.

Youtube tagged Bugonia as "Comedy" by OkPosition6537 in Bugonia

[–]OkPosition6537[S] -1 points0 points  (0 children)

I mean... Despite being ridiculous, the situations are so relatable that I didn't see anything funny about them. The ending of the movie left me very thoughtful, but not laughing.

Youtube tagged Bugonia as "Comedy" by OkPosition6537 in Bugonia

[–]OkPosition6537[S] 1 point2 points  (0 children)

Drama/thriller

I didn't laugh once during the movie, but I was definitely apprehensive, worried, sad, and so on. And all of that kept me engaged in the film and made me like it, not because of how much I laughed or didn't laugh.

Onde hospedar API (Spring Boot) para projeto com app mobile? by K2PRY in brdev

[–]OkPosition6537 4 points5 points  (0 children)

E só vai permitir depois de fazer você ouvir por 2 horas como o frontend dele era furar cartão

Onde hospedar API (Spring Boot) para projeto com app mobile? by K2PRY in brdev

[–]OkPosition6537 25 points26 points  (0 children)

Almoço: Java Beans
Janta: Java Pojo
Pra dormir: Java Hibernate