lazerlapin | 9 days ago | on: Show HN: Run 500B+ Parameter LLMs Locally on a Mac Mini
lazerlapin's comments
lazerlapin | 16 days ago | on: Glaze by Raycast
lazerlapin | 1 year ago | on: ChatGPT Search
lazerlapin | 1 year ago | on: ChatGPT Search
I know it was just an example, but actually no, the role of dietary saturated fat as a factor for heart disease remains very much valid. I’m not sure which recent studies you’re referring to, but you can't undo over 50 years of research on the subject so easily. What study were you thinking about?
lazerlapin | 2 years ago | on: Yabai – A tiling window manager for macOS
lazerlapin | 5 years ago | on: Don't set the language of your website based on user location
lazerlapin | 5 years ago | on: Don't set the language of your website based on user location
Tons of websites are server-rendered, which means the decision of which language to show has to be made upfront: at the time of the first HTTP request, so before sending the page to the user. And we don't know the user's language preferences until we reach the browser and can execute some JavaScript. If we do as he suggest, it would paradoxically lead to the very behavior he is criticizing in the post: page loads default (e.g english), (then reads user preferences with JS, e.g german), then reloads to show german instead.
So why pre-populating the page with the langage the users in that particular country are most likely to wanna use a bad 'default'? Would it be worth it to rather worsen their experience by forcing all german users to load english first, and then repaint the page with german?
I think only SPAs could afford to implement the whole thing based on user local preferences without major UX drawbacks.
lazerlapin | 6 years ago | on: Use zsh as the default shell on your Mac
lazerlapin | 6 years ago | on: PHP in 2019