lazerlapin's comments

lazerlapin | 1 year ago | on: ChatGPT Search

Not everything on PubMed weights the same. As others have said, this is just a summary article by the Best seller author Nina Teicholz. Not only she's heavily sponsored by the Meat Industry (and I'm not vegan), but her best selling book title is "The Big Fat Surprise: Why Butter, Meat and Cheese Belong in a Healthy Diet", yet in the article she declares "The author receives modest royalties on a book on the history of dietary fat recommendations and otherwise declares no conflicts of interest"...

lazerlapin | 1 year ago | on: ChatGPT Search

> A better example might be "is dietary saturated fat a major factor for heart disease in Western countries?". The current government publications (which answer "yes") for this are probably wrong based on recent research. The government cannot be relied upon as a source of truth for this.

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

I have used yabai for a long time now and never had any big issue. It's a set up once and forget solution and honestly I'm surprises I don't see more comment like that. One thing for sure: you got to give it a fair shot to really appreciate what it does to your user experience.

lazerlapin | 5 years ago | on: Don't set the language of your website based on user location

He's missing the why they're doing this.

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: PHP in 2019

Honestly I don't see what's all the fuss about Laravel, especially when you compare it to Django. I mean, you have an admin ready out-of-the-box, and database migrations are automatically generated. Correct me if I'm wrong but, Laravel you need to do those things manually...!
page 1