News for hackers. Stuff that matters.

bmarotta

Teaching ChatGPT how to write robust code (it is just another lazy developer)

THIS IS A TRUE STORY. (The end could have been just another ChatGPT technical issue. It was pretty slow...)me: write me a regex to check if a CSS color is transparentChatGPT: Here is a regex pattern to check if a CSS color value is transparent: /^transparent$/i This regex uses the ^ and $ anchors to match the entire string and ensure that the value only contains...

( Read More... | 1 comment | 3 points | on HN )
Re:Google acknowledges that Core Web Vitals is unfair to SPA on Tuesday September 21, 2021 @06:06AM (#28603523)
I find it outrageous that Google acknowledges that CWV is unfair to Single Page Application but still use it as a ranking factor.

Single Page Applications tend to give a far better user experience and are faster by nature (after the first page). Even though Google keeps pushing down their own Golden Rules on how the Internet should be shaped and written. Sounds like another AMP.

Nice initiative
It doesn't look like it helps much...
Please, forget about Python. It is not really a programming language.
Re:6 alternative (and better) uses for blockchain on Monday January 22, 2018 @12:50PM (#16206312)
The "elected delegates" or "trusted parties" you are describing are the Certification Authorities in a certificate chain. We have this already and we don't need blockchain for that.