HNHacker News
TopNewBestAskShowJobs

pfdzm

20 karma · joined August 3, 2017

submissionscomments
pfdzm··on Never update anything
The new React documentation page[0] is still in beta but worth checking out, since the current documentation's code examples still use class/component-based code, which is not so common since React Hooks were introduced.

[0]https://beta.reactjs.org/learn

pfdzm··on Don't use functions as callbacks unless they're designed for it
This won’t prevent all errors - the author explicitly addresses this towards the end.
pfdzm··on JavaScript variables: var and let and const
It’s constant because it cannot be reassigned - but it is not immutable.
pfdzm··on Pure CSS – Lace
Not exactly what you are asking for, but she does provide more information on the 5 key properties: https://diana-adrianne.com/how/
pfdzm··on Underwater Exploring Is Banned in Brazil (1985)
I respectfully disagree - the design goals are vastly different between ancient Rome and today. There is no reason one couldn't build something that would last milennia, it is simply not economically feasible (and you would have a hard time securing investors).
pfdzm··on China lands Chang'e-4 on far side of Moon
Nothing more fun than a duo Hou Yi/Chang’e lane with their respective wedding skins :)
pfdzm··on Rome in Ruins
I’m from Madrid and, having recently been to Rome, would have to disagree.

While Spain is certainly not on Switzerland or Japan’s level of cleanliness, I think it is miles away from Italy. Just the taxi ride from Fiumicino to Rome made me feel like I was in Brazil again - crooked, dirty road signs, wild vegetation growing everywhere, fading markings/lines, and a general state of chaos on every road.

pfdzm··on Why American cities are weirdly shaped
Did you read the article? In fact it claims that part of the reason for the lack of good public transport in the US is due to the extreme fragmentation present in some counties. Cooperation between neighboring cities is lacking, making planning and securing sensible infrastructure projects a much harder task compared to a ‘monolithic’ city.
pfdzm··on Genoa Bridge Collapse: The Road to Tragedy
Modern calculations are usually multiplied with several 'security factors'[0], anywhere between 1,1 and 1,5 as far as I can remember now (at least in Germany through a DIN [norm], and now Europe-wide via EN). These design factors come in at many different stages of the calculations, from materials to static load distribution (not sure if these are the correct terms in English)

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