Hacker News new | past | comments | ask | show | jobs | submit | Julien_r2's comments login

A pro could have been an extra narrative about carbon footprint savings.

I'm surprised it hasn't been raised when talking about saving 2Tb/year only for React. It represents costs, which doesn't seem to be an issue, but also computing power and storage. (Event with a higher/longer computing power due to slower compression, it's done once per version, which isn't really comprable to the amount of downloads anyway)

Hard to calculate the exact saving, but it would represent a smaller CO2 footprint..


Which is, then, supporting the fact that scale matter, isn't it?

Here the scale of time is larger and does make the 5$ significant, while it isn't at the scale of a few days.


There're few benefits that comes with packaging it into an electron wrapper, including:

- making sure it works on all platforms independently of the browser you use (because it comes packages with chromium)

- having access to more API from the platform. Although the UI is rendered through a WebView, there's still native code running, that you can hook back into your app. That can be useful to either offload some logic to native, or access native API that you pilot from the WebApps

- having a shortcut icon to open you app in the system (although this is getting obsolete now that Chrome and Safari offer "Add to Desktop" functionally)


Many people in the PR mentioned the complexity that Typescript brings. But wasn't it an over simplification from the language from the beginning?

I mean, in the context of JS 10 years ago, Typescript in indeed overly complex, but in the context of today's JS running servers and very complex apps at scale, it just seems sane to back up the code with types, just as most other languages would do..

In my opinion it's now a required complexity to build up a lib with some stability and a safe DX for contributors


I use this trick too for puzzles! Spotting on the fly the differences, makes for a great intro of the topic with people not aware of it!


3DImka, who is being most of hidden-3d.com, is constantly pushing the boundaries of stereograms!

I highly recommend having a look at some of his best creations on deviant art [0], particularly his technic of matching outlines with the final 3d result [1], or his experiments with transparency [2].

[0]: https://www.deviantart.com/3dimka [1]: https://www.deviantart.com/3dimka/art/You-must-not-fool-your... [2]: https://www.deviantart.com/3dimka/art/8-Legs-Magical-Stereog...


I stared at this one for a long time: https://hidden-3d.com/index.php?id=gallery&pk=457 They use opposite colors for the foreground which makes it look opalescent and gray at the same time.


Ah the fading colours experiment! Interesting one! I'm still not grasping the efforts it takes to create those effects..


I find this effect somewhat unpleasant to look at though.


That transparency effect (in [2]) looks great.


Most of autostereograms are meant to be seen wall-eyed, instead of cross-eyed [0]. With wall-eye, you shift the convergent point being what you're seeing, while with cross-eye you shift it before.

So it creates the exact opposite 3d. Watching a stereogram meant to be seeing wall-eyed, cross-eyeing you'll see an upside down 3d. Some stereogram are mean to be seen cross-eyed though, which is considered easier to see.

[0]: https://en.wikipedia.org/wiki/Autostereogram


It wont’t turn the image upside down, but the depth will be inverted, so what is meant to jut out at you will become a trough away from you.


"the depth will be inverted" better describes it indeed. Thanks clarifying it!


> With wall-eye, you shift the convergent point being what you're seeing,

Here "being" probably should have said "behind".


This is definitely an issue which is well underestimated!

Portugal (e.g in Covas de Barroso) [1] and Spain (e.g. in Cáceres) [2] are facing huge pressure to settle for lithium mines, without much consideration for the social and ecological impacts on those regions...

It is still considered as a green energy, simply because we decide to forget about part of the process. Just as we did for gas, and plastic.

Energy price should take in account all the impacts (recycling included), the avoid being considered as a magical solution, and rush blindly toward the next crisis..

[1] https://www.portugalresident.com/lithium-wars-step-up-in-cov...

[2] https://www.ft.com/content/459191d9-774d-4a2b-8ec6-ba472017b...


Very well explained, with nice little animations to toggle on the way !

For those copying/getting inspired by the code, don't forget to add the missing empty-array for the useLayoutEffet dependency param.


That would measure the component only on mount, so it would not notice if it’s layout changed.

You need to run it without the dependency array or add all layout-changing props and state to it.


They didn't pay for the processing.. We ignore a lot of cost when selling a product, and particularly the cost of recycling, which start to be a huge issue taking in account the amount of waste produced..

This gives us the feeling that electricity is almost free and green, while in the meantime we damage entire area through lithium mining (E.g https://www.nytimes.com/2021/05/06/business/lithium-mining-r...)


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: