🌐Weekly News Digest [ January 26 – February 1 ]
That was a week of bribery charges and expansion of extraction activities across the whole continent.
💡Here are the key highlights:
🇩🇿 Algeria
— Algeria’s minister for hydrocarbons visits Chad and Niger
🇨🇬 Congo
— Two Norwegians and an oil company charged with bribing Congo’s president
🇨🇩 DR Congo
— The leader of the AFC/M23 critisizes the US-DRC strategic agreement on access to minerals
— More than 200 killed in a collapse at the AFC/M23-controlled Rubaya coltan mines in eastern DRC
🇱🇷 Liberia
— Liberia ratified an agreement with the Luxembourg-based ArcelorMittal, extending the company’s rights to the Tokadeh iron deposit until 2075
🇲🇱 Mali
— China’s largest mining company, Zijin buys Canadian company Allied Gold
🇲🇬 Madagascar
— Madagascar has lifted its 2010 moratorium on new mining permits, except for gold
🇲🇿 Mozambique
— TotalEnergies officially resume the Mozambique LNG project
🇳🇬 Nigeria
— Nigeria’s President Bola Tinubu grants tax incentives to speed up Shell’s Bonga South West oil project
— TotalEnergies sells its 10% stake in a Nigerian oil asset to a brand new local firm
— A bribery trial of a former Nigerian minister of petroleum opens in London
🇸🇩 Sudan
— Sudan seeks closer alignment with Saudi Arabia, including gold refinement
🇿🇲 Zambia
— Zambia’s army carries out a full-fledged military operation around a gold deposit in the northwest of the country
🇿🇼 Zimbabwe
— Illegal miners blamed for water supply disruptions in Zimbabwe's second largest city
— Zimbabwe starts early implementation of increased royalties on gold mining
#NewsDigest
➡️ Follow to stay informed - @devilsbelow
# The standard string repr for dicts is hard to read:
»> my_mapping = {'a': 23, 'b': 42, 'c': 0xc0ffee}
»> my_mapping
{'b': 42, 'c': 12648430. 'a': 23} # 😞
# The "#json" module can do a much better job:
»> import json
»> print(json.dumps(my_mapping, indent=4, sort_keys=True))
{
"a": 23,
"b": 42,
"c": 12648430
}
# Note this only works with dicts containing
# primitive types (check out the "pprint" module):
»> json.dumps({all: 'yup'})
TypeError: keys must be a string
История(12м) как в Альфа-Банке сокращали размер JSON файла, который передается на устройство для работы SDUI. Решением стала шаблонизация для отказа от одинаковых блоков UI с разными данными
#оптимизация#json
¿Que puede hacer este bot?
@apimaniaBot
Con éste bot puedes crear PDF a partir de páginas web, convertir texto a imágenes, convertir tablas HTML a json y mucho más
Idioma: español
(Visto en @botsgram_cu)
#pdf#web#texto#imágenes#hrml#json