• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • Aloso@programming.devtoMemes@lemmy.mlNokia be like
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    My Fairphone is 4 years old, it has been dropped on the floor (even hard surfaces like rocks and asphalt) countless times. It still works and looks like new. It has a protective cover that covers the edges, but not the screen or the back. It still survived all these years without a scratch.








  • Iframes cannot access the main frame’s DOM if the iframe is from a different origin than the main frame, and they never share the same JavaScript execution context, so an iframe can’t access the main frame’s variables etc.

    It’s not required that iframes run in a different process, but I think they do at least in Chrome and Firefox if they’re from a different origin. Also, iframes with the sandbox attribute have a number of additional restrictions, which can be individually disabled when needed.







  • Fully agree with what you said. There are still just as many passionate people fascinated by computers in the youngest generation as there are in older generations. It’s just that the sheer number of programmers has made them less visible in recent years.

    Also, one thing the article misses is that programming 8 hours a day and then continuing to program in your spare time is not healthy for many people. People are different, and there are some who can do it without negative consequences, but for others it can lead to burnout, especially if they also have a family to take care of or other issues to deal with. I used to do a lot of programming in my spare time when I was in college. Now that I have a 40-hour-a-week job, I’ve learned that I need to be careful how much energy I spend, and I don’t do as much open source work because I need a lot of my free time to rest and recharge.