Saint-Juan

Saint-Juan is a commune in the Doubs department in the Bourgogne-Franche-Comté region in eastern France.

Saint-Juan
The church in Saint-Juan
Location of Saint-Juan
Saint-Juan
Saint-Juan
Coordinates: 47°17′23″N 6°21′25″E
CountryFrance
RegionBourgogne-Franche-Comté
DepartmentDoubs
ArrondissementBesançon
CantonBaume-les-Dames
IntercommunalityPays Baumois
Government
  Mayor (20082014) Louis Yazlovetsky
Area
1
12.09 km2 (4.67 sq mi)
Population
 (2017-01-01)[1]
172
  Density14/km2 (37/sq mi)
Time zoneUTC+01:00 (CET)
  Summer (DST)UTC+02:00 (CEST)
INSEE/Postal code
25520 /25360
Elevation348–607 m (1,142–1,991 ft)
1 French Land Register data, which excludes lakes, ponds, glaciers > 1 km2 (0.386 sq mi or 247 acres) and river estuaries.

Geography

The commune lies 12 km (7.5 mi) south of Baume-les-Dames.

Population

Historical population
YearPop.±%
1962184    
1968185+0.5%
1975186+0.5%
1982195+4.8%
1990162−16.9%
1999160−1.2%
2008189+18.1%
2012176−6.9%
gollark: Thanks. Apparently that works. Is there a way to *cancel* that task from the function which spawns it?
gollark: I think I'm missing something then. It says```rusterror[E0373]: async block may outlive the current function, but it borrows `ws`, which is owned by the current function --> src/connection.rs:40:23 |40 | task::spawn(async { | _______________________^41 | | let mut interval = stream::interval(Duration::from_secs(10));42 | | while let Some(_) = interval.next().await {43 | | ws.send_string("Hi".to_string()); | | -- `ws` is borrowed here44 | | }45 | | }); | |_____^ may outlive borrowed value `ws````
gollark: `WebSocketConnection` is not.
gollark: I found `async-scoped`, but it seems like that would either block the entire thread or possibly cause safety issues.
gollark: Hi. I'm trying to concurrently read from a websocket and do some things with that socket at an interval, with `async_std` and `tide-websocket`. I thought I could use `task::spawn` for this, but it seems to want that to only use `'static` things, which the websocket connection is not. What's the right way to do this?

See also

References

  1. "Populations légales 2017". INSEE. Retrieved 6 January 2020.



This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.