An Axios tech reporter on her favorite corners of the internet

An Axios tech reporter on her favorite corners of the internet

Here at Mozilla, we are the first to admit the internet isn’t perfect, but we are also quick to point out that the internet is pretty darn magical. The internet opens up doors and opportunities, allows for people to connect with others, and lets everyone find where they belong — their corners of the internet. […]

The post An Axios tech reporter on her favorite corners of the internet appeared first on The Mozilla Blog.

Do more with Chrome on a single charge on MacBooks

Do more with Chrome on a single charge on MacBooks

From the beginning, we designed Chrome to be efficient. Being efficient is not just about loading pages as fast as possible, it’s also about doing it with the least amount of resources possible. Today’s The Fast and the Curious post explores how we improved Chrome to maximize battery life on Mac, so you can enjoy browsing and watching videos longer than ever before. 


With the latest release of Chrome, we’ve made it possible to do more on your MacBook on a single charge thanks to a ton of optimizations under the hood. In our testing, we found that you can browse for 17 hours or watch YouTube for 18 hours on a MacBook Pro (13″, M2, 2022). And with Chrome’s Energy Saver mode enabled, you can browse an additional 30 minutes on battery(1). Of course, we care deeply about all our users, not just those with the latest hardware. That’s why you’ll also see performance gains on older models as well. 


Here’s a closer look at some of the changes we made:
 
Fine tuning iframes


We realized that many iframes live just a few seconds. As a result, we fine-tuned the garbage collection and memory compression heuristics for recently created iframes. This results in less energy consumed to reduce short-term memory usage (without impact on long-term memory usage).



Tweaking timers 

Javascript timers were introduced at the beginning of the Web’s history. Since then, Web developers have access to more efficient APIs to achieve the same (or better!) results. But Javascript timers still drive a large proportion of a Web page’s power consumption. As a result, we tweaked the way they fire in Chrome to let the CPU wake up less often.



Similarly, we identified opportunities to cancel internal timers when they’re no longer needed, reducing the number of times that the CPU is woken up. 


Streamlining data structures


We identified data structures in which there were frequent accesses with the same key and optimized their access pattern.



Eliminating unnecessary redraws

We navigated on real-world sites with a bot and identified Document Object Model (DOM) change patterns that don’t affect pixels on the screen. We modified Chrome to detect those early and bypass the unnecessary style, layout, paint, raster and gpu steps. We implemented similar optimizations for changes to the Chrome UI.

There’s always more work to be done. With the open-source benchmark suite, we’ll be able to tap the broader community of devs to help us to improve Chrome’s power consumption in 2023 and beyond.


Posted by François Doray, Software Developer, Chrome

___
1 Testing conducted in February 2023 using Chrome 110.0.5481.100 on a MacBook Pro (13”, M2, 2022 with 8 GB RAM running MacOS Ventura 13.2.1) and measured using our open-source benchmark suite.

iPhone 15 USB-C cables without MFi badge may have data transfer and charging speed limits

Apple’s iPhone 15 series will officially only support USB-C accessories that have been certified by Apple’s own Made for iPhone (MFi) program, potentially limiting the functionality of accessories not approved by Apple, an established leaker has now claimed. So you’re getting USB-C, but not really. Leave it to Apple to milk even something as mundane as this.

https://www.kwongwah.com.my/?p=1323236

Video by via Dailymotion Source 42岁华青在高渊吉辇河坠河后失踪,搜救队伍仍在河上搜寻。 警方根据失踪者的摩托车联络上其亲属。失踪者的摩托车是停放在高渊火车桥下过对面港桥上。据指他是高渊东海园居民。 Go to Source

Determinar cuál es el número mayor de tres números en JavaScript

Video by via Dailymotion Source Aprenderás a determinar cuál es el número mayor de tres números en el lenguaje de programación JavaScript, con el programa Visual Studio Code – Visita mi sitio web: https://aprendiendoaprogramarejercicios.blogspot.com/– Visita mi canal de YouTube: https://www.youtube.com/@BetoDev/videos– Grupo de ayuda: https://www.facebook.com/groups/251537473562151– Sígueme en Facebook: https://www.facebook.com/jhonheinar.quirogarojas/ Go to Source

Israelenses atacam cidade palestina e 350 ficam feridos

Video by via Dailymotion Source Os moradores da cidade palestina de Huwara, na Cisjordânia, acordaram horrorizados, nesta segunda-feira (27), ao ver casas incendiadas e carros queimados após um ataque de colonos em represália pela morte de dois irmãos israelenses. Assista ao Jornal da Manhã completo: https://www.youtube.com/watch?v=2C3gNEMUv3g Baixe o app Panflix: https://www.panflix.com.br/ Baixe o AppNews Jovem … Read more