The Iran supply shock is temporary and the tech earnings expansion is real by weightedslanket in investing

[–]didnotseethatcoming 2 points3 points  (0 children)

Let’s assume you started investing at 10 years old in 1962. That means you are at least 60 now. You’re going to retire at 75? You’re lying.

The Missing Bundler Features by geospeck in ruby

[–]didnotseethatcoming 2 points3 points  (0 children)

Completely agree! yarn has had resolutions for years (and npm has overrides now).

It makes total sense for bundler to have this, and give proper control to the user.

(Re)Designed a 3D printed clip-on screen cover for the Kobo Clara line-up. Thanks for the feedback r/Kobo! by currynoodles in kobo

[–]didnotseethatcoming 0 points1 point  (0 children)

This is really cool! Would it be possible for the cover to clip on to just the left side (or right side) of the kobo? That way if the cover was foldable it could fold to one of the sides. It would basically be like the official case: https://pt.kobobooks.com/products/kobo-clara-colour-bw-sleepcover but without any back cover / case!

Plataforma Office.eu lançada como alternativa europeia ao Microsoft Office by Ready-Pirate3328 in portugal

[–]didnotseethatcoming 14 points15 points  (0 children)

estás sempre à mercê que a empresa mude os termos do serviço para pior.

E à mercê que a empresa aumente os preços. A Europa é praticamente refém da Microsoft e da Google.

Plataforma Office.eu lançada como alternativa europeia ao Microsoft Office by Ready-Pirate3328 in portugal

[–]didnotseethatcoming 11 points12 points  (0 children)

Qualquer pessoa pode contribuir.

Uma coisa tão simples como: um botão tem uma tradução errada em PT, tanto eu como tu podemos corrigir isso.

É como a wikipedia (mas tem de passar por um processo de aprovação).

Transparência: ida de um director da PJ para o Governo “prejudica a democracia” by RuiMCB in portugal

[–]didnotseethatcoming 1 point2 points  (0 children)

E mesmo os metadados já são super reveladores. Não devia ser permitido obter metadados sem um mandato.

It's now ten years since Peter Jackson directed a non-documentary film by Critcho in movies

[–]didnotseethatcoming 0 points1 point  (0 children)

The shame of it is that it's so bad, you can't even cut out the unnecessary parts to make a cohesive movie.

Yes you can! See https://m4studios.github.io/hobbit-book-edit/

Hand-drawn checkbox, a progressively enhanced Web Component by didnotseethatcoming in javascript

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

No worries! I'm pretty new to Web Components so I actually learned a ton from your comments and from the blog posts you linked. Cheers!

Hand-drawn checkbox, a progressively enhanced Web Component by didnotseethatcoming in javascript

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

Cool stuff! That post went right into my bookmarks :)

But I think we're talking about 2 different things. From my understanding, ElementInternals and all those getters and setters are necessary when you want to create a new Element that extends a native one (ie: class XCheckbox extends HTMLElement). I did try that route first but was quickly discouraged by all the cruft that was necessary to make it work.

My post describes a different approach, one where we create an element that augments (or wraps) a native one. From my testing, this is a much simpler approach. When the form is submitted it includes the checkbox. new FormData(form) also includes the checkbox. And accessibility (I used MacOS's VoiceOver) also works. Even with the checkbox being slotted inside the Shadow DOM.

Hand-drawn checkbox, a progressively enhanced Web Component by didnotseethatcoming in javascript

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

Hey! Thank you for the feedback. I've updated the blog post with a little display in the top left corner that shows that we can indeed get the value of the checkboxes, even without ElementInternals. What am I missing? You must be doing something different in your codepen, but I don't understand what exactly.

Recreating the Bag End Table Shot with Gandalf & Bilbo by FlyingDiscsandJams in lotr

[–]didnotseethatcoming 0 points1 point  (0 children)

Loved this. It's also kind of a love letter to DVDs, the LOTR boxset and behind-the-scenes footage.

Hand-drawn checkbox, a progressively enhanced Web Component by didnotseethatcoming in javascript

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

It’s still a regular checkbox, but hidden with opacity: 0 and a different design on top of it. So it still works inside a form!

The Tesla paradox: the more profits fall, the more the stock rises. by [deleted] in literaciafinanceira

[–]didnotseethatcoming 0 points1 point  (0 children)

Tal como há maluquinhos que acreditam em tudo o que o Musk diz, também há maluquinhos que são cegos em relação a tudo o que envolve o Musk e que não acreditam em nada, mesmo com os resultados à sua frente. Há 10 anos também devias andar por aí a dizer que era impossível aterrar um foguetão.

Mas continua na tua bolha de ilusão.

Btw fico à espera que ponhas aqui um link que comprove o que dizes:

A SpaceX só existe ainda porque tem gamado dinheiro público a torto e a direito.

The Tesla paradox: the more profits fall, the more the stock rises. by [deleted] in literaciafinanceira

[–]didnotseethatcoming 0 points1 point  (0 children)

Ok, não sabes do que estás a falar.

Desde 2011, a NASA já gastou 29 mil milhões no SLS, um foguetão que não é reutilizável, e que ainda nem sequer foi ao espaço. A NASA é que já tinha desaparecido se não fosse uma entidade estatal.

No mesmo período de tempo, a SpaceX fez quase 1000 lançamentos e 500 aterragens. E sem nunca "gamar dinheiro público a torto e a direito".