News for hackers. Stuff that matters.

naikus

I'm using chatGPT 4o and it gave me the following :)

ME Alice has 40 brothers and she also has 50 sisters. How many sisters does Alice's brother have?

ChatGPT To determine how many sisters Alice's brother has, we need to use the information provided:

Alice has 40 brothers and 50 sisters. Since Alice's brother is one of the 40 brothers, he shares the same family structure as Alice. This means he has the same number of sisters as Alice.

Therefore, Alice's brother has 50 sisters.

Haha, saying "I never make mistakes" obviously was a mistake!
I like react but I agree with these points in the article

...Why is there always a new way of doing things? ...Why am I learning the same thing but in a different way? ...Why was the "old" way inferior? ...Why change at all? Browsers don't move THAT quickly.

Re:New React docs pretend SPAs don't exist anymore on Sunday March 19, 2023 @03:49AM (#35216922)
Totally agree! Plus if you use PWA, you get some benefits of an installable apps (not on all platforms though) but the support is alright on iOS too (more features are supported than before) I built a small demo app with 3 views (each loading lazily when first requested or loading in background using service worker) with view transitions, back button and scroll position retention. (built for mobile devices but works on desktops too) https://stage-starter.netlify.app
Re:Ask HN: Free or cheap UI design course? on Wednesday August 18, 2021 @05:34AM (#28219162)
Check out hackdesign. It is really good, but its not guided and with quizzes. But the content is really good!

https://hackdesign.org/ https://hackdesign.org/lessons

Re:Firefox: Performance in Progress on Sunday August 08, 2021 @04:17AM (#28105057)
Over the past iterations of Firefox (mobile), especially since they launched their new UI, I've noticed the performance of features such as CSS animations, etc. have particularly degraded. I have two versions on my Moto X4, Firefox 68 and the new Firefox 92. I use both to test some of the web apps I develop and to my surprise the older version of Firefox performs much better! There's a noticeable jank on the web app (transitions, animations, etc.) on the newer version. The browser itself is much slower than the older Firefox 68. Frankly I don't see any performance improvement.
Re:Reflections on 10k Hours of Programming on Friday August 06, 2021 @12:21PM (#28089305)
> Syntactic sugar is usually bad.

When I read this, ES6 classes came to my mind :)

Great post btw!

Congrats and thanks! you inspired me to add a ko-fi dontaion link to my github project https://github.com/naikus/svg-gauge
Re:Fantasy UI on Thursday December 24, 2020 @02:31AM (#25525714)
Please do one on Westworld UI!
@ryansolid What minimum browser versions does the library support
Re:Ask HN: What are you learning? on Sunday April 05, 2020 @12:47PM (#22786628)
Sketching on paper. There is a great free resource for learning how to sketch.

https://drawabox.com/

Cool! I've build a couple of vanilla js projects, a widget and a framework.

https://github.com/naikus/svg-gauge This one is all in one widget completely in vanilla js. Zero deps. An interesting thing is there is an angular-js wrapper that someone else built on top of this.

This one is actually a view lifecycle management framework for simple SPAs and mobile web apps https://naikus.github.io/stage/ (This site is actually built using the stage)

Re:Ask HN: What do you want to learn in 2018? on Thursday December 28, 2017 @12:26AM (#16020496)
Lucid dreaming and meditation (Intensify practice), Sketching, Japanese