🌐Weekly News Digest [ January 5 – January 11 ]
That was the first full-fledged week of the new year of 2026, during which rulers forgave those who polluted their land, dismissed those who were managing their oil.
💡Here are the key highlights:
🇧🇼 Botswana
— Botswana Invites Russia to Invest in Its Mining Sector
🇨🇩 DR Congo
— Congolese clergy speaks against the US-DRC agreement.
— The government allows processing units to accept ore from artisanal miners amid protests
🇬🇶 Equatorial Guinea
— Equatorial Guinea moves its capital to a brand new city built on oil revenues
🇬🇭 Ghana
— A Ghanaian prophet predicts the discovery of major onshore oil deposits in Ghana
— Ghana hopes to keep its oil fields viable until 2040
🇲🇱 Mali
— JNIM militants attack a gold mine in southeastern Mali
🇳🇪 Niger
— Niger replaces its oil minister
🇳🇬 Nigeria
— President reshuffles the country's oil sector management
🇸🇩 Sudan
— Sudan’s central bank and Sudanese Mineral Resources Company set up a joint commission to curb illegal gold exports.
🇺🇬 Uganda
— Uganda to start its first oil exports by October, despite environmental concerns
🇿🇲 Zambia
— First report on the toxic pollution caused by a Chinese company designates 160 people as victims
— Zambia is concerned over the safety of its workers in southern DRC
#NewsDigest
➡️ Follow to stay informed - @devilsbelow
🚀 Вышел стабильный JavaScript движок от Google для Android
Новая стабильная библиотека Jetpack JavaScript Engine позволит разработчикам выполнять JS код в изолированной и ограниченной среде.
class MainActivity : ComponentActivity() {
// Теперь nullable, без lateinit
private var jsSandbox: JavaScriptSandbox? = null
private var jsIsolate: JavaScriptIsolate? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!JavaScriptSandbox.isSupported()) {
Log.e("JS", "JavaScriptSandbox не поддерживается")
return
}
lifecycleScope.launch {
// Создаём и сохраняем в nullable-поле
jsSandbox = JavaScriptSandbox
.createConnectedInstanceAsync(applicationContext)
.await()
jsIsolate = jsSandbox?.createIsolate()
// При выполнении гарантируем, что jsIsolate != null
val result: String = jsIsolate
?.evaluateJavaScriptAsync(JS_SCRIPT_SCRING)
?.await()
?: "Ошибка: isolate не инициализирован"
Log.d("JS", "Результат выполнения: $result")
}
}
override fun onDestroy() {
super.onDestroy()
// Закрываем только если не null
jsIsolate?.close()
jsSandbox?.close()
}
}
#jetpack#js