text:
using System;
using System.Collections.Generic;

namespace ResourceBundleLib
{
    public class ResourceType
    {
        public static Dictionary<UInt16, ResourceType> ByResType
        {
            get
            {
                if (byResType == null)
                {
                    Init();
                }
                return byResType;
            }
        }
        protected static Dictionary<UInt16, ResourceType> byResType;

        public static List<ResourceType> AllTypes;

        public static void Init()
        {
            byResType = new Dictionary<ushort, ResourceType>();
            AllTypes = new List<ResourceType>();

            AllTypes.Add(new ResourceType(0xFFFF, "",    "N/A",        "Invalid resource type"));
            AllTypes.Add(new ResourceType(1,      ".bmp", "binary",     "Windows BMP file"));
            AllTypes.Add(new ResourceType(3,      ".tga", "binary",     "TGA image format"));
            AllTypes.Add(new ResourceType(4,      ".wav", "binary",     "WAV sound file"));
            AllTypes.Add(new ResourceType(6,      ".plt", "binary",     "Bioware Packed Layered Texture, used for player character skins, allows for multiple color layers"));
            AllTypes.Add(new ResourceType(7,      ".ini", "text (ini)", "Windows INI file format"));
            AllTypes.Add(new ResourceType(10,     ".txt", "text",       "Text file"));
            AllTypes.Add(new ResourceType(2002,   ".mdl", "mdl",        "Aurora model"));
            AllTypes.Add(new ResourceType(2009,   ".nss", "text",       "NWScript Source"));
            AllTypes.Add(new ResourceType(2010,   ".ncs", "binary",     "NWScript Compiled Script"));
            AllTypes.Add(new ResourceType(2012,   ".are", "gff",        "BioWare Aurora Engine Area file. Contains information on what tiles are located in an area, as well as other static area properties that cannot change via scripting. For each .are file in a .mod, there must also be a corresponding .git and .gic file having the same ResRef."));
            AllTypes.Add(new ResourceType(2013,   ".set", "text (ini)", "BioWare Aurora Engine Tileset"));
            AllTypes.Add(new ResourceType(2014,   ".ifo", "gff",        "Module Info File. See the IFO Format document."));
            AllTypes.Add(new ResourceType(2015,   ".bic", "gff",        "Character/Creature"));
            AllTypes.Add(new ResourceType(2016,   ".wok", "mdl",        "Walkmesh"));
            AllTypes.Add(new ResourceType(2017,   ".2da", "text",       "2-D Array"));
            AllTypes.Add(new ResourceType(2022,   ".txi", "text",       "Extra Texture Info"));
            AllTypes.Add(new ResourceType(2023,   ".git", "gff",        "Game Instance File. Contains information for all object instances in an area, and all area properties that can change via scripting."));
            AllTypes.Add(new ResourceType(2025,   ".uti", "gff",        "Item Blueprint"));
            AllTypes.Add(new ResourceType(2027,   ".utc", "gff",        "Creature Blueprint"));
            AllTypes.Add(new ResourceType(2029,   ".dlg", "gff",        "Conversation File"));
            AllTypes.Add(new ResourceType(2030,   ".itp", "gff",        "Tile/Blueprint Palette File"));
            AllTypes.Add(new ResourceType(2032,   ".utt", "gff",        "Trigger Blueprint"));
            AllTypes.Add(new ResourceType(2033,   ".dds", "binary",     "Compressed texture file"));
            AllTypes.Add(new ResourceType(2035,   ".uts", "gff",        "Sound Blueprint"));
            AllTypes.Add(new ResourceType(2036,   ".ltr", "binary",     "Letter-combo probability info for name generation"));
            AllTypes.Add(new ResourceType(2037,   ".gff", "gff",        "Generic File Format. Used when undesirable to create a new file extension for a resource, but the resource is a GFF. (Examples of GFFs include itp, utc, uti, ifo, are, git)"));
            AllTypes.Add(new ResourceType(2038,   ".fac", "gff",        "Faction File"));
            AllTypes.Add(new ResourceType(2040,   ".ute", "gff",        "Encounter Blueprint"));
            AllTypes.Add(new ResourceType(2042,   ".utd", "gff",        "Door Blueprint"));
            AllTypes.Add(new ResourceType(2044,   ".utp", "gff",        "Placeable Object Blueprint"));
            AllTypes.Add(new ResourceType(2045,   ".dft", "text (ini)", "Default Values file. Used by area properties dialog"));
            AllTypes.Add(new ResourceType(2046,   ".gic", "gff",        "Game Instance Comments. Comments on instances are not used by the game, only the toolset, so they are stored in a gic instead of in the git with the other instance properties."));
            AllTypes.Add(new ResourceType(2047,   ".gui", "gff",        "Graphical User Interface layout used by game"));
            AllTypes.Add(new ResourceType(2051,   ".utm", "gff",        "Store/Merchant Blueprint"));
            AllTypes.Add(new ResourceType(2052,   ".dwk", "mdl",        "Door walkmesh"));
            AllTypes.Add(new ResourceType(2053,   ".pwk", "mdl",        "Placeable Object walkmesh"));
            AllTypes.Add(new ResourceType(2056,   ".jrl", "gff",        "Journal File"));
            AllTypes.Add(new ResourceType(2058,   ".utw", "gff",        "Waypoint Blueprint. See Waypoint GFF document."));
            AllTypes.Add(new ResourceType(2060,   ".ssf", "binary",     "Sound Set File. See Sound Set File Format document"));
            AllTypes.Add(new ResourceType(2064,   ".ndb", "binary",     "Script Debugger File"));
            AllTypes.Add(new ResourceType(2065,   ".ptm", "gff",        "Plot Manager file/Plot Instance"));
            AllTypes.Add(new ResourceType(2066,   ".ptt", "gff",        "Plot Wizard Blueprint"));

            // KotOR:
            AllTypes.Add(new ResourceType(2024,   ".bti", "binary",     "Item Blueprint"));     // templates.bif/nw_wblhvy001
            AllTypes.Add(new ResourceType(2026,   ".btc", "binary",     "Creature Blueprint")); // templates.bif/nw_drmark1 templates.bif/partymember templates.bif/sw_krayt
            AllTypes.Add(new ResourceType(3000,   ".lyt", "text",       "Room layout. How scene terrain connects."));
            AllTypes.Add(new ResourceType(3001,   ".vis", "text",       "?"));                  // lightmaps.bif
            AllTypes.Add(new ResourceType(3007,   ".tpc", "binary",     "Texture"));
            AllTypes.Add(new ResourceType(3008,   ".mdl", "binary",     "Aurora model"));

            foreach (ResourceType rt in AllTypes)
            {
                ByResType[rt.ResType] = rt;
            }
        }

        public UInt16 ResType;
        public string FileExtension;
        public string ContentType;
        public string Description;

        public ResourceType (UInt16 resType, string fileExtension, string contentType, string description)
        {
            ResType = resType;
            FileExtension = fileExtension;
            ContentType = contentType;
            Description = description;
        }
    }
}


India at COP21: A new approach or more of the same?
In the halls of the Paris climate talks, India has been widely criticized as a potential obstacle. Others see it as a wild card or a volatile swing vote. Either way, it has dominated the headlines from Paris, emerging as a make-or-break player alongside powerhouses like the US and China. This has prompted questions about its transformation on climate change.
While it may seem as if India has undergone a sea change on climate policy, the reality is more nuanced. By and large, India's actual demands are consistent with its position in previous negotiations. However, it has modified its rhetoric to become a more assertive force in Paris.
The Indian government has definitely changed its tune in the last year. When Narendra Modi became Prime Minister in May 2014, there was an optimistic buzz among climate activists. Modi had a strong background on energy and climate policy, and even mentioned climate change in his election manifesto. Yet in his first year in power, he remained relatively silent on the issue.
Between 2014 and 2015, however, Modi's official statements on climate change have increased by over 50 percent. Of course, the increase can also be attributed to the hype around the Paris talks, but I would argue that the difference is significant enough to signal a deliberate shift. His language has also changed, with greater focus on climate justice and development. The Modi administration has prioritized climate change in the lead-up to Paris, and this has played out in its aggressive substantive position in negotiations.
India has historically been a watchdog for equity at climate negotiations. With a large population under the poverty line and high dependence on fossil fuels for growth, India needs support to transition to a low-carbon economy. The idea of equity may not be new, but India has reframed its version of climate justice.
Indian negotiators and activists have argued that the unregulated development of wealthier nations has placed India at a disadvantage. It has the same developmental needs, but less atmospheric carbon space to use. India has demanded that it has "room to grow" in the new climate regime, with rich countries carrying more of the burden. It has thereby taken a more forceful stance on climate justice in Paris. In doing so, it has put pressure on wealthy nations to step up and do their utmost.
Climate finance has emerged as a key issue in negotiations. India has been calling for greater climate finance for years. But once again, they have devoted more attention to this issue in Paris. As part of G77+China, India issued a stern warning to developed countries in the early stages of the conference. The statement called on rich countries to acknowledge the "obligation" of climate finance due to their historical responsibility.
India's Finance Ministry has also recently released a discussion paper criticizing developed nations for their "creative accounting" of climate finance. It slammed a recent OECD report that claimed developed countries were providing $62 billion a year in climate finance, estimating that the number was closer to $2 billion. Overall, it has not drastically changed its position on climate finance. It has instead become a more vocal advocate for scaled-up, transparent finance from developed countries.
Renewable energy is Modi's pet project at both the national and international levels. He began the year with the landmark announcement to increase the country's solar capacity to 100GW by 2022. This seemed to catalyze a new focus on renewable energy, especially solar power, in India.
In the Paris talks, this shift has been evident: In the first day alone, Modi discussed renewables extensively in his opening statement and announced the International Solar Alliance with France and 120 other countries. He pledged to mobilize $1 trillion by 2030 to promote solar power in developing countries. It's too early to tell if the plan will be ambitious and well-implemented, but the announcement was a bold move from Modi early on in the conference, signaling his emphasis on renewable energy.
For the most part, India's demands have not changed at the Paris climate talks. It has simply become a more aggressive player in negotiations, and a focal point for countries demanding climate justice. It has also become more solitary among major powers with its hardline stance. But whatever the outcome in Paris, one fact has become obvious: India is shaping up to be a real heavyweight in the post-2015 climate regime.


Becker uses shifting geographical and emotional landscapes to consider the complexities of love, loss and relationships.
The poet-speaker is unsparing in her self-appraisals, and this fine toughmindedness gives the work its gutsiness and edge.
These poems rage with such imaginative energy, you can't wait to read them again and again, feeling an aastonished pleasure in both their accomplishment and their humanity.
These poems are thoroughly sensuous — a quality of voice that allows for tragedy and the sublime to exist at once — and often with two or three arranged serially in a particular location.
80 Pages, 5.5 x 8.5 in.


One of the Seven Wonders of the Natural World and a UNESCO World Heritage site, Victoria Falls is the stuff of legends, romance and myth. An iconic draw card that features prominently on the "must see list" of our guests heading to Southern Africa, the sheer size, sight and sound of this magnificent spectacle never fails to inspire.
Thousands of years ago water gouged out soft sandstone in the harder basalt base to form what Victoria Falls is today. Victoria Falls itself forms the border between Zambia and Zimbabwe. The Falls shares the same name as the town on the Zimbabwe side whilst on the Zambian side you stay in Livingstone.
This page will talk about the Falls and then share insight into the differences between staying on the Zambian side versus the Zimbabwe side.
Stretching over a width of 1700 metres and over 100 metres in height you cannot fail to be inspired and amazed by the sheer size, power and beauty of this magnificent curtain of thundering water. The Zambezi River and Falls pulse with an annual flood cycle of high and low water that create completely different viewing experiences depending on the time of year.
To put it in perspective, it's enormous and impressive at twice the height and width of Niagara Falls that many people rave about. At full waters Victoria Falls is an overwhelmingly impressive spectacle that leaves you breathless and wet! The locals refer to Victoria Falls as Mosi-oa-Tunya, meaning the smoke that thunders.
The mighty Zambezi River hurls itself off the top of a 300-foot cliff into a gorge below—becoming one of the most fantastic sights of the natural world. Nothing can compare to the sight of the roaring water, the white mist dancing in the air, and a shimmering rainbow of light above the land.
There is so much to see and do at Victoria Falls. You have multiple ways to experience the thrill of the falls. Adventure lovers will enjoy bungee jumps, gorge leaps and swings, jet boating, white water rafting and Devil's Pool plunges.
Water lovers can savour sunset cruises on the Zambezi, day canoeing trails, boating and fishing. History buffs can follow in the footsteps of many with high tea at the Victoria Falls Hotel, a ride on the steam train, Royal Livingstone Express over the Victoria Falls Bridge and a visit to the David Livingstone bronze monument.
Whilst many guests question and certainly fear the politics in Zimbabwe, the bottom line is that Victoria Falls is safe, relatively inexpensive and absolutely a must see, especially when water levels are high.
Victoria Falls on your bucketlist?
Lying on either side of the mighty Zambezi River are the towns of Victoria Falls (Zimbabwe) and Livingstone (Zambia). The tourism capitals of their respective countries Victoria Falls and Livingstone share many similarities and yet in other ways are so very different.
The centre of Victoria Falls is essentially still a village surrounded by African bush. On the rare occasion an elephant may be spotted ambling along the main street and during the dry season it's not unusual for them to wander through the suburbs. Victoria Falls depends on tourism and as a result there is a great spirit and a genuinely warm and welcoming atmosphere. The local population appreciate and understand the importance of tourism and the benefit it brings to the local community.
The capital of the Southern Province of Zambia until 2012, Livingstone is a bustling town that nowadays depends on tourism and to a lesser extent agriculture and some manufacturing.
The centre of Victoria Falls village is one kilometre from the entrance to the Rainforest and the Falls whereas Livingstone town is eight kilometres away from the entrance of the Falls on the Zambian side. There are properties really close and indeed on the border of the national park so you don't really stay in town if you're on the Zambian side.
On the Zimbabwe side visitors can view 70% of the Falls and the landmark Victoria Falls Bridge from 16 spectacular viewing points along a network of trails that wind through the lush rain forest. Even during the low water months of October and November when the Falls become dry for much of their length the view from the Zimbabwe side won't disappoint as the section known as the Main Falls and Devil's Cataract still has water plummeting over the lip.
The Zambian side of the Falls is known as the Eastern Cataract. From mid-October until early December the view is of a massive exposed basalt rock face.
There is something for everyone when it comes to accommodation. Victoria Falls is home to a number of well-known and much loved hotels, a couple of lodges, boutique B&Bs and larger chain hotels. Our favourites are Victoria Falls Hotel for colonial flashback, Ilala Lodge well located and again quite colonial, The RiverClub for luxury down on the river and the ultimate host, Gorges for an out of town awesome location right on the Gorge cliffs where you'll want for nothing as it's fully inclusive covering meals, drinks, activities.
On the Livingstone side there is a decent diversity of riverside luxury lodges, a few hotels and smaller boutique properties. Our favourites are recently opened Thorntree Lodge with luxury not spared nor conservation and sustainability. Tongabezi is honeymoon heaven and Waterberry is ideal for a more relaxed experience. There are others so just ask us.
There is so much to see and do in and around the Falls, so we always recommend at least 1 full day to explore. The Falls can be seen on foot from the national park and you can either wander yourself or book a private guide. It is also quite spectacular seeing the Falls from above – be that helicopter or microlight.
Adrenalin seekers will have fun bungee jumping, gorge swinging (see pictures of Jonathon and Danica below), white water rafting (seasonal) through to time in Devil's Pool on the Livingstone side (seasonal).
Explore local markets, the village, museums, Snake Park or enjoy sunset on a boat with cocktail in hand.
Victoria Falls has an 18 hole golf course at Elephant Hills Hotel which was designed by Gary Player. Within earshot of the Falls the lush fairways and cropped greens are the domain of a variety of plains game (no predators for obvious reasons).
Essentially not a big game destination Victoria Falls and the surrounding area on both sides of the Zambezi River are National Parks that remain protected as part of the World Heritage Site. Zimbabwe boasts the Zambezi National Park as well as the Stanley & Livingstone Private Game Reserve and Zambia the Mosi-oa-Tunya National Park.
Chobe National Park is a mere 2 hours drive from Victoria Falls with a border crossing into Botswana and about 2hrs 50 minutes from Livingstone. Hwange National Park, Zimbabwe's largest national park is a three hour road transfer or 50 minute light aircraft flight from Victoria Falls.
March and May river levels are high and the plume of spray is a magnificent sight that may be visible from up to 20 kilometres away. You will get wet on foot as you near the Falls and the mist and spray obliterate many opportunities for photos. At this time of year it's essential to get up in a helicopter to see the enormity of the Falls. June to August is better for photography as water spans the entire 1.7 kilometre width of the Zambezi River yet the spray is not as intense.
Towards the end of August the Falls are in transition from a flooded state to a low flow state. From October waters ease right back and it becomes possible to walk across to Livingstone Island and swim in Devil's Pool. December to February is rainy season and whilst water levels are low, it starts to rise with rains from the local catchment areas and kick starts the cycle all over again.


text:
Q: How to interpret output from powertop to come up with total watts usage for PC I manually built powertop from the tip of the tree then ran it on my Ubuntu 20.04 with the objective to get the total watts drawn by my PC.
Latest version didn't show watts at all, but ms/s etc in Overview section.
How do we interpret the output to come up with total watts? Is it possible at all?

redpajama_set_name: RedPajamaStackExchange


text:
CommunicationWater
New archive restores knowledge produced by the World Commission on Dams
News, 21 December 2021
An archive has been launched containing more than 200 documents produced by the World Commission on Dams, whose work culminated in a series of recommendations for best practices in dam planning, construction, operation and decommissioning.
Kaleta dam in Guinea, just prior to filling the reservoir (Photo: copyright Jamie Skinner/GWI West Africa/IIED)
In November 2000 the World Commission on Dams (WCD) launched its final report in London, in the presence of Nelson Mandela.
The commission, which comprised representatives of civil society, academia, the private sector, professional associations and one government member, had spent three years and around US$11 million reviewing the global evidence base on dams and development.
Its final report (PDF) made recommendations for best practices in dam planning, construction, operation and decommissioning, and raised awareness for the social and environmental issues associated with large dams.
The WCD was praised for the extensive consultations it carried out and its multi-stakeholder governance, and two decades later is still referred to as the "leading reference for anyone wishing to make dam decision-making more equitable and sustainable".
But until the launch of a new archive by IIED this week, if you had tried to find the global evidence base online you would have been sorely disappointed.
IIED principal researcher Jamie Skinner said: "I have worked on dams and hydropower for many years, and one of the key references is the work of the World Commission on Dams and the many analyses and inputs that it produced.
"The various case studies, thematic reviews, regional consultations and contributions were widely available until around 10 years ago, but while dams continue to be on the agenda and will be a topic of research for years to come, the WCD evidence base was no longer easily accessible online.
"This was brought home to me recently when I was asked to join a project that attached a scanned version of the hardback report, complete with pencilled notes."
Working with FutureDAMS, IIED has now again made available 209 documents produced by the WCD for others to access online.
Added Skinner: "With the institutional memory of the WCD work fading, we took the step to once more make these documents available for everyone to access and benefit from the work of the commission."
The WCD archive is the latest is a series of document repositories created by IIED in recent years. In January 2020 the institute marked the ten-year anniversary of the Haiti earthquake by publishing an online archive documenting post-disaster community planning work in the city of Port-au-Prince, returning over 3,500 pages of planning documents, including almost 1,000 maps, to the public domain.
And last April IIED worked with the Sustainable Development Strategies Group and the Columbia Center on Sustainable Investment to make available an extensive catalogue of community development laws related to the mining sector featuring legislative arrangements from 54 countries.
IIED web planning and content manager Matt Wright said: "As these examples show, there is a real danger of valuable data being lost for a variety of reasons, from it not being properly stored and made accessible at the time to the degradation of websites as time passes and domains lapse.
"At IIED we're devoting time and effort to preserving our digital data and, in line with the Principles for Digital Development, ensuring our digital platforms and solutions are sustainable for the long term."
Access the Dams and Development: World Commission on Dams Knowledge Base Archive
Read more on the impact of the WCD, including how it helped legitimise multi-stakeholder dialogue as a model for resolving conflict
Jamie Skinner (Jamie.skinner@iied.org), principal researcher, IIED's Natural Resources research group
Large-scale dams
IIED's Saleemul Huq awarded OBE
Loss and damage animation chosen for Charity Film Award – and we need your vote!
Film exploring the lives of urban refugees wins best documentary at Kenyan film festival
News archives and resources for journalists
Licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License (CC BY-NC-ND 4.0)

redpajama_set_name: RedPajamaCommonCrawl