Carolina, Mpumalanga

Carolina is a town situated on the Johannesburg to Swaziland route (R33 and R38) in the Mpumalanga province of South Africa. The town lies in the grass and wetlands region of Mpumalanga at 1700 meters above sea level. It is a mixed farming and small-scale coal- and precious-stone-mining community.

Carolina
Carolina
Carolina
Coordinates: 26.067°S 30.117°E / -26.067; 30.117
CountrySouth Africa
ProvinceMpumalanga
DistrictGert Sibande
MunicipalityAlbert Luthuli
Area
  Total14.66 km2 (5.66 sq mi)
Elevation
1,700 m (5,600 ft)
Population
 (2011)[1]
  Total16,846
  Density1,100/km2 (3,000/sq mi)
Racial makeup (2011)
  Black African86.8%
  Coloured0.6%
  Indian/Asian2.0%
  White10.4%
  Other0.1%
First languages (2011)
  Zulu50.6%
  Swazi25.8%
  Afrikaans10.6%
  English4.2%
  Other8.8%
Time zoneUTC+2 (SAST)
Postal code (street)
1185
PO box
1185
Area code017

History

Carolina was established by Cornelius Johannes Coetzee as a permanent outspan for wagons when gold was discovered in 1883 in Barberton. The town of Carolina was proclaimed on 15 June 1886 and named after his wife Magdalena Carolina Smit. The town was built on portions of the farms Groenvlei and Goedehoop and the first stands were sold in 1883.[2]

Carolina was rebuilt after it was razed in 1900 during the Second Boer War. A few examples of sandstone architecture are still to be found among Carolina's public buildings. The sandstone Grobler Bridge which crosses the Komati River on the present R36 route to Machadodorp was opened for traffic in 1897. It was named after Johannes Lodewikus Grobler. The cornerstone of the Dutch Reformed Church was laid by Commandant General Piet Joubert in October 1888. This building was severely damaged during the Second Boer War and used as a horse stable by British troops. The Ermelo Railway Company completed the Ermelo–Carolina–Machadodorp railway line in 1907. This placed Carolina on the trade route with Swaziland.[2] The Komati River and associated Komati Gorge are situated in the vicinity of Carolina.

The very small township Silobela, with its various sections, is situated nearby. Silobela is populated by mostly Swati-speaking people, though there are also Zulus, Ndebeles and a small number of Tsonga people.

gollark: Neither!
gollark: Well, obviously you'll have some items available to build stuff from.
gollark: - Checks if the available-items list already contains the item needed. If so, just return that.- If not, checks for recipes to do what is wanted- If one exists, iterate over them (not sure what to *do* with them)- If none exists, we can't do anything, so just return no tasks, no costs and no outputs.
gollark: ```rusttype Items = HashMap<ItemType, u32>;fn quantity(items: &Items, desired: &ItemType) -> u32 { if let Some(available_quantity) = items.get(desired) { *available_quantity } else { 0 }}fn contains(items: &Items, desired: &Item) -> bool { quantity(items, &to_item_type(desired)) >= desired.quantity}fn satisfies(available: &Items, desired: &Items) -> bool { for (typ, desired_quantity) in desired.iter() { if quantity(available, typ) < *desired_quantity { return false } } true}fn to_map(is: &Vec<Item>) -> Items { let out = HashMap::new(); for i in is.iter() { out.entry(to_item_type_clone(i)) .and_modify(|e| { *e += 1 }) .or_insert(0); } out}fn one_item(i: Item) -> Items { let out = HashMap::new(); out.insert(to_item_type(&i), i.quantity); out}#[derive(Debug, Deserialize, PartialEq, Eq, Serialize, Clone)]pub struct CraftingResult { pub tasks: Vec<Recipe>, pub costs: Items, pub outputs: Items}fn solve(desired: Item, available: Items, recipes: &MultiMap<ItemType, Recipe>) -> CraftingResult { if contains(&available, &desired) { // If our available items list already contains the desired item, yay, we can just do nothing return CraftingResult { tasks: vec![], costs: one_item(desired), outputs: one_item(desired) } } if let Some(recipes) = recipes.get_vec(&to_item_type(&desired)) { for recipe in recipes.iter() { let result = solve() // ??? } } else { CraftingResult { tasks: vec![], costs: HashMap::new(), outputs: HashMap::new() } }}```My code, or at least part of it.
gollark: That is NOT THE HARD PART.

References

  1. "Main Place Carolina". Census 2011.
  2. Bornman, H. (1986). Carolina 1886-1986. Pretoria: Sigma-Pers.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.