News for hackers. Stuff that matters.

pfdzm

Re:Never update anything on Saturday November 06, 2021 @04:52AM (#29128528)
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

This won’t prevent all errors - the author explicitly addresses this towards the end.
Re:JavaScript variables: var and let and const on Saturday March 07, 2020 @03:51AM (#22510665)
It’s constant because it cannot be reassigned - but it is not immutable.
Re:Pure CSS – Lace on Monday November 04, 2019 @07:41AM (#21441065)
Not exactly what you are asking for, but she does provide more information on the 5 key properties: https://diana-adrianne.com/how/
Re:Underwater Exploring Is Banned in Brazil (1985) on Sunday April 28, 2019 @06:55AM (#19770428)
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).
Re:China lands Chang'e-4 on far side of Moon on Thursday January 03, 2019 @09:25AM (#18815265)
Nothing more fun than a duo Hou Yi/Chang’e lane with their respective wedding skins :)
Re:Rome in Ruins on Wednesday December 26, 2018 @07:03AM (#18761764)
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.

Re:Why American cities are weirdly shaped on Sunday December 23, 2018 @07:16AM (#18745688)
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.
Re:Genoa Bridge Collapse: The Road to Tragedy on Thursday September 06, 2018 @12:05PM (#17927225)
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